{"id":"8440f4041a4af5b98874d30eda8e1a04","_format":"hh-sol-build-info-1","solcVersion":"0.8.26","solcLongVersion":"0.8.26+commit.8a97fa7a","input":{"language":"Solidity","sources":{"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Enumerable.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC721} from \"../IERC721.sol\";\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n    /**\n     * @dev Returns the total amount of tokens stored by the contract.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n     */\n    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);\n\n    /**\n     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n     * Use along with {totalSupply} to enumerate all tokens.\n     */\n    function tokenByIndex(uint256 index) external view returns (uint256);\n}\n"},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC721} from \"../IERC721.sol\";\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n    /**\n     * @dev Returns the token collection name.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the token collection symbol.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n     */\n    function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n"},"@openzeppelin/contracts/token/ERC721/IERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\n     *   {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n"},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol":{"content":"pragma solidity >=0.5.0;\n\ninterface IUniswapV2Pair {\n    event Approval(address indexed owner, address indexed spender, uint value);\n    event Transfer(address indexed from, address indexed to, uint value);\n\n    function name() external pure returns (string memory);\n    function symbol() external pure returns (string memory);\n    function decimals() external pure returns (uint8);\n    function totalSupply() external view returns (uint);\n    function balanceOf(address owner) external view returns (uint);\n    function allowance(address owner, address spender) external view returns (uint);\n\n    function approve(address spender, uint value) external returns (bool);\n    function transfer(address to, uint value) external returns (bool);\n    function transferFrom(address from, address to, uint value) external returns (bool);\n\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n    function PERMIT_TYPEHASH() external pure returns (bytes32);\n    function nonces(address owner) external view returns (uint);\n\n    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;\n\n    event Mint(address indexed sender, uint amount0, uint amount1);\n    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);\n    event Swap(\n        address indexed sender,\n        uint amount0In,\n        uint amount1In,\n        uint amount0Out,\n        uint amount1Out,\n        address indexed to\n    );\n    event Sync(uint112 reserve0, uint112 reserve1);\n\n    function MINIMUM_LIQUIDITY() external pure returns (uint);\n    function factory() external view returns (address);\n    function token0() external view returns (address);\n    function token1() external view returns (address);\n    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);\n    function price0CumulativeLast() external view returns (uint);\n    function price1CumulativeLast() external view returns (uint);\n    function kLast() external view returns (uint);\n\n    function mint(address to) external returns (uint liquidity);\n    function burn(address to) external returns (uint amount0, uint amount1);\n    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;\n    function skim(address to) external;\n    function sync() external;\n\n    function initialize(address, address) external;\n}\n"},"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Callback for IUniswapV3PoolActions#swap\n/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface\ninterface IUniswapV3SwapCallback {\n    /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\n    /// @dev In the implementation you must pay the pool tokens owed for the swap.\n    /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.\n    /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\n    /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by\n    /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.\n    /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by\n    /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.\n    /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call\n    function uniswapV3SwapCallback(\n        int256 amount0Delta,\n        int256 amount1Delta,\n        bytes calldata data\n    ) external;\n}\n"},"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\nimport './pool/IUniswapV3PoolImmutables.sol';\nimport './pool/IUniswapV3PoolState.sol';\nimport './pool/IUniswapV3PoolDerivedState.sol';\nimport './pool/IUniswapV3PoolActions.sol';\nimport './pool/IUniswapV3PoolOwnerActions.sol';\nimport './pool/IUniswapV3PoolEvents.sol';\n\n/// @title The interface for a Uniswap V3 Pool\n/// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform\n/// to the ERC20 specification\n/// @dev The pool interface is broken up into many smaller pieces\ninterface IUniswapV3Pool is\n    IUniswapV3PoolImmutables,\n    IUniswapV3PoolState,\n    IUniswapV3PoolDerivedState,\n    IUniswapV3PoolActions,\n    IUniswapV3PoolOwnerActions,\n    IUniswapV3PoolEvents\n{\n\n}\n"},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Permissionless pool actions\n/// @notice Contains pool methods that can be called by anyone\ninterface IUniswapV3PoolActions {\n    /// @notice Sets the initial price for the pool\n    /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value\n    /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96\n    function initialize(uint160 sqrtPriceX96) external;\n\n    /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position\n    /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback\n    /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends\n    /// on tickLower, tickUpper, the amount of liquidity, and the current price.\n    /// @param recipient The address for which the liquidity will be created\n    /// @param tickLower The lower tick of the position in which to add liquidity\n    /// @param tickUpper The upper tick of the position in which to add liquidity\n    /// @param amount The 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    function mint(\n        address recipient,\n        int24 tickLower,\n        int24 tickUpper,\n        uint128 amount,\n        bytes calldata data\n    ) external returns (uint256 amount0, uint256 amount1);\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 tickLower The lower tick of the position for which to collect fees\n    /// @param tickUpper 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 tickLower,\n        int24 tickUpper,\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 tickLower The lower tick of the position for which to burn liquidity\n    /// @param tickUpper The upper tick of the position for which to burn liquidity\n    /// @param amount How much liquidity to burn\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(\n        int24 tickLower,\n        int24 tickUpper,\n        uint128 amount\n    ) 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 IUniswapV3SwapCallback#uniswapV3SwapCallback\n    /// @param recipient The address to receive the output of the swap\n    /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0\n    /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\n    /// @param sqrtPriceLimitX96 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\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 zeroForOne,\n        int256 amountSpecified,\n        uint160 sqrtPriceLimitX96,\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 IUniswapV3FlashCallback#uniswapV3FlashCallback\n    /// @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling\n    /// with 0 amount{0,1} and sending the donation amount(s) from the callback\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(\n        address recipient,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata data\n    ) external;\n\n    /// @notice Increase the maximum number of price and liquidity observations that this pool will store\n    /// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to\n    /// the input observationCardinalityNext.\n    /// @param observationCardinalityNext The desired minimum number of observations for the pool to store\n    function increaseObservationCardinalityNext(uint16 observationCardinalityNext) external;\n}\n"},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that is not stored\n/// @notice Contains view functions to provide information about the pool that is computed rather than stored on the\n/// blockchain. The functions here may have variable gas costs.\ninterface IUniswapV3PoolDerivedState {\n    /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp\n    /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing\n    /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,\n    /// you must call it with secondsAgos = [3600, 0].\n    /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in\n    /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.\n    /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned\n    /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp\n    /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block\n    /// timestamp\n    function observe(uint32[] calldata secondsAgos)\n        external\n        view\n        returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s);\n\n    /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range\n    /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed.\n    /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first\n    /// snapshot is taken and the second snapshot is taken.\n    /// @param tickLower The lower tick of the range\n    /// @param tickUpper The upper tick of the range\n    /// @return tickCumulativeInside The snapshot of the tick accumulator for the range\n    /// @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range\n    /// @return secondsInside The snapshot of seconds per liquidity for the range\n    function snapshotCumulativesInside(int24 tickLower, int24 tickUpper)\n        external\n        view\n        returns (\n            int56 tickCumulativeInside,\n            uint160 secondsPerLiquidityInsideX128,\n            uint32 secondsInside\n        );\n}\n"},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Events emitted by a pool\n/// @notice Contains all events emitted by the pool\ninterface IUniswapV3PoolEvents {\n    /// @notice Emitted exactly once by a pool when #initialize is first called on the pool\n    /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize\n    /// @param sqrtPriceX96 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 sqrtPriceX96, 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 tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param amount 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 tickLower,\n        int24 indexed tickUpper,\n        uint128 amount,\n        uint256 amount0,\n        uint256 amount1\n    );\n\n    /// @notice Emitted when fees are collected by the owner of a position\n    /// @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees\n    /// @param owner The owner of the position for which fees are collected\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper 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(\n        address indexed owner,\n        address recipient,\n        int24 indexed tickLower,\n        int24 indexed tickUpper,\n        uint128 amount0,\n        uint128 amount1\n    );\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 tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param amount 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 tickLower,\n        int24 indexed tickUpper,\n        uint128 amount,\n        uint256 amount0,\n        uint256 amount1\n    );\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 sqrtPriceX96 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    event Swap(\n        address indexed sender,\n        address indexed recipient,\n        int256 amount0,\n        int256 amount1,\n        uint160 sqrtPriceX96,\n        uint128 liquidity,\n        int24 tick\n    );\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(\n        address indexed sender,\n        address indexed recipient,\n        uint256 amount0,\n        uint256 amount1,\n        uint256 paid0,\n        uint256 paid1\n    );\n\n    /// @notice Emitted by the pool for increases to the number of observations that can be stored\n    /// @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index\n    /// just before a mint/swap/burn.\n    /// @param observationCardinalityNextOld The previous value of the next observation cardinality\n    /// @param observationCardinalityNextNew The updated value of the next observation cardinality\n    event IncreaseObservationCardinalityNext(\n        uint16 observationCardinalityNextOld,\n        uint16 observationCardinalityNextNew\n    );\n\n    /// @notice Emitted when the protocol fee is changed by the pool\n    /// @param feeProtocol0Old The previous value of the token0 protocol fee\n    /// @param feeProtocol1Old The previous value of the token1 protocol fee\n    /// @param feeProtocol0New The updated value of the token0 protocol fee\n    /// @param feeProtocol1New The updated value of the token1 protocol fee\n    event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New);\n\n    /// @notice Emitted when the collected protocol fees are withdrawn by the factory owner\n    /// @param sender The address that collects the protocol fees\n    /// @param recipient The address that receives the collected protocol fees\n    /// @param amount0 The amount of token0 protocol fees that is withdrawn\n    /// @param amount0 The amount of token1 protocol fees that is withdrawn\n    event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1);\n}\n"},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that never changes\n/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values\ninterface IUniswapV3PoolImmutables {\n    /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory 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 pool's fee in hundredths of a bip, i.e. 1e-6\n    /// @return The fee\n    function fee() external view returns (uint24);\n\n    /// @notice The pool tick spacing\n    /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive\n    /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...\n    /// This value is an int24 to avoid casting even though it is always positive.\n    /// @return The tick spacing\n    function tickSpacing() external view returns (int24);\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"},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.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 the factory owner\ninterface IUniswapV3PoolOwnerActions {\n    /// @notice Set the denominator of the protocol's % share of the fees\n    /// @param feeProtocol0 new protocol fee for token0 of the pool\n    /// @param feeProtocol1 new protocol fee for token1 of the pool\n    function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external;\n\n    /// @notice Collect the protocol fee accrued to the pool\n    /// @param recipient The address to which collected protocol fees should be sent\n    /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1\n    /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0\n    /// @return amount0 The protocol fee collected in token0\n    /// @return amount1 The protocol fee collected in token1\n    function collectProtocol(\n        address recipient,\n        uint128 amount0Requested,\n        uint128 amount1Requested\n    ) external returns (uint128 amount0, uint128 amount1);\n}\n"},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that can change\n/// @notice These methods compose the pool's state, and can change with any frequency including multiple times\n/// per transaction\ninterface IUniswapV3PoolState {\n    /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas\n    /// when accessed externally.\n    /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value\n    /// 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(sqrtPriceX96) if the price is on a tick\n    /// boundary.\n    /// observationIndex The index of the last oracle observation that was written,\n    /// observationCardinality The current maximum number of observations stored in the pool,\n    /// observationCardinalityNext The next maximum number of observations, to be updated when the observation.\n    /// feeProtocol The protocol fee for both tokens of the pool.\n    /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0\n    /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.\n    /// unlocked Whether the pool is currently locked to reentrancy\n    function slot0()\n        external\n        view\n        returns (\n            uint160 sqrtPriceX96,\n            int24 tick,\n            uint16 observationIndex,\n            uint16 observationCardinality,\n            uint16 observationCardinalityNext,\n            uint8 feeProtocol,\n            bool unlocked\n        );\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    function feeGrowthGlobal0X128() 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    function feeGrowthGlobal1X128() external view returns (uint256);\n\n    /// @notice The amounts of token0 and token1 that are owed to the protocol\n    /// @dev Protocol fees will never exceed uint128 max in either token\n    function protocolFees() external view returns (uint128 token0, uint128 token1);\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    function liquidity() external view returns (uint128);\n\n    /// @notice Look up information about a specific tick in the pool\n    /// @param tick The tick to look up\n    /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or\n    /// tick upper,\n    /// liquidityNet how much liquidity changes when the pool price crosses the tick,\n    /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0,\n    /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1,\n    /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick\n    /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick,\n    /// secondsOutside the seconds spent on the other side of the tick from the current tick,\n    /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false.\n    /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0.\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(int24 tick)\n        external\n        view\n        returns (\n            uint128 liquidityGross,\n            int128 liquidityNet,\n            uint256 feeGrowthOutside0X128,\n            uint256 feeGrowthOutside1X128,\n            int56 tickCumulativeOutside,\n            uint160 secondsPerLiquidityOutsideX128,\n            uint32 secondsOutside,\n            bool initialized\n        );\n\n    /// @notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information\n    function tickBitmap(int16 wordPosition) external view returns (uint256);\n\n    /// @notice Returns the information about a position by the position's key\n    /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper\n    /// @return _liquidity The amount of liquidity in the position,\n    /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke,\n    /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke,\n    /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke,\n    /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke\n    function positions(bytes32 key)\n        external\n        view\n        returns (\n            uint128 _liquidity,\n            uint256 feeGrowthInside0LastX128,\n            uint256 feeGrowthInside1LastX128,\n            uint128 tokensOwed0,\n            uint128 tokensOwed1\n        );\n\n    /// @notice Returns data about a specific observation index\n    /// @param index The element of the observations array to fetch\n    /// @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time\n    /// ago, rather than at a specific index in the array.\n    /// @return blockTimestamp The timestamp of the observation,\n    /// Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp,\n    /// Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp,\n    /// Returns initialized whether the observation has been initialized and the values are safe to use\n    function observations(uint256 index)\n        external\n        view\n        returns (\n            uint32 blockTimestamp,\n            int56 tickCumulative,\n            uint160 secondsPerLiquidityCumulativeX128,\n            bool initialized\n        );\n}\n"},"@uniswap/v3-core/contracts/libraries/SafeCast.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Safe casting methods\n/// @notice Contains methods for safely casting between types\nlibrary SafeCast {\n    /// @notice Cast a uint256 to a uint160, revert on overflow\n    /// @param y The uint256 to be downcasted\n    /// @return z The downcasted integer, now type uint160\n    function toUint160(uint256 y) internal pure returns (uint160 z) {\n        require((z = uint160(y)) == y);\n    }\n\n    /// @notice Cast a int256 to a int128, revert on overflow or underflow\n    /// @param y The int256 to be downcasted\n    /// @return z The downcasted integer, now type int128\n    function toInt128(int256 y) internal pure returns (int128 z) {\n        require((z = int128(y)) == y);\n    }\n\n    /// @notice Cast a uint256 to a int256, revert on overflow\n    /// @param y The uint256 to be casted\n    /// @return z The casted integer, now type int256\n    function toInt256(uint256 y) internal pure returns (int256 z) {\n        require(y < 2**255);\n        z = int256(y);\n    }\n}\n"},"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.7.5;\n\nimport '@openzeppelin/contracts/token/ERC721/IERC721.sol';\n\n/// @title ERC721 with permit\n/// @notice Extension to ERC721 that includes a permit function for signature based approvals\ninterface IERC721Permit is IERC721 {\n    /// @notice The permit typehash used in the permit signature\n    /// @return The typehash for the permit\n    function PERMIT_TYPEHASH() external pure returns (bytes32);\n\n    /// @notice The domain separator used in the permit signature\n    /// @return The domain seperator used in encoding of permit signature\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n\n    /// @notice Approve of a specific token ID for spending by spender via signature\n    /// @param spender The account that is being approved\n    /// @param tokenId The ID of the token that is being approved for spending\n    /// @param deadline The deadline timestamp by which the call must be mined for the approve to work\n    /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`\n    /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`\n    /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`\n    function permit(\n        address spender,\n        uint256 tokenId,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) external payable;\n}\n"},"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.7.5;\npragma abicoder v2;\n\nimport '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';\nimport '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';\n\nimport './IPoolInitializer.sol';\nimport './IERC721Permit.sol';\nimport './IPeripheryPayments.sol';\nimport './IPeripheryImmutableState.sol';\nimport '../libraries/PoolAddress.sol';\n\n/// @title Non-fungible token for positions\n/// @notice Wraps Uniswap V3 positions in a non-fungible token interface which allows for them to be transferred\n/// and authorized.\ninterface INonfungiblePositionManager is\n    IPoolInitializer,\n    IPeripheryPayments,\n    IPeripheryImmutableState,\n    IERC721Metadata,\n    IERC721Enumerable,\n    IERC721Permit\n{\n    /// @notice Emitted when liquidity is increased for a position NFT\n    /// @dev Also emitted when a token is minted\n    /// @param tokenId The ID of the token for which liquidity was increased\n    /// @param liquidity The amount by which liquidity for the NFT position was increased\n    /// @param amount0 The amount of token0 that was paid for the increase in liquidity\n    /// @param amount1 The amount of token1 that was paid for the increase in liquidity\n    event IncreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1);\n    /// @notice Emitted when liquidity is decreased for a position NFT\n    /// @param tokenId The ID of the token for which liquidity was decreased\n    /// @param liquidity The amount by which liquidity for the NFT position was decreased\n    /// @param amount0 The amount of token0 that was accounted for the decrease in liquidity\n    /// @param amount1 The amount of token1 that was accounted for the decrease in liquidity\n    event DecreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1);\n    /// @notice Emitted when tokens are collected for a position NFT\n    /// @dev The amounts reported may not be exactly equivalent to the amounts transferred, due to rounding behavior\n    /// @param tokenId The ID of the token for which underlying tokens were collected\n    /// @param recipient The address of the account that received the collected tokens\n    /// @param amount0 The amount of token0 owed to the position that was collected\n    /// @param amount1 The amount of token1 owed to the position that was collected\n    event Collect(uint256 indexed tokenId, address recipient, uint256 amount0, uint256 amount1);\n\n    /// @notice Returns the position information associated with a given token ID.\n    /// @dev Throws if the token ID is not valid.\n    /// @param tokenId The ID of the token that represents the position\n    /// @return nonce The nonce for permits\n    /// @return operator The address that is approved for spending\n    /// @return token0 The address of the token0 for a specific pool\n    /// @return token1 The address of the token1 for a specific pool\n    /// @return fee The fee associated with the pool\n    /// @return tickLower The lower end of the tick range for the position\n    /// @return tickUpper The higher end of the tick range for the position\n    /// @return liquidity The liquidity of the position\n    /// @return feeGrowthInside0LastX128 The fee growth of token0 as of the last action on the individual position\n    /// @return feeGrowthInside1LastX128 The fee growth of token1 as of the last action on the individual position\n    /// @return tokensOwed0 The uncollected amount of token0 owed to the position as of the last computation\n    /// @return tokensOwed1 The uncollected amount of token1 owed to the position as of the last computation\n    function positions(uint256 tokenId)\n        external\n        view\n        returns (\n            uint96 nonce,\n            address operator,\n            address token0,\n            address token1,\n            uint24 fee,\n            int24 tickLower,\n            int24 tickUpper,\n            uint128 liquidity,\n            uint256 feeGrowthInside0LastX128,\n            uint256 feeGrowthInside1LastX128,\n            uint128 tokensOwed0,\n            uint128 tokensOwed1\n        );\n\n    struct MintParams {\n        address token0;\n        address token1;\n        uint24 fee;\n        int24 tickLower;\n        int24 tickUpper;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n        address recipient;\n        uint256 deadline;\n    }\n\n    /// @notice Creates a new position wrapped in a NFT\n    /// @dev Call this when the pool does exist and is initialized. Note that if the pool is created but not initialized\n    /// a method does not exist, i.e. the pool is assumed to be initialized.\n    /// @param params The params necessary to mint a position, encoded as `MintParams` in calldata\n    /// @return tokenId The ID of the token that represents the minted position\n    /// @return liquidity The amount of liquidity for this position\n    /// @return amount0 The amount of token0\n    /// @return amount1 The amount of token1\n    function mint(MintParams calldata params)\n        external\n        payable\n        returns (\n            uint256 tokenId,\n            uint128 liquidity,\n            uint256 amount0,\n            uint256 amount1\n        );\n\n    struct IncreaseLiquidityParams {\n        uint256 tokenId;\n        uint256 amount0Desired;\n        uint256 amount1Desired;\n        uint256 amount0Min;\n        uint256 amount1Min;\n        uint256 deadline;\n    }\n\n    /// @notice Increases the amount of liquidity in a position, with tokens paid by the `msg.sender`\n    /// @param params tokenId The ID of the token for which liquidity is being increased,\n    /// amount0Desired The desired amount of token0 to be spent,\n    /// amount1Desired The desired amount of token1 to be spent,\n    /// amount0Min The minimum amount of token0 to spend, which serves as a slippage check,\n    /// amount1Min The minimum amount of token1 to spend, which serves as a slippage check,\n    /// deadline The time by which the transaction must be included to effect the change\n    /// @return liquidity The new liquidity amount as a result of the increase\n    /// @return amount0 The amount of token0 to acheive resulting liquidity\n    /// @return amount1 The amount of token1 to acheive resulting liquidity\n    function increaseLiquidity(IncreaseLiquidityParams calldata params)\n        external\n        payable\n        returns (\n            uint128 liquidity,\n            uint256 amount0,\n            uint256 amount1\n        );\n\n    struct DecreaseLiquidityParams {\n        uint256 tokenId;\n        uint128 liquidity;\n        uint256 amount0Min;\n        uint256 amount1Min;\n        uint256 deadline;\n    }\n\n    /// @notice Decreases the amount of liquidity in a position and accounts it to the position\n    /// @param params tokenId The ID of the token for which liquidity is being decreased,\n    /// amount The amount by which liquidity will be decreased,\n    /// amount0Min The minimum amount of token0 that should be accounted for the burned liquidity,\n    /// amount1Min The minimum amount of token1 that should be accounted for the burned liquidity,\n    /// deadline The time by which the transaction must be included to effect the change\n    /// @return amount0 The amount of token0 accounted to the position's tokens owed\n    /// @return amount1 The amount of token1 accounted to the position's tokens owed\n    function decreaseLiquidity(DecreaseLiquidityParams calldata params)\n        external\n        payable\n        returns (uint256 amount0, uint256 amount1);\n\n    struct CollectParams {\n        uint256 tokenId;\n        address recipient;\n        uint128 amount0Max;\n        uint128 amount1Max;\n    }\n\n    /// @notice Collects up to a maximum amount of fees owed to a specific position to the recipient\n    /// @param params tokenId The ID of the NFT for which tokens are being collected,\n    /// recipient The account that should receive the tokens,\n    /// amount0Max The maximum amount of token0 to collect,\n    /// amount1Max The maximum amount of token1 to collect\n    /// @return amount0 The amount of fees collected in token0\n    /// @return amount1 The amount of fees collected in token1\n    function collect(CollectParams calldata params) external payable returns (uint256 amount0, uint256 amount1);\n\n    /// @notice Burns a token ID, which deletes it from the NFT contract. The token must have 0 liquidity and all tokens\n    /// must be collected first.\n    /// @param tokenId The ID of the token that is being burned\n    function burn(uint256 tokenId) external payable;\n}\n"},"@uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Immutable state\n/// @notice Functions that return immutable state of the router\ninterface IPeripheryImmutableState {\n    /// @return Returns the address of the Uniswap V3 factory\n    function factory() external view returns (address);\n\n    /// @return Returns the address of WETH9\n    function WETH9() external view returns (address);\n}\n"},"@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.7.5;\n\n/// @title Periphery Payments\n/// @notice Functions to ease deposits and withdrawals of ETH\ninterface IPeripheryPayments {\n    /// @notice Unwraps the contract's WETH9 balance and sends it to recipient as ETH.\n    /// @dev The amountMinimum parameter prevents malicious contracts from stealing WETH9 from users.\n    /// @param amountMinimum The minimum amount of WETH9 to unwrap\n    /// @param recipient The address receiving ETH\n    function unwrapWETH9(uint256 amountMinimum, address recipient) external payable;\n\n    /// @notice Refunds any ETH balance held by this contract to the `msg.sender`\n    /// @dev Useful for bundling with mint or increase liquidity that uses ether, or exact output swaps\n    /// that use ether for the input amount\n    function refundETH() external payable;\n\n    /// @notice Transfers the full amount of a token held by this contract to recipient\n    /// @dev The amountMinimum parameter prevents malicious contracts from stealing the token from users\n    /// @param token The contract address of the token which will be transferred to `recipient`\n    /// @param amountMinimum The minimum amount of token required for a transfer\n    /// @param recipient The destination address of the token\n    function sweepToken(\n        address token,\n        uint256 amountMinimum,\n        address recipient\n    ) external payable;\n}\n"},"@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.7.5;\npragma abicoder v2;\n\n/// @title Creates and initializes V3 Pools\n/// @notice Provides a method for creating and initializing a pool, if necessary, for bundling with other methods that\n/// require the pool to exist.\ninterface IPoolInitializer {\n    /// @notice Creates a new pool if it does not exist, then initializes if not initialized\n    /// @dev This method can be bundled with others via IMulticall for the first action (e.g. mint) performed against a pool\n    /// @param token0 The contract address of token0 of the pool\n    /// @param token1 The contract address of token1 of the pool\n    /// @param fee The fee amount of the v3 pool for the specified token pair\n    /// @param sqrtPriceX96 The initial square root price of the pool as a Q64.96 value\n    /// @return pool Returns the pool address based on the pair of tokens and fee, will return the newly created pool address if necessary\n    function createAndInitializePoolIfNecessary(\n        address token0,\n        address token1,\n        uint24 fee,\n        uint160 sqrtPriceX96\n    ) external payable returns (address pool);\n}\n"},"@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Provides functions for deriving a pool address from the factory, tokens, and the fee\nlibrary PoolAddress {\n    bytes32 internal constant POOL_INIT_CODE_HASH = 0xa598dd2fba360510c5a8f02f44423a4468e902df5857dbce3ca162a43a3a31ff;\n\n    /// @notice The identifying key of the pool\n    struct PoolKey {\n        address token0;\n        address token1;\n        uint24 fee;\n    }\n\n    /// @notice Returns PoolKey: the ordered tokens with the matched fee levels\n    /// @param tokenA The first token of a pool, unsorted\n    /// @param tokenB The second token of a pool, unsorted\n    /// @param fee The fee level of the pool\n    /// @return Poolkey The pool details with ordered token0 and token1 assignments\n    function getPoolKey(\n        address tokenA,\n        address tokenB,\n        uint24 fee\n    ) internal pure returns (PoolKey memory) {\n        if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA);\n        return PoolKey({token0: tokenA, token1: tokenB, fee: fee});\n    }\n\n    /// @notice Deterministically computes the pool address given the factory and PoolKey\n    /// @param factory The Uniswap V3 factory contract address\n    /// @param key The PoolKey\n    /// @return pool The contract address of the V3 pool\n    function computeAddress(address factory, PoolKey memory key) internal pure returns (address pool) {\n        require(key.token0 < key.token1);\n        pool = address(\n            uint160(\n                uint256(\n                    keccak256(\n                        abi.encodePacked(\n                            hex'ff',\n                            factory,\n                            keccak256(abi.encode(key.token0, key.token1, key.fee)),\n                            POOL_INIT_CODE_HASH\n                        )\n                    )\n                )\n            )\n        );\n    }\n}\n"},"@uniswap/v4-core/src/ERC6909.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IERC6909Claims} from \"./interfaces/external/IERC6909Claims.sol\";\n\n/// @notice Minimalist and gas efficient standard ERC6909 implementation.\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC6909.sol)\n/// @dev Copied from the commit at 4b47a19038b798b4a33d9749d25e570443520647\n/// @dev This contract has been modified from the implementation at the above link.\nabstract contract ERC6909 is IERC6909Claims {\n    /*//////////////////////////////////////////////////////////////\n                             ERC6909 STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    mapping(address owner => mapping(address operator => bool isOperator)) public isOperator;\n\n    mapping(address owner => mapping(uint256 id => uint256 balance)) public balanceOf;\n\n    mapping(address owner => mapping(address spender => mapping(uint256 id => uint256 amount))) public allowance;\n\n    /*//////////////////////////////////////////////////////////////\n                              ERC6909 LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function transfer(address receiver, uint256 id, uint256 amount) public virtual returns (bool) {\n        balanceOf[msg.sender][id] -= amount;\n\n        balanceOf[receiver][id] += amount;\n\n        emit Transfer(msg.sender, msg.sender, receiver, id, amount);\n\n        return true;\n    }\n\n    function transferFrom(address sender, address receiver, uint256 id, uint256 amount) public virtual returns (bool) {\n        if (msg.sender != sender && !isOperator[sender][msg.sender]) {\n            uint256 allowed = allowance[sender][msg.sender][id];\n            if (allowed != type(uint256).max) allowance[sender][msg.sender][id] = allowed - amount;\n        }\n\n        balanceOf[sender][id] -= amount;\n\n        balanceOf[receiver][id] += amount;\n\n        emit Transfer(msg.sender, sender, receiver, id, amount);\n\n        return true;\n    }\n\n    function approve(address spender, uint256 id, uint256 amount) public virtual returns (bool) {\n        allowance[msg.sender][spender][id] = amount;\n\n        emit Approval(msg.sender, spender, id, amount);\n\n        return true;\n    }\n\n    function setOperator(address operator, bool approved) public virtual returns (bool) {\n        isOperator[msg.sender][operator] = approved;\n\n        emit OperatorSet(msg.sender, operator, approved);\n\n        return true;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                              ERC165 LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == 0x01ffc9a7 // ERC165 Interface ID for ERC165\n            || interfaceId == 0x0f632fb3; // ERC165 Interface ID for ERC6909\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                        INTERNAL MINT/BURN LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function _mint(address receiver, uint256 id, uint256 amount) internal virtual {\n        balanceOf[receiver][id] += amount;\n\n        emit Transfer(msg.sender, address(0), receiver, id, amount);\n    }\n\n    function _burn(address sender, uint256 id, uint256 amount) internal virtual {\n        balanceOf[sender][id] -= amount;\n\n        emit Transfer(msg.sender, sender, address(0), id, amount);\n    }\n}\n"},"@uniswap/v4-core/src/ERC6909Claims.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {ERC6909} from \"./ERC6909.sol\";\n\n/// @notice ERC6909Claims inherits ERC6909 and implements an internal burnFrom function\nabstract contract ERC6909Claims is ERC6909 {\n    /// @notice Burn `amount` tokens of token type `id` from `from`.\n    /// @dev if sender is not `from` they must be an operator or have sufficient allowance.\n    /// @param from The address to burn tokens from.\n    /// @param id The currency to burn.\n    /// @param amount The amount to burn.\n    function _burnFrom(address from, uint256 id, uint256 amount) internal {\n        address sender = msg.sender;\n        if (from != sender && !isOperator[from][sender]) {\n            uint256 senderAllowance = allowance[from][sender][id];\n            if (senderAllowance != type(uint256).max) {\n                allowance[from][sender][id] = senderAllowance - amount;\n            }\n        }\n        _burn(from, id, amount);\n    }\n}\n"},"@uniswap/v4-core/src/Extsload.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IExtsload} from \"./interfaces/IExtsload.sol\";\n\n/// @notice Enables public storage access for efficient state retrieval by external contracts.\n/// https://eips.ethereum.org/EIPS/eip-2330#rationale\nabstract contract Extsload is IExtsload {\n    /// @inheritdoc IExtsload\n    function extsload(bytes32 slot) external view returns (bytes32) {\n        assembly (\"memory-safe\") {\n            mstore(0, sload(slot))\n            return(0, 0x20)\n        }\n    }\n\n    /// @inheritdoc IExtsload\n    function extsload(bytes32 startSlot, uint256 nSlots) external view returns (bytes32[] memory) {\n        assembly (\"memory-safe\") {\n            let memptr := mload(0x40)\n            let start := memptr\n            // A left bit-shift of 5 is equivalent to multiplying by 32 but costs less gas.\n            let length := shl(5, nSlots)\n            // The abi offset of dynamic array in the returndata is 32.\n            mstore(memptr, 0x20)\n            // Store the length of the array returned\n            mstore(add(memptr, 0x20), nSlots)\n            // update memptr to the first location to hold a result\n            memptr := add(memptr, 0x40)\n            let end := add(memptr, length)\n            for {} 1 {} {\n                mstore(memptr, sload(startSlot))\n                memptr := add(memptr, 0x20)\n                startSlot := add(startSlot, 1)\n                if iszero(lt(memptr, end)) { break }\n            }\n            return(start, sub(end, start))\n        }\n    }\n\n    /// @inheritdoc IExtsload\n    function extsload(bytes32[] calldata slots) external view returns (bytes32[] memory) {\n        assembly (\"memory-safe\") {\n            let memptr := mload(0x40)\n            let start := memptr\n            // for abi encoding the response - the array will be found at 0x20\n            mstore(memptr, 0x20)\n            // next we store the length of the return array\n            mstore(add(memptr, 0x20), slots.length)\n            // update memptr to the first location to hold an array entry\n            memptr := add(memptr, 0x40)\n            // A left bit-shift of 5 is equivalent to multiplying by 32 but costs less gas.\n            let end := add(memptr, shl(5, slots.length))\n            let calldataptr := slots.offset\n            for {} 1 {} {\n                mstore(memptr, sload(calldataload(calldataptr)))\n                memptr := add(memptr, 0x20)\n                calldataptr := add(calldataptr, 0x20)\n                if iszero(lt(memptr, end)) { break }\n            }\n            return(start, sub(end, start))\n        }\n    }\n}\n"},"@uniswap/v4-core/src/Exttload.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {IExttload} from \"./interfaces/IExttload.sol\";\n\n/// @notice Enables public transient storage access for efficient state retrieval by external contracts.\n/// https://eips.ethereum.org/EIPS/eip-2330#rationale\nabstract contract Exttload is IExttload {\n    /// @inheritdoc IExttload\n    function exttload(bytes32 slot) external view returns (bytes32) {\n        assembly (\"memory-safe\") {\n            mstore(0, tload(slot))\n            return(0, 0x20)\n        }\n    }\n\n    /// @inheritdoc IExttload\n    function exttload(bytes32[] calldata slots) external view returns (bytes32[] memory) {\n        assembly (\"memory-safe\") {\n            let memptr := mload(0x40)\n            let start := memptr\n            // for abi encoding the response - the array will be found at 0x20\n            mstore(memptr, 0x20)\n            // next we store the length of the return array\n            mstore(add(memptr, 0x20), slots.length)\n            // update memptr to the first location to hold an array entry\n            memptr := add(memptr, 0x40)\n            // A left bit-shift of 5 is equivalent to multiplying by 32 but costs less gas.\n            let end := add(memptr, shl(5, slots.length))\n            let calldataptr := slots.offset\n            for {} 1 {} {\n                mstore(memptr, tload(calldataload(calldataptr)))\n                memptr := add(memptr, 0x20)\n                calldataptr := add(calldataptr, 0x20)\n                if iszero(lt(memptr, end)) { break }\n            }\n            return(start, sub(end, start))\n        }\n    }\n}\n"},"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for the callback executed when an address unlocks the pool manager\ninterface IUnlockCallback {\n    /// @notice Called by the pool manager on `msg.sender` when the manager is unlocked\n    /// @param data The data that was passed to the call to unlock\n    /// @return Any data that you want to be returned from the unlock call\n    function unlockCallback(bytes calldata data) external returns (bytes memory);\n}\n"},"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Minimal ERC20 interface for Uniswap\n/// @notice Contains a subset of the full ERC20 interface that is used in Uniswap V3\ninterface IERC20Minimal {\n    /// @notice Returns an account's balance in the token\n    /// @param account The account for which to look up the number of tokens it has, i.e. its balance\n    /// @return The number of tokens held by the account\n    function balanceOf(address account) external view returns (uint256);\n\n    /// @notice Transfers the amount of token from the `msg.sender` to the recipient\n    /// @param recipient The account that will receive the amount transferred\n    /// @param amount The number of tokens to send from the sender to the recipient\n    /// @return Returns true for a successful transfer, false for an unsuccessful transfer\n    function transfer(address recipient, uint256 amount) external returns (bool);\n\n    /// @notice Returns the current allowance given to a spender by an owner\n    /// @param owner The account of the token owner\n    /// @param spender The account of the token spender\n    /// @return The current allowance granted by `owner` to `spender`\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /// @notice Sets the allowance of a spender from the `msg.sender` to the value `amount`\n    /// @param spender The account which will be allowed to spend a given amount of the owners tokens\n    /// @param amount The amount of tokens allowed to be used by `spender`\n    /// @return Returns true for a successful approval, false for unsuccessful\n    function approve(address spender, uint256 amount) external returns (bool);\n\n    /// @notice Transfers `amount` tokens from `sender` to `recipient` up to the allowance given to the `msg.sender`\n    /// @param sender The account from which the transfer will be initiated\n    /// @param recipient The recipient of the transfer\n    /// @param amount The amount of the transfer\n    /// @return Returns true for a successful transfer, false for unsuccessful\n    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\n\n    /// @notice Event emitted when tokens are transferred from one address to another, either via `#transfer` or `#transferFrom`.\n    /// @param from The account from which the tokens were sent, i.e. the balance decreased\n    /// @param to The account to which the tokens were sent, i.e. the balance increased\n    /// @param value The amount of tokens that were transferred\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /// @notice Event emitted when the approval amount for the spender of a given owner's tokens changes.\n    /// @param owner The account that approved spending of its tokens\n    /// @param spender The account for which the spending allowance was modified\n    /// @param value The new allowance from the owner to the spender\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n"},"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for claims over a contract balance, wrapped as a ERC6909\ninterface IERC6909Claims {\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    event OperatorSet(address indexed owner, address indexed operator, bool approved);\n\n    event Approval(address indexed owner, address indexed spender, uint256 indexed id, uint256 amount);\n\n    event Transfer(address caller, address indexed from, address indexed to, uint256 indexed id, uint256 amount);\n\n    /*//////////////////////////////////////////////////////////////\n                                 FUNCTIONS\n    //////////////////////////////////////////////////////////////*/\n\n    /// @notice Owner balance of an id.\n    /// @param owner The address of the owner.\n    /// @param id The id of the token.\n    /// @return amount The balance of the token.\n    function balanceOf(address owner, uint256 id) external view returns (uint256 amount);\n\n    /// @notice Spender allowance of an id.\n    /// @param owner The address of the owner.\n    /// @param spender The address of the spender.\n    /// @param id The id of the token.\n    /// @return amount The allowance of the token.\n    function allowance(address owner, address spender, uint256 id) external view returns (uint256 amount);\n\n    /// @notice Checks if a spender is approved by an owner as an operator\n    /// @param owner The address of the owner.\n    /// @param spender The address of the spender.\n    /// @return approved The approval status.\n    function isOperator(address owner, address spender) external view returns (bool approved);\n\n    /// @notice Transfers an amount of an id from the caller to a receiver.\n    /// @param receiver The address of the receiver.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always, unless the function reverts\n    function transfer(address receiver, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Transfers an amount of an id from a sender to a receiver.\n    /// @param sender The address of the sender.\n    /// @param receiver The address of the receiver.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always, unless the function reverts\n    function transferFrom(address sender, address receiver, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Approves an amount of an id to a spender.\n    /// @param spender The address of the spender.\n    /// @param id The id of the token.\n    /// @param amount The amount of the token.\n    /// @return bool True, always\n    function approve(address spender, uint256 id, uint256 amount) external returns (bool);\n\n    /// @notice Sets or removes an operator for the caller.\n    /// @param operator The address of the operator.\n    /// @param approved The approval status.\n    /// @return bool True, always\n    function setOperator(address operator, bool approved) external returns (bool);\n}\n"},"@uniswap/v4-core/src/interfaces/IExtsload.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Interface for functions to access any storage slot in a contract\ninterface IExtsload {\n    /// @notice Called by external contracts to access granular pool state\n    /// @param slot Key of slot to sload\n    /// @return value The value of the slot as bytes32\n    function extsload(bytes32 slot) external view returns (bytes32 value);\n\n    /// @notice Called by external contracts to access granular pool state\n    /// @param startSlot Key of slot to start sloading from\n    /// @param nSlots Number of slots to load into return value\n    /// @return values List of loaded values.\n    function extsload(bytes32 startSlot, uint256 nSlots) external view returns (bytes32[] memory values);\n\n    /// @notice Called by external contracts to access sparse pool state\n    /// @param slots List of slots to SLOAD from.\n    /// @return values List of loaded values.\n    function extsload(bytes32[] calldata slots) external view returns (bytes32[] memory values);\n}\n"},"@uniswap/v4-core/src/interfaces/IExttload.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\n/// @notice Interface for functions to access any transient storage slot in a contract\ninterface IExttload {\n    /// @notice Called by external contracts to access transient storage of the contract\n    /// @param slot Key of slot to tload\n    /// @return value The value of the slot as bytes32\n    function exttload(bytes32 slot) external view returns (bytes32 value);\n\n    /// @notice Called by external contracts to access sparse transient pool state\n    /// @param slots List of slots to tload\n    /// @return values List of loaded values\n    function exttload(bytes32[] calldata slots) external view returns (bytes32[] memory values);\n}\n"},"@uniswap/v4-core/src/interfaces/IHooks.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\nimport {IPoolManager} from \"./IPoolManager.sol\";\nimport {BeforeSwapDelta} from \"../types/BeforeSwapDelta.sol\";\n\n/// @notice V4 decides whether to invoke specific hooks by inspecting the least significant bits\n/// of the address that the hooks contract is deployed to.\n/// For example, a hooks contract deployed to address: 0x0000000000000000000000000000000000002400\n/// has the lowest bits '10 0100 0000 0000' which would cause the 'before initialize' and 'after add liquidity' hooks to be used.\n/// See the Hooks library for the full spec.\n/// @dev Should only be callable by the v4 PoolManager.\ninterface IHooks {\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 key The key for the pool being initialized\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, PoolKey calldata key, 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 key The key for the pool being initialized\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, PoolKey calldata key, uint160 sqrtPriceX96, int24 tick)\n        external\n        returns (bytes4);\n\n    /// @notice The hook called before liquidity is added\n    /// @param sender The initial msg.sender for the add liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for adding liquidity\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeAddLiquidity(\n        address sender,\n        PoolKey calldata key,\n        IPoolManager.ModifyLiquidityParams calldata params,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after liquidity is added\n    /// @param sender The initial msg.sender for the add liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for adding liquidity\n    /// @param delta The caller's balance delta after adding liquidity; the sum of principal delta, fees accrued, and hook delta\n    /// @param feesAccrued The fees accrued since the last time fees were collected from this position\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterAddLiquidity(\n        address sender,\n        PoolKey calldata key,\n        IPoolManager.ModifyLiquidityParams calldata params,\n        BalanceDelta delta,\n        BalanceDelta feesAccrued,\n        bytes calldata hookData\n    ) external returns (bytes4, BalanceDelta);\n\n    /// @notice The hook called before liquidity is removed\n    /// @param sender The initial msg.sender for the remove liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for removing liquidity\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeRemoveLiquidity(\n        address sender,\n        PoolKey calldata key,\n        IPoolManager.ModifyLiquidityParams calldata params,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after liquidity is removed\n    /// @param sender The initial msg.sender for the remove liquidity call\n    /// @param key The key for the pool\n    /// @param params The parameters for removing liquidity\n    /// @param delta The caller's balance delta after removing liquidity; the sum of principal delta, fees accrued, and hook delta\n    /// @param feesAccrued The fees accrued since the last time fees were collected from this position\n    /// @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterRemoveLiquidity(\n        address sender,\n        PoolKey calldata key,\n        IPoolManager.ModifyLiquidityParams calldata params,\n        BalanceDelta delta,\n        BalanceDelta feesAccrued,\n        bytes calldata hookData\n    ) external returns (bytes4, BalanceDelta);\n\n    /// @notice The hook called before a swap\n    /// @param sender The initial msg.sender for the swap call\n    /// @param key The key for the pool\n    /// @param params The parameters for the swap\n    /// @param hookData Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return BeforeSwapDelta The hook's delta in specified and unspecified currencies. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    /// @return uint24 Optionally override the lp fee, only used if three conditions are met: 1. the Pool has a dynamic fee, 2. the value's 2nd highest bit is set (23rd bit, 0x400000), and 3. the value is less than or equal to the maximum fee (1 million)\n    function beforeSwap(\n        address sender,\n        PoolKey calldata key,\n        IPoolManager.SwapParams calldata params,\n        bytes calldata hookData\n    ) external returns (bytes4, BeforeSwapDelta, uint24);\n\n    /// @notice The hook called after a swap\n    /// @param sender The initial msg.sender for the swap call\n    /// @param key The key for the pool\n    /// @param params The parameters for the swap\n    /// @param delta The amount owed to the caller (positive) or owed to the pool (negative)\n    /// @param hookData Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    /// @return int128 The hook's delta in unspecified currency. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n    function afterSwap(\n        address sender,\n        PoolKey calldata key,\n        IPoolManager.SwapParams calldata params,\n        BalanceDelta delta,\n        bytes calldata hookData\n    ) external returns (bytes4, int128);\n\n    /// @notice The hook called before donate\n    /// @param sender The initial msg.sender for the donate call\n    /// @param key The key for the pool\n    /// @param amount0 The amount of token0 being donated\n    /// @param amount1 The amount of token1 being donated\n    /// @param hookData Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function beforeDonate(\n        address sender,\n        PoolKey calldata key,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata hookData\n    ) external returns (bytes4);\n\n    /// @notice The hook called after donate\n    /// @param sender The initial msg.sender for the donate call\n    /// @param key The key for the pool\n    /// @param amount0 The amount of token0 being donated\n    /// @param amount1 The amount of token1 being donated\n    /// @param hookData Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\n    /// @return bytes4 The function selector for the hook\n    function afterDonate(\n        address sender,\n        PoolKey calldata key,\n        uint256 amount0,\n        uint256 amount1,\n        bytes calldata hookData\n    ) external returns (bytes4);\n}\n"},"@uniswap/v4-core/src/interfaces/IPoolManager.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {Currency} from \"../types/Currency.sol\";\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {IHooks} from \"./IHooks.sol\";\nimport {IERC6909Claims} from \"./external/IERC6909Claims.sol\";\nimport {IProtocolFees} from \"./IProtocolFees.sol\";\nimport {BalanceDelta} from \"../types/BalanceDelta.sol\";\nimport {PoolId} from \"../types/PoolId.sol\";\nimport {IExtsload} from \"./IExtsload.sol\";\nimport {IExttload} from \"./IExttload.sol\";\n\n/// @notice Interface for the PoolManager\ninterface IPoolManager is IProtocolFees, IERC6909Claims, IExtsload, IExttload {\n    /// @notice Thrown when a currency is not netted out after the contract is unlocked\n    error CurrencyNotSettled();\n\n    /// @notice Thrown when trying to interact with a non-initialized pool\n    error PoolNotInitialized();\n\n    /// @notice Thrown when unlock is called, but the contract is already unlocked\n    error AlreadyUnlocked();\n\n    /// @notice Thrown when a function is called that requires the contract to be unlocked, but it is not\n    error ManagerLocked();\n\n    /// @notice Pools are limited to type(int16).max tickSpacing in #initialize, to prevent overflow\n    error TickSpacingTooLarge(int24 tickSpacing);\n\n    /// @notice Pools must have a positive non-zero tickSpacing passed to #initialize\n    error TickSpacingTooSmall(int24 tickSpacing);\n\n    /// @notice PoolKey must have currencies where address(currency0) < address(currency1)\n    error CurrenciesOutOfOrderOrEqual(address currency0, address currency1);\n\n    /// @notice Thrown when a call to updateDynamicLPFee is made by an address that is not the hook,\n    /// or on a pool that does not have a dynamic swap fee.\n    error UnauthorizedDynamicLPFeeUpdate();\n\n    /// @notice Thrown when trying to swap amount of 0\n    error SwapAmountCannotBeZero();\n\n    ///@notice Thrown when native currency is passed to a non native settlement\n    error NonzeroNativeValue();\n\n    /// @notice Thrown when `clear` is called with an amount that is not exactly equal to the open currency delta.\n    error MustClearExactPositiveDelta();\n\n    /// @notice Emitted when a new pool is initialized\n    /// @param id The abi encoded hash of the pool key struct for the new pool\n    /// @param currency0 The first currency of the pool by address sort order\n    /// @param currency1 The second currency of the pool by address sort order\n    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\n    /// @param tickSpacing The minimum number of ticks between initialized ticks\n    /// @param hooks The hooks contract address for the pool, or address(0) if none\n    /// @param sqrtPriceX96 The price of the pool on initialization\n    /// @param tick The initial tick of the pool corresponding to the initialized price\n    event Initialize(\n        PoolId indexed id,\n        Currency indexed currency0,\n        Currency indexed currency1,\n        uint24 fee,\n        int24 tickSpacing,\n        IHooks hooks,\n        uint160 sqrtPriceX96,\n        int24 tick\n    );\n\n    /// @notice Emitted when a liquidity position is modified\n    /// @param id The abi encoded hash of the pool key struct for the pool that was modified\n    /// @param sender The address that modified the pool\n    /// @param tickLower The lower tick of the position\n    /// @param tickUpper The upper tick of the position\n    /// @param liquidityDelta The amount of liquidity that was added or removed\n    /// @param salt The extra data to make positions unique\n    event ModifyLiquidity(\n        PoolId indexed id, address indexed sender, int24 tickLower, int24 tickUpper, int256 liquidityDelta, bytes32 salt\n    );\n\n    /// @notice Emitted for swaps between currency0 and currency1\n    /// @param id The abi encoded hash of the pool key struct for the pool that was modified\n    /// @param sender The address that initiated the swap call, and that received the callback\n    /// @param amount0 The delta of the currency0 balance of the pool\n    /// @param amount1 The delta of the currency1 balance of the pool\n    /// @param sqrtPriceX96 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 the price of the pool after the swap\n    /// @param fee The swap fee in hundredths of a bip\n    event Swap(\n        PoolId indexed id,\n        address indexed sender,\n        int128 amount0,\n        int128 amount1,\n        uint160 sqrtPriceX96,\n        uint128 liquidity,\n        int24 tick,\n        uint24 fee\n    );\n\n    /// @notice Emitted for donations\n    /// @param id The abi encoded hash of the pool key struct for the pool that was donated to\n    /// @param sender The address that initiated the donate call\n    /// @param amount0 The amount donated in currency0\n    /// @param amount1 The amount donated in currency1\n    event Donate(PoolId indexed id, address indexed sender, uint256 amount0, uint256 amount1);\n\n    /// @notice All interactions on the contract that account deltas require unlocking. A caller that calls `unlock` must implement\n    /// `IUnlockCallback(msg.sender).unlockCallback(data)`, where they interact with the remaining functions on this contract.\n    /// @dev The only functions callable without an unlocking are `initialize` and `updateDynamicLPFee`\n    /// @param data Any data to pass to the callback, via `IUnlockCallback(msg.sender).unlockCallback(data)`\n    /// @return The data returned by the call to `IUnlockCallback(msg.sender).unlockCallback(data)`\n    function unlock(bytes calldata data) external returns (bytes memory);\n\n    /// @notice Initialize the state for a given pool ID\n    /// @dev A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n    /// @param key The pool key for the pool to initialize\n    /// @param sqrtPriceX96 The initial square root price\n    /// @return tick The initial tick of the pool\n    function initialize(PoolKey memory key, uint160 sqrtPriceX96) external returns (int24 tick);\n\n    struct ModifyLiquidityParams {\n        // the lower and upper tick of the position\n        int24 tickLower;\n        int24 tickUpper;\n        // how to modify the liquidity\n        int256 liquidityDelta;\n        // a value to set if you want unique liquidity positions at the same range\n        bytes32 salt;\n    }\n\n    /// @notice Modify the liquidity for the given pool\n    /// @dev Poke by calling with a zero liquidityDelta\n    /// @param key The pool to modify liquidity in\n    /// @param params The parameters for modifying the liquidity\n    /// @param hookData The data to pass through to the add/removeLiquidity hooks\n    /// @return callerDelta The balance delta of the caller of modifyLiquidity. This is the total of both principal, fee deltas, and hook deltas if applicable\n    /// @return feesAccrued The balance delta of the fees generated in the liquidity range. Returned for informational purposes\n    function modifyLiquidity(PoolKey memory key, ModifyLiquidityParams memory params, bytes calldata hookData)\n        external\n        returns (BalanceDelta callerDelta, BalanceDelta feesAccrued);\n\n    struct SwapParams {\n        /// Whether to swap token0 for token1 or vice versa\n        bool zeroForOne;\n        /// The desired input amount if negative (exactIn), or the desired output amount if positive (exactOut)\n        int256 amountSpecified;\n        /// The sqrt price at which, if reached, the swap will stop executing\n        uint160 sqrtPriceLimitX96;\n    }\n\n    /// @notice Swap against the given pool\n    /// @param key The pool to swap in\n    /// @param params The parameters for swapping\n    /// @param hookData The data to pass through to the swap hooks\n    /// @return swapDelta The balance delta of the address swapping\n    /// @dev Swapping on low liquidity pools may cause unexpected swap amounts when liquidity available is less than amountSpecified.\n    /// Additionally note that if interacting with hooks that have the BEFORE_SWAP_RETURNS_DELTA_FLAG or AFTER_SWAP_RETURNS_DELTA_FLAG\n    /// the hook may alter the swap input/output. Integrators should perform checks on the returned swapDelta.\n    function swap(PoolKey memory key, SwapParams memory params, bytes calldata hookData)\n        external\n        returns (BalanceDelta swapDelta);\n\n    /// @notice Donate the given currency amounts to the in-range liquidity providers of a pool\n    /// @dev Calls to donate can be frontrun adding just-in-time liquidity, with the aim of receiving a portion donated funds.\n    /// Donors should keep this in mind when designing donation mechanisms.\n    /// @dev This function donates to in-range LPs at slot0.tick. In certain edge-cases of the swap algorithm, the `sqrtPrice` of\n    /// a pool can be at the lower boundary of tick `n`, but the `slot0.tick` of the pool is already `n - 1`. In this case a call to\n    /// `donate` would donate to tick `n - 1` (slot0.tick) not tick `n` (getTickAtSqrtPrice(slot0.sqrtPriceX96)).\n    /// Read the comments in `Pool.swap()` for more information about this.\n    /// @param key The key of the pool to donate to\n    /// @param amount0 The amount of currency0 to donate\n    /// @param amount1 The amount of currency1 to donate\n    /// @param hookData The data to pass through to the donate hooks\n    /// @return BalanceDelta The delta of the caller after the donate\n    function donate(PoolKey memory key, uint256 amount0, uint256 amount1, bytes calldata hookData)\n        external\n        returns (BalanceDelta);\n\n    /// @notice Writes the current ERC20 balance of the specified currency to transient storage\n    /// This is used to checkpoint balances for the manager and derive deltas for the caller.\n    /// @dev This MUST be called before any ERC20 tokens are sent into the contract, but can be skipped\n    /// for native tokens because the amount to settle is determined by the sent value.\n    /// However, if an ERC20 token has been synced and not settled, and the caller instead wants to settle\n    /// native funds, this function can be called with the native currency to then be able to settle the native currency\n    function sync(Currency currency) external;\n\n    /// @notice Called by the user to net out some value owed to the user\n    /// @dev Will revert if the requested amount is not available, consider using `mint` instead\n    /// @dev Can also be used as a mechanism for free flash loans\n    /// @param currency The currency to withdraw from the pool manager\n    /// @param to The address to withdraw to\n    /// @param amount The amount of currency to withdraw\n    function take(Currency currency, address to, uint256 amount) external;\n\n    /// @notice Called by the user to pay what is owed\n    /// @return paid The amount of currency settled\n    function settle() external payable returns (uint256 paid);\n\n    /// @notice Called by the user to pay on behalf of another address\n    /// @param recipient The address to credit for the payment\n    /// @return paid The amount of currency settled\n    function settleFor(address recipient) external payable returns (uint256 paid);\n\n    /// @notice WARNING - Any currency that is cleared, will be non-retrievable, and locked in the contract permanently.\n    /// A call to clear will zero out a positive balance WITHOUT a corresponding transfer.\n    /// @dev This could be used to clear a balance that is considered dust.\n    /// Additionally, the amount must be the exact positive balance. This is to enforce that the caller is aware of the amount being cleared.\n    function clear(Currency currency, uint256 amount) external;\n\n    /// @notice Called by the user to move value into ERC6909 balance\n    /// @param to The address to mint the tokens to\n    /// @param id The currency address to mint to ERC6909s, as a uint256\n    /// @param amount The amount of currency to mint\n    /// @dev The id is converted to a uint160 to correspond to a currency address\n    /// If the upper 12 bytes are not 0, they will be 0-ed out\n    function mint(address to, uint256 id, uint256 amount) external;\n\n    /// @notice Called by the user to move value from ERC6909 balance\n    /// @param from The address to burn the tokens from\n    /// @param id The currency address to burn from ERC6909s, as a uint256\n    /// @param amount The amount of currency to burn\n    /// @dev The id is converted to a uint160 to correspond to a currency address\n    /// If the upper 12 bytes are not 0, they will be 0-ed out\n    function burn(address from, uint256 id, uint256 amount) external;\n\n    /// @notice Updates the pools lp fees for the a pool that has enabled dynamic lp fees.\n    /// @dev A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n    /// @param key The key of the pool to update dynamic LP fees for\n    /// @param newDynamicLPFee The new dynamic pool LP fee\n    function updateDynamicLPFee(PoolKey memory key, uint24 newDynamicLPFee) external;\n}\n"},"@uniswap/v4-core/src/interfaces/IProtocolFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {Currency} from \"../types/Currency.sol\";\nimport {PoolId} from \"../types/PoolId.sol\";\nimport {PoolKey} from \"../types/PoolKey.sol\";\n\n/// @notice Interface for all protocol-fee related functions in the pool manager\ninterface IProtocolFees {\n    /// @notice Thrown when protocol fee is set too high\n    error ProtocolFeeTooLarge(uint24 fee);\n\n    /// @notice Thrown when collectProtocolFees or setProtocolFee is not called by the controller.\n    error InvalidCaller();\n\n    /// @notice Thrown when collectProtocolFees is attempted on a token that is synced.\n    error ProtocolFeeCurrencySynced();\n\n    /// @notice Emitted when the protocol fee controller address is updated in setProtocolFeeController.\n    event ProtocolFeeControllerUpdated(address indexed protocolFeeController);\n\n    /// @notice Emitted when the protocol fee is updated for a pool.\n    event ProtocolFeeUpdated(PoolId indexed id, uint24 protocolFee);\n\n    /// @notice Given a currency address, returns the protocol fees accrued in that currency\n    /// @param currency The currency to check\n    /// @return amount The amount of protocol fees accrued in the currency\n    function protocolFeesAccrued(Currency currency) external view returns (uint256 amount);\n\n    /// @notice Sets the protocol fee for the given pool\n    /// @param key The key of the pool to set a protocol fee for\n    /// @param newProtocolFee The fee to set\n    function setProtocolFee(PoolKey memory key, uint24 newProtocolFee) external;\n\n    /// @notice Sets the protocol fee controller\n    /// @param controller The new protocol fee controller\n    function setProtocolFeeController(address controller) external;\n\n    /// @notice Collects the protocol fees for a given recipient and currency, returning the amount collected\n    /// @dev This will revert if the contract is unlocked\n    /// @param recipient The address to receive the protocol fees\n    /// @param currency The currency to withdraw\n    /// @param amount The amount of currency to withdraw\n    /// @return amountCollected The amount of currency successfully withdrawn\n    function collectProtocolFees(address recipient, Currency currency, uint256 amount)\n        external\n        returns (uint256 amountCollected);\n\n    /// @notice Returns the current protocol fee controller address\n    /// @return address The current protocol fee controller address\n    function protocolFeeController() external view returns (address);\n}\n"},"@uniswap/v4-core/src/libraries/BitMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title BitMath\n/// @dev This library provides functionality for computing bit properties of an unsigned integer\n/// @author Solady (https://github.com/Vectorized/solady/blob/8200a70e8dc2a77ecb074fc2e99a2a0d36547522/src/utils/LibBit.sol)\nlibrary BitMath {\n    /// @notice Returns the index of the most significant bit of the number,\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\n    /// @param x the value for which to compute the most significant bit, must be greater than 0\n    /// @return r the index of the most significant bit\n    function mostSignificantBit(uint256 x) internal pure returns (uint8 r) {\n        require(x > 0);\n\n        assembly (\"memory-safe\") {\n            r := shl(7, lt(0xffffffffffffffffffffffffffffffff, x))\n            r := or(r, shl(6, lt(0xffffffffffffffff, shr(r, x))))\n            r := or(r, shl(5, lt(0xffffffff, shr(r, x))))\n            r := or(r, shl(4, lt(0xffff, shr(r, x))))\n            r := or(r, shl(3, lt(0xff, shr(r, x))))\n            // forgefmt: disable-next-item\n            r := or(r, byte(and(0x1f, shr(shr(r, x), 0x8421084210842108cc6318c6db6d54be)),\n                0x0706060506020500060203020504000106050205030304010505030400000000))\n        }\n    }\n\n    /// @notice Returns the index of the least significant bit of the number,\n    ///     where the least significant bit is at index 0 and the most significant bit is at index 255\n    /// @param x the value for which to compute the least significant bit, must be greater than 0\n    /// @return r the index of the least significant bit\n    function leastSignificantBit(uint256 x) internal pure returns (uint8 r) {\n        require(x > 0);\n\n        assembly (\"memory-safe\") {\n            // Isolate the least significant bit.\n            x := and(x, sub(0, x))\n            // For the upper 3 bits of the result, use a De Bruijn-like lookup.\n            // Credit to adhusson: https://blog.adhusson.com/cheap-find-first-set-evm/\n            // forgefmt: disable-next-item\n            r := shl(5, shr(252, shl(shl(2, shr(250, mul(x,\n                0xb6db6db6ddddddddd34d34d349249249210842108c6318c639ce739cffffffff))),\n                0x8040405543005266443200005020610674053026020000107506200176117077)))\n            // For the lower 5 bits of the result, use a De Bruijn lookup.\n            // forgefmt: disable-next-item\n            r := or(r, byte(and(div(0xd76453e0, shr(r, x)), 0x1f),\n                0x001f0d1e100c1d070f090b19131c1706010e11080a1a141802121b1503160405))\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/CurrencyDelta.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.24;\n\nimport {Currency} from \"../types/Currency.sol\";\n\n/// @title a library to store callers' currency deltas in transient storage\n/// @dev this library implements the equivalent of a mapping, as transient storage can only be accessed in assembly\nlibrary CurrencyDelta {\n    /// @notice calculates which storage slot a delta should be stored in for a given account and currency\n    function _computeSlot(address target, Currency currency) internal pure returns (bytes32 hashSlot) {\n        assembly (\"memory-safe\") {\n            mstore(0, and(target, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(32, and(currency, 0xffffffffffffffffffffffffffffffffffffffff))\n            hashSlot := keccak256(0, 64)\n        }\n    }\n\n    function getDelta(Currency currency, address target) internal view returns (int256 delta) {\n        bytes32 hashSlot = _computeSlot(target, currency);\n        assembly (\"memory-safe\") {\n            delta := tload(hashSlot)\n        }\n    }\n\n    /// @notice applies a new currency delta for a given account and currency\n    /// @return previous The prior value\n    /// @return next The modified result\n    function applyDelta(Currency currency, address target, int128 delta)\n        internal\n        returns (int256 previous, int256 next)\n    {\n        bytes32 hashSlot = _computeSlot(target, currency);\n\n        assembly (\"memory-safe\") {\n            previous := tload(hashSlot)\n        }\n        next = previous + delta;\n        assembly (\"memory-safe\") {\n            tstore(hashSlot, next)\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/CurrencyReserves.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.24;\n\nimport {Currency} from \"../types/Currency.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\nlibrary CurrencyReserves {\n    using CustomRevert for bytes4;\n\n    /// bytes32(uint256(keccak256(\"ReservesOf\")) - 1)\n    bytes32 constant RESERVES_OF_SLOT = 0x1e0745a7db1623981f0b2a5d4232364c00787266eb75ad546f190e6cebe9bd95;\n    /// bytes32(uint256(keccak256(\"Currency\")) - 1)\n    bytes32 constant CURRENCY_SLOT = 0x27e098c505d44ec3574004bca052aabf76bd35004c182099d8c575fb238593b9;\n\n    function getSyncedCurrency() internal view returns (Currency currency) {\n        assembly (\"memory-safe\") {\n            currency := tload(CURRENCY_SLOT)\n        }\n    }\n\n    function resetCurrency() internal {\n        assembly (\"memory-safe\") {\n            tstore(CURRENCY_SLOT, 0)\n        }\n    }\n\n    function syncCurrencyAndReserves(Currency currency, uint256 value) internal {\n        assembly (\"memory-safe\") {\n            tstore(CURRENCY_SLOT, and(currency, 0xffffffffffffffffffffffffffffffffffffffff))\n            tstore(RESERVES_OF_SLOT, value)\n        }\n    }\n\n    function getSyncedReserves() internal view returns (uint256 value) {\n        assembly (\"memory-safe\") {\n            value := tload(RESERVES_OF_SLOT)\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/CustomRevert.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Library for reverting with custom errors efficiently\n/// @notice Contains functions for reverting with custom errors with different argument types efficiently\n/// @dev To use this library, declare `using CustomRevert for bytes4;` and replace `revert CustomError()` with\n/// `CustomError.selector.revertWith()`\n/// @dev The functions may tamper with the free memory pointer but it is fine since the call context is exited immediately\nlibrary CustomRevert {\n    /// @dev ERC-7751 error for wrapping bubbled up reverts\n    error WrappedError(address target, bytes4 selector, bytes reason, bytes details);\n\n    /// @dev Reverts with the selector of a custom error in the scratch space\n    function revertWith(bytes4 selector) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            revert(0, 0x04)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an address argument in the scratch space\n    function revertWith(bytes4 selector, address addr) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(addr, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with an int24 argument in the scratch space\n    function revertWith(bytes4 selector, int24 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, signextend(2, value))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with a uint160 argument in the scratch space\n    function revertWith(bytes4 selector, uint160 value) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0, selector)\n            mstore(0x04, and(value, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(0, 0x24)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two int24 arguments\n    function revertWith(bytes4 selector, int24 value1, int24 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), signextend(2, value1))\n            mstore(add(fmp, 0x24), signextend(2, value2))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two uint160 arguments\n    function revertWith(bytes4 selector, uint160 value1, uint160 value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @dev Reverts with a custom error with two address arguments\n    function revertWith(bytes4 selector, address value1, address value2) internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, selector)\n            mstore(add(fmp, 0x04), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x24), and(value2, 0xffffffffffffffffffffffffffffffffffffffff))\n            revert(fmp, 0x44)\n        }\n    }\n\n    /// @notice bubble up the revert message returned by a call and revert with a wrapped ERC-7751 error\n    /// @dev this method can be vulnerable to revert data bombs\n    function bubbleUpAndRevertWith(\n        address revertingContract,\n        bytes4 revertingFunctionSelector,\n        bytes4 additionalContext\n    ) internal pure {\n        bytes4 wrappedErrorSelector = WrappedError.selector;\n        assembly (\"memory-safe\") {\n            // Ensure the size of the revert data is a multiple of 32 bytes\n            let encodedDataSize := mul(div(add(returndatasize(), 31), 32), 32)\n\n            let fmp := mload(0x40)\n\n            // Encode wrapped error selector, address, function selector, offset, additional context, size, revert reason\n            mstore(fmp, wrappedErrorSelector)\n            mstore(add(fmp, 0x04), and(revertingContract, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(\n                add(fmp, 0x24),\n                and(revertingFunctionSelector, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            // offset revert reason\n            mstore(add(fmp, 0x44), 0x80)\n            // offset additional context\n            mstore(add(fmp, 0x64), add(0xa0, encodedDataSize))\n            // size revert reason\n            mstore(add(fmp, 0x84), returndatasize())\n            // revert reason\n            returndatacopy(add(fmp, 0xa4), 0, returndatasize())\n            // size additional context\n            mstore(add(fmp, add(0xa4, encodedDataSize)), 0x04)\n            // additional context\n            mstore(\n                add(fmp, add(0xc4, encodedDataSize)),\n                and(additionalContext, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n            )\n            revert(fmp, add(0xe4, encodedDataSize))\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/FixedPoint128.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title FixedPoint128\n/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\nlibrary FixedPoint128 {\n    uint256 internal constant Q128 = 0x100000000000000000000000000000000;\n}\n"},"@uniswap/v4-core/src/libraries/FixedPoint96.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title FixedPoint96\n/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\n/// @dev Used in SqrtPriceMath.sol\nlibrary FixedPoint96 {\n    uint8 internal constant RESOLUTION = 96;\n    uint256 internal constant Q96 = 0x1000000000000000000000000;\n}\n"},"@uniswap/v4-core/src/libraries/FullMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Contains 512-bit math functions\n/// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision\n/// @dev Handles \"phantom overflow\" i.e., allows multiplication and division where an intermediate value overflows 256 bits\nlibrary FullMath {\n    /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result\n    /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv\n    function mulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = a * b\n            // Compute the product mod 2**256 and mod 2**256 - 1\n            // then use the Chinese Remainder Theorem to reconstruct\n            // the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2**256 + prod0\n            uint256 prod0 = a * b; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly (\"memory-safe\") {\n                let mm := mulmod(a, b, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Make sure the result is less than 2**256.\n            // Also prevents denominator == 0\n            require(denominator > prod1);\n\n            // Handle non-overflow cases, 256 by 256 division\n            if (prod1 == 0) {\n                assembly (\"memory-safe\") {\n                    result := div(prod0, denominator)\n                }\n                return result;\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [prod1 prod0]\n            // Compute remainder using mulmod\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                remainder := mulmod(a, b, denominator)\n            }\n            // Subtract 256 bit number from 512 bit number\n            assembly (\"memory-safe\") {\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator\n            // Compute largest power of two divisor of denominator.\n            // Always >= 1.\n            uint256 twos = (0 - denominator) & denominator;\n            // Divide denominator by power of two\n            assembly (\"memory-safe\") {\n                denominator := div(denominator, twos)\n            }\n\n            // Divide [prod1 prod0] by the factors of two\n            assembly (\"memory-safe\") {\n                prod0 := div(prod0, twos)\n            }\n            // Shift in bits from prod1 into prod0. For this we need\n            // to flip `twos` such that it is 2**256 / twos.\n            // If twos is zero, then it becomes one\n            assembly (\"memory-safe\") {\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n            prod0 |= prod1 * twos;\n\n            // Invert denominator mod 2**256\n            // Now that denominator is an odd number, it has an inverse\n            // modulo 2**256 such that denominator * inv = 1 mod 2**256.\n            // Compute the inverse by starting with a seed that is correct\n            // correct for four bits. That is, denominator * inv = 1 mod 2**4\n            uint256 inv = (3 * denominator) ^ 2;\n            // Now use Newton-Raphson iteration to improve the precision.\n            // Thanks to Hensel's lifting lemma, this also works in modular\n            // arithmetic, doubling the correct bits in each step.\n            inv *= 2 - denominator * inv; // inverse mod 2**8\n            inv *= 2 - denominator * inv; // inverse mod 2**16\n            inv *= 2 - denominator * inv; // inverse mod 2**32\n            inv *= 2 - denominator * inv; // inverse mod 2**64\n            inv *= 2 - denominator * inv; // inverse mod 2**128\n            inv *= 2 - denominator * inv; // inverse mod 2**256\n\n            // Because the division is now exact we can divide by multiplying\n            // with the modular inverse of denominator. This will give us the\n            // correct result modulo 2**256. Since the preconditions guarantee\n            // that the outcome is less than 2**256, this is the final result.\n            // We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inv;\n            return result;\n        }\n    }\n\n    /// @notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result\n    function mulDivRoundingUp(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            result = mulDiv(a, b, denominator);\n            if (mulmod(a, b, denominator) != 0) {\n                require(++result > 0);\n            }\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/Hooks.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"../types/PoolKey.sol\";\nimport {IHooks} from \"../interfaces/IHooks.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\nimport {LPFeeLibrary} from \"./LPFeeLibrary.sol\";\nimport {BalanceDelta, toBalanceDelta, BalanceDeltaLibrary} from \"../types/BalanceDelta.sol\";\nimport {BeforeSwapDelta, BeforeSwapDeltaLibrary} from \"../types/BeforeSwapDelta.sol\";\nimport {IPoolManager} from \"../interfaces/IPoolManager.sol\";\nimport {ParseBytes} from \"./ParseBytes.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @notice V4 decides whether to invoke specific hooks by inspecting the least significant bits\n/// of the address that the hooks contract is deployed to.\n/// For example, a hooks contract deployed to address: 0x0000000000000000000000000000000000002400\n/// has the lowest bits '10 0100 0000 0000' which would cause the 'before initialize' and 'after add liquidity' hooks to be used.\nlibrary Hooks {\n    using LPFeeLibrary for uint24;\n    using Hooks for IHooks;\n    using SafeCast for int256;\n    using BeforeSwapDeltaLibrary for BeforeSwapDelta;\n    using ParseBytes for bytes;\n    using CustomRevert for bytes4;\n\n    uint160 internal constant ALL_HOOK_MASK = uint160((1 << 14) - 1);\n\n    uint160 internal constant BEFORE_INITIALIZE_FLAG = 1 << 13;\n    uint160 internal constant AFTER_INITIALIZE_FLAG = 1 << 12;\n\n    uint160 internal constant BEFORE_ADD_LIQUIDITY_FLAG = 1 << 11;\n    uint160 internal constant AFTER_ADD_LIQUIDITY_FLAG = 1 << 10;\n\n    uint160 internal constant BEFORE_REMOVE_LIQUIDITY_FLAG = 1 << 9;\n    uint160 internal constant AFTER_REMOVE_LIQUIDITY_FLAG = 1 << 8;\n\n    uint160 internal constant BEFORE_SWAP_FLAG = 1 << 7;\n    uint160 internal constant AFTER_SWAP_FLAG = 1 << 6;\n\n    uint160 internal constant BEFORE_DONATE_FLAG = 1 << 5;\n    uint160 internal constant AFTER_DONATE_FLAG = 1 << 4;\n\n    uint160 internal constant BEFORE_SWAP_RETURNS_DELTA_FLAG = 1 << 3;\n    uint160 internal constant AFTER_SWAP_RETURNS_DELTA_FLAG = 1 << 2;\n    uint160 internal constant AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG = 1 << 1;\n    uint160 internal constant AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG = 1 << 0;\n\n    struct Permissions {\n        bool beforeInitialize;\n        bool afterInitialize;\n        bool beforeAddLiquidity;\n        bool afterAddLiquidity;\n        bool beforeRemoveLiquidity;\n        bool afterRemoveLiquidity;\n        bool beforeSwap;\n        bool afterSwap;\n        bool beforeDonate;\n        bool afterDonate;\n        bool beforeSwapReturnDelta;\n        bool afterSwapReturnDelta;\n        bool afterAddLiquidityReturnDelta;\n        bool afterRemoveLiquidityReturnDelta;\n    }\n\n    /// @notice Thrown if the address will not lead to the specified hook calls being called\n    /// @param hooks The address of the hooks contract\n    error HookAddressNotValid(address hooks);\n\n    /// @notice Hook did not return its selector\n    error InvalidHookResponse();\n\n    /// @notice Additional context for ERC-7751 wrapped error when a hook call fails\n    error HookCallFailed();\n\n    /// @notice The hook's delta changed the swap from exactIn to exactOut or vice versa\n    error HookDeltaExceedsSwapAmount();\n\n    /// @notice Utility function intended to be used in hook constructors to ensure\n    /// the deployed hooks address causes the intended hooks to be called\n    /// @param permissions The hooks that are intended to be called\n    /// @dev permissions param is memory as the function will be called from constructors\n    function validateHookPermissions(IHooks self, Permissions memory permissions) internal pure {\n        if (\n            permissions.beforeInitialize != self.hasPermission(BEFORE_INITIALIZE_FLAG)\n                || permissions.afterInitialize != self.hasPermission(AFTER_INITIALIZE_FLAG)\n                || permissions.beforeAddLiquidity != self.hasPermission(BEFORE_ADD_LIQUIDITY_FLAG)\n                || permissions.afterAddLiquidity != self.hasPermission(AFTER_ADD_LIQUIDITY_FLAG)\n                || permissions.beforeRemoveLiquidity != self.hasPermission(BEFORE_REMOVE_LIQUIDITY_FLAG)\n                || permissions.afterRemoveLiquidity != self.hasPermission(AFTER_REMOVE_LIQUIDITY_FLAG)\n                || permissions.beforeSwap != self.hasPermission(BEFORE_SWAP_FLAG)\n                || permissions.afterSwap != self.hasPermission(AFTER_SWAP_FLAG)\n                || permissions.beforeDonate != self.hasPermission(BEFORE_DONATE_FLAG)\n                || permissions.afterDonate != self.hasPermission(AFTER_DONATE_FLAG)\n                || permissions.beforeSwapReturnDelta != self.hasPermission(BEFORE_SWAP_RETURNS_DELTA_FLAG)\n                || permissions.afterSwapReturnDelta != self.hasPermission(AFTER_SWAP_RETURNS_DELTA_FLAG)\n                || permissions.afterAddLiquidityReturnDelta != self.hasPermission(AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG)\n                || permissions.afterRemoveLiquidityReturnDelta\n                    != self.hasPermission(AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG)\n        ) {\n            HookAddressNotValid.selector.revertWith(address(self));\n        }\n    }\n\n    /// @notice Ensures that the hook address includes at least one hook flag or dynamic fees, or is the 0 address\n    /// @param self The hook to verify\n    /// @param fee The fee of the pool the hook is used with\n    /// @return bool True if the hook address is valid\n    function isValidHookAddress(IHooks self, uint24 fee) internal pure returns (bool) {\n        // The hook can only have a flag to return a hook delta on an action if it also has the corresponding action flag\n        if (!self.hasPermission(BEFORE_SWAP_FLAG) && self.hasPermission(BEFORE_SWAP_RETURNS_DELTA_FLAG)) return false;\n        if (!self.hasPermission(AFTER_SWAP_FLAG) && self.hasPermission(AFTER_SWAP_RETURNS_DELTA_FLAG)) return false;\n        if (!self.hasPermission(AFTER_ADD_LIQUIDITY_FLAG) && self.hasPermission(AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG))\n        {\n            return false;\n        }\n        if (\n            !self.hasPermission(AFTER_REMOVE_LIQUIDITY_FLAG)\n                && self.hasPermission(AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG)\n        ) return false;\n\n        // If there is no hook contract set, then fee cannot be dynamic\n        // If a hook contract is set, it must have at least 1 flag set, or have a dynamic fee\n        return address(self) == address(0)\n            ? !fee.isDynamicFee()\n            : (uint160(address(self)) & ALL_HOOK_MASK > 0 || fee.isDynamicFee());\n    }\n\n    /// @notice performs a hook call using the given calldata on the given hook that doesn't return a delta\n    /// @return result The complete data returned by the hook\n    function callHook(IHooks self, bytes memory data) internal returns (bytes memory result) {\n        bool success;\n        assembly (\"memory-safe\") {\n            success := call(gas(), self, 0, add(data, 0x20), mload(data), 0, 0)\n        }\n        // Revert with FailedHookCall, containing any error message to bubble up\n        if (!success) CustomRevert.bubbleUpAndRevertWith(address(self), bytes4(data), HookCallFailed.selector);\n\n        // The call was successful, fetch the returned data\n        assembly (\"memory-safe\") {\n            // allocate result byte array from the free memory pointer\n            result := mload(0x40)\n            // store new free memory pointer at the end of the array padded to 32 bytes\n            mstore(0x40, add(result, and(add(returndatasize(), 0x3f), not(0x1f))))\n            // store length in memory\n            mstore(result, returndatasize())\n            // copy return data to result\n            returndatacopy(add(result, 0x20), 0, returndatasize())\n        }\n\n        // Length must be at least 32 to contain the selector. Check expected selector and returned selector match.\n        if (result.length < 32 || result.parseSelector() != data.parseSelector()) {\n            InvalidHookResponse.selector.revertWith();\n        }\n    }\n\n    /// @notice performs a hook call using the given calldata on the given hook\n    /// @return int256 The delta returned by the hook\n    function callHookWithReturnDelta(IHooks self, bytes memory data, bool parseReturn) internal returns (int256) {\n        bytes memory result = callHook(self, data);\n\n        // If this hook wasn't meant to return something, default to 0 delta\n        if (!parseReturn) return 0;\n\n        // A length of 64 bytes is required to return a bytes4, and a 32 byte delta\n        if (result.length != 64) InvalidHookResponse.selector.revertWith();\n        return result.parseReturnDelta();\n    }\n\n    /// @notice modifier to prevent calling a hook if they initiated the action\n    modifier noSelfCall(IHooks self) {\n        if (msg.sender != address(self)) {\n            _;\n        }\n    }\n\n    /// @notice calls beforeInitialize hook if permissioned and validates return value\n    function beforeInitialize(IHooks self, PoolKey memory key, uint160 sqrtPriceX96) internal noSelfCall(self) {\n        if (self.hasPermission(BEFORE_INITIALIZE_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.beforeInitialize, (msg.sender, key, sqrtPriceX96)));\n        }\n    }\n\n    /// @notice calls afterInitialize hook if permissioned and validates return value\n    function afterInitialize(IHooks self, PoolKey memory key, uint160 sqrtPriceX96, int24 tick)\n        internal\n        noSelfCall(self)\n    {\n        if (self.hasPermission(AFTER_INITIALIZE_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.afterInitialize, (msg.sender, key, sqrtPriceX96, tick)));\n        }\n    }\n\n    /// @notice calls beforeModifyLiquidity hook if permissioned and validates return value\n    function beforeModifyLiquidity(\n        IHooks self,\n        PoolKey memory key,\n        IPoolManager.ModifyLiquidityParams memory params,\n        bytes calldata hookData\n    ) internal noSelfCall(self) {\n        if (params.liquidityDelta > 0 && self.hasPermission(BEFORE_ADD_LIQUIDITY_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.beforeAddLiquidity, (msg.sender, key, params, hookData)));\n        } else if (params.liquidityDelta <= 0 && self.hasPermission(BEFORE_REMOVE_LIQUIDITY_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.beforeRemoveLiquidity, (msg.sender, key, params, hookData)));\n        }\n    }\n\n    /// @notice calls afterModifyLiquidity hook if permissioned and validates return value\n    function afterModifyLiquidity(\n        IHooks self,\n        PoolKey memory key,\n        IPoolManager.ModifyLiquidityParams memory params,\n        BalanceDelta delta,\n        BalanceDelta feesAccrued,\n        bytes calldata hookData\n    ) internal returns (BalanceDelta callerDelta, BalanceDelta hookDelta) {\n        if (msg.sender == address(self)) return (delta, BalanceDeltaLibrary.ZERO_DELTA);\n\n        callerDelta = delta;\n        if (params.liquidityDelta > 0) {\n            if (self.hasPermission(AFTER_ADD_LIQUIDITY_FLAG)) {\n                hookDelta = BalanceDelta.wrap(\n                    self.callHookWithReturnDelta(\n                        abi.encodeCall(\n                            IHooks.afterAddLiquidity, (msg.sender, key, params, delta, feesAccrued, hookData)\n                        ),\n                        self.hasPermission(AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG)\n                    )\n                );\n                callerDelta = callerDelta - hookDelta;\n            }\n        } else {\n            if (self.hasPermission(AFTER_REMOVE_LIQUIDITY_FLAG)) {\n                hookDelta = BalanceDelta.wrap(\n                    self.callHookWithReturnDelta(\n                        abi.encodeCall(\n                            IHooks.afterRemoveLiquidity, (msg.sender, key, params, delta, feesAccrued, hookData)\n                        ),\n                        self.hasPermission(AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG)\n                    )\n                );\n                callerDelta = callerDelta - hookDelta;\n            }\n        }\n    }\n\n    /// @notice calls beforeSwap hook if permissioned and validates return value\n    function beforeSwap(IHooks self, PoolKey memory key, IPoolManager.SwapParams memory params, bytes calldata hookData)\n        internal\n        returns (int256 amountToSwap, BeforeSwapDelta hookReturn, uint24 lpFeeOverride)\n    {\n        amountToSwap = params.amountSpecified;\n        if (msg.sender == address(self)) return (amountToSwap, BeforeSwapDeltaLibrary.ZERO_DELTA, lpFeeOverride);\n\n        if (self.hasPermission(BEFORE_SWAP_FLAG)) {\n            bytes memory result = callHook(self, abi.encodeCall(IHooks.beforeSwap, (msg.sender, key, params, hookData)));\n\n            // A length of 96 bytes is required to return a bytes4, a 32 byte delta, and an LP fee\n            if (result.length != 96) InvalidHookResponse.selector.revertWith();\n\n            // dynamic fee pools that want to override the cache fee, return a valid fee with the override flag. If override flag\n            // is set but an invalid fee is returned, the transaction will revert. Otherwise the current LP fee will be used\n            if (key.fee.isDynamicFee()) lpFeeOverride = result.parseFee();\n\n            // skip this logic for the case where the hook return is 0\n            if (self.hasPermission(BEFORE_SWAP_RETURNS_DELTA_FLAG)) {\n                hookReturn = BeforeSwapDelta.wrap(result.parseReturnDelta());\n\n                // any return in unspecified is passed to the afterSwap hook for handling\n                int128 hookDeltaSpecified = hookReturn.getSpecifiedDelta();\n\n                // Update the swap amount according to the hook's return, and check that the swap type doesn't change (exact input/output)\n                if (hookDeltaSpecified != 0) {\n                    bool exactInput = amountToSwap < 0;\n                    amountToSwap += hookDeltaSpecified;\n                    if (exactInput ? amountToSwap > 0 : amountToSwap < 0) {\n                        HookDeltaExceedsSwapAmount.selector.revertWith();\n                    }\n                }\n            }\n        }\n    }\n\n    /// @notice calls afterSwap hook if permissioned and validates return value\n    function afterSwap(\n        IHooks self,\n        PoolKey memory key,\n        IPoolManager.SwapParams memory params,\n        BalanceDelta swapDelta,\n        bytes calldata hookData,\n        BeforeSwapDelta beforeSwapHookReturn\n    ) internal returns (BalanceDelta, BalanceDelta) {\n        if (msg.sender == address(self)) return (swapDelta, BalanceDeltaLibrary.ZERO_DELTA);\n\n        int128 hookDeltaSpecified = beforeSwapHookReturn.getSpecifiedDelta();\n        int128 hookDeltaUnspecified = beforeSwapHookReturn.getUnspecifiedDelta();\n\n        if (self.hasPermission(AFTER_SWAP_FLAG)) {\n            hookDeltaUnspecified += self.callHookWithReturnDelta(\n                abi.encodeCall(IHooks.afterSwap, (msg.sender, key, params, swapDelta, hookData)),\n                self.hasPermission(AFTER_SWAP_RETURNS_DELTA_FLAG)\n            ).toInt128();\n        }\n\n        BalanceDelta hookDelta;\n        if (hookDeltaUnspecified != 0 || hookDeltaSpecified != 0) {\n            hookDelta = (params.amountSpecified < 0 == params.zeroForOne)\n                ? toBalanceDelta(hookDeltaSpecified, hookDeltaUnspecified)\n                : toBalanceDelta(hookDeltaUnspecified, hookDeltaSpecified);\n\n            // the caller has to pay for (or receive) the hook's delta\n            swapDelta = swapDelta - hookDelta;\n        }\n        return (swapDelta, hookDelta);\n    }\n\n    /// @notice calls beforeDonate hook if permissioned and validates return value\n    function beforeDonate(IHooks self, PoolKey memory key, uint256 amount0, uint256 amount1, bytes calldata hookData)\n        internal\n        noSelfCall(self)\n    {\n        if (self.hasPermission(BEFORE_DONATE_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.beforeDonate, (msg.sender, key, amount0, amount1, hookData)));\n        }\n    }\n\n    /// @notice calls afterDonate hook if permissioned and validates return value\n    function afterDonate(IHooks self, PoolKey memory key, uint256 amount0, uint256 amount1, bytes calldata hookData)\n        internal\n        noSelfCall(self)\n    {\n        if (self.hasPermission(AFTER_DONATE_FLAG)) {\n            self.callHook(abi.encodeCall(IHooks.afterDonate, (msg.sender, key, amount0, amount1, hookData)));\n        }\n    }\n\n    function hasPermission(IHooks self, uint160 flag) internal pure returns (bool) {\n        return uint160(address(self)) & flag != 0;\n    }\n}\n"},"@uniswap/v4-core/src/libraries/LiquidityMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Math library for liquidity\nlibrary LiquidityMath {\n    /// @notice Add a signed liquidity delta to liquidity and revert if it overflows or underflows\n    /// @param x The liquidity before change\n    /// @param y The delta by which liquidity should be changed\n    /// @return z The liquidity delta\n    function addDelta(uint128 x, int128 y) internal pure returns (uint128 z) {\n        assembly (\"memory-safe\") {\n            z := add(and(x, 0xffffffffffffffffffffffffffffffff), signextend(15, y))\n            if shr(128, z) {\n                // revert SafeCastOverflow()\n                mstore(0, 0x93dafdf1)\n                revert(0x1c, 0x04)\n            }\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/Lock.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.24;\n\n/// @notice This is a temporary library that allows us to use transient storage (tstore/tload)\n/// TODO: This library can be deleted when we have the transient keyword support in solidity.\nlibrary Lock {\n    // The slot holding the unlocked state, transiently. bytes32(uint256(keccak256(\"Unlocked\")) - 1)\n    bytes32 internal constant IS_UNLOCKED_SLOT = 0xc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab23;\n\n    function unlock() internal {\n        assembly (\"memory-safe\") {\n            // unlock\n            tstore(IS_UNLOCKED_SLOT, true)\n        }\n    }\n\n    function lock() internal {\n        assembly (\"memory-safe\") {\n            tstore(IS_UNLOCKED_SLOT, false)\n        }\n    }\n\n    function isUnlocked() internal view returns (bool unlocked) {\n        assembly (\"memory-safe\") {\n            unlocked := tload(IS_UNLOCKED_SLOT)\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @notice Library of helper functions for a pools LP fee\nlibrary LPFeeLibrary {\n    using LPFeeLibrary for uint24;\n    using CustomRevert for bytes4;\n\n    /// @notice Thrown when the static or dynamic fee on a pool exceeds 100%.\n    error LPFeeTooLarge(uint24 fee);\n\n    /// @notice An lp fee of exactly 0b1000000... signals a dynamic fee pool. This isn't a valid static fee as it is > MAX_LP_FEE\n    uint24 public constant DYNAMIC_FEE_FLAG = 0x800000;\n\n    /// @notice the second bit of the fee returned by beforeSwap is used to signal if the stored LP fee should be overridden in this swap\n    // only dynamic-fee pools can return a fee via the beforeSwap hook\n    uint24 public constant OVERRIDE_FEE_FLAG = 0x400000;\n\n    /// @notice mask to remove the override fee flag from a fee returned by the beforeSwaphook\n    uint24 public constant REMOVE_OVERRIDE_MASK = 0xBFFFFF;\n\n    /// @notice the lp fee is represented in hundredths of a bip, so the max is 100%\n    uint24 public constant MAX_LP_FEE = 1000000;\n\n    /// @notice returns true if a pool's LP fee signals that the pool has a dynamic fee\n    /// @param self The fee to check\n    /// @return bool True of the fee is dynamic\n    function isDynamicFee(uint24 self) internal pure returns (bool) {\n        return self == DYNAMIC_FEE_FLAG;\n    }\n\n    /// @notice returns true if an LP fee is valid, aka not above the maximum permitted fee\n    /// @param self The fee to check\n    /// @return bool True of the fee is valid\n    function isValid(uint24 self) internal pure returns (bool) {\n        return self <= MAX_LP_FEE;\n    }\n\n    /// @notice validates whether an LP fee is larger than the maximum, and reverts if invalid\n    /// @param self The fee to validate\n    function validate(uint24 self) internal pure {\n        if (!self.isValid()) LPFeeTooLarge.selector.revertWith(self);\n    }\n\n    /// @notice gets and validates the initial LP fee for a pool. Dynamic fee pools have an initial fee of 0.\n    /// @dev if a dynamic fee pool wants a non-0 initial fee, it should call `updateDynamicLPFee` in the afterInitialize hook\n    /// @param self The fee to get the initial LP from\n    /// @return initialFee 0 if the fee is dynamic, otherwise the fee (if valid)\n    function getInitialLPFee(uint24 self) internal pure returns (uint24) {\n        // the initial fee for a dynamic fee pool is 0\n        if (self.isDynamicFee()) return 0;\n        self.validate();\n        return self;\n    }\n\n    /// @notice returns true if the fee has the override flag set (2nd highest bit of the uint24)\n    /// @param self The fee to check\n    /// @return bool True of the fee has the override flag set\n    function isOverride(uint24 self) internal pure returns (bool) {\n        return self & OVERRIDE_FEE_FLAG != 0;\n    }\n\n    /// @notice returns a fee with the override flag removed\n    /// @param self The fee to remove the override flag from\n    /// @return fee The fee without the override flag set\n    function removeOverrideFlag(uint24 self) internal pure returns (uint24) {\n        return self & REMOVE_OVERRIDE_MASK;\n    }\n\n    /// @notice Removes the override flag and validates the fee (reverts if the fee is too large)\n    /// @param self The fee to remove the override flag from, and then validate\n    /// @return fee The fee without the override flag set (if valid)\n    function removeOverrideFlagAndValidate(uint24 self) internal pure returns (uint24 fee) {\n        fee = self.removeOverrideFlag();\n        fee.validate();\n    }\n}\n"},"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.24;\n\n/// @notice This is a temporary library that allows us to use transient storage (tstore/tload)\n/// for the nonzero delta count.\n/// TODO: This library can be deleted when we have the transient keyword support in solidity.\nlibrary NonzeroDeltaCount {\n    // The slot holding the number of nonzero deltas. bytes32(uint256(keccak256(\"NonzeroDeltaCount\")) - 1)\n    bytes32 internal constant NONZERO_DELTA_COUNT_SLOT =\n        0x7d4b3164c6e45b97e7d87b7125a44c5828d005af88f9d751cfd78729c5d99a0b;\n\n    function read() internal view returns (uint256 count) {\n        assembly (\"memory-safe\") {\n            count := tload(NONZERO_DELTA_COUNT_SLOT)\n        }\n    }\n\n    function increment() internal {\n        assembly (\"memory-safe\") {\n            let count := tload(NONZERO_DELTA_COUNT_SLOT)\n            count := add(count, 1)\n            tstore(NONZERO_DELTA_COUNT_SLOT, count)\n        }\n    }\n\n    /// @notice Potential to underflow. Ensure checks are performed by integrating contracts to ensure this does not happen.\n    /// Current usage ensures this will not happen because we call decrement with known boundaries (only up to the number of times we call increment).\n    function decrement() internal {\n        assembly (\"memory-safe\") {\n            let count := tload(NONZERO_DELTA_COUNT_SLOT)\n            count := sub(count, 1)\n            tstore(NONZERO_DELTA_COUNT_SLOT, count)\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/ParseBytes.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\n/// @notice Parses bytes returned from hooks and the byte selector used to check return selectors from hooks.\n/// @dev parseSelector also is used to parse the expected selector\n/// For parsing hook returns, note that all hooks return either bytes4 or (bytes4, 32-byte-delta) or (bytes4, 32-byte-delta, uint24).\nlibrary ParseBytes {\n    function parseSelector(bytes memory result) internal pure returns (bytes4 selector) {\n        // equivalent: (selector,) = abi.decode(result, (bytes4, int256));\n        assembly (\"memory-safe\") {\n            selector := mload(add(result, 0x20))\n        }\n    }\n\n    function parseFee(bytes memory result) internal pure returns (uint24 lpFee) {\n        // equivalent: (,, lpFee) = abi.decode(result, (bytes4, int256, uint24));\n        assembly (\"memory-safe\") {\n            lpFee := mload(add(result, 0x60))\n        }\n    }\n\n    function parseReturnDelta(bytes memory result) internal pure returns (int256 hookReturn) {\n        // equivalent: (, hookReturnDelta) = abi.decode(result, (bytes4, int256));\n        assembly (\"memory-safe\") {\n            hookReturn := mload(add(result, 0x40))\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/Pool.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"./SafeCast.sol\";\nimport {TickBitmap} from \"./TickBitmap.sol\";\nimport {Position} from \"./Position.sol\";\nimport {UnsafeMath} from \"./UnsafeMath.sol\";\nimport {FixedPoint128} from \"./FixedPoint128.sol\";\nimport {TickMath} from \"./TickMath.sol\";\nimport {SqrtPriceMath} from \"./SqrtPriceMath.sol\";\nimport {SwapMath} from \"./SwapMath.sol\";\nimport {BalanceDelta, toBalanceDelta, BalanceDeltaLibrary} from \"../types/BalanceDelta.sol\";\nimport {Slot0} from \"../types/Slot0.sol\";\nimport {ProtocolFeeLibrary} from \"./ProtocolFeeLibrary.sol\";\nimport {LiquidityMath} from \"./LiquidityMath.sol\";\nimport {LPFeeLibrary} from \"./LPFeeLibrary.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @notice a library with all actions that can be performed on a pool\nlibrary Pool {\n    using SafeCast for *;\n    using TickBitmap for mapping(int16 => uint256);\n    using Position for mapping(bytes32 => Position.State);\n    using Position for Position.State;\n    using Pool for State;\n    using ProtocolFeeLibrary for *;\n    using LPFeeLibrary for uint24;\n    using CustomRevert for bytes4;\n\n    /// @notice Thrown when tickLower is not below tickUpper\n    /// @param tickLower The invalid tickLower\n    /// @param tickUpper The invalid tickUpper\n    error TicksMisordered(int24 tickLower, int24 tickUpper);\n\n    /// @notice Thrown when tickLower is less than min tick\n    /// @param tickLower The invalid tickLower\n    error TickLowerOutOfBounds(int24 tickLower);\n\n    /// @notice Thrown when tickUpper exceeds max tick\n    /// @param tickUpper The invalid tickUpper\n    error TickUpperOutOfBounds(int24 tickUpper);\n\n    /// @notice For the tick spacing, the tick has too much liquidity\n    error TickLiquidityOverflow(int24 tick);\n\n    /// @notice Thrown when trying to initialize an already initialized pool\n    error PoolAlreadyInitialized();\n\n    /// @notice Thrown when trying to interact with a non-initialized pool\n    error PoolNotInitialized();\n\n    /// @notice Thrown when sqrtPriceLimitX96 on a swap has already exceeded its limit\n    /// @param sqrtPriceCurrentX96 The invalid, already surpassed sqrtPriceLimitX96\n    /// @param sqrtPriceLimitX96 The surpassed price limit\n    error PriceLimitAlreadyExceeded(uint160 sqrtPriceCurrentX96, uint160 sqrtPriceLimitX96);\n\n    /// @notice Thrown when sqrtPriceLimitX96 lies outside of valid tick/price range\n    /// @param sqrtPriceLimitX96 The invalid, out-of-bounds sqrtPriceLimitX96\n    error PriceLimitOutOfBounds(uint160 sqrtPriceLimitX96);\n\n    /// @notice Thrown by donate if there is currently 0 liquidity, since the fees will not go to any liquidity providers\n    error NoLiquidityToReceiveFees();\n\n    /// @notice Thrown when trying to swap with max lp fee and specifying an output amount\n    error InvalidFeeForExactOut();\n\n    // info stored for each initialized individual tick\n    struct TickInfo {\n        // the total position liquidity that references this tick\n        uint128 liquidityGross;\n        // amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left),\n        int128 liquidityNet;\n        // fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n        // only has relative meaning, not absolute — the value depends on when the tick is initialized\n        uint256 feeGrowthOutside0X128;\n        uint256 feeGrowthOutside1X128;\n    }\n\n    /// @dev The state of a pool\n    struct State {\n        Slot0 slot0;\n        uint256 feeGrowthGlobal0X128;\n        uint256 feeGrowthGlobal1X128;\n        uint128 liquidity;\n        mapping(int24 tick => TickInfo) ticks;\n        mapping(int16 wordPos => uint256) tickBitmap;\n        mapping(bytes32 positionKey => Position.State) positions;\n    }\n\n    /// @dev Common checks for valid tick inputs.\n    function checkTicks(int24 tickLower, int24 tickUpper) private pure {\n        if (tickLower >= tickUpper) TicksMisordered.selector.revertWith(tickLower, tickUpper);\n        if (tickLower < TickMath.MIN_TICK) TickLowerOutOfBounds.selector.revertWith(tickLower);\n        if (tickUpper > TickMath.MAX_TICK) TickUpperOutOfBounds.selector.revertWith(tickUpper);\n    }\n\n    function initialize(State storage self, uint160 sqrtPriceX96, uint24 lpFee) internal returns (int24 tick) {\n        if (self.slot0.sqrtPriceX96() != 0) PoolAlreadyInitialized.selector.revertWith();\n\n        tick = TickMath.getTickAtSqrtPrice(sqrtPriceX96);\n\n        // the initial protocolFee is 0 so doesn't need to be set\n        self.slot0 = Slot0.wrap(bytes32(0)).setSqrtPriceX96(sqrtPriceX96).setTick(tick).setLpFee(lpFee);\n    }\n\n    function setProtocolFee(State storage self, uint24 protocolFee) internal {\n        self.checkPoolInitialized();\n        self.slot0 = self.slot0.setProtocolFee(protocolFee);\n    }\n\n    /// @notice Only dynamic fee pools may update the lp fee.\n    function setLPFee(State storage self, uint24 lpFee) internal {\n        self.checkPoolInitialized();\n        self.slot0 = self.slot0.setLpFee(lpFee);\n    }\n\n    struct ModifyLiquidityParams {\n        // the address that owns the position\n        address owner;\n        // the lower and upper tick of the position\n        int24 tickLower;\n        int24 tickUpper;\n        // any change in liquidity\n        int128 liquidityDelta;\n        // the spacing between ticks\n        int24 tickSpacing;\n        // used to distinguish positions of the same owner, at the same tick range\n        bytes32 salt;\n    }\n\n    struct ModifyLiquidityState {\n        bool flippedLower;\n        uint128 liquidityGrossAfterLower;\n        bool flippedUpper;\n        uint128 liquidityGrossAfterUpper;\n    }\n\n    /// @notice Effect changes to a position in a pool\n    /// @dev PoolManager checks that the pool is initialized before calling\n    /// @param params the position details and the change to the position's liquidity to effect\n    /// @return delta the deltas of the token balances of the pool, from the liquidity change\n    /// @return feeDelta the fees generated by the liquidity range\n    function modifyLiquidity(State storage self, ModifyLiquidityParams memory params)\n        internal\n        returns (BalanceDelta delta, BalanceDelta feeDelta)\n    {\n        int128 liquidityDelta = params.liquidityDelta;\n        int24 tickLower = params.tickLower;\n        int24 tickUpper = params.tickUpper;\n        checkTicks(tickLower, tickUpper);\n\n        {\n            ModifyLiquidityState memory state;\n\n            // if we need to update the ticks, do it\n            if (liquidityDelta != 0) {\n                (state.flippedLower, state.liquidityGrossAfterLower) =\n                    updateTick(self, tickLower, liquidityDelta, false);\n                (state.flippedUpper, state.liquidityGrossAfterUpper) = updateTick(self, tickUpper, liquidityDelta, true);\n\n                // `>` and `>=` are logically equivalent here but `>=` is cheaper\n                if (liquidityDelta >= 0) {\n                    uint128 maxLiquidityPerTick = tickSpacingToMaxLiquidityPerTick(params.tickSpacing);\n                    if (state.liquidityGrossAfterLower > maxLiquidityPerTick) {\n                        TickLiquidityOverflow.selector.revertWith(tickLower);\n                    }\n                    if (state.liquidityGrossAfterUpper > maxLiquidityPerTick) {\n                        TickLiquidityOverflow.selector.revertWith(tickUpper);\n                    }\n                }\n\n                if (state.flippedLower) {\n                    self.tickBitmap.flipTick(tickLower, params.tickSpacing);\n                }\n                if (state.flippedUpper) {\n                    self.tickBitmap.flipTick(tickUpper, params.tickSpacing);\n                }\n            }\n\n            {\n                (uint256 feeGrowthInside0X128, uint256 feeGrowthInside1X128) =\n                    getFeeGrowthInside(self, tickLower, tickUpper);\n\n                Position.State storage position = self.positions.get(params.owner, tickLower, tickUpper, params.salt);\n                (uint256 feesOwed0, uint256 feesOwed1) =\n                    position.update(liquidityDelta, feeGrowthInside0X128, feeGrowthInside1X128);\n\n                // Fees earned from LPing are calculated, and returned\n                feeDelta = toBalanceDelta(feesOwed0.toInt128(), feesOwed1.toInt128());\n            }\n\n            // clear any tick data that is no longer needed\n            if (liquidityDelta < 0) {\n                if (state.flippedLower) {\n                    clearTick(self, tickLower);\n                }\n                if (state.flippedUpper) {\n                    clearTick(self, tickUpper);\n                }\n            }\n        }\n\n        if (liquidityDelta != 0) {\n            Slot0 _slot0 = self.slot0;\n            (int24 tick, uint160 sqrtPriceX96) = (_slot0.tick(), _slot0.sqrtPriceX96());\n            if (tick < tickLower) {\n                // current tick is below the passed range; liquidity can only become in range by crossing from left to\n                // right, when we'll need _more_ currency0 (it's becoming more valuable) so user must provide it\n                delta = toBalanceDelta(\n                    SqrtPriceMath.getAmount0Delta(\n                        TickMath.getSqrtPriceAtTick(tickLower), TickMath.getSqrtPriceAtTick(tickUpper), liquidityDelta\n                    ).toInt128(),\n                    0\n                );\n            } else if (tick < tickUpper) {\n                delta = toBalanceDelta(\n                    SqrtPriceMath.getAmount0Delta(sqrtPriceX96, TickMath.getSqrtPriceAtTick(tickUpper), liquidityDelta)\n                        .toInt128(),\n                    SqrtPriceMath.getAmount1Delta(TickMath.getSqrtPriceAtTick(tickLower), sqrtPriceX96, liquidityDelta)\n                        .toInt128()\n                );\n\n                self.liquidity = LiquidityMath.addDelta(self.liquidity, liquidityDelta);\n            } else {\n                // current tick is above the passed range; liquidity can only become in range by crossing from right to\n                // left, when we'll need _more_ currency1 (it's becoming more valuable) so user must provide it\n                delta = toBalanceDelta(\n                    0,\n                    SqrtPriceMath.getAmount1Delta(\n                        TickMath.getSqrtPriceAtTick(tickLower), TickMath.getSqrtPriceAtTick(tickUpper), liquidityDelta\n                    ).toInt128()\n                );\n            }\n        }\n    }\n\n    // Tracks the state of a pool throughout a swap, and returns these values at the end of the swap\n    struct SwapResult {\n        // the current sqrt(price)\n        uint160 sqrtPriceX96;\n        // the tick associated with the current price\n        int24 tick;\n        // the current liquidity in range\n        uint128 liquidity;\n    }\n\n    struct StepComputations {\n        // the price at the beginning of the step\n        uint160 sqrtPriceStartX96;\n        // the next tick to swap to from the current tick in the swap direction\n        int24 tickNext;\n        // whether tickNext is initialized or not\n        bool initialized;\n        // sqrt(price) for the next tick (1/0)\n        uint160 sqrtPriceNextX96;\n        // how much is being swapped in in this step\n        uint256 amountIn;\n        // how much is being swapped out\n        uint256 amountOut;\n        // how much fee is being paid in\n        uint256 feeAmount;\n        // the global fee growth of the input token. updated in storage at the end of swap\n        uint256 feeGrowthGlobalX128;\n    }\n\n    struct SwapParams {\n        int256 amountSpecified;\n        int24 tickSpacing;\n        bool zeroForOne;\n        uint160 sqrtPriceLimitX96;\n        uint24 lpFeeOverride;\n    }\n\n    /// @notice Executes a swap against the state, and returns the amount deltas of the pool\n    /// @dev PoolManager checks that the pool is initialized before calling\n    function swap(State storage self, SwapParams memory params)\n        internal\n        returns (BalanceDelta swapDelta, uint256 amountToProtocol, uint24 swapFee, SwapResult memory result)\n    {\n        Slot0 slot0Start = self.slot0;\n        bool zeroForOne = params.zeroForOne;\n\n        uint256 protocolFee =\n            zeroForOne ? slot0Start.protocolFee().getZeroForOneFee() : slot0Start.protocolFee().getOneForZeroFee();\n\n        // the amount remaining to be swapped in/out of the input/output asset. initially set to the amountSpecified\n        int256 amountSpecifiedRemaining = params.amountSpecified;\n        // the amount swapped out/in of the output/input asset. initially set to 0\n        int256 amountCalculated = 0;\n        // initialize to the current sqrt(price)\n        result.sqrtPriceX96 = slot0Start.sqrtPriceX96();\n        // initialize to the current tick\n        result.tick = slot0Start.tick();\n        // initialize to the current liquidity\n        result.liquidity = self.liquidity;\n\n        // if the beforeSwap hook returned a valid fee override, use that as the LP fee, otherwise load from storage\n        // lpFee, swapFee, and protocolFee are all in pips\n        {\n            uint24 lpFee = params.lpFeeOverride.isOverride()\n                ? params.lpFeeOverride.removeOverrideFlagAndValidate()\n                : slot0Start.lpFee();\n\n            swapFee = protocolFee == 0 ? lpFee : uint16(protocolFee).calculateSwapFee(lpFee);\n        }\n\n        // a swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n        if (swapFee >= SwapMath.MAX_SWAP_FEE) {\n            // if exactOutput\n            if (params.amountSpecified > 0) {\n                InvalidFeeForExactOut.selector.revertWith();\n            }\n        }\n\n        // swapFee is the pool's fee in pips (LP fee + protocol fee)\n        // when the amount swapped is 0, there is no protocolFee applied and the fee amount paid to the protocol is set to 0\n        if (params.amountSpecified == 0) return (BalanceDeltaLibrary.ZERO_DELTA, 0, swapFee, result);\n\n        if (zeroForOne) {\n            if (params.sqrtPriceLimitX96 >= slot0Start.sqrtPriceX96()) {\n                PriceLimitAlreadyExceeded.selector.revertWith(slot0Start.sqrtPriceX96(), params.sqrtPriceLimitX96);\n            }\n            // Swaps can never occur at MIN_TICK, only at MIN_TICK + 1, except at initialization of a pool\n            // Under certain circumstances outlined below, the tick will preemptively reach MIN_TICK without swapping there\n            if (params.sqrtPriceLimitX96 <= TickMath.MIN_SQRT_PRICE) {\n                PriceLimitOutOfBounds.selector.revertWith(params.sqrtPriceLimitX96);\n            }\n        } else {\n            if (params.sqrtPriceLimitX96 <= slot0Start.sqrtPriceX96()) {\n                PriceLimitAlreadyExceeded.selector.revertWith(slot0Start.sqrtPriceX96(), params.sqrtPriceLimitX96);\n            }\n            if (params.sqrtPriceLimitX96 >= TickMath.MAX_SQRT_PRICE) {\n                PriceLimitOutOfBounds.selector.revertWith(params.sqrtPriceLimitX96);\n            }\n        }\n\n        StepComputations memory step;\n        step.feeGrowthGlobalX128 = zeroForOne ? self.feeGrowthGlobal0X128 : self.feeGrowthGlobal1X128;\n\n        // continue swapping as long as we haven't used the entire input/output and haven't reached the price limit\n        while (!(amountSpecifiedRemaining == 0 || result.sqrtPriceX96 == params.sqrtPriceLimitX96)) {\n            step.sqrtPriceStartX96 = result.sqrtPriceX96;\n\n            (step.tickNext, step.initialized) =\n                self.tickBitmap.nextInitializedTickWithinOneWord(result.tick, params.tickSpacing, zeroForOne);\n\n            // ensure that we do not overshoot the min/max tick, as the tick bitmap is not aware of these bounds\n            if (step.tickNext <= TickMath.MIN_TICK) {\n                step.tickNext = TickMath.MIN_TICK;\n            }\n            if (step.tickNext >= TickMath.MAX_TICK) {\n                step.tickNext = TickMath.MAX_TICK;\n            }\n\n            // get the price for the next tick\n            step.sqrtPriceNextX96 = TickMath.getSqrtPriceAtTick(step.tickNext);\n\n            // compute values to swap to the target tick, price limit, or point where input/output amount is exhausted\n            (result.sqrtPriceX96, step.amountIn, step.amountOut, step.feeAmount) = SwapMath.computeSwapStep(\n                result.sqrtPriceX96,\n                SwapMath.getSqrtPriceTarget(zeroForOne, step.sqrtPriceNextX96, params.sqrtPriceLimitX96),\n                result.liquidity,\n                amountSpecifiedRemaining,\n                swapFee\n            );\n\n            // if exactOutput\n            if (params.amountSpecified > 0) {\n                unchecked {\n                    amountSpecifiedRemaining -= step.amountOut.toInt256();\n                }\n                amountCalculated -= (step.amountIn + step.feeAmount).toInt256();\n            } else {\n                // safe because we test that amountSpecified > amountIn + feeAmount in SwapMath\n                unchecked {\n                    amountSpecifiedRemaining += (step.amountIn + step.feeAmount).toInt256();\n                }\n                amountCalculated += step.amountOut.toInt256();\n            }\n\n            // if the protocol fee is on, calculate how much is owed, decrement feeAmount, and increment protocolFee\n            if (protocolFee > 0) {\n                unchecked {\n                    // step.amountIn does not include the swap fee, as it's already been taken from it,\n                    // so add it back to get the total amountIn and use that to calculate the amount of fees owed to the protocol\n                    // cannot overflow due to limits on the size of protocolFee and params.amountSpecified\n                    // this rounds down to favor LPs over the protocol\n                    uint256 delta = (swapFee == protocolFee)\n                        ? step.feeAmount // lp fee is 0, so the entire fee is owed to the protocol instead\n                        : (step.amountIn + step.feeAmount) * protocolFee / ProtocolFeeLibrary.PIPS_DENOMINATOR;\n                    // subtract it from the total fee and add it to the protocol fee\n                    step.feeAmount -= delta;\n                    amountToProtocol += delta;\n                }\n            }\n\n            // update global fee tracker\n            if (result.liquidity > 0) {\n                unchecked {\n                    // FullMath.mulDiv isn't needed as the numerator can't overflow uint256 since tokens have a max supply of type(uint128).max\n                    step.feeGrowthGlobalX128 +=\n                        UnsafeMath.simpleMulDiv(step.feeAmount, FixedPoint128.Q128, result.liquidity);\n                }\n            }\n\n            // Shift tick if we reached the next price, and preemptively decrement for zeroForOne swaps to tickNext - 1.\n            // If the swap doesn't continue (if amountRemaining == 0 or sqrtPriceLimit is met), slot0.tick will be 1 less\n            // than getTickAtSqrtPrice(slot0.sqrtPrice). This doesn't affect swaps, but donation calls should verify both\n            // price and tick to reward the correct LPs.\n            if (result.sqrtPriceX96 == step.sqrtPriceNextX96) {\n                // if the tick is initialized, run the tick transition\n                if (step.initialized) {\n                    (uint256 feeGrowthGlobal0X128, uint256 feeGrowthGlobal1X128) = zeroForOne\n                        ? (step.feeGrowthGlobalX128, self.feeGrowthGlobal1X128)\n                        : (self.feeGrowthGlobal0X128, step.feeGrowthGlobalX128);\n                    int128 liquidityNet =\n                        Pool.crossTick(self, step.tickNext, feeGrowthGlobal0X128, feeGrowthGlobal1X128);\n                    // if we're moving leftward, we interpret liquidityNet as the opposite sign\n                    // safe because liquidityNet cannot be type(int128).min\n                    unchecked {\n                        if (zeroForOne) liquidityNet = -liquidityNet;\n                    }\n\n                    result.liquidity = LiquidityMath.addDelta(result.liquidity, liquidityNet);\n                }\n\n                unchecked {\n                    result.tick = zeroForOne ? step.tickNext - 1 : step.tickNext;\n                }\n            } else if (result.sqrtPriceX96 != step.sqrtPriceStartX96) {\n                // recompute unless we're on a lower tick boundary (i.e. already transitioned ticks), and haven't moved\n                result.tick = TickMath.getTickAtSqrtPrice(result.sqrtPriceX96);\n            }\n        }\n\n        self.slot0 = slot0Start.setTick(result.tick).setSqrtPriceX96(result.sqrtPriceX96);\n\n        // update liquidity if it changed\n        if (self.liquidity != result.liquidity) self.liquidity = result.liquidity;\n\n        // update fee growth global\n        if (!zeroForOne) {\n            self.feeGrowthGlobal1X128 = step.feeGrowthGlobalX128;\n        } else {\n            self.feeGrowthGlobal0X128 = step.feeGrowthGlobalX128;\n        }\n\n        unchecked {\n            // \"if currency1 is specified\"\n            if (zeroForOne != (params.amountSpecified < 0)) {\n                swapDelta = toBalanceDelta(\n                    amountCalculated.toInt128(), (params.amountSpecified - amountSpecifiedRemaining).toInt128()\n                );\n            } else {\n                swapDelta = toBalanceDelta(\n                    (params.amountSpecified - amountSpecifiedRemaining).toInt128(), amountCalculated.toInt128()\n                );\n            }\n        }\n    }\n\n    /// @notice Donates the given amount of currency0 and currency1 to the pool\n    function donate(State storage state, uint256 amount0, uint256 amount1) internal returns (BalanceDelta delta) {\n        uint128 liquidity = state.liquidity;\n        if (liquidity == 0) NoLiquidityToReceiveFees.selector.revertWith();\n        unchecked {\n            // negation safe as amount0 and amount1 are always positive\n            delta = toBalanceDelta(-(amount0.toInt128()), -(amount1.toInt128()));\n            // FullMath.mulDiv is unnecessary because the numerator is bounded by type(int128).max * Q128, which is less than type(uint256).max\n            if (amount0 > 0) {\n                state.feeGrowthGlobal0X128 += UnsafeMath.simpleMulDiv(amount0, FixedPoint128.Q128, liquidity);\n            }\n            if (amount1 > 0) {\n                state.feeGrowthGlobal1X128 += UnsafeMath.simpleMulDiv(amount1, FixedPoint128.Q128, liquidity);\n            }\n        }\n    }\n\n    /// @notice Retrieves fee growth data\n    /// @param self The Pool state struct\n    /// @param tickLower The lower tick boundary of the position\n    /// @param tickUpper The upper tick boundary of the position\n    /// @return feeGrowthInside0X128 The all-time fee growth in token0, per unit of liquidity, inside the position's tick boundaries\n    /// @return feeGrowthInside1X128 The all-time fee growth in token1, per unit of liquidity, inside the position's tick boundaries\n    function getFeeGrowthInside(State storage self, int24 tickLower, int24 tickUpper)\n        internal\n        view\n        returns (uint256 feeGrowthInside0X128, uint256 feeGrowthInside1X128)\n    {\n        TickInfo storage lower = self.ticks[tickLower];\n        TickInfo storage upper = self.ticks[tickUpper];\n        int24 tickCurrent = self.slot0.tick();\n\n        unchecked {\n            if (tickCurrent < tickLower) {\n                feeGrowthInside0X128 = lower.feeGrowthOutside0X128 - upper.feeGrowthOutside0X128;\n                feeGrowthInside1X128 = lower.feeGrowthOutside1X128 - upper.feeGrowthOutside1X128;\n            } else if (tickCurrent >= tickUpper) {\n                feeGrowthInside0X128 = upper.feeGrowthOutside0X128 - lower.feeGrowthOutside0X128;\n                feeGrowthInside1X128 = upper.feeGrowthOutside1X128 - lower.feeGrowthOutside1X128;\n            } else {\n                feeGrowthInside0X128 =\n                    self.feeGrowthGlobal0X128 - lower.feeGrowthOutside0X128 - upper.feeGrowthOutside0X128;\n                feeGrowthInside1X128 =\n                    self.feeGrowthGlobal1X128 - lower.feeGrowthOutside1X128 - upper.feeGrowthOutside1X128;\n            }\n        }\n    }\n\n    /// @notice Updates a tick and returns true if the tick was flipped from initialized to uninitialized, or vice versa\n    /// @param self The mapping containing all tick information for initialized ticks\n    /// @param tick The tick that will be updated\n    /// @param liquidityDelta A new amount of liquidity to be added (subtracted) when tick is crossed from left to right (right to left)\n    /// @param upper true for updating a position's upper tick, or false for updating a position's lower tick\n    /// @return flipped Whether the tick was flipped from initialized to uninitialized, or vice versa\n    /// @return liquidityGrossAfter The total amount of liquidity for all positions that references the tick after the update\n    function updateTick(State storage self, int24 tick, int128 liquidityDelta, bool upper)\n        internal\n        returns (bool flipped, uint128 liquidityGrossAfter)\n    {\n        TickInfo storage info = self.ticks[tick];\n\n        uint128 liquidityGrossBefore = info.liquidityGross;\n        int128 liquidityNetBefore = info.liquidityNet;\n\n        liquidityGrossAfter = LiquidityMath.addDelta(liquidityGrossBefore, liquidityDelta);\n\n        flipped = (liquidityGrossAfter == 0) != (liquidityGrossBefore == 0);\n\n        if (liquidityGrossBefore == 0) {\n            // by convention, we assume that all growth before a tick was initialized happened _below_ the tick\n            if (tick <= self.slot0.tick()) {\n                info.feeGrowthOutside0X128 = self.feeGrowthGlobal0X128;\n                info.feeGrowthOutside1X128 = self.feeGrowthGlobal1X128;\n            }\n        }\n\n        // when the lower (upper) tick is crossed left to right, liquidity must be added (removed)\n        // when the lower (upper) tick is crossed right to left, liquidity must be removed (added)\n        int128 liquidityNet = upper ? liquidityNetBefore - liquidityDelta : liquidityNetBefore + liquidityDelta;\n        assembly (\"memory-safe\") {\n            // liquidityGrossAfter and liquidityNet are packed in the first slot of `info`\n            // So we can store them with a single sstore by packing them ourselves first\n            sstore(\n                info.slot,\n                // bitwise OR to pack liquidityGrossAfter and liquidityNet\n                or(\n                    // Put liquidityGrossAfter in the lower bits, clearing out the upper bits\n                    and(liquidityGrossAfter, 0xffffffffffffffffffffffffffffffff),\n                    // Shift liquidityNet to put it in the upper bits (no need for signextend since we're shifting left)\n                    shl(128, liquidityNet)\n                )\n            )\n        }\n    }\n\n    /// @notice Derives max liquidity per tick from given tick spacing\n    /// @dev Executed when adding liquidity\n    /// @param tickSpacing The amount of required tick separation, realized in multiples of `tickSpacing`\n    ///     e.g., a tickSpacing of 3 requires ticks to be initialized every 3rd tick i.e., ..., -6, -3, 0, 3, 6, ...\n    /// @return result The max liquidity per tick\n    function tickSpacingToMaxLiquidityPerTick(int24 tickSpacing) internal pure returns (uint128 result) {\n        // Equivalent to:\n        // int24 minTick = (TickMath.MIN_TICK / tickSpacing);\n        // if (TickMath.MIN_TICK  % tickSpacing != 0) minTick--;\n        // int24 maxTick = (TickMath.MAX_TICK / tickSpacing);\n        // uint24 numTicks = maxTick - minTick + 1;\n        // return type(uint128).max / numTicks;\n        int24 MAX_TICK = TickMath.MAX_TICK;\n        int24 MIN_TICK = TickMath.MIN_TICK;\n        // tick spacing will never be 0 since TickMath.MIN_TICK_SPACING is 1\n        assembly (\"memory-safe\") {\n            tickSpacing := signextend(2, tickSpacing)\n            let minTick := sub(sdiv(MIN_TICK, tickSpacing), slt(smod(MIN_TICK, tickSpacing), 0))\n            let maxTick := sdiv(MAX_TICK, tickSpacing)\n            let numTicks := add(sub(maxTick, minTick), 1)\n            result := div(sub(shl(128, 1), 1), numTicks)\n        }\n    }\n\n    /// @notice Reverts if the given pool has not been initialized\n    function checkPoolInitialized(State storage self) internal view {\n        if (self.slot0.sqrtPriceX96() == 0) PoolNotInitialized.selector.revertWith();\n    }\n\n    /// @notice Clears tick data\n    /// @param self The mapping containing all initialized tick information for initialized ticks\n    /// @param tick The tick that will be cleared\n    function clearTick(State storage self, int24 tick) internal {\n        delete self.ticks[tick];\n    }\n\n    /// @notice Transitions to next tick as needed by price movement\n    /// @param self The Pool state struct\n    /// @param tick The destination tick of the transition\n    /// @param feeGrowthGlobal0X128 The all-time global fee growth, per unit of liquidity, in token0\n    /// @param feeGrowthGlobal1X128 The all-time global fee growth, per unit of liquidity, in token1\n    /// @return liquidityNet The amount of liquidity added (subtracted) when tick is crossed from left to right (right to left)\n    function crossTick(State storage self, int24 tick, uint256 feeGrowthGlobal0X128, uint256 feeGrowthGlobal1X128)\n        internal\n        returns (int128 liquidityNet)\n    {\n        unchecked {\n            TickInfo storage info = self.ticks[tick];\n            info.feeGrowthOutside0X128 = feeGrowthGlobal0X128 - info.feeGrowthOutside0X128;\n            info.feeGrowthOutside1X128 = feeGrowthGlobal1X128 - info.feeGrowthOutside1X128;\n            liquidityNet = info.liquidityNet;\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/Position.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.0;\n\nimport {FullMath} from \"./FullMath.sol\";\nimport {FixedPoint128} from \"./FixedPoint128.sol\";\nimport {LiquidityMath} from \"./LiquidityMath.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Position\n/// @notice Positions represent an owner address' liquidity between a lower and upper tick boundary\n/// @dev Positions store additional state for tracking fees owed to the position\nlibrary Position {\n    using CustomRevert for bytes4;\n\n    /// @notice Cannot update a position with no liquidity\n    error CannotUpdateEmptyPosition();\n\n    // info stored for each user's position\n    struct State {\n        // the amount of liquidity owned by this position\n        uint128 liquidity;\n        // fee growth per unit of liquidity as of the last update to liquidity or fees owed\n        uint256 feeGrowthInside0LastX128;\n        uint256 feeGrowthInside1LastX128;\n    }\n\n    /// @notice Returns the State struct of a position, given an owner and position boundaries\n    /// @param self The mapping containing all user positions\n    /// @param owner The address of the position owner\n    /// @param tickLower The lower tick boundary of the position\n    /// @param tickUpper The upper tick boundary of the position\n    /// @param salt A unique value to differentiate between multiple positions in the same range\n    /// @return position The position info struct of the given owners' position\n    function get(mapping(bytes32 => State) storage self, address owner, int24 tickLower, int24 tickUpper, bytes32 salt)\n        internal\n        view\n        returns (State storage position)\n    {\n        bytes32 positionKey = calculatePositionKey(owner, tickLower, tickUpper, salt);\n        position = self[positionKey];\n    }\n\n    /// @notice A helper function to calculate the position key\n    /// @param owner The address of the position owner\n    /// @param tickLower the lower tick boundary of the position\n    /// @param tickUpper the upper tick boundary of the position\n    /// @param salt A unique value to differentiate between multiple positions in the same range, by the same owner. Passed in by the caller.\n    function calculatePositionKey(address owner, int24 tickLower, int24 tickUpper, bytes32 salt)\n        internal\n        pure\n        returns (bytes32 positionKey)\n    {\n        // positionKey = keccak256(abi.encodePacked(owner, tickLower, tickUpper, salt))\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(add(fmp, 0x26), salt) // [0x26, 0x46)\n            mstore(add(fmp, 0x06), tickUpper) // [0x23, 0x26)\n            mstore(add(fmp, 0x03), tickLower) // [0x20, 0x23)\n            mstore(fmp, owner) // [0x0c, 0x20)\n            positionKey := keccak256(add(fmp, 0x0c), 0x3a) // len is 58 bytes\n\n            // now clean the memory we used\n            mstore(add(fmp, 0x40), 0) // fmp+0x40 held salt\n            mstore(add(fmp, 0x20), 0) // fmp+0x20 held tickLower, tickUpper, salt\n            mstore(fmp, 0) // fmp held owner\n        }\n    }\n\n    /// @notice Credits accumulated fees to a user's position\n    /// @param self The individual position to update\n    /// @param liquidityDelta The change in pool liquidity as a result of the position update\n    /// @param feeGrowthInside0X128 The all-time fee growth in currency0, per unit of liquidity, inside the position's tick boundaries\n    /// @param feeGrowthInside1X128 The all-time fee growth in currency1, per unit of liquidity, inside the position's tick boundaries\n    /// @return feesOwed0 The amount of currency0 owed to the position owner\n    /// @return feesOwed1 The amount of currency1 owed to the position owner\n    function update(\n        State storage self,\n        int128 liquidityDelta,\n        uint256 feeGrowthInside0X128,\n        uint256 feeGrowthInside1X128\n    ) internal returns (uint256 feesOwed0, uint256 feesOwed1) {\n        uint128 liquidity = self.liquidity;\n\n        if (liquidityDelta == 0) {\n            // disallow pokes for 0 liquidity positions\n            if (liquidity == 0) CannotUpdateEmptyPosition.selector.revertWith();\n        } else {\n            self.liquidity = LiquidityMath.addDelta(liquidity, liquidityDelta);\n        }\n\n        // calculate accumulated fees. overflow in the subtraction of fee growth is expected\n        unchecked {\n            feesOwed0 =\n                FullMath.mulDiv(feeGrowthInside0X128 - self.feeGrowthInside0LastX128, liquidity, FixedPoint128.Q128);\n            feesOwed1 =\n                FullMath.mulDiv(feeGrowthInside1X128 - self.feeGrowthInside1LastX128, liquidity, FixedPoint128.Q128);\n        }\n\n        // update the position\n        self.feeGrowthInside0LastX128 = feeGrowthInside0X128;\n        self.feeGrowthInside1LastX128 = feeGrowthInside1X128;\n    }\n}\n"},"@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice library of functions related to protocol fees\nlibrary ProtocolFeeLibrary {\n    /// @notice Max protocol fee is 0.1% (1000 pips)\n    /// @dev Increasing these values could lead to overflow in Pool.swap\n    uint16 public constant MAX_PROTOCOL_FEE = 1000;\n\n    /// @notice Thresholds used for optimized bounds checks on protocol fees\n    uint24 internal constant FEE_0_THRESHOLD = 1001;\n    uint24 internal constant FEE_1_THRESHOLD = 1001 << 12;\n\n    /// @notice the protocol fee is represented in hundredths of a bip\n    uint256 internal constant PIPS_DENOMINATOR = 1_000_000;\n\n    function getZeroForOneFee(uint24 self) internal pure returns (uint16) {\n        return uint16(self & 0xfff);\n    }\n\n    function getOneForZeroFee(uint24 self) internal pure returns (uint16) {\n        return uint16(self >> 12);\n    }\n\n    function isValidProtocolFee(uint24 self) internal pure returns (bool valid) {\n        // Equivalent to: getZeroForOneFee(self) <= MAX_PROTOCOL_FEE && getOneForZeroFee(self) <= MAX_PROTOCOL_FEE\n        assembly (\"memory-safe\") {\n            let isZeroForOneFeeOk := lt(and(self, 0xfff), FEE_0_THRESHOLD)\n            let isOneForZeroFeeOk := lt(and(self, 0xfff000), FEE_1_THRESHOLD)\n            valid := and(isZeroForOneFeeOk, isOneForZeroFeeOk)\n        }\n    }\n\n    // The protocol fee is taken from the input amount first and then the LP fee is taken from the remaining\n    // The swap fee is capped at 100%\n    // Equivalent to protocolFee + lpFee(1_000_000 - protocolFee) / 1_000_000 (rounded up)\n    /// @dev here `self` is just a single direction's protocol fee, not a packed type of 2 protocol fees\n    function calculateSwapFee(uint16 self, uint24 lpFee) internal pure returns (uint24 swapFee) {\n        // protocolFee + lpFee - (protocolFee * lpFee / 1_000_000)\n        assembly (\"memory-safe\") {\n            self := and(self, 0xfff)\n            lpFee := and(lpFee, 0xffffff)\n            let numerator := mul(self, lpFee)\n            swapFee := sub(add(self, lpFee), div(numerator, PIPS_DENOMINATOR))\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Safe casting methods\n/// @notice Contains methods for safely casting between types\nlibrary SafeCast {\n    using CustomRevert for bytes4;\n\n    error SafeCastOverflow();\n\n    /// @notice Cast a uint256 to a uint160, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint160\n    function toUint160(uint256 x) internal pure returns (uint160 y) {\n        y = uint160(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a uint128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return y The downcasted integer, now type uint128\n    function toUint128(uint256 x) internal pure returns (uint128 y) {\n        y = uint128(x);\n        if (x != y) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a int128 to a uint128, revert on overflow or underflow\n    /// @param x The int128 to be casted\n    /// @return y The casted integer, now type uint128\n    function toUint128(int128 x) internal pure returns (uint128 y) {\n        if (x < 0) SafeCastOverflow.selector.revertWith();\n        y = uint128(x);\n    }\n\n    /// @notice Cast a int256 to a int128, revert on overflow or underflow\n    /// @param x The int256 to be downcasted\n    /// @return y The downcasted integer, now type int128\n    function toInt128(int256 x) internal pure returns (int128 y) {\n        y = int128(x);\n        if (y != x) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int256, revert on overflow\n    /// @param x The uint256 to be casted\n    /// @return y The casted integer, now type int256\n    function toInt256(uint256 x) internal pure returns (int256 y) {\n        y = int256(x);\n        if (y < 0) SafeCastOverflow.selector.revertWith();\n    }\n\n    /// @notice Cast a uint256 to a int128, revert on overflow\n    /// @param x The uint256 to be downcasted\n    /// @return The downcasted integer, now type int128\n    function toInt128(uint256 x) internal pure returns (int128) {\n        if (x >= 1 << 127) SafeCastOverflow.selector.revertWith();\n        return int128(int256(x));\n    }\n}\n"},"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"./SafeCast.sol\";\n\nimport {FullMath} from \"./FullMath.sol\";\nimport {UnsafeMath} from \"./UnsafeMath.sol\";\nimport {FixedPoint96} from \"./FixedPoint96.sol\";\n\n/// @title Functions based on Q64.96 sqrt price and liquidity\n/// @notice Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas\nlibrary SqrtPriceMath {\n    using SafeCast for uint256;\n\n    error InvalidPriceOrLiquidity();\n    error InvalidPrice();\n    error NotEnoughLiquidity();\n    error PriceOverflow();\n\n    /// @notice Gets the next sqrt price given a delta of currency0\n    /// @dev Always rounds up, because in the exact output case (increasing price) we need to move the price at least\n    /// far enough to get the desired output amount, and in the exact input case (decreasing price) we need to move the\n    /// price less in order to not send too much output.\n    /// The most precise formula for this is liquidity * sqrtPX96 / (liquidity +- amount * sqrtPX96),\n    /// if this is impossible because of overflow, we calculate liquidity / (liquidity / sqrtPX96 +- amount).\n    /// @param sqrtPX96 The starting price, i.e. before accounting for the currency0 delta\n    /// @param liquidity The amount of usable liquidity\n    /// @param amount How much of currency0 to add or remove from virtual reserves\n    /// @param add Whether to add or remove the amount of currency0\n    /// @return The price after adding or removing amount, depending on add\n    function getNextSqrtPriceFromAmount0RoundingUp(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\n        internal\n        pure\n        returns (uint160)\n    {\n        // we short circuit amount == 0 because the result is otherwise not guaranteed to equal the input price\n        if (amount == 0) return sqrtPX96;\n        uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\n\n        if (add) {\n            unchecked {\n                uint256 product = amount * sqrtPX96;\n                if (product / amount == sqrtPX96) {\n                    uint256 denominator = numerator1 + product;\n                    if (denominator >= numerator1) {\n                        // always fits in 160 bits\n                        return uint160(FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator));\n                    }\n                }\n            }\n            // denominator is checked for overflow\n            return uint160(UnsafeMath.divRoundingUp(numerator1, (numerator1 / sqrtPX96) + amount));\n        } else {\n            unchecked {\n                uint256 product = amount * sqrtPX96;\n                // if the product overflows, we know the denominator underflows\n                // in addition, we must check that the denominator does not underflow\n                // equivalent: if (product / amount != sqrtPX96 || numerator1 <= product) revert PriceOverflow();\n                assembly (\"memory-safe\") {\n                    if iszero(\n                        and(\n                            eq(div(product, amount), and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                            gt(numerator1, product)\n                        )\n                    ) {\n                        mstore(0, 0xf5c787f1) // selector for PriceOverflow()\n                        revert(0x1c, 0x04)\n                    }\n                }\n                uint256 denominator = numerator1 - product;\n                return FullMath.mulDivRoundingUp(numerator1, sqrtPX96, denominator).toUint160();\n            }\n        }\n    }\n\n    /// @notice Gets the next sqrt price given a delta of currency1\n    /// @dev Always rounds down, because in the exact output case (decreasing price) we need to move the price at least\n    /// far enough to get the desired output amount, and in the exact input case (increasing price) we need to move the\n    /// price less in order to not send too much output.\n    /// The formula we compute is within <1 wei of the lossless version: sqrtPX96 +- amount / liquidity\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the currency1 delta\n    /// @param liquidity The amount of usable liquidity\n    /// @param amount How much of currency1 to add, or remove, from virtual reserves\n    /// @param add Whether to add, or remove, the amount of currency1\n    /// @return The price after adding or removing `amount`\n    function getNextSqrtPriceFromAmount1RoundingDown(uint160 sqrtPX96, uint128 liquidity, uint256 amount, bool add)\n        internal\n        pure\n        returns (uint160)\n    {\n        // if we're adding (subtracting), rounding down requires rounding the quotient down (up)\n        // in both cases, avoid a mulDiv for most inputs\n        if (add) {\n            uint256 quotient = (\n                amount <= type(uint160).max\n                    ? (amount << FixedPoint96.RESOLUTION) / liquidity\n                    : FullMath.mulDiv(amount, FixedPoint96.Q96, liquidity)\n            );\n\n            return (uint256(sqrtPX96) + quotient).toUint160();\n        } else {\n            uint256 quotient = (\n                amount <= type(uint160).max\n                    ? UnsafeMath.divRoundingUp(amount << FixedPoint96.RESOLUTION, liquidity)\n                    : FullMath.mulDivRoundingUp(amount, FixedPoint96.Q96, liquidity)\n            );\n\n            // equivalent: if (sqrtPX96 <= quotient) revert NotEnoughLiquidity();\n            assembly (\"memory-safe\") {\n                if iszero(gt(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff), quotient)) {\n                    mstore(0, 0x4323a555) // selector for NotEnoughLiquidity()\n                    revert(0x1c, 0x04)\n                }\n            }\n            // always fits 160 bits\n            unchecked {\n                return uint160(sqrtPX96 - quotient);\n            }\n        }\n    }\n\n    /// @notice Gets the next sqrt price given an input amount of currency0 or currency1\n    /// @dev Throws if price or liquidity are 0, or if the next price is out of bounds\n    /// @param sqrtPX96 The starting price, i.e., before accounting for the input amount\n    /// @param liquidity The amount of usable liquidity\n    /// @param amountIn How much of currency0, or currency1, is being swapped in\n    /// @param zeroForOne Whether the amount in is currency0 or currency1\n    /// @return uint160 The price after adding the input amount to currency0 or currency1\n    function getNextSqrtPriceFromInput(uint160 sqrtPX96, uint128 liquidity, uint256 amountIn, bool zeroForOne)\n        internal\n        pure\n        returns (uint160)\n    {\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\n        assembly (\"memory-safe\") {\n            if or(\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\n            ) {\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\n                revert(0x1c, 0x04)\n            }\n        }\n\n        // round to make sure that we don't pass the target price\n        return zeroForOne\n            ? getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountIn, true)\n            : getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountIn, true);\n    }\n\n    /// @notice Gets the next sqrt price given an output amount of currency0 or currency1\n    /// @dev Throws if price or liquidity are 0 or the next price is out of bounds\n    /// @param sqrtPX96 The starting price before accounting for the output amount\n    /// @param liquidity The amount of usable liquidity\n    /// @param amountOut How much of currency0, or currency1, is being swapped out\n    /// @param zeroForOne Whether the amount out is currency1 or currency0\n    /// @return uint160 The price after removing the output amount of currency0 or currency1\n    function getNextSqrtPriceFromOutput(uint160 sqrtPX96, uint128 liquidity, uint256 amountOut, bool zeroForOne)\n        internal\n        pure\n        returns (uint160)\n    {\n        // equivalent: if (sqrtPX96 == 0 || liquidity == 0) revert InvalidPriceOrLiquidity();\n        assembly (\"memory-safe\") {\n            if or(\n                iszero(and(sqrtPX96, 0xffffffffffffffffffffffffffffffffffffffff)),\n                iszero(and(liquidity, 0xffffffffffffffffffffffffffffffff))\n            ) {\n                mstore(0, 0x4f2461b8) // selector for InvalidPriceOrLiquidity()\n                revert(0x1c, 0x04)\n            }\n        }\n\n        // round to make sure that we pass the target price\n        return zeroForOne\n            ? getNextSqrtPriceFromAmount1RoundingDown(sqrtPX96, liquidity, amountOut, false)\n            : getNextSqrtPriceFromAmount0RoundingUp(sqrtPX96, liquidity, amountOut, false);\n    }\n\n    /// @notice Gets the amount0 delta between two prices\n    /// @dev Calculates liquidity / sqrt(lower) - liquidity / sqrt(upper),\n    /// i.e. liquidity * (sqrt(upper) - sqrt(lower)) / (sqrt(upper) * sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The amount of usable liquidity\n    /// @param roundUp Whether to round the amount up or down\n    /// @return uint256 Amount of currency0 required to cover a position of size liquidity between the two passed prices\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\n        internal\n        pure\n        returns (uint256)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n\n            // equivalent: if (sqrtPriceAX96 == 0) revert InvalidPrice();\n            assembly (\"memory-safe\") {\n                if iszero(and(sqrtPriceAX96, 0xffffffffffffffffffffffffffffffffffffffff)) {\n                    mstore(0, 0x00bfc921) // selector for InvalidPrice()\n                    revert(0x1c, 0x04)\n                }\n            }\n\n            uint256 numerator1 = uint256(liquidity) << FixedPoint96.RESOLUTION;\n            uint256 numerator2 = sqrtPriceBX96 - sqrtPriceAX96;\n\n            return roundUp\n                ? UnsafeMath.divRoundingUp(FullMath.mulDivRoundingUp(numerator1, numerator2, sqrtPriceBX96), sqrtPriceAX96)\n                : FullMath.mulDiv(numerator1, numerator2, sqrtPriceBX96) / sqrtPriceAX96;\n        }\n    }\n\n    /// @notice Equivalent to: `a >= b ? a - b : b - a`\n    function absDiff(uint160 a, uint160 b) internal pure returns (uint256 res) {\n        assembly (\"memory-safe\") {\n            let diff :=\n                sub(and(a, 0xffffffffffffffffffffffffffffffffffffffff), and(b, 0xffffffffffffffffffffffffffffffffffffffff))\n            // mask = 0 if a >= b else -1 (all 1s)\n            let mask := sar(255, diff)\n            // if a >= b, res = a - b = 0 ^ (a - b)\n            // if a < b, res = b - a = ~~(b - a) = ~(-(b - a) - 1) = ~(a - b - 1) = (-1) ^ (a - b - 1)\n            // either way, res = mask ^ (a - b + mask)\n            res := xor(mask, add(mask, diff))\n        }\n    }\n\n    /// @notice Gets the amount1 delta between two prices\n    /// @dev Calculates liquidity * (sqrt(upper) - sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The amount of usable liquidity\n    /// @param roundUp Whether to round the amount up, or down\n    /// @return amount1 Amount of currency1 required to cover a position of size liquidity between the two passed prices\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint128 liquidity, bool roundUp)\n        internal\n        pure\n        returns (uint256 amount1)\n    {\n        uint256 numerator = absDiff(sqrtPriceAX96, sqrtPriceBX96);\n        uint256 denominator = FixedPoint96.Q96;\n        uint256 _liquidity = uint256(liquidity);\n\n        /**\n         * Equivalent to:\n         *   amount1 = roundUp\n         *       ? FullMath.mulDivRoundingUp(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96)\n         *       : FullMath.mulDiv(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96);\n         * Cannot overflow because `type(uint128).max * type(uint160).max >> 96 < (1 << 192)`.\n         */\n        amount1 = FullMath.mulDiv(_liquidity, numerator, denominator);\n        assembly (\"memory-safe\") {\n            amount1 := add(amount1, and(gt(mulmod(_liquidity, numerator, denominator), 0), roundUp))\n        }\n    }\n\n    /// @notice Helper that gets signed currency0 delta\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The change in liquidity for which to compute the amount0 delta\n    /// @return int256 Amount of currency0 corresponding to the passed liquidityDelta between the two prices\n    function getAmount0Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\n        internal\n        pure\n        returns (int256)\n    {\n        unchecked {\n            return liquidity < 0\n                ? getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\n                : -getAmount0Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\n        }\n    }\n\n    /// @notice Helper that gets signed currency1 delta\n    /// @param sqrtPriceAX96 A sqrt price\n    /// @param sqrtPriceBX96 Another sqrt price\n    /// @param liquidity The change in liquidity for which to compute the amount1 delta\n    /// @return int256 Amount of currency1 corresponding to the passed liquidityDelta between the two prices\n    function getAmount1Delta(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, int128 liquidity)\n        internal\n        pure\n        returns (int256)\n    {\n        unchecked {\n            return liquidity < 0\n                ? getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(-liquidity), false).toInt256()\n                : -getAmount1Delta(sqrtPriceAX96, sqrtPriceBX96, uint128(liquidity), true).toInt256();\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/StateLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolId} from \"../types/PoolId.sol\";\nimport {IPoolManager} from \"../interfaces/IPoolManager.sol\";\nimport {Position} from \"./Position.sol\";\n\n/// @notice A helper library to provide state getters that use extsload\nlibrary StateLibrary {\n    /// @notice index of pools mapping in the PoolManager\n    bytes32 public constant POOLS_SLOT = bytes32(uint256(6));\n\n    /// @notice index of feeGrowthGlobal0X128 in Pool.State\n    uint256 public constant FEE_GROWTH_GLOBAL0_OFFSET = 1;\n\n    // feeGrowthGlobal1X128 offset in Pool.State = 2\n\n    /// @notice index of liquidity in Pool.State\n    uint256 public constant LIQUIDITY_OFFSET = 3;\n\n    /// @notice index of TicksInfo mapping in Pool.State: mapping(int24 => TickInfo) ticks;\n    uint256 public constant TICKS_OFFSET = 4;\n\n    /// @notice index of tickBitmap mapping in Pool.State\n    uint256 public constant TICK_BITMAP_OFFSET = 5;\n\n    /// @notice index of Position.State mapping in Pool.State: mapping(bytes32 => Position.State) positions;\n    uint256 public constant POSITIONS_OFFSET = 6;\n\n    /**\n     * @notice Get Slot0 of the pool: sqrtPriceX96, tick, protocolFee, lpFee\n     * @dev Corresponds to pools[poolId].slot0\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @return sqrtPriceX96 The square root of the price of the pool, in Q96 precision.\n     * @return tick The current tick of the pool.\n     * @return protocolFee The protocol fee of the pool.\n     * @return lpFee The swap fee of the pool.\n     */\n    function getSlot0(IPoolManager manager, PoolId poolId)\n        internal\n        view\n        returns (uint160 sqrtPriceX96, int24 tick, uint24 protocolFee, uint24 lpFee)\n    {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        bytes32 data = manager.extsload(stateSlot);\n\n        //   24 bits  |24bits|24bits      |24 bits|160 bits\n        // 0x000000   |000bb8|000000      |ffff75 |0000000000000000fe3aa841ba359daa0ea9eff7\n        // ---------- | fee  |protocolfee | tick  | sqrtPriceX96\n        assembly (\"memory-safe\") {\n            // bottom 160 bits of data\n            sqrtPriceX96 := and(data, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)\n            // next 24 bits of data\n            tick := signextend(2, shr(160, data))\n            // next 24 bits of data\n            protocolFee := and(shr(184, data), 0xFFFFFF)\n            // last 24 bits of data\n            lpFee := and(shr(208, data), 0xFFFFFF)\n        }\n    }\n\n    /**\n     * @notice Retrieves the tick information of a pool at a specific tick.\n     * @dev Corresponds to pools[poolId].ticks[tick]\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tick The tick to retrieve information for.\n     * @return liquidityGross The total position liquidity that references this tick\n     * @return liquidityNet The amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left)\n     * @return feeGrowthOutside0X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n     * @return feeGrowthOutside1X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n     */\n    function getTickInfo(IPoolManager manager, PoolId poolId, int24 tick)\n        internal\n        view\n        returns (\n            uint128 liquidityGross,\n            int128 liquidityNet,\n            uint256 feeGrowthOutside0X128,\n            uint256 feeGrowthOutside1X128\n        )\n    {\n        bytes32 slot = _getTickInfoSlot(poolId, tick);\n\n        // read all 3 words of the TickInfo struct\n        bytes32[] memory data = manager.extsload(slot, 3);\n        assembly (\"memory-safe\") {\n            let firstWord := mload(add(data, 32))\n            liquidityNet := sar(128, firstWord)\n            liquidityGross := and(firstWord, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)\n            feeGrowthOutside0X128 := mload(add(data, 64))\n            feeGrowthOutside1X128 := mload(add(data, 96))\n        }\n    }\n\n    /**\n     * @notice Retrieves the liquidity information of a pool at a specific tick.\n     * @dev Corresponds to pools[poolId].ticks[tick].liquidityGross and pools[poolId].ticks[tick].liquidityNet. A more gas efficient version of getTickInfo\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tick The tick to retrieve liquidity for.\n     * @return liquidityGross The total position liquidity that references this tick\n     * @return liquidityNet The amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left)\n     */\n    function getTickLiquidity(IPoolManager manager, PoolId poolId, int24 tick)\n        internal\n        view\n        returns (uint128 liquidityGross, int128 liquidityNet)\n    {\n        bytes32 slot = _getTickInfoSlot(poolId, tick);\n\n        bytes32 value = manager.extsload(slot);\n        assembly (\"memory-safe\") {\n            liquidityNet := sar(128, value)\n            liquidityGross := and(value, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)\n        }\n    }\n\n    /**\n     * @notice Retrieves the fee growth outside a tick range of a pool\n     * @dev Corresponds to pools[poolId].ticks[tick].feeGrowthOutside0X128 and pools[poolId].ticks[tick].feeGrowthOutside1X128. A more gas efficient version of getTickInfo\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tick The tick to retrieve fee growth for.\n     * @return feeGrowthOutside0X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n     * @return feeGrowthOutside1X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n     */\n    function getTickFeeGrowthOutside(IPoolManager manager, PoolId poolId, int24 tick)\n        internal\n        view\n        returns (uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128)\n    {\n        bytes32 slot = _getTickInfoSlot(poolId, tick);\n\n        // offset by 1 word, since the first word is liquidityGross + liquidityNet\n        bytes32[] memory data = manager.extsload(bytes32(uint256(slot) + 1), 2);\n        assembly (\"memory-safe\") {\n            feeGrowthOutside0X128 := mload(add(data, 32))\n            feeGrowthOutside1X128 := mload(add(data, 64))\n        }\n    }\n\n    /**\n     * @notice Retrieves the global fee growth of a pool.\n     * @dev Corresponds to pools[poolId].feeGrowthGlobal0X128 and pools[poolId].feeGrowthGlobal1X128\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @return feeGrowthGlobal0 The global fee growth for token0.\n     * @return feeGrowthGlobal1 The global fee growth for token1.\n     */\n    function getFeeGrowthGlobals(IPoolManager manager, PoolId poolId)\n        internal\n        view\n        returns (uint256 feeGrowthGlobal0, uint256 feeGrowthGlobal1)\n    {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State, `uint256 feeGrowthGlobal0X128`\n        bytes32 slot_feeGrowthGlobal0X128 = bytes32(uint256(stateSlot) + FEE_GROWTH_GLOBAL0_OFFSET);\n\n        // read the 2 words of feeGrowthGlobal\n        bytes32[] memory data = manager.extsload(slot_feeGrowthGlobal0X128, 2);\n        assembly (\"memory-safe\") {\n            feeGrowthGlobal0 := mload(add(data, 32))\n            feeGrowthGlobal1 := mload(add(data, 64))\n        }\n    }\n\n    /**\n     * @notice Retrieves total the liquidity of a pool.\n     * @dev Corresponds to pools[poolId].liquidity\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @return liquidity The liquidity of the pool.\n     */\n    function getLiquidity(IPoolManager manager, PoolId poolId) internal view returns (uint128 liquidity) {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State: `uint128 liquidity`\n        bytes32 slot = bytes32(uint256(stateSlot) + LIQUIDITY_OFFSET);\n\n        liquidity = uint128(uint256(manager.extsload(slot)));\n    }\n\n    /**\n     * @notice Retrieves the tick bitmap of a pool at a specific tick.\n     * @dev Corresponds to pools[poolId].tickBitmap[tick]\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tick The tick to retrieve the bitmap for.\n     * @return tickBitmap The bitmap of the tick.\n     */\n    function getTickBitmap(IPoolManager manager, PoolId poolId, int16 tick)\n        internal\n        view\n        returns (uint256 tickBitmap)\n    {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State: `mapping(int16 => uint256) tickBitmap;`\n        bytes32 tickBitmapMapping = bytes32(uint256(stateSlot) + TICK_BITMAP_OFFSET);\n\n        // slot id of the mapping key: `pools[poolId].tickBitmap[tick]\n        bytes32 slot = keccak256(abi.encodePacked(int256(tick), tickBitmapMapping));\n\n        tickBitmap = uint256(manager.extsload(slot));\n    }\n\n    /**\n     * @notice Retrieves the position information of a pool without needing to calculate the `positionId`.\n     * @dev Corresponds to pools[poolId].positions[positionId]\n     * @param poolId The ID of the pool.\n     * @param owner The owner of the liquidity position.\n     * @param tickLower The lower tick of the liquidity range.\n     * @param tickUpper The upper tick of the liquidity range.\n     * @param salt The bytes32 randomness to further distinguish position state.\n     * @return liquidity The liquidity of the position.\n     * @return feeGrowthInside0LastX128 The fee growth inside the position for token0.\n     * @return feeGrowthInside1LastX128 The fee growth inside the position for token1.\n     */\n    function getPositionInfo(\n        IPoolManager manager,\n        PoolId poolId,\n        address owner,\n        int24 tickLower,\n        int24 tickUpper,\n        bytes32 salt\n    ) internal view returns (uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128) {\n        // positionKey = keccak256(abi.encodePacked(owner, tickLower, tickUpper, salt))\n        bytes32 positionKey = Position.calculatePositionKey(owner, tickLower, tickUpper, salt);\n\n        (liquidity, feeGrowthInside0LastX128, feeGrowthInside1LastX128) = getPositionInfo(manager, poolId, positionKey);\n    }\n\n    /**\n     * @notice Retrieves the position information of a pool at a specific position ID.\n     * @dev Corresponds to pools[poolId].positions[positionId]\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param positionId The ID of the position.\n     * @return liquidity The liquidity of the position.\n     * @return feeGrowthInside0LastX128 The fee growth inside the position for token0.\n     * @return feeGrowthInside1LastX128 The fee growth inside the position for token1.\n     */\n    function getPositionInfo(IPoolManager manager, PoolId poolId, bytes32 positionId)\n        internal\n        view\n        returns (uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128)\n    {\n        bytes32 slot = _getPositionInfoSlot(poolId, positionId);\n\n        // read all 3 words of the Position.State struct\n        bytes32[] memory data = manager.extsload(slot, 3);\n\n        assembly (\"memory-safe\") {\n            liquidity := mload(add(data, 32))\n            feeGrowthInside0LastX128 := mload(add(data, 64))\n            feeGrowthInside1LastX128 := mload(add(data, 96))\n        }\n    }\n\n    /**\n     * @notice Retrieves the liquidity of a position.\n     * @dev Corresponds to pools[poolId].positions[positionId].liquidity. More gas efficient for just retrieiving liquidity as compared to getPositionInfo\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param positionId The ID of the position.\n     * @return liquidity The liquidity of the position.\n     */\n    function getPositionLiquidity(IPoolManager manager, PoolId poolId, bytes32 positionId)\n        internal\n        view\n        returns (uint128 liquidity)\n    {\n        bytes32 slot = _getPositionInfoSlot(poolId, positionId);\n        liquidity = uint128(uint256(manager.extsload(slot)));\n    }\n\n    /**\n     * @notice Calculate the fee growth inside a tick range of a pool\n     * @dev pools[poolId].feeGrowthInside0LastX128 in Position.State is cached and can become stale. This function will calculate the up to date feeGrowthInside\n     * @param manager The pool manager contract.\n     * @param poolId The ID of the pool.\n     * @param tickLower The lower tick of the range.\n     * @param tickUpper The upper tick of the range.\n     * @return feeGrowthInside0X128 The fee growth inside the tick range for token0.\n     * @return feeGrowthInside1X128 The fee growth inside the tick range for token1.\n     */\n    function getFeeGrowthInside(IPoolManager manager, PoolId poolId, int24 tickLower, int24 tickUpper)\n        internal\n        view\n        returns (uint256 feeGrowthInside0X128, uint256 feeGrowthInside1X128)\n    {\n        (uint256 feeGrowthGlobal0X128, uint256 feeGrowthGlobal1X128) = getFeeGrowthGlobals(manager, poolId);\n\n        (uint256 lowerFeeGrowthOutside0X128, uint256 lowerFeeGrowthOutside1X128) =\n            getTickFeeGrowthOutside(manager, poolId, tickLower);\n        (uint256 upperFeeGrowthOutside0X128, uint256 upperFeeGrowthOutside1X128) =\n            getTickFeeGrowthOutside(manager, poolId, tickUpper);\n        (, int24 tickCurrent,,) = getSlot0(manager, poolId);\n        unchecked {\n            if (tickCurrent < tickLower) {\n                feeGrowthInside0X128 = lowerFeeGrowthOutside0X128 - upperFeeGrowthOutside0X128;\n                feeGrowthInside1X128 = lowerFeeGrowthOutside1X128 - upperFeeGrowthOutside1X128;\n            } else if (tickCurrent >= tickUpper) {\n                feeGrowthInside0X128 = upperFeeGrowthOutside0X128 - lowerFeeGrowthOutside0X128;\n                feeGrowthInside1X128 = upperFeeGrowthOutside1X128 - lowerFeeGrowthOutside1X128;\n            } else {\n                feeGrowthInside0X128 = feeGrowthGlobal0X128 - lowerFeeGrowthOutside0X128 - upperFeeGrowthOutside0X128;\n                feeGrowthInside1X128 = feeGrowthGlobal1X128 - lowerFeeGrowthOutside1X128 - upperFeeGrowthOutside1X128;\n            }\n        }\n    }\n\n    function _getPoolStateSlot(PoolId poolId) internal pure returns (bytes32) {\n        return keccak256(abi.encodePacked(PoolId.unwrap(poolId), POOLS_SLOT));\n    }\n\n    function _getTickInfoSlot(PoolId poolId, int24 tick) internal pure returns (bytes32) {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State: `mapping(int24 => TickInfo) ticks`\n        bytes32 ticksMappingSlot = bytes32(uint256(stateSlot) + TICKS_OFFSET);\n\n        // slot key of the tick key: `pools[poolId].ticks[tick]\n        return keccak256(abi.encodePacked(int256(tick), ticksMappingSlot));\n    }\n\n    function _getPositionInfoSlot(PoolId poolId, bytes32 positionId) internal pure returns (bytes32) {\n        // slot key of Pool.State value: `pools[poolId]`\n        bytes32 stateSlot = _getPoolStateSlot(poolId);\n\n        // Pool.State: `mapping(bytes32 => Position.State) positions;`\n        bytes32 positionMapping = bytes32(uint256(stateSlot) + POSITIONS_OFFSET);\n\n        // slot of the mapping key: `pools[poolId].positions[positionId]\n        return keccak256(abi.encodePacked(positionId, positionMapping));\n    }\n}\n"},"@uniswap/v4-core/src/libraries/SwapMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {FullMath} from \"./FullMath.sol\";\nimport {SqrtPriceMath} from \"./SqrtPriceMath.sol\";\n\n/// @title Computes the result of a swap within ticks\n/// @notice Contains methods for computing the result of a swap within a single tick price range, i.e., a single tick.\nlibrary SwapMath {\n    /// @notice the swap fee is represented in hundredths of a bip, so the max is 100%\n    /// @dev the swap fee is the total fee on a swap, including both LP and Protocol fee\n    uint256 internal constant MAX_SWAP_FEE = 1e6;\n\n    /// @notice Computes the sqrt price target for the next swap step\n    /// @param zeroForOne The direction of the swap, true for currency0 to currency1, false for currency1 to currency0\n    /// @param sqrtPriceNextX96 The Q64.96 sqrt price for the next initialized tick\n    /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value\n    /// after the swap. If one for zero, the price cannot be greater than this value after the swap\n    /// @return sqrtPriceTargetX96 The price target for the next swap step\n    function getSqrtPriceTarget(bool zeroForOne, uint160 sqrtPriceNextX96, uint160 sqrtPriceLimitX96)\n        internal\n        pure\n        returns (uint160 sqrtPriceTargetX96)\n    {\n        assembly (\"memory-safe\") {\n            // a flag to toggle between sqrtPriceNextX96 and sqrtPriceLimitX96\n            // when zeroForOne == true, nextOrLimit reduces to sqrtPriceNextX96 >= sqrtPriceLimitX96\n            // sqrtPriceTargetX96 = max(sqrtPriceNextX96, sqrtPriceLimitX96)\n            // when zeroForOne == false, nextOrLimit reduces to sqrtPriceNextX96 < sqrtPriceLimitX96\n            // sqrtPriceTargetX96 = min(sqrtPriceNextX96, sqrtPriceLimitX96)\n            sqrtPriceNextX96 := and(sqrtPriceNextX96, 0xffffffffffffffffffffffffffffffffffffffff)\n            sqrtPriceLimitX96 := and(sqrtPriceLimitX96, 0xffffffffffffffffffffffffffffffffffffffff)\n            let nextOrLimit := xor(lt(sqrtPriceNextX96, sqrtPriceLimitX96), and(zeroForOne, 0x1))\n            let symDiff := xor(sqrtPriceNextX96, sqrtPriceLimitX96)\n            sqrtPriceTargetX96 := xor(sqrtPriceLimitX96, mul(symDiff, nextOrLimit))\n        }\n    }\n\n    /// @notice Computes the result of swapping some amount in, or amount out, given the parameters of the swap\n    /// @dev If the swap's amountSpecified is negative, the combined fee and input amount will never exceed the absolute value of the remaining amount.\n    /// @param sqrtPriceCurrentX96 The current sqrt price of the pool\n    /// @param sqrtPriceTargetX96 The price that cannot be exceeded, from which the direction of the swap is inferred\n    /// @param liquidity The usable liquidity\n    /// @param amountRemaining How much input or output amount is remaining to be swapped in/out\n    /// @param feePips The fee taken from the input amount, expressed in hundredths of a bip\n    /// @return sqrtPriceNextX96 The price after swapping the amount in/out, not to exceed the price target\n    /// @return amountIn The amount to be swapped in, of either currency0 or currency1, based on the direction of the swap\n    /// @return amountOut The amount to be received, of either currency0 or currency1, based on the direction of the swap\n    /// @return feeAmount The amount of input that will be taken as a fee\n    /// @dev feePips must be no larger than MAX_SWAP_FEE for this function. We ensure that before setting a fee using LPFeeLibrary.isValid.\n    function computeSwapStep(\n        uint160 sqrtPriceCurrentX96,\n        uint160 sqrtPriceTargetX96,\n        uint128 liquidity,\n        int256 amountRemaining,\n        uint24 feePips\n    ) internal pure returns (uint160 sqrtPriceNextX96, uint256 amountIn, uint256 amountOut, uint256 feeAmount) {\n        unchecked {\n            uint256 _feePips = feePips; // upcast once and cache\n            bool zeroForOne = sqrtPriceCurrentX96 >= sqrtPriceTargetX96;\n            bool exactIn = amountRemaining < 0;\n\n            if (exactIn) {\n                uint256 amountRemainingLessFee =\n                    FullMath.mulDiv(uint256(-amountRemaining), MAX_SWAP_FEE - _feePips, MAX_SWAP_FEE);\n                amountIn = zeroForOne\n                    ? SqrtPriceMath.getAmount0Delta(sqrtPriceTargetX96, sqrtPriceCurrentX96, liquidity, true)\n                    : SqrtPriceMath.getAmount1Delta(sqrtPriceCurrentX96, sqrtPriceTargetX96, liquidity, true);\n                if (amountRemainingLessFee >= amountIn) {\n                    // `amountIn` is capped by the target price\n                    sqrtPriceNextX96 = sqrtPriceTargetX96;\n                    feeAmount = _feePips == MAX_SWAP_FEE\n                        ? amountIn // amountIn is always 0 here, as amountRemainingLessFee == 0 and amountRemainingLessFee >= amountIn\n                        : FullMath.mulDivRoundingUp(amountIn, _feePips, MAX_SWAP_FEE - _feePips);\n                } else {\n                    // exhaust the remaining amount\n                    amountIn = amountRemainingLessFee;\n                    sqrtPriceNextX96 = SqrtPriceMath.getNextSqrtPriceFromInput(\n                        sqrtPriceCurrentX96, liquidity, amountRemainingLessFee, zeroForOne\n                    );\n                    // we didn't reach the target, so take the remainder of the maximum input as fee\n                    feeAmount = uint256(-amountRemaining) - amountIn;\n                }\n                amountOut = zeroForOne\n                    ? SqrtPriceMath.getAmount1Delta(sqrtPriceNextX96, sqrtPriceCurrentX96, liquidity, false)\n                    : SqrtPriceMath.getAmount0Delta(sqrtPriceCurrentX96, sqrtPriceNextX96, liquidity, false);\n            } else {\n                amountOut = zeroForOne\n                    ? SqrtPriceMath.getAmount1Delta(sqrtPriceTargetX96, sqrtPriceCurrentX96, liquidity, false)\n                    : SqrtPriceMath.getAmount0Delta(sqrtPriceCurrentX96, sqrtPriceTargetX96, liquidity, false);\n                if (uint256(amountRemaining) >= amountOut) {\n                    // `amountOut` is capped by the target price\n                    sqrtPriceNextX96 = sqrtPriceTargetX96;\n                } else {\n                    // cap the output amount to not exceed the remaining output amount\n                    amountOut = uint256(amountRemaining);\n                    sqrtPriceNextX96 =\n                        SqrtPriceMath.getNextSqrtPriceFromOutput(sqrtPriceCurrentX96, liquidity, amountOut, zeroForOne);\n                }\n                amountIn = zeroForOne\n                    ? SqrtPriceMath.getAmount0Delta(sqrtPriceNextX96, sqrtPriceCurrentX96, liquidity, true)\n                    : SqrtPriceMath.getAmount1Delta(sqrtPriceCurrentX96, sqrtPriceNextX96, liquidity, true);\n                // `feePips` cannot be `MAX_SWAP_FEE` for exact out\n                feeAmount = FullMath.mulDivRoundingUp(amountIn, _feePips, MAX_SWAP_FEE - _feePips);\n            }\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/TickBitmap.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {BitMath} from \"./BitMath.sol\";\n\n/// @title Packed tick initialized state library\n/// @notice Stores a packed mapping of tick index to its initialized state\n/// @dev The mapping uses int16 for keys since ticks are represented as int24 and there are 256 (2^8) values per word.\nlibrary TickBitmap {\n    /// @notice Thrown when the tick is not enumerated by the tick spacing\n    /// @param tick the invalid tick\n    /// @param tickSpacing The tick spacing of the pool\n    error TickMisaligned(int24 tick, int24 tickSpacing);\n\n    /// @dev round towards negative infinity\n    function compress(int24 tick, int24 tickSpacing) internal pure returns (int24 compressed) {\n        // compressed = tick / tickSpacing;\n        // if (tick < 0 && tick % tickSpacing != 0) compressed--;\n        assembly (\"memory-safe\") {\n            tick := signextend(2, tick)\n            tickSpacing := signextend(2, tickSpacing)\n            compressed :=\n                sub(\n                    sdiv(tick, tickSpacing),\n                    // if (tick < 0 && tick % tickSpacing != 0) then tick % tickSpacing < 0, vice versa\n                    slt(smod(tick, tickSpacing), 0)\n                )\n        }\n    }\n\n    /// @notice Computes the position in the mapping where the initialized bit for a tick lives\n    /// @param tick The tick for which to compute the position\n    /// @return wordPos The key in the mapping containing the word in which the bit is stored\n    /// @return bitPos The bit position in the word where the flag is stored\n    function position(int24 tick) internal pure returns (int16 wordPos, uint8 bitPos) {\n        assembly (\"memory-safe\") {\n            // signed arithmetic shift right\n            wordPos := sar(8, signextend(2, tick))\n            bitPos := and(tick, 0xff)\n        }\n    }\n\n    /// @notice Flips the initialized state for a given tick from false to true, or vice versa\n    /// @param self The mapping in which to flip the tick\n    /// @param tick The tick to flip\n    /// @param tickSpacing The spacing between usable ticks\n    function flipTick(mapping(int16 => uint256) storage self, int24 tick, int24 tickSpacing) internal {\n        // Equivalent to the following Solidity:\n        //     if (tick % tickSpacing != 0) revert TickMisaligned(tick, tickSpacing);\n        //     (int16 wordPos, uint8 bitPos) = position(tick / tickSpacing);\n        //     uint256 mask = 1 << bitPos;\n        //     self[wordPos] ^= mask;\n        assembly (\"memory-safe\") {\n            tick := signextend(2, tick)\n            tickSpacing := signextend(2, tickSpacing)\n            // ensure that the tick is spaced\n            if smod(tick, tickSpacing) {\n                let fmp := mload(0x40)\n                mstore(fmp, 0xd4d8f3e6) // selector for TickMisaligned(int24,int24)\n                mstore(add(fmp, 0x20), tick)\n                mstore(add(fmp, 0x40), tickSpacing)\n                revert(add(fmp, 0x1c), 0x44)\n            }\n            tick := sdiv(tick, tickSpacing)\n            // calculate the storage slot corresponding to the tick\n            // wordPos = tick >> 8\n            mstore(0, sar(8, tick))\n            mstore(0x20, self.slot)\n            // the slot of self[wordPos] is keccak256(abi.encode(wordPos, self.slot))\n            let slot := keccak256(0, 0x40)\n            // mask = 1 << bitPos = 1 << (tick % 256)\n            // self[wordPos] ^= mask\n            sstore(slot, xor(sload(slot), shl(and(tick, 0xff), 1)))\n        }\n    }\n\n    /// @notice Returns the next initialized tick contained in the same word (or adjacent word) as the tick that is either\n    /// to the left (less than or equal to) or right (greater than) of the given tick\n    /// @param self The mapping in which to compute the next initialized tick\n    /// @param tick The starting tick\n    /// @param tickSpacing The spacing between usable ticks\n    /// @param lte Whether to search for the next initialized tick to the left (less than or equal to the starting tick)\n    /// @return next The next initialized or uninitialized tick up to 256 ticks away from the current tick\n    /// @return initialized Whether the next tick is initialized, as the function only searches within up to 256 ticks\n    function nextInitializedTickWithinOneWord(\n        mapping(int16 => uint256) storage self,\n        int24 tick,\n        int24 tickSpacing,\n        bool lte\n    ) internal view returns (int24 next, bool initialized) {\n        unchecked {\n            int24 compressed = compress(tick, tickSpacing);\n\n            if (lte) {\n                (int16 wordPos, uint8 bitPos) = position(compressed);\n                // all the 1s at or to the right of the current bitPos\n                uint256 mask = type(uint256).max >> (uint256(type(uint8).max) - bitPos);\n                uint256 masked = self[wordPos] & mask;\n\n                // if there are no initialized ticks to the right of or at the current tick, return rightmost in the word\n                initialized = masked != 0;\n                // overflow/underflow is possible, but prevented externally by limiting both tickSpacing and tick\n                next = initialized\n                    ? (compressed - int24(uint24(bitPos - BitMath.mostSignificantBit(masked)))) * tickSpacing\n                    : (compressed - int24(uint24(bitPos))) * tickSpacing;\n            } else {\n                // start from the word of the next tick, since the current tick state doesn't matter\n                (int16 wordPos, uint8 bitPos) = position(++compressed);\n                // all the 1s at or to the left of the bitPos\n                uint256 mask = ~((1 << bitPos) - 1);\n                uint256 masked = self[wordPos] & mask;\n\n                // if there are no initialized ticks to the left of the current tick, return leftmost in the word\n                initialized = masked != 0;\n                // overflow/underflow is possible, but prevented externally by limiting both tickSpacing and tick\n                next = initialized\n                    ? (compressed + int24(uint24(BitMath.leastSignificantBit(masked) - bitPos))) * tickSpacing\n                    : (compressed + int24(uint24(type(uint8).max - bitPos))) * tickSpacing;\n            }\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/TickMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {BitMath} from \"./BitMath.sol\";\nimport {CustomRevert} from \"./CustomRevert.sol\";\n\n/// @title Math library for computing sqrt prices from ticks and vice versa\n/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports\n/// prices between 2**-128 and 2**128\nlibrary TickMath {\n    using CustomRevert for bytes4;\n\n    /// @notice Thrown when the tick passed to #getSqrtPriceAtTick is not between MIN_TICK and MAX_TICK\n    error InvalidTick(int24 tick);\n    /// @notice Thrown when the price passed to #getTickAtSqrtPrice does not correspond to a price between MIN_TICK and MAX_TICK\n    error InvalidSqrtPrice(uint160 sqrtPriceX96);\n\n    /// @dev The minimum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**-128\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\n    int24 internal constant MIN_TICK = -887272;\n    /// @dev The maximum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**128\n    /// @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\n    int24 internal constant MAX_TICK = 887272;\n\n    /// @dev The minimum tick spacing value drawn from the range of type int16 that is greater than 0, i.e. min from the range [1, 32767]\n    int24 internal constant MIN_TICK_SPACING = 1;\n    /// @dev The maximum tick spacing value drawn from the range of type int16, i.e. max from the range [1, 32767]\n    int24 internal constant MAX_TICK_SPACING = type(int16).max;\n\n    /// @dev The minimum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MIN_TICK)\n    uint160 internal constant MIN_SQRT_PRICE = 4295128739;\n    /// @dev The maximum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MAX_TICK)\n    uint160 internal constant MAX_SQRT_PRICE = 1461446703485210103287273052203988822378723970342;\n    /// @dev A threshold used for optimized bounds check, equals `MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1`\n    uint160 internal constant MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE =\n        1461446703485210103287273052203988822378723970342 - 4295128739 - 1;\n\n    /// @notice Given a tickSpacing, compute the maximum usable tick\n    function maxUsableTick(int24 tickSpacing) internal pure returns (int24) {\n        unchecked {\n            return (MAX_TICK / tickSpacing) * tickSpacing;\n        }\n    }\n\n    /// @notice Given a tickSpacing, compute the minimum usable tick\n    function minUsableTick(int24 tickSpacing) internal pure returns (int24) {\n        unchecked {\n            return (MIN_TICK / tickSpacing) * tickSpacing;\n        }\n    }\n\n    /// @notice Calculates sqrt(1.0001^tick) * 2^96\n    /// @dev Throws if |tick| > max tick\n    /// @param tick The input tick for the above formula\n    /// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the price of the two assets (currency1/currency0)\n    /// at the given tick\n    function getSqrtPriceAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96) {\n        unchecked {\n            uint256 absTick;\n            assembly (\"memory-safe\") {\n                tick := signextend(2, tick)\n                // mask = 0 if tick >= 0 else -1 (all 1s)\n                let mask := sar(255, tick)\n                // if tick >= 0, |tick| = tick = 0 ^ tick\n                // if tick < 0, |tick| = ~~|tick| = ~(-|tick| - 1) = ~(tick - 1) = (-1) ^ (tick - 1)\n                // either way, |tick| = mask ^ (tick + mask)\n                absTick := xor(mask, add(mask, tick))\n            }\n\n            if (absTick > uint256(int256(MAX_TICK))) InvalidTick.selector.revertWith(tick);\n\n            // The tick is decomposed into bits, and for each bit with index i that is set, the product of 1/sqrt(1.0001^(2^i))\n            // is calculated (using Q128.128). The constants used for this calculation are rounded to the nearest integer\n\n            // Equivalent to:\n            //     price = absTick & 0x1 != 0 ? 0xfffcb933bd6fad37aa2d162d1a594001 : 0x100000000000000000000000000000000;\n            //     or price = int(2**128 / sqrt(1.0001)) if (absTick & 0x1) else 1 << 128\n            uint256 price;\n            assembly (\"memory-safe\") {\n                price := xor(shl(128, 1), mul(xor(shl(128, 1), 0xfffcb933bd6fad37aa2d162d1a594001), and(absTick, 0x1)))\n            }\n            if (absTick & 0x2 != 0) price = (price * 0xfff97272373d413259a46990580e213a) >> 128;\n            if (absTick & 0x4 != 0) price = (price * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128;\n            if (absTick & 0x8 != 0) price = (price * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128;\n            if (absTick & 0x10 != 0) price = (price * 0xffcb9843d60f6159c9db58835c926644) >> 128;\n            if (absTick & 0x20 != 0) price = (price * 0xff973b41fa98c081472e6896dfb254c0) >> 128;\n            if (absTick & 0x40 != 0) price = (price * 0xff2ea16466c96a3843ec78b326b52861) >> 128;\n            if (absTick & 0x80 != 0) price = (price * 0xfe5dee046a99a2a811c461f1969c3053) >> 128;\n            if (absTick & 0x100 != 0) price = (price * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128;\n            if (absTick & 0x200 != 0) price = (price * 0xf987a7253ac413176f2b074cf7815e54) >> 128;\n            if (absTick & 0x400 != 0) price = (price * 0xf3392b0822b70005940c7a398e4b70f3) >> 128;\n            if (absTick & 0x800 != 0) price = (price * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128;\n            if (absTick & 0x1000 != 0) price = (price * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128;\n            if (absTick & 0x2000 != 0) price = (price * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128;\n            if (absTick & 0x4000 != 0) price = (price * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128;\n            if (absTick & 0x8000 != 0) price = (price * 0x31be135f97d08fd981231505542fcfa6) >> 128;\n            if (absTick & 0x10000 != 0) price = (price * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128;\n            if (absTick & 0x20000 != 0) price = (price * 0x5d6af8dedb81196699c329225ee604) >> 128;\n            if (absTick & 0x40000 != 0) price = (price * 0x2216e584f5fa1ea926041bedfe98) >> 128;\n            if (absTick & 0x80000 != 0) price = (price * 0x48a170391f7dc42444e8fa2) >> 128;\n\n            assembly (\"memory-safe\") {\n                // if (tick > 0) price = type(uint256).max / price;\n                if sgt(tick, 0) { price := div(not(0), price) }\n\n                // this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96.\n                // we then downcast because we know the result always fits within 160 bits due to our tick input constraint\n                // we round up in the division so getTickAtSqrtPrice of the output price is always consistent\n                // `sub(shl(32, 1), 1)` is `type(uint32).max`\n                // `price + type(uint32).max` will not overflow because `price` fits in 192 bits\n                sqrtPriceX96 := shr(32, add(price, sub(shl(32, 1), 1)))\n            }\n        }\n    }\n\n    /// @notice Calculates the greatest tick value such that getSqrtPriceAtTick(tick) <= sqrtPriceX96\n    /// @dev Throws in case sqrtPriceX96 < MIN_SQRT_PRICE, as MIN_SQRT_PRICE is the lowest value getSqrtPriceAtTick may\n    /// ever return.\n    /// @param sqrtPriceX96 The sqrt price for which to compute the tick as a Q64.96\n    /// @return tick The greatest tick for which the getSqrtPriceAtTick(tick) is less than or equal to the input sqrtPriceX96\n    function getTickAtSqrtPrice(uint160 sqrtPriceX96) internal pure returns (int24 tick) {\n        unchecked {\n            // Equivalent: if (sqrtPriceX96 < MIN_SQRT_PRICE || sqrtPriceX96 >= MAX_SQRT_PRICE) revert InvalidSqrtPrice();\n            // second inequality must be >= because the price can never reach the price at the max tick\n            // if sqrtPriceX96 < MIN_SQRT_PRICE, the `sub` underflows and `gt` is true\n            // if sqrtPriceX96 >= MAX_SQRT_PRICE, sqrtPriceX96 - MIN_SQRT_PRICE > MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1\n            if ((sqrtPriceX96 - MIN_SQRT_PRICE) > MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE) {\n                InvalidSqrtPrice.selector.revertWith(sqrtPriceX96);\n            }\n\n            uint256 price = uint256(sqrtPriceX96) << 32;\n\n            uint256 r = price;\n            uint256 msb = BitMath.mostSignificantBit(r);\n\n            if (msb >= 128) r = price >> (msb - 127);\n            else r = price << (127 - msb);\n\n            int256 log_2 = (int256(msb) - 128) << 64;\n\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(63, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(62, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(61, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(60, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(59, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(58, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(57, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(56, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(55, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(54, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(53, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(52, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(51, f))\n                r := shr(f, r)\n            }\n            assembly (\"memory-safe\") {\n                r := shr(127, mul(r, r))\n                let f := shr(128, r)\n                log_2 := or(log_2, shl(50, f))\n            }\n\n            int256 log_sqrt10001 = log_2 * 255738958999603826347141; // Q22.128 number\n\n            // Magic number represents the ceiling of the maximum value of the error when approximating log_sqrt10001(x)\n            int24 tickLow = int24((log_sqrt10001 - 3402992956809132418596140100660247210) >> 128);\n\n            // Magic number represents the minimum value of the error when approximating log_sqrt10001(x), when\n            // sqrtPrice is from the range (2^-64, 2^64). This is safe as MIN_SQRT_PRICE is more than 2^-64. If MIN_SQRT_PRICE\n            // is changed, this may need to be changed too\n            int24 tickHi = int24((log_sqrt10001 + 291339464771989622907027621153398088495) >> 128);\n\n            tick = tickLow == tickHi ? tickLow : getSqrtPriceAtTick(tickHi) <= sqrtPriceX96 ? tickHi : tickLow;\n        }\n    }\n}\n"},"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {IPoolManager} from \"../interfaces/IPoolManager.sol\";\nimport {Currency} from \"../types/Currency.sol\";\nimport {CurrencyReserves} from \"./CurrencyReserves.sol\";\nimport {NonzeroDeltaCount} from \"./NonzeroDeltaCount.sol\";\nimport {Lock} from \"./Lock.sol\";\n\n/// @notice A helper library to provide state getters that use exttload\nlibrary TransientStateLibrary {\n    /// @notice returns the reserves for the synced currency\n    /// @param manager The pool manager contract.\n\n    /// @return uint256 The reserves of the currency.\n    /// @dev returns 0 if the reserves are not synced or value is 0.\n    /// Checks the synced currency to only return valid reserve values (after a sync and before a settle).\n    function getSyncedReserves(IPoolManager manager) internal view returns (uint256) {\n        if (getSyncedCurrency(manager).isAddressZero()) return 0;\n        return uint256(manager.exttload(CurrencyReserves.RESERVES_OF_SLOT));\n    }\n\n    function getSyncedCurrency(IPoolManager manager) internal view returns (Currency) {\n        return Currency.wrap(address(uint160(uint256(manager.exttload(CurrencyReserves.CURRENCY_SLOT)))));\n    }\n\n    /// @notice Returns the number of nonzero deltas open on the PoolManager that must be zeroed out before the contract is locked\n    function getNonzeroDeltaCount(IPoolManager manager) internal view returns (uint256) {\n        return uint256(manager.exttload(NonzeroDeltaCount.NONZERO_DELTA_COUNT_SLOT));\n    }\n\n    /// @notice Get the current delta for a caller in the given currency\n    /// @param target The credited account address\n    /// @param currency The currency for which to lookup the delta\n    function currencyDelta(IPoolManager manager, address target, Currency currency) internal view returns (int256) {\n        bytes32 key;\n        assembly (\"memory-safe\") {\n            mstore(0, and(target, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(32, and(currency, 0xffffffffffffffffffffffffffffffffffffffff))\n            key := keccak256(0, 64)\n        }\n        return int256(uint256(manager.exttload(key)));\n    }\n\n    /// @notice Returns whether the contract is unlocked or not\n    function isUnlocked(IPoolManager manager) internal view returns (bool) {\n        return manager.exttload(Lock.IS_UNLOCKED_SLOT) != 0x0;\n    }\n}\n"},"@uniswap/v4-core/src/libraries/UnsafeMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Math functions that do not check inputs or outputs\n/// @notice Contains methods that perform common math functions but do not do any overflow or underflow checks\nlibrary UnsafeMath {\n    /// @notice Returns ceil(x / y)\n    /// @dev division by 0 will return 0, and should be checked externally\n    /// @param x The dividend\n    /// @param y The divisor\n    /// @return z The quotient, ceil(x / y)\n    function divRoundingUp(uint256 x, uint256 y) internal pure returns (uint256 z) {\n        assembly (\"memory-safe\") {\n            z := add(div(x, y), gt(mod(x, y), 0))\n        }\n    }\n\n    /// @notice Calculates floor(a×b÷denominator)\n    /// @dev division by 0 will return 0, and should be checked externally\n    /// @param a The multiplicand\n    /// @param b The multiplier\n    /// @param denominator The divisor\n    /// @return result The 256-bit result, floor(a×b÷denominator)\n    function simpleMulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n        assembly (\"memory-safe\") {\n            result := div(mul(a, b), denominator)\n        }\n    }\n}\n"},"@uniswap/v4-core/src/NoDelegateCall.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {CustomRevert} from \"./libraries/CustomRevert.sol\";\n\n/// @title Prevents delegatecall to a contract\n/// @notice Base contract that provides a modifier for preventing delegatecall to methods in a child contract\nabstract contract NoDelegateCall {\n    using CustomRevert for bytes4;\n\n    error DelegateCallNotAllowed();\n\n    /// @dev The original address of this contract\n    address private immutable original;\n\n    constructor() {\n        // Immutables are computed in the init code of the contract, and then inlined into the deployed bytecode.\n        // In other words, this variable won't change when it's checked at runtime.\n        original = address(this);\n    }\n\n    /// @dev Private method is used instead of inlining into modifier because modifiers are copied into each method,\n    ///     and the use of immutable means the address bytes are copied in every place the modifier is used.\n    function checkNotDelegateCall() private view {\n        if (address(this) != original) DelegateCallNotAllowed.selector.revertWith();\n    }\n\n    /// @notice Prevents delegatecall into the modified method\n    modifier noDelegateCall() {\n        checkNotDelegateCall();\n        _;\n    }\n}\n"},"@uniswap/v4-core/src/PoolManager.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity 0.8.26;\n\nimport {Hooks} from \"./libraries/Hooks.sol\";\nimport {Pool} from \"./libraries/Pool.sol\";\nimport {SafeCast} from \"./libraries/SafeCast.sol\";\nimport {Position} from \"./libraries/Position.sol\";\nimport {LPFeeLibrary} from \"./libraries/LPFeeLibrary.sol\";\nimport {Currency, CurrencyLibrary} from \"./types/Currency.sol\";\nimport {PoolKey} from \"./types/PoolKey.sol\";\nimport {TickMath} from \"./libraries/TickMath.sol\";\nimport {NoDelegateCall} from \"./NoDelegateCall.sol\";\nimport {IHooks} from \"./interfaces/IHooks.sol\";\nimport {IPoolManager} from \"./interfaces/IPoolManager.sol\";\nimport {IUnlockCallback} from \"./interfaces/callback/IUnlockCallback.sol\";\nimport {ProtocolFees} from \"./ProtocolFees.sol\";\nimport {ERC6909Claims} from \"./ERC6909Claims.sol\";\nimport {PoolId} from \"./types/PoolId.sol\";\nimport {BalanceDelta, BalanceDeltaLibrary} from \"./types/BalanceDelta.sol\";\nimport {BeforeSwapDelta} from \"./types/BeforeSwapDelta.sol\";\nimport {Lock} from \"./libraries/Lock.sol\";\nimport {CurrencyDelta} from \"./libraries/CurrencyDelta.sol\";\nimport {NonzeroDeltaCount} from \"./libraries/NonzeroDeltaCount.sol\";\nimport {CurrencyReserves} from \"./libraries/CurrencyReserves.sol\";\nimport {Extsload} from \"./Extsload.sol\";\nimport {Exttload} from \"./Exttload.sol\";\nimport {CustomRevert} from \"./libraries/CustomRevert.sol\";\n\n//  4\n//   44\n//     444\n//       444                   4444\n//        4444            4444     4444\n//          4444          4444444    4444                           4\n//            4444        44444444     4444                         4\n//             44444       4444444       4444444444444444       444444\n//           4   44444     44444444       444444444444444444444    4444\n//            4    44444    4444444         4444444444444444444444  44444\n//             4     444444  4444444         44444444444444444444444 44  4\n//              44     44444   444444          444444444444444444444 4     4\n//               44      44444   44444           4444444444444444444 4 44\n//                44       4444     44             444444444444444     444\n//                444     4444                        4444444\n//               4444444444444                     44                      4\n//              44444444444                        444444     444444444    44\n//             444444           4444               4444     4444444444      44\n//             4444           44    44              4      44444444444\n//            44444          444444444                   444444444444    4444\n//            44444          44444444                  4444  44444444    444444\n//            44444                                  4444   444444444    44444444\n//           44444                                 4444     44444444    4444444444\n//          44444                                4444      444444444   444444444444\n//         44444                               4444        44444444    444444444444\n//       4444444                             4444          44444444         4444444\n//      4444444                            44444          44444444          4444444\n//     44444444                           44444444444444444444444444444        4444\n//   4444444444                           44444444444444444444444444444         444\n//  444444444444                         444444444444444444444444444444   444   444\n//  44444444444444                                      444444444         44444\n// 44444  44444444444         444                       44444444         444444\n// 44444  4444444444      4444444444      444444        44444444    444444444444\n//  444444444444444      4444  444444    4444444       44444444     444444444444\n//  444444444444444     444    444444     444444       44444444      44444444444\n//   4444444444444     4444   444444        4444                      4444444444\n//    444444444444      4     44444         4444                       444444444\n//     44444444444           444444         444                        44444444\n//      44444444            444444         4444                         4444444\n//                          44444          444                          44444\n//                          44444         444      4                    4444\n//                          44444        444      44                   444\n//                          44444       444      4444\n//                           444444  44444        444\n//                             444444444           444\n//                                                  44444   444\n//                                                      444\n\n/// @title PoolManager\n/// @notice Holds the state for all pools\ncontract PoolManager is IPoolManager, ProtocolFees, NoDelegateCall, ERC6909Claims, Extsload, Exttload {\n    using SafeCast for *;\n    using Pool for *;\n    using Hooks for IHooks;\n    using Position for mapping(bytes32 => Position.State);\n    using CurrencyDelta for Currency;\n    using LPFeeLibrary for uint24;\n    using CurrencyReserves for Currency;\n    using CustomRevert for bytes4;\n\n    int24 private constant MAX_TICK_SPACING = TickMath.MAX_TICK_SPACING;\n\n    int24 private constant MIN_TICK_SPACING = TickMath.MIN_TICK_SPACING;\n\n    mapping(PoolId id => Pool.State) internal _pools;\n\n    /// @notice This will revert if the contract is locked\n    modifier onlyWhenUnlocked() {\n        if (!Lock.isUnlocked()) ManagerLocked.selector.revertWith();\n        _;\n    }\n\n    constructor(address initialOwner) ProtocolFees(initialOwner) {}\n\n    /// @inheritdoc IPoolManager\n    function unlock(bytes calldata data) external override returns (bytes memory result) {\n        if (Lock.isUnlocked()) AlreadyUnlocked.selector.revertWith();\n\n        Lock.unlock();\n\n        // the caller does everything in this callback, including paying what they owe via calls to settle\n        result = IUnlockCallback(msg.sender).unlockCallback(data);\n\n        if (NonzeroDeltaCount.read() != 0) CurrencyNotSettled.selector.revertWith();\n        Lock.lock();\n    }\n\n    /// @inheritdoc IPoolManager\n    function initialize(PoolKey memory key, uint160 sqrtPriceX96) external noDelegateCall returns (int24 tick) {\n        // see TickBitmap.sol for overflow conditions that can arise from tick spacing being too large\n        if (key.tickSpacing > MAX_TICK_SPACING) TickSpacingTooLarge.selector.revertWith(key.tickSpacing);\n        if (key.tickSpacing < MIN_TICK_SPACING) TickSpacingTooSmall.selector.revertWith(key.tickSpacing);\n        if (key.currency0 >= key.currency1) {\n            CurrenciesOutOfOrderOrEqual.selector.revertWith(\n                Currency.unwrap(key.currency0), Currency.unwrap(key.currency1)\n            );\n        }\n        if (!key.hooks.isValidHookAddress(key.fee)) Hooks.HookAddressNotValid.selector.revertWith(address(key.hooks));\n\n        uint24 lpFee = key.fee.getInitialLPFee();\n\n        key.hooks.beforeInitialize(key, sqrtPriceX96);\n\n        PoolId id = key.toId();\n\n        tick = _pools[id].initialize(sqrtPriceX96, lpFee);\n\n        // event is emitted before the afterInitialize call to ensure events are always emitted in order\n        // emit all details of a pool key. poolkeys are not saved in storage and must always be provided by the caller\n        // the key's fee may be a static fee or a sentinel to denote a dynamic fee.\n        emit Initialize(id, key.currency0, key.currency1, key.fee, key.tickSpacing, key.hooks, sqrtPriceX96, tick);\n\n        key.hooks.afterInitialize(key, sqrtPriceX96, tick);\n    }\n\n    /// @inheritdoc IPoolManager\n    function modifyLiquidity(\n        PoolKey memory key,\n        IPoolManager.ModifyLiquidityParams memory params,\n        bytes calldata hookData\n    ) external onlyWhenUnlocked noDelegateCall returns (BalanceDelta callerDelta, BalanceDelta feesAccrued) {\n        PoolId id = key.toId();\n        {\n            Pool.State storage pool = _getPool(id);\n            pool.checkPoolInitialized();\n\n            key.hooks.beforeModifyLiquidity(key, params, hookData);\n\n            BalanceDelta principalDelta;\n            (principalDelta, feesAccrued) = pool.modifyLiquidity(\n                Pool.ModifyLiquidityParams({\n                    owner: msg.sender,\n                    tickLower: params.tickLower,\n                    tickUpper: params.tickUpper,\n                    liquidityDelta: params.liquidityDelta.toInt128(),\n                    tickSpacing: key.tickSpacing,\n                    salt: params.salt\n                })\n            );\n\n            // fee delta and principal delta are both accrued to the caller\n            callerDelta = principalDelta + feesAccrued;\n        }\n\n        // event is emitted before the afterModifyLiquidity call to ensure events are always emitted in order\n        emit ModifyLiquidity(id, msg.sender, params.tickLower, params.tickUpper, params.liquidityDelta, params.salt);\n\n        BalanceDelta hookDelta;\n        (callerDelta, hookDelta) = key.hooks.afterModifyLiquidity(key, params, callerDelta, feesAccrued, hookData);\n\n        // if the hook doesn't have the flag to be able to return deltas, hookDelta will always be 0\n        if (hookDelta != BalanceDeltaLibrary.ZERO_DELTA) _accountPoolBalanceDelta(key, hookDelta, address(key.hooks));\n\n        _accountPoolBalanceDelta(key, callerDelta, msg.sender);\n    }\n\n    /// @inheritdoc IPoolManager\n    function swap(PoolKey memory key, IPoolManager.SwapParams memory params, bytes calldata hookData)\n        external\n        onlyWhenUnlocked\n        noDelegateCall\n        returns (BalanceDelta swapDelta)\n    {\n        if (params.amountSpecified == 0) SwapAmountCannotBeZero.selector.revertWith();\n        PoolId id = key.toId();\n        Pool.State storage pool = _getPool(id);\n        pool.checkPoolInitialized();\n\n        BeforeSwapDelta beforeSwapDelta;\n        {\n            int256 amountToSwap;\n            uint24 lpFeeOverride;\n            (amountToSwap, beforeSwapDelta, lpFeeOverride) = key.hooks.beforeSwap(key, params, hookData);\n\n            // execute swap, account protocol fees, and emit swap event\n            // _swap is needed to avoid stack too deep error\n            swapDelta = _swap(\n                pool,\n                id,\n                Pool.SwapParams({\n                    tickSpacing: key.tickSpacing,\n                    zeroForOne: params.zeroForOne,\n                    amountSpecified: amountToSwap,\n                    sqrtPriceLimitX96: params.sqrtPriceLimitX96,\n                    lpFeeOverride: lpFeeOverride\n                }),\n                params.zeroForOne ? key.currency0 : key.currency1 // input token\n            );\n        }\n\n        BalanceDelta hookDelta;\n        (swapDelta, hookDelta) = key.hooks.afterSwap(key, params, swapDelta, hookData, beforeSwapDelta);\n\n        // if the hook doesn't have the flag to be able to return deltas, hookDelta will always be 0\n        if (hookDelta != BalanceDeltaLibrary.ZERO_DELTA) _accountPoolBalanceDelta(key, hookDelta, address(key.hooks));\n\n        _accountPoolBalanceDelta(key, swapDelta, msg.sender);\n    }\n\n    /// @notice Internal swap function to execute a swap, take protocol fees on input token, and emit the swap event\n    function _swap(Pool.State storage pool, PoolId id, Pool.SwapParams memory params, Currency inputCurrency)\n        internal\n        returns (BalanceDelta)\n    {\n        (BalanceDelta delta, uint256 amountToProtocol, uint24 swapFee, Pool.SwapResult memory result) =\n            pool.swap(params);\n\n        // the fee is on the input currency\n        if (amountToProtocol > 0) _updateProtocolFees(inputCurrency, amountToProtocol);\n\n        // event is emitted before the afterSwap call to ensure events are always emitted in order\n        emit Swap(\n            id,\n            msg.sender,\n            delta.amount0(),\n            delta.amount1(),\n            result.sqrtPriceX96,\n            result.liquidity,\n            result.tick,\n            swapFee\n        );\n\n        return delta;\n    }\n\n    /// @inheritdoc IPoolManager\n    function donate(PoolKey memory key, uint256 amount0, uint256 amount1, bytes calldata hookData)\n        external\n        onlyWhenUnlocked\n        noDelegateCall\n        returns (BalanceDelta delta)\n    {\n        PoolId poolId = key.toId();\n        Pool.State storage pool = _getPool(poolId);\n        pool.checkPoolInitialized();\n\n        key.hooks.beforeDonate(key, amount0, amount1, hookData);\n\n        delta = pool.donate(amount0, amount1);\n\n        _accountPoolBalanceDelta(key, delta, msg.sender);\n\n        // event is emitted before the afterDonate call to ensure events are always emitted in order\n        emit Donate(poolId, msg.sender, amount0, amount1);\n\n        key.hooks.afterDonate(key, amount0, amount1, hookData);\n    }\n\n    /// @inheritdoc IPoolManager\n    function sync(Currency currency) external {\n        // address(0) is used for the native currency\n        if (currency.isAddressZero()) {\n            // The reserves balance is not used for native settling, so we only need to reset the currency.\n            CurrencyReserves.resetCurrency();\n        } else {\n            uint256 balance = currency.balanceOfSelf();\n            CurrencyReserves.syncCurrencyAndReserves(currency, balance);\n        }\n    }\n\n    /// @inheritdoc IPoolManager\n    function take(Currency currency, address to, uint256 amount) external onlyWhenUnlocked {\n        unchecked {\n            // negation must be safe as amount is not negative\n            _accountDelta(currency, -(amount.toInt128()), msg.sender);\n            currency.transfer(to, amount);\n        }\n    }\n\n    /// @inheritdoc IPoolManager\n    function settle() external payable onlyWhenUnlocked returns (uint256) {\n        return _settle(msg.sender);\n    }\n\n    /// @inheritdoc IPoolManager\n    function settleFor(address recipient) external payable onlyWhenUnlocked returns (uint256) {\n        return _settle(recipient);\n    }\n\n    /// @inheritdoc IPoolManager\n    function clear(Currency currency, uint256 amount) external onlyWhenUnlocked {\n        int256 current = currency.getDelta(msg.sender);\n        // Because input is `uint256`, only positive amounts can be cleared.\n        int128 amountDelta = amount.toInt128();\n        if (amountDelta != current) MustClearExactPositiveDelta.selector.revertWith();\n        // negation must be safe as amountDelta is positive\n        unchecked {\n            _accountDelta(currency, -(amountDelta), msg.sender);\n        }\n    }\n\n    /// @inheritdoc IPoolManager\n    function mint(address to, uint256 id, uint256 amount) external onlyWhenUnlocked {\n        unchecked {\n            Currency currency = CurrencyLibrary.fromId(id);\n            // negation must be safe as amount is not negative\n            _accountDelta(currency, -(amount.toInt128()), msg.sender);\n            _mint(to, currency.toId(), amount);\n        }\n    }\n\n    /// @inheritdoc IPoolManager\n    function burn(address from, uint256 id, uint256 amount) external onlyWhenUnlocked {\n        Currency currency = CurrencyLibrary.fromId(id);\n        _accountDelta(currency, amount.toInt128(), msg.sender);\n        _burnFrom(from, currency.toId(), amount);\n    }\n\n    /// @inheritdoc IPoolManager\n    function updateDynamicLPFee(PoolKey memory key, uint24 newDynamicLPFee) external {\n        if (!key.fee.isDynamicFee() || msg.sender != address(key.hooks)) {\n            UnauthorizedDynamicLPFeeUpdate.selector.revertWith();\n        }\n        newDynamicLPFee.validate();\n        PoolId id = key.toId();\n        _pools[id].setLPFee(newDynamicLPFee);\n    }\n\n    // if settling native, integrators should still call `sync` first to avoid DoS attack vectors\n    function _settle(address recipient) internal returns (uint256 paid) {\n        Currency currency = CurrencyReserves.getSyncedCurrency();\n\n        // if not previously synced, or the syncedCurrency slot has been reset, expects native currency to be settled\n        if (currency.isAddressZero()) {\n            paid = msg.value;\n        } else {\n            if (msg.value > 0) NonzeroNativeValue.selector.revertWith();\n            // Reserves are guaranteed to be set because currency and reserves are always set together\n            uint256 reservesBefore = CurrencyReserves.getSyncedReserves();\n            uint256 reservesNow = currency.balanceOfSelf();\n            paid = reservesNow - reservesBefore;\n            CurrencyReserves.resetCurrency();\n        }\n\n        _accountDelta(currency, paid.toInt128(), recipient);\n    }\n\n    /// @notice Adds a balance delta in a currency for a target address\n    function _accountDelta(Currency currency, int128 delta, address target) internal {\n        if (delta == 0) return;\n\n        (int256 previous, int256 next) = currency.applyDelta(target, delta);\n\n        if (next == 0) {\n            NonzeroDeltaCount.decrement();\n        } else if (previous == 0) {\n            NonzeroDeltaCount.increment();\n        }\n    }\n\n    /// @notice Accounts the deltas of 2 currencies to a target address\n    function _accountPoolBalanceDelta(PoolKey memory key, BalanceDelta delta, address target) internal {\n        _accountDelta(key.currency0, delta.amount0(), target);\n        _accountDelta(key.currency1, delta.amount1(), target);\n    }\n\n    /// @notice Implementation of the _getPool function defined in ProtocolFees\n    function _getPool(PoolId id) internal view override returns (Pool.State storage) {\n        return _pools[id];\n    }\n\n    /// @notice Implementation of the _isUnlocked function defined in ProtocolFees\n    function _isUnlocked() internal view override returns (bool) {\n        return Lock.isUnlocked();\n    }\n}\n"},"@uniswap/v4-core/src/ProtocolFees.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {Currency} from \"./types/Currency.sol\";\nimport {CurrencyReserves} from \"./libraries/CurrencyReserves.sol\";\nimport {IProtocolFees} from \"./interfaces/IProtocolFees.sol\";\nimport {PoolKey} from \"./types/PoolKey.sol\";\nimport {ProtocolFeeLibrary} from \"./libraries/ProtocolFeeLibrary.sol\";\nimport {Owned} from \"solmate/src/auth/Owned.sol\";\nimport {PoolId} from \"./types/PoolId.sol\";\nimport {Pool} from \"./libraries/Pool.sol\";\nimport {CustomRevert} from \"./libraries/CustomRevert.sol\";\n\n/// @notice Contract handling the setting and accrual of protocol fees\nabstract contract ProtocolFees is IProtocolFees, Owned {\n    using ProtocolFeeLibrary for uint24;\n    using Pool for Pool.State;\n    using CustomRevert for bytes4;\n\n    /// @inheritdoc IProtocolFees\n    mapping(Currency currency => uint256 amount) public protocolFeesAccrued;\n\n    /// @inheritdoc IProtocolFees\n    address public protocolFeeController;\n\n    constructor(address initialOwner) Owned(initialOwner) {}\n\n    /// @inheritdoc IProtocolFees\n    function setProtocolFeeController(address controller) external onlyOwner {\n        protocolFeeController = controller;\n        emit ProtocolFeeControllerUpdated(controller);\n    }\n\n    /// @inheritdoc IProtocolFees\n    function setProtocolFee(PoolKey memory key, uint24 newProtocolFee) external {\n        if (msg.sender != protocolFeeController) InvalidCaller.selector.revertWith();\n        if (!newProtocolFee.isValidProtocolFee()) ProtocolFeeTooLarge.selector.revertWith(newProtocolFee);\n        PoolId id = key.toId();\n        _getPool(id).setProtocolFee(newProtocolFee);\n        emit ProtocolFeeUpdated(id, newProtocolFee);\n    }\n\n    /// @inheritdoc IProtocolFees\n    function collectProtocolFees(address recipient, Currency currency, uint256 amount)\n        external\n        returns (uint256 amountCollected)\n    {\n        if (msg.sender != protocolFeeController) InvalidCaller.selector.revertWith();\n        if (!currency.isAddressZero() && CurrencyReserves.getSyncedCurrency() == currency) {\n            // prevent transfer between the sync and settle balanceOfs (native settle uses msg.value)\n            ProtocolFeeCurrencySynced.selector.revertWith();\n        }\n\n        amountCollected = (amount == 0) ? protocolFeesAccrued[currency] : amount;\n        protocolFeesAccrued[currency] -= amountCollected;\n        currency.transfer(recipient, amountCollected);\n    }\n\n    /// @dev abstract internal function to allow the ProtocolFees contract to access the lock\n    function _isUnlocked() internal virtual returns (bool);\n\n    /// @dev abstract internal function to allow the ProtocolFees contract to access pool state\n    /// @dev this is overridden in PoolManager.sol to give access to the _pools mapping\n    function _getPool(PoolId id) internal virtual returns (Pool.State storage);\n\n    function _updateProtocolFees(Currency currency, uint256 amount) internal {\n        unchecked {\n            protocolFeesAccrued[currency] += amount;\n        }\n    }\n}\n"},"@uniswap/v4-core/src/types/BalanceDelta.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {SafeCast} from \"../libraries/SafeCast.sol\";\n\n/// @dev Two `int128` values packed into a single `int256` where the upper 128 bits represent the amount0\n/// and the lower 128 bits represent the amount1.\ntype BalanceDelta is int256;\n\nusing {add as +, sub as -, eq as ==, neq as !=} for BalanceDelta global;\nusing BalanceDeltaLibrary for BalanceDelta global;\nusing SafeCast for int256;\n\nfunction toBalanceDelta(int128 _amount0, int128 _amount1) pure returns (BalanceDelta balanceDelta) {\n    assembly (\"memory-safe\") {\n        balanceDelta := or(shl(128, _amount0), and(sub(shl(128, 1), 1), _amount1))\n    }\n}\n\nfunction add(BalanceDelta a, BalanceDelta b) pure returns (BalanceDelta) {\n    int256 res0;\n    int256 res1;\n    assembly (\"memory-safe\") {\n        let a0 := sar(128, a)\n        let a1 := signextend(15, a)\n        let b0 := sar(128, b)\n        let b1 := signextend(15, b)\n        res0 := add(a0, b0)\n        res1 := add(a1, b1)\n    }\n    return toBalanceDelta(res0.toInt128(), res1.toInt128());\n}\n\nfunction sub(BalanceDelta a, BalanceDelta b) pure returns (BalanceDelta) {\n    int256 res0;\n    int256 res1;\n    assembly (\"memory-safe\") {\n        let a0 := sar(128, a)\n        let a1 := signextend(15, a)\n        let b0 := sar(128, b)\n        let b1 := signextend(15, b)\n        res0 := sub(a0, b0)\n        res1 := sub(a1, b1)\n    }\n    return toBalanceDelta(res0.toInt128(), res1.toInt128());\n}\n\nfunction eq(BalanceDelta a, BalanceDelta b) pure returns (bool) {\n    return BalanceDelta.unwrap(a) == BalanceDelta.unwrap(b);\n}\n\nfunction neq(BalanceDelta a, BalanceDelta b) pure returns (bool) {\n    return BalanceDelta.unwrap(a) != BalanceDelta.unwrap(b);\n}\n\n/// @notice Library for getting the amount0 and amount1 deltas from the BalanceDelta type\nlibrary BalanceDeltaLibrary {\n    /// @notice A BalanceDelta of 0\n    BalanceDelta public constant ZERO_DELTA = BalanceDelta.wrap(0);\n\n    function amount0(BalanceDelta balanceDelta) internal pure returns (int128 _amount0) {\n        assembly (\"memory-safe\") {\n            _amount0 := sar(128, balanceDelta)\n        }\n    }\n\n    function amount1(BalanceDelta balanceDelta) internal pure returns (int128 _amount1) {\n        assembly (\"memory-safe\") {\n            _amount1 := signextend(15, balanceDelta)\n        }\n    }\n}\n"},"@uniswap/v4-core/src/types/BeforeSwapDelta.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n// Return type of the beforeSwap hook.\n// Upper 128 bits is the delta in specified tokens. Lower 128 bits is delta in unspecified tokens (to match the afterSwap hook)\ntype BeforeSwapDelta is int256;\n\n// Creates a BeforeSwapDelta from specified and unspecified\nfunction toBeforeSwapDelta(int128 deltaSpecified, int128 deltaUnspecified)\n    pure\n    returns (BeforeSwapDelta beforeSwapDelta)\n{\n    assembly (\"memory-safe\") {\n        beforeSwapDelta := or(shl(128, deltaSpecified), and(sub(shl(128, 1), 1), deltaUnspecified))\n    }\n}\n\n/// @notice Library for getting the specified and unspecified deltas from the BeforeSwapDelta type\nlibrary BeforeSwapDeltaLibrary {\n    /// @notice A BeforeSwapDelta of 0\n    BeforeSwapDelta public constant ZERO_DELTA = BeforeSwapDelta.wrap(0);\n\n    /// extracts int128 from the upper 128 bits of the BeforeSwapDelta\n    /// returned by beforeSwap\n    function getSpecifiedDelta(BeforeSwapDelta delta) internal pure returns (int128 deltaSpecified) {\n        assembly (\"memory-safe\") {\n            deltaSpecified := sar(128, delta)\n        }\n    }\n\n    /// extracts int128 from the lower 128 bits of the BeforeSwapDelta\n    /// returned by beforeSwap and afterSwap\n    function getUnspecifiedDelta(BeforeSwapDelta delta) internal pure returns (int128 deltaUnspecified) {\n        assembly (\"memory-safe\") {\n            deltaUnspecified := signextend(15, delta)\n        }\n    }\n}\n"},"@uniswap/v4-core/src/types/Currency.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IERC20Minimal} from \"../interfaces/external/IERC20Minimal.sol\";\nimport {CustomRevert} from \"../libraries/CustomRevert.sol\";\n\ntype Currency is address;\n\nusing {greaterThan as >, lessThan as <, greaterThanOrEqualTo as >=, equals as ==} for Currency global;\nusing CurrencyLibrary for Currency global;\n\nfunction equals(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) == Currency.unwrap(other);\n}\n\nfunction greaterThan(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) > Currency.unwrap(other);\n}\n\nfunction lessThan(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) < Currency.unwrap(other);\n}\n\nfunction greaterThanOrEqualTo(Currency currency, Currency other) pure returns (bool) {\n    return Currency.unwrap(currency) >= Currency.unwrap(other);\n}\n\n/// @title CurrencyLibrary\n/// @dev This library allows for transferring and holding native tokens and ERC20 tokens\nlibrary CurrencyLibrary {\n    /// @notice Additional context for ERC-7751 wrapped error when a native transfer fails\n    error NativeTransferFailed();\n\n    /// @notice Additional context for ERC-7751 wrapped error when an ERC20 transfer fails\n    error ERC20TransferFailed();\n\n    /// @notice A constant to represent the native currency\n    Currency public constant ADDRESS_ZERO = Currency.wrap(address(0));\n\n    function transfer(Currency currency, address to, uint256 amount) internal {\n        // altered from https://github.com/transmissions11/solmate/blob/44a9963d4c78111f77caa0e65d677b8b46d6f2e6/src/utils/SafeTransferLib.sol\n        // modified custom error selectors\n\n        bool success;\n        if (currency.isAddressZero()) {\n            assembly (\"memory-safe\") {\n                // Transfer the ETH and revert if it fails.\n                success := call(gas(), to, amount, 0, 0, 0, 0)\n            }\n            // revert with NativeTransferFailed, containing the bubbled up error as an argument\n            if (!success) {\n                CustomRevert.bubbleUpAndRevertWith(to, bytes4(0), NativeTransferFailed.selector);\n            }\n        } else {\n            assembly (\"memory-safe\") {\n                // Get a pointer to some free memory.\n                let fmp := mload(0x40)\n\n                // Write the abi-encoded calldata into memory, beginning with the function selector.\n                mstore(fmp, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)\n                mstore(add(fmp, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the \"to\" argument.\n                mstore(add(fmp, 36), amount) // Append the \"amount\" argument. Masking not required as it's a full 32 byte type.\n\n                success :=\n                    and(\n                        // Set success to whether the call reverted, if not we check it either\n                        // returned exactly 1 (can't just be non-zero data), or had no return data.\n                        or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\n                        // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.\n                        // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\n                        // Counterintuitively, this call must be positioned second to the or() call in the\n                        // surrounding and() call or else returndatasize() will be zero during the computation.\n                        call(gas(), currency, 0, fmp, 68, 0, 32)\n                    )\n\n                // Now clean the memory we used\n                mstore(fmp, 0) // 4 byte `selector` and 28 bytes of `to` were stored here\n                mstore(add(fmp, 0x20), 0) // 4 bytes of `to` and 28 bytes of `amount` were stored here\n                mstore(add(fmp, 0x40), 0) // 4 bytes of `amount` were stored here\n            }\n            // revert with ERC20TransferFailed, containing the bubbled up error as an argument\n            if (!success) {\n                CustomRevert.bubbleUpAndRevertWith(\n                    Currency.unwrap(currency), IERC20Minimal.transfer.selector, ERC20TransferFailed.selector\n                );\n            }\n        }\n    }\n\n    function balanceOfSelf(Currency currency) internal view returns (uint256) {\n        if (currency.isAddressZero()) {\n            return address(this).balance;\n        } else {\n            return IERC20Minimal(Currency.unwrap(currency)).balanceOf(address(this));\n        }\n    }\n\n    function balanceOf(Currency currency, address owner) internal view returns (uint256) {\n        if (currency.isAddressZero()) {\n            return owner.balance;\n        } else {\n            return IERC20Minimal(Currency.unwrap(currency)).balanceOf(owner);\n        }\n    }\n\n    function isAddressZero(Currency currency) internal pure returns (bool) {\n        return Currency.unwrap(currency) == Currency.unwrap(ADDRESS_ZERO);\n    }\n\n    function toId(Currency currency) internal pure returns (uint256) {\n        return uint160(Currency.unwrap(currency));\n    }\n\n    // If the upper 12 bytes are non-zero, they will be zero-ed out\n    // Therefore, fromId() and toId() are not inverses of each other\n    function fromId(uint256 id) internal pure returns (Currency) {\n        return Currency.wrap(address(uint160(id)));\n    }\n}\n"},"@uniswap/v4-core/src/types/PoolId.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"./PoolKey.sol\";\n\ntype PoolId is bytes32;\n\n/// @notice Library for computing the ID of a pool\nlibrary PoolIdLibrary {\n    /// @notice Returns value equal to keccak256(abi.encode(poolKey))\n    function toId(PoolKey memory poolKey) internal pure returns (PoolId poolId) {\n        assembly (\"memory-safe\") {\n            // 0xa0 represents the total size of the poolKey struct (5 slots of 32 bytes)\n            poolId := keccak256(poolKey, 0xa0)\n        }\n    }\n}\n"},"@uniswap/v4-core/src/types/PoolKey.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {Currency} from \"./Currency.sol\";\nimport {IHooks} from \"../interfaces/IHooks.sol\";\nimport {PoolIdLibrary} from \"./PoolId.sol\";\n\nusing PoolIdLibrary for PoolKey global;\n\n/// @notice Returns the key for identifying a pool\nstruct PoolKey {\n    /// @notice The lower currency of the pool, sorted numerically\n    Currency currency0;\n    /// @notice The higher currency of the pool, sorted numerically\n    Currency currency1;\n    /// @notice The pool LP fee, capped at 1_000_000. If the highest bit is 1, the pool has a dynamic fee and must be exactly equal to 0x800000\n    uint24 fee;\n    /// @notice Ticks that involve positions must be a multiple of tick spacing\n    int24 tickSpacing;\n    /// @notice The hooks of the pool\n    IHooks hooks;\n}\n"},"@uniswap/v4-core/src/types/Slot0.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/**\n * @dev Slot0 is a packed version of solidity structure.\n * Using the packaged version saves gas by not storing the structure fields in memory slots.\n *\n * Layout:\n * 24 bits empty | 24 bits lpFee | 12 bits protocolFee 1->0 | 12 bits protocolFee 0->1 | 24 bits tick | 160 bits sqrtPriceX96\n *\n * Fields in the direction from the least significant bit:\n *\n * The current price\n * uint160 sqrtPriceX96;\n *\n * The current tick\n * int24 tick;\n *\n * Protocol fee, expressed in hundredths of a bip, upper 12 bits are for 1->0, and the lower 12 are for 0->1\n * the maximum is 1000 - meaning the maximum protocol fee is 0.1%\n * the protocolFee is taken from the input first, then the lpFee is taken from the remaining input\n * uint24 protocolFee;\n *\n * The current LP fee of the pool. If the pool is dynamic, this does not include the dynamic fee flag.\n * uint24 lpFee;\n */\ntype Slot0 is bytes32;\n\nusing Slot0Library for Slot0 global;\n\n/// @notice Library for getting and setting values in the Slot0 type\nlibrary Slot0Library {\n    uint160 internal constant MASK_160_BITS = 0x00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF;\n    uint24 internal constant MASK_24_BITS = 0xFFFFFF;\n\n    uint8 internal constant TICK_OFFSET = 160;\n    uint8 internal constant PROTOCOL_FEE_OFFSET = 184;\n    uint8 internal constant LP_FEE_OFFSET = 208;\n\n    // #### GETTERS ####\n    function sqrtPriceX96(Slot0 _packed) internal pure returns (uint160 _sqrtPriceX96) {\n        assembly (\"memory-safe\") {\n            _sqrtPriceX96 := and(MASK_160_BITS, _packed)\n        }\n    }\n\n    function tick(Slot0 _packed) internal pure returns (int24 _tick) {\n        assembly (\"memory-safe\") {\n            _tick := signextend(2, shr(TICK_OFFSET, _packed))\n        }\n    }\n\n    function protocolFee(Slot0 _packed) internal pure returns (uint24 _protocolFee) {\n        assembly (\"memory-safe\") {\n            _protocolFee := and(MASK_24_BITS, shr(PROTOCOL_FEE_OFFSET, _packed))\n        }\n    }\n\n    function lpFee(Slot0 _packed) internal pure returns (uint24 _lpFee) {\n        assembly (\"memory-safe\") {\n            _lpFee := and(MASK_24_BITS, shr(LP_FEE_OFFSET, _packed))\n        }\n    }\n\n    // #### SETTERS ####\n    function setSqrtPriceX96(Slot0 _packed, uint160 _sqrtPriceX96) internal pure returns (Slot0 _result) {\n        assembly (\"memory-safe\") {\n            _result := or(and(not(MASK_160_BITS), _packed), and(MASK_160_BITS, _sqrtPriceX96))\n        }\n    }\n\n    function setTick(Slot0 _packed, int24 _tick) internal pure returns (Slot0 _result) {\n        assembly (\"memory-safe\") {\n            _result := or(and(not(shl(TICK_OFFSET, MASK_24_BITS)), _packed), shl(TICK_OFFSET, and(MASK_24_BITS, _tick)))\n        }\n    }\n\n    function setProtocolFee(Slot0 _packed, uint24 _protocolFee) internal pure returns (Slot0 _result) {\n        assembly (\"memory-safe\") {\n            _result :=\n                or(\n                    and(not(shl(PROTOCOL_FEE_OFFSET, MASK_24_BITS)), _packed),\n                    shl(PROTOCOL_FEE_OFFSET, and(MASK_24_BITS, _protocolFee))\n                )\n        }\n    }\n\n    function setLpFee(Slot0 _packed, uint24 _lpFee) internal pure returns (Slot0 _result) {\n        assembly (\"memory-safe\") {\n            _result :=\n                or(and(not(shl(LP_FEE_OFFSET, MASK_24_BITS)), _packed), shl(LP_FEE_OFFSET, and(MASK_24_BITS, _lpFee)))\n        }\n    }\n}\n"},"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\nimport {SafeCallback} from \"./SafeCallback.sol\";\nimport {CalldataDecoder} from \"../libraries/CalldataDecoder.sol\";\nimport {ActionConstants} from \"../libraries/ActionConstants.sol\";\n\n/// @notice Abstract contract for performing a combination of actions on Uniswap v4.\n/// @dev Suggested uint256 action values are defined in Actions.sol, however any definition can be used\nabstract contract BaseActionsRouter is SafeCallback {\n    using CalldataDecoder for bytes;\n\n    /// @notice emitted when different numbers of parameters and actions are provided\n    error InputLengthMismatch();\n\n    /// @notice emitted when an inheriting contract does not support an action\n    error UnsupportedAction(uint256 action);\n\n    constructor(IPoolManager _poolManager) SafeCallback(_poolManager) {}\n\n    /// @notice internal function that triggers the execution of a set of actions on v4\n    /// @dev inheriting contracts should call this function to trigger execution\n    function _executeActions(bytes calldata unlockData) internal {\n        poolManager.unlock(unlockData);\n    }\n\n    /// @notice function that is called by the PoolManager through the SafeCallback.unlockCallback\n    /// @param data Abi encoding of (bytes actions, bytes[] params)\n    /// where params[i] is the encoded parameters for actions[i]\n    function _unlockCallback(bytes calldata data) internal override returns (bytes memory) {\n        // abi.decode(data, (bytes, bytes[]));\n        (bytes calldata actions, bytes[] calldata params) = data.decodeActionsRouterParams();\n        _executeActionsWithoutUnlock(actions, params);\n        return \"\";\n    }\n\n    function _executeActionsWithoutUnlock(bytes calldata actions, bytes[] calldata params) internal {\n        uint256 numActions = actions.length;\n        if (numActions != params.length) revert InputLengthMismatch();\n\n        for (uint256 actionIndex = 0; actionIndex < numActions; actionIndex++) {\n            uint256 action = uint8(actions[actionIndex]);\n\n            _handleAction(action, params[actionIndex]);\n        }\n    }\n\n    /// @notice function to handle the parsing and execution of an action and its parameters\n    function _handleAction(uint256 action, bytes calldata params) internal virtual;\n\n    /// @notice function that returns address considered executor of the actions\n    /// @dev The other context functions, _msgData and _msgValue, are not supported by this contract\n    /// In many contracts this will be the address that calls the initial entry point that calls `_executeActions`\n    /// `msg.sender` shouldn't be used, as this will be the v4 pool manager contract that calls `unlockCallback`\n    /// If using ReentrancyLock.sol, this function can return _getLocker()\n    function msgSender() public view virtual returns (address);\n\n    /// @notice Calculates the address for a action\n    function _mapRecipient(address recipient) internal view returns (address) {\n        if (recipient == ActionConstants.MSG_SENDER) {\n            return msgSender();\n        } else if (recipient == ActionConstants.ADDRESS_THIS) {\n            return address(this);\n        } else {\n            return recipient;\n        }\n    }\n\n    /// @notice Calculates the payer for an action\n    function _mapPayer(bool payerIsUser) internal view returns (address) {\n        return payerIsUser ? msgSender() : address(this);\n    }\n}\n"},"@uniswap/v4-periphery/src/base/DeltaResolver.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {Currency} from \"@uniswap/v4-core/src/types/Currency.sol\";\nimport {TransientStateLibrary} from \"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\";\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\nimport {ImmutableState} from \"./ImmutableState.sol\";\nimport {ActionConstants} from \"../libraries/ActionConstants.sol\";\n\n/// @notice Abstract contract used to sync, send, and settle funds to the pool manager\n/// @dev Note that sync() is called before any erc-20 transfer in `settle`.\nabstract contract DeltaResolver is ImmutableState {\n    using TransientStateLibrary for IPoolManager;\n\n    /// @notice Emitted trying to settle a positive delta.\n    error DeltaNotPositive(Currency currency);\n    /// @notice Emitted trying to take a negative delta.\n    error DeltaNotNegative(Currency currency);\n    /// @notice Emitted when the contract does not have enough balance to wrap or unwrap.\n    error InsufficientBalance();\n\n    /// @notice Take an amount of currency out of the PoolManager\n    /// @param currency Currency to take\n    /// @param recipient Address to receive the currency\n    /// @param amount Amount to take\n    /// @dev Returns early if the amount is 0\n    function _take(Currency currency, address recipient, uint256 amount) internal {\n        if (amount == 0) return;\n        poolManager.take(currency, recipient, amount);\n    }\n\n    /// @notice Pay and settle a currency to the PoolManager\n    /// @dev The implementing contract must ensure that the `payer` is a secure address\n    /// @param currency Currency to settle\n    /// @param payer Address of the payer\n    /// @param amount Amount to send\n    /// @dev Returns early if the amount is 0\n    function _settle(Currency currency, address payer, uint256 amount) internal {\n        if (amount == 0) return;\n\n        poolManager.sync(currency);\n        if (currency.isAddressZero()) {\n            poolManager.settle{value: amount}();\n        } else {\n            _pay(currency, payer, amount);\n            poolManager.settle();\n        }\n    }\n\n    /// @notice Abstract function for contracts to implement paying tokens to the poolManager\n    /// @dev The recipient of the payment should be the poolManager\n    /// @param token The token to settle. This is known not to be the native currency\n    /// @param payer The address who should pay tokens\n    /// @param amount The number of tokens to send\n    function _pay(Currency token, address payer, uint256 amount) internal virtual;\n\n    /// @notice Obtain the full amount owed by this contract (negative delta)\n    /// @param currency Currency to get the delta for\n    /// @return amount The amount owed by this contract as a uint256\n    function _getFullDebt(Currency currency) internal view returns (uint256 amount) {\n        int256 _amount = poolManager.currencyDelta(address(this), currency);\n        // If the amount is positive, it should be taken not settled.\n        if (_amount > 0) revert DeltaNotNegative(currency);\n        // Casting is safe due to limits on the total supply of a pool\n        amount = uint256(-_amount);\n    }\n\n    /// @notice Obtain the full credit owed to this contract (positive delta)\n    /// @param currency Currency to get the delta for\n    /// @return amount The amount owed to this contract as a uint256\n    function _getFullCredit(Currency currency) internal view returns (uint256 amount) {\n        int256 _amount = poolManager.currencyDelta(address(this), currency);\n        // If the amount is negative, it should be settled not taken.\n        if (_amount < 0) revert DeltaNotPositive(currency);\n        amount = uint256(_amount);\n    }\n\n    /// @notice Calculates the amount for a settle action\n    function _mapSettleAmount(uint256 amount, Currency currency) internal view returns (uint256) {\n        if (amount == ActionConstants.CONTRACT_BALANCE) {\n            return currency.balanceOfSelf();\n        } else if (amount == ActionConstants.OPEN_DELTA) {\n            return _getFullDebt(currency);\n        } else {\n            return amount;\n        }\n    }\n\n    /// @notice Calculates the amount for a take action\n    function _mapTakeAmount(uint256 amount, Currency currency) internal view returns (uint256) {\n        if (amount == ActionConstants.OPEN_DELTA) {\n            return _getFullCredit(currency);\n        } else {\n            return amount;\n        }\n    }\n\n    /// @notice Calculates the sanitized amount before wrapping/unwrapping.\n    /// @param inputCurrency The currency, either native or wrapped native, that this contract holds\n    /// @param amount The amount to wrap or unwrap. Can be CONTRACT_BALANCE, OPEN_DELTA or a specific amount\n    /// @param outputCurrency The currency after the wrap/unwrap that the user may owe a balance in on the poolManager\n    function _mapWrapUnwrapAmount(Currency inputCurrency, uint256 amount, Currency outputCurrency)\n        internal\n        view\n        returns (uint256)\n    {\n        // if wrapping, the balance in this contract is in ETH\n        // if unwrapping, the balance in this contract is in WETH\n        uint256 balance = inputCurrency.balanceOf(address(this));\n        if (amount == ActionConstants.CONTRACT_BALANCE) {\n            // return early to avoid unnecessary balance check\n            return balance;\n        }\n        if (amount == ActionConstants.OPEN_DELTA) {\n            // if wrapping, the open currency on the PoolManager is WETH.\n            // if unwrapping, the open currency on the PoolManager is ETH.\n            // note that we use the DEBT amount. Positive deltas can be taken and then wrapped.\n            amount = _getFullDebt(outputCurrency);\n        }\n        if (amount > balance) revert InsufficientBalance();\n        return amount;\n    }\n}\n"},"@uniswap/v4-periphery/src/base/EIP712_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IEIP712_v4} from \"../interfaces/IEIP712_v4.sol\";\n\n/// @notice Generic EIP712 implementation\n/// @dev Maintains cross-chain replay protection in the event of a fork\n/// @dev Should not be delegatecall'd because DOMAIN_SEPARATOR returns the cached hash and does not recompute with the delegatecallers address\n/// @dev Reference: https://github.com/Uniswap/permit2/blob/3f17e8db813189a03950dc7fc8382524a095c053/src/EIP712.sol\n/// @dev Reference: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/7bd2b2aaf68c21277097166a9a51eb72ae239b34/contracts/utils/cryptography/EIP712.sol\ncontract EIP712_v4 is IEIP712_v4 {\n    // Cache the domain separator as an immutable value, but also store the chain id that it\n    // corresponds to, in order to invalidate the cached domain separator if the chain id changes.\n    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;\n    uint256 private immutable _CACHED_CHAIN_ID;\n    bytes32 private immutable _HASHED_NAME;\n\n    bytes32 private constant _TYPE_HASH =\n        keccak256(\"EIP712Domain(string name,uint256 chainId,address verifyingContract)\");\n\n    constructor(string memory name) {\n        _HASHED_NAME = keccak256(bytes(name));\n\n        _CACHED_CHAIN_ID = block.chainid;\n        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator();\n    }\n\n    /// @inheritdoc IEIP712_v4\n    function DOMAIN_SEPARATOR() public view returns (bytes32) {\n        // uses cached version if chainid is unchanged from construction\n        return block.chainid == _CACHED_CHAIN_ID ? _CACHED_DOMAIN_SEPARATOR : _buildDomainSeparator();\n    }\n\n    /// @notice Builds a domain separator using the current chainId and contract address.\n    function _buildDomainSeparator() private view returns (bytes32) {\n        return keccak256(abi.encode(_TYPE_HASH, _HASHED_NAME, block.chainid, address(this)));\n    }\n\n    /// @notice Creates an EIP-712 typed data hash\n    function _hashTypedData(bytes32 dataHash) internal view returns (bytes32 digest) {\n        // equal to keccak256(abi.encodePacked(\"\\x19\\x01\", DOMAIN_SEPARATOR(), dataHash));\n        bytes32 domainSeparator = DOMAIN_SEPARATOR();\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, hex\"1901\")\n            mstore(add(fmp, 0x02), domainSeparator)\n            mstore(add(fmp, 0x22), dataHash)\n            digest := keccak256(fmp, 0x42)\n\n            // now clean the memory we used\n            mstore(fmp, 0) // fmp held \"\\x19\\x01\", domainSeparator\n            mstore(add(fmp, 0x20), 0) // fmp+0x20 held domainSeparator, dataHash\n            mstore(add(fmp, 0x40), 0) // fmp+0x40 held dataHash\n        }\n    }\n}\n"},"@uniswap/v4-periphery/src/base/ERC721Permit_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {ERC721} from \"solmate/src/tokens/ERC721.sol\";\nimport {EIP712_v4} from \"./EIP712_v4.sol\";\nimport {ERC721PermitHash} from \"../libraries/ERC721PermitHash.sol\";\nimport {SignatureVerification} from \"permit2/src/libraries/SignatureVerification.sol\";\n\nimport {IERC721Permit_v4} from \"../interfaces/IERC721Permit_v4.sol\";\nimport {UnorderedNonce} from \"./UnorderedNonce.sol\";\n\n/// @title ERC721 with permit\n/// @notice Nonfungible tokens that support an approve via signature, i.e. permit\nabstract contract ERC721Permit_v4 is ERC721, IERC721Permit_v4, EIP712_v4, UnorderedNonce {\n    using SignatureVerification for bytes;\n\n    /// @notice Computes the nameHash and versionHash\n    constructor(string memory name_, string memory symbol_) ERC721(name_, symbol_) EIP712_v4(name_) {}\n\n    /// @notice Checks if the block's timestamp is before a signature's deadline\n    modifier checkSignatureDeadline(uint256 deadline) {\n        if (block.timestamp > deadline) revert SignatureDeadlineExpired();\n        _;\n    }\n\n    /// @inheritdoc IERC721Permit_v4\n    function permit(address spender, uint256 tokenId, uint256 deadline, uint256 nonce, bytes calldata signature)\n        external\n        payable\n        checkSignatureDeadline(deadline)\n    {\n        // the .verify function checks the owner is non-0\n        address owner = _ownerOf[tokenId];\n\n        bytes32 digest = ERC721PermitHash.hashPermit(spender, tokenId, nonce, deadline);\n        signature.verify(_hashTypedData(digest), owner);\n\n        _useUnorderedNonce(owner, nonce);\n        _approve(owner, spender, tokenId);\n    }\n\n    /// @inheritdoc IERC721Permit_v4\n    function permitForAll(\n        address owner,\n        address operator,\n        bool approved,\n        uint256 deadline,\n        uint256 nonce,\n        bytes calldata signature\n    ) external payable checkSignatureDeadline(deadline) {\n        bytes32 digest = ERC721PermitHash.hashPermitForAll(operator, approved, nonce, deadline);\n        signature.verify(_hashTypedData(digest), owner);\n\n        _useUnorderedNonce(owner, nonce);\n        _approveForAll(owner, operator, approved);\n    }\n\n    /// @notice Enable or disable approval for a third party (\"operator\") to manage\n    /// all of `msg.sender`'s assets\n    /// @dev Emits the ApprovalForAll event. The contract MUST allow\n    /// multiple operators per owner.\n    /// @dev Override Solmate's ERC721 setApprovalForAll so setApprovalForAll() and permit() share the _approveForAll method\n    /// @param operator Address to add to the set of authorized operators\n    /// @param approved True if the operator is approved, false to revoke approval\n    function setApprovalForAll(address operator, bool approved) public override {\n        _approveForAll(msg.sender, operator, approved);\n    }\n\n    function _approveForAll(address owner, address operator, bool approved) internal {\n        isApprovedForAll[owner][operator] = approved;\n        emit ApprovalForAll(owner, operator, approved);\n    }\n\n    /// @notice Change or reaffirm the approved address for an NFT\n    /// @dev override Solmate's ERC721 approve so approve() and permit() share the _approve method\n    /// Passing a spender address of zero can be used to remove any outstanding approvals\n    /// Throws error unless `msg.sender` is the current NFT owner,\n    /// or an authorized operator of the current owner.\n    /// @param spender The new approved NFT controller\n    /// @param id The tokenId of the NFT to approve\n    function approve(address spender, uint256 id) public override {\n        address owner = _ownerOf[id];\n\n        if (msg.sender != owner && !isApprovedForAll[owner][msg.sender]) revert Unauthorized();\n\n        _approve(owner, spender, id);\n    }\n\n    function _approve(address owner, address spender, uint256 id) internal {\n        getApproved[id] = spender;\n        emit Approval(owner, spender, id);\n    }\n\n    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) {\n        return spender == ownerOf(tokenId) || getApproved[tokenId] == spender\n            || isApprovedForAll[ownerOf(tokenId)][spender];\n    }\n}\n"},"@uniswap/v4-periphery/src/base/ImmutableState.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\nimport {IImmutableState} from \"../interfaces/IImmutableState.sol\";\n\n/// @title Immutable State\n/// @notice A collection of immutable state variables, commonly used across multiple contracts\ncontract ImmutableState is IImmutableState {\n    /// @inheritdoc IImmutableState\n    IPoolManager public immutable poolManager;\n\n    /// @notice Thrown when the caller is not PoolManager\n    error NotPoolManager();\n\n    /// @notice Only allow calls from the PoolManager contract\n    modifier onlyPoolManager() {\n        if (msg.sender != address(poolManager)) revert NotPoolManager();\n        _;\n    }\n\n    constructor(IPoolManager _poolManager) {\n        poolManager = _poolManager;\n    }\n}\n"},"@uniswap/v4-periphery/src/base/Multicall_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IMulticall_v4} from \"../interfaces/IMulticall_v4.sol\";\n\n/// @title Multicall_v4\n/// @notice Enables calling multiple methods in a single call to the contract\nabstract contract Multicall_v4 is IMulticall_v4 {\n    /// @inheritdoc IMulticall_v4\n    function multicall(bytes[] calldata data) external payable returns (bytes[] memory results) {\n        results = new bytes[](data.length);\n        for (uint256 i = 0; i < data.length; i++) {\n            (bool success, bytes memory result) = address(this).delegatecall(data[i]);\n\n            if (!success) {\n                // bubble up the revert reason\n                assembly {\n                    revert(add(result, 0x20), mload(result))\n                }\n            }\n\n            results[i] = result;\n        }\n    }\n}\n"},"@uniswap/v4-periphery/src/base/NativeWrapper.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IWETH9} from \"../interfaces/external/IWETH9.sol\";\nimport {ActionConstants} from \"../libraries/ActionConstants.sol\";\nimport {ImmutableState} from \"./ImmutableState.sol\";\n\n/// @title Native Wrapper\n/// @notice Used for wrapping and unwrapping native\nabstract contract NativeWrapper is ImmutableState {\n    /// @notice The address for WETH9\n    IWETH9 public immutable WETH9;\n\n    /// @notice Thrown when an unexpected address sends ETH to this contract\n    error InvalidEthSender();\n\n    constructor(IWETH9 _weth9) {\n        WETH9 = _weth9;\n    }\n\n    /// @dev The amount should already be <= the current balance in this contract.\n    function _wrap(uint256 amount) internal {\n        if (amount > 0) WETH9.deposit{value: amount}();\n    }\n\n    /// @dev The amount should already be <= the current balance in this contract.\n    function _unwrap(uint256 amount) internal {\n        if (amount > 0) WETH9.withdraw(amount);\n    }\n\n    receive() external payable {\n        if (msg.sender != address(WETH9) && msg.sender != address(poolManager)) revert InvalidEthSender();\n    }\n}\n"},"@uniswap/v4-periphery/src/base/Notifier.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {ISubscriber} from \"../interfaces/ISubscriber.sol\";\nimport {INotifier} from \"../interfaces/INotifier.sol\";\nimport {CustomRevert} from \"@uniswap/v4-core/src/libraries/CustomRevert.sol\";\nimport {BalanceDelta} from \"@uniswap/v4-core/src/types/BalanceDelta.sol\";\nimport {PositionInfo} from \"../libraries/PositionInfoLibrary.sol\";\n\n/// @notice Notifier is used to opt in to sending updates to external contracts about position modifications or transfers\nabstract contract Notifier is INotifier {\n    using CustomRevert for *;\n\n    ISubscriber private constant NO_SUBSCRIBER = ISubscriber(address(0));\n\n    /// @inheritdoc INotifier\n    uint256 public immutable unsubscribeGasLimit;\n\n    /// @inheritdoc INotifier\n    mapping(uint256 tokenId => ISubscriber subscriber) public subscriber;\n\n    constructor(uint256 _unsubscribeGasLimit) {\n        unsubscribeGasLimit = _unsubscribeGasLimit;\n    }\n\n    /// @notice Only allow callers that are approved as spenders or operators of the tokenId\n    /// @dev to be implemented by the parent contract (PositionManager)\n    /// @param caller the address of the caller\n    /// @param tokenId the tokenId of the position\n    modifier onlyIfApproved(address caller, uint256 tokenId) virtual;\n\n    /// @notice Enforces that the PoolManager is locked.\n    modifier onlyIfPoolManagerLocked() virtual;\n\n    function _setUnsubscribed(uint256 tokenId) internal virtual;\n\n    function _setSubscribed(uint256 tokenId) internal virtual;\n\n    /// @inheritdoc INotifier\n    function subscribe(uint256 tokenId, address newSubscriber, bytes calldata data)\n        external\n        payable\n        onlyIfPoolManagerLocked\n        onlyIfApproved(msg.sender, tokenId)\n    {\n        ISubscriber _subscriber = subscriber[tokenId];\n\n        if (_subscriber != NO_SUBSCRIBER) revert AlreadySubscribed(tokenId, address(_subscriber));\n        _setSubscribed(tokenId);\n\n        subscriber[tokenId] = ISubscriber(newSubscriber);\n\n        bool success = _call(newSubscriber, abi.encodeCall(ISubscriber.notifySubscribe, (tokenId, data)));\n\n        if (!success) {\n            newSubscriber.bubbleUpAndRevertWith(ISubscriber.notifySubscribe.selector, SubscriptionReverted.selector);\n        }\n\n        emit Subscription(tokenId, newSubscriber);\n    }\n\n    /// @inheritdoc INotifier\n    function unsubscribe(uint256 tokenId)\n        external\n        payable\n        onlyIfPoolManagerLocked\n        onlyIfApproved(msg.sender, tokenId)\n    {\n        _unsubscribe(tokenId);\n    }\n\n    function _unsubscribe(uint256 tokenId) internal {\n        ISubscriber _subscriber = subscriber[tokenId];\n\n        if (_subscriber == NO_SUBSCRIBER) revert NotSubscribed();\n        _setUnsubscribed(tokenId);\n\n        delete subscriber[tokenId];\n\n        if (address(_subscriber).code.length > 0) {\n            // require that the remaining gas is sufficient to notify the subscriber\n            // otherwise, users can select a gas limit where .notifyUnsubscribe hits OutOfGas yet the\n            // transaction/unsubscription can still succeed\n            if (gasleft() < unsubscribeGasLimit) GasLimitTooLow.selector.revertWith();\n            try _subscriber.notifyUnsubscribe{gas: unsubscribeGasLimit}(tokenId) {} catch {}\n        }\n\n        emit Unsubscription(tokenId, address(_subscriber));\n    }\n\n    /// @dev note this function also deletes the subscriber address from the mapping\n    function _removeSubscriberAndNotifyBurn(\n        uint256 tokenId,\n        address owner,\n        PositionInfo info,\n        uint256 liquidity,\n        BalanceDelta feesAccrued\n    ) internal {\n        address _subscriber = address(subscriber[tokenId]);\n\n        // remove the subscriber\n        delete subscriber[tokenId];\n\n        bool success =\n            _call(_subscriber, abi.encodeCall(ISubscriber.notifyBurn, (tokenId, owner, info, liquidity, feesAccrued)));\n\n        if (!success) {\n            _subscriber.bubbleUpAndRevertWith(ISubscriber.notifyBurn.selector, BurnNotificationReverted.selector);\n        }\n    }\n\n    function _notifyModifyLiquidity(uint256 tokenId, int256 liquidityChange, BalanceDelta feesAccrued) internal {\n        address _subscriber = address(subscriber[tokenId]);\n\n        bool success = _call(\n            _subscriber, abi.encodeCall(ISubscriber.notifyModifyLiquidity, (tokenId, liquidityChange, feesAccrued))\n        );\n\n        if (!success) {\n            _subscriber.bubbleUpAndRevertWith(\n                ISubscriber.notifyModifyLiquidity.selector, ModifyLiquidityNotificationReverted.selector\n            );\n        }\n    }\n\n    function _call(address target, bytes memory encodedCall) internal returns (bool success) {\n        if (target.code.length == 0) NoCodeSubscriber.selector.revertWith();\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, 0, add(encodedCall, 0x20), mload(encodedCall), 0, 0)\n        }\n    }\n}\n"},"@uniswap/v4-periphery/src/base/Permit2Forwarder.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IPermit2Forwarder, IAllowanceTransfer} from \"../interfaces/IPermit2Forwarder.sol\";\n\n/// @notice Permit2Forwarder allows permitting this contract as a spender on permit2\n/// @dev This contract does not enforce the spender to be this contract, but that is the intended use case\ncontract Permit2Forwarder is IPermit2Forwarder {\n    /// @notice the Permit2 contract to forward approvals\n    IAllowanceTransfer public immutable permit2;\n\n    constructor(IAllowanceTransfer _permit2) {\n        permit2 = _permit2;\n    }\n\n    /// @inheritdoc IPermit2Forwarder\n    function permit(address owner, IAllowanceTransfer.PermitSingle calldata permitSingle, bytes calldata signature)\n        external\n        payable\n        returns (bytes memory err)\n    {\n        // use try/catch in case an actor front-runs the permit, which would DOS multicalls\n        try permit2.permit(owner, permitSingle, signature) {}\n        catch (bytes memory reason) {\n            err = reason;\n        }\n    }\n\n    /// @inheritdoc IPermit2Forwarder\n    function permitBatch(address owner, IAllowanceTransfer.PermitBatch calldata _permitBatch, bytes calldata signature)\n        external\n        payable\n        returns (bytes memory err)\n    {\n        // use try/catch in case an actor front-runs the permit, which would DOS multicalls\n        try permit2.permit(owner, _permitBatch, signature) {}\n        catch (bytes memory reason) {\n            err = reason;\n        }\n    }\n}\n"},"@uniswap/v4-periphery/src/base/PoolInitializer_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {ImmutableState} from \"./ImmutableState.sol\";\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {IPoolInitializer_v4} from \"../interfaces/IPoolInitializer_v4.sol\";\n\n/// @title Pool Initializer\n/// @notice Initializes a Uniswap v4 Pool\n/// @dev Enables create pool + mint liquidity in a single transaction with multicall\nabstract contract PoolInitializer_v4 is ImmutableState, IPoolInitializer_v4 {\n    /// @inheritdoc IPoolInitializer_v4\n    function initializePool(PoolKey calldata key, uint160 sqrtPriceX96) external payable returns (int24) {\n        try poolManager.initialize(key, sqrtPriceX96) returns (int24 tick) {\n            return tick;\n        } catch {\n            return type(int24).max;\n        }\n    }\n}\n"},"@uniswap/v4-periphery/src/base/ReentrancyLock.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {Locker} from \"../libraries/Locker.sol\";\n\n/// @notice A transient reentrancy lock, that stores the caller's address as the lock\ncontract ReentrancyLock {\n    error ContractLocked();\n\n    modifier isNotLocked() {\n        if (Locker.get() != address(0)) revert ContractLocked();\n        Locker.set(msg.sender);\n        _;\n        Locker.set(address(0));\n    }\n\n    function _getLocker() internal view returns (address) {\n        return Locker.get();\n    }\n}\n"},"@uniswap/v4-periphery/src/base/SafeCallback.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IUnlockCallback} from \"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol\";\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\nimport {ImmutableState} from \"./ImmutableState.sol\";\n\n/// @title Safe Callback\n/// @notice A contract that only allows the Uniswap v4 PoolManager to call the unlockCallback\nabstract contract SafeCallback is ImmutableState, IUnlockCallback {\n    constructor(IPoolManager _poolManager) ImmutableState(_poolManager) {}\n\n    /// @inheritdoc IUnlockCallback\n    /// @dev We force the onlyPoolManager modifier by exposing a virtual function after the onlyPoolManager check.\n    function unlockCallback(bytes calldata data) external onlyPoolManager returns (bytes memory) {\n        return _unlockCallback(data);\n    }\n\n    /// @dev to be implemented by the child contract, to safely guarantee the logic is only executed by the PoolManager\n    function _unlockCallback(bytes calldata data) internal virtual returns (bytes memory);\n}\n"},"@uniswap/v4-periphery/src/base/UnorderedNonce.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IUnorderedNonce} from \"../interfaces/IUnorderedNonce.sol\";\n\n/// @title Unordered Nonce\n/// @notice Contract state and methods for using unordered nonces in signatures\ncontract UnorderedNonce is IUnorderedNonce {\n    /// @inheritdoc IUnorderedNonce\n    mapping(address owner => mapping(uint256 word => uint256 bitmap)) public nonces;\n\n    /// @notice Consume a nonce, reverting if it has already been used\n    /// @param owner address, the owner/signer of the nonce\n    /// @param nonce uint256, the nonce to consume. The top 248 bits are the word, the bottom 8 bits indicate the bit position\n    function _useUnorderedNonce(address owner, uint256 nonce) internal {\n        uint256 wordPos = nonce >> 8;\n        uint256 bitPos = uint8(nonce);\n\n        uint256 bit = 1 << bitPos;\n        uint256 flipped = nonces[owner][wordPos] ^= bit;\n        if (flipped & bit == 0) revert NonceAlreadyUsed();\n    }\n\n    /// @inheritdoc IUnorderedNonce\n    function revokeNonce(uint256 nonce) external payable {\n        _useUnorderedNonce(msg.sender, nonce);\n    }\n}\n"},"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\n\n/// @title IWETH9\ninterface IWETH9 is IERC20 {\n    /// @notice Deposit ether to get wrapped ether\n    function deposit() external payable;\n\n    /// @notice Withdraw wrapped ether to get ether\n    function withdraw(uint256) external;\n}\n"},"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IEIP712_v4\n/// @notice Interface for the EIP712 contract\ninterface IEIP712_v4 {\n    /// @notice Returns the domain separator for the current chain.\n    /// @return bytes32 The domain separator\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IERC721Permit_v4\n/// @notice Interface for the ERC721Permit_v4 contract\ninterface IERC721Permit_v4 {\n    error SignatureDeadlineExpired();\n    error NoSelfPermit();\n    error Unauthorized();\n\n    /// @notice Approve of a specific token ID for spending by spender via signature\n    /// @param spender The account that is being approved\n    /// @param tokenId The ID of the token that is being approved for spending\n    /// @param deadline The deadline timestamp by which the call must be mined for the approve to work\n    /// @param nonce a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\n    /// @param signature Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\n    /// @dev payable so it can be multicalled with NATIVE related actions\n    function permit(address spender, uint256 tokenId, uint256 deadline, uint256 nonce, bytes calldata signature)\n        external\n        payable;\n\n    /// @notice Set an operator with full permission to an owner's tokens via signature\n    /// @param owner The address that is setting the operator\n    /// @param operator The address that will be set as an operator for the owner\n    /// @param approved The permission to set on the operator\n    /// @param deadline The deadline timestamp by which the call must be mined for the approve to work\n    /// @param nonce a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\n    /// @param signature Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\n    /// @dev payable so it can be multicalled with NATIVE related actions\n    function permitForAll(\n        address owner,\n        address operator,\n        bool approved,\n        uint256 deadline,\n        uint256 nonce,\n        bytes calldata signature\n    ) external payable;\n}\n"},"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\n\n/// @title IImmutableState\n/// @notice Interface for the ImmutableState contract\ninterface IImmutableState {\n    /// @notice The Uniswap v4 PoolManager contract\n    function poolManager() external view returns (IPoolManager);\n}\n"},"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IMulticall_v4\n/// @notice Interface for the Multicall_v4 contract\ninterface IMulticall_v4 {\n    /// @notice Call multiple functions in the current contract and return the data from all of them if they all succeed\n    /// @dev The `msg.value` is passed onto all subcalls, even if a previous subcall has consumed the ether.\n    /// Subcalls can instead use `address(this).value` to see the available ETH, and consume it using {value: x}.\n    /// @param data The encoded function data for each of the calls to make to this contract\n    /// @return results The results from each of the calls passed in via data\n    function multicall(bytes[] calldata data) external payable returns (bytes[] memory results);\n}\n"},"@uniswap/v4-periphery/src/interfaces/INotifier.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {ISubscriber} from \"./ISubscriber.sol\";\n\n/// @title INotifier\n/// @notice Interface for the Notifier contract\ninterface INotifier {\n    /// @notice Thrown when unsubscribing without a subscriber\n    error NotSubscribed();\n    /// @notice Thrown when a subscriber does not have code\n    error NoCodeSubscriber();\n    /// @notice Thrown when a user specifies a gas limit too low to avoid valid unsubscribe notifications\n    error GasLimitTooLow();\n    /// @notice Wraps the revert message of the subscriber contract on a reverting subscription\n    error SubscriptionReverted(address subscriber, bytes reason);\n    /// @notice Wraps the revert message of the subscriber contract on a reverting modify liquidity notification\n    error ModifyLiquidityNotificationReverted(address subscriber, bytes reason);\n    /// @notice Wraps the revert message of the subscriber contract on a reverting burn notification\n    error BurnNotificationReverted(address subscriber, bytes reason);\n    /// @notice Thrown when a tokenId already has a subscriber\n    error AlreadySubscribed(uint256 tokenId, address subscriber);\n\n    /// @notice Emitted on a successful call to subscribe\n    event Subscription(uint256 indexed tokenId, address indexed subscriber);\n    /// @notice Emitted on a successful call to unsubscribe\n    event Unsubscription(uint256 indexed tokenId, address indexed subscriber);\n\n    /// @notice Returns the subscriber for a respective position\n    /// @param tokenId the ERC721 tokenId\n    /// @return subscriber the subscriber contract\n    function subscriber(uint256 tokenId) external view returns (ISubscriber subscriber);\n\n    /// @notice Enables the subscriber to receive notifications for a respective position\n    /// @param tokenId the ERC721 tokenId\n    /// @param newSubscriber the address of the subscriber contract\n    /// @param data caller-provided data that's forwarded to the subscriber contract\n    /// @dev Calling subscribe when a position is already subscribed will revert\n    /// @dev payable so it can be multicalled with NATIVE related actions\n    /// @dev will revert if pool manager is locked\n    function subscribe(uint256 tokenId, address newSubscriber, bytes calldata data) external payable;\n\n    /// @notice Removes the subscriber from receiving notifications for a respective position\n    /// @param tokenId the ERC721 tokenId\n    /// @dev Callers must specify a high gas limit (remaining gas should be higher than unsubscriberGasLimit) such that the subscriber can be notified\n    /// @dev payable so it can be multicalled with NATIVE related actions\n    /// @dev Must always allow a user to unsubscribe. In the case of a malicious subscriber, a user can always unsubscribe safely, ensuring liquidity is always modifiable.\n    /// @dev will revert if pool manager is locked\n    function unsubscribe(uint256 tokenId) external payable;\n\n    /// @notice Returns and determines the maximum allowable gas-used for notifying unsubscribe\n    /// @return uint256 the maximum gas limit when notifying a subscriber's `notifyUnsubscribe` function\n    function unsubscribeGasLimit() external view returns (uint256);\n}\n"},"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IAllowanceTransfer} from \"permit2/src/interfaces/IAllowanceTransfer.sol\";\n\n/// @title IPermit2Forwarder\n/// @notice Interface for the Permit2Forwarder contract\ninterface IPermit2Forwarder {\n    /// @notice allows forwarding a single permit to permit2\n    /// @dev this function is payable to allow multicall with NATIVE based actions\n    /// @param owner the owner of the tokens\n    /// @param permitSingle the permit data\n    /// @param signature the signature of the permit; abi.encodePacked(r, s, v)\n    /// @return err the error returned by a reverting permit call, empty if successful\n    function permit(address owner, IAllowanceTransfer.PermitSingle calldata permitSingle, bytes calldata signature)\n        external\n        payable\n        returns (bytes memory err);\n\n    /// @notice allows forwarding batch permits to permit2\n    /// @dev this function is payable to allow multicall with NATIVE based actions\n    /// @param owner the owner of the tokens\n    /// @param _permitBatch a batch of approvals\n    /// @param signature the signature of the permit; abi.encodePacked(r, s, v)\n    /// @return err the error returned by a reverting permit call, empty if successful\n    function permitBatch(address owner, IAllowanceTransfer.PermitBatch calldata _permitBatch, bytes calldata signature)\n        external\n        payable\n        returns (bytes memory err);\n}\n"},"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\n\n/// @title IPoolInitializer_v4\n/// @notice Interface for the PoolInitializer_v4 contract\ninterface IPoolInitializer_v4 {\n    /// @notice Initialize a Uniswap v4 Pool\n    /// @dev If the pool is already initialized, this function will not revert and just return type(int24).max\n    /// @param key The PoolKey of the pool to initialize\n    /// @param sqrtPriceX96 The initial starting price of the pool, expressed as a sqrtPriceX96\n    /// @return The current tick of the pool, or type(int24).max if the pool creation failed, or the pool already existed\n    function initializePool(PoolKey calldata key, uint160 sqrtPriceX96) external payable returns (int24);\n}\n"},"@uniswap/v4-periphery/src/interfaces/IPositionDescriptor.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport \"./IPositionManager.sol\";\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\n\n/// @title IPositionDescriptor\n/// @notice Interface for the PositionDescriptor contract\ninterface IPositionDescriptor {\n    error InvalidTokenId(uint256 tokenId);\n\n    /// @notice Produces the URI describing a particular token ID\n    /// @dev Note this URI may be a data: URI with the JSON contents directly inlined\n    /// @param positionManager The position manager for which to describe the token\n    /// @param tokenId The ID of the token for which to produce a description, which may not be valid\n    /// @return The URI of the ERC721-compliant metadata\n    function tokenURI(IPositionManager positionManager, uint256 tokenId) external view returns (string memory);\n\n    /// @notice Returns true if currency0 has higher priority than currency1\n    /// @param currency0 The first currency address\n    /// @param currency1 The second currency address\n    /// @return True if currency0 has higher priority than currency1\n    function flipRatio(address currency0, address currency1) external view returns (bool);\n\n    /// @notice Returns the priority of a currency.\n    /// For certain currencies on mainnet, the smaller the currency, the higher the priority\n    /// And those with the higher priority values (more positive values) will be in the numerator of the price ratio\n    /// @param currency The currency address\n    /// @return The priority of the currency\n    function currencyRatioPriority(address currency) external view returns (int256);\n\n    /// @return The wrapped native token for this descriptor\n    function wrappedNative() external view returns (address);\n\n    /// @return The native currency label for this descriptor\n    function nativeCurrencyLabel() external view returns (string memory);\n\n    /// @return The pool manager for this descriptor\n    function poolManager() external view returns (IPoolManager);\n}\n"},"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {PositionInfo} from \"../libraries/PositionInfoLibrary.sol\";\n\nimport {INotifier} from \"./INotifier.sol\";\nimport {IImmutableState} from \"./IImmutableState.sol\";\nimport {IERC721Permit_v4} from \"./IERC721Permit_v4.sol\";\nimport {IEIP712_v4} from \"./IEIP712_v4.sol\";\nimport {IMulticall_v4} from \"./IMulticall_v4.sol\";\nimport {IPoolInitializer_v4} from \"./IPoolInitializer_v4.sol\";\nimport {IUnorderedNonce} from \"./IUnorderedNonce.sol\";\nimport {IPermit2Forwarder} from \"./IPermit2Forwarder.sol\";\n\n/// @title IPositionManager\n/// @notice Interface for the PositionManager contract\ninterface IPositionManager is\n    INotifier,\n    IImmutableState,\n    IERC721Permit_v4,\n    IEIP712_v4,\n    IMulticall_v4,\n    IPoolInitializer_v4,\n    IUnorderedNonce,\n    IPermit2Forwarder\n{\n    /// @notice Thrown when the caller is not approved to modify a position\n    error NotApproved(address caller);\n    /// @notice Thrown when the block.timestamp exceeds the user-provided deadline\n    error DeadlinePassed(uint256 deadline);\n    /// @notice Thrown when calling transfer, subscribe, or unsubscribe when the PoolManager is unlocked.\n    /// @dev This is to prevent hooks from being able to trigger notifications at the same time the position is being modified.\n    error PoolManagerMustBeLocked();\n\n    /// @notice Unlocks Uniswap v4 PoolManager and batches actions for modifying liquidity\n    /// @dev This is the standard entrypoint for the PositionManager\n    /// @param unlockData is an encoding of actions, and parameters for those actions\n    /// @param deadline is the deadline for the batched actions to be executed\n    function modifyLiquidities(bytes calldata unlockData, uint256 deadline) external payable;\n\n    /// @notice Batches actions for modifying liquidity without unlocking v4 PoolManager\n    /// @dev This must be called by a contract that has already unlocked the v4 PoolManager\n    /// @param actions the actions to perform\n    /// @param params the parameters to provide for the actions\n    function modifyLiquiditiesWithoutUnlock(bytes calldata actions, bytes[] calldata params) external payable;\n\n    /// @notice Used to get the ID that will be used for the next minted liquidity position\n    /// @return uint256 The next token ID\n    function nextTokenId() external view returns (uint256);\n\n    /// @notice Returns the liquidity of a position\n    /// @param tokenId the ERC721 tokenId\n    /// @return liquidity the position's liquidity, as a liquidityAmount\n    /// @dev this value can be processed as an amount0 and amount1 by using the LiquidityAmounts library\n    function getPositionLiquidity(uint256 tokenId) external view returns (uint128 liquidity);\n\n    /// @notice Returns the pool key and position info of a position\n    /// @param tokenId the ERC721 tokenId\n    /// @return poolKey the pool key of the position\n    /// @return PositionInfo a uint256 packed value holding information about the position including the range (tickLower, tickUpper)\n    function getPoolAndPositionInfo(uint256 tokenId) external view returns (PoolKey memory, PositionInfo);\n\n    /// @notice Returns the position info of a position\n    /// @param tokenId the ERC721 tokenId\n    /// @return a uint256 packed value holding information about the position including the range (tickLower, tickUpper)\n    function positionInfo(uint256 tokenId) external view returns (PositionInfo);\n}\n"},"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {BalanceDelta} from \"@uniswap/v4-core/src/types/BalanceDelta.sol\";\nimport {PositionInfo} from \"../libraries/PositionInfoLibrary.sol\";\n\n/// @title ISubscriber\n/// @notice Interface that a Subscriber contract should implement to receive updates from the v4 position manager\ninterface ISubscriber {\n    /// @notice Called when a position subscribes to this subscriber contract\n    /// @param tokenId the token ID of the position\n    /// @param data additional data passed in by the caller\n    function notifySubscribe(uint256 tokenId, bytes memory data) external;\n\n    /// @notice Called when a position unsubscribes from the subscriber\n    /// @dev This call's gas is capped at `unsubscribeGasLimit` (set at deployment)\n    /// @dev Because of EIP-150, solidity may only allocate 63/64 of gasleft()\n    /// @param tokenId the token ID of the position\n    function notifyUnsubscribe(uint256 tokenId) external;\n\n    /// @notice Called when a position is burned\n    /// @param tokenId the token ID of the position\n    /// @param owner the current owner of the tokenId\n    /// @param info information about the position\n    /// @param liquidity the amount of liquidity decreased in the position, may be 0\n    /// @param feesAccrued the fees accrued by the position if liquidity was decreased\n    function notifyBurn(uint256 tokenId, address owner, PositionInfo info, uint256 liquidity, BalanceDelta feesAccrued)\n        external;\n\n    /// @notice Called when a position modifies its liquidity or collects fees\n    /// @param tokenId the token ID of the position\n    /// @param liquidityChange the change in liquidity on the underlying position\n    /// @param feesAccrued the fees to be collected from the position as a result of the modifyLiquidity call\n    /// @dev Note that feesAccrued can be artificially inflated by a malicious user\n    /// Pools with a single liquidity position can inflate feeGrowthGlobal (and consequently feesAccrued) by donating to themselves;\n    /// atomically donating and collecting fees within the same unlockCallback may further inflate feeGrowthGlobal/feesAccrued\n    function notifyModifyLiquidity(uint256 tokenId, int256 liquidityChange, BalanceDelta feesAccrued) external;\n}\n"},"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title IUnorderedNonce\n/// @notice Interface for the UnorderedNonce contract\ninterface IUnorderedNonce {\n    error NonceAlreadyUsed();\n\n    /// @notice mapping of nonces consumed by each address, where a nonce is a single bit on the 256-bit bitmap\n    /// @dev word is at most type(uint248).max\n    function nonces(address owner, uint256 word) external view returns (uint256);\n\n    /// @notice Revoke a nonce by spending it, preventing it from being used again\n    /// @dev Used in cases where a valid nonce has not been broadcasted onchain, and the owner wants to revoke the validity of the nonce\n    /// @dev payable so it can be multicalled with native-token related actions\n    function revokeNonce(uint256 nonce) external payable;\n}\n"},"@uniswap/v4-periphery/src/interfaces/IV4Router.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {Currency} from \"@uniswap/v4-core/src/types/Currency.sol\";\nimport {PathKey} from \"../libraries/PathKey.sol\";\nimport {IImmutableState} from \"./IImmutableState.sol\";\n\n/// @title IV4Router\n/// @notice Interface for the V4Router contract\ninterface IV4Router is IImmutableState {\n    /// @notice Emitted when an exactInput swap does not receive its minAmountOut\n    error V4TooLittleReceived(uint256 minAmountOutReceived, uint256 amountReceived);\n    /// @notice Emitted when an exactOutput is asked for more than its maxAmountIn\n    error V4TooMuchRequested(uint256 maxAmountInRequested, uint256 amountRequested);\n\n    /// @notice Parameters for a single-hop exact-input swap\n    struct ExactInputSingleParams {\n        PoolKey poolKey;\n        bool zeroForOne;\n        uint128 amountIn;\n        uint128 amountOutMinimum;\n        bytes hookData;\n    }\n\n    /// @notice Parameters for a multi-hop exact-input swap\n    struct ExactInputParams {\n        Currency currencyIn;\n        PathKey[] path;\n        uint128 amountIn;\n        uint128 amountOutMinimum;\n    }\n\n    /// @notice Parameters for a single-hop exact-output swap\n    struct ExactOutputSingleParams {\n        PoolKey poolKey;\n        bool zeroForOne;\n        uint128 amountOut;\n        uint128 amountInMaximum;\n        bytes hookData;\n    }\n\n    /// @notice Parameters for a multi-hop exact-output swap\n    struct ExactOutputParams {\n        Currency currencyOut;\n        PathKey[] path;\n        uint128 amountOut;\n        uint128 amountInMaximum;\n    }\n}\n"},"@uniswap/v4-periphery/src/libraries/ActionConstants.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Action Constants\n/// @notice Common constants used in actions\n/// @dev Constants are gas efficient alternatives to their literal values\nlibrary ActionConstants {\n    /// @notice used to signal that an action should use the input value of the open delta on the pool manager\n    /// or of the balance that the contract holds\n    uint128 internal constant OPEN_DELTA = 0;\n    /// @notice used to signal that an action should use the contract's entire balance of a currency\n    /// This value is equivalent to 1<<255, i.e. a singular 1 in the most significant bit.\n    uint256 internal constant CONTRACT_BALANCE = 0x8000000000000000000000000000000000000000000000000000000000000000;\n\n    /// @notice used to signal that the recipient of an action should be the msgSender\n    address internal constant MSG_SENDER = address(1);\n\n    /// @notice used to signal that the recipient of an action should be the address(this)\n    address internal constant ADDRESS_THIS = address(2);\n}\n"},"@uniswap/v4-periphery/src/libraries/Actions.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @notice Library to define different pool actions.\n/// @dev These are suggested common commands, however additional commands should be defined as required\n/// Some of these actions are not supported in the Router contracts or Position Manager contracts, but are left as they may be helpful commands for other peripheral contracts.\nlibrary Actions {\n    // pool actions\n    // liquidity actions\n    uint256 internal constant INCREASE_LIQUIDITY = 0x00;\n    uint256 internal constant DECREASE_LIQUIDITY = 0x01;\n    uint256 internal constant MINT_POSITION = 0x02;\n    uint256 internal constant BURN_POSITION = 0x03;\n    uint256 internal constant INCREASE_LIQUIDITY_FROM_DELTAS = 0x04;\n    uint256 internal constant MINT_POSITION_FROM_DELTAS = 0x05;\n\n    // swapping\n    uint256 internal constant SWAP_EXACT_IN_SINGLE = 0x06;\n    uint256 internal constant SWAP_EXACT_IN = 0x07;\n    uint256 internal constant SWAP_EXACT_OUT_SINGLE = 0x08;\n    uint256 internal constant SWAP_EXACT_OUT = 0x09;\n\n    // donate\n    // note this is not supported in the position manager or router\n    uint256 internal constant DONATE = 0x0a;\n\n    // closing deltas on the pool manager\n    // settling\n    uint256 internal constant SETTLE = 0x0b;\n    uint256 internal constant SETTLE_ALL = 0x0c;\n    uint256 internal constant SETTLE_PAIR = 0x0d;\n    // taking\n    uint256 internal constant TAKE = 0x0e;\n    uint256 internal constant TAKE_ALL = 0x0f;\n    uint256 internal constant TAKE_PORTION = 0x10;\n    uint256 internal constant TAKE_PAIR = 0x11;\n\n    uint256 internal constant CLOSE_CURRENCY = 0x12;\n    uint256 internal constant CLEAR_OR_TAKE = 0x13;\n    uint256 internal constant SWEEP = 0x14;\n\n    uint256 internal constant WRAP = 0x15;\n    uint256 internal constant UNWRAP = 0x16;\n\n    // minting/burning 6909s to close deltas\n    // note this is not supported in the position manager or router\n    uint256 internal constant MINT_6909 = 0x17;\n    uint256 internal constant BURN_6909 = 0x18;\n}\n"},"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title For calculating a percentage of an amount, using bips\nlibrary BipsLibrary {\n    uint256 internal constant BPS_DENOMINATOR = 10_000;\n\n    /// @notice emitted when an invalid percentage is provided\n    error InvalidBips();\n\n    /// @param amount The total amount to calculate a percentage of\n    /// @param bips The percentage to calculate, in bips\n    function calculatePortion(uint256 amount, uint256 bips) internal pure returns (uint256) {\n        if (bips > BPS_DENOMINATOR) revert InvalidBips();\n        return (amount * bips) / BPS_DENOMINATOR;\n    }\n}\n"},"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {Currency} from \"@uniswap/v4-core/src/types/Currency.sol\";\nimport {IV4Router} from \"../interfaces/IV4Router.sol\";\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\n\n/// @title Library for abi decoding in calldata\nlibrary CalldataDecoder {\n    using CalldataDecoder for bytes;\n\n    error SliceOutOfBounds();\n\n    /// @notice mask used for offsets and lengths to ensure no overflow\n    /// @dev no sane abi encoding will pass in an offset or length greater than type(uint32).max\n    ///      (note that this does deviate from standard solidity behavior and offsets/lengths will\n    ///      be interpreted as mod type(uint32).max which will only impact malicious/buggy callers)\n    uint256 constant OFFSET_OR_LENGTH_MASK = 0xffffffff;\n    uint256 constant OFFSET_OR_LENGTH_MASK_AND_WORD_ALIGN = 0xffffffe0;\n\n    /// @notice equivalent to SliceOutOfBounds.selector, stored in least-significant bits\n    uint256 constant SLICE_ERROR_SELECTOR = 0x3b99b53d;\n\n    /// @dev equivalent to: abi.decode(params, (bytes, bytes[])) in calldata (requires strict abi encoding)\n    function decodeActionsRouterParams(bytes calldata _bytes)\n        internal\n        pure\n        returns (bytes calldata actions, bytes[] calldata params)\n    {\n        assembly (\"memory-safe\") {\n            // Strict encoding requires that the data begin with:\n            // 0x00: 0x40 (offset to `actions.length`)\n            // 0x20: 0x60 + actions.length (offset to `params.length`)\n            // 0x40: `actions.length`\n            // 0x60: beginning of actions\n\n            // Verify actions offset matches strict encoding\n            let invalidData := xor(calldataload(_bytes.offset), 0x40)\n            actions.offset := add(_bytes.offset, 0x60)\n            actions.length := and(calldataload(add(_bytes.offset, 0x40)), OFFSET_OR_LENGTH_MASK)\n\n            // Round actions length up to be word-aligned, and add 0x60 (for the first 3 words of encoding)\n            let paramsLengthOffset := add(and(add(actions.length, 0x1f), OFFSET_OR_LENGTH_MASK_AND_WORD_ALIGN), 0x60)\n            // Verify params offset matches strict encoding\n            invalidData := or(invalidData, xor(calldataload(add(_bytes.offset, 0x20)), paramsLengthOffset))\n            let paramsLengthPointer := add(_bytes.offset, paramsLengthOffset)\n            params.length := and(calldataload(paramsLengthPointer), OFFSET_OR_LENGTH_MASK)\n            params.offset := add(paramsLengthPointer, 0x20)\n\n            // Expected offset for `params[0]` is params.length * 32\n            // As the first `params.length` slots are pointers to each of the array element lengths\n            let tailOffset := shl(5, params.length)\n            let expectedOffset := tailOffset\n\n            for { let offset := 0 } lt(offset, tailOffset) { offset := add(offset, 32) } {\n                let itemLengthOffset := calldataload(add(params.offset, offset))\n                // Verify that the offset matches the expected offset from strict encoding\n                invalidData := or(invalidData, xor(itemLengthOffset, expectedOffset))\n                let itemLengthPointer := add(params.offset, itemLengthOffset)\n                let length :=\n                    add(and(add(calldataload(itemLengthPointer), 0x1f), OFFSET_OR_LENGTH_MASK_AND_WORD_ALIGN), 0x20)\n                expectedOffset := add(expectedOffset, length)\n            }\n\n            // if the data encoding was invalid, or the provided bytes string isnt as long as the encoding says, revert\n            if or(invalidData, lt(add(_bytes.length, _bytes.offset), add(params.offset, expectedOffset))) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n        }\n    }\n\n    /// @dev equivalent to: abi.decode(params, (uint256, uint256, uint128, uint128, bytes)) in calldata\n    function decodeModifyLiquidityParams(bytes calldata params)\n        internal\n        pure\n        returns (uint256 tokenId, uint256 liquidity, uint128 amount0, uint128 amount1, bytes calldata hookData)\n    {\n        // no length check performed, as there is a length check in `toBytes`\n        assembly (\"memory-safe\") {\n            tokenId := calldataload(params.offset)\n            liquidity := calldataload(add(params.offset, 0x20))\n            amount0 := calldataload(add(params.offset, 0x40))\n            amount1 := calldataload(add(params.offset, 0x60))\n        }\n\n        hookData = params.toBytes(4);\n    }\n\n    /// @dev equivalent to: abi.decode(params, (uint256, uint128, uint128, bytes)) in calldata\n    function decodeIncreaseLiquidityFromDeltasParams(bytes calldata params)\n        internal\n        pure\n        returns (uint256 tokenId, uint128 amount0Max, uint128 amount1Max, bytes calldata hookData)\n    {\n        // no length check performed, as there is a length check in `toBytes`\n        assembly (\"memory-safe\") {\n            tokenId := calldataload(params.offset)\n            amount0Max := calldataload(add(params.offset, 0x20))\n            amount1Max := calldataload(add(params.offset, 0x40))\n        }\n\n        hookData = params.toBytes(3);\n    }\n\n    /// @dev equivalent to: abi.decode(params, (PoolKey, int24, int24, uint256, uint128, uint128, address, bytes)) in calldata\n    function decodeMintParams(bytes calldata params)\n        internal\n        pure\n        returns (\n            PoolKey calldata poolKey,\n            int24 tickLower,\n            int24 tickUpper,\n            uint256 liquidity,\n            uint128 amount0Max,\n            uint128 amount1Max,\n            address owner,\n            bytes calldata hookData\n        )\n    {\n        // no length check performed, as there is a length check in `toBytes`\n        assembly (\"memory-safe\") {\n            poolKey := params.offset\n            tickLower := calldataload(add(params.offset, 0xa0))\n            tickUpper := calldataload(add(params.offset, 0xc0))\n            liquidity := calldataload(add(params.offset, 0xe0))\n            amount0Max := calldataload(add(params.offset, 0x100))\n            amount1Max := calldataload(add(params.offset, 0x120))\n            owner := calldataload(add(params.offset, 0x140))\n        }\n        hookData = params.toBytes(11);\n    }\n\n    /// @dev equivalent to: abi.decode(params, (PoolKey, int24, int24, uint128, uint128, address, bytes)) in calldata\n    function decodeMintFromDeltasParams(bytes calldata params)\n        internal\n        pure\n        returns (\n            PoolKey calldata poolKey,\n            int24 tickLower,\n            int24 tickUpper,\n            uint128 amount0Max,\n            uint128 amount1Max,\n            address owner,\n            bytes calldata hookData\n        )\n    {\n        // no length check performed, as there is a length check in `toBytes`\n        assembly (\"memory-safe\") {\n            poolKey := params.offset\n            tickLower := calldataload(add(params.offset, 0xa0))\n            tickUpper := calldataload(add(params.offset, 0xc0))\n            amount0Max := calldataload(add(params.offset, 0xe0))\n            amount1Max := calldataload(add(params.offset, 0x100))\n            owner := calldataload(add(params.offset, 0x120))\n        }\n\n        hookData = params.toBytes(10);\n    }\n\n    /// @dev equivalent to: abi.decode(params, (uint256, uint128, uint128, bytes)) in calldata\n    function decodeBurnParams(bytes calldata params)\n        internal\n        pure\n        returns (uint256 tokenId, uint128 amount0Min, uint128 amount1Min, bytes calldata hookData)\n    {\n        // no length check performed, as there is a length check in `toBytes`\n        assembly (\"memory-safe\") {\n            tokenId := calldataload(params.offset)\n            amount0Min := calldataload(add(params.offset, 0x20))\n            amount1Min := calldataload(add(params.offset, 0x40))\n        }\n\n        hookData = params.toBytes(3);\n    }\n\n    /// @dev equivalent to: abi.decode(params, (IV4Router.ExactInputParams))\n    function decodeSwapExactInParams(bytes calldata params)\n        internal\n        pure\n        returns (IV4Router.ExactInputParams calldata swapParams)\n    {\n        // ExactInputParams is a variable length struct so we just have to look up its location\n        assembly (\"memory-safe\") {\n            // only safety checks for the minimum length, where path is empty\n            // 0xa0 = 5 * 0x20 -> 3 elements, path offset, and path length 0\n            if lt(params.length, 0xa0) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n            swapParams := add(params.offset, calldataload(params.offset))\n        }\n    }\n\n    /// @dev equivalent to: abi.decode(params, (IV4Router.ExactInputSingleParams))\n    function decodeSwapExactInSingleParams(bytes calldata params)\n        internal\n        pure\n        returns (IV4Router.ExactInputSingleParams calldata swapParams)\n    {\n        // ExactInputSingleParams is a variable length struct so we just have to look up its location\n        assembly (\"memory-safe\") {\n            // only safety checks for the minimum length, where hookData is empty\n            // 0x140 = 10 * 0x20 -> 8 elements, bytes offset, and bytes length 0\n            if lt(params.length, 0x140) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n            swapParams := add(params.offset, calldataload(params.offset))\n        }\n    }\n\n    /// @dev equivalent to: abi.decode(params, (IV4Router.ExactOutputParams))\n    function decodeSwapExactOutParams(bytes calldata params)\n        internal\n        pure\n        returns (IV4Router.ExactOutputParams calldata swapParams)\n    {\n        // ExactOutputParams is a variable length struct so we just have to look up its location\n        assembly (\"memory-safe\") {\n            // only safety checks for the minimum length, where path is empty\n            // 0xa0 = 5 * 0x20 -> 3 elements, path offset, and path length 0\n            if lt(params.length, 0xa0) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n            swapParams := add(params.offset, calldataload(params.offset))\n        }\n    }\n\n    /// @dev equivalent to: abi.decode(params, (IV4Router.ExactOutputSingleParams))\n    function decodeSwapExactOutSingleParams(bytes calldata params)\n        internal\n        pure\n        returns (IV4Router.ExactOutputSingleParams calldata swapParams)\n    {\n        // ExactOutputSingleParams is a variable length struct so we just have to look up its location\n        assembly (\"memory-safe\") {\n            // only safety checks for the minimum length, where hookData is empty\n            // 0x140 = 10 * 0x20 -> 8 elements, bytes offset, and bytes length 0\n            if lt(params.length, 0x140) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n            swapParams := add(params.offset, calldataload(params.offset))\n        }\n    }\n\n    /// @dev equivalent to: abi.decode(params, (Currency)) in calldata\n    function decodeCurrency(bytes calldata params) internal pure returns (Currency currency) {\n        assembly (\"memory-safe\") {\n            if lt(params.length, 0x20) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n            currency := calldataload(params.offset)\n        }\n    }\n\n    /// @dev equivalent to: abi.decode(params, (Currency, Currency)) in calldata\n    function decodeCurrencyPair(bytes calldata params) internal pure returns (Currency currency0, Currency currency1) {\n        assembly (\"memory-safe\") {\n            if lt(params.length, 0x40) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n            currency0 := calldataload(params.offset)\n            currency1 := calldataload(add(params.offset, 0x20))\n        }\n    }\n\n    /// @dev equivalent to: abi.decode(params, (Currency, Currency, address)) in calldata\n    function decodeCurrencyPairAndAddress(bytes calldata params)\n        internal\n        pure\n        returns (Currency currency0, Currency currency1, address _address)\n    {\n        assembly (\"memory-safe\") {\n            if lt(params.length, 0x60) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n            currency0 := calldataload(params.offset)\n            currency1 := calldataload(add(params.offset, 0x20))\n            _address := calldataload(add(params.offset, 0x40))\n        }\n    }\n\n    /// @dev equivalent to: abi.decode(params, (Currency, address)) in calldata\n    function decodeCurrencyAndAddress(bytes calldata params)\n        internal\n        pure\n        returns (Currency currency, address _address)\n    {\n        assembly (\"memory-safe\") {\n            if lt(params.length, 0x40) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n            currency := calldataload(params.offset)\n            _address := calldataload(add(params.offset, 0x20))\n        }\n    }\n\n    /// @dev equivalent to: abi.decode(params, (Currency, address, uint256)) in calldata\n    function decodeCurrencyAddressAndUint256(bytes calldata params)\n        internal\n        pure\n        returns (Currency currency, address _address, uint256 amount)\n    {\n        assembly (\"memory-safe\") {\n            if lt(params.length, 0x60) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n            currency := calldataload(params.offset)\n            _address := calldataload(add(params.offset, 0x20))\n            amount := calldataload(add(params.offset, 0x40))\n        }\n    }\n\n    /// @dev equivalent to: abi.decode(params, (Currency, uint256)) in calldata\n    function decodeCurrencyAndUint256(bytes calldata params)\n        internal\n        pure\n        returns (Currency currency, uint256 amount)\n    {\n        assembly (\"memory-safe\") {\n            if lt(params.length, 0x40) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n            currency := calldataload(params.offset)\n            amount := calldataload(add(params.offset, 0x20))\n        }\n    }\n\n    /// @dev equivalent to: abi.decode(params, (uint256)) in calldata\n    function decodeUint256(bytes calldata params) internal pure returns (uint256 amount) {\n        assembly (\"memory-safe\") {\n            if lt(params.length, 0x20) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n            amount := calldataload(params.offset)\n        }\n    }\n\n    /// @dev equivalent to: abi.decode(params, (Currency, uint256, bool)) in calldata\n    function decodeCurrencyUint256AndBool(bytes calldata params)\n        internal\n        pure\n        returns (Currency currency, uint256 amount, bool boolean)\n    {\n        assembly (\"memory-safe\") {\n            if lt(params.length, 0x60) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n            currency := calldataload(params.offset)\n            amount := calldataload(add(params.offset, 0x20))\n            boolean := calldataload(add(params.offset, 0x40))\n        }\n    }\n\n    /// @notice Decode the `_arg`-th element in `_bytes` as `bytes`\n    /// @param _bytes The input bytes string to extract a bytes string from\n    /// @param _arg The index of the argument to extract\n    function toBytes(bytes calldata _bytes, uint256 _arg) internal pure returns (bytes calldata res) {\n        uint256 length;\n        assembly (\"memory-safe\") {\n            // The offset of the `_arg`-th element is `32 * arg`, which stores the offset of the length pointer.\n            // shl(5, x) is equivalent to mul(32, x)\n            let lengthPtr :=\n                add(_bytes.offset, and(calldataload(add(_bytes.offset, shl(5, _arg))), OFFSET_OR_LENGTH_MASK))\n            // the number of bytes in the bytes string\n            length := and(calldataload(lengthPtr), OFFSET_OR_LENGTH_MASK)\n            // the offset where the bytes string begins\n            let offset := add(lengthPtr, 0x20)\n            // assign the return parameters\n            res.length := length\n            res.offset := offset\n\n            // if the provided bytes string isnt as long as the encoding says, revert\n            if lt(add(_bytes.length, _bytes.offset), add(length, offset)) {\n                mstore(0, SLICE_ERROR_SELECTOR)\n                revert(0x1c, 4)\n            }\n        }\n    }\n}\n"},"@uniswap/v4-periphery/src/libraries/ERC721PermitHash.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nlibrary ERC721PermitHash {\n    /// @dev Value is equal to keccak256(\"Permit(address spender,uint256 tokenId,uint256 nonce,uint256 deadline)\");\n    bytes32 constant PERMIT_TYPEHASH = 0x49ecf333e5b8c95c40fdafc95c1ad136e8914a8fb55e9dc8bb01eaa83a2df9ad;\n\n    /// @dev Value is equal to keccak256(\"PermitForAll(address operator,bool approved,uint256 nonce,uint256 deadline)\");\n    bytes32 constant PERMIT_FOR_ALL_TYPEHASH = 0x6673cb397ee2a50b6b8401653d3638b4ac8b3db9c28aa6870ffceb7574ec2f76;\n\n    /// @notice Hashes the data that will be signed for IERC721Permit_v4.permit()\n    /// @param spender The address which may spend the tokenId\n    /// @param tokenId The tokenId of the owner, which may be spent by spender\n    /// @param nonce A unique non-ordered value for each signature to prevent replay attacks\n    /// @param deadline The time at which the signature expires\n    /// @return digest The hash of the data to be signed; the equivalent to keccak256(abi.encode(PERMIT_TYPEHASH, spender, tokenId, nonce, deadline));\n    function hashPermit(address spender, uint256 tokenId, uint256 nonce, uint256 deadline)\n        internal\n        pure\n        returns (bytes32 digest)\n    {\n        // equivalent to: keccak256(abi.encode(PERMIT_TYPEHASH, spender, tokenId, nonce, deadline));\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, PERMIT_TYPEHASH)\n            mstore(add(fmp, 0x20), and(spender, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x40), tokenId)\n            mstore(add(fmp, 0x60), nonce)\n            mstore(add(fmp, 0x80), deadline)\n            digest := keccak256(fmp, 0xa0)\n\n            // now clean the memory we used\n            mstore(fmp, 0) // fmp held PERMIT_TYPEHASH\n            mstore(add(fmp, 0x20), 0) // fmp+0x20 held spender\n            mstore(add(fmp, 0x40), 0) // fmp+0x40 held tokenId\n            mstore(add(fmp, 0x60), 0) // fmp+0x60 held nonce\n            mstore(add(fmp, 0x80), 0) // fmp+0x80 held deadline\n        }\n    }\n\n    /// @notice Hashes the data that will be signed for IERC721Permit_v4.permit()\n    /// @param operator The address which may spend any of the owner's tokenIds\n    /// @param approved true if the operator is to have full permission over the owner's tokenIds; false otherwise\n    /// @param nonce A unique non-ordered value for each signature to prevent replay attacks\n    /// @param deadline The time at which the signature expires\n    /// @return digest The hash of the data to be signed; the equivalent to keccak256(abi.encode(PERMIT_FOR_ALL_TYPEHASH, operator, approved, nonce, deadline));\n    function hashPermitForAll(address operator, bool approved, uint256 nonce, uint256 deadline)\n        internal\n        pure\n        returns (bytes32 digest)\n    {\n        // equivalent to: keccak256(abi.encode(PERMIT_FOR_ALL_TYPEHASH, operator, approved, nonce, deadline));\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(fmp, PERMIT_FOR_ALL_TYPEHASH)\n            mstore(add(fmp, 0x20), and(operator, 0xffffffffffffffffffffffffffffffffffffffff))\n            mstore(add(fmp, 0x40), and(approved, 0x1))\n            mstore(add(fmp, 0x60), nonce)\n            mstore(add(fmp, 0x80), deadline)\n            digest := keccak256(fmp, 0xa0)\n\n            // now clean the memory we used\n            mstore(fmp, 0) // fmp held PERMIT_FOR_ALL_TYPEHASH\n            mstore(add(fmp, 0x20), 0) // fmp+0x20 held operator\n            mstore(add(fmp, 0x40), 0) // fmp+0x40 held approved\n            mstore(add(fmp, 0x60), 0) // fmp+0x60 held nonce\n            mstore(add(fmp, 0x80), 0) // fmp+0x80 held deadline\n        }\n    }\n}\n"},"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {FullMath} from \"@uniswap/v4-core/src/libraries/FullMath.sol\";\nimport {FixedPoint96} from \"@uniswap/v4-core/src/libraries/FixedPoint96.sol\";\nimport {SafeCast} from \"@uniswap/v4-core/src/libraries/SafeCast.sol\";\n\n/// @notice Provides functions for computing liquidity amounts from token amounts and prices\nlibrary LiquidityAmounts {\n    using SafeCast for uint256;\n\n    /// @notice Computes the amount of liquidity received for a given amount of token0 and price range\n    /// @dev Calculates amount0 * (sqrt(upper) * sqrt(lower)) / (sqrt(upper) - sqrt(lower))\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount0 The amount0 being sent in\n    /// @return liquidity The amount of returned liquidity\n    function getLiquidityForAmount0(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount0)\n        internal\n        pure\n        returns (uint128 liquidity)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n            uint256 intermediate = FullMath.mulDiv(sqrtPriceAX96, sqrtPriceBX96, FixedPoint96.Q96);\n            return FullMath.mulDiv(amount0, intermediate, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\n        }\n    }\n\n    /// @notice Computes the amount of liquidity received for a given amount of token1 and price range\n    /// @dev Calculates amount1 / (sqrt(upper) - sqrt(lower)).\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount1 The amount1 being sent in\n    /// @return liquidity The amount of returned liquidity\n    function getLiquidityForAmount1(uint160 sqrtPriceAX96, uint160 sqrtPriceBX96, uint256 amount1)\n        internal\n        pure\n        returns (uint128 liquidity)\n    {\n        unchecked {\n            if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n            return FullMath.mulDiv(amount1, FixedPoint96.Q96, sqrtPriceBX96 - sqrtPriceAX96).toUint128();\n        }\n    }\n\n    /// @notice Computes the maximum amount of liquidity received for a given amount of token0, token1, the current\n    /// pool prices and the prices at the tick boundaries\n    /// @param sqrtPriceX96 A sqrt price representing the current pool prices\n    /// @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n    /// @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n    /// @param amount0 The amount of token0 being sent in\n    /// @param amount1 The amount of token1 being sent in\n    /// @return liquidity The maximum amount of liquidity received\n    function getLiquidityForAmounts(\n        uint160 sqrtPriceX96,\n        uint160 sqrtPriceAX96,\n        uint160 sqrtPriceBX96,\n        uint256 amount0,\n        uint256 amount1\n    ) internal pure returns (uint128 liquidity) {\n        if (sqrtPriceAX96 > sqrtPriceBX96) (sqrtPriceAX96, sqrtPriceBX96) = (sqrtPriceBX96, sqrtPriceAX96);\n\n        if (sqrtPriceX96 <= sqrtPriceAX96) {\n            liquidity = getLiquidityForAmount0(sqrtPriceAX96, sqrtPriceBX96, amount0);\n        } else if (sqrtPriceX96 < sqrtPriceBX96) {\n            uint128 liquidity0 = getLiquidityForAmount0(sqrtPriceX96, sqrtPriceBX96, amount0);\n            uint128 liquidity1 = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceX96, amount1);\n\n            liquidity = liquidity0 < liquidity1 ? liquidity0 : liquidity1;\n        } else {\n            liquidity = getLiquidityForAmount1(sqrtPriceAX96, sqrtPriceBX96, amount1);\n        }\n    }\n}\n"},"@uniswap/v4-periphery/src/libraries/Locker.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\n/// @notice This is a temporary library that allows us to use transient storage (tstore/tload)\n/// TODO: This library can be deleted when we have the transient keyword support in solidity.\nlibrary Locker {\n    // The slot holding the locker state, transiently. bytes32(uint256(keccak256(\"LockedBy\")) - 1)\n    bytes32 constant LOCKED_BY_SLOT = 0x0aedd6bde10e3aa2adec092b02a3e3e805795516cda41f27aa145b8f300af87a;\n\n    function set(address locker) internal {\n        assembly {\n            tstore(LOCKED_BY_SLOT, locker)\n        }\n    }\n\n    function get() internal view returns (address locker) {\n        assembly {\n            locker := tload(LOCKED_BY_SLOT)\n        }\n    }\n}\n"},"@uniswap/v4-periphery/src/libraries/PathKey.sol":{"content":"//SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {Currency} from \"@uniswap/v4-core/src/types/Currency.sol\";\nimport {IHooks} from \"@uniswap/v4-core/src/interfaces/IHooks.sol\";\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\n\nstruct PathKey {\n    Currency intermediateCurrency;\n    uint24 fee;\n    int24 tickSpacing;\n    IHooks hooks;\n    bytes hookData;\n}\n\nusing PathKeyLibrary for PathKey global;\n\n/// @title PathKey Library\n/// @notice Functions for working with PathKeys\nlibrary PathKeyLibrary {\n    /// @notice Get the pool and swap direction for a given PathKey\n    /// @param params the given PathKey\n    /// @param currencyIn the input currency\n    /// @return poolKey the pool key of the swap\n    /// @return zeroForOne the direction of the swap, true if currency0 is being swapped for currency1\n    function getPoolAndSwapDirection(PathKey calldata params, Currency currencyIn)\n        internal\n        pure\n        returns (PoolKey memory poolKey, bool zeroForOne)\n    {\n        Currency currencyOut = params.intermediateCurrency;\n        (Currency currency0, Currency currency1) =\n            currencyIn < currencyOut ? (currencyIn, currencyOut) : (currencyOut, currencyIn);\n\n        zeroForOne = currencyIn == currency0;\n        poolKey = PoolKey(currency0, currency1, params.fee, params.tickSpacing, params.hooks);\n    }\n}\n"},"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {PoolId} from \"@uniswap/v4-core/src/types/PoolId.sol\";\n\n/**\n * @dev PositionInfo is a packed version of solidity structure.\n * Using the packaged version saves gas and memory by not storing the structure fields in memory slots.\n *\n * Layout:\n * 200 bits poolId | 24 bits tickUpper | 24 bits tickLower | 8 bits hasSubscriber\n *\n * Fields in the direction from the least significant bit:\n *\n * A flag to know if the tokenId is subscribed to an address\n * uint8 hasSubscriber;\n *\n * The tickUpper of the position\n * int24 tickUpper;\n *\n * The tickLower of the position\n * int24 tickLower;\n *\n * The truncated poolId. Truncates a bytes32 value so the most signifcant (highest) 200 bits are used.\n * bytes25 poolId;\n *\n * Note: If more bits are needed, hasSubscriber can be a single bit.\n *\n */\ntype PositionInfo is uint256;\n\nusing PositionInfoLibrary for PositionInfo global;\n\nlibrary PositionInfoLibrary {\n    PositionInfo internal constant EMPTY_POSITION_INFO = PositionInfo.wrap(0);\n\n    uint256 internal constant MASK_UPPER_200_BITS = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000;\n    uint256 internal constant MASK_8_BITS = 0xFF;\n    uint24 internal constant MASK_24_BITS = 0xFFFFFF;\n    uint256 internal constant SET_UNSUBSCRIBE = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00;\n    uint256 internal constant SET_SUBSCRIBE = 0x01;\n    uint8 internal constant TICK_LOWER_OFFSET = 8;\n    uint8 internal constant TICK_UPPER_OFFSET = 32;\n\n    /// @dev This poolId is NOT compatible with the poolId used in UniswapV4 core. It is truncated to 25 bytes, and just used to lookup PoolKey in the poolKeys mapping.\n    function poolId(PositionInfo info) internal pure returns (bytes25 _poolId) {\n        assembly (\"memory-safe\") {\n            _poolId := and(MASK_UPPER_200_BITS, info)\n        }\n    }\n\n    function tickLower(PositionInfo info) internal pure returns (int24 _tickLower) {\n        assembly (\"memory-safe\") {\n            _tickLower := signextend(2, shr(TICK_LOWER_OFFSET, info))\n        }\n    }\n\n    function tickUpper(PositionInfo info) internal pure returns (int24 _tickUpper) {\n        assembly (\"memory-safe\") {\n            _tickUpper := signextend(2, shr(TICK_UPPER_OFFSET, info))\n        }\n    }\n\n    function hasSubscriber(PositionInfo info) internal pure returns (bool _hasSubscriber) {\n        assembly (\"memory-safe\") {\n            _hasSubscriber := and(MASK_8_BITS, info)\n        }\n    }\n\n    /// @dev this does not actually set any storage\n    function setSubscribe(PositionInfo info) internal pure returns (PositionInfo _info) {\n        assembly (\"memory-safe\") {\n            _info := or(info, SET_SUBSCRIBE)\n        }\n    }\n\n    /// @dev this does not actually set any storage\n    function setUnsubscribe(PositionInfo info) internal pure returns (PositionInfo _info) {\n        assembly (\"memory-safe\") {\n            _info := and(info, SET_UNSUBSCRIBE)\n        }\n    }\n\n    /// @notice Creates the default PositionInfo struct\n    /// @dev Called when minting a new position\n    /// @param _poolKey the pool key of the position\n    /// @param _tickLower the lower tick of the position\n    /// @param _tickUpper the upper tick of the position\n    /// @return info packed position info, with the truncated poolId and the hasSubscriber flag set to false\n    function initialize(PoolKey memory _poolKey, int24 _tickLower, int24 _tickUpper)\n        internal\n        pure\n        returns (PositionInfo info)\n    {\n        bytes25 _poolId = bytes25(PoolId.unwrap(_poolKey.toId()));\n        assembly {\n            info :=\n                or(\n                    or(and(MASK_UPPER_200_BITS, _poolId), shl(TICK_UPPER_OFFSET, and(MASK_24_BITS, _tickUpper))),\n                    shl(TICK_LOWER_OFFSET, and(MASK_24_BITS, _tickLower))\n                )\n        }\n    }\n}\n"},"@uniswap/v4-periphery/src/libraries/SlippageCheck.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {BalanceDelta} from \"@uniswap/v4-core/src/types/BalanceDelta.sol\";\nimport {SafeCast} from \"@uniswap/v4-core/src/libraries/SafeCast.sol\";\n\n/// @title Slippage Check Library\n/// @notice a library for checking if a delta exceeds a maximum ceiling or fails to meet a minimum floor\nlibrary SlippageCheck {\n    using SafeCast for int128;\n\n    error MaximumAmountExceeded(uint128 maximumAmount, uint128 amountRequested);\n    error MinimumAmountInsufficient(uint128 minimumAmount, uint128 amountReceived);\n\n    /// @notice Revert if one or both deltas does not meet a minimum output\n    /// @param delta The principal amount of tokens to be removed, does not include any fees accrued\n    /// @param amount0Min The minimum amount of token0 to receive\n    /// @param amount1Min The minimum amount of token1 to receive\n    /// @dev This should be called when removing liquidity (burn or decrease)\n    function validateMinOut(BalanceDelta delta, uint128 amount0Min, uint128 amount1Min) internal pure {\n        // Called on burn or decrease, where we expect the returned delta to be positive.\n        // However, on pools where hooks can return deltas on modify liquidity, it is possible for a returned delta to be negative.\n        // Because we use SafeCast, this will revert in those cases when the delta is negative.\n        // This means this contract will NOT support pools where the hook returns a negative delta on burn/decrease.\n        if (delta.amount0().toUint128() < amount0Min) {\n            revert MinimumAmountInsufficient(amount0Min, delta.amount0().toUint128());\n        }\n        if (delta.amount1().toUint128() < amount1Min) {\n            revert MinimumAmountInsufficient(amount1Min, delta.amount1().toUint128());\n        }\n    }\n\n    /// @notice Revert if one or both deltas exceeds a maximum input\n    /// @param delta The principal amount of tokens to be added, does not include any fees accrued (which is possible on increase)\n    /// @param amount0Max The maximum amount of token0 to spend\n    /// @param amount1Max The maximum amount of token1 to spend\n    /// @dev This should be called when adding liquidity (mint or increase)\n    function validateMaxIn(BalanceDelta delta, uint128 amount0Max, uint128 amount1Max) internal pure {\n        // Called on mint or increase, where we expect the returned delta to be negative.\n        // However, on pools where hooks can return deltas on modify liquidity, it is possible for a returned delta to be positive (even after discounting fees accrued).\n        // Thus, we only cast the delta if it is guaranteed to be negative.\n        // And we do NOT revert in the positive delta case. Since a positive delta means the hook is crediting tokens to the user for minting/increasing liquidity, we do not check slippage.\n        // This means this contract will NOT support _positive_ slippage checks (minAmountOut checks) on pools where the hook returns a positive delta on mint/increase.\n        int256 amount0 = delta.amount0();\n        int256 amount1 = delta.amount1();\n        if (amount0 < 0 && amount0Max < uint128(uint256(-amount0))) {\n            revert MaximumAmountExceeded(amount0Max, uint128(uint256(-amount0)));\n        }\n        if (amount1 < 0 && amount1Max < uint128(uint256(-amount1))) {\n            revert MaximumAmountExceeded(amount1Max, uint128(uint256(-amount1)));\n        }\n    }\n}\n"},"@uniswap/v4-periphery/src/PositionManager.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {Currency, CurrencyLibrary} from \"@uniswap/v4-core/src/types/Currency.sol\";\nimport {BalanceDelta} from \"@uniswap/v4-core/src/types/BalanceDelta.sol\";\nimport {SafeCast} from \"@uniswap/v4-core/src/libraries/SafeCast.sol\";\nimport {Position} from \"@uniswap/v4-core/src/libraries/Position.sol\";\nimport {StateLibrary} from \"@uniswap/v4-core/src/libraries/StateLibrary.sol\";\nimport {TransientStateLibrary} from \"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\";\nimport {IAllowanceTransfer} from \"permit2/src/interfaces/IAllowanceTransfer.sol\";\nimport {TickMath} from \"@uniswap/v4-core/src/libraries/TickMath.sol\";\n\nimport {IPositionDescriptor} from \"./interfaces/IPositionDescriptor.sol\";\nimport {ERC721Permit_v4} from \"./base/ERC721Permit_v4.sol\";\nimport {ReentrancyLock} from \"./base/ReentrancyLock.sol\";\nimport {IPositionManager} from \"./interfaces/IPositionManager.sol\";\nimport {Multicall_v4} from \"./base/Multicall_v4.sol\";\nimport {PoolInitializer_v4} from \"./base/PoolInitializer_v4.sol\";\nimport {DeltaResolver} from \"./base/DeltaResolver.sol\";\nimport {BaseActionsRouter} from \"./base/BaseActionsRouter.sol\";\nimport {Actions} from \"./libraries/Actions.sol\";\nimport {Notifier} from \"./base/Notifier.sol\";\nimport {CalldataDecoder} from \"./libraries/CalldataDecoder.sol\";\nimport {Permit2Forwarder} from \"./base/Permit2Forwarder.sol\";\nimport {SlippageCheck} from \"./libraries/SlippageCheck.sol\";\nimport {PositionInfo, PositionInfoLibrary} from \"./libraries/PositionInfoLibrary.sol\";\nimport {LiquidityAmounts} from \"./libraries/LiquidityAmounts.sol\";\nimport {NativeWrapper} from \"./base/NativeWrapper.sol\";\nimport {IWETH9} from \"./interfaces/external/IWETH9.sol\";\n\n//                                           444444444\n//                                444444444444      444444\n//                              444              44     4444\n//                             44         4      44        444\n//                            44         44       44         44\n//                           44          44        44         44\n//                          44       444444          44        44\n//                         444          4444           4444    44\n//                         44             4444                 444444444444444444\n//                         44             44  4                44444           444444\n//        444444444444    44              4                444                      44\n//        44        44444444              4             444                         44\n//       444              44                          44                           444\n//        44               4  4444444444444444444444444           4444444444     4444\n//         44              44444444444444444444444444      444               44444\n//          444                                  44 44444444444444444444444444\n//           4444                             444444444444444444444444\n//              4444                      444444    444444444444444\n//                 44444              444444        44444444444444444444444\n//                     444444444444444    4           44444 44444444444444444444\n//                           444                          444444444444444444444444444\n//                           444                           44444  44444444444     44444444\n//                          444                               4   44444444444444   444444444\n//                         4444 444                               44 4444444444444     44444444\n//                         44  44444         44444444             44444444444444444444     44444\n//                        444 444444        4444  4444             444444444444444444     44  4444\n//                 4444   44  44444        44444444444             444444444444444444444    44444444\n//                     44444   4444        4444444444             444444444444444444444444     44444\n//                 44444 44444 444         444444                4444444444444444444444444       44444\n//                       4444 44         44                     4 44444444444444444444444444   444 44444\n//                   44444444 444  44   4    4         444444  4 44444444444444444444444444444   4444444\n//                        444444    44       44444444444       44444444444444 444444444444444      444444\n//                     444444 44   4444      44444       44     44444444444444444444444 4444444      44444\n//                   44    444444   44   444444444 444        4444444444444444444444444444444444   4444444\n//                       44  4444444444444    44  44  44       4444444444444444444444444444444       444444\n//                      44  44444444444444444444444444  4   44 4444444444444444444444444444444    4   444444\n//                     4    4444                     4    4 4444444444444444444444444              44 4444444\n//                          4444                          4444444444444444444444444    4   4444     44444444\n//                          4444                         444444444444444444444444  44444     44444 4444444444\n//                          44444  44                  444444444444444444444444444444444444444444444444444444\n//                          44444444444               4444444444444444444444444444444444444444444444444444444\n//                           4444444444444           44444444444444444444444444444444444444444444444444444444\n//                           444444444444444         444444444444444444444444444444444444444444444444444444444\n//                            44444444444444444     4444444444444444444444444444444444444444444444444444444444\n//                            44444444444444444     44444444444444444444444444444444444444444444444444444444\n//                            44444444444444444444  444444444444444444444444444444444444444444444444444444444\n//                            444444444444444444444 444444444444444444444444444444444444444444444444444444444\n//                              444444444444444444444 4444444444444444444444444444444444444444444444444444444\n//                              44444444444444444444444444444444444444444444444444444444444444444444444444444\n//                               444444444444444444444444444444444444444444444444444444444444444444444444444\n//                                44444444444444444444444444444444444444444444444444444444444444444444444444\n//                               44444444444444444444444444444444444444444444444444      444444444444444444\n//                             444444444444444444444444444444444444444444444444       44444444444444444444\n//                           444   444   444   44  444444444444444444444 4444      444444444444444444444\n//                           444  444    44    44  44444444 4444444444444       44444444444444444444444\n//                            444 444   4444   4444 4444444444444444         44444444444444444444444444\n//                      4444444444444444444444444444444444444444        44444444444444444444444444444\n//                       444        4444444444444444444444444       44444444444444444444444444444444\n//                          4444444       444444444444         4444444444444444444444444444444444\n//                             4444444444                 44444444444444444444444444444444444\n//                                444444444444444444444444444444444444444444444444444444\n//                                     44444444444444444444444444444444444444444\n//                                              4444444444444444444\n\n/// @notice The PositionManager (PosM) contract is responsible for creating liquidity positions on v4.\n/// PosM mints and manages ERC721 tokens associated with each position.\ncontract PositionManager is\n    IPositionManager,\n    ERC721Permit_v4,\n    PoolInitializer_v4,\n    Multicall_v4,\n    DeltaResolver,\n    ReentrancyLock,\n    BaseActionsRouter,\n    Notifier,\n    Permit2Forwarder,\n    NativeWrapper\n{\n    using StateLibrary for IPoolManager;\n    using TransientStateLibrary for IPoolManager;\n    using SafeCast for uint256;\n    using SafeCast for int256;\n    using CalldataDecoder for bytes;\n    using SlippageCheck for BalanceDelta;\n\n    /// @inheritdoc IPositionManager\n    /// @dev The ID of the next token that will be minted. Skips 0\n    uint256 public nextTokenId = 1;\n\n    IPositionDescriptor public immutable tokenDescriptor;\n\n    mapping(uint256 tokenId => PositionInfo info) public positionInfo;\n    mapping(bytes25 poolId => PoolKey poolKey) public poolKeys;\n\n    constructor(\n        IPoolManager _poolManager,\n        IAllowanceTransfer _permit2,\n        uint256 _unsubscribeGasLimit,\n        IPositionDescriptor _tokenDescriptor,\n        IWETH9 _weth9\n    )\n        BaseActionsRouter(_poolManager)\n        Permit2Forwarder(_permit2)\n        ERC721Permit_v4(\"Uniswap v4 Positions NFT\", \"UNI-V4-POSM\")\n        Notifier(_unsubscribeGasLimit)\n        NativeWrapper(_weth9)\n    {\n        tokenDescriptor = _tokenDescriptor;\n    }\n\n    /// @notice Reverts if the deadline has passed\n    /// @param deadline The timestamp at which the call is no longer valid, passed in by the caller\n    modifier checkDeadline(uint256 deadline) {\n        if (block.timestamp > deadline) revert DeadlinePassed(deadline);\n        _;\n    }\n\n    /// @notice Reverts if the caller is not the owner or approved for the ERC721 token\n    /// @param caller The address of the caller\n    /// @param tokenId the unique identifier of the ERC721 token\n    /// @dev either msg.sender or msgSender() is passed in as the caller\n    /// msgSender() should ONLY be used if this is called from within the unlockCallback, unless the codepath has reentrancy protection\n    modifier onlyIfApproved(address caller, uint256 tokenId) override {\n        if (!_isApprovedOrOwner(caller, tokenId)) revert NotApproved(caller);\n        _;\n    }\n\n    /// @notice Enforces that the PoolManager is locked.\n    modifier onlyIfPoolManagerLocked() override {\n        if (poolManager.isUnlocked()) revert PoolManagerMustBeLocked();\n        _;\n    }\n\n    function tokenURI(uint256 tokenId) public view override returns (string memory) {\n        return IPositionDescriptor(tokenDescriptor).tokenURI(this, tokenId);\n    }\n\n    /// @inheritdoc IPositionManager\n    function modifyLiquidities(bytes calldata unlockData, uint256 deadline)\n        external\n        payable\n        isNotLocked\n        checkDeadline(deadline)\n    {\n        _executeActions(unlockData);\n    }\n\n    /// @inheritdoc IPositionManager\n    function modifyLiquiditiesWithoutUnlock(bytes calldata actions, bytes[] calldata params)\n        external\n        payable\n        isNotLocked\n    {\n        _executeActionsWithoutUnlock(actions, params);\n    }\n\n    /// @inheritdoc BaseActionsRouter\n    function msgSender() public view override returns (address) {\n        return _getLocker();\n    }\n\n    function _handleAction(uint256 action, bytes calldata params) internal virtual override {\n        if (action < Actions.SETTLE) {\n            if (action == Actions.INCREASE_LIQUIDITY) {\n                (uint256 tokenId, uint256 liquidity, uint128 amount0Max, uint128 amount1Max, bytes calldata hookData) =\n                    params.decodeModifyLiquidityParams();\n                _increase(tokenId, liquidity, amount0Max, amount1Max, hookData);\n                return;\n            } else if (action == Actions.INCREASE_LIQUIDITY_FROM_DELTAS) {\n                (uint256 tokenId, uint128 amount0Max, uint128 amount1Max, bytes calldata hookData) =\n                    params.decodeIncreaseLiquidityFromDeltasParams();\n                _increaseFromDeltas(tokenId, amount0Max, amount1Max, hookData);\n                return;\n            } else if (action == Actions.DECREASE_LIQUIDITY) {\n                (uint256 tokenId, uint256 liquidity, uint128 amount0Min, uint128 amount1Min, bytes calldata hookData) =\n                    params.decodeModifyLiquidityParams();\n                _decrease(tokenId, liquidity, amount0Min, amount1Min, hookData);\n                return;\n            } else if (action == Actions.MINT_POSITION) {\n                (\n                    PoolKey calldata poolKey,\n                    int24 tickLower,\n                    int24 tickUpper,\n                    uint256 liquidity,\n                    uint128 amount0Max,\n                    uint128 amount1Max,\n                    address owner,\n                    bytes calldata hookData\n                ) = params.decodeMintParams();\n                _mint(poolKey, tickLower, tickUpper, liquidity, amount0Max, amount1Max, _mapRecipient(owner), hookData);\n                return;\n            } else if (action == Actions.MINT_POSITION_FROM_DELTAS) {\n                (\n                    PoolKey calldata poolKey,\n                    int24 tickLower,\n                    int24 tickUpper,\n                    uint128 amount0Max,\n                    uint128 amount1Max,\n                    address owner,\n                    bytes calldata hookData\n                ) = params.decodeMintFromDeltasParams();\n                _mintFromDeltas(poolKey, tickLower, tickUpper, amount0Max, amount1Max, _mapRecipient(owner), hookData);\n                return;\n            } else if (action == Actions.BURN_POSITION) {\n                // Will automatically decrease liquidity to 0 if the position is not already empty.\n                (uint256 tokenId, uint128 amount0Min, uint128 amount1Min, bytes calldata hookData) =\n                    params.decodeBurnParams();\n                _burn(tokenId, amount0Min, amount1Min, hookData);\n                return;\n            }\n        } else {\n            if (action == Actions.SETTLE_PAIR) {\n                (Currency currency0, Currency currency1) = params.decodeCurrencyPair();\n                _settlePair(currency0, currency1);\n                return;\n            } else if (action == Actions.TAKE_PAIR) {\n                (Currency currency0, Currency currency1, address recipient) = params.decodeCurrencyPairAndAddress();\n                _takePair(currency0, currency1, _mapRecipient(recipient));\n                return;\n            } else if (action == Actions.SETTLE) {\n                (Currency currency, uint256 amount, bool payerIsUser) = params.decodeCurrencyUint256AndBool();\n                _settle(currency, _mapPayer(payerIsUser), _mapSettleAmount(amount, currency));\n                return;\n            } else if (action == Actions.TAKE) {\n                (Currency currency, address recipient, uint256 amount) = params.decodeCurrencyAddressAndUint256();\n                _take(currency, _mapRecipient(recipient), _mapTakeAmount(amount, currency));\n                return;\n            } else if (action == Actions.CLOSE_CURRENCY) {\n                Currency currency = params.decodeCurrency();\n                _close(currency);\n                return;\n            } else if (action == Actions.CLEAR_OR_TAKE) {\n                (Currency currency, uint256 amountMax) = params.decodeCurrencyAndUint256();\n                _clearOrTake(currency, amountMax);\n                return;\n            } else if (action == Actions.SWEEP) {\n                (Currency currency, address to) = params.decodeCurrencyAndAddress();\n                _sweep(currency, _mapRecipient(to));\n                return;\n            } else if (action == Actions.WRAP) {\n                uint256 amount = params.decodeUint256();\n                _wrap(_mapWrapUnwrapAmount(CurrencyLibrary.ADDRESS_ZERO, amount, Currency.wrap(address(WETH9))));\n                return;\n            } else if (action == Actions.UNWRAP) {\n                uint256 amount = params.decodeUint256();\n                _unwrap(_mapWrapUnwrapAmount(Currency.wrap(address(WETH9)), amount, CurrencyLibrary.ADDRESS_ZERO));\n                return;\n            }\n        }\n        revert UnsupportedAction(action);\n    }\n\n    /// @dev Calling increase with 0 liquidity will credit the caller with any underlying fees of the position\n    function _increase(\n        uint256 tokenId,\n        uint256 liquidity,\n        uint128 amount0Max,\n        uint128 amount1Max,\n        bytes calldata hookData\n    ) internal onlyIfApproved(msgSender(), tokenId) {\n        (PoolKey memory poolKey, PositionInfo info) = getPoolAndPositionInfo(tokenId);\n\n        // Note: The tokenId is used as the salt for this position, so every minted position has unique storage in the pool manager.\n        (BalanceDelta liquidityDelta, BalanceDelta feesAccrued) =\n            _modifyLiquidity(info, poolKey, liquidity.toInt256(), bytes32(tokenId), hookData);\n        // Slippage checks should be done on the principal liquidityDelta which is the liquidityDelta - feesAccrued\n        (liquidityDelta - feesAccrued).validateMaxIn(amount0Max, amount1Max);\n    }\n\n    /// @dev The liquidity delta is derived from open deltas in the pool manager.\n    function _increaseFromDeltas(uint256 tokenId, uint128 amount0Max, uint128 amount1Max, bytes calldata hookData)\n        internal\n        onlyIfApproved(msgSender(), tokenId)\n    {\n        (PoolKey memory poolKey, PositionInfo info) = getPoolAndPositionInfo(tokenId);\n\n        uint256 liquidity;\n        {\n            (uint160 sqrtPriceX96,,,) = poolManager.getSlot0(poolKey.toId());\n\n            // Use the credit on the pool manager as the amounts for the mint.\n            liquidity = LiquidityAmounts.getLiquidityForAmounts(\n                sqrtPriceX96,\n                TickMath.getSqrtPriceAtTick(info.tickLower()),\n                TickMath.getSqrtPriceAtTick(info.tickUpper()),\n                _getFullCredit(poolKey.currency0),\n                _getFullCredit(poolKey.currency1)\n            );\n        }\n\n        // Note: The tokenId is used as the salt for this position, so every minted position has unique storage in the pool manager.\n        (BalanceDelta liquidityDelta, BalanceDelta feesAccrued) =\n            _modifyLiquidity(info, poolKey, liquidity.toInt256(), bytes32(tokenId), hookData);\n        // Slippage checks should be done on the principal liquidityDelta which is the liquidityDelta - feesAccrued\n        (liquidityDelta - feesAccrued).validateMaxIn(amount0Max, amount1Max);\n    }\n\n    /// @dev Calling decrease with 0 liquidity will credit the caller with any underlying fees of the position\n    function _decrease(\n        uint256 tokenId,\n        uint256 liquidity,\n        uint128 amount0Min,\n        uint128 amount1Min,\n        bytes calldata hookData\n    ) internal onlyIfApproved(msgSender(), tokenId) {\n        (PoolKey memory poolKey, PositionInfo info) = getPoolAndPositionInfo(tokenId);\n\n        // Note: the tokenId is used as the salt.\n        (BalanceDelta liquidityDelta, BalanceDelta feesAccrued) =\n            _modifyLiquidity(info, poolKey, -(liquidity.toInt256()), bytes32(tokenId), hookData);\n        // Slippage checks should be done on the principal liquidityDelta which is the liquidityDelta - feesAccrued\n        (liquidityDelta - feesAccrued).validateMinOut(amount0Min, amount1Min);\n    }\n\n    function _mint(\n        PoolKey calldata poolKey,\n        int24 tickLower,\n        int24 tickUpper,\n        uint256 liquidity,\n        uint128 amount0Max,\n        uint128 amount1Max,\n        address owner,\n        bytes calldata hookData\n    ) internal {\n        // mint receipt token\n        uint256 tokenId;\n        // tokenId is assigned to current nextTokenId before incrementing it\n        unchecked {\n            tokenId = nextTokenId++;\n        }\n        _mint(owner, tokenId);\n\n        // Initialize the position info\n        PositionInfo info = PositionInfoLibrary.initialize(poolKey, tickLower, tickUpper);\n        positionInfo[tokenId] = info;\n\n        // Store the poolKey if it is not already stored.\n        // On UniswapV4, the minimum tick spacing is 1, which means that if the tick spacing is 0, the pool key has not been set.\n        bytes25 poolId = info.poolId();\n        if (poolKeys[poolId].tickSpacing == 0) {\n            poolKeys[poolId] = poolKey;\n        }\n\n        // fee delta can be ignored as this is a new position\n        (BalanceDelta liquidityDelta,) =\n            _modifyLiquidity(info, poolKey, liquidity.toInt256(), bytes32(tokenId), hookData);\n        liquidityDelta.validateMaxIn(amount0Max, amount1Max);\n    }\n\n    function _mintFromDeltas(\n        PoolKey calldata poolKey,\n        int24 tickLower,\n        int24 tickUpper,\n        uint128 amount0Max,\n        uint128 amount1Max,\n        address owner,\n        bytes calldata hookData\n    ) internal {\n        (uint160 sqrtPriceX96,,,) = poolManager.getSlot0(poolKey.toId());\n\n        // Use the credit on the pool manager as the amounts for the mint.\n        uint256 liquidity = LiquidityAmounts.getLiquidityForAmounts(\n            sqrtPriceX96,\n            TickMath.getSqrtPriceAtTick(tickLower),\n            TickMath.getSqrtPriceAtTick(tickUpper),\n            _getFullCredit(poolKey.currency0),\n            _getFullCredit(poolKey.currency1)\n        );\n\n        _mint(poolKey, tickLower, tickUpper, liquidity, amount0Max, amount1Max, owner, hookData);\n    }\n\n    /// @dev this is overloaded with ERC721Permit_v4._burn\n    function _burn(uint256 tokenId, uint128 amount0Min, uint128 amount1Min, bytes calldata hookData)\n        internal\n        onlyIfApproved(msgSender(), tokenId)\n    {\n        (PoolKey memory poolKey, PositionInfo info) = getPoolAndPositionInfo(tokenId);\n\n        uint256 liquidity = uint256(_getLiquidity(tokenId, poolKey, info.tickLower(), info.tickUpper()));\n\n        address owner = ownerOf(tokenId);\n\n        // Clear the position info.\n        positionInfo[tokenId] = PositionInfoLibrary.EMPTY_POSITION_INFO;\n        // Burn the token.\n        _burn(tokenId);\n\n        // Can only call modify if there is non zero liquidity.\n        BalanceDelta feesAccrued;\n        if (liquidity > 0) {\n            BalanceDelta liquidityDelta;\n            // do not use _modifyLiquidity as we do not need to notify on modification for burns.\n            IPoolManager.ModifyLiquidityParams memory params = IPoolManager.ModifyLiquidityParams({\n                tickLower: info.tickLower(),\n                tickUpper: info.tickUpper(),\n                liquidityDelta: -(liquidity.toInt256()),\n                salt: bytes32(tokenId)\n            });\n            (liquidityDelta, feesAccrued) = poolManager.modifyLiquidity(poolKey, params, hookData);\n            // Slippage checks should be done on the principal liquidityDelta which is the liquidityDelta - feesAccrued\n            (liquidityDelta - feesAccrued).validateMinOut(amount0Min, amount1Min);\n        }\n\n        // deletes then notifies the subscriber\n        if (info.hasSubscriber()) _removeSubscriberAndNotifyBurn(tokenId, owner, info, liquidity, feesAccrued);\n    }\n\n    function _settlePair(Currency currency0, Currency currency1) internal {\n        // the locker is the payer when settling\n        address caller = msgSender();\n        _settle(currency0, caller, _getFullDebt(currency0));\n        _settle(currency1, caller, _getFullDebt(currency1));\n    }\n\n    function _takePair(Currency currency0, Currency currency1, address recipient) internal {\n        _take(currency0, recipient, _getFullCredit(currency0));\n        _take(currency1, recipient, _getFullCredit(currency1));\n    }\n\n    function _close(Currency currency) internal {\n        // this address has applied all deltas on behalf of the user/owner\n        // it is safe to close this entire delta because of slippage checks throughout the batched calls.\n        int256 currencyDelta = poolManager.currencyDelta(address(this), currency);\n\n        // the locker is the payer or receiver\n        address caller = msgSender();\n        if (currencyDelta < 0) {\n            // Casting is safe due to limits on the total supply of a pool\n            _settle(currency, caller, uint256(-currencyDelta));\n        } else {\n            _take(currency, caller, uint256(currencyDelta));\n        }\n    }\n\n    /// @dev integrators may elect to forfeit positive deltas with clear\n    /// if the forfeit amount exceeds the user-specified max, the amount is taken instead\n    /// if there is no credit, no call is made.\n    function _clearOrTake(Currency currency, uint256 amountMax) internal {\n        uint256 delta = _getFullCredit(currency);\n        if (delta == 0) return;\n\n        // forfeit the delta if its less than or equal to the user-specified limit\n        if (delta <= amountMax) {\n            poolManager.clear(currency, delta);\n        } else {\n            _take(currency, msgSender(), delta);\n        }\n    }\n\n    /// @notice Sweeps the entire contract balance of specified currency to the recipient\n    function _sweep(Currency currency, address to) internal {\n        uint256 balance = currency.balanceOfSelf();\n        if (balance > 0) currency.transfer(to, balance);\n    }\n\n    /// @dev if there is a subscriber attached to the position, this function will notify the subscriber\n    function _modifyLiquidity(\n        PositionInfo info,\n        PoolKey memory poolKey,\n        int256 liquidityChange,\n        bytes32 salt,\n        bytes calldata hookData\n    ) internal returns (BalanceDelta liquidityDelta, BalanceDelta feesAccrued) {\n        (liquidityDelta, feesAccrued) = poolManager.modifyLiquidity(\n            poolKey,\n            IPoolManager.ModifyLiquidityParams({\n                tickLower: info.tickLower(),\n                tickUpper: info.tickUpper(),\n                liquidityDelta: liquidityChange,\n                salt: salt\n            }),\n            hookData\n        );\n\n        if (info.hasSubscriber()) {\n            _notifyModifyLiquidity(uint256(salt), liquidityChange, feesAccrued);\n        }\n    }\n\n    // implementation of abstract function DeltaResolver._pay\n    function _pay(Currency currency, address payer, uint256 amount) internal override {\n        if (payer == address(this)) {\n            currency.transfer(address(poolManager), amount);\n        } else {\n            // Casting from uint256 to uint160 is safe due to limits on the total supply of a pool\n            permit2.transferFrom(payer, address(poolManager), uint160(amount), Currency.unwrap(currency));\n        }\n    }\n\n    /// @notice an internal helper used by Notifier\n    function _setSubscribed(uint256 tokenId) internal override {\n        positionInfo[tokenId] = positionInfo[tokenId].setSubscribe();\n    }\n\n    /// @notice an internal helper used by Notifier\n    function _setUnsubscribed(uint256 tokenId) internal override {\n        positionInfo[tokenId] = positionInfo[tokenId].setUnsubscribe();\n    }\n\n    /// @dev overrides solmate transferFrom in case a notification to subscribers is needed\n    /// @dev will revert if pool manager is locked\n    function transferFrom(address from, address to, uint256 id) public virtual override onlyIfPoolManagerLocked {\n        super.transferFrom(from, to, id);\n        if (positionInfo[id].hasSubscriber()) _unsubscribe(id);\n    }\n\n    /// @inheritdoc IPositionManager\n    function getPoolAndPositionInfo(uint256 tokenId) public view returns (PoolKey memory poolKey, PositionInfo info) {\n        info = positionInfo[tokenId];\n        poolKey = poolKeys[info.poolId()];\n    }\n\n    /// @inheritdoc IPositionManager\n    function getPositionLiquidity(uint256 tokenId) external view returns (uint128 liquidity) {\n        (PoolKey memory poolKey, PositionInfo info) = getPoolAndPositionInfo(tokenId);\n        liquidity = _getLiquidity(tokenId, poolKey, info.tickLower(), info.tickUpper());\n    }\n\n    function _getLiquidity(uint256 tokenId, PoolKey memory poolKey, int24 tickLower, int24 tickUpper)\n        internal\n        view\n        returns (uint128 liquidity)\n    {\n        bytes32 positionId = Position.calculatePositionKey(address(this), tickLower, tickUpper, bytes32(tokenId));\n        liquidity = poolManager.getPositionLiquidity(poolKey.toId(), positionId);\n    }\n}\n"},"@uniswap/v4-periphery/src/V4Router.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.26;\n\nimport {IPoolManager} from \"@uniswap/v4-core/src/interfaces/IPoolManager.sol\";\nimport {BalanceDelta} from \"@uniswap/v4-core/src/types/BalanceDelta.sol\";\nimport {PoolKey} from \"@uniswap/v4-core/src/types/PoolKey.sol\";\nimport {Currency} from \"@uniswap/v4-core/src/types/Currency.sol\";\nimport {TickMath} from \"@uniswap/v4-core/src/libraries/TickMath.sol\";\nimport {SafeCast} from \"@uniswap/v4-core/src/libraries/SafeCast.sol\";\n\nimport {PathKey} from \"./libraries/PathKey.sol\";\nimport {CalldataDecoder} from \"./libraries/CalldataDecoder.sol\";\nimport {IV4Router} from \"./interfaces/IV4Router.sol\";\nimport {BaseActionsRouter} from \"./base/BaseActionsRouter.sol\";\nimport {DeltaResolver} from \"./base/DeltaResolver.sol\";\nimport {Actions} from \"./libraries/Actions.sol\";\nimport {ActionConstants} from \"./libraries/ActionConstants.sol\";\nimport {BipsLibrary} from \"./libraries/BipsLibrary.sol\";\n\n/// @title UniswapV4Router\n/// @notice Abstract contract that contains all internal logic needed for routing through Uniswap v4 pools\n/// @dev the entry point to executing actions in this contract is calling `BaseActionsRouter._executeActions`\n/// An inheriting contract should call _executeActions at the point that they wish actions to be executed\nabstract contract V4Router is IV4Router, BaseActionsRouter, DeltaResolver {\n    using SafeCast for *;\n    using CalldataDecoder for bytes;\n    using BipsLibrary for uint256;\n\n    constructor(IPoolManager _poolManager) BaseActionsRouter(_poolManager) {}\n\n    function _handleAction(uint256 action, bytes calldata params) internal override {\n        // swap actions and payment actions in different blocks for gas efficiency\n        if (action < Actions.SETTLE) {\n            if (action == Actions.SWAP_EXACT_IN) {\n                IV4Router.ExactInputParams calldata swapParams = params.decodeSwapExactInParams();\n                _swapExactInput(swapParams);\n                return;\n            } else if (action == Actions.SWAP_EXACT_IN_SINGLE) {\n                IV4Router.ExactInputSingleParams calldata swapParams = params.decodeSwapExactInSingleParams();\n                _swapExactInputSingle(swapParams);\n                return;\n            } else if (action == Actions.SWAP_EXACT_OUT) {\n                IV4Router.ExactOutputParams calldata swapParams = params.decodeSwapExactOutParams();\n                _swapExactOutput(swapParams);\n                return;\n            } else if (action == Actions.SWAP_EXACT_OUT_SINGLE) {\n                IV4Router.ExactOutputSingleParams calldata swapParams = params.decodeSwapExactOutSingleParams();\n                _swapExactOutputSingle(swapParams);\n                return;\n            }\n        } else {\n            if (action == Actions.SETTLE_ALL) {\n                (Currency currency, uint256 maxAmount) = params.decodeCurrencyAndUint256();\n                uint256 amount = _getFullDebt(currency);\n                if (amount > maxAmount) revert V4TooMuchRequested(maxAmount, amount);\n                _settle(currency, msgSender(), amount);\n                return;\n            } else if (action == Actions.TAKE_ALL) {\n                (Currency currency, uint256 minAmount) = params.decodeCurrencyAndUint256();\n                uint256 amount = _getFullCredit(currency);\n                if (amount < minAmount) revert V4TooLittleReceived(minAmount, amount);\n                _take(currency, msgSender(), amount);\n                return;\n            } else if (action == Actions.SETTLE) {\n                (Currency currency, uint256 amount, bool payerIsUser) = params.decodeCurrencyUint256AndBool();\n                _settle(currency, _mapPayer(payerIsUser), _mapSettleAmount(amount, currency));\n                return;\n            } else if (action == Actions.TAKE) {\n                (Currency currency, address recipient, uint256 amount) = params.decodeCurrencyAddressAndUint256();\n                _take(currency, _mapRecipient(recipient), _mapTakeAmount(amount, currency));\n                return;\n            } else if (action == Actions.TAKE_PORTION) {\n                (Currency currency, address recipient, uint256 bips) = params.decodeCurrencyAddressAndUint256();\n                _take(currency, _mapRecipient(recipient), _getFullCredit(currency).calculatePortion(bips));\n                return;\n            }\n        }\n        revert UnsupportedAction(action);\n    }\n\n    function _swapExactInputSingle(IV4Router.ExactInputSingleParams calldata params) private {\n        uint128 amountIn = params.amountIn;\n        if (amountIn == ActionConstants.OPEN_DELTA) {\n            amountIn =\n                _getFullCredit(params.zeroForOne ? params.poolKey.currency0 : params.poolKey.currency1).toUint128();\n        }\n        uint128 amountOut =\n            _swap(params.poolKey, params.zeroForOne, -int256(uint256(amountIn)), params.hookData).toUint128();\n        if (amountOut < params.amountOutMinimum) revert V4TooLittleReceived(params.amountOutMinimum, amountOut);\n    }\n\n    function _swapExactInput(IV4Router.ExactInputParams calldata params) private {\n        unchecked {\n            // Caching for gas savings\n            uint256 pathLength = params.path.length;\n            uint128 amountOut;\n            Currency currencyIn = params.currencyIn;\n            uint128 amountIn = params.amountIn;\n            if (amountIn == ActionConstants.OPEN_DELTA) amountIn = _getFullCredit(currencyIn).toUint128();\n            PathKey calldata pathKey;\n\n            for (uint256 i = 0; i < pathLength; i++) {\n                pathKey = params.path[i];\n                (PoolKey memory poolKey, bool zeroForOne) = pathKey.getPoolAndSwapDirection(currencyIn);\n                // The output delta will always be positive, except for when interacting with certain hook pools\n                amountOut = _swap(poolKey, zeroForOne, -int256(uint256(amountIn)), pathKey.hookData).toUint128();\n\n                amountIn = amountOut;\n                currencyIn = pathKey.intermediateCurrency;\n            }\n\n            if (amountOut < params.amountOutMinimum) revert V4TooLittleReceived(params.amountOutMinimum, amountOut);\n        }\n    }\n\n    function _swapExactOutputSingle(IV4Router.ExactOutputSingleParams calldata params) private {\n        uint128 amountOut = params.amountOut;\n        if (amountOut == ActionConstants.OPEN_DELTA) {\n            amountOut =\n                _getFullDebt(params.zeroForOne ? params.poolKey.currency1 : params.poolKey.currency0).toUint128();\n        }\n        uint128 amountIn = (\n            uint256(-int256(_swap(params.poolKey, params.zeroForOne, int256(uint256(amountOut)), params.hookData)))\n        ).toUint128();\n        if (amountIn > params.amountInMaximum) revert V4TooMuchRequested(params.amountInMaximum, amountIn);\n    }\n\n    function _swapExactOutput(IV4Router.ExactOutputParams calldata params) private {\n        unchecked {\n            // Caching for gas savings\n            uint256 pathLength = params.path.length;\n            uint128 amountIn;\n            uint128 amountOut = params.amountOut;\n            Currency currencyOut = params.currencyOut;\n            PathKey calldata pathKey;\n\n            if (amountOut == ActionConstants.OPEN_DELTA) {\n                amountOut = _getFullDebt(currencyOut).toUint128();\n            }\n\n            for (uint256 i = pathLength; i > 0; i--) {\n                pathKey = params.path[i - 1];\n                (PoolKey memory poolKey, bool oneForZero) = pathKey.getPoolAndSwapDirection(currencyOut);\n                // The output delta will always be negative, except for when interacting with certain hook pools\n                amountIn = (uint256(-int256(_swap(poolKey, !oneForZero, int256(uint256(amountOut)), pathKey.hookData))))\n                    .toUint128();\n\n                amountOut = amountIn;\n                currencyOut = pathKey.intermediateCurrency;\n            }\n            if (amountIn > params.amountInMaximum) revert V4TooMuchRequested(params.amountInMaximum, amountIn);\n        }\n    }\n\n    function _swap(PoolKey memory poolKey, bool zeroForOne, int256 amountSpecified, bytes calldata hookData)\n        private\n        returns (int128 reciprocalAmount)\n    {\n        // for protection of exactOut swaps, sqrtPriceLimit is not exposed as a feature in this contract\n        unchecked {\n            BalanceDelta delta = poolManager.swap(\n                poolKey,\n                IPoolManager.SwapParams(\n                    zeroForOne, amountSpecified, zeroForOne ? TickMath.MIN_SQRT_PRICE + 1 : TickMath.MAX_SQRT_PRICE - 1\n                ),\n                hookData\n            );\n\n            reciprocalAmount = (zeroForOne == amountSpecified < 0) ? delta.amount1() : delta.amount0();\n        }\n    }\n}\n"},"contracts/base/Dispatcher.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\nimport {V2SwapRouter} from '../modules/uniswap/v2/V2SwapRouter.sol';\nimport {V3SwapRouter} from '../modules/uniswap/v3/V3SwapRouter.sol';\nimport {V4SwapRouter} from '../modules/uniswap/v4/V4SwapRouter.sol';\nimport {BytesLib} from '../modules/uniswap/v3/BytesLib.sol';\nimport {Payments} from '../modules/Payments.sol';\nimport {PaymentsImmutables} from '../modules/PaymentsImmutables.sol';\nimport {V3ToV4Migrator} from '../modules/V3ToV4Migrator.sol';\nimport {Commands} from '../libraries/Commands.sol';\nimport {Lock} from './Lock.sol';\nimport {ERC20} from 'solmate/src/tokens/ERC20.sol';\nimport {IAllowanceTransfer} from 'permit2/src/interfaces/IAllowanceTransfer.sol';\nimport {ActionConstants} from '@uniswap/v4-periphery/src/libraries/ActionConstants.sol';\nimport {CalldataDecoder} from '@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol';\nimport {PoolKey} from '@uniswap/v4-core/src/types/PoolKey.sol';\nimport {IPoolManager} from '@uniswap/v4-core/src/interfaces/IPoolManager.sol';\n\n/// @title Decodes and Executes Commands\n/// @notice Called by the UniversalRouter contract to efficiently decode and execute a singular command\nabstract contract Dispatcher is Payments, V2SwapRouter, V3SwapRouter, V4SwapRouter, V3ToV4Migrator, Lock {\n    using BytesLib for bytes;\n    using CalldataDecoder for bytes;\n\n    error InvalidCommandType(uint256 commandType);\n    error BalanceTooLow();\n\n    /// @notice Executes encoded commands along with provided inputs.\n    /// @param commands A set of concatenated commands, each 1 byte in length\n    /// @param inputs An array of byte strings containing abi encoded inputs for each command\n    function execute(bytes calldata commands, bytes[] calldata inputs) external payable virtual;\n\n    /// @notice Public view function to be used instead of msg.sender, as the contract performs self-reentrancy and at\n    /// times msg.sender == address(this). Instead msgSender() returns the initiator of the lock\n    /// @dev overrides BaseActionsRouter.msgSender in V4Router\n    function msgSender() public view override returns (address) {\n        return _getLocker();\n    }\n\n    /// @notice Decodes and executes the given command with the given inputs\n    /// @param commandType The command type to execute\n    /// @param inputs The inputs to execute the command with\n    /// @dev 2 masks are used to enable use of a nested-if statement in execution for efficiency reasons\n    /// @return success True on success of the command, false on failure\n    /// @return output The outputs or error messages, if any, from the command\n    function dispatch(bytes1 commandType, bytes calldata inputs) internal returns (bool success, bytes memory output) {\n        uint256 command = uint8(commandType & Commands.COMMAND_TYPE_MASK);\n\n        success = true;\n\n        // 0x00 <= command < 0x21\n        if (command < Commands.EXECUTE_SUB_PLAN) {\n            // 0x00 <= command < 0x10\n            if (command < Commands.V4_SWAP) {\n                // 0x00 <= command < 0x08\n                if (command < Commands.V2_SWAP_EXACT_IN) {\n                    if (command == Commands.V3_SWAP_EXACT_IN) {\n                        // equivalent: abi.decode(inputs, (address, uint256, uint256, bytes, bool))\n                        address recipient;\n                        uint256 amountIn;\n                        uint256 amountOutMin;\n                        bool payerIsUser;\n                        assembly {\n                            recipient := calldataload(inputs.offset)\n                            amountIn := calldataload(add(inputs.offset, 0x20))\n                            amountOutMin := calldataload(add(inputs.offset, 0x40))\n                            // 0x60 offset is the path, decoded below\n                            payerIsUser := calldataload(add(inputs.offset, 0x80))\n                        }\n                        bytes calldata path = inputs.toBytes(3);\n                        address payer = payerIsUser ? msgSender() : address(this);\n                        v3SwapExactInput(map(recipient), amountIn, amountOutMin, path, payer);\n                    } else if (command == Commands.V3_SWAP_EXACT_OUT) {\n                        // equivalent: abi.decode(inputs, (address, uint256, uint256, bytes, bool))\n                        address recipient;\n                        uint256 amountOut;\n                        uint256 amountInMax;\n                        bool payerIsUser;\n                        assembly {\n                            recipient := calldataload(inputs.offset)\n                            amountOut := calldataload(add(inputs.offset, 0x20))\n                            amountInMax := calldataload(add(inputs.offset, 0x40))\n                            // 0x60 offset is the path, decoded below\n                            payerIsUser := calldataload(add(inputs.offset, 0x80))\n                        }\n                        bytes calldata path = inputs.toBytes(3);\n                        address payer = payerIsUser ? msgSender() : address(this);\n                        v3SwapExactOutput(map(recipient), amountOut, amountInMax, path, payer);\n                    } else if (command == Commands.PERMIT2_TRANSFER_FROM) {\n                        // equivalent: abi.decode(inputs, (address, address, uint160))\n                        address token;\n                        address recipient;\n                        uint160 amount;\n                        assembly {\n                            token := calldataload(inputs.offset)\n                            recipient := calldataload(add(inputs.offset, 0x20))\n                            amount := calldataload(add(inputs.offset, 0x40))\n                        }\n                        permit2TransferFrom(token, msgSender(), map(recipient), amount);\n                    } else if (command == Commands.PERMIT2_PERMIT_BATCH) {\n                        IAllowanceTransfer.PermitBatch calldata permitBatch;\n                        assembly {\n                            // this is a variable length struct, so calldataload(inputs.offset) contains the\n                            // offset from inputs.offset at which the struct begins\n                            permitBatch := add(inputs.offset, calldataload(inputs.offset))\n                        }\n                        bytes calldata data = inputs.toBytes(1);\n                        (success, output) = address(PERMIT2).call(\n                            abi.encodeWithSignature(\n                                'permit(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)',\n                                msgSender(),\n                                permitBatch,\n                                data\n                            )\n                        );\n                    } else if (command == Commands.SWEEP) {\n                        // equivalent:  abi.decode(inputs, (address, address, uint256))\n                        address token;\n                        address recipient;\n                        uint160 amountMin;\n                        assembly {\n                            token := calldataload(inputs.offset)\n                            recipient := calldataload(add(inputs.offset, 0x20))\n                            amountMin := calldataload(add(inputs.offset, 0x40))\n                        }\n                        Payments.sweep(token, map(recipient), amountMin);\n                    } else if (command == Commands.TRANSFER) {\n                        // equivalent:  abi.decode(inputs, (address, address, uint256))\n                        address token;\n                        address recipient;\n                        uint256 value;\n                        assembly {\n                            token := calldataload(inputs.offset)\n                            recipient := calldataload(add(inputs.offset, 0x20))\n                            value := calldataload(add(inputs.offset, 0x40))\n                        }\n                        Payments.pay(token, map(recipient), value);\n                    } else if (command == Commands.PAY_PORTION) {\n                        // equivalent:  abi.decode(inputs, (address, address, uint256))\n                        address token;\n                        address recipient;\n                        uint256 bips;\n                        assembly {\n                            token := calldataload(inputs.offset)\n                            recipient := calldataload(add(inputs.offset, 0x20))\n                            bips := calldataload(add(inputs.offset, 0x40))\n                        }\n                        Payments.payPortion(token, map(recipient), bips);\n                    } else {\n                        // placeholder area for command 0x07\n                        revert InvalidCommandType(command);\n                    }\n                } else {\n                    // 0x08 <= command < 0x10\n                    if (command == Commands.V2_SWAP_EXACT_IN) {\n                        // equivalent: abi.decode(inputs, (address, uint256, uint256, bytes, bool))\n                        address recipient;\n                        uint256 amountIn;\n                        uint256 amountOutMin;\n                        bool payerIsUser;\n                        assembly {\n                            recipient := calldataload(inputs.offset)\n                            amountIn := calldataload(add(inputs.offset, 0x20))\n                            amountOutMin := calldataload(add(inputs.offset, 0x40))\n                            // 0x60 offset is the path, decoded below\n                            payerIsUser := calldataload(add(inputs.offset, 0x80))\n                        }\n                        address[] calldata path = inputs.toAddressArray(3);\n                        address payer = payerIsUser ? msgSender() : address(this);\n                        v2SwapExactInput(map(recipient), amountIn, amountOutMin, path, payer);\n                    } else if (command == Commands.V2_SWAP_EXACT_OUT) {\n                        // equivalent: abi.decode(inputs, (address, uint256, uint256, bytes, bool))\n                        address recipient;\n                        uint256 amountOut;\n                        uint256 amountInMax;\n                        bool payerIsUser;\n                        assembly {\n                            recipient := calldataload(inputs.offset)\n                            amountOut := calldataload(add(inputs.offset, 0x20))\n                            amountInMax := calldataload(add(inputs.offset, 0x40))\n                            // 0x60 offset is the path, decoded below\n                            payerIsUser := calldataload(add(inputs.offset, 0x80))\n                        }\n                        address[] calldata path = inputs.toAddressArray(3);\n                        address payer = payerIsUser ? msgSender() : address(this);\n                        v2SwapExactOutput(map(recipient), amountOut, amountInMax, path, payer);\n                    } else if (command == Commands.PERMIT2_PERMIT) {\n                        // equivalent: abi.decode(inputs, (IAllowanceTransfer.PermitSingle, bytes))\n                        IAllowanceTransfer.PermitSingle calldata permitSingle;\n                        assembly {\n                            permitSingle := inputs.offset\n                        }\n                        bytes calldata data = inputs.toBytes(6); // PermitSingle takes first 6 slots (0..5)\n                        (success, output) = address(PERMIT2).call(\n                            abi.encodeWithSignature(\n                                'permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)',\n                                msgSender(),\n                                permitSingle,\n                                data\n                            )\n                        );\n                    } else if (command == Commands.WRAP_ETH) {\n                        // equivalent: abi.decode(inputs, (address, uint256))\n                        address recipient;\n                        uint256 amount;\n                        assembly {\n                            recipient := calldataload(inputs.offset)\n                            amount := calldataload(add(inputs.offset, 0x20))\n                        }\n                        Payments.wrapETH(map(recipient), amount);\n                    } else if (command == Commands.UNWRAP_WETH) {\n                        // equivalent: abi.decode(inputs, (address, uint256))\n                        address recipient;\n                        uint256 amountMin;\n                        assembly {\n                            recipient := calldataload(inputs.offset)\n                            amountMin := calldataload(add(inputs.offset, 0x20))\n                        }\n                        Payments.unwrapWETH9(map(recipient), amountMin);\n                    } else if (command == Commands.PERMIT2_TRANSFER_FROM_BATCH) {\n                        IAllowanceTransfer.AllowanceTransferDetails[] calldata batchDetails;\n                        (uint256 length, uint256 offset) = inputs.toLengthOffset(0);\n                        assembly {\n                            batchDetails.length := length\n                            batchDetails.offset := offset\n                        }\n                        permit2TransferFrom(batchDetails, msgSender());\n                    } else if (command == Commands.BALANCE_CHECK_ERC20) {\n                        // equivalent: abi.decode(inputs, (address, address, uint256))\n                        address owner;\n                        address token;\n                        uint256 minBalance;\n                        assembly {\n                            owner := calldataload(inputs.offset)\n                            token := calldataload(add(inputs.offset, 0x20))\n                            minBalance := calldataload(add(inputs.offset, 0x40))\n                        }\n                        success = (ERC20(token).balanceOf(owner) >= minBalance);\n                        if (!success) output = abi.encodePacked(BalanceTooLow.selector);\n                    } else {\n                        // placeholder area for command 0x0f\n                        revert InvalidCommandType(command);\n                    }\n                }\n            } else {\n                // 0x10 <= command < 0x21\n                if (command == Commands.V4_SWAP) {\n                    // pass the calldata provided to V4SwapRouter._executeActions (defined in BaseActionsRouter)\n                    _executeActions(inputs);\n                    // This contract MUST be approved to spend the token since its going to be doing the call on the position manager\n                } else if (command == Commands.V3_POSITION_MANAGER_PERMIT) {\n                    _checkV3PermitCall(inputs);\n                    (success, output) = address(V3_POSITION_MANAGER).call(inputs);\n                } else if (command == Commands.V3_POSITION_MANAGER_CALL) {\n                    _checkV3PositionManagerCall(inputs, msgSender());\n                    (success, output) = address(V3_POSITION_MANAGER).call(inputs);\n                } else if (command == Commands.V4_INITIALIZE_POOL) {\n                    PoolKey calldata poolKey;\n                    uint160 sqrtPriceX96;\n                    assembly {\n                        poolKey := inputs.offset\n                        sqrtPriceX96 := calldataload(add(inputs.offset, 0xa0))\n                    }\n                    (success, output) =\n                        address(poolManager).call(abi.encodeCall(IPoolManager.initialize, (poolKey, sqrtPriceX96)));\n                } else if (command == Commands.V4_POSITION_MANAGER_CALL) {\n                    // should only call modifyLiquidities() to mint\n                    _checkV4PositionManagerCall(inputs);\n                    (success, output) = address(V4_POSITION_MANAGER).call{value: address(this).balance}(inputs);\n                } else {\n                    // placeholder area for commands 0x15-0x20\n                    revert InvalidCommandType(command);\n                }\n            }\n        } else {\n            // 0x21 <= command\n            if (command == Commands.EXECUTE_SUB_PLAN) {\n                (bytes calldata _commands, bytes[] calldata _inputs) = inputs.decodeCommandsAndInputs();\n                (success, output) = (address(this)).call(abi.encodeCall(Dispatcher.execute, (_commands, _inputs)));\n            } else {\n                // placeholder area for commands 0x22-0x3f\n                revert InvalidCommandType(command);\n            }\n        }\n    }\n\n    /// @notice Calculates the recipient address for a command\n    /// @param recipient The recipient or recipient-flag for the command\n    /// @return output The resultant recipient for the command\n    function map(address recipient) internal view returns (address) {\n        if (recipient == ActionConstants.MSG_SENDER) {\n            return msgSender();\n        } else if (recipient == ActionConstants.ADDRESS_THIS) {\n            return address(this);\n        } else {\n            return recipient;\n        }\n    }\n}\n"},"contracts/base/Lock.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\nimport {Locker} from '../libraries/Locker.sol';\n\n/// @title Lock\n/// @notice A contract that provides a reentrancy lock for external calls\ncontract Lock {\n    /// @notice Thrown when attempting to reenter a locked function from an external caller\n    error ContractLocked();\n\n    /// @notice Modifier enforcing a reentrancy lock that allows self-reentrancy\n    /// @dev If the contract is not locked, use msg.sender as the locker\n    modifier isNotLocked() {\n        // Apply a reentrancy lock for all external callers\n        if (msg.sender != address(this)) {\n            if (Locker.isLocked()) revert ContractLocked();\n            Locker.set(msg.sender);\n            _;\n            Locker.set(address(0));\n        } else {\n            // The contract is allowed to reenter itself, so the lock is not checked\n            _;\n        }\n    }\n\n    /// @notice return the current locker of the contract\n    function _getLocker() internal view returns (address) {\n        return Locker.get();\n    }\n}\n"},"contracts/deploy/UnsupportedProtocol.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\n/// @title Dummy contract that always reverts\n/// @notice Used as a placeholder to ensure reverts on attempted calls to protocols unsupported on a given chain\ncontract UnsupportedProtocol {\n    error UnsupportedProtocolError();\n\n    fallback() external {\n        revert UnsupportedProtocolError();\n    }\n}\n"},"contracts/interfaces/IUniversalRouter.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\ninterface IUniversalRouter {\n    /// @notice Thrown when a required command has failed\n    error ExecutionFailed(uint256 commandIndex, bytes message);\n\n    /// @notice Thrown when attempting to send ETH directly to the contract\n    error ETHNotAccepted();\n\n    /// @notice Thrown when executing commands with an expired deadline\n    error TransactionDeadlinePassed();\n\n    /// @notice Thrown when attempting to execute commands and an incorrect number of inputs are provided\n    error LengthMismatch();\n\n    // @notice Thrown when an address that isn't WETH tries to send ETH to the router without calldata\n    error InvalidEthSender();\n\n    /// @notice Executes encoded commands along with provided inputs. Reverts if deadline has expired.\n    /// @param commands A set of concatenated commands, each 1 byte in length\n    /// @param inputs An array of byte strings containing abi encoded inputs for each command\n    /// @param deadline The deadline by which the transaction must be executed\n    function execute(bytes calldata commands, bytes[] calldata inputs, uint256 deadline) external payable;\n}\n"},"contracts/libraries/Commands.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\n/// @title Commands\n/// @notice Command Flags used to decode commands\nlibrary Commands {\n    // Masks to extract certain bits of commands\n    bytes1 internal constant FLAG_ALLOW_REVERT = 0x80;\n    bytes1 internal constant COMMAND_TYPE_MASK = 0x3f;\n\n    // Command Types. Maximum supported command at this moment is 0x3f.\n    // The commands are executed in nested if blocks to minimise gas consumption\n\n    // Command Types where value<=0x07, executed in the first nested-if block\n    uint256 constant V3_SWAP_EXACT_IN = 0x00;\n    uint256 constant V3_SWAP_EXACT_OUT = 0x01;\n    uint256 constant PERMIT2_TRANSFER_FROM = 0x02;\n    uint256 constant PERMIT2_PERMIT_BATCH = 0x03;\n    uint256 constant SWEEP = 0x04;\n    uint256 constant TRANSFER = 0x05;\n    uint256 constant PAY_PORTION = 0x06;\n    // COMMAND_PLACEHOLDER = 0x07;\n\n    // Command Types where 0x08<=value<=0x0f, executed in the second nested-if block\n    uint256 constant V2_SWAP_EXACT_IN = 0x08;\n    uint256 constant V2_SWAP_EXACT_OUT = 0x09;\n    uint256 constant PERMIT2_PERMIT = 0x0a;\n    uint256 constant WRAP_ETH = 0x0b;\n    uint256 constant UNWRAP_WETH = 0x0c;\n    uint256 constant PERMIT2_TRANSFER_FROM_BATCH = 0x0d;\n    uint256 constant BALANCE_CHECK_ERC20 = 0x0e;\n    // COMMAND_PLACEHOLDER = 0x0f;\n\n    // Command Types where 0x10<=value<=0x20, executed in the third nested-if block\n    uint256 constant V4_SWAP = 0x10;\n    uint256 constant V3_POSITION_MANAGER_PERMIT = 0x11;\n    uint256 constant V3_POSITION_MANAGER_CALL = 0x12;\n    uint256 constant V4_INITIALIZE_POOL = 0x13;\n    uint256 constant V4_POSITION_MANAGER_CALL = 0x14;\n    // COMMAND_PLACEHOLDER = 0x15 -> 0x20\n\n    // Command Types where 0x21<=value<=0x3f\n    uint256 constant EXECUTE_SUB_PLAN = 0x21;\n    // COMMAND_PLACEHOLDER for 0x22 to 0x3f\n}\n"},"contracts/libraries/Constants.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\n/// @title Constant state\n/// @notice Constant state used by the Universal Router\nlibrary Constants {\n    /// @dev Used for identifying cases when a v2 pair has already received input tokens\n    uint256 internal constant ALREADY_PAID = 0;\n\n    /// @dev Used as a flag for identifying the transfer of ETH instead of a token\n    address internal constant ETH = address(0);\n\n    /// @dev The length of the bytes encoded address\n    uint256 internal constant ADDR_SIZE = 20;\n\n    /// @dev The length of the bytes encoded fee\n    uint256 internal constant V3_FEE_SIZE = 3;\n\n    /// @dev The offset of a single token address (20) and pool fee (3)\n    uint256 internal constant NEXT_V3_POOL_OFFSET = ADDR_SIZE + V3_FEE_SIZE;\n\n    /// @dev The offset of an encoded pool key\n    /// Token (20) + Fee (3) + Token (20) = 43\n    uint256 internal constant V3_POP_OFFSET = NEXT_V3_POOL_OFFSET + ADDR_SIZE;\n\n    /// @dev The minimum length of an encoding that contains 2 or more pools\n    uint256 internal constant MULTIPLE_V3_POOLS_MIN_LENGTH = V3_POP_OFFSET + NEXT_V3_POOL_OFFSET;\n}\n"},"contracts/libraries/Locker.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\n/// @notice A library to implement a reentrancy lock in transient storage.\n/// @dev Instead of storing a boolean, the locker's address is stored to allow the contract to know who locked the contract\n/// TODO: This library can be deleted when we have the transient keyword support in solidity.\nlibrary Locker {\n    // The slot holding the locker state, transiently. bytes32(uint256(keccak256(\"Locker\")) - 1)\n    bytes32 constant LOCKER_SLOT = 0x0e87e1788ebd9ed6a7e63c70a374cd3283e41cad601d21fbe27863899ed4a708;\n\n    function set(address locker) internal {\n        // The locker is always msg.sender or address(0) so does not need to be cleaned\n        assembly (\"memory-safe\") {\n            tstore(LOCKER_SLOT, locker)\n        }\n    }\n\n    function get() internal view returns (address locker) {\n        assembly (\"memory-safe\") {\n            locker := tload(LOCKER_SLOT)\n        }\n    }\n\n    function isLocked() internal view returns (bool) {\n        return Locker.get() != address(0);\n    }\n}\n"},"contracts/libraries/MaxInputAmount.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\n/// @notice A library used to store the maximum desired amount of input tokens for exact output swaps; used for checking slippage\nlibrary MaxInputAmount {\n    // The slot holding the the maximum desired amount of input tokens, transiently. bytes32(uint256(keccak256(\"MaxAmountIn\")) - 1)\n    bytes32 constant MAX_AMOUNT_IN_SLOT = 0xaf28d9864a81dfdf71cab65f4e5d79a0cf9b083905fb8971425e6cb581b3f692;\n\n    function set(uint256 maxAmountIn) internal {\n        assembly (\"memory-safe\") {\n            tstore(MAX_AMOUNT_IN_SLOT, maxAmountIn)\n        }\n    }\n\n    function get() internal view returns (uint256 maxAmountIn) {\n        assembly (\"memory-safe\") {\n            maxAmountIn := tload(MAX_AMOUNT_IN_SLOT)\n        }\n    }\n}\n"},"contracts/modules/MigratorImmutables.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\nimport {INonfungiblePositionManager} from '@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol';\nimport {IPositionManager} from '@uniswap/v4-periphery/src/interfaces/IPositionManager.sol';\nimport {IPoolManager} from '@uniswap/v4-core/src/interfaces/IPoolManager.sol';\n\nstruct MigratorParameters {\n    address v3PositionManager;\n    address v4PositionManager;\n}\n\n/// @title Migrator Immutables\n/// @notice Immutable state for liquidity-migration contracts\ncontract MigratorImmutables {\n    /// @notice v3 PositionManager address\n    INonfungiblePositionManager public immutable V3_POSITION_MANAGER;\n    /// @notice v4 PositionManager address\n    IPositionManager public immutable V4_POSITION_MANAGER;\n\n    constructor(MigratorParameters memory params) {\n        V3_POSITION_MANAGER = INonfungiblePositionManager(params.v3PositionManager);\n        V4_POSITION_MANAGER = IPositionManager(params.v4PositionManager);\n    }\n}\n"},"contracts/modules/Payments.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\nimport {Constants} from '../libraries/Constants.sol';\nimport {ActionConstants} from '@uniswap/v4-periphery/src/libraries/ActionConstants.sol';\nimport {BipsLibrary} from '@uniswap/v4-periphery/src/libraries/BipsLibrary.sol';\nimport {PaymentsImmutables} from '../modules/PaymentsImmutables.sol';\nimport {SafeTransferLib} from 'solmate/src/utils/SafeTransferLib.sol';\nimport {ERC20} from 'solmate/src/tokens/ERC20.sol';\n\n/// @title Payments contract\n/// @notice Performs various operations around the payment of ETH and tokens\nabstract contract Payments is PaymentsImmutables {\n    using SafeTransferLib for ERC20;\n    using SafeTransferLib for address;\n    using BipsLibrary for uint256;\n\n    error InsufficientToken();\n    error InsufficientETH();\n\n    /// @notice Pays an amount of ETH or ERC20 to a recipient\n    /// @param token The token to pay (can be ETH using Constants.ETH)\n    /// @param recipient The address that will receive the payment\n    /// @param value The amount to pay\n    function pay(address token, address recipient, uint256 value) internal {\n        if (token == Constants.ETH) {\n            recipient.safeTransferETH(value);\n        } else {\n            if (value == ActionConstants.CONTRACT_BALANCE) {\n                value = ERC20(token).balanceOf(address(this));\n            }\n\n            ERC20(token).safeTransfer(recipient, value);\n        }\n    }\n\n    /// @notice Pays a proportion of the contract's ETH or ERC20 to a recipient\n    /// @param token The token to pay (can be ETH using Constants.ETH)\n    /// @param recipient The address that will receive payment\n    /// @param bips Portion in bips of whole balance of the contract\n    function payPortion(address token, address recipient, uint256 bips) internal {\n        if (token == Constants.ETH) {\n            uint256 balance = address(this).balance;\n            uint256 amount = balance.calculatePortion(bips);\n            recipient.safeTransferETH(amount);\n        } else {\n            uint256 balance = ERC20(token).balanceOf(address(this));\n            uint256 amount = balance.calculatePortion(bips);\n            ERC20(token).safeTransfer(recipient, amount);\n        }\n    }\n\n    /// @notice Sweeps all of the contract's ERC20 or ETH to an address\n    /// @param token The token to sweep (can be ETH using Constants.ETH)\n    /// @param recipient The address that will receive payment\n    /// @param amountMinimum The minimum desired amount\n    function sweep(address token, address recipient, uint256 amountMinimum) internal {\n        uint256 balance;\n        if (token == Constants.ETH) {\n            balance = address(this).balance;\n            if (balance < amountMinimum) revert InsufficientETH();\n            if (balance > 0) recipient.safeTransferETH(balance);\n        } else {\n            balance = ERC20(token).balanceOf(address(this));\n            if (balance < amountMinimum) revert InsufficientToken();\n            if (balance > 0) ERC20(token).safeTransfer(recipient, balance);\n        }\n    }\n\n    /// @notice Wraps an amount of ETH into WETH\n    /// @param recipient The recipient of the WETH\n    /// @param amount The amount to wrap (can be CONTRACT_BALANCE)\n    function wrapETH(address recipient, uint256 amount) internal {\n        if (amount == ActionConstants.CONTRACT_BALANCE) {\n            amount = address(this).balance;\n        } else if (amount > address(this).balance) {\n            revert InsufficientETH();\n        }\n        if (amount > 0) {\n            WETH9.deposit{value: amount}();\n            if (recipient != address(this)) {\n                WETH9.transfer(recipient, amount);\n            }\n        }\n    }\n\n    /// @notice Unwraps all of the contract's WETH into ETH\n    /// @param recipient The recipient of the ETH\n    /// @param amountMinimum The minimum amount of ETH desired\n    function unwrapWETH9(address recipient, uint256 amountMinimum) internal {\n        uint256 value = WETH9.balanceOf(address(this));\n        if (value < amountMinimum) {\n            revert InsufficientETH();\n        }\n        if (value > 0) {\n            WETH9.withdraw(value);\n            if (recipient != address(this)) {\n                recipient.safeTransferETH(value);\n            }\n        }\n    }\n}\n"},"contracts/modules/PaymentsImmutables.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\nimport {IWETH9} from '@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol';\nimport {IPermit2} from 'permit2/src/interfaces/IPermit2.sol';\n\nstruct PaymentsParameters {\n    address permit2;\n    address weth9;\n}\n\ncontract PaymentsImmutables {\n    /// @notice WETH9 address\n    IWETH9 internal immutable WETH9;\n\n    /// @notice Permit2 address\n    IPermit2 internal immutable PERMIT2;\n\n    constructor(PaymentsParameters memory params) {\n        WETH9 = IWETH9(params.weth9);\n        PERMIT2 = IPermit2(params.permit2);\n    }\n}\n"},"contracts/modules/Permit2Payments.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\nimport {IAllowanceTransfer} from 'permit2/src/interfaces/IAllowanceTransfer.sol';\nimport {SafeCast160} from 'permit2/src/libraries/SafeCast160.sol';\nimport {Payments} from './Payments.sol';\n\n/// @title Payments through Permit2\n/// @notice Performs interactions with Permit2 to transfer tokens\nabstract contract Permit2Payments is Payments {\n    using SafeCast160 for uint256;\n\n    error FromAddressIsNotOwner();\n\n    /// @notice Performs a transferFrom on Permit2\n    /// @param token The token to transfer\n    /// @param from The address to transfer from\n    /// @param to The recipient of the transfer\n    /// @param amount The amount to transfer\n    function permit2TransferFrom(address token, address from, address to, uint160 amount) internal {\n        PERMIT2.transferFrom(from, to, amount, token);\n    }\n\n    /// @notice Performs a batch transferFrom on Permit2\n    /// @param batchDetails An array detailing each of the transfers that should occur\n    /// @param owner The address that should be the owner of all transfers\n    function permit2TransferFrom(IAllowanceTransfer.AllowanceTransferDetails[] calldata batchDetails, address owner)\n        internal\n    {\n        uint256 batchLength = batchDetails.length;\n        for (uint256 i = 0; i < batchLength; ++i) {\n            if (batchDetails[i].from != owner) revert FromAddressIsNotOwner();\n        }\n        PERMIT2.transferFrom(batchDetails);\n    }\n\n    /// @notice Either performs a regular payment or transferFrom on Permit2, depending on the payer address\n    /// @param token The token to transfer\n    /// @param payer The address to pay for the transfer\n    /// @param recipient The recipient of the transfer\n    /// @param amount The amount to transfer\n    function payOrPermit2Transfer(address token, address payer, address recipient, uint256 amount) internal {\n        if (payer == address(this)) pay(token, recipient, amount);\n        else permit2TransferFrom(token, payer, recipient, amount.toUint160());\n    }\n}\n"},"contracts/modules/uniswap/UniswapImmutables.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\nstruct UniswapParameters {\n    address v2Factory;\n    address v3Factory;\n    bytes32 pairInitCodeHash;\n    bytes32 poolInitCodeHash;\n}\n\ncontract UniswapImmutables {\n    /// @notice The address of UniswapV2Factory\n    address internal immutable UNISWAP_V2_FACTORY;\n\n    /// @notice The UniswapV2Pair initcodehash\n    bytes32 internal immutable UNISWAP_V2_PAIR_INIT_CODE_HASH;\n\n    /// @notice The address of UniswapV3Factory\n    address internal immutable UNISWAP_V3_FACTORY;\n\n    /// @notice The UniswapV3Pool initcodehash\n    bytes32 internal immutable UNISWAP_V3_POOL_INIT_CODE_HASH;\n\n    constructor(UniswapParameters memory params) {\n        UNISWAP_V2_FACTORY = params.v2Factory;\n        UNISWAP_V2_PAIR_INIT_CODE_HASH = params.pairInitCodeHash;\n        UNISWAP_V3_FACTORY = params.v3Factory;\n        UNISWAP_V3_POOL_INIT_CODE_HASH = params.poolInitCodeHash;\n    }\n}\n"},"contracts/modules/uniswap/v2/UniswapV2Library.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity >=0.8.0;\n\nimport {IUniswapV2Pair} from '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';\n\n/// @title Uniswap v2 Helper Library\n/// @notice Calculates the recipient address for a command\nlibrary UniswapV2Library {\n    error InvalidReserves();\n    error InvalidPath();\n\n    /// @notice Calculates the v2 address for a pair without making any external calls\n    /// @param factory The address of the v2 factory\n    /// @param initCodeHash The hash of the pair initcode\n    /// @param tokenA One of the tokens in the pair\n    /// @param tokenB The other token in the pair\n    /// @return pair The resultant v2 pair address\n    function pairFor(address factory, bytes32 initCodeHash, address tokenA, address tokenB)\n        internal\n        pure\n        returns (address pair)\n    {\n        (address token0, address token1) = sortTokens(tokenA, tokenB);\n        pair = pairForPreSorted(factory, initCodeHash, token0, token1);\n    }\n\n    /// @notice Calculates the v2 address for a pair and the pair's token0\n    /// @param factory The address of the v2 factory\n    /// @param initCodeHash The hash of the pair initcode\n    /// @param tokenA One of the tokens in the pair\n    /// @param tokenB The other token in the pair\n    /// @return pair The resultant v2 pair address\n    /// @return token0 The token considered token0 in this pair\n    function pairAndToken0For(address factory, bytes32 initCodeHash, address tokenA, address tokenB)\n        internal\n        pure\n        returns (address pair, address token0)\n    {\n        address token1;\n        (token0, token1) = sortTokens(tokenA, tokenB);\n        pair = pairForPreSorted(factory, initCodeHash, token0, token1);\n    }\n\n    /// @notice Calculates the v2 address for a pair assuming the input tokens are pre-sorted\n    /// @param factory The address of the v2 factory\n    /// @param initCodeHash The hash of the pair initcode\n    /// @param token0 The pair's token0\n    /// @param token1 The pair's token1\n    /// @return pair The resultant v2 pair address\n    function pairForPreSorted(address factory, bytes32 initCodeHash, address token0, address token1)\n        private\n        pure\n        returns (address pair)\n    {\n        pair = address(\n            uint160(\n                uint256(\n                    keccak256(\n                        abi.encodePacked(hex'ff', factory, keccak256(abi.encodePacked(token0, token1)), initCodeHash)\n                    )\n                )\n            )\n        );\n    }\n\n    /// @notice Calculates the v2 address for a pair and fetches the reserves for each token\n    /// @param factory The address of the v2 factory\n    /// @param initCodeHash The hash of the pair initcode\n    /// @param tokenA One of the tokens in the pair\n    /// @param tokenB The other token in the pair\n    /// @return pair The resultant v2 pair address\n    /// @return reserveA The reserves for tokenA\n    /// @return reserveB The reserves for tokenB\n    function pairAndReservesFor(address factory, bytes32 initCodeHash, address tokenA, address tokenB)\n        private\n        view\n        returns (address pair, uint256 reserveA, uint256 reserveB)\n    {\n        address token0;\n        (pair, token0) = pairAndToken0For(factory, initCodeHash, tokenA, tokenB);\n        (uint256 reserve0, uint256 reserve1,) = IUniswapV2Pair(pair).getReserves();\n        (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);\n    }\n\n    /// @notice Given an input asset amount returns the maximum output amount of the other asset\n    /// @param amountIn The token input amount\n    /// @param reserveIn The reserves available of the input token\n    /// @param reserveOut The reserves available of the output token\n    /// @return amountOut The output amount of the output token\n    function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut)\n        internal\n        pure\n        returns (uint256 amountOut)\n    {\n        if (reserveIn == 0 || reserveOut == 0) revert InvalidReserves();\n        uint256 amountInWithFee = amountIn * 997;\n        uint256 numerator = amountInWithFee * reserveOut;\n        uint256 denominator = reserveIn * 1000 + amountInWithFee;\n        amountOut = numerator / denominator;\n    }\n\n    /// @notice Returns the input amount needed for a desired output amount in a single-hop trade\n    /// @param amountOut The desired output amount\n    /// @param reserveIn The reserves available of the input token\n    /// @param reserveOut The reserves available of the output token\n    /// @return amountIn The input amount of the input token\n    function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut)\n        internal\n        pure\n        returns (uint256 amountIn)\n    {\n        if (reserveIn == 0 || reserveOut == 0) revert InvalidReserves();\n        uint256 numerator = reserveIn * amountOut * 1000;\n        uint256 denominator = (reserveOut - amountOut) * 997;\n        amountIn = (numerator / denominator) + 1;\n    }\n\n    /// @notice Returns the input amount needed for a desired output amount in a multi-hop trade\n    /// @param factory The address of the v2 factory\n    /// @param initCodeHash The hash of the pair initcode\n    /// @param amountOut The desired output amount\n    /// @param path The path of the multi-hop trade\n    /// @return amount The input amount of the input token\n    /// @return pair The first pair in the trade\n    function getAmountInMultihop(address factory, bytes32 initCodeHash, uint256 amountOut, address[] calldata path)\n        internal\n        view\n        returns (uint256 amount, address pair)\n    {\n        if (path.length < 2) revert InvalidPath();\n        amount = amountOut;\n        for (uint256 i = path.length - 1; i > 0; i--) {\n            uint256 reserveIn;\n            uint256 reserveOut;\n\n            (pair, reserveIn, reserveOut) = pairAndReservesFor(factory, initCodeHash, path[i - 1], path[i]);\n            amount = getAmountIn(amount, reserveIn, reserveOut);\n        }\n    }\n\n    /// @notice Sorts two tokens to return token0 and token1\n    /// @param tokenA The first token to sort\n    /// @param tokenB The other token to sort\n    /// @return token0 The smaller token by address value\n    /// @return token1 The larger token by address value\n    function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {\n        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);\n    }\n}\n"},"contracts/modules/uniswap/v2/V2SwapRouter.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\nimport {IUniswapV2Pair} from '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';\nimport {UniswapV2Library} from './UniswapV2Library.sol';\nimport {UniswapImmutables} from '../UniswapImmutables.sol';\nimport {Permit2Payments} from '../../Permit2Payments.sol';\nimport {Constants} from '../../../libraries/Constants.sol';\nimport {ERC20} from 'solmate/src/tokens/ERC20.sol';\n\n/// @title Router for Uniswap v2 Trades\nabstract contract V2SwapRouter is UniswapImmutables, Permit2Payments {\n    error V2TooLittleReceived();\n    error V2TooMuchRequested();\n    error V2InvalidPath();\n\n    function _v2Swap(address[] calldata path, address recipient, address pair) private {\n        unchecked {\n            if (path.length < 2) revert V2InvalidPath();\n\n            // cached to save on duplicate operations\n            (address token0,) = UniswapV2Library.sortTokens(path[0], path[1]);\n            uint256 finalPairIndex = path.length - 1;\n            uint256 penultimatePairIndex = finalPairIndex - 1;\n            for (uint256 i; i < finalPairIndex; i++) {\n                (address input, address output) = (path[i], path[i + 1]);\n                (uint256 reserve0, uint256 reserve1,) = IUniswapV2Pair(pair).getReserves();\n                (uint256 reserveInput, uint256 reserveOutput) =\n                    input == token0 ? (reserve0, reserve1) : (reserve1, reserve0);\n                uint256 amountInput = ERC20(input).balanceOf(pair) - reserveInput;\n                uint256 amountOutput = UniswapV2Library.getAmountOut(amountInput, reserveInput, reserveOutput);\n                (uint256 amount0Out, uint256 amount1Out) =\n                    input == token0 ? (uint256(0), amountOutput) : (amountOutput, uint256(0));\n                address nextPair;\n                (nextPair, token0) = i < penultimatePairIndex\n                    ? UniswapV2Library.pairAndToken0For(\n                        UNISWAP_V2_FACTORY, UNISWAP_V2_PAIR_INIT_CODE_HASH, output, path[i + 2]\n                    )\n                    : (recipient, address(0));\n                IUniswapV2Pair(pair).swap(amount0Out, amount1Out, nextPair, new bytes(0));\n                pair = nextPair;\n            }\n        }\n    }\n\n    /// @notice Performs a Uniswap v2 exact input swap\n    /// @param recipient The recipient of the output tokens\n    /// @param amountIn The amount of input tokens for the trade\n    /// @param amountOutMinimum The minimum desired amount of output tokens\n    /// @param path The path of the trade as an array of token addresses\n    /// @param payer The address that will be paying the input\n    function v2SwapExactInput(\n        address recipient,\n        uint256 amountIn,\n        uint256 amountOutMinimum,\n        address[] calldata path,\n        address payer\n    ) internal {\n        address firstPair =\n            UniswapV2Library.pairFor(UNISWAP_V2_FACTORY, UNISWAP_V2_PAIR_INIT_CODE_HASH, path[0], path[1]);\n        if (\n            amountIn != Constants.ALREADY_PAID // amountIn of 0 to signal that the pair already has the tokens\n        ) {\n            payOrPermit2Transfer(path[0], payer, firstPair, amountIn);\n        }\n\n        ERC20 tokenOut = ERC20(path[path.length - 1]);\n        uint256 balanceBefore = tokenOut.balanceOf(recipient);\n\n        _v2Swap(path, recipient, firstPair);\n\n        uint256 amountOut = tokenOut.balanceOf(recipient) - balanceBefore;\n        if (amountOut < amountOutMinimum) revert V2TooLittleReceived();\n    }\n\n    /// @notice Performs a Uniswap v2 exact output swap\n    /// @param recipient The recipient of the output tokens\n    /// @param amountOut The amount of output tokens to receive for the trade\n    /// @param amountInMaximum The maximum desired amount of input tokens\n    /// @param path The path of the trade as an array of token addresses\n    /// @param payer The address that will be paying the input\n    function v2SwapExactOutput(\n        address recipient,\n        uint256 amountOut,\n        uint256 amountInMaximum,\n        address[] calldata path,\n        address payer\n    ) internal {\n        (uint256 amountIn, address firstPair) =\n            UniswapV2Library.getAmountInMultihop(UNISWAP_V2_FACTORY, UNISWAP_V2_PAIR_INIT_CODE_HASH, amountOut, path);\n        if (amountIn > amountInMaximum) revert V2TooMuchRequested();\n\n        payOrPermit2Transfer(path[0], payer, firstPair, amountIn);\n        _v2Swap(path, recipient, firstPair);\n    }\n}\n"},"contracts/modules/uniswap/v3/BytesLib.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\n\n/// @title Library for Bytes Manipulation\npragma solidity ^0.8.0;\n\nimport {Constants} from '../../../libraries/Constants.sol';\nimport {CalldataDecoder} from '@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol';\n\nlibrary BytesLib {\n    using CalldataDecoder for bytes;\n\n    error SliceOutOfBounds();\n\n    /// @notice Returns the address starting at byte 0\n    /// @dev length and overflow checks must be carried out before calling\n    /// @param _bytes The input bytes string to slice\n    /// @return _address The address starting at byte 0\n    function toAddress(bytes calldata _bytes) internal pure returns (address _address) {\n        if (_bytes.length < Constants.ADDR_SIZE) revert SliceOutOfBounds();\n        assembly {\n            _address := shr(96, calldataload(_bytes.offset))\n        }\n    }\n\n    /// @notice Returns the pool details starting at byte 0\n    /// @dev length and overflow checks must be carried out before calling\n    /// @param _bytes The input bytes string to slice\n    /// @return token0 The address at byte 0\n    /// @return fee The uint24 starting at byte 20\n    /// @return token1 The address at byte 23\n    function toPool(bytes calldata _bytes) internal pure returns (address token0, uint24 fee, address token1) {\n        if (_bytes.length < Constants.V3_POP_OFFSET) revert SliceOutOfBounds();\n        assembly {\n            let firstWord := calldataload(_bytes.offset)\n            token0 := shr(96, firstWord)\n            fee := and(shr(72, firstWord), 0xffffff)\n            token1 := shr(96, calldataload(add(_bytes.offset, 23)))\n        }\n    }\n\n    /// @notice Decode the `_arg`-th element in `_bytes` as a dynamic array\n    /// @dev The decoding of `length` and `offset` is universal,\n    /// whereas the type declaration of `res` instructs the compiler how to read it.\n    /// @param _bytes The input bytes string to slice\n    /// @param _arg The index of the argument to extract\n    /// @return length Length of the array\n    /// @return offset Pointer to the data part of the array\n    function toLengthOffset(bytes calldata _bytes, uint256 _arg)\n        internal\n        pure\n        returns (uint256 length, uint256 offset)\n    {\n        uint256 relativeOffset;\n        assembly {\n            // The offset of the `_arg`-th element is `32 * arg`, which stores the offset of the length pointer.\n            // shl(5, x) is equivalent to mul(32, x)\n            let lengthPtr := add(_bytes.offset, calldataload(add(_bytes.offset, shl(5, _arg))))\n            length := calldataload(lengthPtr)\n            offset := add(lengthPtr, 0x20)\n            relativeOffset := sub(offset, _bytes.offset)\n        }\n        if (_bytes.length < length + relativeOffset) revert SliceOutOfBounds();\n    }\n\n    /// @notice Decode the `_arg`-th element in `_bytes` as `address[]`\n    /// @param _bytes The input bytes string to extract an address array from\n    /// @param _arg The index of the argument to extract\n    function toAddressArray(bytes calldata _bytes, uint256 _arg) internal pure returns (address[] calldata res) {\n        (uint256 length, uint256 offset) = toLengthOffset(_bytes, _arg);\n        assembly {\n            res.length := length\n            res.offset := offset\n        }\n    }\n\n    /// @notice Equivalent to abi.decode(bytes, bytes[])\n    /// @param _bytes The input bytes string to extract an parameters from\n    function decodeCommandsAndInputs(bytes calldata _bytes) internal pure returns (bytes calldata, bytes[] calldata) {\n        return _bytes.decodeActionsRouterParams();\n    }\n}\n"},"contracts/modules/uniswap/v3/V3Path.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity >=0.6.0;\n\nimport {BytesLib} from './BytesLib.sol';\nimport {Constants} from '../../../libraries/Constants.sol';\n\n/// @title Functions for manipulating path data for multihop swaps\nlibrary V3Path {\n    using BytesLib for bytes;\n\n    /// @notice Returns true iff the path contains two or more pools\n    /// @param path The encoded swap path\n    /// @return True if path contains two or more pools, otherwise false\n    function hasMultiplePools(bytes calldata path) internal pure returns (bool) {\n        return path.length >= Constants.MULTIPLE_V3_POOLS_MIN_LENGTH;\n    }\n\n    /// @notice Decodes the first pool in path\n    /// @param path The bytes encoded swap path\n    /// @return tokenA The first token of the given pool\n    /// @return fee The fee level of the pool\n    /// @return tokenB The second token of the given pool\n    function decodeFirstPool(bytes calldata path) internal pure returns (address, uint24, address) {\n        return path.toPool();\n    }\n\n    /// @notice Gets the segment corresponding to the first pool in the path\n    /// @param path The bytes encoded swap path\n    /// @return The segment containing all data necessary to target the first pool in the path\n    function getFirstPool(bytes calldata path) internal pure returns (bytes calldata) {\n        return path[:Constants.V3_POP_OFFSET];\n    }\n\n    function decodeFirstToken(bytes calldata path) internal pure returns (address tokenA) {\n        tokenA = path.toAddress();\n    }\n\n    /// @notice Skips a token + fee element\n    /// @param path The swap path\n    function skipToken(bytes calldata path) internal pure returns (bytes calldata) {\n        return path[Constants.NEXT_V3_POOL_OFFSET:];\n    }\n}\n"},"contracts/modules/uniswap/v3/V3SwapRouter.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\nimport {V3Path} from './V3Path.sol';\nimport {BytesLib} from './BytesLib.sol';\nimport {SafeCast} from '@uniswap/v3-core/contracts/libraries/SafeCast.sol';\nimport {IUniswapV3Pool} from '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';\nimport {IUniswapV3SwapCallback} from '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol';\nimport {ActionConstants} from '@uniswap/v4-periphery/src/libraries/ActionConstants.sol';\nimport {CalldataDecoder} from '@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol';\nimport {Permit2Payments} from '../../Permit2Payments.sol';\nimport {UniswapImmutables} from '../UniswapImmutables.sol';\nimport {MaxInputAmount} from '../../../libraries/MaxInputAmount.sol';\nimport {ERC20} from 'solmate/src/tokens/ERC20.sol';\n\n/// @title Router for Uniswap v3 Trades\nabstract contract V3SwapRouter is UniswapImmutables, Permit2Payments, IUniswapV3SwapCallback {\n    using V3Path for bytes;\n    using BytesLib for bytes;\n    using CalldataDecoder for bytes;\n    using SafeCast for uint256;\n\n    error V3InvalidSwap();\n    error V3TooLittleReceived();\n    error V3TooMuchRequested();\n    error V3InvalidAmountOut();\n    error V3InvalidCaller();\n\n    /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)\n    uint160 internal constant MIN_SQRT_RATIO = 4295128739;\n\n    /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)\n    uint160 internal constant MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342;\n\n    function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes calldata data) external {\n        if (amount0Delta <= 0 && amount1Delta <= 0) revert V3InvalidSwap(); // swaps entirely within 0-liquidity regions are not supported\n        (, address payer) = abi.decode(data, (bytes, address));\n        bytes calldata path = data.toBytes(0);\n\n        // because exact output swaps are executed in reverse order, in this case tokenOut is actually tokenIn\n        (address tokenIn, uint24 fee, address tokenOut) = path.decodeFirstPool();\n\n        if (computePoolAddress(tokenIn, tokenOut, fee) != msg.sender) revert V3InvalidCaller();\n\n        (bool isExactInput, uint256 amountToPay) =\n            amount0Delta > 0 ? (tokenIn < tokenOut, uint256(amount0Delta)) : (tokenOut < tokenIn, uint256(amount1Delta));\n\n        if (isExactInput) {\n            // Pay the pool (msg.sender)\n            payOrPermit2Transfer(tokenIn, payer, msg.sender, amountToPay);\n        } else {\n            // either initiate the next swap or pay\n            if (path.hasMultiplePools()) {\n                // this is an intermediate step so the payer is actually this contract\n                path = path.skipToken();\n                _swap(-amountToPay.toInt256(), msg.sender, path, payer, false);\n            } else {\n                if (amountToPay > MaxInputAmount.get()) revert V3TooMuchRequested();\n                // note that because exact output swaps are executed in reverse order, tokenOut is actually tokenIn\n                payOrPermit2Transfer(tokenOut, payer, msg.sender, amountToPay);\n            }\n        }\n    }\n\n    /// @notice Performs a Uniswap v3 exact input swap\n    /// @param recipient The recipient of the output tokens\n    /// @param amountIn The amount of input tokens for the trade\n    /// @param amountOutMinimum The minimum desired amount of output tokens\n    /// @param path The path of the trade as a bytes string\n    /// @param payer The address that will be paying the input\n    function v3SwapExactInput(\n        address recipient,\n        uint256 amountIn,\n        uint256 amountOutMinimum,\n        bytes calldata path,\n        address payer\n    ) internal {\n        // use amountIn == ActionConstants.CONTRACT_BALANCE as a flag to swap the entire balance of the contract\n        if (amountIn == ActionConstants.CONTRACT_BALANCE) {\n            address tokenIn = path.decodeFirstToken();\n            amountIn = ERC20(tokenIn).balanceOf(address(this));\n        }\n\n        uint256 amountOut;\n        while (true) {\n            bool hasMultiplePools = path.hasMultiplePools();\n\n            // the outputs of prior swaps become the inputs to subsequent ones\n            (int256 amount0Delta, int256 amount1Delta, bool zeroForOne) = _swap(\n                amountIn.toInt256(),\n                hasMultiplePools ? address(this) : recipient, // for intermediate swaps, this contract custodies\n                path.getFirstPool(), // only the first pool is needed\n                payer, // for intermediate swaps, this contract custodies\n                true\n            );\n\n            amountIn = uint256(-(zeroForOne ? amount1Delta : amount0Delta));\n\n            // decide whether to continue or terminate\n            if (hasMultiplePools) {\n                payer = address(this);\n                path = path.skipToken();\n            } else {\n                amountOut = amountIn;\n                break;\n            }\n        }\n\n        if (amountOut < amountOutMinimum) revert V3TooLittleReceived();\n    }\n\n    /// @notice Performs a Uniswap v3 exact output swap\n    /// @param recipient The recipient of the output tokens\n    /// @param amountOut The amount of output tokens to receive for the trade\n    /// @param amountInMaximum The maximum desired amount of input tokens\n    /// @param path The path of the trade as a bytes string\n    /// @param payer The address that will be paying the input\n    function v3SwapExactOutput(\n        address recipient,\n        uint256 amountOut,\n        uint256 amountInMaximum,\n        bytes calldata path,\n        address payer\n    ) internal {\n        MaxInputAmount.set(amountInMaximum);\n        (int256 amount0Delta, int256 amount1Delta, bool zeroForOne) =\n            _swap(-amountOut.toInt256(), recipient, path, payer, false);\n\n        uint256 amountOutReceived = zeroForOne ? uint256(-amount1Delta) : uint256(-amount0Delta);\n\n        if (amountOutReceived != amountOut) revert V3InvalidAmountOut();\n\n        MaxInputAmount.set(0);\n    }\n\n    /// @dev Performs a single swap for both exactIn and exactOut\n    /// For exactIn, `amount` is `amountIn`. For exactOut, `amount` is `-amountOut`\n    function _swap(int256 amount, address recipient, bytes calldata path, address payer, bool isExactIn)\n        private\n        returns (int256 amount0Delta, int256 amount1Delta, bool zeroForOne)\n    {\n        (address tokenIn, uint24 fee, address tokenOut) = path.decodeFirstPool();\n\n        zeroForOne = isExactIn ? tokenIn < tokenOut : tokenOut < tokenIn;\n\n        (amount0Delta, amount1Delta) = IUniswapV3Pool(computePoolAddress(tokenIn, tokenOut, fee)).swap(\n            recipient,\n            zeroForOne,\n            amount,\n            (zeroForOne ? MIN_SQRT_RATIO + 1 : MAX_SQRT_RATIO - 1),\n            abi.encode(path, payer)\n        );\n    }\n\n    function computePoolAddress(address tokenA, address tokenB, uint24 fee) private view returns (address pool) {\n        if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA);\n        pool = address(\n            uint160(\n                uint256(\n                    keccak256(\n                        abi.encodePacked(\n                            hex'ff',\n                            UNISWAP_V3_FACTORY,\n                            keccak256(abi.encode(tokenA, tokenB, fee)),\n                            UNISWAP_V3_POOL_INIT_CODE_HASH\n                        )\n                    )\n                )\n            )\n        );\n    }\n}\n"},"contracts/modules/uniswap/v4/V4SwapRouter.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\nimport {UniswapImmutables} from '../UniswapImmutables.sol';\nimport {Permit2Payments} from '../../Permit2Payments.sol';\nimport {V4Router} from '@uniswap/v4-periphery/src/V4Router.sol';\nimport {IPoolManager} from '@uniswap/v4-core/src/interfaces/IPoolManager.sol';\nimport {Currency} from '@uniswap/v4-core/src/types/Currency.sol';\n\n/// @title Router for Uniswap v4 Trades\nabstract contract V4SwapRouter is V4Router, Permit2Payments {\n    constructor(address _poolManager) V4Router(IPoolManager(_poolManager)) {}\n\n    function _pay(Currency token, address payer, uint256 amount) internal override {\n        payOrPermit2Transfer(Currency.unwrap(token), payer, address(poolManager), amount);\n    }\n}\n"},"contracts/modules/V3ToV4Migrator.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\nimport {MigratorImmutables} from '../modules/MigratorImmutables.sol';\nimport {INonfungiblePositionManager} from '@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol';\nimport {Actions} from '@uniswap/v4-periphery/src/libraries/Actions.sol';\nimport {IERC721Permit} from '@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol';\nimport {CalldataDecoder} from '@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol';\n\n/// @title V3 to V4 Migrator\n/// @notice A contract that migrates liquidity from Uniswap V3 to V4\nabstract contract V3ToV4Migrator is MigratorImmutables {\n    using CalldataDecoder for bytes;\n\n    error InvalidAction(bytes4 action);\n    error OnlyMintAllowed();\n    error NotAuthorizedForToken(uint256 tokenId);\n\n    /// @dev validate if an action is decreaseLiquidity, collect, or burn\n    function _isValidAction(bytes4 selector) private pure returns (bool) {\n        return selector == INonfungiblePositionManager.decreaseLiquidity.selector\n            || selector == INonfungiblePositionManager.collect.selector\n            || selector == INonfungiblePositionManager.burn.selector;\n    }\n\n    /// @dev the caller is authorized for the token if its the owner, spender, or operator\n    function _isAuthorizedForToken(address caller, uint256 tokenId) private view returns (bool) {\n        address owner = V3_POSITION_MANAGER.ownerOf(tokenId);\n        return caller == owner || V3_POSITION_MANAGER.getApproved(tokenId) == caller\n            || V3_POSITION_MANAGER.isApprovedForAll(owner, caller);\n    }\n\n    /// @dev check that a call is to the ERC721 permit function\n    function _checkV3PermitCall(bytes calldata inputs) internal pure {\n        bytes4 selector;\n        assembly {\n            selector := calldataload(inputs.offset)\n        }\n\n        if (selector != IERC721Permit.permit.selector) {\n            revert InvalidAction(selector);\n        }\n    }\n\n    /// @dev check that the v3 position manager call is a safe call\n    function _checkV3PositionManagerCall(bytes calldata inputs, address caller) internal view {\n        bytes4 selector;\n        assembly {\n            selector := calldataload(inputs.offset)\n        }\n\n        if (!_isValidAction(selector)) {\n            revert InvalidAction(selector);\n        }\n\n        uint256 tokenId;\n        assembly {\n            // tokenId is always the first parameter in the valid actions\n            tokenId := calldataload(add(inputs.offset, 0x04))\n        }\n        // If any other address that is not the owner wants to call this function, it also needs to be approved (in addition to this contract)\n        // This can be done in 2 ways:\n        //    1. This contract is permitted for the specific token and the caller is approved for ALL of the owner's tokens\n        //    2. This contract is permitted for ALL of the owner's tokens and the caller is permitted for the specific token\n        if (!_isAuthorizedForToken(caller, tokenId)) {\n            revert NotAuthorizedForToken(tokenId);\n        }\n    }\n\n    /// @dev check that the v4 position manager call is a safe call\n    /// of the position-altering Actions, we only allow Actions.MINT\n    /// this is because, if a user could be tricked into approving the UniversalRouter for\n    /// their position, an attacker could take their fees, or drain their entire position\n    function _checkV4PositionManagerCall(bytes calldata inputs) internal view {\n        bytes4 selector;\n        assembly {\n            selector := calldataload(inputs.offset)\n        }\n        if (selector != V4_POSITION_MANAGER.modifyLiquidities.selector) {\n            revert InvalidAction(selector);\n        }\n\n        // slice is `abi.encode(bytes unlockData, uint256 deadline)`\n        bytes calldata slice = inputs[4:];\n        // the first bytes(0) extracts the unlockData parameter from modifyLiquidities\n        // unlockData = `abi.encode(bytes actions, bytes[] params)`\n        // the second bytes(0) extracts the actions parameter from unlockData\n        bytes calldata actions = slice.toBytes(0).toBytes(0);\n\n        uint256 numActions = actions.length;\n\n        for (uint256 actionIndex = 0; actionIndex < numActions; actionIndex++) {\n            uint256 action = uint8(actions[actionIndex]);\n\n            if (\n                action == Actions.INCREASE_LIQUIDITY || action == Actions.DECREASE_LIQUIDITY\n                    || action == Actions.BURN_POSITION\n            ) {\n                revert OnlyMintAllowed();\n            }\n        }\n    }\n}\n"},"contracts/test/ExampleModule.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\ncontract ExampleModule {\n    event ExampleModuleEvent(string message);\n\n    error CauseRevert();\n\n    function logEvent() public {\n        emit ExampleModuleEvent('testEvent');\n    }\n\n    function causeRevert() public pure {\n        revert CauseRevert();\n    }\n}\n"},"contracts/test/ImportsForTypechain.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.17;\n\nimport {PositionManager} from '@uniswap/v4-periphery/src/PositionManager.sol';\nimport {PoolManager} from '@uniswap/v4-core/src/PoolManager.sol';\nimport {ERC721} from 'solmate/src/tokens/ERC721.sol';\nimport {ERC6909} from '@uniswap/v4-core/src/ERC6909.sol';\n\n// this contract only exists to pull PositionManager and PoolManager into the hardhat build pipeline\n// so that typechain artifacts are generated for it\nabstract contract ImportsForTypechain is PositionManager, PoolManager {\n    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC6909, ERC721) returns (bool) {\n        return super.supportsInterface(interfaceId);\n    }\n}\n"},"contracts/test/MintableERC20.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.15;\n\nimport {ERC20} from 'solmate/src/tokens/ERC20.sol';\n\ncontract MintableERC20 is ERC20 {\n    constructor(uint256 amountToMint) ERC20('test', 'TEST', 18) {\n        mint(msg.sender, amountToMint);\n    }\n\n    function mint(address to, uint256 amount) public {\n        balanceOf[to] += amount;\n        totalSupply += amount;\n    }\n}\n"},"contracts/test/ReenteringWETH.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.15;\n\nimport {ERC20} from 'solmate/src/tokens/ERC20.sol';\n\ncontract ReenteringWETH is ERC20 {\n    error NotAllowedReenter();\n\n    address universalRouter;\n    bytes data;\n\n    constructor() ERC20('ReenteringWETH', 'RW', 18) {}\n\n    function setParameters(address _universalRouter, bytes memory _data) external {\n        universalRouter = _universalRouter;\n        data = _data;\n    }\n\n    function deposit() public payable {\n        (bool success,) = universalRouter.call(data);\n        if (!success) revert NotAllowedReenter();\n    }\n}\n"},"contracts/test/TestCustomErrors.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\ncontract TestCustomErrors {\n    // adding so that hardhat knows this custom signature selector for external contracts\n    error InvalidSignature();\n    error UnsafeCast();\n}\n"},"contracts/types/RouterParameters.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\nstruct RouterParameters {\n    // Payment parameters\n    address permit2;\n    address weth9;\n    // Uniswap swapping parameters\n    address v2Factory;\n    address v3Factory;\n    bytes32 pairInitCodeHash;\n    bytes32 poolInitCodeHash;\n    address v4PoolManager;\n    // Uniswap v3->v4 migration parameters\n    address v3NFTPositionManager;\n    address v4PositionManager;\n}\n"},"contracts/UniversalRouter.sol":{"content":"// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity ^0.8.24;\n\n// Command implementations\nimport {Dispatcher} from './base/Dispatcher.sol';\nimport {RouterParameters} from './types/RouterParameters.sol';\nimport {PaymentsImmutables, PaymentsParameters} from './modules/PaymentsImmutables.sol';\nimport {UniswapImmutables, UniswapParameters} from './modules/uniswap/UniswapImmutables.sol';\nimport {V4SwapRouter} from './modules/uniswap/v4/V4SwapRouter.sol';\nimport {Commands} from './libraries/Commands.sol';\nimport {IUniversalRouter} from './interfaces/IUniversalRouter.sol';\nimport {MigratorImmutables, MigratorParameters} from './modules/MigratorImmutables.sol';\n\ncontract UniversalRouter is IUniversalRouter, Dispatcher {\n    constructor(RouterParameters memory params)\n        UniswapImmutables(\n            UniswapParameters(params.v2Factory, params.v3Factory, params.pairInitCodeHash, params.poolInitCodeHash)\n        )\n        V4SwapRouter(params.v4PoolManager)\n        PaymentsImmutables(PaymentsParameters(params.permit2, params.weth9))\n        MigratorImmutables(MigratorParameters(params.v3NFTPositionManager, params.v4PositionManager))\n    {}\n\n    modifier checkDeadline(uint256 deadline) {\n        if (block.timestamp > deadline) revert TransactionDeadlinePassed();\n        _;\n    }\n\n    /// @notice To receive ETH from WETH\n    receive() external payable {\n        if (msg.sender != address(WETH9) && msg.sender != address(poolManager)) revert InvalidEthSender();\n    }\n\n    /// @inheritdoc IUniversalRouter\n    function execute(bytes calldata commands, bytes[] calldata inputs, uint256 deadline)\n        external\n        payable\n        checkDeadline(deadline)\n    {\n        execute(commands, inputs);\n    }\n\n    /// @inheritdoc Dispatcher\n    function execute(bytes calldata commands, bytes[] calldata inputs) public payable override isNotLocked {\n        bool success;\n        bytes memory output;\n        uint256 numCommands = commands.length;\n        if (inputs.length != numCommands) revert LengthMismatch();\n\n        // loop through all given commands, execute them and pass along outputs as defined\n        for (uint256 commandIndex = 0; commandIndex < numCommands; commandIndex++) {\n            bytes1 command = commands[commandIndex];\n\n            bytes calldata input = inputs[commandIndex];\n\n            (success, output) = dispatch(command, input);\n\n            if (!success && successRequired(command)) {\n                revert ExecutionFailed({commandIndex: commandIndex, message: output});\n            }\n        }\n    }\n\n    function successRequired(bytes1 command) internal pure returns (bool) {\n        return command & Commands.FLAG_ALLOW_REVERT == 0;\n    }\n}\n"},"permit2/src/interfaces/IAllowanceTransfer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IEIP712} from \"./IEIP712.sol\";\n\n/// @title AllowanceTransfer\n/// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts\n/// @dev Requires user's token approval on the Permit2 contract\ninterface IAllowanceTransfer is IEIP712 {\n    /// @notice Thrown when an allowance on a token has expired.\n    /// @param deadline The timestamp at which the allowed amount is no longer valid\n    error AllowanceExpired(uint256 deadline);\n\n    /// @notice Thrown when an allowance on a token has been depleted.\n    /// @param amount The maximum amount allowed\n    error InsufficientAllowance(uint256 amount);\n\n    /// @notice Thrown when too many nonces are invalidated.\n    error ExcessiveInvalidation();\n\n    /// @notice Emits an event when the owner successfully invalidates an ordered nonce.\n    event NonceInvalidation(\n        address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions on a token for the spender.\n    event Approval(\n        address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.\n    event Permit(\n        address indexed owner,\n        address indexed token,\n        address indexed spender,\n        uint160 amount,\n        uint48 expiration,\n        uint48 nonce\n    );\n\n    /// @notice Emits an event when the owner sets the allowance back to 0 with the lockdown function.\n    event Lockdown(address indexed owner, address token, address spender);\n\n    /// @notice The permit data for a token\n    struct PermitDetails {\n        // ERC20 token address\n        address token;\n        // the maximum amount allowed to spend\n        uint160 amount;\n        // timestamp at which a spender's token allowances become invalid\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice The permit message signed for a single token allowance\n    struct PermitSingle {\n        // the permit data for a single token alownce\n        PermitDetails details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The permit message signed for multiple token allowances\n    struct PermitBatch {\n        // the permit data for multiple token allowances\n        PermitDetails[] details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The saved permissions\n    /// @dev This info is saved per owner, per token, per spender and all signed over in the permit message\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    struct PackedAllowance {\n        // amount allowed\n        uint160 amount;\n        // permission expiry\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice A token spender pair.\n    struct TokenSpenderPair {\n        // the token the spender is approved\n        address token;\n        // the spender address\n        address spender;\n    }\n\n    /// @notice Details for a token transfer.\n    struct AllowanceTransferDetails {\n        // the owner of the token\n        address from;\n        // the recipient of the token\n        address to;\n        // the amount of the token\n        uint160 amount;\n        // the token to be transferred\n        address token;\n    }\n\n    /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.\n    /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\n    /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.\n    function allowance(address user, address token, address spender)\n        external\n        view\n        returns (uint160 amount, uint48 expiration, uint48 nonce);\n\n    /// @notice Approves the spender to use up to amount of the specified token up until the expiration\n    /// @param token The token to approve\n    /// @param spender The spender address to approve\n    /// @param amount The approved amount of the token\n    /// @param expiration The timestamp at which the approval is no longer valid\n    /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    function approve(address token, address spender, uint160 amount, uint48 expiration) external;\n\n    /// @notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitSingle Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external;\n\n    /// @notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitBatch Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitBatch memory permitBatch, bytes calldata signature) external;\n\n    /// @notice Transfer approved tokens from one address to another\n    /// @param from The address to transfer from\n    /// @param to The address of the recipient\n    /// @param amount The amount of the token to transfer\n    /// @param token The token address to transfer\n    /// @dev Requires the from address to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(address from, address to, uint160 amount, address token) external;\n\n    /// @notice Transfer approved tokens in a batch\n    /// @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers\n    /// @dev Requires the from addresses to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external;\n\n    /// @notice Enables performing a \"lockdown\" of the sender's Permit2 identity\n    /// by batch revoking approvals\n    /// @param approvals Array of approvals to revoke.\n    function lockdown(TokenSpenderPair[] calldata approvals) external;\n\n    /// @notice Invalidate nonces for a given (token, spender) pair\n    /// @param token The token to invalidate nonces for\n    /// @param spender The spender to invalidate nonces for\n    /// @param newNonce The new nonce to set. Invalidates all nonces less than it.\n    /// @dev Can't invalidate more than 2**16 nonces per transaction.\n    function invalidateNonces(address token, address spender, uint48 newNonce) external;\n}\n"},"permit2/src/interfaces/IEIP712.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface IEIP712 {\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"permit2/src/interfaces/IERC1271.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface IERC1271 {\n    /// @dev Should return whether the signature provided is valid for the provided data\n    /// @param hash      Hash of the data to be signed\n    /// @param signature Signature byte array associated with _data\n    /// @return magicValue The bytes4 magic value 0x1626ba7e\n    function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);\n}\n"},"permit2/src/interfaces/IPermit2.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {ISignatureTransfer} from \"./ISignatureTransfer.sol\";\nimport {IAllowanceTransfer} from \"./IAllowanceTransfer.sol\";\n\n/// @notice Permit2 handles signature-based transfers in SignatureTransfer and allowance-based transfers in AllowanceTransfer.\n/// @dev Users must approve Permit2 before calling any of the transfer functions.\ninterface IPermit2 is ISignatureTransfer, IAllowanceTransfer {\n// IPermit2 unifies the two interfaces so users have maximal flexibility with their approval.\n}\n"},"permit2/src/interfaces/ISignatureTransfer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IEIP712} from \"./IEIP712.sol\";\n\n/// @title SignatureTransfer\n/// @notice Handles ERC20 token transfers through signature based actions\n/// @dev Requires user's token approval on the Permit2 contract\ninterface ISignatureTransfer is IEIP712 {\n    /// @notice Thrown when the requested amount for a transfer is larger than the permissioned amount\n    /// @param maxAmount The maximum amount a spender can request to transfer\n    error InvalidAmount(uint256 maxAmount);\n\n    /// @notice Thrown when the number of tokens permissioned to a spender does not match the number of tokens being transferred\n    /// @dev If the spender does not need to transfer the number of tokens permitted, the spender can request amount 0 to be transferred\n    error LengthMismatch();\n\n    /// @notice Emits an event when the owner successfully invalidates an unordered nonce.\n    event UnorderedNonceInvalidation(address indexed owner, uint256 word, uint256 mask);\n\n    /// @notice The token and amount details for a transfer signed in the permit transfer signature\n    struct TokenPermissions {\n        // ERC20 token address\n        address token;\n        // the maximum amount that can be spent\n        uint256 amount;\n    }\n\n    /// @notice The signed permit message for a single token transfer\n    struct PermitTransferFrom {\n        TokenPermissions permitted;\n        // a unique value for every token owner's signature to prevent signature replays\n        uint256 nonce;\n        // deadline on the permit signature\n        uint256 deadline;\n    }\n\n    /// @notice Specifies the recipient address and amount for batched transfers.\n    /// @dev Recipients and amounts correspond to the index of the signed token permissions array.\n    /// @dev Reverts if the requested amount is greater than the permitted signed amount.\n    struct SignatureTransferDetails {\n        // recipient address\n        address to;\n        // spender requested amount\n        uint256 requestedAmount;\n    }\n\n    /// @notice Used to reconstruct the signed permit message for multiple token transfers\n    /// @dev Do not need to pass in spender address as it is required that it is msg.sender\n    /// @dev Note that a user still signs over a spender address\n    struct PermitBatchTransferFrom {\n        // the tokens and corresponding amounts permitted for a transfer\n        TokenPermissions[] permitted;\n        // a unique value for every token owner's signature to prevent signature replays\n        uint256 nonce;\n        // deadline on the permit signature\n        uint256 deadline;\n    }\n\n    /// @notice A map from token owner address and a caller specified word index to a bitmap. Used to set bits in the bitmap to prevent against signature replay protection\n    /// @dev Uses unordered nonces so that permit messages do not need to be spent in a certain order\n    /// @dev The mapping is indexed first by the token owner, then by an index specified in the nonce\n    /// @dev It returns a uint256 bitmap\n    /// @dev The index, or wordPosition is capped at type(uint248).max\n    function nonceBitmap(address, uint256) external view returns (uint256);\n\n    /// @notice Transfers a token using a signed permit message\n    /// @dev Reverts if the requested amount is greater than the permitted signed amount\n    /// @param permit The permit data signed over by the owner\n    /// @param owner The owner of the tokens to transfer\n    /// @param transferDetails The spender's requested transfer details for the permitted token\n    /// @param signature The signature to verify\n    function permitTransferFrom(\n        PermitTransferFrom memory permit,\n        SignatureTransferDetails calldata transferDetails,\n        address owner,\n        bytes calldata signature\n    ) external;\n\n    /// @notice Transfers a token using a signed permit message\n    /// @notice Includes extra data provided by the caller to verify signature over\n    /// @dev The witness type string must follow EIP712 ordering of nested structs and must include the TokenPermissions type definition\n    /// @dev Reverts if the requested amount is greater than the permitted signed amount\n    /// @param permit The permit data signed over by the owner\n    /// @param owner The owner of the tokens to transfer\n    /// @param transferDetails The spender's requested transfer details for the permitted token\n    /// @param witness Extra data to include when checking the user signature\n    /// @param witnessTypeString The EIP-712 type definition for remaining string stub of the typehash\n    /// @param signature The signature to verify\n    function permitWitnessTransferFrom(\n        PermitTransferFrom memory permit,\n        SignatureTransferDetails calldata transferDetails,\n        address owner,\n        bytes32 witness,\n        string calldata witnessTypeString,\n        bytes calldata signature\n    ) external;\n\n    /// @notice Transfers multiple tokens using a signed permit message\n    /// @param permit The permit data signed over by the owner\n    /// @param owner The owner of the tokens to transfer\n    /// @param transferDetails Specifies the recipient and requested amount for the token transfer\n    /// @param signature The signature to verify\n    function permitTransferFrom(\n        PermitBatchTransferFrom memory permit,\n        SignatureTransferDetails[] calldata transferDetails,\n        address owner,\n        bytes calldata signature\n    ) external;\n\n    /// @notice Transfers multiple tokens using a signed permit message\n    /// @dev The witness type string must follow EIP712 ordering of nested structs and must include the TokenPermissions type definition\n    /// @notice Includes extra data provided by the caller to verify signature over\n    /// @param permit The permit data signed over by the owner\n    /// @param owner The owner of the tokens to transfer\n    /// @param transferDetails Specifies the recipient and requested amount for the token transfer\n    /// @param witness Extra data to include when checking the user signature\n    /// @param witnessTypeString The EIP-712 type definition for remaining string stub of the typehash\n    /// @param signature The signature to verify\n    function permitWitnessTransferFrom(\n        PermitBatchTransferFrom memory permit,\n        SignatureTransferDetails[] calldata transferDetails,\n        address owner,\n        bytes32 witness,\n        string calldata witnessTypeString,\n        bytes calldata signature\n    ) external;\n\n    /// @notice Invalidates the bits specified in mask for the bitmap at the word position\n    /// @dev The wordPos is maxed at type(uint248).max\n    /// @param wordPos A number to index the nonceBitmap at\n    /// @param mask A bitmap masked against msg.sender's current bitmap at the word position\n    function invalidateUnorderedNonces(uint256 wordPos, uint256 mask) external;\n}\n"},"permit2/src/libraries/SafeCast160.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nlibrary SafeCast160 {\n    /// @notice Thrown when a valude greater than type(uint160).max is cast to uint160\n    error UnsafeCast();\n\n    /// @notice Safely casts uint256 to uint160\n    /// @param value The uint256 to be cast\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) revert UnsafeCast();\n        return uint160(value);\n    }\n}\n"},"permit2/src/libraries/SignatureVerification.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.17;\n\nimport {IERC1271} from \"../interfaces/IERC1271.sol\";\n\nlibrary SignatureVerification {\n    /// @notice Thrown when the passed in signature is not a valid length\n    error InvalidSignatureLength();\n\n    /// @notice Thrown when the recovered signer is equal to the zero address\n    error InvalidSignature();\n\n    /// @notice Thrown when the recovered signer does not equal the claimedSigner\n    error InvalidSigner();\n\n    /// @notice Thrown when the recovered contract signature is incorrect\n    error InvalidContractSignature();\n\n    bytes32 constant UPPER_BIT_MASK = (0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\n\n    function verify(bytes calldata signature, bytes32 hash, address claimedSigner) internal view {\n        bytes32 r;\n        bytes32 s;\n        uint8 v;\n\n        if (claimedSigner.code.length == 0) {\n            if (signature.length == 65) {\n                (r, s) = abi.decode(signature, (bytes32, bytes32));\n                v = uint8(signature[64]);\n            } else if (signature.length == 64) {\n                // EIP-2098\n                bytes32 vs;\n                (r, vs) = abi.decode(signature, (bytes32, bytes32));\n                s = vs & UPPER_BIT_MASK;\n                v = uint8(uint256(vs >> 255)) + 27;\n            } else {\n                revert InvalidSignatureLength();\n            }\n            address signer = ecrecover(hash, v, r, s);\n            if (signer == address(0)) revert InvalidSignature();\n            if (signer != claimedSigner) revert InvalidSigner();\n        } else {\n            bytes4 magicValue = IERC1271(claimedSigner).isValidSignature(hash, signature);\n            if (magicValue != IERC1271.isValidSignature.selector) revert InvalidContractSignature();\n        }\n    }\n}\n"},"solmate/src/auth/Owned.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0-only\npragma solidity >=0.8.0;\n\n/// @notice Simple single owner authorization mixin.\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol)\nabstract contract Owned {\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    event OwnershipTransferred(address indexed user, address indexed newOwner);\n\n    /*//////////////////////////////////////////////////////////////\n                            OWNERSHIP STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    address public owner;\n\n    modifier onlyOwner() virtual {\n        require(msg.sender == owner, \"UNAUTHORIZED\");\n\n        _;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(address _owner) {\n        owner = _owner;\n\n        emit OwnershipTransferred(address(0), _owner);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                             OWNERSHIP LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        owner = newOwner;\n\n        emit OwnershipTransferred(msg.sender, newOwner);\n    }\n}\n"},"solmate/src/tokens/ERC20.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0-only\npragma solidity >=0.8.0;\n\n/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)\n/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)\n/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.\nabstract contract ERC20 {\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    event Transfer(address indexed from, address indexed to, uint256 amount);\n\n    event Approval(address indexed owner, address indexed spender, uint256 amount);\n\n    /*//////////////////////////////////////////////////////////////\n                            METADATA STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    string public name;\n\n    string public symbol;\n\n    uint8 public immutable decimals;\n\n    /*//////////////////////////////////////////////////////////////\n                              ERC20 STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    uint256 public totalSupply;\n\n    mapping(address => uint256) public balanceOf;\n\n    mapping(address => mapping(address => uint256)) public allowance;\n\n    /*//////////////////////////////////////////////////////////////\n                            EIP-2612 STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    uint256 internal immutable INITIAL_CHAIN_ID;\n\n    bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;\n\n    mapping(address => uint256) public nonces;\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(\n        string memory _name,\n        string memory _symbol,\n        uint8 _decimals\n    ) {\n        name = _name;\n        symbol = _symbol;\n        decimals = _decimals;\n\n        INITIAL_CHAIN_ID = block.chainid;\n        INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator();\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                               ERC20 LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function approve(address spender, uint256 amount) public virtual returns (bool) {\n        allowance[msg.sender][spender] = amount;\n\n        emit Approval(msg.sender, spender, amount);\n\n        return true;\n    }\n\n    function transfer(address to, uint256 amount) public virtual returns (bool) {\n        balanceOf[msg.sender] -= amount;\n\n        // Cannot overflow because the sum of all user\n        // balances can't exceed the max uint256 value.\n        unchecked {\n            balanceOf[to] += amount;\n        }\n\n        emit Transfer(msg.sender, to, amount);\n\n        return true;\n    }\n\n    function transferFrom(\n        address from,\n        address to,\n        uint256 amount\n    ) public virtual returns (bool) {\n        uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.\n\n        if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;\n\n        balanceOf[from] -= amount;\n\n        // Cannot overflow because the sum of all user\n        // balances can't exceed the max uint256 value.\n        unchecked {\n            balanceOf[to] += amount;\n        }\n\n        emit Transfer(from, to, amount);\n\n        return true;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                             EIP-2612 LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) public virtual {\n        require(deadline >= block.timestamp, \"PERMIT_DEADLINE_EXPIRED\");\n\n        // Unchecked because the only math done is incrementing\n        // the owner's nonce which cannot realistically overflow.\n        unchecked {\n            address recoveredAddress = ecrecover(\n                keccak256(\n                    abi.encodePacked(\n                        \"\\x19\\x01\",\n                        DOMAIN_SEPARATOR(),\n                        keccak256(\n                            abi.encode(\n                                keccak256(\n                                    \"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\"\n                                ),\n                                owner,\n                                spender,\n                                value,\n                                nonces[owner]++,\n                                deadline\n                            )\n                        )\n                    )\n                ),\n                v,\n                r,\n                s\n            );\n\n            require(recoveredAddress != address(0) && recoveredAddress == owner, \"INVALID_SIGNER\");\n\n            allowance[recoveredAddress][spender] = value;\n        }\n\n        emit Approval(owner, spender, value);\n    }\n\n    function DOMAIN_SEPARATOR() public view virtual returns (bytes32) {\n        return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator();\n    }\n\n    function computeDomainSeparator() internal view virtual returns (bytes32) {\n        return\n            keccak256(\n                abi.encode(\n                    keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"),\n                    keccak256(bytes(name)),\n                    keccak256(\"1\"),\n                    block.chainid,\n                    address(this)\n                )\n            );\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                        INTERNAL MINT/BURN LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function _mint(address to, uint256 amount) internal virtual {\n        totalSupply += amount;\n\n        // Cannot overflow because the sum of all user\n        // balances can't exceed the max uint256 value.\n        unchecked {\n            balanceOf[to] += amount;\n        }\n\n        emit Transfer(address(0), to, amount);\n    }\n\n    function _burn(address from, uint256 amount) internal virtual {\n        balanceOf[from] -= amount;\n\n        // Cannot underflow because a user's balance\n        // will never be larger than the total supply.\n        unchecked {\n            totalSupply -= amount;\n        }\n\n        emit Transfer(from, address(0), amount);\n    }\n}\n"},"solmate/src/tokens/ERC721.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0-only\npragma solidity >=0.8.0;\n\n/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)\nabstract contract ERC721 {\n    /*//////////////////////////////////////////////////////////////\n                                 EVENTS\n    //////////////////////////////////////////////////////////////*/\n\n    event Transfer(address indexed from, address indexed to, uint256 indexed id);\n\n    event Approval(address indexed owner, address indexed spender, uint256 indexed id);\n\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    /*//////////////////////////////////////////////////////////////\n                         METADATA STORAGE/LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    string public name;\n\n    string public symbol;\n\n    function tokenURI(uint256 id) public view virtual returns (string memory);\n\n    /*//////////////////////////////////////////////////////////////\n                      ERC721 BALANCE/OWNER STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    mapping(uint256 => address) internal _ownerOf;\n\n    mapping(address => uint256) internal _balanceOf;\n\n    function ownerOf(uint256 id) public view virtual returns (address owner) {\n        require((owner = _ownerOf[id]) != address(0), \"NOT_MINTED\");\n    }\n\n    function balanceOf(address owner) public view virtual returns (uint256) {\n        require(owner != address(0), \"ZERO_ADDRESS\");\n\n        return _balanceOf[owner];\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                         ERC721 APPROVAL STORAGE\n    //////////////////////////////////////////////////////////////*/\n\n    mapping(uint256 => address) public getApproved;\n\n    mapping(address => mapping(address => bool)) public isApprovedForAll;\n\n    /*//////////////////////////////////////////////////////////////\n                               CONSTRUCTOR\n    //////////////////////////////////////////////////////////////*/\n\n    constructor(string memory _name, string memory _symbol) {\n        name = _name;\n        symbol = _symbol;\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                              ERC721 LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function approve(address spender, uint256 id) public virtual {\n        address owner = _ownerOf[id];\n\n        require(msg.sender == owner || isApprovedForAll[owner][msg.sender], \"NOT_AUTHORIZED\");\n\n        getApproved[id] = spender;\n\n        emit Approval(owner, spender, id);\n    }\n\n    function setApprovalForAll(address operator, bool approved) public virtual {\n        isApprovedForAll[msg.sender][operator] = approved;\n\n        emit ApprovalForAll(msg.sender, operator, approved);\n    }\n\n    function transferFrom(\n        address from,\n        address to,\n        uint256 id\n    ) public virtual {\n        require(from == _ownerOf[id], \"WRONG_FROM\");\n\n        require(to != address(0), \"INVALID_RECIPIENT\");\n\n        require(\n            msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id],\n            \"NOT_AUTHORIZED\"\n        );\n\n        // Underflow of the sender's balance is impossible because we check for\n        // ownership above and the recipient's balance can't realistically overflow.\n        unchecked {\n            _balanceOf[from]--;\n\n            _balanceOf[to]++;\n        }\n\n        _ownerOf[id] = to;\n\n        delete getApproved[id];\n\n        emit Transfer(from, to, id);\n    }\n\n    function safeTransferFrom(\n        address from,\n        address to,\n        uint256 id\n    ) public virtual {\n        transferFrom(from, to, id);\n\n        require(\n            to.code.length == 0 ||\n                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, \"\") ==\n                ERC721TokenReceiver.onERC721Received.selector,\n            \"UNSAFE_RECIPIENT\"\n        );\n    }\n\n    function safeTransferFrom(\n        address from,\n        address to,\n        uint256 id,\n        bytes calldata data\n    ) public virtual {\n        transferFrom(from, to, id);\n\n        require(\n            to.code.length == 0 ||\n                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) ==\n                ERC721TokenReceiver.onERC721Received.selector,\n            \"UNSAFE_RECIPIENT\"\n        );\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                              ERC165 LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return\n            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165\n            interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721\n            interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                        INTERNAL MINT/BURN LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function _mint(address to, uint256 id) internal virtual {\n        require(to != address(0), \"INVALID_RECIPIENT\");\n\n        require(_ownerOf[id] == address(0), \"ALREADY_MINTED\");\n\n        // Counter overflow is incredibly unrealistic.\n        unchecked {\n            _balanceOf[to]++;\n        }\n\n        _ownerOf[id] = to;\n\n        emit Transfer(address(0), to, id);\n    }\n\n    function _burn(uint256 id) internal virtual {\n        address owner = _ownerOf[id];\n\n        require(owner != address(0), \"NOT_MINTED\");\n\n        // Ownership check above ensures no underflow.\n        unchecked {\n            _balanceOf[owner]--;\n        }\n\n        delete _ownerOf[id];\n\n        delete getApproved[id];\n\n        emit Transfer(owner, address(0), id);\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                        INTERNAL SAFE MINT LOGIC\n    //////////////////////////////////////////////////////////////*/\n\n    function _safeMint(address to, uint256 id) internal virtual {\n        _mint(to, id);\n\n        require(\n            to.code.length == 0 ||\n                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, \"\") ==\n                ERC721TokenReceiver.onERC721Received.selector,\n            \"UNSAFE_RECIPIENT\"\n        );\n    }\n\n    function _safeMint(\n        address to,\n        uint256 id,\n        bytes memory data\n    ) internal virtual {\n        _mint(to, id);\n\n        require(\n            to.code.length == 0 ||\n                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) ==\n                ERC721TokenReceiver.onERC721Received.selector,\n            \"UNSAFE_RECIPIENT\"\n        );\n    }\n}\n\n/// @notice A generic interface for a contract which properly accepts ERC721 tokens.\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)\nabstract contract ERC721TokenReceiver {\n    function onERC721Received(\n        address,\n        address,\n        uint256,\n        bytes calldata\n    ) external virtual returns (bytes4) {\n        return ERC721TokenReceiver.onERC721Received.selector;\n    }\n}\n"},"solmate/src/utils/SafeTransferLib.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0-only\npragma solidity >=0.8.0;\n\nimport {ERC20} from \"../tokens/ERC20.sol\";\n\n/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.\n/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)\n/// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer.\n/// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller.\nlibrary SafeTransferLib {\n    /*//////////////////////////////////////////////////////////////\n                             ETH OPERATIONS\n    //////////////////////////////////////////////////////////////*/\n\n    function safeTransferETH(address to, uint256 amount) internal {\n        bool success;\n\n        /// @solidity memory-safe-assembly\n        assembly {\n            // Transfer the ETH and store if it succeeded or not.\n            success := call(gas(), to, amount, 0, 0, 0, 0)\n        }\n\n        require(success, \"ETH_TRANSFER_FAILED\");\n    }\n\n    /*//////////////////////////////////////////////////////////////\n                            ERC20 OPERATIONS\n    //////////////////////////////////////////////////////////////*/\n\n    function safeTransferFrom(\n        ERC20 token,\n        address from,\n        address to,\n        uint256 amount\n    ) internal {\n        bool success;\n\n        /// @solidity memory-safe-assembly\n        assembly {\n            // Get a pointer to some free memory.\n            let freeMemoryPointer := mload(0x40)\n\n            // Write the abi-encoded calldata into memory, beginning with the function selector.\n            mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000)\n            mstore(add(freeMemoryPointer, 4), from) // Append the \"from\" argument.\n            mstore(add(freeMemoryPointer, 36), to) // Append the \"to\" argument.\n            mstore(add(freeMemoryPointer, 68), amount) // Append the \"amount\" argument.\n\n            success := and(\n                // Set success to whether the call reverted, if not we check it either\n                // returned exactly 1 (can't just be non-zero data), or had no return data.\n                or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\n                // We use 100 because the length of our calldata totals up like so: 4 + 32 * 3.\n                // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\n                // Counterintuitively, this call must be positioned second to the or() call in the\n                // surrounding and() call or else returndatasize() will be zero during the computation.\n                call(gas(), token, 0, freeMemoryPointer, 100, 0, 32)\n            )\n        }\n\n        require(success, \"TRANSFER_FROM_FAILED\");\n    }\n\n    function safeTransfer(\n        ERC20 token,\n        address to,\n        uint256 amount\n    ) internal {\n        bool success;\n\n        /// @solidity memory-safe-assembly\n        assembly {\n            // Get a pointer to some free memory.\n            let freeMemoryPointer := mload(0x40)\n\n            // Write the abi-encoded calldata into memory, beginning with the function selector.\n            mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)\n            mstore(add(freeMemoryPointer, 4), to) // Append the \"to\" argument.\n            mstore(add(freeMemoryPointer, 36), amount) // Append the \"amount\" argument.\n\n            success := and(\n                // Set success to whether the call reverted, if not we check it either\n                // returned exactly 1 (can't just be non-zero data), or had no return data.\n                or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\n                // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.\n                // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\n                // Counterintuitively, this call must be positioned second to the or() call in the\n                // surrounding and() call or else returndatasize() will be zero during the computation.\n                call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)\n            )\n        }\n\n        require(success, \"TRANSFER_FAILED\");\n    }\n\n    function safeApprove(\n        ERC20 token,\n        address to,\n        uint256 amount\n    ) internal {\n        bool success;\n\n        /// @solidity memory-safe-assembly\n        assembly {\n            // Get a pointer to some free memory.\n            let freeMemoryPointer := mload(0x40)\n\n            // Write the abi-encoded calldata into memory, beginning with the function selector.\n            mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000)\n            mstore(add(freeMemoryPointer, 4), to) // Append the \"to\" argument.\n            mstore(add(freeMemoryPointer, 36), amount) // Append the \"amount\" argument.\n\n            success := and(\n                // Set success to whether the call reverted, if not we check it either\n                // returned exactly 1 (can't just be non-zero data), or had no return data.\n                or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),\n                // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.\n                // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.\n                // Counterintuitively, this call must be positioned second to the or() call in the\n                // surrounding and() call or else returndatasize() will be zero during the computation.\n                call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)\n            )\n        }\n\n        require(success, \"APPROVE_FAILED\");\n    }\n}\n"}},"settings":{"viaIR":true,"evmVersion":"cancun","optimizer":{"enabled":true,"runs":1},"metadata":{"bytecodeHash":"none"},"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}}}},"output":{"errors":[{"component":"general","errorCode":"1878","formattedMessage":"Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: <SPDX-License>\" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.\n--> @uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol\n\n","message":"SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: <SPDX-License>\" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.","severity":"warning","sourceLocation":{"end":-1,"file":"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol","start":-1},"type":"Warning"},{"component":"general","errorCode":"2394","formattedMessage":"Warning: Transient storage as defined by EIP-1153 can break the composability of smart contracts: Since transient storage is cleared only at the end of the transaction and not at the end of the outermost call frame to the contract within a transaction, your contract may unintentionally misbehave when invoked multiple times in a complex transaction. To avoid this, be sure to clear all transient storage at the end of any call to your contract. The use of transient storage for reentrancy guards that are cleared at the end of the call is safe.\n  --> @uniswap/v4-core/src/libraries/CurrencyReserves.sol:23:13:\n   |\n23 |             tstore(CURRENCY_SLOT, 0)\n   |             ^^^^^^\n\n","message":"Transient storage as defined by EIP-1153 can break the composability of smart contracts: Since transient storage is cleared only at the end of the transaction and not at the end of the outermost call frame to the contract within a transaction, your contract may unintentionally misbehave when invoked multiple times in a complex transaction. To avoid this, be sure to clear all transient storage at the end of any call to your contract. The use of transient storage for reentrancy guards that are cleared at the end of the call is safe.","severity":"warning","sourceLocation":{"end":811,"file":"@uniswap/v4-core/src/libraries/CurrencyReserves.sol","start":805},"type":"Warning"}],"sources":{"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","exportedSymbols":{"IERC20":[77]},"id":78,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"106:24:0"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC20","contractDependencies":[],"contractKind":"interface","documentation":{"id":2,"nodeType":"StructuredDocumentation","src":"132:70:0","text":" @dev Interface of the ERC20 standard as defined in the EIP."},"fullyImplemented":false,"id":77,"linearizedBaseContracts":[77],"name":"IERC20","nameLocation":"213:6:0","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":3,"nodeType":"StructuredDocumentation","src":"226:158:0","text":" @dev Emitted when `value` tokens are moved from one account (`from`) to\n another (`to`).\n Note that `value` may be zero."},"eventSelector":"ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","id":11,"name":"Transfer","nameLocation":"395:8:0","nodeType":"EventDefinition","parameters":{"id":10,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5,"indexed":true,"mutability":"mutable","name":"from","nameLocation":"420:4:0","nodeType":"VariableDeclaration","scope":11,"src":"404:20:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4,"name":"address","nodeType":"ElementaryTypeName","src":"404:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"442:2:0","nodeType":"VariableDeclaration","scope":11,"src":"426:18:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6,"name":"address","nodeType":"ElementaryTypeName","src":"426:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":9,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"454:5:0","nodeType":"VariableDeclaration","scope":11,"src":"446:13:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8,"name":"uint256","nodeType":"ElementaryTypeName","src":"446:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"403:57:0"},"src":"389:72:0"},{"anonymous":false,"documentation":{"id":12,"nodeType":"StructuredDocumentation","src":"467:148:0","text":" @dev Emitted when the allowance of a `spender` for an `owner` is set by\n a call to {approve}. `value` is the new allowance."},"eventSelector":"8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925","id":20,"name":"Approval","nameLocation":"626:8:0","nodeType":"EventDefinition","parameters":{"id":19,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"651:5:0","nodeType":"VariableDeclaration","scope":20,"src":"635:21:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13,"name":"address","nodeType":"ElementaryTypeName","src":"635:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":16,"indexed":true,"mutability":"mutable","name":"spender","nameLocation":"674:7:0","nodeType":"VariableDeclaration","scope":20,"src":"658:23:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15,"name":"address","nodeType":"ElementaryTypeName","src":"658:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"691:5:0","nodeType":"VariableDeclaration","scope":20,"src":"683:13:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17,"name":"uint256","nodeType":"ElementaryTypeName","src":"683:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"634:63:0"},"src":"620:78:0"},{"documentation":{"id":21,"nodeType":"StructuredDocumentation","src":"704:65:0","text":" @dev Returns the value of tokens in existence."},"functionSelector":"18160ddd","id":26,"implemented":false,"kind":"function","modifiers":[],"name":"totalSupply","nameLocation":"783:11:0","nodeType":"FunctionDefinition","parameters":{"id":22,"nodeType":"ParameterList","parameters":[],"src":"794:2:0"},"returnParameters":{"id":25,"nodeType":"ParameterList","parameters":[{"constant":false,"id":24,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":26,"src":"820:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":23,"name":"uint256","nodeType":"ElementaryTypeName","src":"820:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"819:9:0"},"scope":77,"src":"774:55:0","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":27,"nodeType":"StructuredDocumentation","src":"835:71:0","text":" @dev Returns the value of tokens owned by `account`."},"functionSelector":"70a08231","id":34,"implemented":false,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"920:9:0","nodeType":"FunctionDefinition","parameters":{"id":30,"nodeType":"ParameterList","parameters":[{"constant":false,"id":29,"mutability":"mutable","name":"account","nameLocation":"938:7:0","nodeType":"VariableDeclaration","scope":34,"src":"930:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":28,"name":"address","nodeType":"ElementaryTypeName","src":"930:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"929:17:0"},"returnParameters":{"id":33,"nodeType":"ParameterList","parameters":[{"constant":false,"id":32,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":34,"src":"970:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":31,"name":"uint256","nodeType":"ElementaryTypeName","src":"970:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"969:9:0"},"scope":77,"src":"911:68:0","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":35,"nodeType":"StructuredDocumentation","src":"985:213:0","text":" @dev Moves a `value` amount of tokens from the caller's account to `to`.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event."},"functionSelector":"a9059cbb","id":44,"implemented":false,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"1212:8:0","nodeType":"FunctionDefinition","parameters":{"id":40,"nodeType":"ParameterList","parameters":[{"constant":false,"id":37,"mutability":"mutable","name":"to","nameLocation":"1229:2:0","nodeType":"VariableDeclaration","scope":44,"src":"1221:10:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":36,"name":"address","nodeType":"ElementaryTypeName","src":"1221:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":39,"mutability":"mutable","name":"value","nameLocation":"1241:5:0","nodeType":"VariableDeclaration","scope":44,"src":"1233:13:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":38,"name":"uint256","nodeType":"ElementaryTypeName","src":"1233:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1220:27:0"},"returnParameters":{"id":43,"nodeType":"ParameterList","parameters":[{"constant":false,"id":42,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":44,"src":"1266:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":41,"name":"bool","nodeType":"ElementaryTypeName","src":"1266:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1265:6:0"},"scope":77,"src":"1203:69:0","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":45,"nodeType":"StructuredDocumentation","src":"1278:264:0","text":" @dev Returns the remaining number of tokens that `spender` will be\n allowed to spend on behalf of `owner` through {transferFrom}. This is\n zero by default.\n This value changes when {approve} or {transferFrom} are called."},"functionSelector":"dd62ed3e","id":54,"implemented":false,"kind":"function","modifiers":[],"name":"allowance","nameLocation":"1556:9:0","nodeType":"FunctionDefinition","parameters":{"id":50,"nodeType":"ParameterList","parameters":[{"constant":false,"id":47,"mutability":"mutable","name":"owner","nameLocation":"1574:5:0","nodeType":"VariableDeclaration","scope":54,"src":"1566:13:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":46,"name":"address","nodeType":"ElementaryTypeName","src":"1566:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":49,"mutability":"mutable","name":"spender","nameLocation":"1589:7:0","nodeType":"VariableDeclaration","scope":54,"src":"1581:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":48,"name":"address","nodeType":"ElementaryTypeName","src":"1581:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1565:32:0"},"returnParameters":{"id":53,"nodeType":"ParameterList","parameters":[{"constant":false,"id":52,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":54,"src":"1621:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":51,"name":"uint256","nodeType":"ElementaryTypeName","src":"1621:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1620:9:0"},"scope":77,"src":"1547:83:0","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":55,"nodeType":"StructuredDocumentation","src":"1636:667:0","text":" @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n caller's tokens.\n Returns a boolean value indicating whether the operation succeeded.\n IMPORTANT: Beware that changing an allowance with this method brings the risk\n that someone may use both the old and the new allowance by unfortunate\n transaction ordering. One possible solution to mitigate this race\n condition is to first reduce the spender's allowance to 0 and set the\n desired value afterwards:\n https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n Emits an {Approval} event."},"functionSelector":"095ea7b3","id":64,"implemented":false,"kind":"function","modifiers":[],"name":"approve","nameLocation":"2317:7:0","nodeType":"FunctionDefinition","parameters":{"id":60,"nodeType":"ParameterList","parameters":[{"constant":false,"id":57,"mutability":"mutable","name":"spender","nameLocation":"2333:7:0","nodeType":"VariableDeclaration","scope":64,"src":"2325:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":56,"name":"address","nodeType":"ElementaryTypeName","src":"2325:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":59,"mutability":"mutable","name":"value","nameLocation":"2350:5:0","nodeType":"VariableDeclaration","scope":64,"src":"2342:13:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":58,"name":"uint256","nodeType":"ElementaryTypeName","src":"2342:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2324:32:0"},"returnParameters":{"id":63,"nodeType":"ParameterList","parameters":[{"constant":false,"id":62,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":64,"src":"2375:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":61,"name":"bool","nodeType":"ElementaryTypeName","src":"2375:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2374:6:0"},"scope":77,"src":"2308:73:0","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":65,"nodeType":"StructuredDocumentation","src":"2387:297:0","text":" @dev Moves a `value` amount of tokens from `from` to `to` using the\n allowance mechanism. `value` is then deducted from the caller's\n allowance.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event."},"functionSelector":"23b872dd","id":76,"implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"2698:12:0","nodeType":"FunctionDefinition","parameters":{"id":72,"nodeType":"ParameterList","parameters":[{"constant":false,"id":67,"mutability":"mutable","name":"from","nameLocation":"2719:4:0","nodeType":"VariableDeclaration","scope":76,"src":"2711:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":66,"name":"address","nodeType":"ElementaryTypeName","src":"2711:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":69,"mutability":"mutable","name":"to","nameLocation":"2733:2:0","nodeType":"VariableDeclaration","scope":76,"src":"2725:10:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":68,"name":"address","nodeType":"ElementaryTypeName","src":"2725:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":71,"mutability":"mutable","name":"value","nameLocation":"2745:5:0","nodeType":"VariableDeclaration","scope":76,"src":"2737:13:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":70,"name":"uint256","nodeType":"ElementaryTypeName","src":"2737:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2710:41:0"},"returnParameters":{"id":75,"nodeType":"ParameterList","parameters":[{"constant":false,"id":74,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":76,"src":"2770:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":73,"name":"bool","nodeType":"ElementaryTypeName","src":"2770:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2769:6:0"},"scope":77,"src":"2689:87:0","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":78,"src":"203:2575:0","usedErrors":[],"usedEvents":[11,20]}],"src":"106:2673:0"},"id":0},"@openzeppelin/contracts/token/ERC721/IERC721.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721.sol","exportedSymbols":{"IERC165":[266],"IERC721":[194]},"id":195,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":79,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"108:24:1"},{"absolutePath":"@openzeppelin/contracts/utils/introspection/IERC165.sol","file":"../../utils/introspection/IERC165.sol","id":81,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":195,"sourceUnit":267,"src":"134:62:1","symbolAliases":[{"foreign":{"id":80,"name":"IERC165","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":266,"src":"142:7:1","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":83,"name":"IERC165","nameLocations":["287:7:1"],"nodeType":"IdentifierPath","referencedDeclaration":266,"src":"287:7:1"},"id":84,"nodeType":"InheritanceSpecifier","src":"287:7:1"}],"canonicalName":"IERC721","contractDependencies":[],"contractKind":"interface","documentation":{"id":82,"nodeType":"StructuredDocumentation","src":"198:67:1","text":" @dev Required interface of an ERC721 compliant contract."},"fullyImplemented":false,"id":194,"linearizedBaseContracts":[194,266],"name":"IERC721","nameLocation":"276:7:1","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":85,"nodeType":"StructuredDocumentation","src":"301:88:1","text":" @dev Emitted when `tokenId` token is transferred from `from` to `to`."},"eventSelector":"ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","id":93,"name":"Transfer","nameLocation":"400:8:1","nodeType":"EventDefinition","parameters":{"id":92,"nodeType":"ParameterList","parameters":[{"constant":false,"id":87,"indexed":true,"mutability":"mutable","name":"from","nameLocation":"425:4:1","nodeType":"VariableDeclaration","scope":93,"src":"409:20:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":86,"name":"address","nodeType":"ElementaryTypeName","src":"409:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":89,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"447:2:1","nodeType":"VariableDeclaration","scope":93,"src":"431:18:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":88,"name":"address","nodeType":"ElementaryTypeName","src":"431:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":91,"indexed":true,"mutability":"mutable","name":"tokenId","nameLocation":"467:7:1","nodeType":"VariableDeclaration","scope":93,"src":"451:23:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":90,"name":"uint256","nodeType":"ElementaryTypeName","src":"451:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"408:67:1"},"src":"394:82:1"},{"anonymous":false,"documentation":{"id":94,"nodeType":"StructuredDocumentation","src":"482:94:1","text":" @dev Emitted when `owner` enables `approved` to manage the `tokenId` token."},"eventSelector":"8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925","id":102,"name":"Approval","nameLocation":"587:8:1","nodeType":"EventDefinition","parameters":{"id":101,"nodeType":"ParameterList","parameters":[{"constant":false,"id":96,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"612:5:1","nodeType":"VariableDeclaration","scope":102,"src":"596:21:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":95,"name":"address","nodeType":"ElementaryTypeName","src":"596:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":98,"indexed":true,"mutability":"mutable","name":"approved","nameLocation":"635:8:1","nodeType":"VariableDeclaration","scope":102,"src":"619:24:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":97,"name":"address","nodeType":"ElementaryTypeName","src":"619:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":100,"indexed":true,"mutability":"mutable","name":"tokenId","nameLocation":"661:7:1","nodeType":"VariableDeclaration","scope":102,"src":"645:23:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":99,"name":"uint256","nodeType":"ElementaryTypeName","src":"645:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"595:74:1"},"src":"581:89:1"},{"anonymous":false,"documentation":{"id":103,"nodeType":"StructuredDocumentation","src":"676:117:1","text":" @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets."},"eventSelector":"17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31","id":111,"name":"ApprovalForAll","nameLocation":"804:14:1","nodeType":"EventDefinition","parameters":{"id":110,"nodeType":"ParameterList","parameters":[{"constant":false,"id":105,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"835:5:1","nodeType":"VariableDeclaration","scope":111,"src":"819:21:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":104,"name":"address","nodeType":"ElementaryTypeName","src":"819:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":107,"indexed":true,"mutability":"mutable","name":"operator","nameLocation":"858:8:1","nodeType":"VariableDeclaration","scope":111,"src":"842:24:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":106,"name":"address","nodeType":"ElementaryTypeName","src":"842:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":109,"indexed":false,"mutability":"mutable","name":"approved","nameLocation":"873:8:1","nodeType":"VariableDeclaration","scope":111,"src":"868:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":108,"name":"bool","nodeType":"ElementaryTypeName","src":"868:4:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"818:64:1"},"src":"798:85:1"},{"documentation":{"id":112,"nodeType":"StructuredDocumentation","src":"889:76:1","text":" @dev Returns the number of tokens in ``owner``'s account."},"functionSelector":"70a08231","id":119,"implemented":false,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"979:9:1","nodeType":"FunctionDefinition","parameters":{"id":115,"nodeType":"ParameterList","parameters":[{"constant":false,"id":114,"mutability":"mutable","name":"owner","nameLocation":"997:5:1","nodeType":"VariableDeclaration","scope":119,"src":"989:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":113,"name":"address","nodeType":"ElementaryTypeName","src":"989:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"988:15:1"},"returnParameters":{"id":118,"nodeType":"ParameterList","parameters":[{"constant":false,"id":117,"mutability":"mutable","name":"balance","nameLocation":"1035:7:1","nodeType":"VariableDeclaration","scope":119,"src":"1027:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":116,"name":"uint256","nodeType":"ElementaryTypeName","src":"1027:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1026:17:1"},"scope":194,"src":"970:74:1","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":120,"nodeType":"StructuredDocumentation","src":"1050:131:1","text":" @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist."},"functionSelector":"6352211e","id":127,"implemented":false,"kind":"function","modifiers":[],"name":"ownerOf","nameLocation":"1195:7:1","nodeType":"FunctionDefinition","parameters":{"id":123,"nodeType":"ParameterList","parameters":[{"constant":false,"id":122,"mutability":"mutable","name":"tokenId","nameLocation":"1211:7:1","nodeType":"VariableDeclaration","scope":127,"src":"1203:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":121,"name":"uint256","nodeType":"ElementaryTypeName","src":"1203:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1202:17:1"},"returnParameters":{"id":126,"nodeType":"ParameterList","parameters":[{"constant":false,"id":125,"mutability":"mutable","name":"owner","nameLocation":"1251:5:1","nodeType":"VariableDeclaration","scope":127,"src":"1243:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":124,"name":"address","nodeType":"ElementaryTypeName","src":"1243:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1242:15:1"},"scope":194,"src":"1186:72:1","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":128,"nodeType":"StructuredDocumentation","src":"1264:565:1","text":" @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n   a safe transfer.\n Emits a {Transfer} event."},"functionSelector":"b88d4fde","id":139,"implemented":false,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"1843:16:1","nodeType":"FunctionDefinition","parameters":{"id":137,"nodeType":"ParameterList","parameters":[{"constant":false,"id":130,"mutability":"mutable","name":"from","nameLocation":"1868:4:1","nodeType":"VariableDeclaration","scope":139,"src":"1860:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":129,"name":"address","nodeType":"ElementaryTypeName","src":"1860:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":132,"mutability":"mutable","name":"to","nameLocation":"1882:2:1","nodeType":"VariableDeclaration","scope":139,"src":"1874:10:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":131,"name":"address","nodeType":"ElementaryTypeName","src":"1874:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":134,"mutability":"mutable","name":"tokenId","nameLocation":"1894:7:1","nodeType":"VariableDeclaration","scope":139,"src":"1886:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":133,"name":"uint256","nodeType":"ElementaryTypeName","src":"1886:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":136,"mutability":"mutable","name":"data","nameLocation":"1918:4:1","nodeType":"VariableDeclaration","scope":139,"src":"1903:19:1","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":135,"name":"bytes","nodeType":"ElementaryTypeName","src":"1903:5:1","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1859:64:1"},"returnParameters":{"id":138,"nodeType":"ParameterList","parameters":[],"src":"1932:0:1"},"scope":194,"src":"1834:99:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":140,"nodeType":"StructuredDocumentation","src":"1939:705:1","text":" @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\n   {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n   a safe transfer.\n Emits a {Transfer} event."},"functionSelector":"42842e0e","id":149,"implemented":false,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"2658:16:1","nodeType":"FunctionDefinition","parameters":{"id":147,"nodeType":"ParameterList","parameters":[{"constant":false,"id":142,"mutability":"mutable","name":"from","nameLocation":"2683:4:1","nodeType":"VariableDeclaration","scope":149,"src":"2675:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":141,"name":"address","nodeType":"ElementaryTypeName","src":"2675:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":144,"mutability":"mutable","name":"to","nameLocation":"2697:2:1","nodeType":"VariableDeclaration","scope":149,"src":"2689:10:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":143,"name":"address","nodeType":"ElementaryTypeName","src":"2689:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":146,"mutability":"mutable","name":"tokenId","nameLocation":"2709:7:1","nodeType":"VariableDeclaration","scope":149,"src":"2701:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":145,"name":"uint256","nodeType":"ElementaryTypeName","src":"2701:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2674:43:1"},"returnParameters":{"id":148,"nodeType":"ParameterList","parameters":[],"src":"2726:0:1"},"scope":194,"src":"2649:78:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":150,"nodeType":"StructuredDocumentation","src":"2733:732:1","text":" @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721\n or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n understand this adds an external call which potentially creates a reentrancy vulnerability.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event."},"functionSelector":"23b872dd","id":159,"implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"3479:12:1","nodeType":"FunctionDefinition","parameters":{"id":157,"nodeType":"ParameterList","parameters":[{"constant":false,"id":152,"mutability":"mutable","name":"from","nameLocation":"3500:4:1","nodeType":"VariableDeclaration","scope":159,"src":"3492:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":151,"name":"address","nodeType":"ElementaryTypeName","src":"3492:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":154,"mutability":"mutable","name":"to","nameLocation":"3514:2:1","nodeType":"VariableDeclaration","scope":159,"src":"3506:10:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":153,"name":"address","nodeType":"ElementaryTypeName","src":"3506:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":156,"mutability":"mutable","name":"tokenId","nameLocation":"3526:7:1","nodeType":"VariableDeclaration","scope":159,"src":"3518:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":155,"name":"uint256","nodeType":"ElementaryTypeName","src":"3518:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3491:43:1"},"returnParameters":{"id":158,"nodeType":"ParameterList","parameters":[],"src":"3543:0:1"},"scope":194,"src":"3470:74:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":160,"nodeType":"StructuredDocumentation","src":"3550:452:1","text":" @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event."},"functionSelector":"095ea7b3","id":167,"implemented":false,"kind":"function","modifiers":[],"name":"approve","nameLocation":"4016:7:1","nodeType":"FunctionDefinition","parameters":{"id":165,"nodeType":"ParameterList","parameters":[{"constant":false,"id":162,"mutability":"mutable","name":"to","nameLocation":"4032:2:1","nodeType":"VariableDeclaration","scope":167,"src":"4024:10:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":161,"name":"address","nodeType":"ElementaryTypeName","src":"4024:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":164,"mutability":"mutable","name":"tokenId","nameLocation":"4044:7:1","nodeType":"VariableDeclaration","scope":167,"src":"4036:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":163,"name":"uint256","nodeType":"ElementaryTypeName","src":"4036:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4023:29:1"},"returnParameters":{"id":166,"nodeType":"ParameterList","parameters":[],"src":"4061:0:1"},"scope":194,"src":"4007:55:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":168,"nodeType":"StructuredDocumentation","src":"4068:315:1","text":" @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the address zero.\n Emits an {ApprovalForAll} event."},"functionSelector":"a22cb465","id":175,"implemented":false,"kind":"function","modifiers":[],"name":"setApprovalForAll","nameLocation":"4397:17:1","nodeType":"FunctionDefinition","parameters":{"id":173,"nodeType":"ParameterList","parameters":[{"constant":false,"id":170,"mutability":"mutable","name":"operator","nameLocation":"4423:8:1","nodeType":"VariableDeclaration","scope":175,"src":"4415:16:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":169,"name":"address","nodeType":"ElementaryTypeName","src":"4415:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":172,"mutability":"mutable","name":"approved","nameLocation":"4438:8:1","nodeType":"VariableDeclaration","scope":175,"src":"4433:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":171,"name":"bool","nodeType":"ElementaryTypeName","src":"4433:4:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4414:33:1"},"returnParameters":{"id":174,"nodeType":"ParameterList","parameters":[],"src":"4456:0:1"},"scope":194,"src":"4388:69:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":176,"nodeType":"StructuredDocumentation","src":"4463:139:1","text":" @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist."},"functionSelector":"081812fc","id":183,"implemented":false,"kind":"function","modifiers":[],"name":"getApproved","nameLocation":"4616:11:1","nodeType":"FunctionDefinition","parameters":{"id":179,"nodeType":"ParameterList","parameters":[{"constant":false,"id":178,"mutability":"mutable","name":"tokenId","nameLocation":"4636:7:1","nodeType":"VariableDeclaration","scope":183,"src":"4628:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":177,"name":"uint256","nodeType":"ElementaryTypeName","src":"4628:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4627:17:1"},"returnParameters":{"id":182,"nodeType":"ParameterList","parameters":[{"constant":false,"id":181,"mutability":"mutable","name":"operator","nameLocation":"4676:8:1","nodeType":"VariableDeclaration","scope":183,"src":"4668:16:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":180,"name":"address","nodeType":"ElementaryTypeName","src":"4668:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4667:18:1"},"scope":194,"src":"4607:79:1","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":184,"nodeType":"StructuredDocumentation","src":"4692:138:1","text":" @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}"},"functionSelector":"e985e9c5","id":193,"implemented":false,"kind":"function","modifiers":[],"name":"isApprovedForAll","nameLocation":"4844:16:1","nodeType":"FunctionDefinition","parameters":{"id":189,"nodeType":"ParameterList","parameters":[{"constant":false,"id":186,"mutability":"mutable","name":"owner","nameLocation":"4869:5:1","nodeType":"VariableDeclaration","scope":193,"src":"4861:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":185,"name":"address","nodeType":"ElementaryTypeName","src":"4861:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":188,"mutability":"mutable","name":"operator","nameLocation":"4884:8:1","nodeType":"VariableDeclaration","scope":193,"src":"4876:16:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":187,"name":"address","nodeType":"ElementaryTypeName","src":"4876:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4860:33:1"},"returnParameters":{"id":192,"nodeType":"ParameterList","parameters":[{"constant":false,"id":191,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":193,"src":"4917:4:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":190,"name":"bool","nodeType":"ElementaryTypeName","src":"4917:4:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4916:6:1"},"scope":194,"src":"4835:88:1","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":195,"src":"266:4659:1","usedErrors":[],"usedEvents":[93,102,111]}],"src":"108:4818:1"},"id":1},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol","exportedSymbols":{"IERC721":[194],"IERC721Enumerable":[226]},"id":227,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":196,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"129:24:2"},{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721.sol","file":"../IERC721.sol","id":198,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":227,"sourceUnit":195,"src":"155:39:2","symbolAliases":[{"foreign":{"id":197,"name":"IERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":194,"src":"163:7:2","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":200,"name":"IERC721","nameLocations":["364:7:2"],"nodeType":"IdentifierPath","referencedDeclaration":194,"src":"364:7:2"},"id":201,"nodeType":"InheritanceSpecifier","src":"364:7:2"}],"canonicalName":"IERC721Enumerable","contractDependencies":[],"contractKind":"interface","documentation":{"id":199,"nodeType":"StructuredDocumentation","src":"196:136:2","text":" @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721"},"fullyImplemented":false,"id":226,"linearizedBaseContracts":[226,194,266],"name":"IERC721Enumerable","nameLocation":"343:17:2","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":202,"nodeType":"StructuredDocumentation","src":"378:82:2","text":" @dev Returns the total amount of tokens stored by the contract."},"functionSelector":"18160ddd","id":207,"implemented":false,"kind":"function","modifiers":[],"name":"totalSupply","nameLocation":"474:11:2","nodeType":"FunctionDefinition","parameters":{"id":203,"nodeType":"ParameterList","parameters":[],"src":"485:2:2"},"returnParameters":{"id":206,"nodeType":"ParameterList","parameters":[{"constant":false,"id":205,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":207,"src":"511:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":204,"name":"uint256","nodeType":"ElementaryTypeName","src":"511:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"510:9:2"},"scope":226,"src":"465:55:2","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":208,"nodeType":"StructuredDocumentation","src":"526:171:2","text":" @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens."},"functionSelector":"2f745c59","id":217,"implemented":false,"kind":"function","modifiers":[],"name":"tokenOfOwnerByIndex","nameLocation":"711:19:2","nodeType":"FunctionDefinition","parameters":{"id":213,"nodeType":"ParameterList","parameters":[{"constant":false,"id":210,"mutability":"mutable","name":"owner","nameLocation":"739:5:2","nodeType":"VariableDeclaration","scope":217,"src":"731:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":209,"name":"address","nodeType":"ElementaryTypeName","src":"731:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":212,"mutability":"mutable","name":"index","nameLocation":"754:5:2","nodeType":"VariableDeclaration","scope":217,"src":"746:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":211,"name":"uint256","nodeType":"ElementaryTypeName","src":"746:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"730:30:2"},"returnParameters":{"id":216,"nodeType":"ParameterList","parameters":[{"constant":false,"id":215,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":217,"src":"784:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":214,"name":"uint256","nodeType":"ElementaryTypeName","src":"784:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"783:9:2"},"scope":226,"src":"702:91:2","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":218,"nodeType":"StructuredDocumentation","src":"799:164:2","text":" @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens."},"functionSelector":"4f6ccce7","id":225,"implemented":false,"kind":"function","modifiers":[],"name":"tokenByIndex","nameLocation":"977:12:2","nodeType":"FunctionDefinition","parameters":{"id":221,"nodeType":"ParameterList","parameters":[{"constant":false,"id":220,"mutability":"mutable","name":"index","nameLocation":"998:5:2","nodeType":"VariableDeclaration","scope":225,"src":"990:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":219,"name":"uint256","nodeType":"ElementaryTypeName","src":"990:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"989:15:2"},"returnParameters":{"id":224,"nodeType":"ParameterList","parameters":[{"constant":false,"id":223,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":225,"src":"1028:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":222,"name":"uint256","nodeType":"ElementaryTypeName","src":"1028:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1027:9:2"},"scope":226,"src":"968:69:2","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":227,"src":"333:706:2","usedErrors":[],"usedEvents":[93,102,111]}],"src":"129:911:2"},"id":2},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol","exportedSymbols":{"IERC721":[194],"IERC721Metadata":[254]},"id":255,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":228,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"127:24:3"},{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721.sol","file":"../IERC721.sol","id":230,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":255,"sourceUnit":195,"src":"153:39:3","symbolAliases":[{"foreign":{"id":229,"name":"IERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":194,"src":"161:7:3","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":232,"name":"IERC721","nameLocations":["357:7:3"],"nodeType":"IdentifierPath","referencedDeclaration":194,"src":"357:7:3"},"id":233,"nodeType":"InheritanceSpecifier","src":"357:7:3"}],"canonicalName":"IERC721Metadata","contractDependencies":[],"contractKind":"interface","documentation":{"id":231,"nodeType":"StructuredDocumentation","src":"194:133:3","text":" @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721"},"fullyImplemented":false,"id":254,"linearizedBaseContracts":[254,194,266],"name":"IERC721Metadata","nameLocation":"338:15:3","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":234,"nodeType":"StructuredDocumentation","src":"371:58:3","text":" @dev Returns the token collection name."},"functionSelector":"06fdde03","id":239,"implemented":false,"kind":"function","modifiers":[],"name":"name","nameLocation":"443:4:3","nodeType":"FunctionDefinition","parameters":{"id":235,"nodeType":"ParameterList","parameters":[],"src":"447:2:3"},"returnParameters":{"id":238,"nodeType":"ParameterList","parameters":[{"constant":false,"id":237,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":239,"src":"473:13:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":236,"name":"string","nodeType":"ElementaryTypeName","src":"473:6:3","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"472:15:3"},"scope":254,"src":"434:54:3","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":240,"nodeType":"StructuredDocumentation","src":"494:60:3","text":" @dev Returns the token collection symbol."},"functionSelector":"95d89b41","id":245,"implemented":false,"kind":"function","modifiers":[],"name":"symbol","nameLocation":"568:6:3","nodeType":"FunctionDefinition","parameters":{"id":241,"nodeType":"ParameterList","parameters":[],"src":"574:2:3"},"returnParameters":{"id":244,"nodeType":"ParameterList","parameters":[{"constant":false,"id":243,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":245,"src":"600:13:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":242,"name":"string","nodeType":"ElementaryTypeName","src":"600:6:3","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"599:15:3"},"scope":254,"src":"559:56:3","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":246,"nodeType":"StructuredDocumentation","src":"621:90:3","text":" @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token."},"functionSelector":"c87b56dd","id":253,"implemented":false,"kind":"function","modifiers":[],"name":"tokenURI","nameLocation":"725:8:3","nodeType":"FunctionDefinition","parameters":{"id":249,"nodeType":"ParameterList","parameters":[{"constant":false,"id":248,"mutability":"mutable","name":"tokenId","nameLocation":"742:7:3","nodeType":"VariableDeclaration","scope":253,"src":"734:15:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":247,"name":"uint256","nodeType":"ElementaryTypeName","src":"734:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"733:17:3"},"returnParameters":{"id":252,"nodeType":"ParameterList","parameters":[{"constant":false,"id":251,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":253,"src":"774:13:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":250,"name":"string","nodeType":"ElementaryTypeName","src":"774:6:3","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"773:15:3"},"scope":254,"src":"716:73:3","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":255,"src":"328:463:3","usedErrors":[],"usedEvents":[93,102,111]}],"src":"127:665:3"},"id":3},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/introspection/IERC165.sol","exportedSymbols":{"IERC165":[266]},"id":267,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":256,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"115:24:4"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC165","contractDependencies":[],"contractKind":"interface","documentation":{"id":257,"nodeType":"StructuredDocumentation","src":"141:279:4","text":" @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}."},"fullyImplemented":false,"id":266,"linearizedBaseContracts":[266],"name":"IERC165","nameLocation":"431:7:4","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":258,"nodeType":"StructuredDocumentation","src":"445:340:4","text":" @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas."},"functionSelector":"01ffc9a7","id":265,"implemented":false,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"799:17:4","nodeType":"FunctionDefinition","parameters":{"id":261,"nodeType":"ParameterList","parameters":[{"constant":false,"id":260,"mutability":"mutable","name":"interfaceId","nameLocation":"824:11:4","nodeType":"VariableDeclaration","scope":265,"src":"817:18:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":259,"name":"bytes4","nodeType":"ElementaryTypeName","src":"817:6:4","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"816:20:4"},"returnParameters":{"id":264,"nodeType":"ParameterList","parameters":[{"constant":false,"id":263,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":265,"src":"860:4:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":262,"name":"bool","nodeType":"ElementaryTypeName","src":"860:4:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"859:6:4"},"scope":266,"src":"790:76:4","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":267,"src":"421:447:4","usedErrors":[],"usedEvents":[]}],"src":"115:754:4"},"id":4},"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol":{"ast":{"absolutePath":"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol","exportedSymbols":{"IUniswapV2Pair":[508]},"id":509,"nodeType":"SourceUnit","nodes":[{"id":268,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"0:24:5"},{"abstract":false,"baseContracts":[],"canonicalName":"IUniswapV2Pair","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":508,"linearizedBaseContracts":[508],"name":"IUniswapV2Pair","nameLocation":"36:14:5","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"eventSelector":"8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925","id":276,"name":"Approval","nameLocation":"63:8:5","nodeType":"EventDefinition","parameters":{"id":275,"nodeType":"ParameterList","parameters":[{"constant":false,"id":270,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"88:5:5","nodeType":"VariableDeclaration","scope":276,"src":"72:21:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":269,"name":"address","nodeType":"ElementaryTypeName","src":"72:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":272,"indexed":true,"mutability":"mutable","name":"spender","nameLocation":"111:7:5","nodeType":"VariableDeclaration","scope":276,"src":"95:23:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":271,"name":"address","nodeType":"ElementaryTypeName","src":"95:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":274,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"125:5:5","nodeType":"VariableDeclaration","scope":276,"src":"120:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":273,"name":"uint","nodeType":"ElementaryTypeName","src":"120:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"71:60:5"},"src":"57:75:5"},{"anonymous":false,"eventSelector":"ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","id":284,"name":"Transfer","nameLocation":"143:8:5","nodeType":"EventDefinition","parameters":{"id":283,"nodeType":"ParameterList","parameters":[{"constant":false,"id":278,"indexed":true,"mutability":"mutable","name":"from","nameLocation":"168:4:5","nodeType":"VariableDeclaration","scope":284,"src":"152:20:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":277,"name":"address","nodeType":"ElementaryTypeName","src":"152:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":280,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"190:2:5","nodeType":"VariableDeclaration","scope":284,"src":"174:18:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":279,"name":"address","nodeType":"ElementaryTypeName","src":"174:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":282,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"199:5:5","nodeType":"VariableDeclaration","scope":284,"src":"194:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":281,"name":"uint","nodeType":"ElementaryTypeName","src":"194:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"151:54:5"},"src":"137:69:5"},{"functionSelector":"06fdde03","id":289,"implemented":false,"kind":"function","modifiers":[],"name":"name","nameLocation":"221:4:5","nodeType":"FunctionDefinition","parameters":{"id":285,"nodeType":"ParameterList","parameters":[],"src":"225:2:5"},"returnParameters":{"id":288,"nodeType":"ParameterList","parameters":[{"constant":false,"id":287,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":289,"src":"251:13:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":286,"name":"string","nodeType":"ElementaryTypeName","src":"251:6:5","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"250:15:5"},"scope":508,"src":"212:54:5","stateMutability":"pure","virtual":false,"visibility":"external"},{"functionSelector":"95d89b41","id":294,"implemented":false,"kind":"function","modifiers":[],"name":"symbol","nameLocation":"280:6:5","nodeType":"FunctionDefinition","parameters":{"id":290,"nodeType":"ParameterList","parameters":[],"src":"286:2:5"},"returnParameters":{"id":293,"nodeType":"ParameterList","parameters":[{"constant":false,"id":292,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":294,"src":"312:13:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":291,"name":"string","nodeType":"ElementaryTypeName","src":"312:6:5","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"311:15:5"},"scope":508,"src":"271:56:5","stateMutability":"pure","virtual":false,"visibility":"external"},{"functionSelector":"313ce567","id":299,"implemented":false,"kind":"function","modifiers":[],"name":"decimals","nameLocation":"341:8:5","nodeType":"FunctionDefinition","parameters":{"id":295,"nodeType":"ParameterList","parameters":[],"src":"349:2:5"},"returnParameters":{"id":298,"nodeType":"ParameterList","parameters":[{"constant":false,"id":297,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":299,"src":"375:5:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":296,"name":"uint8","nodeType":"ElementaryTypeName","src":"375:5:5","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"374:7:5"},"scope":508,"src":"332:50:5","stateMutability":"pure","virtual":false,"visibility":"external"},{"functionSelector":"18160ddd","id":304,"implemented":false,"kind":"function","modifiers":[],"name":"totalSupply","nameLocation":"396:11:5","nodeType":"FunctionDefinition","parameters":{"id":300,"nodeType":"ParameterList","parameters":[],"src":"407:2:5"},"returnParameters":{"id":303,"nodeType":"ParameterList","parameters":[{"constant":false,"id":302,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":304,"src":"433:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":301,"name":"uint","nodeType":"ElementaryTypeName","src":"433:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"432:6:5"},"scope":508,"src":"387:52:5","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"70a08231","id":311,"implemented":false,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"453:9:5","nodeType":"FunctionDefinition","parameters":{"id":307,"nodeType":"ParameterList","parameters":[{"constant":false,"id":306,"mutability":"mutable","name":"owner","nameLocation":"471:5:5","nodeType":"VariableDeclaration","scope":311,"src":"463:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":305,"name":"address","nodeType":"ElementaryTypeName","src":"463:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"462:15:5"},"returnParameters":{"id":310,"nodeType":"ParameterList","parameters":[{"constant":false,"id":309,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":311,"src":"501:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":308,"name":"uint","nodeType":"ElementaryTypeName","src":"501:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"500:6:5"},"scope":508,"src":"444:63:5","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"dd62ed3e","id":320,"implemented":false,"kind":"function","modifiers":[],"name":"allowance","nameLocation":"521:9:5","nodeType":"FunctionDefinition","parameters":{"id":316,"nodeType":"ParameterList","parameters":[{"constant":false,"id":313,"mutability":"mutable","name":"owner","nameLocation":"539:5:5","nodeType":"VariableDeclaration","scope":320,"src":"531:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":312,"name":"address","nodeType":"ElementaryTypeName","src":"531:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":315,"mutability":"mutable","name":"spender","nameLocation":"554:7:5","nodeType":"VariableDeclaration","scope":320,"src":"546:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":314,"name":"address","nodeType":"ElementaryTypeName","src":"546:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"530:32:5"},"returnParameters":{"id":319,"nodeType":"ParameterList","parameters":[{"constant":false,"id":318,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":320,"src":"586:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":317,"name":"uint","nodeType":"ElementaryTypeName","src":"586:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"585:6:5"},"scope":508,"src":"512:80:5","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"095ea7b3","id":329,"implemented":false,"kind":"function","modifiers":[],"name":"approve","nameLocation":"607:7:5","nodeType":"FunctionDefinition","parameters":{"id":325,"nodeType":"ParameterList","parameters":[{"constant":false,"id":322,"mutability":"mutable","name":"spender","nameLocation":"623:7:5","nodeType":"VariableDeclaration","scope":329,"src":"615:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":321,"name":"address","nodeType":"ElementaryTypeName","src":"615:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":324,"mutability":"mutable","name":"value","nameLocation":"637:5:5","nodeType":"VariableDeclaration","scope":329,"src":"632:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":323,"name":"uint","nodeType":"ElementaryTypeName","src":"632:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"614:29:5"},"returnParameters":{"id":328,"nodeType":"ParameterList","parameters":[{"constant":false,"id":327,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":329,"src":"662:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":326,"name":"bool","nodeType":"ElementaryTypeName","src":"662:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"661:6:5"},"scope":508,"src":"598:70:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"a9059cbb","id":338,"implemented":false,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"682:8:5","nodeType":"FunctionDefinition","parameters":{"id":334,"nodeType":"ParameterList","parameters":[{"constant":false,"id":331,"mutability":"mutable","name":"to","nameLocation":"699:2:5","nodeType":"VariableDeclaration","scope":338,"src":"691:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":330,"name":"address","nodeType":"ElementaryTypeName","src":"691:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":333,"mutability":"mutable","name":"value","nameLocation":"708:5:5","nodeType":"VariableDeclaration","scope":338,"src":"703:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":332,"name":"uint","nodeType":"ElementaryTypeName","src":"703:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"690:24:5"},"returnParameters":{"id":337,"nodeType":"ParameterList","parameters":[{"constant":false,"id":336,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":338,"src":"733:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":335,"name":"bool","nodeType":"ElementaryTypeName","src":"733:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"732:6:5"},"scope":508,"src":"673:66:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"23b872dd","id":349,"implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"753:12:5","nodeType":"FunctionDefinition","parameters":{"id":345,"nodeType":"ParameterList","parameters":[{"constant":false,"id":340,"mutability":"mutable","name":"from","nameLocation":"774:4:5","nodeType":"VariableDeclaration","scope":349,"src":"766:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":339,"name":"address","nodeType":"ElementaryTypeName","src":"766:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":342,"mutability":"mutable","name":"to","nameLocation":"788:2:5","nodeType":"VariableDeclaration","scope":349,"src":"780:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":341,"name":"address","nodeType":"ElementaryTypeName","src":"780:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":344,"mutability":"mutable","name":"value","nameLocation":"797:5:5","nodeType":"VariableDeclaration","scope":349,"src":"792:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":343,"name":"uint","nodeType":"ElementaryTypeName","src":"792:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"765:38:5"},"returnParameters":{"id":348,"nodeType":"ParameterList","parameters":[{"constant":false,"id":347,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":349,"src":"822:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":346,"name":"bool","nodeType":"ElementaryTypeName","src":"822:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"821:6:5"},"scope":508,"src":"744:84:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"3644e515","id":354,"implemented":false,"kind":"function","modifiers":[],"name":"DOMAIN_SEPARATOR","nameLocation":"843:16:5","nodeType":"FunctionDefinition","parameters":{"id":350,"nodeType":"ParameterList","parameters":[],"src":"859:2:5"},"returnParameters":{"id":353,"nodeType":"ParameterList","parameters":[{"constant":false,"id":352,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":354,"src":"885:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":351,"name":"bytes32","nodeType":"ElementaryTypeName","src":"885:7:5","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"884:9:5"},"scope":508,"src":"834:60:5","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"30adf81f","id":359,"implemented":false,"kind":"function","modifiers":[],"name":"PERMIT_TYPEHASH","nameLocation":"908:15:5","nodeType":"FunctionDefinition","parameters":{"id":355,"nodeType":"ParameterList","parameters":[],"src":"923:2:5"},"returnParameters":{"id":358,"nodeType":"ParameterList","parameters":[{"constant":false,"id":357,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":359,"src":"949:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":356,"name":"bytes32","nodeType":"ElementaryTypeName","src":"949:7:5","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"948:9:5"},"scope":508,"src":"899:59:5","stateMutability":"pure","virtual":false,"visibility":"external"},{"functionSelector":"7ecebe00","id":366,"implemented":false,"kind":"function","modifiers":[],"name":"nonces","nameLocation":"972:6:5","nodeType":"FunctionDefinition","parameters":{"id":362,"nodeType":"ParameterList","parameters":[{"constant":false,"id":361,"mutability":"mutable","name":"owner","nameLocation":"987:5:5","nodeType":"VariableDeclaration","scope":366,"src":"979:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":360,"name":"address","nodeType":"ElementaryTypeName","src":"979:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"978:15:5"},"returnParameters":{"id":365,"nodeType":"ParameterList","parameters":[{"constant":false,"id":364,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":366,"src":"1017:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":363,"name":"uint","nodeType":"ElementaryTypeName","src":"1017:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1016:6:5"},"scope":508,"src":"963:60:5","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"d505accf","id":383,"implemented":false,"kind":"function","modifiers":[],"name":"permit","nameLocation":"1038:6:5","nodeType":"FunctionDefinition","parameters":{"id":381,"nodeType":"ParameterList","parameters":[{"constant":false,"id":368,"mutability":"mutable","name":"owner","nameLocation":"1053:5:5","nodeType":"VariableDeclaration","scope":383,"src":"1045:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":367,"name":"address","nodeType":"ElementaryTypeName","src":"1045:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":370,"mutability":"mutable","name":"spender","nameLocation":"1068:7:5","nodeType":"VariableDeclaration","scope":383,"src":"1060:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":369,"name":"address","nodeType":"ElementaryTypeName","src":"1060:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":372,"mutability":"mutable","name":"value","nameLocation":"1082:5:5","nodeType":"VariableDeclaration","scope":383,"src":"1077:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":371,"name":"uint","nodeType":"ElementaryTypeName","src":"1077:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":374,"mutability":"mutable","name":"deadline","nameLocation":"1094:8:5","nodeType":"VariableDeclaration","scope":383,"src":"1089:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":373,"name":"uint","nodeType":"ElementaryTypeName","src":"1089:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":376,"mutability":"mutable","name":"v","nameLocation":"1110:1:5","nodeType":"VariableDeclaration","scope":383,"src":"1104:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":375,"name":"uint8","nodeType":"ElementaryTypeName","src":"1104:5:5","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":378,"mutability":"mutable","name":"r","nameLocation":"1121:1:5","nodeType":"VariableDeclaration","scope":383,"src":"1113:9:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":377,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1113:7:5","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":380,"mutability":"mutable","name":"s","nameLocation":"1132:1:5","nodeType":"VariableDeclaration","scope":383,"src":"1124:9:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":379,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1124:7:5","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1044:90:5"},"returnParameters":{"id":382,"nodeType":"ParameterList","parameters":[],"src":"1143:0:5"},"scope":508,"src":"1029:115:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"anonymous":false,"eventSelector":"4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f","id":391,"name":"Mint","nameLocation":"1156:4:5","nodeType":"EventDefinition","parameters":{"id":390,"nodeType":"ParameterList","parameters":[{"constant":false,"id":385,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"1177:6:5","nodeType":"VariableDeclaration","scope":391,"src":"1161:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":384,"name":"address","nodeType":"ElementaryTypeName","src":"1161:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":387,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"1190:7:5","nodeType":"VariableDeclaration","scope":391,"src":"1185:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":386,"name":"uint","nodeType":"ElementaryTypeName","src":"1185:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":389,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"1204:7:5","nodeType":"VariableDeclaration","scope":391,"src":"1199:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":388,"name":"uint","nodeType":"ElementaryTypeName","src":"1199:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1160:52:5"},"src":"1150:63:5"},{"anonymous":false,"eventSelector":"dccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496","id":401,"name":"Burn","nameLocation":"1224:4:5","nodeType":"EventDefinition","parameters":{"id":400,"nodeType":"ParameterList","parameters":[{"constant":false,"id":393,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"1245:6:5","nodeType":"VariableDeclaration","scope":401,"src":"1229:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":392,"name":"address","nodeType":"ElementaryTypeName","src":"1229:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":395,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"1258:7:5","nodeType":"VariableDeclaration","scope":401,"src":"1253:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":394,"name":"uint","nodeType":"ElementaryTypeName","src":"1253:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":397,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"1272:7:5","nodeType":"VariableDeclaration","scope":401,"src":"1267:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":396,"name":"uint","nodeType":"ElementaryTypeName","src":"1267:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":399,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"1297:2:5","nodeType":"VariableDeclaration","scope":401,"src":"1281:18:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":398,"name":"address","nodeType":"ElementaryTypeName","src":"1281:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1228:72:5"},"src":"1218:83:5"},{"anonymous":false,"eventSelector":"d78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822","id":415,"name":"Swap","nameLocation":"1312:4:5","nodeType":"EventDefinition","parameters":{"id":414,"nodeType":"ParameterList","parameters":[{"constant":false,"id":403,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"1342:6:5","nodeType":"VariableDeclaration","scope":415,"src":"1326:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":402,"name":"address","nodeType":"ElementaryTypeName","src":"1326:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":405,"indexed":false,"mutability":"mutable","name":"amount0In","nameLocation":"1363:9:5","nodeType":"VariableDeclaration","scope":415,"src":"1358:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":404,"name":"uint","nodeType":"ElementaryTypeName","src":"1358:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":407,"indexed":false,"mutability":"mutable","name":"amount1In","nameLocation":"1387:9:5","nodeType":"VariableDeclaration","scope":415,"src":"1382:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":406,"name":"uint","nodeType":"ElementaryTypeName","src":"1382:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":409,"indexed":false,"mutability":"mutable","name":"amount0Out","nameLocation":"1411:10:5","nodeType":"VariableDeclaration","scope":415,"src":"1406:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":408,"name":"uint","nodeType":"ElementaryTypeName","src":"1406:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":411,"indexed":false,"mutability":"mutable","name":"amount1Out","nameLocation":"1436:10:5","nodeType":"VariableDeclaration","scope":415,"src":"1431:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":410,"name":"uint","nodeType":"ElementaryTypeName","src":"1431:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":413,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"1472:2:5","nodeType":"VariableDeclaration","scope":415,"src":"1456:18:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":412,"name":"address","nodeType":"ElementaryTypeName","src":"1456:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1316:164:5"},"src":"1306:175:5"},{"anonymous":false,"eventSelector":"1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1","id":421,"name":"Sync","nameLocation":"1492:4:5","nodeType":"EventDefinition","parameters":{"id":420,"nodeType":"ParameterList","parameters":[{"constant":false,"id":417,"indexed":false,"mutability":"mutable","name":"reserve0","nameLocation":"1505:8:5","nodeType":"VariableDeclaration","scope":421,"src":"1497:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"},"typeName":{"id":416,"name":"uint112","nodeType":"ElementaryTypeName","src":"1497:7:5","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"}},"visibility":"internal"},{"constant":false,"id":419,"indexed":false,"mutability":"mutable","name":"reserve1","nameLocation":"1523:8:5","nodeType":"VariableDeclaration","scope":421,"src":"1515:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"},"typeName":{"id":418,"name":"uint112","nodeType":"ElementaryTypeName","src":"1515:7:5","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"}},"visibility":"internal"}],"src":"1496:36:5"},"src":"1486:47:5"},{"functionSelector":"ba9a7a56","id":426,"implemented":false,"kind":"function","modifiers":[],"name":"MINIMUM_LIQUIDITY","nameLocation":"1548:17:5","nodeType":"FunctionDefinition","parameters":{"id":422,"nodeType":"ParameterList","parameters":[],"src":"1565:2:5"},"returnParameters":{"id":425,"nodeType":"ParameterList","parameters":[{"constant":false,"id":424,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":426,"src":"1591:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":423,"name":"uint","nodeType":"ElementaryTypeName","src":"1591:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1590:6:5"},"scope":508,"src":"1539:58:5","stateMutability":"pure","virtual":false,"visibility":"external"},{"functionSelector":"c45a0155","id":431,"implemented":false,"kind":"function","modifiers":[],"name":"factory","nameLocation":"1611:7:5","nodeType":"FunctionDefinition","parameters":{"id":427,"nodeType":"ParameterList","parameters":[],"src":"1618:2:5"},"returnParameters":{"id":430,"nodeType":"ParameterList","parameters":[{"constant":false,"id":429,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":431,"src":"1644:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":428,"name":"address","nodeType":"ElementaryTypeName","src":"1644:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1643:9:5"},"scope":508,"src":"1602:51:5","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"0dfe1681","id":436,"implemented":false,"kind":"function","modifiers":[],"name":"token0","nameLocation":"1667:6:5","nodeType":"FunctionDefinition","parameters":{"id":432,"nodeType":"ParameterList","parameters":[],"src":"1673:2:5"},"returnParameters":{"id":435,"nodeType":"ParameterList","parameters":[{"constant":false,"id":434,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":436,"src":"1699:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":433,"name":"address","nodeType":"ElementaryTypeName","src":"1699:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1698:9:5"},"scope":508,"src":"1658:50:5","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"d21220a7","id":441,"implemented":false,"kind":"function","modifiers":[],"name":"token1","nameLocation":"1722:6:5","nodeType":"FunctionDefinition","parameters":{"id":437,"nodeType":"ParameterList","parameters":[],"src":"1728:2:5"},"returnParameters":{"id":440,"nodeType":"ParameterList","parameters":[{"constant":false,"id":439,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":441,"src":"1754:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":438,"name":"address","nodeType":"ElementaryTypeName","src":"1754:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1753:9:5"},"scope":508,"src":"1713:50:5","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"0902f1ac","id":450,"implemented":false,"kind":"function","modifiers":[],"name":"getReserves","nameLocation":"1777:11:5","nodeType":"FunctionDefinition","parameters":{"id":442,"nodeType":"ParameterList","parameters":[],"src":"1788:2:5"},"returnParameters":{"id":449,"nodeType":"ParameterList","parameters":[{"constant":false,"id":444,"mutability":"mutable","name":"reserve0","nameLocation":"1822:8:5","nodeType":"VariableDeclaration","scope":450,"src":"1814:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"},"typeName":{"id":443,"name":"uint112","nodeType":"ElementaryTypeName","src":"1814:7:5","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"}},"visibility":"internal"},{"constant":false,"id":446,"mutability":"mutable","name":"reserve1","nameLocation":"1840:8:5","nodeType":"VariableDeclaration","scope":450,"src":"1832:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"},"typeName":{"id":445,"name":"uint112","nodeType":"ElementaryTypeName","src":"1832:7:5","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"}},"visibility":"internal"},{"constant":false,"id":448,"mutability":"mutable","name":"blockTimestampLast","nameLocation":"1857:18:5","nodeType":"VariableDeclaration","scope":450,"src":"1850:25:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":447,"name":"uint32","nodeType":"ElementaryTypeName","src":"1850:6:5","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"src":"1813:63:5"},"scope":508,"src":"1768:109:5","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"5909c0d5","id":455,"implemented":false,"kind":"function","modifiers":[],"name":"price0CumulativeLast","nameLocation":"1891:20:5","nodeType":"FunctionDefinition","parameters":{"id":451,"nodeType":"ParameterList","parameters":[],"src":"1911:2:5"},"returnParameters":{"id":454,"nodeType":"ParameterList","parameters":[{"constant":false,"id":453,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":455,"src":"1937:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":452,"name":"uint","nodeType":"ElementaryTypeName","src":"1937:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1936:6:5"},"scope":508,"src":"1882:61:5","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"5a3d5493","id":460,"implemented":false,"kind":"function","modifiers":[],"name":"price1CumulativeLast","nameLocation":"1957:20:5","nodeType":"FunctionDefinition","parameters":{"id":456,"nodeType":"ParameterList","parameters":[],"src":"1977:2:5"},"returnParameters":{"id":459,"nodeType":"ParameterList","parameters":[{"constant":false,"id":458,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":460,"src":"2003:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":457,"name":"uint","nodeType":"ElementaryTypeName","src":"2003:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2002:6:5"},"scope":508,"src":"1948:61:5","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"7464fc3d","id":465,"implemented":false,"kind":"function","modifiers":[],"name":"kLast","nameLocation":"2023:5:5","nodeType":"FunctionDefinition","parameters":{"id":461,"nodeType":"ParameterList","parameters":[],"src":"2028:2:5"},"returnParameters":{"id":464,"nodeType":"ParameterList","parameters":[{"constant":false,"id":463,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":465,"src":"2054:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":462,"name":"uint","nodeType":"ElementaryTypeName","src":"2054:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2053:6:5"},"scope":508,"src":"2014:46:5","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"6a627842","id":472,"implemented":false,"kind":"function","modifiers":[],"name":"mint","nameLocation":"2075:4:5","nodeType":"FunctionDefinition","parameters":{"id":468,"nodeType":"ParameterList","parameters":[{"constant":false,"id":467,"mutability":"mutable","name":"to","nameLocation":"2088:2:5","nodeType":"VariableDeclaration","scope":472,"src":"2080:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":466,"name":"address","nodeType":"ElementaryTypeName","src":"2080:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2079:12:5"},"returnParameters":{"id":471,"nodeType":"ParameterList","parameters":[{"constant":false,"id":470,"mutability":"mutable","name":"liquidity","nameLocation":"2115:9:5","nodeType":"VariableDeclaration","scope":472,"src":"2110:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":469,"name":"uint","nodeType":"ElementaryTypeName","src":"2110:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2109:16:5"},"scope":508,"src":"2066:60:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"89afcb44","id":481,"implemented":false,"kind":"function","modifiers":[],"name":"burn","nameLocation":"2140:4:5","nodeType":"FunctionDefinition","parameters":{"id":475,"nodeType":"ParameterList","parameters":[{"constant":false,"id":474,"mutability":"mutable","name":"to","nameLocation":"2153:2:5","nodeType":"VariableDeclaration","scope":481,"src":"2145:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":473,"name":"address","nodeType":"ElementaryTypeName","src":"2145:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2144:12:5"},"returnParameters":{"id":480,"nodeType":"ParameterList","parameters":[{"constant":false,"id":477,"mutability":"mutable","name":"amount0","nameLocation":"2180:7:5","nodeType":"VariableDeclaration","scope":481,"src":"2175:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":476,"name":"uint","nodeType":"ElementaryTypeName","src":"2175:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":479,"mutability":"mutable","name":"amount1","nameLocation":"2194:7:5","nodeType":"VariableDeclaration","scope":481,"src":"2189:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":478,"name":"uint","nodeType":"ElementaryTypeName","src":"2189:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2174:28:5"},"scope":508,"src":"2131:72:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"022c0d9f","id":492,"implemented":false,"kind":"function","modifiers":[],"name":"swap","nameLocation":"2217:4:5","nodeType":"FunctionDefinition","parameters":{"id":490,"nodeType":"ParameterList","parameters":[{"constant":false,"id":483,"mutability":"mutable","name":"amount0Out","nameLocation":"2227:10:5","nodeType":"VariableDeclaration","scope":492,"src":"2222:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":482,"name":"uint","nodeType":"ElementaryTypeName","src":"2222:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":485,"mutability":"mutable","name":"amount1Out","nameLocation":"2244:10:5","nodeType":"VariableDeclaration","scope":492,"src":"2239:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":484,"name":"uint","nodeType":"ElementaryTypeName","src":"2239:4:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":487,"mutability":"mutable","name":"to","nameLocation":"2264:2:5","nodeType":"VariableDeclaration","scope":492,"src":"2256:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":486,"name":"address","nodeType":"ElementaryTypeName","src":"2256:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":489,"mutability":"mutable","name":"data","nameLocation":"2283:4:5","nodeType":"VariableDeclaration","scope":492,"src":"2268:19:5","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":488,"name":"bytes","nodeType":"ElementaryTypeName","src":"2268:5:5","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2221:67:5"},"returnParameters":{"id":491,"nodeType":"ParameterList","parameters":[],"src":"2297:0:5"},"scope":508,"src":"2208:90:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"bc25cf77","id":497,"implemented":false,"kind":"function","modifiers":[],"name":"skim","nameLocation":"2312:4:5","nodeType":"FunctionDefinition","parameters":{"id":495,"nodeType":"ParameterList","parameters":[{"constant":false,"id":494,"mutability":"mutable","name":"to","nameLocation":"2325:2:5","nodeType":"VariableDeclaration","scope":497,"src":"2317:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":493,"name":"address","nodeType":"ElementaryTypeName","src":"2317:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2316:12:5"},"returnParameters":{"id":496,"nodeType":"ParameterList","parameters":[],"src":"2337:0:5"},"scope":508,"src":"2303:35:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"fff6cae9","id":500,"implemented":false,"kind":"function","modifiers":[],"name":"sync","nameLocation":"2352:4:5","nodeType":"FunctionDefinition","parameters":{"id":498,"nodeType":"ParameterList","parameters":[],"src":"2356:2:5"},"returnParameters":{"id":499,"nodeType":"ParameterList","parameters":[],"src":"2367:0:5"},"scope":508,"src":"2343:25:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"485cc955","id":507,"implemented":false,"kind":"function","modifiers":[],"name":"initialize","nameLocation":"2383:10:5","nodeType":"FunctionDefinition","parameters":{"id":505,"nodeType":"ParameterList","parameters":[{"constant":false,"id":502,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":507,"src":"2394:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":501,"name":"address","nodeType":"ElementaryTypeName","src":"2394:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":504,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":507,"src":"2403:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":503,"name":"address","nodeType":"ElementaryTypeName","src":"2403:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2393:18:5"},"returnParameters":{"id":506,"nodeType":"ParameterList","parameters":[],"src":"2420:0:5"},"scope":508,"src":"2374:47:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":509,"src":"26:2397:5","usedErrors":[],"usedEvents":[276,284,391,401,415,421]}],"src":"0:2424:5"},"id":5},"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol":{"ast":{"absolutePath":"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol","exportedSymbols":{"IUniswapV3Pool":[530],"IUniswapV3PoolActions":[640],"IUniswapV3PoolDerivedState":[671],"IUniswapV3PoolEvents":[790],"IUniswapV3PoolImmutables":[830],"IUniswapV3PoolOwnerActions":[856],"IUniswapV3PoolState":[964]},"id":531,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":510,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:6"},{"absolutePath":"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol","file":"./pool/IUniswapV3PoolImmutables.sol","id":511,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":531,"sourceUnit":831,"src":"71:45:6","symbolAliases":[],"unitAlias":""},{"absolutePath":"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol","file":"./pool/IUniswapV3PoolState.sol","id":512,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":531,"sourceUnit":965,"src":"117:40:6","symbolAliases":[],"unitAlias":""},{"absolutePath":"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol","file":"./pool/IUniswapV3PoolDerivedState.sol","id":513,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":531,"sourceUnit":672,"src":"158:47:6","symbolAliases":[],"unitAlias":""},{"absolutePath":"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol","file":"./pool/IUniswapV3PoolActions.sol","id":514,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":531,"sourceUnit":641,"src":"206:42:6","symbolAliases":[],"unitAlias":""},{"absolutePath":"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol","file":"./pool/IUniswapV3PoolOwnerActions.sol","id":515,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":531,"sourceUnit":857,"src":"249:47:6","symbolAliases":[],"unitAlias":""},{"absolutePath":"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol","file":"./pool/IUniswapV3PoolEvents.sol","id":516,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":531,"sourceUnit":791,"src":"297:41:6","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":518,"name":"IUniswapV3PoolImmutables","nameLocations":["637:24:6"],"nodeType":"IdentifierPath","referencedDeclaration":830,"src":"637:24:6"},"id":519,"nodeType":"InheritanceSpecifier","src":"637:24:6"},{"baseName":{"id":520,"name":"IUniswapV3PoolState","nameLocations":["667:19:6"],"nodeType":"IdentifierPath","referencedDeclaration":964,"src":"667:19:6"},"id":521,"nodeType":"InheritanceSpecifier","src":"667:19:6"},{"baseName":{"id":522,"name":"IUniswapV3PoolDerivedState","nameLocations":["692:26:6"],"nodeType":"IdentifierPath","referencedDeclaration":671,"src":"692:26:6"},"id":523,"nodeType":"InheritanceSpecifier","src":"692:26:6"},{"baseName":{"id":524,"name":"IUniswapV3PoolActions","nameLocations":["724:21:6"],"nodeType":"IdentifierPath","referencedDeclaration":640,"src":"724:21:6"},"id":525,"nodeType":"InheritanceSpecifier","src":"724:21:6"},{"baseName":{"id":526,"name":"IUniswapV3PoolOwnerActions","nameLocations":["751:26:6"],"nodeType":"IdentifierPath","referencedDeclaration":856,"src":"751:26:6"},"id":527,"nodeType":"InheritanceSpecifier","src":"751:26:6"},{"baseName":{"id":528,"name":"IUniswapV3PoolEvents","nameLocations":["783:20:6"],"nodeType":"IdentifierPath","referencedDeclaration":790,"src":"783:20:6"},"id":529,"nodeType":"InheritanceSpecifier","src":"783:20:6"}],"canonicalName":"IUniswapV3Pool","contractDependencies":[],"contractKind":"interface","documentation":{"id":517,"nodeType":"StructuredDocumentation","src":"340:265:6","text":"@title The interface for a Uniswap V3 Pool\n @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform\n to the ERC20 specification\n @dev The pool interface is broken up into many smaller pieces"},"fullyImplemented":false,"id":530,"linearizedBaseContracts":[530,790,856,640,671,964,830],"name":"IUniswapV3Pool","nameLocation":"615:14:6","nodeType":"ContractDefinition","nodes":[],"scope":531,"src":"605:203:6","usedErrors":[],"usedEvents":[681,698,713,728,745,760,767,778,789]}],"src":"45:764:6"},"id":6},"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol":{"ast":{"absolutePath":"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol","exportedSymbols":{"IUniswapV3SwapCallback":[544]},"id":545,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":532,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:7"},{"abstract":false,"baseContracts":[],"canonicalName":"IUniswapV3SwapCallback","contractDependencies":[],"contractKind":"interface","documentation":{"id":533,"nodeType":"StructuredDocumentation","src":"71:144:7","text":"@title Callback for IUniswapV3PoolActions#swap\n @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface"},"fullyImplemented":false,"id":544,"linearizedBaseContracts":[544],"name":"IUniswapV3SwapCallback","nameLocation":"225:22:7","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":534,"nodeType":"StructuredDocumentation","src":"254:898:7","text":"@notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\n @dev In the implementation you must pay the pool tokens owed for the swap.\n The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.\n amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\n @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by\n the end of the swap. If positive, the callback must send that amount of token0 to the pool.\n @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by\n the end of the swap. If positive, the callback must send that amount of token1 to the pool.\n @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call"},"functionSelector":"fa461e33","id":543,"implemented":false,"kind":"function","modifiers":[],"name":"uniswapV3SwapCallback","nameLocation":"1166:21:7","nodeType":"FunctionDefinition","parameters":{"id":541,"nodeType":"ParameterList","parameters":[{"constant":false,"id":536,"mutability":"mutable","name":"amount0Delta","nameLocation":"1204:12:7","nodeType":"VariableDeclaration","scope":543,"src":"1197:19:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":535,"name":"int256","nodeType":"ElementaryTypeName","src":"1197:6:7","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":538,"mutability":"mutable","name":"amount1Delta","nameLocation":"1233:12:7","nodeType":"VariableDeclaration","scope":543,"src":"1226:19:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":537,"name":"int256","nodeType":"ElementaryTypeName","src":"1226:6:7","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":540,"mutability":"mutable","name":"data","nameLocation":"1270:4:7","nodeType":"VariableDeclaration","scope":543,"src":"1255:19:7","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":539,"name":"bytes","nodeType":"ElementaryTypeName","src":"1255:5:7","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1187:93:7"},"returnParameters":{"id":542,"nodeType":"ParameterList","parameters":[],"src":"1289:0:7"},"scope":544,"src":"1157:133:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":545,"src":"215:1077:7","usedErrors":[],"usedEvents":[]}],"src":"45:1248:7"},"id":7},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol":{"ast":{"absolutePath":"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol","exportedSymbols":{"IUniswapV3PoolActions":[640]},"id":641,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":546,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:8"},{"abstract":false,"baseContracts":[],"canonicalName":"IUniswapV3PoolActions","contractDependencies":[],"contractKind":"interface","documentation":{"id":547,"nodeType":"StructuredDocumentation","src":"71:102:8","text":"@title Permissionless pool actions\n @notice Contains pool methods that can be called by anyone"},"fullyImplemented":false,"id":640,"linearizedBaseContracts":[640],"name":"IUniswapV3PoolActions","nameLocation":"183:21:8","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":548,"nodeType":"StructuredDocumentation","src":"211:206:8","text":"@notice Sets the initial price for the pool\n @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value\n @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96"},"functionSelector":"f637731d","id":553,"implemented":false,"kind":"function","modifiers":[],"name":"initialize","nameLocation":"431:10:8","nodeType":"FunctionDefinition","parameters":{"id":551,"nodeType":"ParameterList","parameters":[{"constant":false,"id":550,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"450:12:8","nodeType":"VariableDeclaration","scope":553,"src":"442:20:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":549,"name":"uint160","nodeType":"ElementaryTypeName","src":"442:7:8","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"441:22:8"},"returnParameters":{"id":552,"nodeType":"ParameterList","parameters":[],"src":"472:0:8"},"scope":640,"src":"422:51:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":554,"nodeType":"StructuredDocumentation","src":"479:1029:8","text":"@notice Adds liquidity for the given recipient/tickLower/tickUpper position\n @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback\n in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends\n on tickLower, tickUpper, the amount of liquidity, and the current price.\n @param recipient The address for which the liquidity will be created\n @param tickLower The lower tick of the position in which to add liquidity\n @param tickUpper The upper tick of the position in which to add liquidity\n @param amount The 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"},"functionSelector":"3c8a7d8d","id":571,"implemented":false,"kind":"function","modifiers":[],"name":"mint","nameLocation":"1522:4:8","nodeType":"FunctionDefinition","parameters":{"id":565,"nodeType":"ParameterList","parameters":[{"constant":false,"id":556,"mutability":"mutable","name":"recipient","nameLocation":"1544:9:8","nodeType":"VariableDeclaration","scope":571,"src":"1536:17:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":555,"name":"address","nodeType":"ElementaryTypeName","src":"1536:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":558,"mutability":"mutable","name":"tickLower","nameLocation":"1569:9:8","nodeType":"VariableDeclaration","scope":571,"src":"1563:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":557,"name":"int24","nodeType":"ElementaryTypeName","src":"1563:5:8","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":560,"mutability":"mutable","name":"tickUpper","nameLocation":"1594:9:8","nodeType":"VariableDeclaration","scope":571,"src":"1588:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":559,"name":"int24","nodeType":"ElementaryTypeName","src":"1588:5:8","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":562,"mutability":"mutable","name":"amount","nameLocation":"1621:6:8","nodeType":"VariableDeclaration","scope":571,"src":"1613:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":561,"name":"uint128","nodeType":"ElementaryTypeName","src":"1613:7:8","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":564,"mutability":"mutable","name":"data","nameLocation":"1652:4:8","nodeType":"VariableDeclaration","scope":571,"src":"1637:19:8","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":563,"name":"bytes","nodeType":"ElementaryTypeName","src":"1637:5:8","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1526:136:8"},"returnParameters":{"id":570,"nodeType":"ParameterList","parameters":[{"constant":false,"id":567,"mutability":"mutable","name":"amount0","nameLocation":"1689:7:8","nodeType":"VariableDeclaration","scope":571,"src":"1681:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":566,"name":"uint256","nodeType":"ElementaryTypeName","src":"1681:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":569,"mutability":"mutable","name":"amount1","nameLocation":"1706:7:8","nodeType":"VariableDeclaration","scope":571,"src":"1698:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":568,"name":"uint256","nodeType":"ElementaryTypeName","src":"1698:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1680:34:8"},"scope":640,"src":"1513:202:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":572,"nodeType":"StructuredDocumentation","src":"1721:1053:8","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 tickLower The lower tick of the position for which to collect fees\n @param tickUpper 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":589,"implemented":false,"kind":"function","modifiers":[],"name":"collect","nameLocation":"2788:7:8","nodeType":"FunctionDefinition","parameters":{"id":583,"nodeType":"ParameterList","parameters":[{"constant":false,"id":574,"mutability":"mutable","name":"recipient","nameLocation":"2813:9:8","nodeType":"VariableDeclaration","scope":589,"src":"2805:17:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":573,"name":"address","nodeType":"ElementaryTypeName","src":"2805:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":576,"mutability":"mutable","name":"tickLower","nameLocation":"2838:9:8","nodeType":"VariableDeclaration","scope":589,"src":"2832:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":575,"name":"int24","nodeType":"ElementaryTypeName","src":"2832:5:8","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":578,"mutability":"mutable","name":"tickUpper","nameLocation":"2863:9:8","nodeType":"VariableDeclaration","scope":589,"src":"2857:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":577,"name":"int24","nodeType":"ElementaryTypeName","src":"2857:5:8","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":580,"mutability":"mutable","name":"amount0Requested","nameLocation":"2890:16:8","nodeType":"VariableDeclaration","scope":589,"src":"2882:24:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":579,"name":"uint128","nodeType":"ElementaryTypeName","src":"2882:7:8","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":582,"mutability":"mutable","name":"amount1Requested","nameLocation":"2924:16:8","nodeType":"VariableDeclaration","scope":589,"src":"2916:24:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":581,"name":"uint128","nodeType":"ElementaryTypeName","src":"2916:7:8","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"2795:151:8"},"returnParameters":{"id":588,"nodeType":"ParameterList","parameters":[{"constant":false,"id":585,"mutability":"mutable","name":"amount0","nameLocation":"2973:7:8","nodeType":"VariableDeclaration","scope":589,"src":"2965:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":584,"name":"uint128","nodeType":"ElementaryTypeName","src":"2965:7:8","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":587,"mutability":"mutable","name":"amount1","nameLocation":"2990:7:8","nodeType":"VariableDeclaration","scope":589,"src":"2982:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":586,"name":"uint128","nodeType":"ElementaryTypeName","src":"2982:7:8","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"2964:34:8"},"scope":640,"src":"2779:220:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":590,"nodeType":"StructuredDocumentation","src":"3005:631:8","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 tickLower The lower tick of the position for which to burn liquidity\n @param tickUpper The upper tick of the position for which to burn liquidity\n @param amount How much liquidity to burn\n @return amount0 The amount of token0 sent to the recipient\n @return amount1 The amount of token1 sent to the recipient"},"functionSelector":"a34123a7","id":603,"implemented":false,"kind":"function","modifiers":[],"name":"burn","nameLocation":"3650:4:8","nodeType":"FunctionDefinition","parameters":{"id":597,"nodeType":"ParameterList","parameters":[{"constant":false,"id":592,"mutability":"mutable","name":"tickLower","nameLocation":"3670:9:8","nodeType":"VariableDeclaration","scope":603,"src":"3664:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":591,"name":"int24","nodeType":"ElementaryTypeName","src":"3664:5:8","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":594,"mutability":"mutable","name":"tickUpper","nameLocation":"3695:9:8","nodeType":"VariableDeclaration","scope":603,"src":"3689:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":593,"name":"int24","nodeType":"ElementaryTypeName","src":"3689:5:8","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":596,"mutability":"mutable","name":"amount","nameLocation":"3722:6:8","nodeType":"VariableDeclaration","scope":603,"src":"3714:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":595,"name":"uint128","nodeType":"ElementaryTypeName","src":"3714:7:8","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"3654:80:8"},"returnParameters":{"id":602,"nodeType":"ParameterList","parameters":[{"constant":false,"id":599,"mutability":"mutable","name":"amount0","nameLocation":"3761:7:8","nodeType":"VariableDeclaration","scope":603,"src":"3753:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":598,"name":"uint256","nodeType":"ElementaryTypeName","src":"3753:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":601,"mutability":"mutable","name":"amount1","nameLocation":"3778:7:8","nodeType":"VariableDeclaration","scope":603,"src":"3770:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":600,"name":"uint256","nodeType":"ElementaryTypeName","src":"3770:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3752:34:8"},"scope":640,"src":"3641:146:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":604,"nodeType":"StructuredDocumentation","src":"3793:1015:8","text":"@notice Swap token0 for token1, or token1 for token0\n @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback\n @param recipient The address to receive the output of the swap\n @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0\n @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\n @param sqrtPriceLimitX96 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\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":621,"implemented":false,"kind":"function","modifiers":[],"name":"swap","nameLocation":"4822:4:8","nodeType":"FunctionDefinition","parameters":{"id":615,"nodeType":"ParameterList","parameters":[{"constant":false,"id":606,"mutability":"mutable","name":"recipient","nameLocation":"4844:9:8","nodeType":"VariableDeclaration","scope":621,"src":"4836:17:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":605,"name":"address","nodeType":"ElementaryTypeName","src":"4836:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":608,"mutability":"mutable","name":"zeroForOne","nameLocation":"4868:10:8","nodeType":"VariableDeclaration","scope":621,"src":"4863:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":607,"name":"bool","nodeType":"ElementaryTypeName","src":"4863:4:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":610,"mutability":"mutable","name":"amountSpecified","nameLocation":"4895:15:8","nodeType":"VariableDeclaration","scope":621,"src":"4888:22:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":609,"name":"int256","nodeType":"ElementaryTypeName","src":"4888:6:8","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":612,"mutability":"mutable","name":"sqrtPriceLimitX96","nameLocation":"4928:17:8","nodeType":"VariableDeclaration","scope":621,"src":"4920:25:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":611,"name":"uint160","nodeType":"ElementaryTypeName","src":"4920:7:8","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":614,"mutability":"mutable","name":"data","nameLocation":"4970:4:8","nodeType":"VariableDeclaration","scope":621,"src":"4955:19:8","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":613,"name":"bytes","nodeType":"ElementaryTypeName","src":"4955:5:8","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4826:154:8"},"returnParameters":{"id":620,"nodeType":"ParameterList","parameters":[{"constant":false,"id":617,"mutability":"mutable","name":"amount0","nameLocation":"5006:7:8","nodeType":"VariableDeclaration","scope":621,"src":"4999:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":616,"name":"int256","nodeType":"ElementaryTypeName","src":"4999:6:8","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":619,"mutability":"mutable","name":"amount1","nameLocation":"5022:7:8","nodeType":"VariableDeclaration","scope":621,"src":"5015:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":618,"name":"int256","nodeType":"ElementaryTypeName","src":"5015:6:8","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"4998:32:8"},"scope":640,"src":"4813:218:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":622,"nodeType":"StructuredDocumentation","src":"5037:657:8","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 IUniswapV3FlashCallback#uniswapV3FlashCallback\n @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling\n with 0 amount{0,1} and sending the donation amount(s) from the callback\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":633,"implemented":false,"kind":"function","modifiers":[],"name":"flash","nameLocation":"5708:5:8","nodeType":"FunctionDefinition","parameters":{"id":631,"nodeType":"ParameterList","parameters":[{"constant":false,"id":624,"mutability":"mutable","name":"recipient","nameLocation":"5731:9:8","nodeType":"VariableDeclaration","scope":633,"src":"5723:17:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":623,"name":"address","nodeType":"ElementaryTypeName","src":"5723:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":626,"mutability":"mutable","name":"amount0","nameLocation":"5758:7:8","nodeType":"VariableDeclaration","scope":633,"src":"5750:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":625,"name":"uint256","nodeType":"ElementaryTypeName","src":"5750:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":628,"mutability":"mutable","name":"amount1","nameLocation":"5783:7:8","nodeType":"VariableDeclaration","scope":633,"src":"5775:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":627,"name":"uint256","nodeType":"ElementaryTypeName","src":"5775:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":630,"mutability":"mutable","name":"data","nameLocation":"5815:4:8","nodeType":"VariableDeclaration","scope":633,"src":"5800:19:8","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":629,"name":"bytes","nodeType":"ElementaryTypeName","src":"5800:5:8","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5713:112:8"},"returnParameters":{"id":632,"nodeType":"ParameterList","parameters":[],"src":"5834:0:8"},"scope":640,"src":"5699:136:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":634,"nodeType":"StructuredDocumentation","src":"5841:367:8","text":"@notice Increase the maximum number of price and liquidity observations that this pool will store\n @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to\n the input observationCardinalityNext.\n @param observationCardinalityNext The desired minimum number of observations for the pool to store"},"functionSelector":"32148f67","id":639,"implemented":false,"kind":"function","modifiers":[],"name":"increaseObservationCardinalityNext","nameLocation":"6222:34:8","nodeType":"FunctionDefinition","parameters":{"id":637,"nodeType":"ParameterList","parameters":[{"constant":false,"id":636,"mutability":"mutable","name":"observationCardinalityNext","nameLocation":"6264:26:8","nodeType":"VariableDeclaration","scope":639,"src":"6257:33:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":635,"name":"uint16","nodeType":"ElementaryTypeName","src":"6257:6:8","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"6256:35:8"},"returnParameters":{"id":638,"nodeType":"ParameterList","parameters":[],"src":"6300:0:8"},"scope":640,"src":"6213:88:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":641,"src":"173:6130:8","usedErrors":[],"usedEvents":[]}],"src":"45:6259:8"},"id":8},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol":{"ast":{"absolutePath":"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol","exportedSymbols":{"IUniswapV3PoolDerivedState":[671]},"id":672,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":642,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:9"},{"abstract":false,"baseContracts":[],"canonicalName":"IUniswapV3PoolDerivedState","contractDependencies":[],"contractKind":"interface","documentation":{"id":643,"nodeType":"StructuredDocumentation","src":"71:222:9","text":"@title Pool state that is not stored\n @notice Contains view functions to provide information about the pool that is computed rather than stored on the\n blockchain. The functions here may have variable gas costs."},"fullyImplemented":false,"id":671,"linearizedBaseContracts":[671],"name":"IUniswapV3PoolDerivedState","nameLocation":"303:26:9","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":644,"nodeType":"StructuredDocumentation","src":"336:1045:9","text":"@notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp\n @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing\n the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,\n you must call it with secondsAgos = [3600, 0].\n @dev The time weighted average tick represents the geometric time weighted average price of the pool, in\n log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.\n @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned\n @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp\n @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block\n timestamp"},"functionSelector":"883bdbfd","id":656,"implemented":false,"kind":"function","modifiers":[],"name":"observe","nameLocation":"1395:7:9","nodeType":"FunctionDefinition","parameters":{"id":648,"nodeType":"ParameterList","parameters":[{"constant":false,"id":647,"mutability":"mutable","name":"secondsAgos","nameLocation":"1421:11:9","nodeType":"VariableDeclaration","scope":656,"src":"1403:29:9","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_uint32_$dyn_calldata_ptr","typeString":"uint32[]"},"typeName":{"baseType":{"id":645,"name":"uint32","nodeType":"ElementaryTypeName","src":"1403:6:9","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":646,"nodeType":"ArrayTypeName","src":"1403:8:9","typeDescriptions":{"typeIdentifier":"t_array$_t_uint32_$dyn_storage_ptr","typeString":"uint32[]"}},"visibility":"internal"}],"src":"1402:31:9"},"returnParameters":{"id":655,"nodeType":"ParameterList","parameters":[{"constant":false,"id":651,"mutability":"mutable","name":"tickCumulatives","nameLocation":"1496:15:9","nodeType":"VariableDeclaration","scope":656,"src":"1481:30:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_int56_$dyn_memory_ptr","typeString":"int56[]"},"typeName":{"baseType":{"id":649,"name":"int56","nodeType":"ElementaryTypeName","src":"1481:5:9","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"id":650,"nodeType":"ArrayTypeName","src":"1481:7:9","typeDescriptions":{"typeIdentifier":"t_array$_t_int56_$dyn_storage_ptr","typeString":"int56[]"}},"visibility":"internal"},{"constant":false,"id":654,"mutability":"mutable","name":"secondsPerLiquidityCumulativeX128s","nameLocation":"1530:34:9","nodeType":"VariableDeclaration","scope":656,"src":"1513:51:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint160_$dyn_memory_ptr","typeString":"uint160[]"},"typeName":{"baseType":{"id":652,"name":"uint160","nodeType":"ElementaryTypeName","src":"1513:7:9","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":653,"nodeType":"ArrayTypeName","src":"1513:9:9","typeDescriptions":{"typeIdentifier":"t_array$_t_uint160_$dyn_storage_ptr","typeString":"uint160[]"}},"visibility":"internal"}],"src":"1480:85:9"},"scope":671,"src":"1386:180:9","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":657,"nodeType":"StructuredDocumentation","src":"1572:771:9","text":"@notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range\n @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed.\n I.e., snapshots cannot be compared if a position is not held for the entire period between when the first\n snapshot is taken and the second snapshot is taken.\n @param tickLower The lower tick of the range\n @param tickUpper The upper tick of the range\n @return tickCumulativeInside The snapshot of the tick accumulator for the range\n @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range\n @return secondsInside The snapshot of seconds per liquidity for the range"},"functionSelector":"a38807f2","id":670,"implemented":false,"kind":"function","modifiers":[],"name":"snapshotCumulativesInside","nameLocation":"2357:25:9","nodeType":"FunctionDefinition","parameters":{"id":662,"nodeType":"ParameterList","parameters":[{"constant":false,"id":659,"mutability":"mutable","name":"tickLower","nameLocation":"2389:9:9","nodeType":"VariableDeclaration","scope":670,"src":"2383:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":658,"name":"int24","nodeType":"ElementaryTypeName","src":"2383:5:9","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":661,"mutability":"mutable","name":"tickUpper","nameLocation":"2406:9:9","nodeType":"VariableDeclaration","scope":670,"src":"2400:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":660,"name":"int24","nodeType":"ElementaryTypeName","src":"2400:5:9","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2382:34:9"},"returnParameters":{"id":669,"nodeType":"ParameterList","parameters":[{"constant":false,"id":664,"mutability":"mutable","name":"tickCumulativeInside","nameLocation":"2483:20:9","nodeType":"VariableDeclaration","scope":670,"src":"2477:26:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"},"typeName":{"id":663,"name":"int56","nodeType":"ElementaryTypeName","src":"2477:5:9","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"visibility":"internal"},{"constant":false,"id":666,"mutability":"mutable","name":"secondsPerLiquidityInsideX128","nameLocation":"2525:29:9","nodeType":"VariableDeclaration","scope":670,"src":"2517:37:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":665,"name":"uint160","nodeType":"ElementaryTypeName","src":"2517:7:9","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":668,"mutability":"mutable","name":"secondsInside","nameLocation":"2575:13:9","nodeType":"VariableDeclaration","scope":670,"src":"2568:20:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":667,"name":"uint32","nodeType":"ElementaryTypeName","src":"2568:6:9","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"src":"2463:135:9"},"scope":671,"src":"2348:251:9","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":672,"src":"293:2308:9","usedErrors":[],"usedEvents":[]}],"src":"45:2557:9"},"id":9},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol":{"ast":{"absolutePath":"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol","exportedSymbols":{"IUniswapV3PoolEvents":[790]},"id":791,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":673,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:10"},{"abstract":false,"baseContracts":[],"canonicalName":"IUniswapV3PoolEvents","contractDependencies":[],"contractKind":"interface","documentation":{"id":674,"nodeType":"StructuredDocumentation","src":"71:88:10","text":"@title Events emitted by a pool\n @notice Contains all events emitted by the pool"},"fullyImplemented":true,"id":790,"linearizedBaseContracts":[790],"name":"IUniswapV3PoolEvents","nameLocation":"169:20:10","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":675,"nodeType":"StructuredDocumentation","src":"196:344:10","text":"@notice Emitted exactly once by a pool when #initialize is first called on the pool\n @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize\n @param sqrtPriceX96 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":681,"name":"Initialize","nameLocation":"551:10:10","nodeType":"EventDefinition","parameters":{"id":680,"nodeType":"ParameterList","parameters":[{"constant":false,"id":677,"indexed":false,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"570:12:10","nodeType":"VariableDeclaration","scope":681,"src":"562:20:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":676,"name":"uint160","nodeType":"ElementaryTypeName","src":"562:7:10","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":679,"indexed":false,"mutability":"mutable","name":"tick","nameLocation":"590:4:10","nodeType":"VariableDeclaration","scope":681,"src":"584:10:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":678,"name":"int24","nodeType":"ElementaryTypeName","src":"584:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"561:34:10"},"src":"545:51:10"},{"anonymous":false,"documentation":{"id":682,"nodeType":"StructuredDocumentation","src":"602:551:10","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 tickLower The lower tick of the position\n @param tickUpper The upper tick of the position\n @param amount 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":698,"name":"Mint","nameLocation":"1164:4:10","nodeType":"EventDefinition","parameters":{"id":697,"nodeType":"ParameterList","parameters":[{"constant":false,"id":684,"indexed":false,"mutability":"mutable","name":"sender","nameLocation":"1186:6:10","nodeType":"VariableDeclaration","scope":698,"src":"1178:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":683,"name":"address","nodeType":"ElementaryTypeName","src":"1178:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":686,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"1218:5:10","nodeType":"VariableDeclaration","scope":698,"src":"1202:21:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":685,"name":"address","nodeType":"ElementaryTypeName","src":"1202:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":688,"indexed":true,"mutability":"mutable","name":"tickLower","nameLocation":"1247:9:10","nodeType":"VariableDeclaration","scope":698,"src":"1233:23:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":687,"name":"int24","nodeType":"ElementaryTypeName","src":"1233:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":690,"indexed":true,"mutability":"mutable","name":"tickUpper","nameLocation":"1280:9:10","nodeType":"VariableDeclaration","scope":698,"src":"1266:23:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":689,"name":"int24","nodeType":"ElementaryTypeName","src":"1266:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":692,"indexed":false,"mutability":"mutable","name":"amount","nameLocation":"1307:6:10","nodeType":"VariableDeclaration","scope":698,"src":"1299:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":691,"name":"uint128","nodeType":"ElementaryTypeName","src":"1299:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":694,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"1331:7:10","nodeType":"VariableDeclaration","scope":698,"src":"1323:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":693,"name":"uint256","nodeType":"ElementaryTypeName","src":"1323:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":696,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"1356:7:10","nodeType":"VariableDeclaration","scope":698,"src":"1348:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":695,"name":"uint256","nodeType":"ElementaryTypeName","src":"1348:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1168:201:10"},"src":"1158:212:10"},{"anonymous":false,"documentation":{"id":699,"nodeType":"StructuredDocumentation","src":"1376:493:10","text":"@notice Emitted when fees are collected by the owner of a position\n @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees\n @param owner The owner of the position for which fees are collected\n @param tickLower The lower tick of the position\n @param tickUpper 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":713,"name":"Collect","nameLocation":"1880:7:10","nodeType":"EventDefinition","parameters":{"id":712,"nodeType":"ParameterList","parameters":[{"constant":false,"id":701,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"1913:5:10","nodeType":"VariableDeclaration","scope":713,"src":"1897:21:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":700,"name":"address","nodeType":"ElementaryTypeName","src":"1897:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":703,"indexed":false,"mutability":"mutable","name":"recipient","nameLocation":"1936:9:10","nodeType":"VariableDeclaration","scope":713,"src":"1928:17:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":702,"name":"address","nodeType":"ElementaryTypeName","src":"1928:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":705,"indexed":true,"mutability":"mutable","name":"tickLower","nameLocation":"1969:9:10","nodeType":"VariableDeclaration","scope":713,"src":"1955:23:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":704,"name":"int24","nodeType":"ElementaryTypeName","src":"1955:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":707,"indexed":true,"mutability":"mutable","name":"tickUpper","nameLocation":"2002:9:10","nodeType":"VariableDeclaration","scope":713,"src":"1988:23:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":706,"name":"int24","nodeType":"ElementaryTypeName","src":"1988:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":709,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"2029:7:10","nodeType":"VariableDeclaration","scope":713,"src":"2021:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":708,"name":"uint128","nodeType":"ElementaryTypeName","src":"2021:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":711,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"2054:7:10","nodeType":"VariableDeclaration","scope":713,"src":"2046:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":710,"name":"uint128","nodeType":"ElementaryTypeName","src":"2046:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"1887:180:10"},"src":"1874:194:10"},{"anonymous":false,"documentation":{"id":714,"nodeType":"StructuredDocumentation","src":"2074:523:10","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 tickLower The lower tick of the position\n @param tickUpper The upper tick of the position\n @param amount 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":728,"name":"Burn","nameLocation":"2608:4:10","nodeType":"EventDefinition","parameters":{"id":727,"nodeType":"ParameterList","parameters":[{"constant":false,"id":716,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"2638:5:10","nodeType":"VariableDeclaration","scope":728,"src":"2622:21:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":715,"name":"address","nodeType":"ElementaryTypeName","src":"2622:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":718,"indexed":true,"mutability":"mutable","name":"tickLower","nameLocation":"2667:9:10","nodeType":"VariableDeclaration","scope":728,"src":"2653:23:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":717,"name":"int24","nodeType":"ElementaryTypeName","src":"2653:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":720,"indexed":true,"mutability":"mutable","name":"tickUpper","nameLocation":"2700:9:10","nodeType":"VariableDeclaration","scope":728,"src":"2686:23:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":719,"name":"int24","nodeType":"ElementaryTypeName","src":"2686:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":722,"indexed":false,"mutability":"mutable","name":"amount","nameLocation":"2727:6:10","nodeType":"VariableDeclaration","scope":728,"src":"2719:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":721,"name":"uint128","nodeType":"ElementaryTypeName","src":"2719:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":724,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"2751:7:10","nodeType":"VariableDeclaration","scope":728,"src":"2743:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":723,"name":"uint256","nodeType":"ElementaryTypeName","src":"2743:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":726,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"2776:7:10","nodeType":"VariableDeclaration","scope":728,"src":"2768:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":725,"name":"uint256","nodeType":"ElementaryTypeName","src":"2768:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2612:177:10"},"src":"2602:188:10"},{"anonymous":false,"documentation":{"id":729,"nodeType":"StructuredDocumentation","src":"2796:600:10","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 sqrtPriceX96 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":745,"name":"Swap","nameLocation":"3407:4:10","nodeType":"EventDefinition","parameters":{"id":744,"nodeType":"ParameterList","parameters":[{"constant":false,"id":731,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"3437:6:10","nodeType":"VariableDeclaration","scope":745,"src":"3421:22:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":730,"name":"address","nodeType":"ElementaryTypeName","src":"3421:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":733,"indexed":true,"mutability":"mutable","name":"recipient","nameLocation":"3469:9:10","nodeType":"VariableDeclaration","scope":745,"src":"3453:25:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":732,"name":"address","nodeType":"ElementaryTypeName","src":"3453:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":735,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"3495:7:10","nodeType":"VariableDeclaration","scope":745,"src":"3488:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":734,"name":"int256","nodeType":"ElementaryTypeName","src":"3488:6:10","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":737,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"3519:7:10","nodeType":"VariableDeclaration","scope":745,"src":"3512:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":736,"name":"int256","nodeType":"ElementaryTypeName","src":"3512:6:10","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":739,"indexed":false,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"3544:12:10","nodeType":"VariableDeclaration","scope":745,"src":"3536:20:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":738,"name":"uint160","nodeType":"ElementaryTypeName","src":"3536:7:10","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":741,"indexed":false,"mutability":"mutable","name":"liquidity","nameLocation":"3574:9:10","nodeType":"VariableDeclaration","scope":745,"src":"3566:17:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":740,"name":"uint128","nodeType":"ElementaryTypeName","src":"3566:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":743,"indexed":false,"mutability":"mutable","name":"tick","nameLocation":"3599:4:10","nodeType":"VariableDeclaration","scope":745,"src":"3593:10:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":742,"name":"int24","nodeType":"ElementaryTypeName","src":"3593:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"3411:198:10"},"src":"3401:209:10"},{"anonymous":false,"documentation":{"id":746,"nodeType":"StructuredDocumentation","src":"3616:562:10","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":760,"name":"Flash","nameLocation":"4189:5:10","nodeType":"EventDefinition","parameters":{"id":759,"nodeType":"ParameterList","parameters":[{"constant":false,"id":748,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"4220:6:10","nodeType":"VariableDeclaration","scope":760,"src":"4204:22:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":747,"name":"address","nodeType":"ElementaryTypeName","src":"4204:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":750,"indexed":true,"mutability":"mutable","name":"recipient","nameLocation":"4252:9:10","nodeType":"VariableDeclaration","scope":760,"src":"4236:25:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":749,"name":"address","nodeType":"ElementaryTypeName","src":"4236:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":752,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"4279:7:10","nodeType":"VariableDeclaration","scope":760,"src":"4271:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":751,"name":"uint256","nodeType":"ElementaryTypeName","src":"4271:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":754,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"4304:7:10","nodeType":"VariableDeclaration","scope":760,"src":"4296:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":753,"name":"uint256","nodeType":"ElementaryTypeName","src":"4296:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":756,"indexed":false,"mutability":"mutable","name":"paid0","nameLocation":"4329:5:10","nodeType":"VariableDeclaration","scope":760,"src":"4321:13:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":755,"name":"uint256","nodeType":"ElementaryTypeName","src":"4321:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":758,"indexed":false,"mutability":"mutable","name":"paid1","nameLocation":"4352:5:10","nodeType":"VariableDeclaration","scope":760,"src":"4344:13:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":757,"name":"uint256","nodeType":"ElementaryTypeName","src":"4344:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4194:169:10"},"src":"4183:181:10"},{"anonymous":false,"documentation":{"id":761,"nodeType":"StructuredDocumentation","src":"4370:451:10","text":"@notice Emitted by the pool for increases to the number of observations that can be stored\n @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index\n just before a mint/swap/burn.\n @param observationCardinalityNextOld The previous value of the next observation cardinality\n @param observationCardinalityNextNew The updated value of the next observation cardinality"},"eventSelector":"ac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a","id":767,"name":"IncreaseObservationCardinalityNext","nameLocation":"4832:34:10","nodeType":"EventDefinition","parameters":{"id":766,"nodeType":"ParameterList","parameters":[{"constant":false,"id":763,"indexed":false,"mutability":"mutable","name":"observationCardinalityNextOld","nameLocation":"4883:29:10","nodeType":"VariableDeclaration","scope":767,"src":"4876:36:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":762,"name":"uint16","nodeType":"ElementaryTypeName","src":"4876:6:10","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":765,"indexed":false,"mutability":"mutable","name":"observationCardinalityNextNew","nameLocation":"4929:29:10","nodeType":"VariableDeclaration","scope":767,"src":"4922:36:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":764,"name":"uint16","nodeType":"ElementaryTypeName","src":"4922:6:10","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"4866:98:10"},"src":"4826:139:10"},{"anonymous":false,"documentation":{"id":768,"nodeType":"StructuredDocumentation","src":"4971:370:10","text":"@notice Emitted when the protocol fee is changed by the pool\n @param feeProtocol0Old The previous value of the token0 protocol fee\n @param feeProtocol1Old The previous value of the token1 protocol fee\n @param feeProtocol0New The updated value of the token0 protocol fee\n @param feeProtocol1New The updated value of the token1 protocol fee"},"eventSelector":"973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133","id":778,"name":"SetFeeProtocol","nameLocation":"5352:14:10","nodeType":"EventDefinition","parameters":{"id":777,"nodeType":"ParameterList","parameters":[{"constant":false,"id":770,"indexed":false,"mutability":"mutable","name":"feeProtocol0Old","nameLocation":"5373:15:10","nodeType":"VariableDeclaration","scope":778,"src":"5367:21:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":769,"name":"uint8","nodeType":"ElementaryTypeName","src":"5367:5:10","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":772,"indexed":false,"mutability":"mutable","name":"feeProtocol1Old","nameLocation":"5396:15:10","nodeType":"VariableDeclaration","scope":778,"src":"5390:21:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":771,"name":"uint8","nodeType":"ElementaryTypeName","src":"5390:5:10","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":774,"indexed":false,"mutability":"mutable","name":"feeProtocol0New","nameLocation":"5419:15:10","nodeType":"VariableDeclaration","scope":778,"src":"5413:21:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":773,"name":"uint8","nodeType":"ElementaryTypeName","src":"5413:5:10","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":776,"indexed":false,"mutability":"mutable","name":"feeProtocol1New","nameLocation":"5442:15:10","nodeType":"VariableDeclaration","scope":778,"src":"5436:21:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":775,"name":"uint8","nodeType":"ElementaryTypeName","src":"5436:5:10","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"5366:92:10"},"src":"5346:113:10"},{"anonymous":false,"documentation":{"id":779,"nodeType":"StructuredDocumentation","src":"5465:384:10","text":"@notice Emitted when the collected protocol fees are withdrawn by the factory owner\n @param sender The address that collects the protocol fees\n @param recipient The address that receives the collected protocol fees\n @param amount0 The amount of token0 protocol fees that is withdrawn\n @param amount0 The amount of token1 protocol fees that is withdrawn"},"eventSelector":"596b573906218d3411850b26a6b437d6c4522fdb43d2d2386263f86d50b8b151","id":789,"name":"CollectProtocol","nameLocation":"5860:15:10","nodeType":"EventDefinition","parameters":{"id":788,"nodeType":"ParameterList","parameters":[{"constant":false,"id":781,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"5892:6:10","nodeType":"VariableDeclaration","scope":789,"src":"5876:22:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":780,"name":"address","nodeType":"ElementaryTypeName","src":"5876:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":783,"indexed":true,"mutability":"mutable","name":"recipient","nameLocation":"5916:9:10","nodeType":"VariableDeclaration","scope":789,"src":"5900:25:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":782,"name":"address","nodeType":"ElementaryTypeName","src":"5900:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":785,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"5935:7:10","nodeType":"VariableDeclaration","scope":789,"src":"5927:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":784,"name":"uint128","nodeType":"ElementaryTypeName","src":"5927:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":787,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"5952:7:10","nodeType":"VariableDeclaration","scope":789,"src":"5944:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":786,"name":"uint128","nodeType":"ElementaryTypeName","src":"5944:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"5875:85:10"},"src":"5854:107:10"}],"scope":791,"src":"159:5804:10","usedErrors":[],"usedEvents":[681,698,713,728,745,760,767,778,789]}],"src":"45:5919:10"},"id":10},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol":{"ast":{"absolutePath":"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol","exportedSymbols":{"IUniswapV3PoolImmutables":[830]},"id":831,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":792,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:11"},{"abstract":false,"baseContracts":[],"canonicalName":"IUniswapV3PoolImmutables","contractDependencies":[],"contractKind":"interface","documentation":{"id":793,"nodeType":"StructuredDocumentation","src":"71:153:11","text":"@title Pool state that never changes\n @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values"},"fullyImplemented":false,"id":830,"linearizedBaseContracts":[830],"name":"IUniswapV3PoolImmutables","nameLocation":"234:24:11","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":794,"nodeType":"StructuredDocumentation","src":"265:138:11","text":"@notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface\n @return The contract address"},"functionSelector":"c45a0155","id":799,"implemented":false,"kind":"function","modifiers":[],"name":"factory","nameLocation":"417:7:11","nodeType":"FunctionDefinition","parameters":{"id":795,"nodeType":"ParameterList","parameters":[],"src":"424:2:11"},"returnParameters":{"id":798,"nodeType":"ParameterList","parameters":[{"constant":false,"id":797,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":799,"src":"450:7:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":796,"name":"address","nodeType":"ElementaryTypeName","src":"450:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"449:9:11"},"scope":830,"src":"408:51:11","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":800,"nodeType":"StructuredDocumentation","src":"465:113:11","text":"@notice The first of the two tokens of the pool, sorted by address\n @return The token contract address"},"functionSelector":"0dfe1681","id":805,"implemented":false,"kind":"function","modifiers":[],"name":"token0","nameLocation":"592:6:11","nodeType":"FunctionDefinition","parameters":{"id":801,"nodeType":"ParameterList","parameters":[],"src":"598:2:11"},"returnParameters":{"id":804,"nodeType":"ParameterList","parameters":[{"constant":false,"id":803,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":805,"src":"624:7:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":802,"name":"address","nodeType":"ElementaryTypeName","src":"624:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"623:9:11"},"scope":830,"src":"583:50:11","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":806,"nodeType":"StructuredDocumentation","src":"639:114:11","text":"@notice The second of the two tokens of the pool, sorted by address\n @return The token contract address"},"functionSelector":"d21220a7","id":811,"implemented":false,"kind":"function","modifiers":[],"name":"token1","nameLocation":"767:6:11","nodeType":"FunctionDefinition","parameters":{"id":807,"nodeType":"ParameterList","parameters":[],"src":"773:2:11"},"returnParameters":{"id":810,"nodeType":"ParameterList","parameters":[{"constant":false,"id":809,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":811,"src":"799:7:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":808,"name":"address","nodeType":"ElementaryTypeName","src":"799:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"798:9:11"},"scope":830,"src":"758:50:11","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":812,"nodeType":"StructuredDocumentation","src":"814:84:11","text":"@notice The pool's fee in hundredths of a bip, i.e. 1e-6\n @return The fee"},"functionSelector":"ddca3f43","id":817,"implemented":false,"kind":"function","modifiers":[],"name":"fee","nameLocation":"912:3:11","nodeType":"FunctionDefinition","parameters":{"id":813,"nodeType":"ParameterList","parameters":[],"src":"915:2:11"},"returnParameters":{"id":816,"nodeType":"ParameterList","parameters":[{"constant":false,"id":815,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":817,"src":"941:6:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":814,"name":"uint24","nodeType":"ElementaryTypeName","src":"941:6:11","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"940:8:11"},"scope":830,"src":"903:46:11","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":818,"nodeType":"StructuredDocumentation","src":"955:358:11","text":"@notice The pool tick spacing\n @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive\n e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...\n This value is an int24 to avoid casting even though it is always positive.\n @return The tick spacing"},"functionSelector":"d0c93a7c","id":823,"implemented":false,"kind":"function","modifiers":[],"name":"tickSpacing","nameLocation":"1327:11:11","nodeType":"FunctionDefinition","parameters":{"id":819,"nodeType":"ParameterList","parameters":[],"src":"1338:2:11"},"returnParameters":{"id":822,"nodeType":"ParameterList","parameters":[{"constant":false,"id":821,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":823,"src":"1364:5:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":820,"name":"int24","nodeType":"ElementaryTypeName","src":"1364:5:11","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1363:7:11"},"scope":830,"src":"1318:53:11","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":824,"nodeType":"StructuredDocumentation","src":"1377:363:11","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":829,"implemented":false,"kind":"function","modifiers":[],"name":"maxLiquidityPerTick","nameLocation":"1754:19:11","nodeType":"FunctionDefinition","parameters":{"id":825,"nodeType":"ParameterList","parameters":[],"src":"1773:2:11"},"returnParameters":{"id":828,"nodeType":"ParameterList","parameters":[{"constant":false,"id":827,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":829,"src":"1799:7:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":826,"name":"uint128","nodeType":"ElementaryTypeName","src":"1799:7:11","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"1798:9:11"},"scope":830,"src":"1745:63:11","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":831,"src":"224:1586:11","usedErrors":[],"usedEvents":[]}],"src":"45:1766:11"},"id":11},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol":{"ast":{"absolutePath":"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol","exportedSymbols":{"IUniswapV3PoolOwnerActions":[856]},"id":857,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":832,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:12"},{"abstract":false,"baseContracts":[],"canonicalName":"IUniswapV3PoolOwnerActions","contractDependencies":[],"contractKind":"interface","documentation":{"id":833,"nodeType":"StructuredDocumentation","src":"71:116:12","text":"@title Permissioned pool actions\n @notice Contains pool methods that may only be called by the factory owner"},"fullyImplemented":false,"id":856,"linearizedBaseContracts":[856],"name":"IUniswapV3PoolOwnerActions","nameLocation":"197:26:12","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":834,"nodeType":"StructuredDocumentation","src":"230:205:12","text":"@notice Set the denominator of the protocol's % share of the fees\n @param feeProtocol0 new protocol fee for token0 of the pool\n @param feeProtocol1 new protocol fee for token1 of the pool"},"functionSelector":"8206a4d1","id":841,"implemented":false,"kind":"function","modifiers":[],"name":"setFeeProtocol","nameLocation":"449:14:12","nodeType":"FunctionDefinition","parameters":{"id":839,"nodeType":"ParameterList","parameters":[{"constant":false,"id":836,"mutability":"mutable","name":"feeProtocol0","nameLocation":"470:12:12","nodeType":"VariableDeclaration","scope":841,"src":"464:18:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":835,"name":"uint8","nodeType":"ElementaryTypeName","src":"464:5:12","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":838,"mutability":"mutable","name":"feeProtocol1","nameLocation":"490:12:12","nodeType":"VariableDeclaration","scope":841,"src":"484:18:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":837,"name":"uint8","nodeType":"ElementaryTypeName","src":"484:5:12","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"463:40:12"},"returnParameters":{"id":840,"nodeType":"ParameterList","parameters":[],"src":"512:0:12"},"scope":856,"src":"440:73:12","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":842,"nodeType":"StructuredDocumentation","src":"519:483:12","text":"@notice Collect the protocol fee accrued to the pool\n @param recipient The address to which collected protocol fees should be sent\n @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1\n @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0\n @return amount0 The protocol fee collected in token0\n @return amount1 The protocol fee collected in token1"},"functionSelector":"85b66729","id":855,"implemented":false,"kind":"function","modifiers":[],"name":"collectProtocol","nameLocation":"1016:15:12","nodeType":"FunctionDefinition","parameters":{"id":849,"nodeType":"ParameterList","parameters":[{"constant":false,"id":844,"mutability":"mutable","name":"recipient","nameLocation":"1049:9:12","nodeType":"VariableDeclaration","scope":855,"src":"1041:17:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":843,"name":"address","nodeType":"ElementaryTypeName","src":"1041:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":846,"mutability":"mutable","name":"amount0Requested","nameLocation":"1076:16:12","nodeType":"VariableDeclaration","scope":855,"src":"1068:24:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":845,"name":"uint128","nodeType":"ElementaryTypeName","src":"1068:7:12","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":848,"mutability":"mutable","name":"amount1Requested","nameLocation":"1110:16:12","nodeType":"VariableDeclaration","scope":855,"src":"1102:24:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":847,"name":"uint128","nodeType":"ElementaryTypeName","src":"1102:7:12","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"1031:101:12"},"returnParameters":{"id":854,"nodeType":"ParameterList","parameters":[{"constant":false,"id":851,"mutability":"mutable","name":"amount0","nameLocation":"1159:7:12","nodeType":"VariableDeclaration","scope":855,"src":"1151:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":850,"name":"uint128","nodeType":"ElementaryTypeName","src":"1151:7:12","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":853,"mutability":"mutable","name":"amount1","nameLocation":"1176:7:12","nodeType":"VariableDeclaration","scope":855,"src":"1168:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":852,"name":"uint128","nodeType":"ElementaryTypeName","src":"1168:7:12","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"1150:34:12"},"scope":856,"src":"1007:178:12","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":857,"src":"187:1000:12","usedErrors":[],"usedEvents":[]}],"src":"45:1143:12"},"id":12},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol":{"ast":{"absolutePath":"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol","exportedSymbols":{"IUniswapV3PoolState":[964]},"id":965,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":858,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:13"},{"abstract":false,"baseContracts":[],"canonicalName":"IUniswapV3PoolState","contractDependencies":[],"contractKind":"interface","documentation":{"id":859,"nodeType":"StructuredDocumentation","src":"71:169:13","text":"@title Pool state that can change\n @notice These methods compose the pool's state, and can change with any frequency including multiple times\n per transaction"},"fullyImplemented":false,"id":964,"linearizedBaseContracts":[964],"name":"IUniswapV3PoolState","nameLocation":"250:19:13","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":860,"nodeType":"StructuredDocumentation","src":"276:1140:13","text":"@notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas\n when accessed externally.\n @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value\n 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(sqrtPriceX96) if the price is on a tick\n boundary.\n observationIndex The index of the last oracle observation that was written,\n observationCardinality The current maximum number of observations stored in the pool,\n observationCardinalityNext The next maximum number of observations, to be updated when the observation.\n feeProtocol The protocol fee for both tokens of the pool.\n Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0\n is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.\n unlocked Whether the pool is currently locked to reentrancy"},"functionSelector":"3850c7bd","id":877,"implemented":false,"kind":"function","modifiers":[],"name":"slot0","nameLocation":"1430:5:13","nodeType":"FunctionDefinition","parameters":{"id":861,"nodeType":"ParameterList","parameters":[],"src":"1435:2:13"},"returnParameters":{"id":876,"nodeType":"ParameterList","parameters":[{"constant":false,"id":863,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"1506:12:13","nodeType":"VariableDeclaration","scope":877,"src":"1498:20:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":862,"name":"uint160","nodeType":"ElementaryTypeName","src":"1498:7:13","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":865,"mutability":"mutable","name":"tick","nameLocation":"1538:4:13","nodeType":"VariableDeclaration","scope":877,"src":"1532:10:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":864,"name":"int24","nodeType":"ElementaryTypeName","src":"1532:5:13","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":867,"mutability":"mutable","name":"observationIndex","nameLocation":"1563:16:13","nodeType":"VariableDeclaration","scope":877,"src":"1556:23:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":866,"name":"uint16","nodeType":"ElementaryTypeName","src":"1556:6:13","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":869,"mutability":"mutable","name":"observationCardinality","nameLocation":"1600:22:13","nodeType":"VariableDeclaration","scope":877,"src":"1593:29:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":868,"name":"uint16","nodeType":"ElementaryTypeName","src":"1593:6:13","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":871,"mutability":"mutable","name":"observationCardinalityNext","nameLocation":"1643:26:13","nodeType":"VariableDeclaration","scope":877,"src":"1636:33:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":870,"name":"uint16","nodeType":"ElementaryTypeName","src":"1636:6:13","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":873,"mutability":"mutable","name":"feeProtocol","nameLocation":"1689:11:13","nodeType":"VariableDeclaration","scope":877,"src":"1683:17:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":872,"name":"uint8","nodeType":"ElementaryTypeName","src":"1683:5:13","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":875,"mutability":"mutable","name":"unlocked","nameLocation":"1719:8:13","nodeType":"VariableDeclaration","scope":877,"src":"1714:13:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":874,"name":"bool","nodeType":"ElementaryTypeName","src":"1714:4:13","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1484:253:13"},"scope":964,"src":"1421:317:13","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":878,"nodeType":"StructuredDocumentation","src":"1744:168:13","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"},"functionSelector":"f3058399","id":883,"implemented":false,"kind":"function","modifiers":[],"name":"feeGrowthGlobal0X128","nameLocation":"1926:20:13","nodeType":"FunctionDefinition","parameters":{"id":879,"nodeType":"ParameterList","parameters":[],"src":"1946:2:13"},"returnParameters":{"id":882,"nodeType":"ParameterList","parameters":[{"constant":false,"id":881,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":883,"src":"1972:7:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":880,"name":"uint256","nodeType":"ElementaryTypeName","src":"1972:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1971:9:13"},"scope":964,"src":"1917:64:13","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":884,"nodeType":"StructuredDocumentation","src":"1987:168:13","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"},"functionSelector":"46141319","id":889,"implemented":false,"kind":"function","modifiers":[],"name":"feeGrowthGlobal1X128","nameLocation":"2169:20:13","nodeType":"FunctionDefinition","parameters":{"id":885,"nodeType":"ParameterList","parameters":[],"src":"2189:2:13"},"returnParameters":{"id":888,"nodeType":"ParameterList","parameters":[{"constant":false,"id":887,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":889,"src":"2215:7:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":886,"name":"uint256","nodeType":"ElementaryTypeName","src":"2215:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2214:9:13"},"scope":964,"src":"2160:64:13","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":890,"nodeType":"StructuredDocumentation","src":"2230:147:13","text":"@notice The amounts of token0 and token1 that are owed to the protocol\n @dev Protocol fees will never exceed uint128 max in either token"},"functionSelector":"1ad8b03b","id":897,"implemented":false,"kind":"function","modifiers":[],"name":"protocolFees","nameLocation":"2391:12:13","nodeType":"FunctionDefinition","parameters":{"id":891,"nodeType":"ParameterList","parameters":[],"src":"2403:2:13"},"returnParameters":{"id":896,"nodeType":"ParameterList","parameters":[{"constant":false,"id":893,"mutability":"mutable","name":"token0","nameLocation":"2437:6:13","nodeType":"VariableDeclaration","scope":897,"src":"2429:14:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":892,"name":"uint128","nodeType":"ElementaryTypeName","src":"2429:7:13","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":895,"mutability":"mutable","name":"token1","nameLocation":"2453:6:13","nodeType":"VariableDeclaration","scope":897,"src":"2445:14:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":894,"name":"uint128","nodeType":"ElementaryTypeName","src":"2445:7:13","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"2428:32:13"},"scope":964,"src":"2382:79:13","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":898,"nodeType":"StructuredDocumentation","src":"2467:150:13","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"},"functionSelector":"1a686502","id":903,"implemented":false,"kind":"function","modifiers":[],"name":"liquidity","nameLocation":"2631:9:13","nodeType":"FunctionDefinition","parameters":{"id":899,"nodeType":"ParameterList","parameters":[],"src":"2640:2:13"},"returnParameters":{"id":902,"nodeType":"ParameterList","parameters":[{"constant":false,"id":901,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":903,"src":"2666:7:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":900,"name":"uint128","nodeType":"ElementaryTypeName","src":"2666:7:13","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"2665:9:13"},"scope":964,"src":"2622:53:13","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":904,"nodeType":"StructuredDocumentation","src":"2681:1244:13","text":"@notice Look up information about a specific tick in the pool\n @param tick The tick to look up\n @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or\n tick upper,\n liquidityNet how much liquidity changes when the pool price crosses the tick,\n feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0,\n feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1,\n tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick\n secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick,\n secondsOutside the seconds spent on the other side of the tick from the current tick,\n initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false.\n Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0.\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":925,"implemented":false,"kind":"function","modifiers":[],"name":"ticks","nameLocation":"3939:5:13","nodeType":"FunctionDefinition","parameters":{"id":907,"nodeType":"ParameterList","parameters":[{"constant":false,"id":906,"mutability":"mutable","name":"tick","nameLocation":"3951:4:13","nodeType":"VariableDeclaration","scope":925,"src":"3945:10:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":905,"name":"int24","nodeType":"ElementaryTypeName","src":"3945:5:13","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"3944:12:13"},"returnParameters":{"id":924,"nodeType":"ParameterList","parameters":[{"constant":false,"id":909,"mutability":"mutable","name":"liquidityGross","nameLocation":"4025:14:13","nodeType":"VariableDeclaration","scope":925,"src":"4017:22:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":908,"name":"uint128","nodeType":"ElementaryTypeName","src":"4017:7:13","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":911,"mutability":"mutable","name":"liquidityNet","nameLocation":"4060:12:13","nodeType":"VariableDeclaration","scope":925,"src":"4053:19:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":910,"name":"int128","nodeType":"ElementaryTypeName","src":"4053:6:13","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":913,"mutability":"mutable","name":"feeGrowthOutside0X128","nameLocation":"4094:21:13","nodeType":"VariableDeclaration","scope":925,"src":"4086:29:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":912,"name":"uint256","nodeType":"ElementaryTypeName","src":"4086:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":915,"mutability":"mutable","name":"feeGrowthOutside1X128","nameLocation":"4137:21:13","nodeType":"VariableDeclaration","scope":925,"src":"4129:29:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":914,"name":"uint256","nodeType":"ElementaryTypeName","src":"4129:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":917,"mutability":"mutable","name":"tickCumulativeOutside","nameLocation":"4178:21:13","nodeType":"VariableDeclaration","scope":925,"src":"4172:27:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"},"typeName":{"id":916,"name":"int56","nodeType":"ElementaryTypeName","src":"4172:5:13","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"visibility":"internal"},{"constant":false,"id":919,"mutability":"mutable","name":"secondsPerLiquidityOutsideX128","nameLocation":"4221:30:13","nodeType":"VariableDeclaration","scope":925,"src":"4213:38:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":918,"name":"uint160","nodeType":"ElementaryTypeName","src":"4213:7:13","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":921,"mutability":"mutable","name":"secondsOutside","nameLocation":"4272:14:13","nodeType":"VariableDeclaration","scope":925,"src":"4265:21:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":920,"name":"uint32","nodeType":"ElementaryTypeName","src":"4265:6:13","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":923,"mutability":"mutable","name":"initialized","nameLocation":"4305:11:13","nodeType":"VariableDeclaration","scope":925,"src":"4300:16:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":922,"name":"bool","nodeType":"ElementaryTypeName","src":"4300:4:13","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4003:323:13"},"scope":964,"src":"3930:397:13","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":926,"nodeType":"StructuredDocumentation","src":"4333:99:13","text":"@notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information"},"functionSelector":"5339c296","id":933,"implemented":false,"kind":"function","modifiers":[],"name":"tickBitmap","nameLocation":"4446:10:13","nodeType":"FunctionDefinition","parameters":{"id":929,"nodeType":"ParameterList","parameters":[{"constant":false,"id":928,"mutability":"mutable","name":"wordPosition","nameLocation":"4463:12:13","nodeType":"VariableDeclaration","scope":933,"src":"4457:18:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"},"typeName":{"id":927,"name":"int16","nodeType":"ElementaryTypeName","src":"4457:5:13","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"visibility":"internal"}],"src":"4456:20:13"},"returnParameters":{"id":932,"nodeType":"ParameterList","parameters":[{"constant":false,"id":931,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":933,"src":"4500:7:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":930,"name":"uint256","nodeType":"ElementaryTypeName","src":"4500:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4499:9:13"},"scope":964,"src":"4437:72:13","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":934,"nodeType":"StructuredDocumentation","src":"4515:700:13","text":"@notice Returns the information about a position by the position's key\n @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper\n @return _liquidity The amount of liquidity in the position,\n Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke,\n Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke,\n Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke,\n Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke"},"functionSelector":"514ea4bf","id":949,"implemented":false,"kind":"function","modifiers":[],"name":"positions","nameLocation":"5229:9:13","nodeType":"FunctionDefinition","parameters":{"id":937,"nodeType":"ParameterList","parameters":[{"constant":false,"id":936,"mutability":"mutable","name":"key","nameLocation":"5247:3:13","nodeType":"VariableDeclaration","scope":949,"src":"5239:11:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":935,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5239:7:13","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5238:13:13"},"returnParameters":{"id":948,"nodeType":"ParameterList","parameters":[{"constant":false,"id":939,"mutability":"mutable","name":"_liquidity","nameLocation":"5320:10:13","nodeType":"VariableDeclaration","scope":949,"src":"5312:18:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":938,"name":"uint128","nodeType":"ElementaryTypeName","src":"5312:7:13","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":941,"mutability":"mutable","name":"feeGrowthInside0LastX128","nameLocation":"5352:24:13","nodeType":"VariableDeclaration","scope":949,"src":"5344:32:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":940,"name":"uint256","nodeType":"ElementaryTypeName","src":"5344:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":943,"mutability":"mutable","name":"feeGrowthInside1LastX128","nameLocation":"5398:24:13","nodeType":"VariableDeclaration","scope":949,"src":"5390:32:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":942,"name":"uint256","nodeType":"ElementaryTypeName","src":"5390:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":945,"mutability":"mutable","name":"tokensOwed0","nameLocation":"5444:11:13","nodeType":"VariableDeclaration","scope":949,"src":"5436:19:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":944,"name":"uint128","nodeType":"ElementaryTypeName","src":"5436:7:13","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":947,"mutability":"mutable","name":"tokensOwed1","nameLocation":"5477:11:13","nodeType":"VariableDeclaration","scope":949,"src":"5469:19:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":946,"name":"uint128","nodeType":"ElementaryTypeName","src":"5469:7:13","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"5298:200:13"},"scope":964,"src":"5220:279:13","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":950,"nodeType":"StructuredDocumentation","src":"5505:749:13","text":"@notice Returns data about a specific observation index\n @param index The element of the observations array to fetch\n @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time\n ago, rather than at a specific index in the array.\n @return blockTimestamp The timestamp of the observation,\n Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp,\n Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp,\n Returns initialized whether the observation has been initialized and the values are safe to use"},"functionSelector":"252c09d7","id":963,"implemented":false,"kind":"function","modifiers":[],"name":"observations","nameLocation":"6268:12:13","nodeType":"FunctionDefinition","parameters":{"id":953,"nodeType":"ParameterList","parameters":[{"constant":false,"id":952,"mutability":"mutable","name":"index","nameLocation":"6289:5:13","nodeType":"VariableDeclaration","scope":963,"src":"6281:13:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":951,"name":"uint256","nodeType":"ElementaryTypeName","src":"6281:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6280:15:13"},"returnParameters":{"id":962,"nodeType":"ParameterList","parameters":[{"constant":false,"id":955,"mutability":"mutable","name":"blockTimestamp","nameLocation":"6363:14:13","nodeType":"VariableDeclaration","scope":963,"src":"6356:21:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":954,"name":"uint32","nodeType":"ElementaryTypeName","src":"6356:6:13","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":957,"mutability":"mutable","name":"tickCumulative","nameLocation":"6397:14:13","nodeType":"VariableDeclaration","scope":963,"src":"6391:20:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"},"typeName":{"id":956,"name":"int56","nodeType":"ElementaryTypeName","src":"6391:5:13","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"visibility":"internal"},{"constant":false,"id":959,"mutability":"mutable","name":"secondsPerLiquidityCumulativeX128","nameLocation":"6433:33:13","nodeType":"VariableDeclaration","scope":963,"src":"6425:41:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":958,"name":"uint160","nodeType":"ElementaryTypeName","src":"6425:7:13","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":961,"mutability":"mutable","name":"initialized","nameLocation":"6485:11:13","nodeType":"VariableDeclaration","scope":963,"src":"6480:16:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":960,"name":"bool","nodeType":"ElementaryTypeName","src":"6480:4:13","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"6342:164:13"},"scope":964,"src":"6259:248:13","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":965,"src":"240:6269:13","usedErrors":[],"usedEvents":[]}],"src":"45:6465:13"},"id":13},"@uniswap/v3-core/contracts/libraries/SafeCast.sol":{"ast":{"absolutePath":"@uniswap/v3-core/contracts/libraries/SafeCast.sol","exportedSymbols":{"SafeCast":[1034]},"id":1035,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":966,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:14"},{"abstract":false,"baseContracts":[],"canonicalName":"SafeCast","contractDependencies":[],"contractKind":"library","documentation":{"id":967,"nodeType":"StructuredDocumentation","src":"71:94:14","text":"@title Safe casting methods\n @notice Contains methods for safely casting between types"},"fullyImplemented":true,"id":1034,"linearizedBaseContracts":[1034],"name":"SafeCast","nameLocation":"173:8:14","nodeType":"ContractDefinition","nodes":[{"body":{"id":987,"nodeType":"Block","src":"421:47:14","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":984,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"id":981,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":976,"name":"z","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":973,"src":"440:1:14","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":979,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":970,"src":"452:1:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":978,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"444:7:14","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":977,"name":"uint160","nodeType":"ElementaryTypeName","src":"444:7:14","typeDescriptions":{}}},"id":980,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"444:10:14","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"440:14:14","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":982,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"439:16:14","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":983,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":970,"src":"459:1:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"439:21:14","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":975,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"431:7:14","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":985,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"431:30:14","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":986,"nodeType":"ExpressionStatement","src":"431:30:14"}]},"documentation":{"id":968,"nodeType":"StructuredDocumentation","src":"188:164:14","text":"@notice Cast a uint256 to a uint160, revert on overflow\n @param y The uint256 to be downcasted\n @return z The downcasted integer, now type uint160"},"id":988,"implemented":true,"kind":"function","modifiers":[],"name":"toUint160","nameLocation":"366:9:14","nodeType":"FunctionDefinition","parameters":{"id":971,"nodeType":"ParameterList","parameters":[{"constant":false,"id":970,"mutability":"mutable","name":"y","nameLocation":"384:1:14","nodeType":"VariableDeclaration","scope":988,"src":"376:9:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":969,"name":"uint256","nodeType":"ElementaryTypeName","src":"376:7:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"375:11:14"},"returnParameters":{"id":974,"nodeType":"ParameterList","parameters":[{"constant":false,"id":973,"mutability":"mutable","name":"z","nameLocation":"418:1:14","nodeType":"VariableDeclaration","scope":988,"src":"410:9:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":972,"name":"uint160","nodeType":"ElementaryTypeName","src":"410:7:14","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"409:11:14"},"scope":1034,"src":"357:111:14","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":1008,"nodeType":"Block","src":"713:46:14","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":1005,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"id":1002,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":997,"name":"z","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":994,"src":"732:1:14","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":1000,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":991,"src":"743:1:14","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":999,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"736:6:14","typeDescriptions":{"typeIdentifier":"t_type$_t_int128_$","typeString":"type(int128)"},"typeName":{"id":998,"name":"int128","nodeType":"ElementaryTypeName","src":"736:6:14","typeDescriptions":{}}},"id":1001,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"736:9:14","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"732:13:14","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"id":1003,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"731:15:14","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":1004,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":991,"src":"750:1:14","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"731:20:14","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":996,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"723:7:14","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":1006,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"723:29:14","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1007,"nodeType":"ExpressionStatement","src":"723:29:14"}]},"documentation":{"id":989,"nodeType":"StructuredDocumentation","src":"474:173:14","text":"@notice Cast a int256 to a int128, revert on overflow or underflow\n @param y The int256 to be downcasted\n @return z The downcasted integer, now type int128"},"id":1009,"implemented":true,"kind":"function","modifiers":[],"name":"toInt128","nameLocation":"661:8:14","nodeType":"FunctionDefinition","parameters":{"id":992,"nodeType":"ParameterList","parameters":[{"constant":false,"id":991,"mutability":"mutable","name":"y","nameLocation":"677:1:14","nodeType":"VariableDeclaration","scope":1009,"src":"670:8:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":990,"name":"int256","nodeType":"ElementaryTypeName","src":"670:6:14","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"669:10:14"},"returnParameters":{"id":995,"nodeType":"ParameterList","parameters":[{"constant":false,"id":994,"mutability":"mutable","name":"z","nameLocation":"710:1:14","nodeType":"VariableDeclaration","scope":1009,"src":"703:8:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":993,"name":"int128","nodeType":"ElementaryTypeName","src":"703:6:14","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"702:10:14"},"scope":1034,"src":"652:107:14","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":1032,"nodeType":"Block","src":"986:59:14","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1022,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1018,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1012,"src":"1004:1:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"commonType":{"typeIdentifier":"t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1","typeString":"int_const 5789...(69 digits omitted)...9968"},"id":1021,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":1019,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1008:1:14","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"323535","id":1020,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1011:3:14","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"255"},"src":"1008:6:14","typeDescriptions":{"typeIdentifier":"t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1","typeString":"int_const 5789...(69 digits omitted)...9968"}},"src":"1004:10:14","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":1017,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"996:7:14","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":1023,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"996:19:14","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1024,"nodeType":"ExpressionStatement","src":"996:19:14"},{"expression":{"id":1030,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1025,"name":"z","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1015,"src":"1025:1:14","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":1028,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1012,"src":"1036:1:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1027,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1029:6:14","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":1026,"name":"int256","nodeType":"ElementaryTypeName","src":"1029:6:14","typeDescriptions":{}}},"id":1029,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1029:9:14","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1025:13:14","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":1031,"nodeType":"ExpressionStatement","src":"1025:13:14"}]},"documentation":{"id":1010,"nodeType":"StructuredDocumentation","src":"765:154:14","text":"@notice Cast a uint256 to a int256, revert on overflow\n @param y The uint256 to be casted\n @return z The casted integer, now type int256"},"id":1033,"implemented":true,"kind":"function","modifiers":[],"name":"toInt256","nameLocation":"933:8:14","nodeType":"FunctionDefinition","parameters":{"id":1013,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1012,"mutability":"mutable","name":"y","nameLocation":"950:1:14","nodeType":"VariableDeclaration","scope":1033,"src":"942:9:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1011,"name":"uint256","nodeType":"ElementaryTypeName","src":"942:7:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"941:11:14"},"returnParameters":{"id":1016,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1015,"mutability":"mutable","name":"z","nameLocation":"983:1:14","nodeType":"VariableDeclaration","scope":1033,"src":"976:8:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1014,"name":"int256","nodeType":"ElementaryTypeName","src":"976:6:14","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"975:10:14"},"scope":1034,"src":"924:121:14","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":1035,"src":"165:882:14","usedErrors":[],"usedEvents":[]}],"src":"45:1003:14"},"id":14},"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol":{"ast":{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol","exportedSymbols":{"IERC165":[266],"IERC721":[194],"IERC721Permit":[1069]},"id":1070,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1036,"literals":["solidity",">=","0.7",".5"],"nodeType":"PragmaDirective","src":"45:24:15"},{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721.sol","file":"@openzeppelin/contracts/token/ERC721/IERC721.sol","id":1037,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1070,"sourceUnit":195,"src":"71:58:15","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":1039,"name":"IERC721","nameLocations":["282:7:15"],"nodeType":"IdentifierPath","referencedDeclaration":194,"src":"282:7:15"},"id":1040,"nodeType":"InheritanceSpecifier","src":"282:7:15"}],"canonicalName":"IERC721Permit","contractDependencies":[],"contractKind":"interface","documentation":{"id":1038,"nodeType":"StructuredDocumentation","src":"131:124:15","text":"@title ERC721 with permit\n @notice Extension to ERC721 that includes a permit function for signature based approvals"},"fullyImplemented":false,"id":1069,"linearizedBaseContracts":[1069,194,266],"name":"IERC721Permit","nameLocation":"265:13:15","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1041,"nodeType":"StructuredDocumentation","src":"296:104:15","text":"@notice The permit typehash used in the permit signature\n @return The typehash for the permit"},"functionSelector":"30adf81f","id":1046,"implemented":false,"kind":"function","modifiers":[],"name":"PERMIT_TYPEHASH","nameLocation":"414:15:15","nodeType":"FunctionDefinition","parameters":{"id":1042,"nodeType":"ParameterList","parameters":[],"src":"429:2:15"},"returnParameters":{"id":1045,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1044,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1046,"src":"455:7:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1043,"name":"bytes32","nodeType":"ElementaryTypeName","src":"455:7:15","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"454:9:15"},"scope":1069,"src":"405:59:15","stateMutability":"pure","virtual":false,"visibility":"external"},{"documentation":{"id":1047,"nodeType":"StructuredDocumentation","src":"470:135:15","text":"@notice The domain separator used in the permit signature\n @return The domain seperator used in encoding of permit signature"},"functionSelector":"3644e515","id":1052,"implemented":false,"kind":"function","modifiers":[],"name":"DOMAIN_SEPARATOR","nameLocation":"619:16:15","nodeType":"FunctionDefinition","parameters":{"id":1048,"nodeType":"ParameterList","parameters":[],"src":"635:2:15"},"returnParameters":{"id":1051,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1050,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1052,"src":"661:7:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1049,"name":"bytes32","nodeType":"ElementaryTypeName","src":"661:7:15","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"660:9:15"},"scope":1069,"src":"610:60:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1053,"nodeType":"StructuredDocumentation","src":"676:605:15","text":"@notice Approve of a specific token ID for spending by spender via signature\n @param spender The account that is being approved\n @param tokenId The ID of the token that is being approved for spending\n @param deadline The deadline timestamp by which the call must be mined for the approve to work\n @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`\n @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`\n @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`"},"functionSelector":"7ac2ff7b","id":1068,"implemented":false,"kind":"function","modifiers":[],"name":"permit","nameLocation":"1295:6:15","nodeType":"FunctionDefinition","parameters":{"id":1066,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1055,"mutability":"mutable","name":"spender","nameLocation":"1319:7:15","nodeType":"VariableDeclaration","scope":1068,"src":"1311:15:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1054,"name":"address","nodeType":"ElementaryTypeName","src":"1311:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1057,"mutability":"mutable","name":"tokenId","nameLocation":"1344:7:15","nodeType":"VariableDeclaration","scope":1068,"src":"1336:15:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1056,"name":"uint256","nodeType":"ElementaryTypeName","src":"1336:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1059,"mutability":"mutable","name":"deadline","nameLocation":"1369:8:15","nodeType":"VariableDeclaration","scope":1068,"src":"1361:16:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1058,"name":"uint256","nodeType":"ElementaryTypeName","src":"1361:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1061,"mutability":"mutable","name":"v","nameLocation":"1393:1:15","nodeType":"VariableDeclaration","scope":1068,"src":"1387:7:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1060,"name":"uint8","nodeType":"ElementaryTypeName","src":"1387:5:15","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":1063,"mutability":"mutable","name":"r","nameLocation":"1412:1:15","nodeType":"VariableDeclaration","scope":1068,"src":"1404:9:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1062,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1404:7:15","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":1065,"mutability":"mutable","name":"s","nameLocation":"1431:1:15","nodeType":"VariableDeclaration","scope":1068,"src":"1423:9:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1064,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1423:7:15","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1301:137:15"},"returnParameters":{"id":1067,"nodeType":"ParameterList","parameters":[],"src":"1455:0:15"},"scope":1069,"src":"1286:170:15","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":1070,"src":"255:1203:15","usedErrors":[],"usedEvents":[93,102,111]}],"src":"45:1414:15"},"id":15},"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol":{"ast":{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol","exportedSymbols":{"IERC165":[266],"IERC721":[194],"IERC721Enumerable":[226],"IERC721Metadata":[254],"IERC721Permit":[1069],"INonfungiblePositionManager":[1268],"IPeripheryImmutableState":[1284],"IPeripheryPayments":[1310],"IPoolInitializer":[1329],"PoolAddress":[1427]},"id":1269,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1071,"literals":["solidity",">=","0.7",".5"],"nodeType":"PragmaDirective","src":"45:24:16"},{"id":1072,"literals":["abicoder","v2"],"nodeType":"PragmaDirective","src":"70:19:16"},{"absolutePath":"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol","file":"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol","id":1073,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1269,"sourceUnit":255,"src":"91:77:16","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol","file":"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol","id":1074,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1269,"sourceUnit":227,"src":"169:79:16","symbolAliases":[],"unitAlias":""},{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol","file":"./IPoolInitializer.sol","id":1075,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1269,"sourceUnit":1330,"src":"250:32:16","symbolAliases":[],"unitAlias":""},{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol","file":"./IERC721Permit.sol","id":1076,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1269,"sourceUnit":1070,"src":"283:29:16","symbolAliases":[],"unitAlias":""},{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol","file":"./IPeripheryPayments.sol","id":1077,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1269,"sourceUnit":1311,"src":"313:34:16","symbolAliases":[],"unitAlias":""},{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol","file":"./IPeripheryImmutableState.sol","id":1078,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1269,"sourceUnit":1285,"src":"348:40:16","symbolAliases":[],"unitAlias":""},{"absolutePath":"@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol","file":"../libraries/PoolAddress.sol","id":1079,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1269,"sourceUnit":1428,"src":"389:38:16","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":1081,"name":"IPoolInitializer","nameLocations":["651:16:16"],"nodeType":"IdentifierPath","referencedDeclaration":1329,"src":"651:16:16"},"id":1082,"nodeType":"InheritanceSpecifier","src":"651:16:16"},{"baseName":{"id":1083,"name":"IPeripheryPayments","nameLocations":["673:18:16"],"nodeType":"IdentifierPath","referencedDeclaration":1310,"src":"673:18:16"},"id":1084,"nodeType":"InheritanceSpecifier","src":"673:18:16"},{"baseName":{"id":1085,"name":"IPeripheryImmutableState","nameLocations":["697:24:16"],"nodeType":"IdentifierPath","referencedDeclaration":1284,"src":"697:24:16"},"id":1086,"nodeType":"InheritanceSpecifier","src":"697:24:16"},{"baseName":{"id":1087,"name":"IERC721Metadata","nameLocations":["727:15:16"],"nodeType":"IdentifierPath","referencedDeclaration":254,"src":"727:15:16"},"id":1088,"nodeType":"InheritanceSpecifier","src":"727:15:16"},{"baseName":{"id":1089,"name":"IERC721Enumerable","nameLocations":["748:17:16"],"nodeType":"IdentifierPath","referencedDeclaration":226,"src":"748:17:16"},"id":1090,"nodeType":"InheritanceSpecifier","src":"748:17:16"},{"baseName":{"id":1091,"name":"IERC721Permit","nameLocations":["771:13:16"],"nodeType":"IdentifierPath","referencedDeclaration":1069,"src":"771:13:16"},"id":1092,"nodeType":"InheritanceSpecifier","src":"771:13:16"}],"canonicalName":"INonfungiblePositionManager","contractDependencies":[],"contractKind":"interface","documentation":{"id":1080,"nodeType":"StructuredDocumentation","src":"429:177:16","text":"@title Non-fungible token for positions\n @notice Wraps Uniswap V3 positions in a non-fungible token interface which allows for them to be transferred\n and authorized."},"fullyImplemented":false,"id":1268,"linearizedBaseContracts":[1268,1069,226,254,194,266,1284,1310,1329],"name":"INonfungiblePositionManager","nameLocation":"616:27:16","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":1093,"nodeType":"StructuredDocumentation","src":"791:458:16","text":"@notice Emitted when liquidity is increased for a position NFT\n @dev Also emitted when a token is minted\n @param tokenId The ID of the token for which liquidity was increased\n @param liquidity The amount by which liquidity for the NFT position was increased\n @param amount0 The amount of token0 that was paid for the increase in liquidity\n @param amount1 The amount of token1 that was paid for the increase in liquidity"},"eventSelector":"3067048beee31b25b2f1681f88dac838c8bba36af25bfb2b7cf7473a5847e35f","id":1103,"name":"IncreaseLiquidity","nameLocation":"1260:17:16","nodeType":"EventDefinition","parameters":{"id":1102,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1095,"indexed":true,"mutability":"mutable","name":"tokenId","nameLocation":"1294:7:16","nodeType":"VariableDeclaration","scope":1103,"src":"1278:23:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1094,"name":"uint256","nodeType":"ElementaryTypeName","src":"1278:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1097,"indexed":false,"mutability":"mutable","name":"liquidity","nameLocation":"1311:9:16","nodeType":"VariableDeclaration","scope":1103,"src":"1303:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1096,"name":"uint128","nodeType":"ElementaryTypeName","src":"1303:7:16","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1099,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"1330:7:16","nodeType":"VariableDeclaration","scope":1103,"src":"1322:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1098,"name":"uint256","nodeType":"ElementaryTypeName","src":"1322:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1101,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"1347:7:16","nodeType":"VariableDeclaration","scope":1103,"src":"1339:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1100,"name":"uint256","nodeType":"ElementaryTypeName","src":"1339:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1277:78:16"},"src":"1254:102:16"},{"anonymous":false,"documentation":{"id":1104,"nodeType":"StructuredDocumentation","src":"1361:419:16","text":"@notice Emitted when liquidity is decreased for a position NFT\n @param tokenId The ID of the token for which liquidity was decreased\n @param liquidity The amount by which liquidity for the NFT position was decreased\n @param amount0 The amount of token0 that was accounted for the decrease in liquidity\n @param amount1 The amount of token1 that was accounted for the decrease in liquidity"},"eventSelector":"26f6a048ee9138f2c0ce266f322cb99228e8d619ae2bff30c67f8dcf9d2377b4","id":1114,"name":"DecreaseLiquidity","nameLocation":"1791:17:16","nodeType":"EventDefinition","parameters":{"id":1113,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1106,"indexed":true,"mutability":"mutable","name":"tokenId","nameLocation":"1825:7:16","nodeType":"VariableDeclaration","scope":1114,"src":"1809:23:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1105,"name":"uint256","nodeType":"ElementaryTypeName","src":"1809:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1108,"indexed":false,"mutability":"mutable","name":"liquidity","nameLocation":"1842:9:16","nodeType":"VariableDeclaration","scope":1114,"src":"1834:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1107,"name":"uint128","nodeType":"ElementaryTypeName","src":"1834:7:16","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1110,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"1861:7:16","nodeType":"VariableDeclaration","scope":1114,"src":"1853:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1109,"name":"uint256","nodeType":"ElementaryTypeName","src":"1853:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1112,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"1878:7:16","nodeType":"VariableDeclaration","scope":1114,"src":"1870:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1111,"name":"uint256","nodeType":"ElementaryTypeName","src":"1870:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1808:78:16"},"src":"1785:102:16"},{"anonymous":false,"documentation":{"id":1115,"nodeType":"StructuredDocumentation","src":"1892:522:16","text":"@notice Emitted when tokens are collected for a position NFT\n @dev The amounts reported may not be exactly equivalent to the amounts transferred, due to rounding behavior\n @param tokenId The ID of the token for which underlying tokens were collected\n @param recipient The address of the account that received the collected tokens\n @param amount0 The amount of token0 owed to the position that was collected\n @param amount1 The amount of token1 owed to the position that was collected"},"eventSelector":"40d0efd1a53d60ecbf40971b9daf7dc90178c3aadc7aab1765632738fa8b8f01","id":1125,"name":"Collect","nameLocation":"2425:7:16","nodeType":"EventDefinition","parameters":{"id":1124,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1117,"indexed":true,"mutability":"mutable","name":"tokenId","nameLocation":"2449:7:16","nodeType":"VariableDeclaration","scope":1125,"src":"2433:23:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1116,"name":"uint256","nodeType":"ElementaryTypeName","src":"2433:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1119,"indexed":false,"mutability":"mutable","name":"recipient","nameLocation":"2466:9:16","nodeType":"VariableDeclaration","scope":1125,"src":"2458:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1118,"name":"address","nodeType":"ElementaryTypeName","src":"2458:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1121,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"2485:7:16","nodeType":"VariableDeclaration","scope":1125,"src":"2477:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1120,"name":"uint256","nodeType":"ElementaryTypeName","src":"2477:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1123,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"2502:7:16","nodeType":"VariableDeclaration","scope":1125,"src":"2494:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1122,"name":"uint256","nodeType":"ElementaryTypeName","src":"2494:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2432:78:16"},"src":"2419:92:16"},{"documentation":{"id":1126,"nodeType":"StructuredDocumentation","src":"2517:1157:16","text":"@notice Returns the position information associated with a given token ID.\n @dev Throws if the token ID is not valid.\n @param tokenId The ID of the token that represents the position\n @return nonce The nonce for permits\n @return operator The address that is approved for spending\n @return token0 The address of the token0 for a specific pool\n @return token1 The address of the token1 for a specific pool\n @return fee The fee associated with the pool\n @return tickLower The lower end of the tick range for the position\n @return tickUpper The higher end of the tick range for the position\n @return liquidity The liquidity of the position\n @return feeGrowthInside0LastX128 The fee growth of token0 as of the last action on the individual position\n @return feeGrowthInside1LastX128 The fee growth of token1 as of the last action on the individual position\n @return tokensOwed0 The uncollected amount of token0 owed to the position as of the last computation\n @return tokensOwed1 The uncollected amount of token1 owed to the position as of the last computation"},"functionSelector":"99fbab88","id":1155,"implemented":false,"kind":"function","modifiers":[],"name":"positions","nameLocation":"3688:9:16","nodeType":"FunctionDefinition","parameters":{"id":1129,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1128,"mutability":"mutable","name":"tokenId","nameLocation":"3706:7:16","nodeType":"VariableDeclaration","scope":1155,"src":"3698:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1127,"name":"uint256","nodeType":"ElementaryTypeName","src":"3698:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3697:17:16"},"returnParameters":{"id":1154,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1131,"mutability":"mutable","name":"nonce","nameLocation":"3782:5:16","nodeType":"VariableDeclaration","scope":1155,"src":"3775:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"},"typeName":{"id":1130,"name":"uint96","nodeType":"ElementaryTypeName","src":"3775:6:16","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"visibility":"internal"},{"constant":false,"id":1133,"mutability":"mutable","name":"operator","nameLocation":"3809:8:16","nodeType":"VariableDeclaration","scope":1155,"src":"3801:16:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1132,"name":"address","nodeType":"ElementaryTypeName","src":"3801:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1135,"mutability":"mutable","name":"token0","nameLocation":"3839:6:16","nodeType":"VariableDeclaration","scope":1155,"src":"3831:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1134,"name":"address","nodeType":"ElementaryTypeName","src":"3831:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1137,"mutability":"mutable","name":"token1","nameLocation":"3867:6:16","nodeType":"VariableDeclaration","scope":1155,"src":"3859:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1136,"name":"address","nodeType":"ElementaryTypeName","src":"3859:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1139,"mutability":"mutable","name":"fee","nameLocation":"3894:3:16","nodeType":"VariableDeclaration","scope":1155,"src":"3887:10:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1138,"name":"uint24","nodeType":"ElementaryTypeName","src":"3887:6:16","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":1141,"mutability":"mutable","name":"tickLower","nameLocation":"3917:9:16","nodeType":"VariableDeclaration","scope":1155,"src":"3911:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1140,"name":"int24","nodeType":"ElementaryTypeName","src":"3911:5:16","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1143,"mutability":"mutable","name":"tickUpper","nameLocation":"3946:9:16","nodeType":"VariableDeclaration","scope":1155,"src":"3940:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1142,"name":"int24","nodeType":"ElementaryTypeName","src":"3940:5:16","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1145,"mutability":"mutable","name":"liquidity","nameLocation":"3977:9:16","nodeType":"VariableDeclaration","scope":1155,"src":"3969:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1144,"name":"uint128","nodeType":"ElementaryTypeName","src":"3969:7:16","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1147,"mutability":"mutable","name":"feeGrowthInside0LastX128","nameLocation":"4008:24:16","nodeType":"VariableDeclaration","scope":1155,"src":"4000:32:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1146,"name":"uint256","nodeType":"ElementaryTypeName","src":"4000:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1149,"mutability":"mutable","name":"feeGrowthInside1LastX128","nameLocation":"4054:24:16","nodeType":"VariableDeclaration","scope":1155,"src":"4046:32:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1148,"name":"uint256","nodeType":"ElementaryTypeName","src":"4046:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1151,"mutability":"mutable","name":"tokensOwed0","nameLocation":"4100:11:16","nodeType":"VariableDeclaration","scope":1155,"src":"4092:19:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1150,"name":"uint128","nodeType":"ElementaryTypeName","src":"4092:7:16","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1153,"mutability":"mutable","name":"tokensOwed1","nameLocation":"4133:11:16","nodeType":"VariableDeclaration","scope":1155,"src":"4125:19:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1152,"name":"uint128","nodeType":"ElementaryTypeName","src":"4125:7:16","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"3761:393:16"},"scope":1268,"src":"3679:476:16","stateMutability":"view","virtual":false,"visibility":"external"},{"canonicalName":"INonfungiblePositionManager.MintParams","id":1178,"members":[{"constant":false,"id":1157,"mutability":"mutable","name":"token0","nameLocation":"4197:6:16","nodeType":"VariableDeclaration","scope":1178,"src":"4189:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1156,"name":"address","nodeType":"ElementaryTypeName","src":"4189:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1159,"mutability":"mutable","name":"token1","nameLocation":"4221:6:16","nodeType":"VariableDeclaration","scope":1178,"src":"4213:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1158,"name":"address","nodeType":"ElementaryTypeName","src":"4213:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1161,"mutability":"mutable","name":"fee","nameLocation":"4244:3:16","nodeType":"VariableDeclaration","scope":1178,"src":"4237:10:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1160,"name":"uint24","nodeType":"ElementaryTypeName","src":"4237:6:16","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":1163,"mutability":"mutable","name":"tickLower","nameLocation":"4263:9:16","nodeType":"VariableDeclaration","scope":1178,"src":"4257:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1162,"name":"int24","nodeType":"ElementaryTypeName","src":"4257:5:16","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1165,"mutability":"mutable","name":"tickUpper","nameLocation":"4288:9:16","nodeType":"VariableDeclaration","scope":1178,"src":"4282:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1164,"name":"int24","nodeType":"ElementaryTypeName","src":"4282:5:16","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1167,"mutability":"mutable","name":"amount0Desired","nameLocation":"4315:14:16","nodeType":"VariableDeclaration","scope":1178,"src":"4307:22:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1166,"name":"uint256","nodeType":"ElementaryTypeName","src":"4307:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1169,"mutability":"mutable","name":"amount1Desired","nameLocation":"4347:14:16","nodeType":"VariableDeclaration","scope":1178,"src":"4339:22:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1168,"name":"uint256","nodeType":"ElementaryTypeName","src":"4339:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1171,"mutability":"mutable","name":"amount0Min","nameLocation":"4379:10:16","nodeType":"VariableDeclaration","scope":1178,"src":"4371:18:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1170,"name":"uint256","nodeType":"ElementaryTypeName","src":"4371:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1173,"mutability":"mutable","name":"amount1Min","nameLocation":"4407:10:16","nodeType":"VariableDeclaration","scope":1178,"src":"4399:18:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1172,"name":"uint256","nodeType":"ElementaryTypeName","src":"4399:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1175,"mutability":"mutable","name":"recipient","nameLocation":"4435:9:16","nodeType":"VariableDeclaration","scope":1178,"src":"4427:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1174,"name":"address","nodeType":"ElementaryTypeName","src":"4427:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1177,"mutability":"mutable","name":"deadline","nameLocation":"4462:8:16","nodeType":"VariableDeclaration","scope":1178,"src":"4454:16:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1176,"name":"uint256","nodeType":"ElementaryTypeName","src":"4454:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"MintParams","nameLocation":"4168:10:16","nodeType":"StructDefinition","scope":1268,"src":"4161:316:16","visibility":"public"},{"documentation":{"id":1179,"nodeType":"StructuredDocumentation","src":"4483:586:16","text":"@notice Creates a new position wrapped in a NFT\n @dev Call this when the pool does exist and is initialized. Note that if the pool is created but not initialized\n a method does not exist, i.e. the pool is assumed to be initialized.\n @param params The params necessary to mint a position, encoded as `MintParams` in calldata\n @return tokenId The ID of the token that represents the minted position\n @return liquidity The amount of liquidity for this position\n @return amount0 The amount of token0\n @return amount1 The amount of token1"},"functionSelector":"88316456","id":1193,"implemented":false,"kind":"function","modifiers":[],"name":"mint","nameLocation":"5083:4:16","nodeType":"FunctionDefinition","parameters":{"id":1183,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1182,"mutability":"mutable","name":"params","nameLocation":"5108:6:16","nodeType":"VariableDeclaration","scope":1193,"src":"5088:26:16","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_MintParams_$1178_calldata_ptr","typeString":"struct INonfungiblePositionManager.MintParams"},"typeName":{"id":1181,"nodeType":"UserDefinedTypeName","pathNode":{"id":1180,"name":"MintParams","nameLocations":["5088:10:16"],"nodeType":"IdentifierPath","referencedDeclaration":1178,"src":"5088:10:16"},"referencedDeclaration":1178,"src":"5088:10:16","typeDescriptions":{"typeIdentifier":"t_struct$_MintParams_$1178_storage_ptr","typeString":"struct INonfungiblePositionManager.MintParams"}},"visibility":"internal"}],"src":"5087:28:16"},"returnParameters":{"id":1192,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1185,"mutability":"mutable","name":"tokenId","nameLocation":"5187:7:16","nodeType":"VariableDeclaration","scope":1193,"src":"5179:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1184,"name":"uint256","nodeType":"ElementaryTypeName","src":"5179:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1187,"mutability":"mutable","name":"liquidity","nameLocation":"5216:9:16","nodeType":"VariableDeclaration","scope":1193,"src":"5208:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1186,"name":"uint128","nodeType":"ElementaryTypeName","src":"5208:7:16","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1189,"mutability":"mutable","name":"amount0","nameLocation":"5247:7:16","nodeType":"VariableDeclaration","scope":1193,"src":"5239:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1188,"name":"uint256","nodeType":"ElementaryTypeName","src":"5239:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1191,"mutability":"mutable","name":"amount1","nameLocation":"5276:7:16","nodeType":"VariableDeclaration","scope":1193,"src":"5268:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1190,"name":"uint256","nodeType":"ElementaryTypeName","src":"5268:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5165:128:16"},"scope":1268,"src":"5074:220:16","stateMutability":"payable","virtual":false,"visibility":"external"},{"canonicalName":"INonfungiblePositionManager.IncreaseLiquidityParams","id":1206,"members":[{"constant":false,"id":1195,"mutability":"mutable","name":"tokenId","nameLocation":"5349:7:16","nodeType":"VariableDeclaration","scope":1206,"src":"5341:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1194,"name":"uint256","nodeType":"ElementaryTypeName","src":"5341:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1197,"mutability":"mutable","name":"amount0Desired","nameLocation":"5374:14:16","nodeType":"VariableDeclaration","scope":1206,"src":"5366:22:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1196,"name":"uint256","nodeType":"ElementaryTypeName","src":"5366:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1199,"mutability":"mutable","name":"amount1Desired","nameLocation":"5406:14:16","nodeType":"VariableDeclaration","scope":1206,"src":"5398:22:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1198,"name":"uint256","nodeType":"ElementaryTypeName","src":"5398:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1201,"mutability":"mutable","name":"amount0Min","nameLocation":"5438:10:16","nodeType":"VariableDeclaration","scope":1206,"src":"5430:18:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1200,"name":"uint256","nodeType":"ElementaryTypeName","src":"5430:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1203,"mutability":"mutable","name":"amount1Min","nameLocation":"5466:10:16","nodeType":"VariableDeclaration","scope":1206,"src":"5458:18:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1202,"name":"uint256","nodeType":"ElementaryTypeName","src":"5458:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1205,"mutability":"mutable","name":"deadline","nameLocation":"5494:8:16","nodeType":"VariableDeclaration","scope":1206,"src":"5486:16:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1204,"name":"uint256","nodeType":"ElementaryTypeName","src":"5486:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"IncreaseLiquidityParams","nameLocation":"5307:23:16","nodeType":"StructDefinition","scope":1268,"src":"5300:209:16","visibility":"public"},{"documentation":{"id":1207,"nodeType":"StructuredDocumentation","src":"5515:821:16","text":"@notice Increases the amount of liquidity in a position, with tokens paid by the `msg.sender`\n @param params tokenId The ID of the token for which liquidity is being increased,\n amount0Desired The desired amount of token0 to be spent,\n amount1Desired The desired amount of token1 to be spent,\n amount0Min The minimum amount of token0 to spend, which serves as a slippage check,\n amount1Min The minimum amount of token1 to spend, which serves as a slippage check,\n deadline The time by which the transaction must be included to effect the change\n @return liquidity The new liquidity amount as a result of the increase\n @return amount0 The amount of token0 to acheive resulting liquidity\n @return amount1 The amount of token1 to acheive resulting liquidity"},"functionSelector":"219f5d17","id":1219,"implemented":false,"kind":"function","modifiers":[],"name":"increaseLiquidity","nameLocation":"6350:17:16","nodeType":"FunctionDefinition","parameters":{"id":1211,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1210,"mutability":"mutable","name":"params","nameLocation":"6401:6:16","nodeType":"VariableDeclaration","scope":1219,"src":"6368:39:16","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_IncreaseLiquidityParams_$1206_calldata_ptr","typeString":"struct INonfungiblePositionManager.IncreaseLiquidityParams"},"typeName":{"id":1209,"nodeType":"UserDefinedTypeName","pathNode":{"id":1208,"name":"IncreaseLiquidityParams","nameLocations":["6368:23:16"],"nodeType":"IdentifierPath","referencedDeclaration":1206,"src":"6368:23:16"},"referencedDeclaration":1206,"src":"6368:23:16","typeDescriptions":{"typeIdentifier":"t_struct$_IncreaseLiquidityParams_$1206_storage_ptr","typeString":"struct INonfungiblePositionManager.IncreaseLiquidityParams"}},"visibility":"internal"}],"src":"6367:41:16"},"returnParameters":{"id":1218,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1213,"mutability":"mutable","name":"liquidity","nameLocation":"6480:9:16","nodeType":"VariableDeclaration","scope":1219,"src":"6472:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1212,"name":"uint128","nodeType":"ElementaryTypeName","src":"6472:7:16","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1215,"mutability":"mutable","name":"amount0","nameLocation":"6511:7:16","nodeType":"VariableDeclaration","scope":1219,"src":"6503:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1214,"name":"uint256","nodeType":"ElementaryTypeName","src":"6503:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1217,"mutability":"mutable","name":"amount1","nameLocation":"6540:7:16","nodeType":"VariableDeclaration","scope":1219,"src":"6532:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1216,"name":"uint256","nodeType":"ElementaryTypeName","src":"6532:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6458:99:16"},"scope":1268,"src":"6341:217:16","stateMutability":"payable","virtual":false,"visibility":"external"},{"canonicalName":"INonfungiblePositionManager.DecreaseLiquidityParams","id":1230,"members":[{"constant":false,"id":1221,"mutability":"mutable","name":"tokenId","nameLocation":"6613:7:16","nodeType":"VariableDeclaration","scope":1230,"src":"6605:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1220,"name":"uint256","nodeType":"ElementaryTypeName","src":"6605:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1223,"mutability":"mutable","name":"liquidity","nameLocation":"6638:9:16","nodeType":"VariableDeclaration","scope":1230,"src":"6630:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1222,"name":"uint128","nodeType":"ElementaryTypeName","src":"6630:7:16","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1225,"mutability":"mutable","name":"amount0Min","nameLocation":"6665:10:16","nodeType":"VariableDeclaration","scope":1230,"src":"6657:18:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1224,"name":"uint256","nodeType":"ElementaryTypeName","src":"6657:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1227,"mutability":"mutable","name":"amount1Min","nameLocation":"6693:10:16","nodeType":"VariableDeclaration","scope":1230,"src":"6685:18:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1226,"name":"uint256","nodeType":"ElementaryTypeName","src":"6685:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1229,"mutability":"mutable","name":"deadline","nameLocation":"6721:8:16","nodeType":"VariableDeclaration","scope":1230,"src":"6713:16:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1228,"name":"uint256","nodeType":"ElementaryTypeName","src":"6713:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"DecreaseLiquidityParams","nameLocation":"6571:23:16","nodeType":"StructDefinition","scope":1268,"src":"6564:172:16","visibility":"public"},{"documentation":{"id":1231,"nodeType":"StructuredDocumentation","src":"6742:702:16","text":"@notice Decreases the amount of liquidity in a position and accounts it to the position\n @param params tokenId The ID of the token for which liquidity is being decreased,\n amount The amount by which liquidity will be decreased,\n amount0Min The minimum amount of token0 that should be accounted for the burned liquidity,\n amount1Min The minimum amount of token1 that should be accounted for the burned liquidity,\n deadline The time by which the transaction must be included to effect the change\n @return amount0 The amount of token0 accounted to the position's tokens owed\n @return amount1 The amount of token1 accounted to the position's tokens owed"},"functionSelector":"0c49ccbe","id":1241,"implemented":false,"kind":"function","modifiers":[],"name":"decreaseLiquidity","nameLocation":"7458:17:16","nodeType":"FunctionDefinition","parameters":{"id":1235,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1234,"mutability":"mutable","name":"params","nameLocation":"7509:6:16","nodeType":"VariableDeclaration","scope":1241,"src":"7476:39:16","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_DecreaseLiquidityParams_$1230_calldata_ptr","typeString":"struct INonfungiblePositionManager.DecreaseLiquidityParams"},"typeName":{"id":1233,"nodeType":"UserDefinedTypeName","pathNode":{"id":1232,"name":"DecreaseLiquidityParams","nameLocations":["7476:23:16"],"nodeType":"IdentifierPath","referencedDeclaration":1230,"src":"7476:23:16"},"referencedDeclaration":1230,"src":"7476:23:16","typeDescriptions":{"typeIdentifier":"t_struct$_DecreaseLiquidityParams_$1230_storage_ptr","typeString":"struct INonfungiblePositionManager.DecreaseLiquidityParams"}},"visibility":"internal"}],"src":"7475:41:16"},"returnParameters":{"id":1240,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1237,"mutability":"mutable","name":"amount0","nameLocation":"7575:7:16","nodeType":"VariableDeclaration","scope":1241,"src":"7567:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1236,"name":"uint256","nodeType":"ElementaryTypeName","src":"7567:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1239,"mutability":"mutable","name":"amount1","nameLocation":"7592:7:16","nodeType":"VariableDeclaration","scope":1241,"src":"7584:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1238,"name":"uint256","nodeType":"ElementaryTypeName","src":"7584:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7566:34:16"},"scope":1268,"src":"7449:152:16","stateMutability":"payable","virtual":false,"visibility":"external"},{"canonicalName":"INonfungiblePositionManager.CollectParams","id":1250,"members":[{"constant":false,"id":1243,"mutability":"mutable","name":"tokenId","nameLocation":"7646:7:16","nodeType":"VariableDeclaration","scope":1250,"src":"7638:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1242,"name":"uint256","nodeType":"ElementaryTypeName","src":"7638:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1245,"mutability":"mutable","name":"recipient","nameLocation":"7671:9:16","nodeType":"VariableDeclaration","scope":1250,"src":"7663:17:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1244,"name":"address","nodeType":"ElementaryTypeName","src":"7663:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1247,"mutability":"mutable","name":"amount0Max","nameLocation":"7698:10:16","nodeType":"VariableDeclaration","scope":1250,"src":"7690:18:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1246,"name":"uint128","nodeType":"ElementaryTypeName","src":"7690:7:16","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1249,"mutability":"mutable","name":"amount1Max","nameLocation":"7726:10:16","nodeType":"VariableDeclaration","scope":1250,"src":"7718:18:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1248,"name":"uint128","nodeType":"ElementaryTypeName","src":"7718:7:16","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"name":"CollectParams","nameLocation":"7614:13:16","nodeType":"StructDefinition","scope":1268,"src":"7607:136:16","visibility":"public"},{"documentation":{"id":1251,"nodeType":"StructuredDocumentation","src":"7749:489:16","text":"@notice Collects up to a maximum amount of fees owed to a specific position to the recipient\n @param params tokenId The ID of the NFT for which tokens are being collected,\n recipient The account that should receive the tokens,\n amount0Max The maximum amount of token0 to collect,\n amount1Max The maximum amount of token1 to collect\n @return amount0 The amount of fees collected in token0\n @return amount1 The amount of fees collected in token1"},"functionSelector":"fc6f7865","id":1261,"implemented":false,"kind":"function","modifiers":[],"name":"collect","nameLocation":"8252:7:16","nodeType":"FunctionDefinition","parameters":{"id":1255,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1254,"mutability":"mutable","name":"params","nameLocation":"8283:6:16","nodeType":"VariableDeclaration","scope":1261,"src":"8260:29:16","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_CollectParams_$1250_calldata_ptr","typeString":"struct INonfungiblePositionManager.CollectParams"},"typeName":{"id":1253,"nodeType":"UserDefinedTypeName","pathNode":{"id":1252,"name":"CollectParams","nameLocations":["8260:13:16"],"nodeType":"IdentifierPath","referencedDeclaration":1250,"src":"8260:13:16"},"referencedDeclaration":1250,"src":"8260:13:16","typeDescriptions":{"typeIdentifier":"t_struct$_CollectParams_$1250_storage_ptr","typeString":"struct INonfungiblePositionManager.CollectParams"}},"visibility":"internal"}],"src":"8259:31:16"},"returnParameters":{"id":1260,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1257,"mutability":"mutable","name":"amount0","nameLocation":"8325:7:16","nodeType":"VariableDeclaration","scope":1261,"src":"8317:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1256,"name":"uint256","nodeType":"ElementaryTypeName","src":"8317:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1259,"mutability":"mutable","name":"amount1","nameLocation":"8342:7:16","nodeType":"VariableDeclaration","scope":1261,"src":"8334:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1258,"name":"uint256","nodeType":"ElementaryTypeName","src":"8334:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8316:34:16"},"scope":1268,"src":"8243:108:16","stateMutability":"payable","virtual":false,"visibility":"external"},{"documentation":{"id":1262,"nodeType":"StructuredDocumentation","src":"8357:213:16","text":"@notice Burns a token ID, which deletes it from the NFT contract. The token must have 0 liquidity and all tokens\n must be collected first.\n @param tokenId The ID of the token that is being burned"},"functionSelector":"42966c68","id":1267,"implemented":false,"kind":"function","modifiers":[],"name":"burn","nameLocation":"8584:4:16","nodeType":"FunctionDefinition","parameters":{"id":1265,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1264,"mutability":"mutable","name":"tokenId","nameLocation":"8597:7:16","nodeType":"VariableDeclaration","scope":1267,"src":"8589:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1263,"name":"uint256","nodeType":"ElementaryTypeName","src":"8589:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8588:17:16"},"returnParameters":{"id":1266,"nodeType":"ParameterList","parameters":[],"src":"8622:0:16"},"scope":1268,"src":"8575:48:16","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":1269,"src":"606:8019:16","usedErrors":[],"usedEvents":[93,102,111,1103,1114,1125]}],"src":"45:8581:16"},"id":16},"@uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol":{"ast":{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol","exportedSymbols":{"IPeripheryImmutableState":[1284]},"id":1285,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1270,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:17"},{"abstract":false,"baseContracts":[],"canonicalName":"IPeripheryImmutableState","contractDependencies":[],"contractKind":"interface","documentation":{"id":1271,"nodeType":"StructuredDocumentation","src":"71:91:17","text":"@title Immutable state\n @notice Functions that return immutable state of the router"},"fullyImplemented":false,"id":1284,"linearizedBaseContracts":[1284],"name":"IPeripheryImmutableState","nameLocation":"172:24:17","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1272,"nodeType":"StructuredDocumentation","src":"203:57:17","text":"@return Returns the address of the Uniswap V3 factory"},"functionSelector":"c45a0155","id":1277,"implemented":false,"kind":"function","modifiers":[],"name":"factory","nameLocation":"274:7:17","nodeType":"FunctionDefinition","parameters":{"id":1273,"nodeType":"ParameterList","parameters":[],"src":"281:2:17"},"returnParameters":{"id":1276,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1275,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1277,"src":"307:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1274,"name":"address","nodeType":"ElementaryTypeName","src":"307:7:17","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"306:9:17"},"scope":1284,"src":"265:51:17","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1278,"nodeType":"StructuredDocumentation","src":"322:40:17","text":"@return Returns the address of WETH9"},"functionSelector":"4aa4a4fc","id":1283,"implemented":false,"kind":"function","modifiers":[],"name":"WETH9","nameLocation":"376:5:17","nodeType":"FunctionDefinition","parameters":{"id":1279,"nodeType":"ParameterList","parameters":[],"src":"381:2:17"},"returnParameters":{"id":1282,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1281,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1283,"src":"407:7:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1280,"name":"address","nodeType":"ElementaryTypeName","src":"407:7:17","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"406:9:17"},"scope":1284,"src":"367:49:17","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1285,"src":"162:256:17","usedErrors":[],"usedEvents":[]}],"src":"45:374:17"},"id":17},"@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol":{"ast":{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol","exportedSymbols":{"IPeripheryPayments":[1310]},"id":1311,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1286,"literals":["solidity",">=","0.7",".5"],"nodeType":"PragmaDirective","src":"45:24:18"},{"abstract":false,"baseContracts":[],"canonicalName":"IPeripheryPayments","contractDependencies":[],"contractKind":"interface","documentation":{"id":1287,"nodeType":"StructuredDocumentation","src":"71:92:18","text":"@title Periphery Payments\n @notice Functions to ease deposits and withdrawals of ETH"},"fullyImplemented":false,"id":1310,"linearizedBaseContracts":[1310],"name":"IPeripheryPayments","nameLocation":"173:18:18","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1288,"nodeType":"StructuredDocumentation","src":"198:302:18","text":"@notice Unwraps the contract's WETH9 balance and sends it to recipient as ETH.\n @dev The amountMinimum parameter prevents malicious contracts from stealing WETH9 from users.\n @param amountMinimum The minimum amount of WETH9 to unwrap\n @param recipient The address receiving ETH"},"functionSelector":"49404b7c","id":1295,"implemented":false,"kind":"function","modifiers":[],"name":"unwrapWETH9","nameLocation":"514:11:18","nodeType":"FunctionDefinition","parameters":{"id":1293,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1290,"mutability":"mutable","name":"amountMinimum","nameLocation":"534:13:18","nodeType":"VariableDeclaration","scope":1295,"src":"526:21:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1289,"name":"uint256","nodeType":"ElementaryTypeName","src":"526:7:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1292,"mutability":"mutable","name":"recipient","nameLocation":"557:9:18","nodeType":"VariableDeclaration","scope":1295,"src":"549:17:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1291,"name":"address","nodeType":"ElementaryTypeName","src":"549:7:18","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"525:42:18"},"returnParameters":{"id":1294,"nodeType":"ParameterList","parameters":[],"src":"584:0:18"},"scope":1310,"src":"505:80:18","stateMutability":"payable","virtual":false,"visibility":"external"},{"documentation":{"id":1296,"nodeType":"StructuredDocumentation","src":"591:225:18","text":"@notice Refunds any ETH balance held by this contract to the `msg.sender`\n @dev Useful for bundling with mint or increase liquidity that uses ether, or exact output swaps\n that use ether for the input amount"},"functionSelector":"12210e8a","id":1299,"implemented":false,"kind":"function","modifiers":[],"name":"refundETH","nameLocation":"830:9:18","nodeType":"FunctionDefinition","parameters":{"id":1297,"nodeType":"ParameterList","parameters":[],"src":"839:2:18"},"returnParameters":{"id":1298,"nodeType":"ParameterList","parameters":[],"src":"858:0:18"},"scope":1310,"src":"821:38:18","stateMutability":"payable","virtual":false,"visibility":"external"},{"documentation":{"id":1300,"nodeType":"StructuredDocumentation","src":"865:427:18","text":"@notice Transfers the full amount of a token held by this contract to recipient\n @dev The amountMinimum parameter prevents malicious contracts from stealing the token from users\n @param token The contract address of the token which will be transferred to `recipient`\n @param amountMinimum The minimum amount of token required for a transfer\n @param recipient The destination address of the token"},"functionSelector":"df2ab5bb","id":1309,"implemented":false,"kind":"function","modifiers":[],"name":"sweepToken","nameLocation":"1306:10:18","nodeType":"FunctionDefinition","parameters":{"id":1307,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1302,"mutability":"mutable","name":"token","nameLocation":"1334:5:18","nodeType":"VariableDeclaration","scope":1309,"src":"1326:13:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1301,"name":"address","nodeType":"ElementaryTypeName","src":"1326:7:18","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1304,"mutability":"mutable","name":"amountMinimum","nameLocation":"1357:13:18","nodeType":"VariableDeclaration","scope":1309,"src":"1349:21:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1303,"name":"uint256","nodeType":"ElementaryTypeName","src":"1349:7:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1306,"mutability":"mutable","name":"recipient","nameLocation":"1388:9:18","nodeType":"VariableDeclaration","scope":1309,"src":"1380:17:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1305,"name":"address","nodeType":"ElementaryTypeName","src":"1380:7:18","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1316:87:18"},"returnParameters":{"id":1308,"nodeType":"ParameterList","parameters":[],"src":"1420:0:18"},"scope":1310,"src":"1297:124:18","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":1311,"src":"163:1260:18","usedErrors":[],"usedEvents":[]}],"src":"45:1379:18"},"id":18},"@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol":{"ast":{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol","exportedSymbols":{"IPoolInitializer":[1329]},"id":1330,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1312,"literals":["solidity",">=","0.7",".5"],"nodeType":"PragmaDirective","src":"45:24:19"},{"id":1313,"literals":["abicoder","v2"],"nodeType":"PragmaDirective","src":"70:19:19"},{"abstract":false,"baseContracts":[],"canonicalName":"IPoolInitializer","contractDependencies":[],"contractKind":"interface","documentation":{"id":1314,"nodeType":"StructuredDocumentation","src":"91:194:19","text":"@title Creates and initializes V3 Pools\n @notice Provides a method for creating and initializing a pool, if necessary, for bundling with other methods that\n require the pool to exist."},"fullyImplemented":false,"id":1329,"linearizedBaseContracts":[1329],"name":"IPoolInitializer","nameLocation":"295:16:19","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1315,"nodeType":"StructuredDocumentation","src":"318:648:19","text":"@notice Creates a new pool if it does not exist, then initializes if not initialized\n @dev This method can be bundled with others via IMulticall for the first action (e.g. mint) performed against a pool\n @param token0 The contract address of token0 of the pool\n @param token1 The contract address of token1 of the pool\n @param fee The fee amount of the v3 pool for the specified token pair\n @param sqrtPriceX96 The initial square root price of the pool as a Q64.96 value\n @return pool Returns the pool address based on the pair of tokens and fee, will return the newly created pool address if necessary"},"functionSelector":"13ead562","id":1328,"implemented":false,"kind":"function","modifiers":[],"name":"createAndInitializePoolIfNecessary","nameLocation":"980:34:19","nodeType":"FunctionDefinition","parameters":{"id":1324,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1317,"mutability":"mutable","name":"token0","nameLocation":"1032:6:19","nodeType":"VariableDeclaration","scope":1328,"src":"1024:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1316,"name":"address","nodeType":"ElementaryTypeName","src":"1024:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1319,"mutability":"mutable","name":"token1","nameLocation":"1056:6:19","nodeType":"VariableDeclaration","scope":1328,"src":"1048:14:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1318,"name":"address","nodeType":"ElementaryTypeName","src":"1048:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1321,"mutability":"mutable","name":"fee","nameLocation":"1079:3:19","nodeType":"VariableDeclaration","scope":1328,"src":"1072:10:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1320,"name":"uint24","nodeType":"ElementaryTypeName","src":"1072:6:19","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":1323,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"1100:12:19","nodeType":"VariableDeclaration","scope":1328,"src":"1092:20:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1322,"name":"uint160","nodeType":"ElementaryTypeName","src":"1092:7:19","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"1014:104:19"},"returnParameters":{"id":1327,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1326,"mutability":"mutable","name":"pool","nameLocation":"1153:4:19","nodeType":"VariableDeclaration","scope":1328,"src":"1145:12:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1325,"name":"address","nodeType":"ElementaryTypeName","src":"1145:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1144:14:19"},"scope":1329,"src":"971:188:19","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":1330,"src":"285:876:19","usedErrors":[],"usedEvents":[]}],"src":"45:1117:19"},"id":19},"@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol":{"ast":{"absolutePath":"@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol","exportedSymbols":{"PoolAddress":[1427]},"id":1428,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1331,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:20"},{"abstract":false,"baseContracts":[],"canonicalName":"PoolAddress","contractDependencies":[],"contractKind":"library","documentation":{"id":1332,"nodeType":"StructuredDocumentation","src":"71:96:20","text":"@title Provides functions for deriving a pool address from the factory, tokens, and the fee"},"fullyImplemented":true,"id":1427,"linearizedBaseContracts":[1427],"name":"PoolAddress","nameLocation":"175:11:20","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":1335,"mutability":"constant","name":"POOL_INIT_CODE_HASH","nameLocation":"219:19:20","nodeType":"VariableDeclaration","scope":1427,"src":"193:114:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1333,"name":"bytes32","nodeType":"ElementaryTypeName","src":"193:7:20","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307861353938646432666261333630353130633561386630326634343432336134343638653930326466353835376462636533636131363261343361336133316666","id":1334,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"241:66:20","typeDescriptions":{"typeIdentifier":"t_rational_74901707342755711272218170162138425576993010572462494723964740060367845732863_by_1","typeString":"int_const 7490...(69 digits omitted)...2863"},"value":"0xa598dd2fba360510c5a8f02f44423a4468e902df5857dbce3ca162a43a3a31ff"},"visibility":"internal"},{"canonicalName":"PoolAddress.PoolKey","documentation":{"id":1336,"nodeType":"StructuredDocumentation","src":"314:43:20","text":"@notice The identifying key of the pool"},"id":1343,"members":[{"constant":false,"id":1338,"mutability":"mutable","name":"token0","nameLocation":"395:6:20","nodeType":"VariableDeclaration","scope":1343,"src":"387:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1337,"name":"address","nodeType":"ElementaryTypeName","src":"387:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1340,"mutability":"mutable","name":"token1","nameLocation":"419:6:20","nodeType":"VariableDeclaration","scope":1343,"src":"411:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1339,"name":"address","nodeType":"ElementaryTypeName","src":"411:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1342,"mutability":"mutable","name":"fee","nameLocation":"442:3:20","nodeType":"VariableDeclaration","scope":1343,"src":"435:10:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1341,"name":"uint24","nodeType":"ElementaryTypeName","src":"435:6:20","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"name":"PoolKey","nameLocation":"369:7:20","nodeType":"StructDefinition","scope":1427,"src":"362:90:20","visibility":"public"},{"body":{"id":1374,"nodeType":"Block","src":"917:141:20","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1358,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1356,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1346,"src":"931:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":1357,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1348,"src":"940:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"931:15:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1367,"nodeType":"IfStatement","src":"927:56:20","trueBody":{"expression":{"id":1365,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":1359,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1346,"src":"949:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1360,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1348,"src":"957:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":1361,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"948:16:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":1362,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1348,"src":"968:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1363,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1346,"src":"976:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":1364,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"967:16:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"src":"948:35:20","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1366,"nodeType":"ExpressionStatement","src":"948:35:20"}},{"expression":{"arguments":[{"id":1369,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1346,"src":"1017:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1370,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1348,"src":"1033:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1371,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1350,"src":"1046:3:20","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":1368,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1343,"src":"1000:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_PoolKey_$1343_storage_ptr_$","typeString":"type(struct PoolAddress.PoolKey storage pointer)"}},"id":1372,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["1009:6:20","1025:6:20","1041:3:20"],"names":["token0","token1","fee"],"nodeType":"FunctionCall","src":"1000:51:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$1343_memory_ptr","typeString":"struct PoolAddress.PoolKey memory"}},"functionReturnParameters":1355,"id":1373,"nodeType":"Return","src":"993:58:20"}]},"documentation":{"id":1344,"nodeType":"StructuredDocumentation","src":"458:321:20","text":"@notice Returns PoolKey: the ordered tokens with the matched fee levels\n @param tokenA The first token of a pool, unsorted\n @param tokenB The second token of a pool, unsorted\n @param fee The fee level of the pool\n @return Poolkey The pool details with ordered token0 and token1 assignments"},"id":1375,"implemented":true,"kind":"function","modifiers":[],"name":"getPoolKey","nameLocation":"793:10:20","nodeType":"FunctionDefinition","parameters":{"id":1351,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1346,"mutability":"mutable","name":"tokenA","nameLocation":"821:6:20","nodeType":"VariableDeclaration","scope":1375,"src":"813:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1345,"name":"address","nodeType":"ElementaryTypeName","src":"813:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1348,"mutability":"mutable","name":"tokenB","nameLocation":"845:6:20","nodeType":"VariableDeclaration","scope":1375,"src":"837:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1347,"name":"address","nodeType":"ElementaryTypeName","src":"837:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1350,"mutability":"mutable","name":"fee","nameLocation":"868:3:20","nodeType":"VariableDeclaration","scope":1375,"src":"861:10:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1349,"name":"uint24","nodeType":"ElementaryTypeName","src":"861:6:20","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"803:74:20"},"returnParameters":{"id":1355,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1354,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1375,"src":"901:14:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$1343_memory_ptr","typeString":"struct PoolAddress.PoolKey"},"typeName":{"id":1353,"nodeType":"UserDefinedTypeName","pathNode":{"id":1352,"name":"PoolKey","nameLocations":["901:7:20"],"nodeType":"IdentifierPath","referencedDeclaration":1343,"src":"901:7:20"},"referencedDeclaration":1343,"src":"901:7:20","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$1343_storage_ptr","typeString":"struct PoolAddress.PoolKey"}},"visibility":"internal"}],"src":"900:16:20"},"scope":1427,"src":"784:274:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":1425,"nodeType":"Block","src":"1403:489:20","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1391,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":1387,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1381,"src":"1421:3:20","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$1343_memory_ptr","typeString":"struct PoolAddress.PoolKey memory"}},"id":1388,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1425:6:20","memberName":"token0","nodeType":"MemberAccess","referencedDeclaration":1338,"src":"1421:10:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":1389,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1381,"src":"1434:3:20","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$1343_memory_ptr","typeString":"struct PoolAddress.PoolKey memory"}},"id":1390,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1438:6:20","memberName":"token1","nodeType":"MemberAccess","referencedDeclaration":1340,"src":"1434:10:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1421:23:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":1386,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1413:7:20","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":1392,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1413:32:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1393,"nodeType":"ExpressionStatement","src":"1413:32:20"},{"expression":{"id":1423,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1394,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1384,"src":"1455:4:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"hexValue":"ff","id":1404,"isConstant":false,"isLValue":false,"isPure":true,"kind":"hexString","lValueRequested":false,"nodeType":"Literal","src":"1618:7:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_8b1a944cf13a9a1c08facb2c9e98623ef3254d2ddb48113885c3e8e97fec8db9","typeString":"literal_string hex\"ff\""}},{"id":1405,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1378,"src":"1655:7:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"arguments":[{"expression":{"id":1409,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1381,"src":"1713:3:20","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$1343_memory_ptr","typeString":"struct PoolAddress.PoolKey memory"}},"id":1410,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1717:6:20","memberName":"token0","nodeType":"MemberAccess","referencedDeclaration":1338,"src":"1713:10:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":1411,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1381,"src":"1725:3:20","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$1343_memory_ptr","typeString":"struct PoolAddress.PoolKey memory"}},"id":1412,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1729:6:20","memberName":"token1","nodeType":"MemberAccess","referencedDeclaration":1340,"src":"1725:10:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":1413,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1381,"src":"1737:3:20","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$1343_memory_ptr","typeString":"struct PoolAddress.PoolKey memory"}},"id":1414,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1741:3:20","memberName":"fee","nodeType":"MemberAccess","referencedDeclaration":1342,"src":"1737:7:20","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"id":1407,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1702:3:20","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":1408,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1706:6:20","memberName":"encode","nodeType":"MemberAccess","src":"1702:10:20","typeDescriptions":{"typeIdentifier":"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":1415,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1702:43:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":1406,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"1692:9:20","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":1416,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1692:54:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":1417,"name":"POOL_INIT_CODE_HASH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1335,"src":"1776:19:20","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_8b1a944cf13a9a1c08facb2c9e98623ef3254d2ddb48113885c3e8e97fec8db9","typeString":"literal_string hex\"ff\""},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":1402,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1572:3:20","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":1403,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1576:12:20","memberName":"encodePacked","nodeType":"MemberAccess","src":"1572:16:20","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":1418,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1572:249:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":1401,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"1537:9:20","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":1419,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1537:306:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":1400,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1508:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":1399,"name":"uint256","nodeType":"ElementaryTypeName","src":"1508:7:20","typeDescriptions":{}}},"id":1420,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1508:353:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1398,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1483:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":1397,"name":"uint160","nodeType":"ElementaryTypeName","src":"1483:7:20","typeDescriptions":{}}},"id":1421,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1483:392:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":1396,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1462:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1395,"name":"address","nodeType":"ElementaryTypeName","src":"1462:7:20","typeDescriptions":{}}},"id":1422,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1462:423:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1455:430:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1424,"nodeType":"ExpressionStatement","src":"1455:430:20"}]},"documentation":{"id":1376,"nodeType":"StructuredDocumentation","src":"1064:236:20","text":"@notice Deterministically computes the pool address given the factory and PoolKey\n @param factory The Uniswap V3 factory contract address\n @param key The PoolKey\n @return pool The contract address of the V3 pool"},"id":1426,"implemented":true,"kind":"function","modifiers":[],"name":"computeAddress","nameLocation":"1314:14:20","nodeType":"FunctionDefinition","parameters":{"id":1382,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1378,"mutability":"mutable","name":"factory","nameLocation":"1337:7:20","nodeType":"VariableDeclaration","scope":1426,"src":"1329:15:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1377,"name":"address","nodeType":"ElementaryTypeName","src":"1329:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1381,"mutability":"mutable","name":"key","nameLocation":"1361:3:20","nodeType":"VariableDeclaration","scope":1426,"src":"1346:18:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$1343_memory_ptr","typeString":"struct PoolAddress.PoolKey"},"typeName":{"id":1380,"nodeType":"UserDefinedTypeName","pathNode":{"id":1379,"name":"PoolKey","nameLocations":["1346:7:20"],"nodeType":"IdentifierPath","referencedDeclaration":1343,"src":"1346:7:20"},"referencedDeclaration":1343,"src":"1346:7:20","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$1343_storage_ptr","typeString":"struct PoolAddress.PoolKey"}},"visibility":"internal"}],"src":"1328:37:20"},"returnParameters":{"id":1385,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1384,"mutability":"mutable","name":"pool","nameLocation":"1397:4:20","nodeType":"VariableDeclaration","scope":1426,"src":"1389:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1383,"name":"address","nodeType":"ElementaryTypeName","src":"1389:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1388:14:20"},"scope":1427,"src":"1305:587:20","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":1428,"src":"167:1727:20","usedErrors":[],"usedEvents":[]}],"src":"45:1850:20"},"id":20},"@uniswap/v4-core/src/ERC6909.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/ERC6909.sol","exportedSymbols":{"ERC6909":[1720],"IERC6909Claims":[4192]},"id":1721,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1429,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:21"},{"absolutePath":"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol","file":"./interfaces/external/IERC6909Claims.sol","id":1431,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1721,"sourceUnit":4193,"src":"57:72:21","symbolAliases":[{"foreign":{"id":1430,"name":"IERC6909Claims","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4192,"src":"65:14:21","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":1433,"name":"IERC6909Claims","nameLocations":["492:14:21"],"nodeType":"IdentifierPath","referencedDeclaration":4192,"src":"492:14:21"},"id":1434,"nodeType":"InheritanceSpecifier","src":"492:14:21"}],"canonicalName":"ERC6909","contractDependencies":[],"contractKind":"contract","documentation":{"id":1432,"nodeType":"StructuredDocumentation","src":"131:332:21","text":"@notice Minimalist and gas efficient standard ERC6909 implementation.\n @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC6909.sol)\n @dev Copied from the commit at 4b47a19038b798b4a33d9749d25e570443520647\n @dev This contract has been modified from the implementation at the above link."},"fullyImplemented":true,"id":1720,"linearizedBaseContracts":[1720,4192],"name":"ERC6909","nameLocation":"481:7:21","nodeType":"ContractDefinition","nodes":[{"baseFunctions":[4143],"constant":false,"functionSelector":"b6363cf2","id":1440,"mutability":"mutable","name":"isOperator","nameLocation":"775:10:21","nodeType":"VariableDeclaration","scope":1720,"src":"697:88:21","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"},"typeName":{"id":1439,"keyName":"owner","keyNameLocation":"713:5:21","keyType":{"id":1435,"name":"address","nodeType":"ElementaryTypeName","src":"705:7:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"697:70:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":1438,"keyName":"operator","keyNameLocation":"738:8:21","keyType":{"id":1436,"name":"address","nodeType":"ElementaryTypeName","src":"730:7:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"722:44:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"},"valueName":"isOperator","valueNameLocation":"755:10:21","valueType":{"id":1437,"name":"bool","nodeType":"ElementaryTypeName","src":"750:4:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}}},"visibility":"public"},{"baseFunctions":[4121],"constant":false,"functionSelector":"00fdd58e","id":1446,"mutability":"mutable","name":"balanceOf","nameLocation":"864:9:21","nodeType":"VariableDeclaration","scope":1720,"src":"792:81:21","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"},"typeName":{"id":1445,"keyName":"owner","keyNameLocation":"808:5:21","keyType":{"id":1441,"name":"address","nodeType":"ElementaryTypeName","src":"800:7:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"792:64:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":1444,"keyName":"id","keyNameLocation":"833:2:21","keyType":{"id":1442,"name":"uint256","nodeType":"ElementaryTypeName","src":"825:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"817:38:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"},"valueName":"balance","valueNameLocation":"847:7:21","valueType":{"id":1443,"name":"uint256","nodeType":"ElementaryTypeName","src":"839:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}}},"visibility":"public"},{"baseFunctions":[4133],"constant":false,"functionSelector":"598af9e7","id":1454,"mutability":"mutable","name":"allowance","nameLocation":"979:9:21","nodeType":"VariableDeclaration","scope":1720,"src":"880:108:21","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$","typeString":"mapping(address => mapping(address => mapping(uint256 => uint256)))"},"typeName":{"id":1453,"keyName":"owner","keyNameLocation":"896:5:21","keyType":{"id":1447,"name":"address","nodeType":"ElementaryTypeName","src":"888:7:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"880:91:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$","typeString":"mapping(address => mapping(address => mapping(uint256 => uint256)))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":1452,"keyName":"spender","keyNameLocation":"921:7:21","keyType":{"id":1448,"name":"address","nodeType":"ElementaryTypeName","src":"913:7:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"905:65:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":1451,"keyName":"id","keyNameLocation":"948:2:21","keyType":{"id":1449,"name":"uint256","nodeType":"ElementaryTypeName","src":"940:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"932:37:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"},"valueName":"amount","valueNameLocation":"962:6:21","valueType":{"id":1450,"name":"uint256","nodeType":"ElementaryTypeName","src":"954:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}}}},"visibility":"public"},{"baseFunctions":[4155],"body":{"id":1494,"nodeType":"Block","src":"1272:188:21","statements":[{"expression":{"id":1472,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":1465,"name":"balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1446,"src":"1282:9:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1469,"indexExpression":{"expression":{"id":1466,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1292:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1467,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1296:6:21","memberName":"sender","nodeType":"MemberAccess","src":"1292:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1282:21:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1470,"indexExpression":{"id":1468,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1458,"src":"1304:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1282:25:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":1471,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1460,"src":"1311:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1282:35:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1473,"nodeType":"ExpressionStatement","src":"1282:35:21"},{"expression":{"id":1480,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":1474,"name":"balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1446,"src":"1328:9:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1477,"indexExpression":{"id":1475,"name":"receiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1456,"src":"1338:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1328:19:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1478,"indexExpression":{"id":1476,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1458,"src":"1348:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1328:23:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":1479,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1460,"src":"1355:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1328:33:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1481,"nodeType":"ExpressionStatement","src":"1328:33:21"},{"eventCall":{"arguments":[{"expression":{"id":1483,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1386:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1484,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1390:6:21","memberName":"sender","nodeType":"MemberAccess","src":"1386:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":1485,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1398:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1486,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1402:6:21","memberName":"sender","nodeType":"MemberAccess","src":"1398:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1487,"name":"receiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1456,"src":"1410:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1488,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1458,"src":"1420:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1489,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1460,"src":"1424:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1482,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4111,"src":"1377:8:21","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,address,address,uint256,uint256)"}},"id":1490,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1377:54:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1491,"nodeType":"EmitStatement","src":"1372:59:21"},{"expression":{"hexValue":"74727565","id":1492,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1449:4:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":1464,"id":1493,"nodeType":"Return","src":"1442:11:21"}]},"functionSelector":"095bcdb6","id":1495,"implemented":true,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"1187:8:21","nodeType":"FunctionDefinition","parameters":{"id":1461,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1456,"mutability":"mutable","name":"receiver","nameLocation":"1204:8:21","nodeType":"VariableDeclaration","scope":1495,"src":"1196:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1455,"name":"address","nodeType":"ElementaryTypeName","src":"1196:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1458,"mutability":"mutable","name":"id","nameLocation":"1222:2:21","nodeType":"VariableDeclaration","scope":1495,"src":"1214:10:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1457,"name":"uint256","nodeType":"ElementaryTypeName","src":"1214:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1460,"mutability":"mutable","name":"amount","nameLocation":"1234:6:21","nodeType":"VariableDeclaration","scope":1495,"src":"1226:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1459,"name":"uint256","nodeType":"ElementaryTypeName","src":"1226:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1195:46:21"},"returnParameters":{"id":1464,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1463,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1495,"src":"1266:4:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1462,"name":"bool","nodeType":"ElementaryTypeName","src":"1266:4:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1265:6:21"},"scope":1720,"src":"1178:282:21","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[4169],"body":{"id":1581,"nodeType":"Block","src":"1580:427:21","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1519,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1511,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":1508,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1594:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1509,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1598:6:21","memberName":"sender","nodeType":"MemberAccess","src":"1594:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1510,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1497,"src":"1608:6:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1594:20:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"id":1518,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"1618:31:21","subExpression":{"baseExpression":{"baseExpression":{"id":1512,"name":"isOperator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1440,"src":"1619:10:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":1514,"indexExpression":{"id":1513,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1497,"src":"1630:6:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1619:18:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":1517,"indexExpression":{"expression":{"id":1515,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1638:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1516,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1642:6:21","memberName":"sender","nodeType":"MemberAccess","src":"1638:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1619:30:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1594:55:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1553,"nodeType":"IfStatement","src":"1590:237:21","trueBody":{"id":1552,"nodeType":"Block","src":"1651:176:21","statements":[{"assignments":[1521],"declarations":[{"constant":false,"id":1521,"mutability":"mutable","name":"allowed","nameLocation":"1673:7:21","nodeType":"VariableDeclaration","scope":1552,"src":"1665:15:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1520,"name":"uint256","nodeType":"ElementaryTypeName","src":"1665:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1530,"initialValue":{"baseExpression":{"baseExpression":{"baseExpression":{"id":1522,"name":"allowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1454,"src":"1683:9:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$","typeString":"mapping(address => mapping(address => mapping(uint256 => uint256)))"}},"id":1524,"indexExpression":{"id":1523,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1497,"src":"1693:6:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1683:17:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1527,"indexExpression":{"expression":{"id":1525,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1701:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1526,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1705:6:21","memberName":"sender","nodeType":"MemberAccess","src":"1701:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1683:29:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1529,"indexExpression":{"id":1528,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1501,"src":"1713:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1683:33:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1665:51:21"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1537,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1531,"name":"allowed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1521,"src":"1734:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"arguments":[{"id":1534,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1750:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":1533,"name":"uint256","nodeType":"ElementaryTypeName","src":"1750:7:21","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"}],"id":1532,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"1745:4:21","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":1535,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1745:13:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint256","typeString":"type(uint256)"}},"id":1536,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1759:3:21","memberName":"max","nodeType":"MemberAccess","src":"1745:17:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1734:28:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1551,"nodeType":"IfStatement","src":"1730:86:21","trueBody":{"expression":{"id":1549,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"baseExpression":{"id":1538,"name":"allowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1454,"src":"1764:9:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$","typeString":"mapping(address => mapping(address => mapping(uint256 => uint256)))"}},"id":1543,"indexExpression":{"id":1539,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1497,"src":"1774:6:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1764:17:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1544,"indexExpression":{"expression":{"id":1540,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1782:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1541,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1786:6:21","memberName":"sender","nodeType":"MemberAccess","src":"1782:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1764:29:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1545,"indexExpression":{"id":1542,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1501,"src":"1794:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1764:33:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1548,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1546,"name":"allowed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1521,"src":"1800:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":1547,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1503,"src":"1810:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1800:16:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1764:52:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1550,"nodeType":"ExpressionStatement","src":"1764:52:21"}}]}},{"expression":{"id":1560,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":1554,"name":"balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1446,"src":"1837:9:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1557,"indexExpression":{"id":1555,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1497,"src":"1847:6:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1837:17:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1558,"indexExpression":{"id":1556,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1501,"src":"1855:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1837:21:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":1559,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1503,"src":"1862:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1837:31:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1561,"nodeType":"ExpressionStatement","src":"1837:31:21"},{"expression":{"id":1568,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":1562,"name":"balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1446,"src":"1879:9:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1565,"indexExpression":{"id":1563,"name":"receiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1499,"src":"1889:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1879:19:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1566,"indexExpression":{"id":1564,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1501,"src":"1899:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1879:23:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":1567,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1503,"src":"1906:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1879:33:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1569,"nodeType":"ExpressionStatement","src":"1879:33:21"},{"eventCall":{"arguments":[{"expression":{"id":1571,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1937:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1572,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1941:6:21","memberName":"sender","nodeType":"MemberAccess","src":"1937:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1573,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1497,"src":"1949:6:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1574,"name":"receiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1499,"src":"1957:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1575,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1501,"src":"1967:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1576,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1503,"src":"1971:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1570,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4111,"src":"1928:8:21","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,address,address,uint256,uint256)"}},"id":1577,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1928:50:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1578,"nodeType":"EmitStatement","src":"1923:55:21"},{"expression":{"hexValue":"74727565","id":1579,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1996:4:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":1507,"id":1580,"nodeType":"Return","src":"1989:11:21"}]},"functionSelector":"fe99049a","id":1582,"implemented":true,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"1475:12:21","nodeType":"FunctionDefinition","parameters":{"id":1504,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1497,"mutability":"mutable","name":"sender","nameLocation":"1496:6:21","nodeType":"VariableDeclaration","scope":1582,"src":"1488:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1496,"name":"address","nodeType":"ElementaryTypeName","src":"1488:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1499,"mutability":"mutable","name":"receiver","nameLocation":"1512:8:21","nodeType":"VariableDeclaration","scope":1582,"src":"1504:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1498,"name":"address","nodeType":"ElementaryTypeName","src":"1504:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1501,"mutability":"mutable","name":"id","nameLocation":"1530:2:21","nodeType":"VariableDeclaration","scope":1582,"src":"1522:10:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1500,"name":"uint256","nodeType":"ElementaryTypeName","src":"1522:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1503,"mutability":"mutable","name":"amount","nameLocation":"1542:6:21","nodeType":"VariableDeclaration","scope":1582,"src":"1534:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1502,"name":"uint256","nodeType":"ElementaryTypeName","src":"1534:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1487:62:21"},"returnParameters":{"id":1507,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1506,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1582,"src":"1574:4:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1505,"name":"bool","nodeType":"ElementaryTypeName","src":"1574:4:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1573:6:21"},"scope":1720,"src":"1466:541:21","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[4181],"body":{"id":1614,"nodeType":"Block","src":"2105:139:21","statements":[{"expression":{"id":1602,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"baseExpression":{"id":1593,"name":"allowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1454,"src":"2115:9:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$","typeString":"mapping(address => mapping(address => mapping(uint256 => uint256)))"}},"id":1598,"indexExpression":{"expression":{"id":1594,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2125:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1595,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2129:6:21","memberName":"sender","nodeType":"MemberAccess","src":"2125:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2115:21:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1599,"indexExpression":{"id":1596,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1584,"src":"2137:7:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2115:30:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1600,"indexExpression":{"id":1597,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1586,"src":"2146:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2115:34:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1601,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1588,"src":"2152:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2115:43:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1603,"nodeType":"ExpressionStatement","src":"2115:43:21"},{"eventCall":{"arguments":[{"expression":{"id":1605,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2183:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1606,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2187:6:21","memberName":"sender","nodeType":"MemberAccess","src":"2183:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1607,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1584,"src":"2195:7:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1608,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1586,"src":"2204:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1609,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1588,"src":"2208:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1604,"name":"Approval","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4099,"src":"2174:8:21","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256,uint256)"}},"id":1610,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2174:41:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1611,"nodeType":"EmitStatement","src":"2169:46:21"},{"expression":{"hexValue":"74727565","id":1612,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2233:4:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":1592,"id":1613,"nodeType":"Return","src":"2226:11:21"}]},"functionSelector":"426a8493","id":1615,"implemented":true,"kind":"function","modifiers":[],"name":"approve","nameLocation":"2022:7:21","nodeType":"FunctionDefinition","parameters":{"id":1589,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1584,"mutability":"mutable","name":"spender","nameLocation":"2038:7:21","nodeType":"VariableDeclaration","scope":1615,"src":"2030:15:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1583,"name":"address","nodeType":"ElementaryTypeName","src":"2030:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1586,"mutability":"mutable","name":"id","nameLocation":"2055:2:21","nodeType":"VariableDeclaration","scope":1615,"src":"2047:10:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1585,"name":"uint256","nodeType":"ElementaryTypeName","src":"2047:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1588,"mutability":"mutable","name":"amount","nameLocation":"2067:6:21","nodeType":"VariableDeclaration","scope":1615,"src":"2059:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1587,"name":"uint256","nodeType":"ElementaryTypeName","src":"2059:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2029:45:21"},"returnParameters":{"id":1592,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1591,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1615,"src":"2099:4:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1590,"name":"bool","nodeType":"ElementaryTypeName","src":"2099:4:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2098:6:21"},"scope":1720,"src":"2013:231:21","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[4191],"body":{"id":1642,"nodeType":"Block","src":"2334:141:21","statements":[{"expression":{"id":1631,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":1624,"name":"isOperator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1440,"src":"2344:10:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":1628,"indexExpression":{"expression":{"id":1625,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2355:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1626,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2359:6:21","memberName":"sender","nodeType":"MemberAccess","src":"2355:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2344:22:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":1629,"indexExpression":{"id":1627,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1617,"src":"2367:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2344:32:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1630,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1619,"src":"2379:8:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2344:43:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1632,"nodeType":"ExpressionStatement","src":"2344:43:21"},{"eventCall":{"arguments":[{"expression":{"id":1634,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2415:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1635,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2419:6:21","memberName":"sender","nodeType":"MemberAccess","src":"2415:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1636,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1617,"src":"2427:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1637,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1619,"src":"2437:8:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":1633,"name":"OperatorSet","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4089,"src":"2403:11:21","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$","typeString":"function (address,address,bool)"}},"id":1638,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2403:43:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1639,"nodeType":"EmitStatement","src":"2398:48:21"},{"expression":{"hexValue":"74727565","id":1640,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2464:4:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":1623,"id":1641,"nodeType":"Return","src":"2457:11:21"}]},"functionSelector":"558a7297","id":1643,"implemented":true,"kind":"function","modifiers":[],"name":"setOperator","nameLocation":"2259:11:21","nodeType":"FunctionDefinition","parameters":{"id":1620,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1617,"mutability":"mutable","name":"operator","nameLocation":"2279:8:21","nodeType":"VariableDeclaration","scope":1643,"src":"2271:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1616,"name":"address","nodeType":"ElementaryTypeName","src":"2271:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1619,"mutability":"mutable","name":"approved","nameLocation":"2294:8:21","nodeType":"VariableDeclaration","scope":1643,"src":"2289:13:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1618,"name":"bool","nodeType":"ElementaryTypeName","src":"2289:4:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2270:33:21"},"returnParameters":{"id":1623,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1622,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1643,"src":"2328:4:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1621,"name":"bool","nodeType":"ElementaryTypeName","src":"2328:4:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2327:6:21"},"scope":1720,"src":"2250:225:21","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":1658,"nodeType":"Block","src":"2745:159:21","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1656,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":1652,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1650,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1645,"src":"2762:11:21","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30783031666663396137","id":1651,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2777:10:21","typeDescriptions":{"typeIdentifier":"t_rational_33540519_by_1","typeString":"int_const 33540519"},"value":"0x01ffc9a7"},"src":"2762:25:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":1655,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1653,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1645,"src":"2837:11:21","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30783066363332666233","id":1654,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2852:10:21","typeDescriptions":{"typeIdentifier":"t_rational_258158515_by_1","typeString":"int_const 258158515"},"value":"0x0f632fb3"},"src":"2837:25:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2762:100:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":1649,"id":1657,"nodeType":"Return","src":"2755:107:21"}]},"functionSelector":"01ffc9a7","id":1659,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"2672:17:21","nodeType":"FunctionDefinition","parameters":{"id":1646,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1645,"mutability":"mutable","name":"interfaceId","nameLocation":"2697:11:21","nodeType":"VariableDeclaration","scope":1659,"src":"2690:18:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1644,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2690:6:21","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"2689:20:21"},"returnParameters":{"id":1649,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1648,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1659,"src":"2739:4:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1647,"name":"bool","nodeType":"ElementaryTypeName","src":"2739:4:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2738:6:21"},"scope":1720,"src":"2663:241:21","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":1688,"nodeType":"Block","src":"3176:120:21","statements":[{"expression":{"id":1674,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":1668,"name":"balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1446,"src":"3186:9:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1671,"indexExpression":{"id":1669,"name":"receiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1661,"src":"3196:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3186:19:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1672,"indexExpression":{"id":1670,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1663,"src":"3206:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3186:23:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":1673,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1665,"src":"3213:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3186:33:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1675,"nodeType":"ExpressionStatement","src":"3186:33:21"},{"eventCall":{"arguments":[{"expression":{"id":1677,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3244:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1678,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3248:6:21","memberName":"sender","nodeType":"MemberAccess","src":"3244:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":1681,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3264:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":1680,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3256:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1679,"name":"address","nodeType":"ElementaryTypeName","src":"3256:7:21","typeDescriptions":{}}},"id":1682,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3256:10:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1683,"name":"receiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1661,"src":"3268:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1684,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1663,"src":"3278:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1685,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1665,"src":"3282:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1676,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4111,"src":"3235:8:21","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,address,address,uint256,uint256)"}},"id":1686,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3235:54:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1687,"nodeType":"EmitStatement","src":"3230:59:21"}]},"id":1689,"implemented":true,"kind":"function","modifiers":[],"name":"_mint","nameLocation":"3107:5:21","nodeType":"FunctionDefinition","parameters":{"id":1666,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1661,"mutability":"mutable","name":"receiver","nameLocation":"3121:8:21","nodeType":"VariableDeclaration","scope":1689,"src":"3113:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1660,"name":"address","nodeType":"ElementaryTypeName","src":"3113:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1663,"mutability":"mutable","name":"id","nameLocation":"3139:2:21","nodeType":"VariableDeclaration","scope":1689,"src":"3131:10:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1662,"name":"uint256","nodeType":"ElementaryTypeName","src":"3131:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1665,"mutability":"mutable","name":"amount","nameLocation":"3151:6:21","nodeType":"VariableDeclaration","scope":1689,"src":"3143:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1664,"name":"uint256","nodeType":"ElementaryTypeName","src":"3143:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3112:46:21"},"returnParameters":{"id":1667,"nodeType":"ParameterList","parameters":[],"src":"3176:0:21"},"scope":1720,"src":"3098:198:21","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1718,"nodeType":"Block","src":"3378:116:21","statements":[{"expression":{"id":1704,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":1698,"name":"balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1446,"src":"3388:9:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1701,"indexExpression":{"id":1699,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1691,"src":"3398:6:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3388:17:21","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1702,"indexExpression":{"id":1700,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1693,"src":"3406:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3388:21:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":1703,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1695,"src":"3413:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3388:31:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1705,"nodeType":"ExpressionStatement","src":"3388:31:21"},{"eventCall":{"arguments":[{"expression":{"id":1707,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3444:3:21","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1708,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3448:6:21","memberName":"sender","nodeType":"MemberAccess","src":"3444:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1709,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1691,"src":"3456:6:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":1712,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3472:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":1711,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3464:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1710,"name":"address","nodeType":"ElementaryTypeName","src":"3464:7:21","typeDescriptions":{}}},"id":1713,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3464:10:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1714,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1693,"src":"3476:2:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1715,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1695,"src":"3480:6:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1706,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4111,"src":"3435:8:21","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,address,address,uint256,uint256)"}},"id":1716,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3435:52:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1717,"nodeType":"EmitStatement","src":"3430:57:21"}]},"id":1719,"implemented":true,"kind":"function","modifiers":[],"name":"_burn","nameLocation":"3311:5:21","nodeType":"FunctionDefinition","parameters":{"id":1696,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1691,"mutability":"mutable","name":"sender","nameLocation":"3325:6:21","nodeType":"VariableDeclaration","scope":1719,"src":"3317:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1690,"name":"address","nodeType":"ElementaryTypeName","src":"3317:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1693,"mutability":"mutable","name":"id","nameLocation":"3341:2:21","nodeType":"VariableDeclaration","scope":1719,"src":"3333:10:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1692,"name":"uint256","nodeType":"ElementaryTypeName","src":"3333:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1695,"mutability":"mutable","name":"amount","nameLocation":"3353:6:21","nodeType":"VariableDeclaration","scope":1719,"src":"3345:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1694,"name":"uint256","nodeType":"ElementaryTypeName","src":"3345:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3316:44:21"},"returnParameters":{"id":1697,"nodeType":"ParameterList","parameters":[],"src":"3378:0:21"},"scope":1720,"src":"3302:192:21","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":1721,"src":"463:3033:21","usedErrors":[],"usedEvents":[4089,4099,4111]}],"src":"32:3465:21"},"id":21},"@uniswap/v4-core/src/ERC6909Claims.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/ERC6909Claims.sol","exportedSymbols":{"ERC6909":[1720],"ERC6909Claims":[1793]},"id":1794,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1722,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:22"},{"absolutePath":"@uniswap/v4-core/src/ERC6909.sol","file":"./ERC6909.sol","id":1724,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1794,"sourceUnit":1721,"src":"57:38:22","symbolAliases":[{"foreign":{"id":1723,"name":"ERC6909","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1720,"src":"65:7:22","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":1726,"name":"ERC6909","nameLocations":["220:7:22"],"nodeType":"IdentifierPath","referencedDeclaration":1720,"src":"220:7:22"},"id":1727,"nodeType":"InheritanceSpecifier","src":"220:7:22"}],"canonicalName":"ERC6909Claims","contractDependencies":[],"contractKind":"contract","documentation":{"id":1725,"nodeType":"StructuredDocumentation","src":"97:88:22","text":"@notice ERC6909Claims inherits ERC6909 and implements an internal burnFrom function"},"fullyImplemented":true,"id":1793,"linearizedBaseContracts":[1793,1720,4192],"name":"ERC6909Claims","nameLocation":"203:13:22","nodeType":"ContractDefinition","nodes":[{"body":{"id":1791,"nodeType":"Block","src":"600:355:22","statements":[{"assignments":[1738],"declarations":[{"constant":false,"id":1738,"mutability":"mutable","name":"sender","nameLocation":"618:6:22","nodeType":"VariableDeclaration","scope":1791,"src":"610:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1737,"name":"address","nodeType":"ElementaryTypeName","src":"610:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":1741,"initialValue":{"expression":{"id":1739,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"627:3:22","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":1740,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"631:6:22","memberName":"sender","nodeType":"MemberAccess","src":"627:10:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"610:27:22"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1751,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1744,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1742,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1730,"src":"651:4:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1743,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1738,"src":"659:6:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"651:14:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"id":1750,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"669:25:22","subExpression":{"baseExpression":{"baseExpression":{"id":1745,"name":"isOperator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1440,"src":"670:10:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":1747,"indexExpression":{"id":1746,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1730,"src":"681:4:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"670:16:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":1749,"indexExpression":{"id":1748,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1738,"src":"687:6:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"670:24:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"651:43:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1784,"nodeType":"IfStatement","src":"647:269:22","trueBody":{"id":1783,"nodeType":"Block","src":"696:220:22","statements":[{"assignments":[1753],"declarations":[{"constant":false,"id":1753,"mutability":"mutable","name":"senderAllowance","nameLocation":"718:15:22","nodeType":"VariableDeclaration","scope":1783,"src":"710:23:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1752,"name":"uint256","nodeType":"ElementaryTypeName","src":"710:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1761,"initialValue":{"baseExpression":{"baseExpression":{"baseExpression":{"id":1754,"name":"allowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1454,"src":"736:9:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$","typeString":"mapping(address => mapping(address => mapping(uint256 => uint256)))"}},"id":1756,"indexExpression":{"id":1755,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1730,"src":"746:4:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"736:15:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1758,"indexExpression":{"id":1757,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1738,"src":"752:6:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"736:23:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1760,"indexExpression":{"id":1759,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1732,"src":"760:2:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"736:27:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"710:53:22"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1768,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1762,"name":"senderAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1753,"src":"781:15:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"arguments":[{"id":1765,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"805:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":1764,"name":"uint256","nodeType":"ElementaryTypeName","src":"805:7:22","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"}],"id":1763,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"800:4:22","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":1766,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"800:13:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint256","typeString":"type(uint256)"}},"id":1767,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"814:3:22","memberName":"max","nodeType":"MemberAccess","src":"800:17:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"781:36:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1782,"nodeType":"IfStatement","src":"777:129:22","trueBody":{"id":1781,"nodeType":"Block","src":"819:87:22","statements":[{"expression":{"id":1779,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"baseExpression":{"id":1769,"name":"allowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1454,"src":"837:9:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$_$","typeString":"mapping(address => mapping(address => mapping(uint256 => uint256)))"}},"id":1773,"indexExpression":{"id":1770,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1730,"src":"847:4:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"837:15:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":1774,"indexExpression":{"id":1771,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1738,"src":"853:6:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"837:23:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":1775,"indexExpression":{"id":1772,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1732,"src":"861:2:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"837:27:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1778,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1776,"name":"senderAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1753,"src":"867:15:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":1777,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1734,"src":"885:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"867:24:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"837:54:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1780,"nodeType":"ExpressionStatement","src":"837:54:22"}]}}]}},{"expression":{"arguments":[{"id":1786,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1730,"src":"931:4:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1787,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1732,"src":"937:2:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1788,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1734,"src":"941:6:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1785,"name":"_burn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1719,"src":"925:5:22","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,uint256,uint256)"}},"id":1789,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"925:23:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1790,"nodeType":"ExpressionStatement","src":"925:23:22"}]},"documentation":{"id":1728,"nodeType":"StructuredDocumentation","src":"234:291:22","text":"@notice Burn `amount` tokens of token type `id` from `from`.\n @dev if sender is not `from` they must be an operator or have sufficient allowance.\n @param from The address to burn tokens from.\n @param id The currency to burn.\n @param amount The amount to burn."},"id":1792,"implemented":true,"kind":"function","modifiers":[],"name":"_burnFrom","nameLocation":"539:9:22","nodeType":"FunctionDefinition","parameters":{"id":1735,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1730,"mutability":"mutable","name":"from","nameLocation":"557:4:22","nodeType":"VariableDeclaration","scope":1792,"src":"549:12:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1729,"name":"address","nodeType":"ElementaryTypeName","src":"549:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1732,"mutability":"mutable","name":"id","nameLocation":"571:2:22","nodeType":"VariableDeclaration","scope":1792,"src":"563:10:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1731,"name":"uint256","nodeType":"ElementaryTypeName","src":"563:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1734,"mutability":"mutable","name":"amount","nameLocation":"583:6:22","nodeType":"VariableDeclaration","scope":1792,"src":"575:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1733,"name":"uint256","nodeType":"ElementaryTypeName","src":"575:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"548:42:22"},"returnParameters":{"id":1736,"nodeType":"ParameterList","parameters":[],"src":"600:0:22"},"scope":1793,"src":"530:425:22","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":1794,"src":"185:772:22","usedErrors":[],"usedEvents":[4089,4099,4111]}],"src":"32:926:22"},"id":22},"@uniswap/v4-core/src/Extsload.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/Extsload.sol","exportedSymbols":{"Extsload":[1836],"IExtsload":[3398]},"id":1837,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1795,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:23"},{"absolutePath":"@uniswap/v4-core/src/interfaces/IExtsload.sol","file":"./interfaces/IExtsload.sol","id":1797,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1837,"sourceUnit":3399,"src":"57:53:23","symbolAliases":[{"foreign":{"id":1796,"name":"IExtsload","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3398,"src":"65:9:23","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":1799,"name":"IExtsload","nameLocations":["291:9:23"],"nodeType":"IdentifierPath","referencedDeclaration":3398,"src":"291:9:23"},"id":1800,"nodeType":"InheritanceSpecifier","src":"291:9:23"}],"canonicalName":"Extsload","contractDependencies":[],"contractKind":"contract","documentation":{"id":1798,"nodeType":"StructuredDocumentation","src":"112:149:23","text":"@notice Enables public storage access for efficient state retrieval by external contracts.\n https://eips.ethereum.org/EIPS/eip-2330#rationale"},"fullyImplemented":true,"id":1836,"linearizedBaseContracts":[1836,3398],"name":"Extsload","nameLocation":"279:8:23","nodeType":"ContractDefinition","nodes":[{"baseFunctions":[3376],"body":{"id":1809,"nodeType":"Block","src":"401:115:23","statements":[{"AST":{"nativeSrc":"436:74:23","nodeType":"YulBlock","src":"436:74:23","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"457:1:23","nodeType":"YulLiteral","src":"457:1:23","type":"","value":"0"},{"arguments":[{"name":"slot","nativeSrc":"466:4:23","nodeType":"YulIdentifier","src":"466:4:23"}],"functionName":{"name":"sload","nativeSrc":"460:5:23","nodeType":"YulIdentifier","src":"460:5:23"},"nativeSrc":"460:11:23","nodeType":"YulFunctionCall","src":"460:11:23"}],"functionName":{"name":"mstore","nativeSrc":"450:6:23","nodeType":"YulIdentifier","src":"450:6:23"},"nativeSrc":"450:22:23","nodeType":"YulFunctionCall","src":"450:22:23"},"nativeSrc":"450:22:23","nodeType":"YulExpressionStatement","src":"450:22:23"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"492:1:23","nodeType":"YulLiteral","src":"492:1:23","type":"","value":"0"},{"kind":"number","nativeSrc":"495:4:23","nodeType":"YulLiteral","src":"495:4:23","type":"","value":"0x20"}],"functionName":{"name":"return","nativeSrc":"485:6:23","nodeType":"YulIdentifier","src":"485:6:23"},"nativeSrc":"485:15:23","nodeType":"YulFunctionCall","src":"485:15:23"},"nativeSrc":"485:15:23","nodeType":"YulExpressionStatement","src":"485:15:23"}]},"evmVersion":"cancun","externalReferences":[{"declaration":1803,"isOffset":false,"isSlot":false,"src":"466:4:23","valueSize":1}],"flags":["memory-safe"],"id":1808,"nodeType":"InlineAssembly","src":"411:99:23"}]},"documentation":{"id":1801,"nodeType":"StructuredDocumentation","src":"307:25:23","text":"@inheritdoc IExtsload"},"functionSelector":"1e2eaeaf","id":1810,"implemented":true,"kind":"function","modifiers":[],"name":"extsload","nameLocation":"346:8:23","nodeType":"FunctionDefinition","parameters":{"id":1804,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1803,"mutability":"mutable","name":"slot","nameLocation":"363:4:23","nodeType":"VariableDeclaration","scope":1810,"src":"355:12:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1802,"name":"bytes32","nodeType":"ElementaryTypeName","src":"355:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"354:14:23"},"returnParameters":{"id":1807,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1806,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1810,"src":"392:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1805,"name":"bytes32","nodeType":"ElementaryTypeName","src":"392:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"391:9:23"},"scope":1836,"src":"337:179:23","stateMutability":"view","virtual":false,"visibility":"external"},{"baseFunctions":[3387],"body":{"id":1822,"nodeType":"Block","src":"646:887:23","statements":[{"AST":{"nativeSrc":"681:846:23","nodeType":"YulBlock","src":"681:846:23","statements":[{"nativeSrc":"695:25:23","nodeType":"YulVariableDeclaration","src":"695:25:23","value":{"arguments":[{"kind":"number","nativeSrc":"715:4:23","nodeType":"YulLiteral","src":"715:4:23","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"709:5:23","nodeType":"YulIdentifier","src":"709:5:23"},"nativeSrc":"709:11:23","nodeType":"YulFunctionCall","src":"709:11:23"},"variables":[{"name":"memptr","nativeSrc":"699:6:23","nodeType":"YulTypedName","src":"699:6:23","type":""}]},{"nativeSrc":"733:19:23","nodeType":"YulVariableDeclaration","src":"733:19:23","value":{"name":"memptr","nativeSrc":"746:6:23","nodeType":"YulIdentifier","src":"746:6:23"},"variables":[{"name":"start","nativeSrc":"737:5:23","nodeType":"YulTypedName","src":"737:5:23","type":""}]},{"nativeSrc":"857:28:23","nodeType":"YulVariableDeclaration","src":"857:28:23","value":{"arguments":[{"kind":"number","nativeSrc":"875:1:23","nodeType":"YulLiteral","src":"875:1:23","type":"","value":"5"},{"name":"nSlots","nativeSrc":"878:6:23","nodeType":"YulIdentifier","src":"878:6:23"}],"functionName":{"name":"shl","nativeSrc":"871:3:23","nodeType":"YulIdentifier","src":"871:3:23"},"nativeSrc":"871:14:23","nodeType":"YulFunctionCall","src":"871:14:23"},"variables":[{"name":"length","nativeSrc":"861:6:23","nodeType":"YulTypedName","src":"861:6:23","type":""}]},{"expression":{"arguments":[{"name":"memptr","nativeSrc":"977:6:23","nodeType":"YulIdentifier","src":"977:6:23"},{"kind":"number","nativeSrc":"985:4:23","nodeType":"YulLiteral","src":"985:4:23","type":"","value":"0x20"}],"functionName":{"name":"mstore","nativeSrc":"970:6:23","nodeType":"YulIdentifier","src":"970:6:23"},"nativeSrc":"970:20:23","nodeType":"YulFunctionCall","src":"970:20:23"},"nativeSrc":"970:20:23","nodeType":"YulExpressionStatement","src":"970:20:23"},{"expression":{"arguments":[{"arguments":[{"name":"memptr","nativeSrc":"1068:6:23","nodeType":"YulIdentifier","src":"1068:6:23"},{"kind":"number","nativeSrc":"1076:4:23","nodeType":"YulLiteral","src":"1076:4:23","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"1064:3:23","nodeType":"YulIdentifier","src":"1064:3:23"},"nativeSrc":"1064:17:23","nodeType":"YulFunctionCall","src":"1064:17:23"},{"name":"nSlots","nativeSrc":"1083:6:23","nodeType":"YulIdentifier","src":"1083:6:23"}],"functionName":{"name":"mstore","nativeSrc":"1057:6:23","nodeType":"YulIdentifier","src":"1057:6:23"},"nativeSrc":"1057:33:23","nodeType":"YulFunctionCall","src":"1057:33:23"},"nativeSrc":"1057:33:23","nodeType":"YulExpressionStatement","src":"1057:33:23"},{"nativeSrc":"1171:27:23","nodeType":"YulAssignment","src":"1171:27:23","value":{"arguments":[{"name":"memptr","nativeSrc":"1185:6:23","nodeType":"YulIdentifier","src":"1185:6:23"},{"kind":"number","nativeSrc":"1193:4:23","nodeType":"YulLiteral","src":"1193:4:23","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"1181:3:23","nodeType":"YulIdentifier","src":"1181:3:23"},"nativeSrc":"1181:17:23","nodeType":"YulFunctionCall","src":"1181:17:23"},"variableNames":[{"name":"memptr","nativeSrc":"1171:6:23","nodeType":"YulIdentifier","src":"1171:6:23"}]},{"nativeSrc":"1211:30:23","nodeType":"YulVariableDeclaration","src":"1211:30:23","value":{"arguments":[{"name":"memptr","nativeSrc":"1226:6:23","nodeType":"YulIdentifier","src":"1226:6:23"},{"name":"length","nativeSrc":"1234:6:23","nodeType":"YulIdentifier","src":"1234:6:23"}],"functionName":{"name":"add","nativeSrc":"1222:3:23","nodeType":"YulIdentifier","src":"1222:3:23"},"nativeSrc":"1222:19:23","nodeType":"YulFunctionCall","src":"1222:19:23"},"variables":[{"name":"end","nativeSrc":"1215:3:23","nodeType":"YulTypedName","src":"1215:3:23","type":""}]},{"body":{"nativeSrc":"1266:208:23","nodeType":"YulBlock","src":"1266:208:23","statements":[{"expression":{"arguments":[{"name":"memptr","nativeSrc":"1291:6:23","nodeType":"YulIdentifier","src":"1291:6:23"},{"arguments":[{"name":"startSlot","nativeSrc":"1305:9:23","nodeType":"YulIdentifier","src":"1305:9:23"}],"functionName":{"name":"sload","nativeSrc":"1299:5:23","nodeType":"YulIdentifier","src":"1299:5:23"},"nativeSrc":"1299:16:23","nodeType":"YulFunctionCall","src":"1299:16:23"}],"functionName":{"name":"mstore","nativeSrc":"1284:6:23","nodeType":"YulIdentifier","src":"1284:6:23"},"nativeSrc":"1284:32:23","nodeType":"YulFunctionCall","src":"1284:32:23"},"nativeSrc":"1284:32:23","nodeType":"YulExpressionStatement","src":"1284:32:23"},{"nativeSrc":"1333:27:23","nodeType":"YulAssignment","src":"1333:27:23","value":{"arguments":[{"name":"memptr","nativeSrc":"1347:6:23","nodeType":"YulIdentifier","src":"1347:6:23"},{"kind":"number","nativeSrc":"1355:4:23","nodeType":"YulLiteral","src":"1355:4:23","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"1343:3:23","nodeType":"YulIdentifier","src":"1343:3:23"},"nativeSrc":"1343:17:23","nodeType":"YulFunctionCall","src":"1343:17:23"},"variableNames":[{"name":"memptr","nativeSrc":"1333:6:23","nodeType":"YulIdentifier","src":"1333:6:23"}]},{"nativeSrc":"1377:30:23","nodeType":"YulAssignment","src":"1377:30:23","value":{"arguments":[{"name":"startSlot","nativeSrc":"1394:9:23","nodeType":"YulIdentifier","src":"1394:9:23"},{"kind":"number","nativeSrc":"1405:1:23","nodeType":"YulLiteral","src":"1405:1:23","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"1390:3:23","nodeType":"YulIdentifier","src":"1390:3:23"},"nativeSrc":"1390:17:23","nodeType":"YulFunctionCall","src":"1390:17:23"},"variableNames":[{"name":"startSlot","nativeSrc":"1377:9:23","nodeType":"YulIdentifier","src":"1377:9:23"}]},{"body":{"nativeSrc":"1451:9:23","nodeType":"YulBlock","src":"1451:9:23","statements":[{"nativeSrc":"1453:5:23","nodeType":"YulBreak","src":"1453:5:23"}]},"condition":{"arguments":[{"arguments":[{"name":"memptr","nativeSrc":"1437:6:23","nodeType":"YulIdentifier","src":"1437:6:23"},{"name":"end","nativeSrc":"1445:3:23","nodeType":"YulIdentifier","src":"1445:3:23"}],"functionName":{"name":"lt","nativeSrc":"1434:2:23","nodeType":"YulIdentifier","src":"1434:2:23"},"nativeSrc":"1434:15:23","nodeType":"YulFunctionCall","src":"1434:15:23"}],"functionName":{"name":"iszero","nativeSrc":"1427:6:23","nodeType":"YulIdentifier","src":"1427:6:23"},"nativeSrc":"1427:23:23","nodeType":"YulFunctionCall","src":"1427:23:23"},"nativeSrc":"1424:36:23","nodeType":"YulIf","src":"1424:36:23"}]},"condition":{"kind":"number","nativeSrc":"1261:1:23","nodeType":"YulLiteral","src":"1261:1:23","type":"","value":"1"},"nativeSrc":"1254:220:23","nodeType":"YulForLoop","post":{"nativeSrc":"1263:2:23","nodeType":"YulBlock","src":"1263:2:23","statements":[]},"pre":{"nativeSrc":"1258:2:23","nodeType":"YulBlock","src":"1258:2:23","statements":[]},"src":"1254:220:23"},{"expression":{"arguments":[{"name":"start","nativeSrc":"1494:5:23","nodeType":"YulIdentifier","src":"1494:5:23"},{"arguments":[{"name":"end","nativeSrc":"1505:3:23","nodeType":"YulIdentifier","src":"1505:3:23"},{"name":"start","nativeSrc":"1510:5:23","nodeType":"YulIdentifier","src":"1510:5:23"}],"functionName":{"name":"sub","nativeSrc":"1501:3:23","nodeType":"YulIdentifier","src":"1501:3:23"},"nativeSrc":"1501:15:23","nodeType":"YulFunctionCall","src":"1501:15:23"}],"functionName":{"name":"return","nativeSrc":"1487:6:23","nodeType":"YulIdentifier","src":"1487:6:23"},"nativeSrc":"1487:30:23","nodeType":"YulFunctionCall","src":"1487:30:23"},"nativeSrc":"1487:30:23","nodeType":"YulExpressionStatement","src":"1487:30:23"}]},"evmVersion":"cancun","externalReferences":[{"declaration":1815,"isOffset":false,"isSlot":false,"src":"1083:6:23","valueSize":1},{"declaration":1815,"isOffset":false,"isSlot":false,"src":"878:6:23","valueSize":1},{"declaration":1813,"isOffset":false,"isSlot":false,"src":"1305:9:23","valueSize":1},{"declaration":1813,"isOffset":false,"isSlot":false,"src":"1377:9:23","valueSize":1},{"declaration":1813,"isOffset":false,"isSlot":false,"src":"1394:9:23","valueSize":1}],"flags":["memory-safe"],"id":1821,"nodeType":"InlineAssembly","src":"656:871:23"}]},"documentation":{"id":1811,"nodeType":"StructuredDocumentation","src":"522:25:23","text":"@inheritdoc IExtsload"},"functionSelector":"35fd631a","id":1823,"implemented":true,"kind":"function","modifiers":[],"name":"extsload","nameLocation":"561:8:23","nodeType":"FunctionDefinition","parameters":{"id":1816,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1813,"mutability":"mutable","name":"startSlot","nameLocation":"578:9:23","nodeType":"VariableDeclaration","scope":1823,"src":"570:17:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1812,"name":"bytes32","nodeType":"ElementaryTypeName","src":"570:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":1815,"mutability":"mutable","name":"nSlots","nameLocation":"597:6:23","nodeType":"VariableDeclaration","scope":1823,"src":"589:14:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1814,"name":"uint256","nodeType":"ElementaryTypeName","src":"589:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"569:35:23"},"returnParameters":{"id":1820,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1819,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1823,"src":"628:16:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":1817,"name":"bytes32","nodeType":"ElementaryTypeName","src":"628:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":1818,"nodeType":"ArrayTypeName","src":"628:9:23","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"627:18:23"},"scope":1836,"src":"552:981:23","stateMutability":"view","virtual":false,"visibility":"external"},{"baseFunctions":[3397],"body":{"id":1834,"nodeType":"Block","src":"1654:952:23","statements":[{"AST":{"nativeSrc":"1689:911:23","nodeType":"YulBlock","src":"1689:911:23","statements":[{"nativeSrc":"1703:25:23","nodeType":"YulVariableDeclaration","src":"1703:25:23","value":{"arguments":[{"kind":"number","nativeSrc":"1723:4:23","nodeType":"YulLiteral","src":"1723:4:23","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"1717:5:23","nodeType":"YulIdentifier","src":"1717:5:23"},"nativeSrc":"1717:11:23","nodeType":"YulFunctionCall","src":"1717:11:23"},"variables":[{"name":"memptr","nativeSrc":"1707:6:23","nodeType":"YulTypedName","src":"1707:6:23","type":""}]},{"nativeSrc":"1741:19:23","nodeType":"YulVariableDeclaration","src":"1741:19:23","value":{"name":"memptr","nativeSrc":"1754:6:23","nodeType":"YulIdentifier","src":"1754:6:23"},"variables":[{"name":"start","nativeSrc":"1745:5:23","nodeType":"YulTypedName","src":"1745:5:23","type":""}]},{"expression":{"arguments":[{"name":"memptr","nativeSrc":"1859:6:23","nodeType":"YulIdentifier","src":"1859:6:23"},{"kind":"number","nativeSrc":"1867:4:23","nodeType":"YulLiteral","src":"1867:4:23","type":"","value":"0x20"}],"functionName":{"name":"mstore","nativeSrc":"1852:6:23","nodeType":"YulIdentifier","src":"1852:6:23"},"nativeSrc":"1852:20:23","nodeType":"YulFunctionCall","src":"1852:20:23"},"nativeSrc":"1852:20:23","nodeType":"YulExpressionStatement","src":"1852:20:23"},{"expression":{"arguments":[{"arguments":[{"name":"memptr","nativeSrc":"1956:6:23","nodeType":"YulIdentifier","src":"1956:6:23"},{"kind":"number","nativeSrc":"1964:4:23","nodeType":"YulLiteral","src":"1964:4:23","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"1952:3:23","nodeType":"YulIdentifier","src":"1952:3:23"},"nativeSrc":"1952:17:23","nodeType":"YulFunctionCall","src":"1952:17:23"},{"name":"slots.length","nativeSrc":"1971:12:23","nodeType":"YulIdentifier","src":"1971:12:23"}],"functionName":{"name":"mstore","nativeSrc":"1945:6:23","nodeType":"YulIdentifier","src":"1945:6:23"},"nativeSrc":"1945:39:23","nodeType":"YulFunctionCall","src":"1945:39:23"},"nativeSrc":"1945:39:23","nodeType":"YulExpressionStatement","src":"1945:39:23"},{"nativeSrc":"2071:27:23","nodeType":"YulAssignment","src":"2071:27:23","value":{"arguments":[{"name":"memptr","nativeSrc":"2085:6:23","nodeType":"YulIdentifier","src":"2085:6:23"},{"kind":"number","nativeSrc":"2093:4:23","nodeType":"YulLiteral","src":"2093:4:23","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"2081:3:23","nodeType":"YulIdentifier","src":"2081:3:23"},"nativeSrc":"2081:17:23","nodeType":"YulFunctionCall","src":"2081:17:23"},"variableNames":[{"name":"memptr","nativeSrc":"2071:6:23","nodeType":"YulIdentifier","src":"2071:6:23"}]},{"nativeSrc":"2203:44:23","nodeType":"YulVariableDeclaration","src":"2203:44:23","value":{"arguments":[{"name":"memptr","nativeSrc":"2218:6:23","nodeType":"YulIdentifier","src":"2218:6:23"},{"arguments":[{"kind":"number","nativeSrc":"2230:1:23","nodeType":"YulLiteral","src":"2230:1:23","type":"","value":"5"},{"name":"slots.length","nativeSrc":"2233:12:23","nodeType":"YulIdentifier","src":"2233:12:23"}],"functionName":{"name":"shl","nativeSrc":"2226:3:23","nodeType":"YulIdentifier","src":"2226:3:23"},"nativeSrc":"2226:20:23","nodeType":"YulFunctionCall","src":"2226:20:23"}],"functionName":{"name":"add","nativeSrc":"2214:3:23","nodeType":"YulIdentifier","src":"2214:3:23"},"nativeSrc":"2214:33:23","nodeType":"YulFunctionCall","src":"2214:33:23"},"variables":[{"name":"end","nativeSrc":"2207:3:23","nodeType":"YulTypedName","src":"2207:3:23","type":""}]},{"nativeSrc":"2260:31:23","nodeType":"YulVariableDeclaration","src":"2260:31:23","value":{"name":"slots.offset","nativeSrc":"2279:12:23","nodeType":"YulIdentifier","src":"2279:12:23"},"variables":[{"name":"calldataptr","nativeSrc":"2264:11:23","nodeType":"YulTypedName","src":"2264:11:23","type":""}]},{"body":{"nativeSrc":"2316:231:23","nodeType":"YulBlock","src":"2316:231:23","statements":[{"expression":{"arguments":[{"name":"memptr","nativeSrc":"2341:6:23","nodeType":"YulIdentifier","src":"2341:6:23"},{"arguments":[{"arguments":[{"name":"calldataptr","nativeSrc":"2368:11:23","nodeType":"YulIdentifier","src":"2368:11:23"}],"functionName":{"name":"calldataload","nativeSrc":"2355:12:23","nodeType":"YulIdentifier","src":"2355:12:23"},"nativeSrc":"2355:25:23","nodeType":"YulFunctionCall","src":"2355:25:23"}],"functionName":{"name":"sload","nativeSrc":"2349:5:23","nodeType":"YulIdentifier","src":"2349:5:23"},"nativeSrc":"2349:32:23","nodeType":"YulFunctionCall","src":"2349:32:23"}],"functionName":{"name":"mstore","nativeSrc":"2334:6:23","nodeType":"YulIdentifier","src":"2334:6:23"},"nativeSrc":"2334:48:23","nodeType":"YulFunctionCall","src":"2334:48:23"},"nativeSrc":"2334:48:23","nodeType":"YulExpressionStatement","src":"2334:48:23"},{"nativeSrc":"2399:27:23","nodeType":"YulAssignment","src":"2399:27:23","value":{"arguments":[{"name":"memptr","nativeSrc":"2413:6:23","nodeType":"YulIdentifier","src":"2413:6:23"},{"kind":"number","nativeSrc":"2421:4:23","nodeType":"YulLiteral","src":"2421:4:23","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2409:3:23","nodeType":"YulIdentifier","src":"2409:3:23"},"nativeSrc":"2409:17:23","nodeType":"YulFunctionCall","src":"2409:17:23"},"variableNames":[{"name":"memptr","nativeSrc":"2399:6:23","nodeType":"YulIdentifier","src":"2399:6:23"}]},{"nativeSrc":"2443:37:23","nodeType":"YulAssignment","src":"2443:37:23","value":{"arguments":[{"name":"calldataptr","nativeSrc":"2462:11:23","nodeType":"YulIdentifier","src":"2462:11:23"},{"kind":"number","nativeSrc":"2475:4:23","nodeType":"YulLiteral","src":"2475:4:23","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2458:3:23","nodeType":"YulIdentifier","src":"2458:3:23"},"nativeSrc":"2458:22:23","nodeType":"YulFunctionCall","src":"2458:22:23"},"variableNames":[{"name":"calldataptr","nativeSrc":"2443:11:23","nodeType":"YulIdentifier","src":"2443:11:23"}]},{"body":{"nativeSrc":"2524:9:23","nodeType":"YulBlock","src":"2524:9:23","statements":[{"nativeSrc":"2526:5:23","nodeType":"YulBreak","src":"2526:5:23"}]},"condition":{"arguments":[{"arguments":[{"name":"memptr","nativeSrc":"2510:6:23","nodeType":"YulIdentifier","src":"2510:6:23"},{"name":"end","nativeSrc":"2518:3:23","nodeType":"YulIdentifier","src":"2518:3:23"}],"functionName":{"name":"lt","nativeSrc":"2507:2:23","nodeType":"YulIdentifier","src":"2507:2:23"},"nativeSrc":"2507:15:23","nodeType":"YulFunctionCall","src":"2507:15:23"}],"functionName":{"name":"iszero","nativeSrc":"2500:6:23","nodeType":"YulIdentifier","src":"2500:6:23"},"nativeSrc":"2500:23:23","nodeType":"YulFunctionCall","src":"2500:23:23"},"nativeSrc":"2497:36:23","nodeType":"YulIf","src":"2497:36:23"}]},"condition":{"kind":"number","nativeSrc":"2311:1:23","nodeType":"YulLiteral","src":"2311:1:23","type":"","value":"1"},"nativeSrc":"2304:243:23","nodeType":"YulForLoop","post":{"nativeSrc":"2313:2:23","nodeType":"YulBlock","src":"2313:2:23","statements":[]},"pre":{"nativeSrc":"2308:2:23","nodeType":"YulBlock","src":"2308:2:23","statements":[]},"src":"2304:243:23"},{"expression":{"arguments":[{"name":"start","nativeSrc":"2567:5:23","nodeType":"YulIdentifier","src":"2567:5:23"},{"arguments":[{"name":"end","nativeSrc":"2578:3:23","nodeType":"YulIdentifier","src":"2578:3:23"},{"name":"start","nativeSrc":"2583:5:23","nodeType":"YulIdentifier","src":"2583:5:23"}],"functionName":{"name":"sub","nativeSrc":"2574:3:23","nodeType":"YulIdentifier","src":"2574:3:23"},"nativeSrc":"2574:15:23","nodeType":"YulFunctionCall","src":"2574:15:23"}],"functionName":{"name":"return","nativeSrc":"2560:6:23","nodeType":"YulIdentifier","src":"2560:6:23"},"nativeSrc":"2560:30:23","nodeType":"YulFunctionCall","src":"2560:30:23"},"nativeSrc":"2560:30:23","nodeType":"YulExpressionStatement","src":"2560:30:23"}]},"evmVersion":"cancun","externalReferences":[{"declaration":1827,"isOffset":false,"isSlot":false,"src":"1971:12:23","suffix":"length","valueSize":1},{"declaration":1827,"isOffset":false,"isSlot":false,"src":"2233:12:23","suffix":"length","valueSize":1},{"declaration":1827,"isOffset":true,"isSlot":false,"src":"2279:12:23","suffix":"offset","valueSize":1}],"flags":["memory-safe"],"id":1833,"nodeType":"InlineAssembly","src":"1664:936:23"}]},"documentation":{"id":1824,"nodeType":"StructuredDocumentation","src":"1539:25:23","text":"@inheritdoc IExtsload"},"functionSelector":"dbd035ff","id":1835,"implemented":true,"kind":"function","modifiers":[],"name":"extsload","nameLocation":"1578:8:23","nodeType":"FunctionDefinition","parameters":{"id":1828,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1827,"mutability":"mutable","name":"slots","nameLocation":"1606:5:23","nodeType":"VariableDeclaration","scope":1835,"src":"1587:24:23","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_calldata_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":1825,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1587:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":1826,"nodeType":"ArrayTypeName","src":"1587:9:23","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"1586:26:23"},"returnParameters":{"id":1832,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1831,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1835,"src":"1636:16:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":1829,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1636:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":1830,"nodeType":"ArrayTypeName","src":"1636:9:23","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"1635:18:23"},"scope":1836,"src":"1569:1037:23","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1837,"src":"261:2347:23","usedErrors":[],"usedEvents":[]}],"src":"32:2577:23"},"id":23},"@uniswap/v4-core/src/Exttload.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/Exttload.sol","exportedSymbols":{"Exttload":[1866],"IExttload":[3420]},"id":1867,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1838,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"32:24:24"},{"absolutePath":"@uniswap/v4-core/src/interfaces/IExttload.sol","file":"./interfaces/IExttload.sol","id":1840,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1867,"sourceUnit":3421,"src":"58:53:24","symbolAliases":[{"foreign":{"id":1839,"name":"IExttload","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3420,"src":"66:9:24","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":1842,"name":"IExttload","nameLocations":["302:9:24"],"nodeType":"IdentifierPath","referencedDeclaration":3420,"src":"302:9:24"},"id":1843,"nodeType":"InheritanceSpecifier","src":"302:9:24"}],"canonicalName":"Exttload","contractDependencies":[],"contractKind":"contract","documentation":{"id":1841,"nodeType":"StructuredDocumentation","src":"113:159:24","text":"@notice Enables public transient storage access for efficient state retrieval by external contracts.\n https://eips.ethereum.org/EIPS/eip-2330#rationale"},"fullyImplemented":true,"id":1866,"linearizedBaseContracts":[1866,3420],"name":"Exttload","nameLocation":"290:8:24","nodeType":"ContractDefinition","nodes":[{"baseFunctions":[3409],"body":{"id":1852,"nodeType":"Block","src":"412:115:24","statements":[{"AST":{"nativeSrc":"447:74:24","nodeType":"YulBlock","src":"447:74:24","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"468:1:24","nodeType":"YulLiteral","src":"468:1:24","type":"","value":"0"},{"arguments":[{"name":"slot","nativeSrc":"477:4:24","nodeType":"YulIdentifier","src":"477:4:24"}],"functionName":{"name":"tload","nativeSrc":"471:5:24","nodeType":"YulIdentifier","src":"471:5:24"},"nativeSrc":"471:11:24","nodeType":"YulFunctionCall","src":"471:11:24"}],"functionName":{"name":"mstore","nativeSrc":"461:6:24","nodeType":"YulIdentifier","src":"461:6:24"},"nativeSrc":"461:22:24","nodeType":"YulFunctionCall","src":"461:22:24"},"nativeSrc":"461:22:24","nodeType":"YulExpressionStatement","src":"461:22:24"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"503:1:24","nodeType":"YulLiteral","src":"503:1:24","type":"","value":"0"},{"kind":"number","nativeSrc":"506:4:24","nodeType":"YulLiteral","src":"506:4:24","type":"","value":"0x20"}],"functionName":{"name":"return","nativeSrc":"496:6:24","nodeType":"YulIdentifier","src":"496:6:24"},"nativeSrc":"496:15:24","nodeType":"YulFunctionCall","src":"496:15:24"},"nativeSrc":"496:15:24","nodeType":"YulExpressionStatement","src":"496:15:24"}]},"evmVersion":"cancun","externalReferences":[{"declaration":1846,"isOffset":false,"isSlot":false,"src":"477:4:24","valueSize":1}],"flags":["memory-safe"],"id":1851,"nodeType":"InlineAssembly","src":"422:99:24"}]},"documentation":{"id":1844,"nodeType":"StructuredDocumentation","src":"318:25:24","text":"@inheritdoc IExttload"},"functionSelector":"f135baaa","id":1853,"implemented":true,"kind":"function","modifiers":[],"name":"exttload","nameLocation":"357:8:24","nodeType":"FunctionDefinition","parameters":{"id":1847,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1846,"mutability":"mutable","name":"slot","nameLocation":"374:4:24","nodeType":"VariableDeclaration","scope":1853,"src":"366:12:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1845,"name":"bytes32","nodeType":"ElementaryTypeName","src":"366:7:24","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"365:14:24"},"returnParameters":{"id":1850,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1849,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1853,"src":"403:7:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1848,"name":"bytes32","nodeType":"ElementaryTypeName","src":"403:7:24","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"402:9:24"},"scope":1866,"src":"348:179:24","stateMutability":"view","virtual":false,"visibility":"external"},{"baseFunctions":[3419],"body":{"id":1864,"nodeType":"Block","src":"648:952:24","statements":[{"AST":{"nativeSrc":"683:911:24","nodeType":"YulBlock","src":"683:911:24","statements":[{"nativeSrc":"697:25:24","nodeType":"YulVariableDeclaration","src":"697:25:24","value":{"arguments":[{"kind":"number","nativeSrc":"717:4:24","nodeType":"YulLiteral","src":"717:4:24","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"711:5:24","nodeType":"YulIdentifier","src":"711:5:24"},"nativeSrc":"711:11:24","nodeType":"YulFunctionCall","src":"711:11:24"},"variables":[{"name":"memptr","nativeSrc":"701:6:24","nodeType":"YulTypedName","src":"701:6:24","type":""}]},{"nativeSrc":"735:19:24","nodeType":"YulVariableDeclaration","src":"735:19:24","value":{"name":"memptr","nativeSrc":"748:6:24","nodeType":"YulIdentifier","src":"748:6:24"},"variables":[{"name":"start","nativeSrc":"739:5:24","nodeType":"YulTypedName","src":"739:5:24","type":""}]},{"expression":{"arguments":[{"name":"memptr","nativeSrc":"853:6:24","nodeType":"YulIdentifier","src":"853:6:24"},{"kind":"number","nativeSrc":"861:4:24","nodeType":"YulLiteral","src":"861:4:24","type":"","value":"0x20"}],"functionName":{"name":"mstore","nativeSrc":"846:6:24","nodeType":"YulIdentifier","src":"846:6:24"},"nativeSrc":"846:20:24","nodeType":"YulFunctionCall","src":"846:20:24"},"nativeSrc":"846:20:24","nodeType":"YulExpressionStatement","src":"846:20:24"},{"expression":{"arguments":[{"arguments":[{"name":"memptr","nativeSrc":"950:6:24","nodeType":"YulIdentifier","src":"950:6:24"},{"kind":"number","nativeSrc":"958:4:24","nodeType":"YulLiteral","src":"958:4:24","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"946:3:24","nodeType":"YulIdentifier","src":"946:3:24"},"nativeSrc":"946:17:24","nodeType":"YulFunctionCall","src":"946:17:24"},{"name":"slots.length","nativeSrc":"965:12:24","nodeType":"YulIdentifier","src":"965:12:24"}],"functionName":{"name":"mstore","nativeSrc":"939:6:24","nodeType":"YulIdentifier","src":"939:6:24"},"nativeSrc":"939:39:24","nodeType":"YulFunctionCall","src":"939:39:24"},"nativeSrc":"939:39:24","nodeType":"YulExpressionStatement","src":"939:39:24"},{"nativeSrc":"1065:27:24","nodeType":"YulAssignment","src":"1065:27:24","value":{"arguments":[{"name":"memptr","nativeSrc":"1079:6:24","nodeType":"YulIdentifier","src":"1079:6:24"},{"kind":"number","nativeSrc":"1087:4:24","nodeType":"YulLiteral","src":"1087:4:24","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"1075:3:24","nodeType":"YulIdentifier","src":"1075:3:24"},"nativeSrc":"1075:17:24","nodeType":"YulFunctionCall","src":"1075:17:24"},"variableNames":[{"name":"memptr","nativeSrc":"1065:6:24","nodeType":"YulIdentifier","src":"1065:6:24"}]},{"nativeSrc":"1197:44:24","nodeType":"YulVariableDeclaration","src":"1197:44:24","value":{"arguments":[{"name":"memptr","nativeSrc":"1212:6:24","nodeType":"YulIdentifier","src":"1212:6:24"},{"arguments":[{"kind":"number","nativeSrc":"1224:1:24","nodeType":"YulLiteral","src":"1224:1:24","type":"","value":"5"},{"name":"slots.length","nativeSrc":"1227:12:24","nodeType":"YulIdentifier","src":"1227:12:24"}],"functionName":{"name":"shl","nativeSrc":"1220:3:24","nodeType":"YulIdentifier","src":"1220:3:24"},"nativeSrc":"1220:20:24","nodeType":"YulFunctionCall","src":"1220:20:24"}],"functionName":{"name":"add","nativeSrc":"1208:3:24","nodeType":"YulIdentifier","src":"1208:3:24"},"nativeSrc":"1208:33:24","nodeType":"YulFunctionCall","src":"1208:33:24"},"variables":[{"name":"end","nativeSrc":"1201:3:24","nodeType":"YulTypedName","src":"1201:3:24","type":""}]},{"nativeSrc":"1254:31:24","nodeType":"YulVariableDeclaration","src":"1254:31:24","value":{"name":"slots.offset","nativeSrc":"1273:12:24","nodeType":"YulIdentifier","src":"1273:12:24"},"variables":[{"name":"calldataptr","nativeSrc":"1258:11:24","nodeType":"YulTypedName","src":"1258:11:24","type":""}]},{"body":{"nativeSrc":"1310:231:24","nodeType":"YulBlock","src":"1310:231:24","statements":[{"expression":{"arguments":[{"name":"memptr","nativeSrc":"1335:6:24","nodeType":"YulIdentifier","src":"1335:6:24"},{"arguments":[{"arguments":[{"name":"calldataptr","nativeSrc":"1362:11:24","nodeType":"YulIdentifier","src":"1362:11:24"}],"functionName":{"name":"calldataload","nativeSrc":"1349:12:24","nodeType":"YulIdentifier","src":"1349:12:24"},"nativeSrc":"1349:25:24","nodeType":"YulFunctionCall","src":"1349:25:24"}],"functionName":{"name":"tload","nativeSrc":"1343:5:24","nodeType":"YulIdentifier","src":"1343:5:24"},"nativeSrc":"1343:32:24","nodeType":"YulFunctionCall","src":"1343:32:24"}],"functionName":{"name":"mstore","nativeSrc":"1328:6:24","nodeType":"YulIdentifier","src":"1328:6:24"},"nativeSrc":"1328:48:24","nodeType":"YulFunctionCall","src":"1328:48:24"},"nativeSrc":"1328:48:24","nodeType":"YulExpressionStatement","src":"1328:48:24"},{"nativeSrc":"1393:27:24","nodeType":"YulAssignment","src":"1393:27:24","value":{"arguments":[{"name":"memptr","nativeSrc":"1407:6:24","nodeType":"YulIdentifier","src":"1407:6:24"},{"kind":"number","nativeSrc":"1415:4:24","nodeType":"YulLiteral","src":"1415:4:24","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"1403:3:24","nodeType":"YulIdentifier","src":"1403:3:24"},"nativeSrc":"1403:17:24","nodeType":"YulFunctionCall","src":"1403:17:24"},"variableNames":[{"name":"memptr","nativeSrc":"1393:6:24","nodeType":"YulIdentifier","src":"1393:6:24"}]},{"nativeSrc":"1437:37:24","nodeType":"YulAssignment","src":"1437:37:24","value":{"arguments":[{"name":"calldataptr","nativeSrc":"1456:11:24","nodeType":"YulIdentifier","src":"1456:11:24"},{"kind":"number","nativeSrc":"1469:4:24","nodeType":"YulLiteral","src":"1469:4:24","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"1452:3:24","nodeType":"YulIdentifier","src":"1452:3:24"},"nativeSrc":"1452:22:24","nodeType":"YulFunctionCall","src":"1452:22:24"},"variableNames":[{"name":"calldataptr","nativeSrc":"1437:11:24","nodeType":"YulIdentifier","src":"1437:11:24"}]},{"body":{"nativeSrc":"1518:9:24","nodeType":"YulBlock","src":"1518:9:24","statements":[{"nativeSrc":"1520:5:24","nodeType":"YulBreak","src":"1520:5:24"}]},"condition":{"arguments":[{"arguments":[{"name":"memptr","nativeSrc":"1504:6:24","nodeType":"YulIdentifier","src":"1504:6:24"},{"name":"end","nativeSrc":"1512:3:24","nodeType":"YulIdentifier","src":"1512:3:24"}],"functionName":{"name":"lt","nativeSrc":"1501:2:24","nodeType":"YulIdentifier","src":"1501:2:24"},"nativeSrc":"1501:15:24","nodeType":"YulFunctionCall","src":"1501:15:24"}],"functionName":{"name":"iszero","nativeSrc":"1494:6:24","nodeType":"YulIdentifier","src":"1494:6:24"},"nativeSrc":"1494:23:24","nodeType":"YulFunctionCall","src":"1494:23:24"},"nativeSrc":"1491:36:24","nodeType":"YulIf","src":"1491:36:24"}]},"condition":{"kind":"number","nativeSrc":"1305:1:24","nodeType":"YulLiteral","src":"1305:1:24","type":"","value":"1"},"nativeSrc":"1298:243:24","nodeType":"YulForLoop","post":{"nativeSrc":"1307:2:24","nodeType":"YulBlock","src":"1307:2:24","statements":[]},"pre":{"nativeSrc":"1302:2:24","nodeType":"YulBlock","src":"1302:2:24","statements":[]},"src":"1298:243:24"},{"expression":{"arguments":[{"name":"start","nativeSrc":"1561:5:24","nodeType":"YulIdentifier","src":"1561:5:24"},{"arguments":[{"name":"end","nativeSrc":"1572:3:24","nodeType":"YulIdentifier","src":"1572:3:24"},{"name":"start","nativeSrc":"1577:5:24","nodeType":"YulIdentifier","src":"1577:5:24"}],"functionName":{"name":"sub","nativeSrc":"1568:3:24","nodeType":"YulIdentifier","src":"1568:3:24"},"nativeSrc":"1568:15:24","nodeType":"YulFunctionCall","src":"1568:15:24"}],"functionName":{"name":"return","nativeSrc":"1554:6:24","nodeType":"YulIdentifier","src":"1554:6:24"},"nativeSrc":"1554:30:24","nodeType":"YulFunctionCall","src":"1554:30:24"},"nativeSrc":"1554:30:24","nodeType":"YulExpressionStatement","src":"1554:30:24"}]},"evmVersion":"cancun","externalReferences":[{"declaration":1857,"isOffset":false,"isSlot":false,"src":"1227:12:24","suffix":"length","valueSize":1},{"declaration":1857,"isOffset":false,"isSlot":false,"src":"965:12:24","suffix":"length","valueSize":1},{"declaration":1857,"isOffset":true,"isSlot":false,"src":"1273:12:24","suffix":"offset","valueSize":1}],"flags":["memory-safe"],"id":1863,"nodeType":"InlineAssembly","src":"658:936:24"}]},"documentation":{"id":1854,"nodeType":"StructuredDocumentation","src":"533:25:24","text":"@inheritdoc IExttload"},"functionSelector":"9bf6645f","id":1865,"implemented":true,"kind":"function","modifiers":[],"name":"exttload","nameLocation":"572:8:24","nodeType":"FunctionDefinition","parameters":{"id":1858,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1857,"mutability":"mutable","name":"slots","nameLocation":"600:5:24","nodeType":"VariableDeclaration","scope":1865,"src":"581:24:24","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_calldata_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":1855,"name":"bytes32","nodeType":"ElementaryTypeName","src":"581:7:24","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":1856,"nodeType":"ArrayTypeName","src":"581:9:24","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"580:26:24"},"returnParameters":{"id":1862,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1861,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1865,"src":"630:16:24","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":1859,"name":"bytes32","nodeType":"ElementaryTypeName","src":"630:7:24","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":1860,"nodeType":"ArrayTypeName","src":"630:9:24","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"629:18:24"},"scope":1866,"src":"563:1037:24","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1867,"src":"272:1330:24","usedErrors":[],"usedEvents":[]}],"src":"32:1571:24"},"id":24},"@uniswap/v4-core/src/NoDelegateCall.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/NoDelegateCall.sol","exportedSymbols":{"CustomRevert":[4451],"NoDelegateCall":[1918]},"id":1919,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1868,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:25"},{"absolutePath":"@uniswap/v4-core/src/libraries/CustomRevert.sol","file":"./libraries/CustomRevert.sol","id":1870,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1919,"sourceUnit":4452,"src":"57:58:25","symbolAliases":[{"foreign":{"id":1869,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"65:12:25","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[],"canonicalName":"NoDelegateCall","contractDependencies":[],"contractKind":"contract","documentation":{"id":1871,"nodeType":"StructuredDocumentation","src":"117:157:25","text":"@title Prevents delegatecall to a contract\n @notice Base contract that provides a modifier for preventing delegatecall to methods in a child contract"},"fullyImplemented":true,"id":1918,"linearizedBaseContracts":[1918],"name":"NoDelegateCall","nameLocation":"292:14:25","nodeType":"ContractDefinition","nodes":[{"global":false,"id":1874,"libraryName":{"id":1872,"name":"CustomRevert","nameLocations":["319:12:25"],"nodeType":"IdentifierPath","referencedDeclaration":4451,"src":"319:12:25"},"nodeType":"UsingForDirective","src":"313:30:25","typeName":{"id":1873,"name":"bytes4","nodeType":"ElementaryTypeName","src":"336:6:25","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}},{"errorSelector":"0d89438e","id":1876,"name":"DelegateCallNotAllowed","nameLocation":"355:22:25","nodeType":"ErrorDefinition","parameters":{"id":1875,"nodeType":"ParameterList","parameters":[],"src":"377:2:25"},"src":"349:31:25"},{"constant":false,"documentation":{"id":1877,"nodeType":"StructuredDocumentation","src":"386:46:25","text":"@dev The original address of this contract"},"id":1879,"mutability":"immutable","name":"original","nameLocation":"463:8:25","nodeType":"VariableDeclaration","scope":1918,"src":"437:34:25","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1878,"name":"address","nodeType":"ElementaryTypeName","src":"437:7:25","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"private"},{"body":{"id":1889,"nodeType":"Block","src":"492:239:25","statements":[{"expression":{"id":1887,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1882,"name":"original","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1879,"src":"700:8:25","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":1885,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"719:4:25","typeDescriptions":{"typeIdentifier":"t_contract$_NoDelegateCall_$1918","typeString":"contract NoDelegateCall"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_NoDelegateCall_$1918","typeString":"contract NoDelegateCall"}],"id":1884,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"711:7:25","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1883,"name":"address","nodeType":"ElementaryTypeName","src":"711:7:25","typeDescriptions":{}}},"id":1886,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"711:13:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"700:24:25","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1888,"nodeType":"ExpressionStatement","src":"700:24:25"}]},"id":1890,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":1880,"nodeType":"ParameterList","parameters":[],"src":"489:2:25"},"returnParameters":{"id":1881,"nodeType":"ParameterList","parameters":[],"src":"492:0:25"},"scope":1918,"src":"478:253:25","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1908,"nodeType":"Block","src":"1008:92:25","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1899,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":1896,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"1030:4:25","typeDescriptions":{"typeIdentifier":"t_contract$_NoDelegateCall_$1918","typeString":"contract NoDelegateCall"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_NoDelegateCall_$1918","typeString":"contract NoDelegateCall"}],"id":1895,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1022:7:25","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1894,"name":"address","nodeType":"ElementaryTypeName","src":"1022:7:25","typeDescriptions":{}}},"id":1897,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1022:13:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1898,"name":"original","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1879,"src":"1039:8:25","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1022:25:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1907,"nodeType":"IfStatement","src":"1018:75:25","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":1900,"name":"DelegateCallNotAllowed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1876,"src":"1049:22:25","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":1903,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1072:8:25","memberName":"selector","nodeType":"MemberAccess","src":"1049:31:25","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":1904,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1081:10:25","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"1049:42:25","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":1905,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1049:44:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1906,"nodeType":"ExpressionStatement","src":"1049:44:25"}}]},"documentation":{"id":1891,"nodeType":"StructuredDocumentation","src":"737:221:25","text":"@dev Private method is used instead of inlining into modifier because modifiers are copied into each method,\n     and the use of immutable means the address bytes are copied in every place the modifier is used."},"id":1909,"implemented":true,"kind":"function","modifiers":[],"name":"checkNotDelegateCall","nameLocation":"972:20:25","nodeType":"FunctionDefinition","parameters":{"id":1892,"nodeType":"ParameterList","parameters":[],"src":"992:2:25"},"returnParameters":{"id":1893,"nodeType":"ParameterList","parameters":[],"src":"1008:0:25"},"scope":1918,"src":"963:137:25","stateMutability":"view","virtual":false,"visibility":"private"},{"body":{"id":1916,"nodeType":"Block","src":"1195:50:25","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":1912,"name":"checkNotDelegateCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1909,"src":"1205:20:25","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":1913,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1205:22:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1914,"nodeType":"ExpressionStatement","src":"1205:22:25"},{"id":1915,"nodeType":"PlaceholderStatement","src":"1237:1:25"}]},"documentation":{"id":1910,"nodeType":"StructuredDocumentation","src":"1106:58:25","text":"@notice Prevents delegatecall into the modified method"},"id":1917,"name":"noDelegateCall","nameLocation":"1178:14:25","nodeType":"ModifierDefinition","parameters":{"id":1911,"nodeType":"ParameterList","parameters":[],"src":"1192:2:25"},"src":"1169:76:25","virtual":false,"visibility":"internal"}],"scope":1919,"src":"274:973:25","usedErrors":[1876],"usedEvents":[]}],"src":"32:1216:25"},"id":25},"@uniswap/v4-core/src/PoolManager.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/PoolManager.sol","exportedSymbols":{"BalanceDelta":[10503],"BalanceDeltaLibrary":[10661],"BeforeSwapDelta":[10665],"Currency":[10717],"CurrencyDelta":[4297],"CurrencyLibrary":[11011],"CurrencyReserves":[4345],"CustomRevert":[4451],"ERC6909Claims":[1793],"Extsload":[1836],"Exttload":[1866],"Hooks":[5805],"IHooks":[3618],"IPoolManager":[3917],"IUnlockCallback":[4006],"LPFeeLibrary":[5954],"Lock":[5994],"NoDelegateCall":[1918],"NonzeroDeltaCount":[6019],"Pool":[7731],"PoolId":[11017],"PoolKey":[11063],"PoolManager":[3138],"Position":[7897],"ProtocolFees":[3365],"SafeCast":[8145],"TickMath":[10331]},"id":3139,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":1920,"literals":["solidity","0.8",".26"],"nodeType":"PragmaDirective","src":"37:23:26"},{"absolutePath":"@uniswap/v4-core/src/libraries/Hooks.sol","file":"./libraries/Hooks.sol","id":1922,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":5806,"src":"62:44:26","symbolAliases":[{"foreign":{"id":1921,"name":"Hooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5805,"src":"70:5:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/Pool.sol","file":"./libraries/Pool.sol","id":1924,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":7732,"src":"107:42:26","symbolAliases":[{"foreign":{"id":1923,"name":"Pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7731,"src":"115:4:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/SafeCast.sol","file":"./libraries/SafeCast.sol","id":1926,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":8146,"src":"150:50:26","symbolAliases":[{"foreign":{"id":1925,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8145,"src":"158:8:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/Position.sol","file":"./libraries/Position.sol","id":1928,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":7898,"src":"201:50:26","symbolAliases":[{"foreign":{"id":1927,"name":"Position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7897,"src":"209:8:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol","file":"./libraries/LPFeeLibrary.sol","id":1930,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":5955,"src":"252:58:26","symbolAliases":[{"foreign":{"id":1929,"name":"LPFeeLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5954,"src":"260:12:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"./types/Currency.sol","id":1933,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":11012,"src":"311:63:26","symbolAliases":[{"foreign":{"id":1931,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"319:8:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":1932,"name":"CurrencyLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11011,"src":"329:15:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"./types/PoolKey.sol","id":1935,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":11064,"src":"375:44:26","symbolAliases":[{"foreign":{"id":1934,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"383:7:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/TickMath.sol","file":"./libraries/TickMath.sol","id":1937,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":10332,"src":"420:50:26","symbolAliases":[{"foreign":{"id":1936,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"428:8:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/NoDelegateCall.sol","file":"./NoDelegateCall.sol","id":1939,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":1919,"src":"471:52:26","symbolAliases":[{"foreign":{"id":1938,"name":"NoDelegateCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1918,"src":"479:14:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IHooks.sol","file":"./interfaces/IHooks.sol","id":1941,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":3619,"src":"524:47:26","symbolAliases":[{"foreign":{"id":1940,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"532:6:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"./interfaces/IPoolManager.sol","id":1943,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":3918,"src":"572:59:26","symbolAliases":[{"foreign":{"id":1942,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"580:12:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol","file":"./interfaces/callback/IUnlockCallback.sol","id":1945,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":4007,"src":"632:74:26","symbolAliases":[{"foreign":{"id":1944,"name":"IUnlockCallback","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4006,"src":"640:15:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/ProtocolFees.sol","file":"./ProtocolFees.sol","id":1947,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":3366,"src":"707:48:26","symbolAliases":[{"foreign":{"id":1946,"name":"ProtocolFees","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3365,"src":"715:12:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/ERC6909Claims.sol","file":"./ERC6909Claims.sol","id":1949,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":1794,"src":"756:50:26","symbolAliases":[{"foreign":{"id":1948,"name":"ERC6909Claims","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"764:13:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolId.sol","file":"./types/PoolId.sol","id":1951,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":11032,"src":"807:42:26","symbolAliases":[{"foreign":{"id":1950,"name":"PoolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11017,"src":"815:6:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/BalanceDelta.sol","file":"./types/BalanceDelta.sol","id":1954,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":10662,"src":"850:75:26","symbolAliases":[{"foreign":{"id":1952,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"858:12:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":1953,"name":"BalanceDeltaLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10661,"src":"872:19:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/BeforeSwapDelta.sol","file":"./types/BeforeSwapDelta.sol","id":1956,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":10710,"src":"926:60:26","symbolAliases":[{"foreign":{"id":1955,"name":"BeforeSwapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10665,"src":"934:15:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/Lock.sol","file":"./libraries/Lock.sol","id":1958,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":5995,"src":"987:42:26","symbolAliases":[{"foreign":{"id":1957,"name":"Lock","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5994,"src":"995:4:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/CurrencyDelta.sol","file":"./libraries/CurrencyDelta.sol","id":1960,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":4298,"src":"1030:60:26","symbolAliases":[{"foreign":{"id":1959,"name":"CurrencyDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4297,"src":"1038:13:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol","file":"./libraries/NonzeroDeltaCount.sol","id":1962,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":6020,"src":"1091:68:26","symbolAliases":[{"foreign":{"id":1961,"name":"NonzeroDeltaCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6019,"src":"1099:17:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/CurrencyReserves.sol","file":"./libraries/CurrencyReserves.sol","id":1964,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":4346,"src":"1160:66:26","symbolAliases":[{"foreign":{"id":1963,"name":"CurrencyReserves","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"1168:16:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/Extsload.sol","file":"./Extsload.sol","id":1966,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":1837,"src":"1227:40:26","symbolAliases":[{"foreign":{"id":1965,"name":"Extsload","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1836,"src":"1235:8:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/Exttload.sol","file":"./Exttload.sol","id":1968,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":1867,"src":"1268:40:26","symbolAliases":[{"foreign":{"id":1967,"name":"Exttload","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1866,"src":"1276:8:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/CustomRevert.sol","file":"./libraries/CustomRevert.sol","id":1970,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3139,"sourceUnit":4452,"src":"1309:58:26","symbolAliases":[{"foreign":{"id":1969,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"1317:12:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":1972,"name":"IPoolManager","nameLocations":["4738:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"4738:12:26"},"id":1973,"nodeType":"InheritanceSpecifier","src":"4738:12:26"},{"baseName":{"id":1974,"name":"ProtocolFees","nameLocations":["4752:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":3365,"src":"4752:12:26"},"id":1975,"nodeType":"InheritanceSpecifier","src":"4752:12:26"},{"baseName":{"id":1976,"name":"NoDelegateCall","nameLocations":["4766:14:26"],"nodeType":"IdentifierPath","referencedDeclaration":1918,"src":"4766:14:26"},"id":1977,"nodeType":"InheritanceSpecifier","src":"4766:14:26"},{"baseName":{"id":1978,"name":"ERC6909Claims","nameLocations":["4782:13:26"],"nodeType":"IdentifierPath","referencedDeclaration":1793,"src":"4782:13:26"},"id":1979,"nodeType":"InheritanceSpecifier","src":"4782:13:26"},{"baseName":{"id":1980,"name":"Extsload","nameLocations":["4797:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":1836,"src":"4797:8:26"},"id":1981,"nodeType":"InheritanceSpecifier","src":"4797:8:26"},{"baseName":{"id":1982,"name":"Exttload","nameLocations":["4807:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":1866,"src":"4807:8:26"},"id":1983,"nodeType":"InheritanceSpecifier","src":"4807:8:26"}],"canonicalName":"PoolManager","contractDependencies":[],"contractKind":"contract","documentation":{"id":1971,"nodeType":"StructuredDocumentation","src":"4649:65:26","text":"@title PoolManager\n @notice Holds the state for all pools"},"fullyImplemented":true,"id":3138,"linearizedBaseContracts":[3138,1866,1836,1793,1720,1918,3365,21436,3917,3420,3398,4192,3994],"name":"PoolManager","nameLocation":"4723:11:26","nodeType":"ContractDefinition","nodes":[{"global":false,"id":1985,"libraryName":{"id":1984,"name":"SafeCast","nameLocations":["4828:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":8145,"src":"4828:8:26"},"nodeType":"UsingForDirective","src":"4822:21:26"},{"global":false,"id":1987,"libraryName":{"id":1986,"name":"Pool","nameLocations":["4854:4:26"],"nodeType":"IdentifierPath","referencedDeclaration":7731,"src":"4854:4:26"},"nodeType":"UsingForDirective","src":"4848:17:26"},{"global":false,"id":1991,"libraryName":{"id":1988,"name":"Hooks","nameLocations":["4876:5:26"],"nodeType":"IdentifierPath","referencedDeclaration":5805,"src":"4876:5:26"},"nodeType":"UsingForDirective","src":"4870:23:26","typeName":{"id":1990,"nodeType":"UserDefinedTypeName","pathNode":{"id":1989,"name":"IHooks","nameLocations":["4886:6:26"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"4886:6:26"},"referencedDeclaration":3618,"src":"4886:6:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}},{"global":false,"id":1997,"libraryName":{"id":1992,"name":"Position","nameLocations":["4904:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":7897,"src":"4904:8:26"},"nodeType":"UsingForDirective","src":"4898:54:26","typeName":{"id":1996,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":1993,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4925:7:26","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"4917:34:26","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_State_$7755_storage_$","typeString":"mapping(bytes32 => struct Position.State)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":1995,"nodeType":"UserDefinedTypeName","pathNode":{"id":1994,"name":"Position.State","nameLocations":["4936:8:26","4945:5:26"],"nodeType":"IdentifierPath","referencedDeclaration":7755,"src":"4936:14:26"},"referencedDeclaration":7755,"src":"4936:14:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State"}}}},{"global":false,"id":2001,"libraryName":{"id":1998,"name":"CurrencyDelta","nameLocations":["4963:13:26"],"nodeType":"IdentifierPath","referencedDeclaration":4297,"src":"4963:13:26"},"nodeType":"UsingForDirective","src":"4957:33:26","typeName":{"id":2000,"nodeType":"UserDefinedTypeName","pathNode":{"id":1999,"name":"Currency","nameLocations":["4981:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"4981:8:26"},"referencedDeclaration":10717,"src":"4981:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}},{"global":false,"id":2004,"libraryName":{"id":2002,"name":"LPFeeLibrary","nameLocations":["5001:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":5954,"src":"5001:12:26"},"nodeType":"UsingForDirective","src":"4995:30:26","typeName":{"id":2003,"name":"uint24","nodeType":"ElementaryTypeName","src":"5018:6:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}},{"global":false,"id":2008,"libraryName":{"id":2005,"name":"CurrencyReserves","nameLocations":["5036:16:26"],"nodeType":"IdentifierPath","referencedDeclaration":4345,"src":"5036:16:26"},"nodeType":"UsingForDirective","src":"5030:36:26","typeName":{"id":2007,"nodeType":"UserDefinedTypeName","pathNode":{"id":2006,"name":"Currency","nameLocations":["5057:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"5057:8:26"},"referencedDeclaration":10717,"src":"5057:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}},{"global":false,"id":2011,"libraryName":{"id":2009,"name":"CustomRevert","nameLocations":["5077:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":4451,"src":"5077:12:26"},"nodeType":"UsingForDirective","src":"5071:30:26","typeName":{"id":2010,"name":"bytes4","nodeType":"ElementaryTypeName","src":"5094:6:26","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}},{"constant":true,"id":2015,"mutability":"constant","name":"MAX_TICK_SPACING","nameLocation":"5130:16:26","nodeType":"VariableDeclaration","scope":3138,"src":"5107:67:26","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2012,"name":"int24","nodeType":"ElementaryTypeName","src":"5107:5:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"value":{"expression":{"id":2013,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"5149:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":2014,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5158:16:26","memberName":"MAX_TICK_SPACING","nodeType":"MemberAccess","referencedDeclaration":9818,"src":"5149:25:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"private"},{"constant":true,"id":2019,"mutability":"constant","name":"MIN_TICK_SPACING","nameLocation":"5204:16:26","nodeType":"VariableDeclaration","scope":3138,"src":"5181:67:26","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2016,"name":"int24","nodeType":"ElementaryTypeName","src":"5181:5:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"value":{"expression":{"id":2017,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"5223:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":2018,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5232:16:26","memberName":"MIN_TICK_SPACING","nodeType":"MemberAccess","referencedDeclaration":9810,"src":"5223:25:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"private"},{"constant":false,"id":2025,"mutability":"mutable","name":"_pools","nameLocation":"5297:6:26","nodeType":"VariableDeclaration","scope":3138,"src":"5255:48:26","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_userDefinedValueType$_PoolId_$11017_$_t_struct$_State_$6192_storage_$","typeString":"mapping(PoolId => struct Pool.State)"},"typeName":{"id":2024,"keyName":"id","keyNameLocation":"5270:2:26","keyType":{"id":2021,"nodeType":"UserDefinedTypeName","pathNode":{"id":2020,"name":"PoolId","nameLocations":["5263:6:26"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"5263:6:26"},"referencedDeclaration":11017,"src":"5263:6:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"nodeType":"Mapping","src":"5255:32:26","typeDescriptions":{"typeIdentifier":"t_mapping$_t_userDefinedValueType$_PoolId_$11017_$_t_struct$_State_$6192_storage_$","typeString":"mapping(PoolId => struct Pool.State)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":2023,"nodeType":"UserDefinedTypeName","pathNode":{"id":2022,"name":"Pool.State","nameLocations":["5276:4:26","5281:5:26"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"5276:10:26"},"referencedDeclaration":6192,"src":"5276:10:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}}},"visibility":"internal"},{"body":{"id":2041,"nodeType":"Block","src":"5397:87:26","statements":[{"condition":{"id":2031,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"5411:18:26","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2028,"name":"Lock","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5994,"src":"5412:4:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Lock_$5994_$","typeString":"type(library Lock)"}},"id":2029,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5417:10:26","memberName":"isUnlocked","nodeType":"MemberAccess","referencedDeclaration":5993,"src":"5412:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bool_$","typeString":"function () view returns (bool)"}},"id":2030,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5412:17:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2039,"nodeType":"IfStatement","src":"5407:59:26","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":2032,"name":"ManagerLocked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3659,"src":"5431:13:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":2035,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5445:8:26","memberName":"selector","nodeType":"MemberAccess","src":"5431:22:26","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":2036,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5454:10:26","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"5431:33:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":2037,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5431:35:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2038,"nodeType":"ExpressionStatement","src":"5431:35:26"}},{"id":2040,"nodeType":"PlaceholderStatement","src":"5476:1:26"}]},"documentation":{"id":2026,"nodeType":"StructuredDocumentation","src":"5310:54:26","text":"@notice This will revert if the contract is locked"},"id":2042,"name":"onlyWhenUnlocked","nameLocation":"5378:16:26","nodeType":"ModifierDefinition","parameters":{"id":2027,"nodeType":"ParameterList","parameters":[],"src":"5394:2:26"},"src":"5369:115:26","virtual":false,"visibility":"internal"},{"body":{"id":2050,"nodeType":"Block","src":"5551:2:26","statements":[]},"id":2051,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":2047,"name":"initialOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2044,"src":"5537:12:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":2048,"kind":"baseConstructorSpecifier","modifierName":{"id":2046,"name":"ProtocolFees","nameLocations":["5524:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":3365,"src":"5524:12:26"},"nodeType":"ModifierInvocation","src":"5524:26:26"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":2045,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2044,"mutability":"mutable","name":"initialOwner","nameLocation":"5510:12:26","nodeType":"VariableDeclaration","scope":2051,"src":"5502:20:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2043,"name":"address","nodeType":"ElementaryTypeName","src":"5502:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5501:22:26"},"returnParameters":{"id":2049,"nodeType":"ParameterList","parameters":[],"src":"5551:0:26"},"scope":3138,"src":"5490:63:26","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[3767],"body":{"id":2104,"nodeType":"Block","src":"5677:383:26","statements":[{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2060,"name":"Lock","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5994,"src":"5691:4:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Lock_$5994_$","typeString":"type(library Lock)"}},"id":2061,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5696:10:26","memberName":"isUnlocked","nodeType":"MemberAccess","referencedDeclaration":5993,"src":"5691:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bool_$","typeString":"function () view returns (bool)"}},"id":2062,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5691:17:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2070,"nodeType":"IfStatement","src":"5687:60:26","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":2063,"name":"AlreadyUnlocked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3656,"src":"5710:15:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":2066,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5726:8:26","memberName":"selector","nodeType":"MemberAccess","src":"5710:24:26","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":2067,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5735:10:26","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"5710:35:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":2068,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5710:37:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2069,"nodeType":"ExpressionStatement","src":"5710:37:26"}},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2071,"name":"Lock","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5994,"src":"5758:4:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Lock_$5994_$","typeString":"type(library Lock)"}},"id":2073,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5763:6:26","memberName":"unlock","nodeType":"MemberAccess","referencedDeclaration":5981,"src":"5758:11:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":2074,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5758:13:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2075,"nodeType":"ExpressionStatement","src":"5758:13:26"},{"expression":{"id":2084,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2076,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2058,"src":"5889:6:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2082,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2054,"src":"5941:4:26","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"arguments":[{"expression":{"id":2078,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"5914:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2079,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5918:6:26","memberName":"sender","nodeType":"MemberAccess","src":"5914:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2077,"name":"IUnlockCallback","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4006,"src":"5898:15:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IUnlockCallback_$4006_$","typeString":"type(contract IUnlockCallback)"}},"id":2080,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5898:27:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IUnlockCallback_$4006","typeString":"contract IUnlockCallback"}},"id":2081,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5926:14:26","memberName":"unlockCallback","nodeType":"MemberAccess","referencedDeclaration":4005,"src":"5898:42:26","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) external returns (bytes memory)"}},"id":2083,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5898:48:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"5889:57:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2085,"nodeType":"ExpressionStatement","src":"5889:57:26"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2090,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2086,"name":"NonzeroDeltaCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6019,"src":"5961:17:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_NonzeroDeltaCount_$6019_$","typeString":"type(library NonzeroDeltaCount)"}},"id":2087,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5979:4:26","memberName":"read","nodeType":"MemberAccess","referencedDeclaration":6007,"src":"5961:22:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint256_$","typeString":"function () view returns (uint256)"}},"id":2088,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5961:24:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":2089,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5989:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5961:29:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2098,"nodeType":"IfStatement","src":"5957:75:26","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":2091,"name":"CurrencyNotSettled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3650,"src":"5992:18:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":2094,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6011:8:26","memberName":"selector","nodeType":"MemberAccess","src":"5992:27:26","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":2095,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6020:10:26","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"5992:38:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":2096,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5992:40:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2097,"nodeType":"ExpressionStatement","src":"5992:40:26"}},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2099,"name":"Lock","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5994,"src":"6042:4:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Lock_$5994_$","typeString":"type(library Lock)"}},"id":2101,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6047:4:26","memberName":"lock","nodeType":"MemberAccess","referencedDeclaration":5986,"src":"6042:9:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":2102,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6042:11:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2103,"nodeType":"ExpressionStatement","src":"6042:11:26"}]},"documentation":{"id":2052,"nodeType":"StructuredDocumentation","src":"5559:28:26","text":"@inheritdoc IPoolManager"},"functionSelector":"48c89491","id":2105,"implemented":true,"kind":"function","modifiers":[],"name":"unlock","nameLocation":"5601:6:26","nodeType":"FunctionDefinition","overrides":{"id":2056,"nodeType":"OverrideSpecifier","overrides":[],"src":"5638:8:26"},"parameters":{"id":2055,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2054,"mutability":"mutable","name":"data","nameLocation":"5623:4:26","nodeType":"VariableDeclaration","scope":2105,"src":"5608:19:26","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":2053,"name":"bytes","nodeType":"ElementaryTypeName","src":"5608:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5607:21:26"},"returnParameters":{"id":2059,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2058,"mutability":"mutable","name":"result","nameLocation":"5669:6:26","nodeType":"VariableDeclaration","scope":2105,"src":"5656:19:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2057,"name":"bytes","nodeType":"ElementaryTypeName","src":"5656:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5655:21:26"},"scope":3138,"src":"5592:468:26","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[3778],"body":{"id":2251,"nodeType":"Block","src":"6206:1338:26","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":2121,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":2118,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6323:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2119,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6327:11:26","memberName":"tickSpacing","nodeType":"MemberAccess","referencedDeclaration":11058,"src":"6323:15:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":2120,"name":"MAX_TICK_SPACING","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2015,"src":"6341:16:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"6323:34:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2131,"nodeType":"IfStatement","src":"6319:96:26","trueBody":{"expression":{"arguments":[{"expression":{"id":2127,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6399:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2128,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6403:11:26","memberName":"tickSpacing","nodeType":"MemberAccess","referencedDeclaration":11058,"src":"6399:15:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"expression":{"id":2122,"name":"TickSpacingTooLarge","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3664,"src":"6359:19:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_int24_$returns$_t_error_$","typeString":"function (int24) pure returns (error)"}},"id":2125,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6379:8:26","memberName":"selector","nodeType":"MemberAccess","src":"6359:28:26","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":2126,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6388:10:26","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4387,"src":"6359:39:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_int24_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,int24) pure"}},"id":2129,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6359:56:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2130,"nodeType":"ExpressionStatement","src":"6359:56:26"}},{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":2135,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":2132,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6429:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2133,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6433:11:26","memberName":"tickSpacing","nodeType":"MemberAccess","referencedDeclaration":11058,"src":"6429:15:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":2134,"name":"MIN_TICK_SPACING","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2019,"src":"6447:16:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"6429:34:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2145,"nodeType":"IfStatement","src":"6425:96:26","trueBody":{"expression":{"arguments":[{"expression":{"id":2141,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6505:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2142,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6509:11:26","memberName":"tickSpacing","nodeType":"MemberAccess","referencedDeclaration":11058,"src":"6505:15:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"expression":{"id":2136,"name":"TickSpacingTooSmall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3669,"src":"6465:19:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_int24_$returns$_t_error_$","typeString":"function (int24) pure returns (error)"}},"id":2139,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6485:8:26","memberName":"selector","nodeType":"MemberAccess","src":"6465:28:26","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":2140,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6494:10:26","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4387,"src":"6465:39:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_int24_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,int24) pure"}},"id":2143,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6465:56:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2144,"nodeType":"ExpressionStatement","src":"6465:56:26"}},{"condition":{"commonType":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"function":10816,"id":2150,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":2146,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6535:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2147,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6539:9:26","memberName":"currency0","nodeType":"MemberAccess","referencedDeclaration":11048,"src":"6535:13:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":2148,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6552:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2149,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6556:9:26","memberName":"currency1","nodeType":"MemberAccess","referencedDeclaration":11052,"src":"6552:13:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"src":"6535:30:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2169,"nodeType":"IfStatement","src":"6531:202:26","trueBody":{"id":2168,"nodeType":"Block","src":"6567:166:26","statements":[{"expression":{"arguments":[{"arguments":[{"expression":{"id":2158,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6662:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2159,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6666:9:26","memberName":"currency0","nodeType":"MemberAccess","referencedDeclaration":11048,"src":"6662:13:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":2156,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"6646:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":2157,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6655:6:26","memberName":"unwrap","nodeType":"MemberAccess","src":"6646:15:26","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":2160,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6646:30:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"expression":{"id":2163,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6694:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2164,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6698:9:26","memberName":"currency1","nodeType":"MemberAccess","referencedDeclaration":11052,"src":"6694:13:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":2161,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"6678:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":2162,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6687:6:26","memberName":"unwrap","nodeType":"MemberAccess","src":"6678:15:26","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":2165,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6678:30:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"expression":{"id":2151,"name":"CurrenciesOutOfOrderOrEqual","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3676,"src":"6581:27:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_address_$returns$_t_error_$","typeString":"function (address,address) pure returns (error)"}},"id":2154,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6609:8:26","memberName":"selector","nodeType":"MemberAccess","src":"6581:36:26","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":2155,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6618:10:26","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4433,"src":"6581:47:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_address_$_t_address_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,address,address) pure"}},"id":2166,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6581:141:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2167,"nodeType":"ExpressionStatement","src":"6581:141:26"}]}},{"condition":{"id":2176,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"6746:38:26","subExpression":{"arguments":[{"expression":{"id":2173,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6776:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2174,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6780:3:26","memberName":"fee","nodeType":"MemberAccess","referencedDeclaration":11055,"src":"6776:7:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"expression":{"id":2170,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6747:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2171,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6751:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"6747:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":2172,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6757:18:26","memberName":"isValidHookAddress","nodeType":"MemberAccess","referencedDeclaration":5035,"src":"6747:28:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint24_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint24) pure returns (bool)"}},"id":2175,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6747:37:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2191,"nodeType":"IfStatement","src":"6742:109:26","trueBody":{"expression":{"arguments":[{"arguments":[{"expression":{"id":2186,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6840:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2187,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6844:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"6840:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":2185,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6832:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2184,"name":"address","nodeType":"ElementaryTypeName","src":"6832:7:26","typeDescriptions":{}}},"id":2188,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6832:18:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"expression":{"expression":{"id":2177,"name":"Hooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5805,"src":"6786:5:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Hooks_$5805_$","typeString":"type(library Hooks)"}},"id":2181,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6792:19:26","memberName":"HookAddressNotValid","nodeType":"MemberAccess","referencedDeclaration":4795,"src":"6786:25:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":2182,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6812:8:26","memberName":"selector","nodeType":"MemberAccess","src":"6786:34:26","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":2183,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6821:10:26","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4377,"src":"6786:45:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_address_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,address) pure"}},"id":2189,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6786:65:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2190,"nodeType":"ExpressionStatement","src":"6786:65:26"}},{"assignments":[2193],"declarations":[{"constant":false,"id":2193,"mutability":"mutable","name":"lpFee","nameLocation":"6869:5:26","nodeType":"VariableDeclaration","scope":2251,"src":"6862:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":2192,"name":"uint24","nodeType":"ElementaryTypeName","src":"6862:6:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"id":2198,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":2194,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6877:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2195,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6881:3:26","memberName":"fee","nodeType":"MemberAccess","referencedDeclaration":11055,"src":"6877:7:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":2196,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6885:15:26","memberName":"getInitialLPFee","nodeType":"MemberAccess","referencedDeclaration":5905,"src":"6877:23:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$_t_uint24_$attached_to$_t_uint24_$","typeString":"function (uint24) pure returns (uint24)"}},"id":2197,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6877:25:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"VariableDeclarationStatement","src":"6862:40:26"},{"expression":{"arguments":[{"id":2204,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6940:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":2205,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2111,"src":"6945:12:26","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"expression":{"id":2199,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6913:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2202,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6917:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"6913:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":2203,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6923:16:26","memberName":"beforeInitialize","nodeType":"MemberAccess","referencedDeclaration":5187,"src":"6913:26:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint160_$returns$__$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,struct PoolKey memory,uint160)"}},"id":2206,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6913:45:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2207,"nodeType":"ExpressionStatement","src":"6913:45:26"},{"assignments":[2210],"declarations":[{"constant":false,"id":2210,"mutability":"mutable","name":"id","nameLocation":"6976:2:26","nodeType":"VariableDeclaration","scope":2251,"src":"6969:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":2209,"nodeType":"UserDefinedTypeName","pathNode":{"id":2208,"name":"PoolId","nameLocations":["6969:6:26"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"6969:6:26"},"referencedDeclaration":11017,"src":"6969:6:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"}],"id":2214,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2211,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"6981:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2212,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6985:4:26","memberName":"toId","nodeType":"MemberAccess","referencedDeclaration":11030,"src":"6981:8:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_PoolKey_$11063_memory_ptr_$returns$_t_userDefinedValueType$_PoolId_$11017_$attached_to$_t_struct$_PoolKey_$11063_memory_ptr_$","typeString":"function (struct PoolKey memory) pure returns (PoolId)"}},"id":2213,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6981:10:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"nodeType":"VariableDeclarationStatement","src":"6969:22:26"},{"expression":{"id":2223,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2215,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2116,"src":"7002:4:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2220,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2111,"src":"7031:12:26","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":2221,"name":"lpFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2193,"src":"7045:5:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"baseExpression":{"id":2216,"name":"_pools","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2025,"src":"7009:6:26","typeDescriptions":{"typeIdentifier":"t_mapping$_t_userDefinedValueType$_PoolId_$11017_$_t_struct$_State_$6192_storage_$","typeString":"mapping(PoolId => struct Pool.State storage ref)"}},"id":2218,"indexExpression":{"id":2217,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2210,"src":"7016:2:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7009:10:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage","typeString":"struct Pool.State storage ref"}},"id":2219,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7020:10:26","memberName":"initialize","nodeType":"MemberAccess","referencedDeclaration":6295,"src":"7009:21:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_State_$6192_storage_ptr_$_t_uint160_$_t_uint24_$returns$_t_int24_$attached_to$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (struct Pool.State storage pointer,uint160,uint24) returns (int24)"}},"id":2222,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7009:42:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"7002:49:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":2224,"nodeType":"ExpressionStatement","src":"7002:49:26"},{"eventCall":{"arguments":[{"id":2226,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2210,"src":"7386:2:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"expression":{"id":2227,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"7390:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2228,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7394:9:26","memberName":"currency0","nodeType":"MemberAccess","referencedDeclaration":11048,"src":"7390:13:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"expression":{"id":2229,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"7405:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2230,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7409:9:26","memberName":"currency1","nodeType":"MemberAccess","referencedDeclaration":11052,"src":"7405:13:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"expression":{"id":2231,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"7420:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2232,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7424:3:26","memberName":"fee","nodeType":"MemberAccess","referencedDeclaration":11055,"src":"7420:7:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},{"expression":{"id":2233,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"7429:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2234,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7433:11:26","memberName":"tickSpacing","nodeType":"MemberAccess","referencedDeclaration":11058,"src":"7429:15:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":2235,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"7446:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2236,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7450:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"7446:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},{"id":2237,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2111,"src":"7457:12:26","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":2238,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2116,"src":"7471:4:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_uint24","typeString":"uint24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_int24","typeString":"int24"}],"id":2225,"name":"Initialize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3711,"src":"7375:10:26","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_userDefinedValueType$_PoolId_$11017_$_t_userDefinedValueType$_Currency_$10717_$_t_userDefinedValueType$_Currency_$10717_$_t_uint24_$_t_int24_$_t_contract$_IHooks_$3618_$_t_uint160_$_t_int24_$returns$__$","typeString":"function (PoolId,Currency,Currency,uint24,int24,contract IHooks,uint160,int24)"}},"id":2239,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7375:101:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2240,"nodeType":"EmitStatement","src":"7370:106:26"},{"expression":{"arguments":[{"id":2246,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"7513:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":2247,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2111,"src":"7518:12:26","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":2248,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2116,"src":"7532:4:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"expression":{"id":2241,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2109,"src":"7487:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2244,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7491:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"7487:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":2245,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7497:15:26","memberName":"afterInitialize","nodeType":"MemberAccess","referencedDeclaration":5227,"src":"7487:25:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint160_$_t_int24_$returns$__$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,struct PoolKey memory,uint160,int24)"}},"id":2249,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7487:50:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2250,"nodeType":"ExpressionStatement","src":"7487:50:26"}]},"documentation":{"id":2106,"nodeType":"StructuredDocumentation","src":"6066:28:26","text":"@inheritdoc IPoolManager"},"functionSelector":"6276cbbe","id":2252,"implemented":true,"kind":"function","modifiers":[{"id":2114,"kind":"modifierInvocation","modifierName":{"id":2113,"name":"noDelegateCall","nameLocations":["6170:14:26"],"nodeType":"IdentifierPath","referencedDeclaration":1917,"src":"6170:14:26"},"nodeType":"ModifierInvocation","src":"6170:14:26"}],"name":"initialize","nameLocation":"6108:10:26","nodeType":"FunctionDefinition","parameters":{"id":2112,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2109,"mutability":"mutable","name":"key","nameLocation":"6134:3:26","nodeType":"VariableDeclaration","scope":2252,"src":"6119:18:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":2108,"nodeType":"UserDefinedTypeName","pathNode":{"id":2107,"name":"PoolKey","nameLocations":["6119:7:26"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"6119:7:26"},"referencedDeclaration":11063,"src":"6119:7:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":2111,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"6147:12:26","nodeType":"VariableDeclaration","scope":2252,"src":"6139:20:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":2110,"name":"uint160","nodeType":"ElementaryTypeName","src":"6139:7:26","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"6118:42:26"},"returnParameters":{"id":2117,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2116,"mutability":"mutable","name":"tick","nameLocation":"6200:4:26","nodeType":"VariableDeclaration","scope":2252,"src":"6194:10:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2115,"name":"int24","nodeType":"ElementaryTypeName","src":"6194:5:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"6193:12:26"},"scope":3138,"src":"6099:1445:26","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[3805],"body":{"id":2395,"nodeType":"Block","src":"7835:1500:26","statements":[{"assignments":[2276],"declarations":[{"constant":false,"id":2276,"mutability":"mutable","name":"id","nameLocation":"7852:2:26","nodeType":"VariableDeclaration","scope":2395,"src":"7845:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":2275,"nodeType":"UserDefinedTypeName","pathNode":{"id":2274,"name":"PoolId","nameLocations":["7845:6:26"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"7845:6:26"},"referencedDeclaration":11017,"src":"7845:6:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"}],"id":2280,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2277,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2256,"src":"7857:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2278,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7861:4:26","memberName":"toId","nodeType":"MemberAccess","referencedDeclaration":11030,"src":"7857:8:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_PoolKey_$11063_memory_ptr_$returns$_t_userDefinedValueType$_PoolId_$11017_$attached_to$_t_struct$_PoolKey_$11063_memory_ptr_$","typeString":"function (struct PoolKey memory) pure returns (PoolId)"}},"id":2279,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7857:10:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"nodeType":"VariableDeclarationStatement","src":"7845:22:26"},{"id":2340,"nodeType":"Block","src":"7877:788:26","statements":[{"assignments":[2285],"declarations":[{"constant":false,"id":2285,"mutability":"mutable","name":"pool","nameLocation":"7910:4:26","nodeType":"VariableDeclaration","scope":2340,"src":"7891:23:26","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":2284,"nodeType":"UserDefinedTypeName","pathNode":{"id":2283,"name":"Pool.State","nameLocations":["7891:4:26","7896:5:26"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"7891:10:26"},"referencedDeclaration":6192,"src":"7891:10:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"}],"id":2289,"initialValue":{"arguments":[{"id":2287,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2276,"src":"7926:2:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"id":2286,"name":"_getPool","nodeType":"Identifier","overloadedDeclarations":[3125],"referencedDeclaration":3125,"src":"7917:8:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (PoolId) view returns (struct Pool.State storage pointer)"}},"id":2288,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7917:12:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"nodeType":"VariableDeclarationStatement","src":"7891:38:26"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2290,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2285,"src":"7943:4:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":2292,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7948:20:26","memberName":"checkPoolInitialized","nodeType":"MemberAccess","referencedDeclaration":7666,"src":"7943:25:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_State_$6192_storage_ptr_$returns$__$attached_to$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (struct Pool.State storage pointer) view"}},"id":2293,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7943:27:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2294,"nodeType":"ExpressionStatement","src":"7943:27:26"},{"expression":{"arguments":[{"id":2300,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2256,"src":"8017:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":2301,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2259,"src":"8022:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},{"id":2302,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2261,"src":"8030:8:26","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"expression":{"id":2295,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2256,"src":"7985:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2298,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7989:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"7985:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":2299,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7995:21:26","memberName":"beforeModifyLiquidity","nodeType":"MemberAccess","referencedDeclaration":5300,"src":"7985:31:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_ModifyLiquidityParams_$3787_memory_ptr_$_t_bytes_calldata_ptr_$returns$__$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,struct PoolKey memory,struct IPoolManager.ModifyLiquidityParams memory,bytes calldata)"}},"id":2303,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7985:54:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2304,"nodeType":"ExpressionStatement","src":"7985:54:26"},{"assignments":[2307],"declarations":[{"constant":false,"id":2307,"mutability":"mutable","name":"principalDelta","nameLocation":"8067:14:26","nodeType":"VariableDeclaration","scope":2340,"src":"8054:27:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":2306,"nodeType":"UserDefinedTypeName","pathNode":{"id":2305,"name":"BalanceDelta","nameLocations":["8054:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"8054:12:26"},"referencedDeclaration":10503,"src":"8054:12:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"id":2308,"nodeType":"VariableDeclarationStatement","src":"8054:27:26"},{"expression":{"id":2332,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":2309,"name":"principalDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2307,"src":"8096:14:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":2310,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2272,"src":"8112:11:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":2311,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"8095:29:26","typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"expression":{"id":2316,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"8221:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2317,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8225:6:26","memberName":"sender","nodeType":"MemberAccess","src":"8221:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":2318,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2259,"src":"8264:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},"id":2319,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8271:9:26","memberName":"tickLower","nodeType":"MemberAccess","referencedDeclaration":3780,"src":"8264:16:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":2320,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2259,"src":"8313:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},"id":2321,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8320:9:26","memberName":"tickUpper","nodeType":"MemberAccess","referencedDeclaration":3782,"src":"8313:16:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":2322,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2259,"src":"8367:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},"id":2323,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8374:14:26","memberName":"liquidityDelta","nodeType":"MemberAccess","referencedDeclaration":3784,"src":"8367:21:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":2324,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8389:8:26","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"8367:30:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":2325,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8367:32:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"expression":{"id":2326,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2256,"src":"8434:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2327,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8438:11:26","memberName":"tickSpacing","nodeType":"MemberAccess","referencedDeclaration":11058,"src":"8434:15:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":2328,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2259,"src":"8477:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},"id":2329,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8484:4:26","memberName":"salt","nodeType":"MemberAccess","referencedDeclaration":3786,"src":"8477:11:26","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":2314,"name":"Pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7731,"src":"8165:4:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Pool_$7731_$","typeString":"type(library Pool)"}},"id":2315,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8170:21:26","memberName":"ModifyLiquidityParams","nodeType":"MemberAccess","referencedDeclaration":6357,"src":"8165:26:26","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_ModifyLiquidityParams_$6357_storage_ptr_$","typeString":"type(struct Pool.ModifyLiquidityParams storage pointer)"}},"id":2330,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["8214:5:26","8253:9:26","8302:9:26","8351:14:26","8421:11:26","8471:4:26"],"names":["owner","tickLower","tickUpper","liquidityDelta","tickSpacing","salt"],"nodeType":"FunctionCall","src":"8165:342:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$6357_memory_ptr","typeString":"struct Pool.ModifyLiquidityParams memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$6357_memory_ptr","typeString":"struct Pool.ModifyLiquidityParams memory"}],"expression":{"id":2312,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2285,"src":"8127:4:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":2313,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8132:15:26","memberName":"modifyLiquidity","nodeType":"MemberAccess","referencedDeclaration":6693,"src":"8127:20:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_State_$6192_storage_ptr_$_t_struct$_ModifyLiquidityParams_$6357_memory_ptr_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$attached_to$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (struct Pool.State storage pointer,struct Pool.ModifyLiquidityParams memory) returns (BalanceDelta,BalanceDelta)"}},"id":2331,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8127:394:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"src":"8095:426:26","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2333,"nodeType":"ExpressionStatement","src":"8095:426:26"},{"expression":{"id":2338,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2334,"name":"callerDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2269,"src":"8612:11:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"function":10558,"id":2337,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2335,"name":"principalDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2307,"src":"8626:14:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":2336,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2272,"src":"8643:11:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"8626:28:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"8612:42:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":2339,"nodeType":"ExpressionStatement","src":"8612:42:26"}]},{"eventCall":{"arguments":[{"id":2342,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2276,"src":"8806:2:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"expression":{"id":2343,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"8810:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2344,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8814:6:26","memberName":"sender","nodeType":"MemberAccess","src":"8810:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":2345,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2259,"src":"8822:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},"id":2346,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8829:9:26","memberName":"tickLower","nodeType":"MemberAccess","referencedDeclaration":3780,"src":"8822:16:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":2347,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2259,"src":"8840:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},"id":2348,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8847:9:26","memberName":"tickUpper","nodeType":"MemberAccess","referencedDeclaration":3782,"src":"8840:16:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":2349,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2259,"src":"8858:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},"id":2350,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8865:14:26","memberName":"liquidityDelta","nodeType":"MemberAccess","referencedDeclaration":3784,"src":"8858:21:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"expression":{"id":2351,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2259,"src":"8881:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},"id":2352,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8888:4:26","memberName":"salt","nodeType":"MemberAccess","referencedDeclaration":3786,"src":"8881:11:26","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":2341,"name":"ModifyLiquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3727,"src":"8790:15:26","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_userDefinedValueType$_PoolId_$11017_$_t_address_$_t_int24_$_t_int24_$_t_int256_$_t_bytes32_$returns$__$","typeString":"function (PoolId,address,int24,int24,int256,bytes32)"}},"id":2353,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8790:103:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2354,"nodeType":"EmitStatement","src":"8785:108:26"},{"assignments":[2357],"declarations":[{"constant":false,"id":2357,"mutability":"mutable","name":"hookDelta","nameLocation":"8917:9:26","nodeType":"VariableDeclaration","scope":2395,"src":"8904:22:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":2356,"nodeType":"UserDefinedTypeName","pathNode":{"id":2355,"name":"BalanceDelta","nameLocations":["8904:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"8904:12:26"},"referencedDeclaration":10503,"src":"8904:12:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"id":2358,"nodeType":"VariableDeclarationStatement","src":"8904:22:26"},{"expression":{"id":2371,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":2359,"name":"callerDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2269,"src":"8937:11:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":2360,"name":"hookDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2357,"src":"8950:9:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":2361,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"8936:24:26","typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2365,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2256,"src":"8994:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":2366,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2259,"src":"8999:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},{"id":2367,"name":"callerDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2269,"src":"9007:11:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":2368,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2272,"src":"9020:11:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":2369,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2261,"src":"9033:8:26","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"},{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"expression":{"id":2362,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2256,"src":"8963:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2363,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8967:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"8963:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":2364,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8973:20:26","memberName":"afterModifyLiquidity","nodeType":"MemberAccess","referencedDeclaration":5428,"src":"8963:30:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_ModifyLiquidityParams_$3787_memory_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,struct PoolKey memory,struct IPoolManager.ModifyLiquidityParams memory,BalanceDelta,BalanceDelta,bytes calldata) returns (BalanceDelta,BalanceDelta)"}},"id":2370,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8963:79:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"src":"8936:106:26","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2372,"nodeType":"ExpressionStatement","src":"8936:106:26"},{"condition":{"commonType":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"function":10631,"id":2376,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2373,"name":"hookDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2357,"src":"9158:9:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"id":2374,"name":"BalanceDeltaLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10661,"src":"9171:19:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_BalanceDeltaLibrary_$10661_$","typeString":"type(library BalanceDeltaLibrary)"}},"id":2375,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9191:10:26","memberName":"ZERO_DELTA","nodeType":"MemberAccess","referencedDeclaration":10640,"src":"9171:30:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"9158:43:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2387,"nodeType":"IfStatement","src":"9154:109:26","trueBody":{"expression":{"arguments":[{"id":2378,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2256,"src":"9228:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":2379,"name":"hookDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2357,"src":"9233:9:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"arguments":[{"expression":{"id":2382,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2256,"src":"9252:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2383,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9256:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"9252:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":2381,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9244:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2380,"name":"address","nodeType":"ElementaryTypeName","src":"9244:7:26","typeDescriptions":{}}},"id":2384,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9244:18:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2377,"name":"_accountPoolBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3109,"src":"9203:24:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_address_$returns$__$","typeString":"function (struct PoolKey memory,BalanceDelta,address)"}},"id":2385,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9203:60:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2386,"nodeType":"ExpressionStatement","src":"9203:60:26"}},{"expression":{"arguments":[{"id":2389,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2256,"src":"9299:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":2390,"name":"callerDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2269,"src":"9304:11:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"expression":{"id":2391,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"9317:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2392,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9321:6:26","memberName":"sender","nodeType":"MemberAccess","src":"9317:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2388,"name":"_accountPoolBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3109,"src":"9274:24:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_address_$returns$__$","typeString":"function (struct PoolKey memory,BalanceDelta,address)"}},"id":2393,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9274:54:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2394,"nodeType":"ExpressionStatement","src":"9274:54:26"}]},"documentation":{"id":2253,"nodeType":"StructuredDocumentation","src":"7550:28:26","text":"@inheritdoc IPoolManager"},"functionSelector":"5a6bcfda","id":2396,"implemented":true,"kind":"function","modifiers":[{"id":2264,"kind":"modifierInvocation","modifierName":{"id":2263,"name":"onlyWhenUnlocked","nameLocations":["7742:16:26"],"nodeType":"IdentifierPath","referencedDeclaration":2042,"src":"7742:16:26"},"nodeType":"ModifierInvocation","src":"7742:16:26"},{"id":2266,"kind":"modifierInvocation","modifierName":{"id":2265,"name":"noDelegateCall","nameLocations":["7759:14:26"],"nodeType":"IdentifierPath","referencedDeclaration":1917,"src":"7759:14:26"},"nodeType":"ModifierInvocation","src":"7759:14:26"}],"name":"modifyLiquidity","nameLocation":"7592:15:26","nodeType":"FunctionDefinition","parameters":{"id":2262,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2256,"mutability":"mutable","name":"key","nameLocation":"7632:3:26","nodeType":"VariableDeclaration","scope":2396,"src":"7617:18:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":2255,"nodeType":"UserDefinedTypeName","pathNode":{"id":2254,"name":"PoolKey","nameLocations":["7617:7:26"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"7617:7:26"},"referencedDeclaration":11063,"src":"7617:7:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":2259,"mutability":"mutable","name":"params","nameLocation":"7687:6:26","nodeType":"VariableDeclaration","scope":2396,"src":"7645:48:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"},"typeName":{"id":2258,"nodeType":"UserDefinedTypeName","pathNode":{"id":2257,"name":"IPoolManager.ModifyLiquidityParams","nameLocations":["7645:12:26","7658:21:26"],"nodeType":"IdentifierPath","referencedDeclaration":3787,"src":"7645:34:26"},"referencedDeclaration":3787,"src":"7645:34:26","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_storage_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"}},"visibility":"internal"},{"constant":false,"id":2261,"mutability":"mutable","name":"hookData","nameLocation":"7718:8:26","nodeType":"VariableDeclaration","scope":2396,"src":"7703:23:26","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":2260,"name":"bytes","nodeType":"ElementaryTypeName","src":"7703:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7607:125:26"},"returnParameters":{"id":2273,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2269,"mutability":"mutable","name":"callerDelta","nameLocation":"7796:11:26","nodeType":"VariableDeclaration","scope":2396,"src":"7783:24:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":2268,"nodeType":"UserDefinedTypeName","pathNode":{"id":2267,"name":"BalanceDelta","nameLocations":["7783:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"7783:12:26"},"referencedDeclaration":10503,"src":"7783:12:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":2272,"mutability":"mutable","name":"feesAccrued","nameLocation":"7822:11:26","nodeType":"VariableDeclaration","scope":2396,"src":"7809:24:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":2271,"nodeType":"UserDefinedTypeName","pathNode":{"id":2270,"name":"BalanceDelta","nameLocations":["7809:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"7809:12:26"},"referencedDeclaration":10503,"src":"7809:12:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"7782:52:26"},"scope":3138,"src":"7583:1752:26","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[3830],"body":{"id":2537,"nodeType":"Block","src":"9582:1491:26","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":2418,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":2415,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2403,"src":"9596:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"}},"id":2416,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9603:15:26","memberName":"amountSpecified","nodeType":"MemberAccess","referencedDeclaration":3811,"src":"9596:22:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2417,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9622:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"9596:27:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2426,"nodeType":"IfStatement","src":"9592:77:26","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":2419,"name":"SwapAmountCannotBeZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3682,"src":"9625:22:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":2422,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9648:8:26","memberName":"selector","nodeType":"MemberAccess","src":"9625:31:26","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":2423,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9657:10:26","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"9625:42:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":2424,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9625:44:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2425,"nodeType":"ExpressionStatement","src":"9625:44:26"}},{"assignments":[2429],"declarations":[{"constant":false,"id":2429,"mutability":"mutable","name":"id","nameLocation":"9686:2:26","nodeType":"VariableDeclaration","scope":2537,"src":"9679:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":2428,"nodeType":"UserDefinedTypeName","pathNode":{"id":2427,"name":"PoolId","nameLocations":["9679:6:26"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"9679:6:26"},"referencedDeclaration":11017,"src":"9679:6:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"}],"id":2433,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2430,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2400,"src":"9691:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2431,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9695:4:26","memberName":"toId","nodeType":"MemberAccess","referencedDeclaration":11030,"src":"9691:8:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_PoolKey_$11063_memory_ptr_$returns$_t_userDefinedValueType$_PoolId_$11017_$attached_to$_t_struct$_PoolKey_$11063_memory_ptr_$","typeString":"function (struct PoolKey memory) pure returns (PoolId)"}},"id":2432,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9691:10:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"nodeType":"VariableDeclarationStatement","src":"9679:22:26"},{"assignments":[2438],"declarations":[{"constant":false,"id":2438,"mutability":"mutable","name":"pool","nameLocation":"9730:4:26","nodeType":"VariableDeclaration","scope":2537,"src":"9711:23:26","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":2437,"nodeType":"UserDefinedTypeName","pathNode":{"id":2436,"name":"Pool.State","nameLocations":["9711:4:26","9716:5:26"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"9711:10:26"},"referencedDeclaration":6192,"src":"9711:10:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"}],"id":2442,"initialValue":{"arguments":[{"id":2440,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2429,"src":"9746:2:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"id":2439,"name":"_getPool","nodeType":"Identifier","overloadedDeclarations":[3125],"referencedDeclaration":3125,"src":"9737:8:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (PoolId) view returns (struct Pool.State storage pointer)"}},"id":2441,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9737:12:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"nodeType":"VariableDeclarationStatement","src":"9711:38:26"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2443,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2438,"src":"9759:4:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":2445,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9764:20:26","memberName":"checkPoolInitialized","nodeType":"MemberAccess","referencedDeclaration":7666,"src":"9759:25:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_State_$6192_storage_ptr_$returns$__$attached_to$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (struct Pool.State storage pointer) view"}},"id":2446,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9759:27:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2447,"nodeType":"ExpressionStatement","src":"9759:27:26"},{"assignments":[2450],"declarations":[{"constant":false,"id":2450,"mutability":"mutable","name":"beforeSwapDelta","nameLocation":"9813:15:26","nodeType":"VariableDeclaration","scope":2537,"src":"9797:31:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"},"typeName":{"id":2449,"nodeType":"UserDefinedTypeName","pathNode":{"id":2448,"name":"BeforeSwapDelta","nameLocations":["9797:15:26"],"nodeType":"IdentifierPath","referencedDeclaration":10665,"src":"9797:15:26"},"referencedDeclaration":10665,"src":"9797:15:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"visibility":"internal"}],"id":2451,"nodeType":"VariableDeclarationStatement","src":"9797:31:26"},{"id":2496,"nodeType":"Block","src":"9838:807:26","statements":[{"assignments":[2453],"declarations":[{"constant":false,"id":2453,"mutability":"mutable","name":"amountToSwap","nameLocation":"9859:12:26","nodeType":"VariableDeclaration","scope":2496,"src":"9852:19:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":2452,"name":"int256","nodeType":"ElementaryTypeName","src":"9852:6:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":2454,"nodeType":"VariableDeclarationStatement","src":"9852:19:26"},{"assignments":[2456],"declarations":[{"constant":false,"id":2456,"mutability":"mutable","name":"lpFeeOverride","nameLocation":"9892:13:26","nodeType":"VariableDeclaration","scope":2496,"src":"9885:20:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":2455,"name":"uint24","nodeType":"ElementaryTypeName","src":"9885:6:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"id":2457,"nodeType":"VariableDeclarationStatement","src":"9885:20:26"},{"expression":{"id":2469,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":2458,"name":"amountToSwap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2453,"src":"9920:12:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"id":2459,"name":"beforeSwapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2450,"src":"9934:15:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},{"id":2460,"name":"lpFeeOverride","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2456,"src":"9951:13:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"id":2461,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"9919:46:26","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int256_$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$_t_uint24_$","typeString":"tuple(int256,BeforeSwapDelta,uint24)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2465,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2400,"src":"9989:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":2466,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2403,"src":"9994:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"}},{"id":2467,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2405,"src":"10002:8:26","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"expression":{"id":2462,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2400,"src":"9968:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2463,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9972:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"9968:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":2464,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9978:10:26","memberName":"beforeSwap","nodeType":"MemberAccess","referencedDeclaration":5569,"src":"9968:20:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_SwapParams_$3815_memory_ptr_$_t_bytes_calldata_ptr_$returns$_t_int256_$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$_t_uint24_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,struct PoolKey memory,struct IPoolManager.SwapParams memory,bytes calldata) returns (int256,BeforeSwapDelta,uint24)"}},"id":2468,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9968:43:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_int256_$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$_t_uint24_$","typeString":"tuple(int256,BeforeSwapDelta,uint24)"}},"src":"9919:92:26","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2470,"nodeType":"ExpressionStatement","src":"9919:92:26"},{"expression":{"id":2494,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2471,"name":"swapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2413,"src":"10159:9:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2473,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2438,"src":"10194:4:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},{"id":2474,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2429,"src":"10216:2:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"arguments":[{"expression":{"id":2477,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2400,"src":"10287:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2478,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"10291:11:26","memberName":"tickSpacing","nodeType":"MemberAccess","referencedDeclaration":11058,"src":"10287:15:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":2479,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2403,"src":"10336:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"}},"id":2480,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"10343:10:26","memberName":"zeroForOne","nodeType":"MemberAccess","referencedDeclaration":3808,"src":"10336:17:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":2481,"name":"amountToSwap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2453,"src":"10392:12:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"expression":{"id":2482,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2403,"src":"10445:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"}},"id":2483,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"10452:17:26","memberName":"sqrtPriceLimitX96","nodeType":"MemberAccess","referencedDeclaration":3814,"src":"10445:24:26","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":2484,"name":"lpFeeOverride","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2456,"src":"10506:13:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"id":2475,"name":"Pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7731,"src":"10236:4:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Pool_$7731_$","typeString":"type(library Pool)"}},"id":2476,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10241:10:26","memberName":"SwapParams","nodeType":"MemberAccess","referencedDeclaration":6728,"src":"10236:15:26","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_SwapParams_$6728_storage_ptr_$","typeString":"type(struct Pool.SwapParams storage pointer)"}},"id":2485,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["10274:11:26","10324:10:26","10375:15:26","10426:17:26","10491:13:26"],"names":["tickSpacing","zeroForOne","amountSpecified","sqrtPriceLimitX96","lpFeeOverride"],"nodeType":"FunctionCall","src":"10236:302:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},{"condition":{"expression":{"id":2486,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2403,"src":"10556:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"}},"id":2487,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"10563:10:26","memberName":"zeroForOne","nodeType":"MemberAccess","referencedDeclaration":3808,"src":"10556:17:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"expression":{"id":2490,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2400,"src":"10592:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2491,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"10596:9:26","memberName":"currency1","nodeType":"MemberAccess","referencedDeclaration":11052,"src":"10592:13:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":2492,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"10556:49:26","trueExpression":{"expression":{"id":2488,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2400,"src":"10576:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2489,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"10580:9:26","memberName":"currency0","nodeType":"MemberAccess","referencedDeclaration":11048,"src":"10576:13:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"},{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":2472,"name":"_swap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2603,"src":"10171:5:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_State_$6192_storage_ptr_$_t_userDefinedValueType$_PoolId_$11017_$_t_struct$_SwapParams_$6728_memory_ptr_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (struct Pool.State storage pointer,PoolId,struct Pool.SwapParams memory,Currency) returns (BalanceDelta)"}},"id":2493,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10171:463:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"10159:475:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":2495,"nodeType":"ExpressionStatement","src":"10159:475:26"}]},{"assignments":[2499],"declarations":[{"constant":false,"id":2499,"mutability":"mutable","name":"hookDelta","nameLocation":"10668:9:26","nodeType":"VariableDeclaration","scope":2537,"src":"10655:22:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":2498,"nodeType":"UserDefinedTypeName","pathNode":{"id":2497,"name":"BalanceDelta","nameLocations":["10655:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"10655:12:26"},"referencedDeclaration":10503,"src":"10655:12:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"id":2500,"nodeType":"VariableDeclarationStatement","src":"10655:22:26"},{"expression":{"id":2513,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":2501,"name":"swapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2413,"src":"10688:9:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":2502,"name":"hookDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2499,"src":"10699:9:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":2503,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"10687:22:26","typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2507,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2400,"src":"10732:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":2508,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2403,"src":"10737:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"}},{"id":2509,"name":"swapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2413,"src":"10745:9:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":2510,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2405,"src":"10756:8:26","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":2511,"name":"beforeSwapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2450,"src":"10766:15:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"},{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}],"expression":{"expression":{"id":2504,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2400,"src":"10712:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2505,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"10716:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"10712:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":2506,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10722:9:26","memberName":"afterSwap","nodeType":"MemberAccess","referencedDeclaration":5695,"src":"10712:19:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_SwapParams_$3815_memory_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,struct PoolKey memory,struct IPoolManager.SwapParams memory,BalanceDelta,bytes calldata,BeforeSwapDelta) returns (BalanceDelta,BalanceDelta)"}},"id":2512,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10712:70:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"src":"10687:95:26","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2514,"nodeType":"ExpressionStatement","src":"10687:95:26"},{"condition":{"commonType":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"function":10631,"id":2518,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2515,"name":"hookDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2499,"src":"10898:9:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"id":2516,"name":"BalanceDeltaLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10661,"src":"10911:19:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_BalanceDeltaLibrary_$10661_$","typeString":"type(library BalanceDeltaLibrary)"}},"id":2517,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10931:10:26","memberName":"ZERO_DELTA","nodeType":"MemberAccess","referencedDeclaration":10640,"src":"10911:30:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"10898:43:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2529,"nodeType":"IfStatement","src":"10894:109:26","trueBody":{"expression":{"arguments":[{"id":2520,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2400,"src":"10968:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":2521,"name":"hookDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2499,"src":"10973:9:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"arguments":[{"expression":{"id":2524,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2400,"src":"10992:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2525,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"10996:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"10992:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":2523,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10984:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2522,"name":"address","nodeType":"ElementaryTypeName","src":"10984:7:26","typeDescriptions":{}}},"id":2526,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10984:18:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2519,"name":"_accountPoolBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3109,"src":"10943:24:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_address_$returns$__$","typeString":"function (struct PoolKey memory,BalanceDelta,address)"}},"id":2527,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10943:60:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2528,"nodeType":"ExpressionStatement","src":"10943:60:26"}},{"expression":{"arguments":[{"id":2531,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2400,"src":"11039:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":2532,"name":"swapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2413,"src":"11044:9:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"expression":{"id":2533,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"11055:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2534,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11059:6:26","memberName":"sender","nodeType":"MemberAccess","src":"11055:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2530,"name":"_accountPoolBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3109,"src":"11014:24:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_address_$returns$__$","typeString":"function (struct PoolKey memory,BalanceDelta,address)"}},"id":2535,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11014:52:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2536,"nodeType":"ExpressionStatement","src":"11014:52:26"}]},"documentation":{"id":2397,"nodeType":"StructuredDocumentation","src":"9341:28:26","text":"@inheritdoc IPoolManager"},"functionSelector":"f3cd914c","id":2538,"implemented":true,"kind":"function","modifiers":[{"id":2408,"kind":"modifierInvocation","modifierName":{"id":2407,"name":"onlyWhenUnlocked","nameLocations":["9497:16:26"],"nodeType":"IdentifierPath","referencedDeclaration":2042,"src":"9497:16:26"},"nodeType":"ModifierInvocation","src":"9497:16:26"},{"id":2410,"kind":"modifierInvocation","modifierName":{"id":2409,"name":"noDelegateCall","nameLocations":["9522:14:26"],"nodeType":"IdentifierPath","referencedDeclaration":1917,"src":"9522:14:26"},"nodeType":"ModifierInvocation","src":"9522:14:26"}],"name":"swap","nameLocation":"9383:4:26","nodeType":"FunctionDefinition","parameters":{"id":2406,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2400,"mutability":"mutable","name":"key","nameLocation":"9403:3:26","nodeType":"VariableDeclaration","scope":2538,"src":"9388:18:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":2399,"nodeType":"UserDefinedTypeName","pathNode":{"id":2398,"name":"PoolKey","nameLocations":["9388:7:26"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"9388:7:26"},"referencedDeclaration":11063,"src":"9388:7:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":2403,"mutability":"mutable","name":"params","nameLocation":"9439:6:26","nodeType":"VariableDeclaration","scope":2538,"src":"9408:37:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams"},"typeName":{"id":2402,"nodeType":"UserDefinedTypeName","pathNode":{"id":2401,"name":"IPoolManager.SwapParams","nameLocations":["9408:12:26","9421:10:26"],"nodeType":"IdentifierPath","referencedDeclaration":3815,"src":"9408:23:26"},"referencedDeclaration":3815,"src":"9408:23:26","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_storage_ptr","typeString":"struct IPoolManager.SwapParams"}},"visibility":"internal"},{"constant":false,"id":2405,"mutability":"mutable","name":"hookData","nameLocation":"9462:8:26","nodeType":"VariableDeclaration","scope":2538,"src":"9447:23:26","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":2404,"name":"bytes","nodeType":"ElementaryTypeName","src":"9447:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"9387:84:26"},"returnParameters":{"id":2414,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2413,"mutability":"mutable","name":"swapDelta","nameLocation":"9567:9:26","nodeType":"VariableDeclaration","scope":2538,"src":"9554:22:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":2412,"nodeType":"UserDefinedTypeName","pathNode":{"id":2411,"name":"BalanceDelta","nameLocations":["9554:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"9554:12:26"},"referencedDeclaration":10503,"src":"9554:12:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"9553:24:26"},"scope":3138,"src":"9374:1699:26","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":2602,"nodeType":"Block","src":"11354:634:26","statements":[{"assignments":[2559,2561,2563,2566],"declarations":[{"constant":false,"id":2559,"mutability":"mutable","name":"delta","nameLocation":"11378:5:26","nodeType":"VariableDeclaration","scope":2602,"src":"11365:18:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":2558,"nodeType":"UserDefinedTypeName","pathNode":{"id":2557,"name":"BalanceDelta","nameLocations":["11365:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"11365:12:26"},"referencedDeclaration":10503,"src":"11365:12:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":2561,"mutability":"mutable","name":"amountToProtocol","nameLocation":"11393:16:26","nodeType":"VariableDeclaration","scope":2602,"src":"11385:24:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2560,"name":"uint256","nodeType":"ElementaryTypeName","src":"11385:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2563,"mutability":"mutable","name":"swapFee","nameLocation":"11418:7:26","nodeType":"VariableDeclaration","scope":2602,"src":"11411:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":2562,"name":"uint24","nodeType":"ElementaryTypeName","src":"11411:6:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":2566,"mutability":"mutable","name":"result","nameLocation":"11450:6:26","nodeType":"VariableDeclaration","scope":2602,"src":"11427:29:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult"},"typeName":{"id":2565,"nodeType":"UserDefinedTypeName","pathNode":{"id":2564,"name":"Pool.SwapResult","nameLocations":["11427:4:26","11432:10:26"],"nodeType":"IdentifierPath","referencedDeclaration":6700,"src":"11427:15:26"},"referencedDeclaration":6700,"src":"11427:15:26","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_storage_ptr","typeString":"struct Pool.SwapResult"}},"visibility":"internal"}],"id":2571,"initialValue":{"arguments":[{"id":2569,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2548,"src":"11482:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}],"expression":{"id":2567,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2542,"src":"11472:4:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":2568,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"11477:4:26","memberName":"swap","nodeType":"MemberAccess","referencedDeclaration":7343,"src":"11472:9:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_State_$6192_storage_ptr_$_t_struct$_SwapParams_$6728_memory_ptr_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_uint256_$_t_uint24_$_t_struct$_SwapResult_$6700_memory_ptr_$attached_to$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (struct Pool.State storage pointer,struct Pool.SwapParams memory) returns (BalanceDelta,uint256,uint24,struct Pool.SwapResult memory)"}},"id":2570,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11472:17:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_uint256_$_t_uint24_$_t_struct$_SwapResult_$6700_memory_ptr_$","typeString":"tuple(BalanceDelta,uint256,uint24,struct Pool.SwapResult memory)"}},"nodeType":"VariableDeclarationStatement","src":"11364:125:26"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2574,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2572,"name":"amountToProtocol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2561,"src":"11548:16:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":2573,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11567:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"11548:20:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2580,"nodeType":"IfStatement","src":"11544:78:26","trueBody":{"expression":{"arguments":[{"id":2576,"name":"inputCurrency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2551,"src":"11590:13:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":2577,"name":"amountToProtocol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2561,"src":"11605:16:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2575,"name":"_updateProtocolFees","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3364,"src":"11570:19:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$returns$__$","typeString":"function (Currency,uint256)"}},"id":2578,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11570:52:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2579,"nodeType":"ExpressionStatement","src":"11570:52:26"}},{"eventCall":{"arguments":[{"id":2582,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2545,"src":"11755:2:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"expression":{"id":2583,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"11771:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2584,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11775:6:26","memberName":"sender","nodeType":"MemberAccess","src":"11771:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2585,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2559,"src":"11795:5:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":2586,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11801:7:26","memberName":"amount0","nodeType":"MemberAccess","referencedDeclaration":10650,"src":"11795:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta) pure returns (int128)"}},"id":2587,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11795:15:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2588,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2559,"src":"11824:5:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":2589,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11830:7:26","memberName":"amount1","nodeType":"MemberAccess","referencedDeclaration":10660,"src":"11824:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta) pure returns (int128)"}},"id":2590,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11824:15:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"expression":{"id":2591,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2566,"src":"11853:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":2592,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"11860:12:26","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":6695,"src":"11853:19:26","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"expression":{"id":2593,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2566,"src":"11886:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":2594,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"11893:9:26","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6699,"src":"11886:16:26","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"expression":{"id":2595,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2566,"src":"11916:6:26","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":2596,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"11923:4:26","memberName":"tick","nodeType":"MemberAccess","referencedDeclaration":6697,"src":"11916:11:26","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":2597,"name":"swapFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2563,"src":"11941:7:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":2581,"name":"Swap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3747,"src":"11737:4:26","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_userDefinedValueType$_PoolId_$11017_$_t_address_$_t_int128_$_t_int128_$_t_uint160_$_t_uint128_$_t_int24_$_t_uint24_$returns$__$","typeString":"function (PoolId,address,int128,int128,uint160,uint128,int24,uint24)"}},"id":2598,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11737:221:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2599,"nodeType":"EmitStatement","src":"11732:226:26"},{"expression":{"id":2600,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2559,"src":"11976:5:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"functionReturnParameters":2556,"id":2601,"nodeType":"Return","src":"11969:12:26"}]},"documentation":{"id":2539,"nodeType":"StructuredDocumentation","src":"11079:112:26","text":"@notice Internal swap function to execute a swap, take protocol fees on input token, and emit the swap event"},"id":2603,"implemented":true,"kind":"function","modifiers":[],"name":"_swap","nameLocation":"11205:5:26","nodeType":"FunctionDefinition","parameters":{"id":2552,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2542,"mutability":"mutable","name":"pool","nameLocation":"11230:4:26","nodeType":"VariableDeclaration","scope":2603,"src":"11211:23:26","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":2541,"nodeType":"UserDefinedTypeName","pathNode":{"id":2540,"name":"Pool.State","nameLocations":["11211:4:26","11216:5:26"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"11211:10:26"},"referencedDeclaration":6192,"src":"11211:10:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"},{"constant":false,"id":2545,"mutability":"mutable","name":"id","nameLocation":"11243:2:26","nodeType":"VariableDeclaration","scope":2603,"src":"11236:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":2544,"nodeType":"UserDefinedTypeName","pathNode":{"id":2543,"name":"PoolId","nameLocations":["11236:6:26"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"11236:6:26"},"referencedDeclaration":11017,"src":"11236:6:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":2548,"mutability":"mutable","name":"params","nameLocation":"11270:6:26","nodeType":"VariableDeclaration","scope":2603,"src":"11247:29:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams"},"typeName":{"id":2547,"nodeType":"UserDefinedTypeName","pathNode":{"id":2546,"name":"Pool.SwapParams","nameLocations":["11247:4:26","11252:10:26"],"nodeType":"IdentifierPath","referencedDeclaration":6728,"src":"11247:15:26"},"referencedDeclaration":6728,"src":"11247:15:26","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_storage_ptr","typeString":"struct Pool.SwapParams"}},"visibility":"internal"},{"constant":false,"id":2551,"mutability":"mutable","name":"inputCurrency","nameLocation":"11287:13:26","nodeType":"VariableDeclaration","scope":2603,"src":"11278:22:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":2550,"nodeType":"UserDefinedTypeName","pathNode":{"id":2549,"name":"Currency","nameLocations":["11278:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"11278:8:26"},"referencedDeclaration":10717,"src":"11278:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"11210:91:26"},"returnParameters":{"id":2556,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2555,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2603,"src":"11336:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":2554,"nodeType":"UserDefinedTypeName","pathNode":{"id":2553,"name":"BalanceDelta","nameLocations":["11336:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"11336:12:26"},"referencedDeclaration":10503,"src":"11336:12:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"11335:14:26"},"scope":3138,"src":"11196:792:26","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[3846],"body":{"id":2689,"nodeType":"Block","src":"12228:531:26","statements":[{"assignments":[2625],"declarations":[{"constant":false,"id":2625,"mutability":"mutable","name":"poolId","nameLocation":"12245:6:26","nodeType":"VariableDeclaration","scope":2689,"src":"12238:13:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":2624,"nodeType":"UserDefinedTypeName","pathNode":{"id":2623,"name":"PoolId","nameLocations":["12238:6:26"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"12238:6:26"},"referencedDeclaration":11017,"src":"12238:6:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"}],"id":2629,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2626,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2607,"src":"12254:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2627,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12258:4:26","memberName":"toId","nodeType":"MemberAccess","referencedDeclaration":11030,"src":"12254:8:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_PoolKey_$11063_memory_ptr_$returns$_t_userDefinedValueType$_PoolId_$11017_$attached_to$_t_struct$_PoolKey_$11063_memory_ptr_$","typeString":"function (struct PoolKey memory) pure returns (PoolId)"}},"id":2628,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12254:10:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"nodeType":"VariableDeclarationStatement","src":"12238:26:26"},{"assignments":[2634],"declarations":[{"constant":false,"id":2634,"mutability":"mutable","name":"pool","nameLocation":"12293:4:26","nodeType":"VariableDeclaration","scope":2689,"src":"12274:23:26","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":2633,"nodeType":"UserDefinedTypeName","pathNode":{"id":2632,"name":"Pool.State","nameLocations":["12274:4:26","12279:5:26"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"12274:10:26"},"referencedDeclaration":6192,"src":"12274:10:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"}],"id":2638,"initialValue":{"arguments":[{"id":2636,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2625,"src":"12309:6:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"id":2635,"name":"_getPool","nodeType":"Identifier","overloadedDeclarations":[3125],"referencedDeclaration":3125,"src":"12300:8:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (PoolId) view returns (struct Pool.State storage pointer)"}},"id":2637,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12300:16:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"nodeType":"VariableDeclarationStatement","src":"12274:42:26"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2639,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2634,"src":"12326:4:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":2641,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12331:20:26","memberName":"checkPoolInitialized","nodeType":"MemberAccess","referencedDeclaration":7666,"src":"12326:25:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_State_$6192_storage_ptr_$returns$__$attached_to$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (struct Pool.State storage pointer) view"}},"id":2642,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12326:27:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2643,"nodeType":"ExpressionStatement","src":"12326:27:26"},{"expression":{"arguments":[{"id":2649,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2607,"src":"12387:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":2650,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2609,"src":"12392:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2651,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2611,"src":"12401:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2652,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2613,"src":"12410:8:26","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"expression":{"id":2644,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2607,"src":"12364:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2647,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12368:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"12364:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":2648,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12374:12:26","memberName":"beforeDonate","nodeType":"MemberAccess","referencedDeclaration":5738,"src":"12364:22:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$returns$__$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,struct PoolKey memory,uint256,uint256,bytes calldata)"}},"id":2653,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12364:55:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2654,"nodeType":"ExpressionStatement","src":"12364:55:26"},{"expression":{"id":2661,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2655,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2621,"src":"12430:5:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2658,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2609,"src":"12450:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2659,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2611,"src":"12459:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":2656,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2634,"src":"12438:4:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":2657,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12443:6:26","memberName":"donate","nodeType":"MemberAccess","referencedDeclaration":7424,"src":"12438:11:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_State_$6192_storage_ptr_$_t_uint256_$_t_uint256_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$attached_to$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (struct Pool.State storage pointer,uint256,uint256) returns (BalanceDelta)"}},"id":2660,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12438:29:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"12430:37:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":2662,"nodeType":"ExpressionStatement","src":"12430:37:26"},{"expression":{"arguments":[{"id":2664,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2607,"src":"12503:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":2665,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2621,"src":"12508:5:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"expression":{"id":2666,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"12515:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2667,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12519:6:26","memberName":"sender","nodeType":"MemberAccess","src":"12515:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2663,"name":"_accountPoolBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3109,"src":"12478:24:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_address_$returns$__$","typeString":"function (struct PoolKey memory,BalanceDelta,address)"}},"id":2668,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12478:48:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2669,"nodeType":"ExpressionStatement","src":"12478:48:26"},{"eventCall":{"arguments":[{"id":2671,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2625,"src":"12650:6:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"expression":{"id":2672,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"12658:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2673,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12662:6:26","memberName":"sender","nodeType":"MemberAccess","src":"12658:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2674,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2609,"src":"12670:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2675,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2611,"src":"12679:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2670,"name":"Donate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3759,"src":"12643:6:26","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_userDefinedValueType$_PoolId_$11017_$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (PoolId,address,uint256,uint256)"}},"id":2676,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12643:44:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2677,"nodeType":"EmitStatement","src":"12638:49:26"},{"expression":{"arguments":[{"id":2683,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2607,"src":"12720:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":2684,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2609,"src":"12725:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2685,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2611,"src":"12734:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2686,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2613,"src":"12743:8:26","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"expression":{"id":2678,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2607,"src":"12698:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2681,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12702:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"12698:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":2682,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12708:11:26","memberName":"afterDonate","nodeType":"MemberAccess","referencedDeclaration":5781,"src":"12698:21:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$returns$__$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,struct PoolKey memory,uint256,uint256,bytes calldata)"}},"id":2687,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12698:54:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2688,"nodeType":"ExpressionStatement","src":"12698:54:26"}]},"documentation":{"id":2604,"nodeType":"StructuredDocumentation","src":"11994:28:26","text":"@inheritdoc IPoolManager"},"functionSelector":"234266d7","id":2690,"implemented":true,"kind":"function","modifiers":[{"id":2616,"kind":"modifierInvocation","modifierName":{"id":2615,"name":"onlyWhenUnlocked","nameLocations":["12147:16:26"],"nodeType":"IdentifierPath","referencedDeclaration":2042,"src":"12147:16:26"},"nodeType":"ModifierInvocation","src":"12147:16:26"},{"id":2618,"kind":"modifierInvocation","modifierName":{"id":2617,"name":"noDelegateCall","nameLocations":["12172:14:26"],"nodeType":"IdentifierPath","referencedDeclaration":1917,"src":"12172:14:26"},"nodeType":"ModifierInvocation","src":"12172:14:26"}],"name":"donate","nameLocation":"12036:6:26","nodeType":"FunctionDefinition","parameters":{"id":2614,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2607,"mutability":"mutable","name":"key","nameLocation":"12058:3:26","nodeType":"VariableDeclaration","scope":2690,"src":"12043:18:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":2606,"nodeType":"UserDefinedTypeName","pathNode":{"id":2605,"name":"PoolKey","nameLocations":["12043:7:26"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"12043:7:26"},"referencedDeclaration":11063,"src":"12043:7:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":2609,"mutability":"mutable","name":"amount0","nameLocation":"12071:7:26","nodeType":"VariableDeclaration","scope":2690,"src":"12063:15:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2608,"name":"uint256","nodeType":"ElementaryTypeName","src":"12063:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2611,"mutability":"mutable","name":"amount1","nameLocation":"12088:7:26","nodeType":"VariableDeclaration","scope":2690,"src":"12080:15:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2610,"name":"uint256","nodeType":"ElementaryTypeName","src":"12080:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2613,"mutability":"mutable","name":"hookData","nameLocation":"12112:8:26","nodeType":"VariableDeclaration","scope":2690,"src":"12097:23:26","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":2612,"name":"bytes","nodeType":"ElementaryTypeName","src":"12097:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"12042:79:26"},"returnParameters":{"id":2622,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2621,"mutability":"mutable","name":"delta","nameLocation":"12217:5:26","nodeType":"VariableDeclaration","scope":2690,"src":"12204:18:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":2620,"nodeType":"UserDefinedTypeName","pathNode":{"id":2619,"name":"BalanceDelta","nameLocations":["12204:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"12204:12:26"},"referencedDeclaration":10503,"src":"12204:12:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"12203:20:26"},"scope":3138,"src":"12027:732:26","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[3853],"body":{"id":2721,"nodeType":"Block","src":"12840:411:26","statements":[{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2697,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2694,"src":"12908:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":2698,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12917:13:26","memberName":"isAddressZero","nodeType":"MemberAccess","referencedDeclaration":10973,"src":"12908:22:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_bool_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) pure returns (bool)"}},"id":2699,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12908:24:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2719,"nodeType":"Block","src":"13105:140:26","statements":[{"assignments":[2707],"declarations":[{"constant":false,"id":2707,"mutability":"mutable","name":"balance","nameLocation":"13127:7:26","nodeType":"VariableDeclaration","scope":2719,"src":"13119:15:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2706,"name":"uint256","nodeType":"ElementaryTypeName","src":"13119:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2711,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2708,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2694,"src":"13137:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":2709,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13146:13:26","memberName":"balanceOfSelf","nodeType":"MemberAccess","referencedDeclaration":10924,"src":"13137:22:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) view returns (uint256)"}},"id":2710,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13137:24:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"13119:42:26"},{"expression":{"arguments":[{"id":2715,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2694,"src":"13216:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":2716,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2707,"src":"13226:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":2712,"name":"CurrencyReserves","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"13175:16:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurrencyReserves_$4345_$","typeString":"type(library CurrencyReserves)"}},"id":2714,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13192:23:26","memberName":"syncCurrencyAndReserves","nodeType":"MemberAccess","referencedDeclaration":4337,"src":"13175:40:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$returns$__$","typeString":"function (Currency,uint256)"}},"id":2717,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13175:59:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2718,"nodeType":"ExpressionStatement","src":"13175:59:26"}]},"id":2720,"nodeType":"IfStatement","src":"12904:341:26","trueBody":{"id":2705,"nodeType":"Block","src":"12934:165:26","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2700,"name":"CurrencyReserves","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"13056:16:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurrencyReserves_$4345_$","typeString":"type(library CurrencyReserves)"}},"id":2702,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13073:13:26","memberName":"resetCurrency","nodeType":"MemberAccess","referencedDeclaration":4327,"src":"13056:30:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":2703,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13056:32:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2704,"nodeType":"ExpressionStatement","src":"13056:32:26"}]}}]},"documentation":{"id":2691,"nodeType":"StructuredDocumentation","src":"12765:28:26","text":"@inheritdoc IPoolManager"},"functionSelector":"a5841194","id":2722,"implemented":true,"kind":"function","modifiers":[],"name":"sync","nameLocation":"12807:4:26","nodeType":"FunctionDefinition","parameters":{"id":2695,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2694,"mutability":"mutable","name":"currency","nameLocation":"12821:8:26","nodeType":"VariableDeclaration","scope":2722,"src":"12812:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":2693,"nodeType":"UserDefinedTypeName","pathNode":{"id":2692,"name":"Currency","nameLocations":["12812:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"12812:8:26"},"referencedDeclaration":10717,"src":"12812:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"12811:19:26"},"returnParameters":{"id":2696,"nodeType":"ParameterList","parameters":[],"src":"12840:0:26"},"scope":3138,"src":"12798:453:26","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[3864],"body":{"id":2754,"nodeType":"Block","src":"13377:214:26","statements":[{"id":2753,"nodeType":"UncheckedBlock","src":"13387:198:26","statements":[{"expression":{"arguments":[{"id":2736,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2726,"src":"13488:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":2741,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"13498:20:26","subExpression":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2737,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2730,"src":"13500:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2738,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13507:8:26","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8144,"src":"13500:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int128)"}},"id":2739,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13500:17:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"id":2740,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"13499:19:26","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"expression":{"id":2742,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"13520:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2743,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13524:6:26","memberName":"sender","nodeType":"MemberAccess","src":"13520:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2735,"name":"_accountDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"13474:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_int128_$_t_address_$returns$__$","typeString":"function (Currency,int128,address)"}},"id":2744,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13474:57:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2745,"nodeType":"ExpressionStatement","src":"13474:57:26"},{"expression":{"arguments":[{"id":2749,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2728,"src":"13563:2:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2750,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2730,"src":"13567:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":2746,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2726,"src":"13545:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":2748,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13554:8:26","memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":10890,"src":"13545:17:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency,address,uint256)"}},"id":2751,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13545:29:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2752,"nodeType":"ExpressionStatement","src":"13545:29:26"}]}]},"documentation":{"id":2723,"nodeType":"StructuredDocumentation","src":"13257:28:26","text":"@inheritdoc IPoolManager"},"functionSelector":"0b0d9c09","id":2755,"implemented":true,"kind":"function","modifiers":[{"id":2733,"kind":"modifierInvocation","modifierName":{"id":2732,"name":"onlyWhenUnlocked","nameLocations":["13360:16:26"],"nodeType":"IdentifierPath","referencedDeclaration":2042,"src":"13360:16:26"},"nodeType":"ModifierInvocation","src":"13360:16:26"}],"name":"take","nameLocation":"13299:4:26","nodeType":"FunctionDefinition","parameters":{"id":2731,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2726,"mutability":"mutable","name":"currency","nameLocation":"13313:8:26","nodeType":"VariableDeclaration","scope":2755,"src":"13304:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":2725,"nodeType":"UserDefinedTypeName","pathNode":{"id":2724,"name":"Currency","nameLocations":["13304:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"13304:8:26"},"referencedDeclaration":10717,"src":"13304:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":2728,"mutability":"mutable","name":"to","nameLocation":"13331:2:26","nodeType":"VariableDeclaration","scope":2755,"src":"13323:10:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2727,"name":"address","nodeType":"ElementaryTypeName","src":"13323:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2730,"mutability":"mutable","name":"amount","nameLocation":"13343:6:26","nodeType":"VariableDeclaration","scope":2755,"src":"13335:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2729,"name":"uint256","nodeType":"ElementaryTypeName","src":"13335:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13303:47:26"},"returnParameters":{"id":2734,"nodeType":"ParameterList","parameters":[],"src":"13377:0:26"},"scope":3138,"src":"13290:301:26","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[3870],"body":{"id":2768,"nodeType":"Block","src":"13700:43:26","statements":[{"expression":{"arguments":[{"expression":{"id":2764,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"13725:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2765,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13729:6:26","memberName":"sender","nodeType":"MemberAccess","src":"13725:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2763,"name":"_settle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3031,"src":"13717:7:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$_t_uint256_$","typeString":"function (address) returns (uint256)"}},"id":2766,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13717:19:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2762,"id":2767,"nodeType":"Return","src":"13710:26:26"}]},"documentation":{"id":2756,"nodeType":"StructuredDocumentation","src":"13597:28:26","text":"@inheritdoc IPoolManager"},"functionSelector":"11da60b4","id":2769,"implemented":true,"kind":"function","modifiers":[{"id":2759,"kind":"modifierInvocation","modifierName":{"id":2758,"name":"onlyWhenUnlocked","nameLocations":["13665:16:26"],"nodeType":"IdentifierPath","referencedDeclaration":2042,"src":"13665:16:26"},"nodeType":"ModifierInvocation","src":"13665:16:26"}],"name":"settle","nameLocation":"13639:6:26","nodeType":"FunctionDefinition","parameters":{"id":2757,"nodeType":"ParameterList","parameters":[],"src":"13645:2:26"},"returnParameters":{"id":2762,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2761,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2769,"src":"13691:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2760,"name":"uint256","nodeType":"ElementaryTypeName","src":"13691:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13690:9:26"},"scope":3138,"src":"13630:113:26","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[3878],"body":{"id":2783,"nodeType":"Block","src":"13872:42:26","statements":[{"expression":{"arguments":[{"id":2780,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2772,"src":"13897:9:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2779,"name":"_settle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3031,"src":"13889:7:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$_t_uint256_$","typeString":"function (address) returns (uint256)"}},"id":2781,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13889:18:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2778,"id":2782,"nodeType":"Return","src":"13882:25:26"}]},"documentation":{"id":2770,"nodeType":"StructuredDocumentation","src":"13749:28:26","text":"@inheritdoc IPoolManager"},"functionSelector":"3dd45adb","id":2784,"implemented":true,"kind":"function","modifiers":[{"id":2775,"kind":"modifierInvocation","modifierName":{"id":2774,"name":"onlyWhenUnlocked","nameLocations":["13837:16:26"],"nodeType":"IdentifierPath","referencedDeclaration":2042,"src":"13837:16:26"},"nodeType":"ModifierInvocation","src":"13837:16:26"}],"name":"settleFor","nameLocation":"13791:9:26","nodeType":"FunctionDefinition","parameters":{"id":2773,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2772,"mutability":"mutable","name":"recipient","nameLocation":"13809:9:26","nodeType":"VariableDeclaration","scope":2784,"src":"13801:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2771,"name":"address","nodeType":"ElementaryTypeName","src":"13801:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"13800:19:26"},"returnParameters":{"id":2778,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2777,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2784,"src":"13863:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2776,"name":"uint256","nodeType":"ElementaryTypeName","src":"13863:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13862:9:26"},"scope":3138,"src":"13782:132:26","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[3887],"body":{"id":2830,"nodeType":"Block","src":"14029:430:26","statements":[{"assignments":[2796],"declarations":[{"constant":false,"id":2796,"mutability":"mutable","name":"current","nameLocation":"14046:7:26","nodeType":"VariableDeclaration","scope":2830,"src":"14039:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":2795,"name":"int256","nodeType":"ElementaryTypeName","src":"14039:6:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":2802,"initialValue":{"arguments":[{"expression":{"id":2799,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"14074:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2800,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14078:6:26","memberName":"sender","nodeType":"MemberAccess","src":"14074:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":2797,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2788,"src":"14056:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":2798,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14065:8:26","memberName":"getDelta","nodeType":"MemberAccess","referencedDeclaration":4265,"src":"14056:17:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$_t_address_$returns$_t_int256_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency,address) view returns (int256)"}},"id":2801,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14056:29:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"VariableDeclarationStatement","src":"14039:46:26"},{"assignments":[2804],"declarations":[{"constant":false,"id":2804,"mutability":"mutable","name":"amountDelta","nameLocation":"14179:11:26","nodeType":"VariableDeclaration","scope":2830,"src":"14172:18:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":2803,"name":"int128","nodeType":"ElementaryTypeName","src":"14172:6:26","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"id":2808,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2805,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2790,"src":"14193:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2806,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14200:8:26","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8144,"src":"14193:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int128)"}},"id":2807,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14193:17:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"VariableDeclarationStatement","src":"14172:38:26"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":2811,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2809,"name":"amountDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2804,"src":"14224:11:26","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":2810,"name":"current","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2796,"src":"14239:7:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"14224:22:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2819,"nodeType":"IfStatement","src":"14220:77:26","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":2812,"name":"MustClearExactPositiveDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3688,"src":"14248:27:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":2815,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14276:8:26","memberName":"selector","nodeType":"MemberAccess","src":"14248:36:26","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":2816,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14285:10:26","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"14248:47:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":2817,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14248:49:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2818,"nodeType":"ExpressionStatement","src":"14248:49:26"}},{"id":2829,"nodeType":"UncheckedBlock","src":"14367:86:26","statements":[{"expression":{"arguments":[{"id":2821,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2788,"src":"14405:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":2824,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"14415:14:26","subExpression":{"components":[{"id":2822,"name":"amountDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2804,"src":"14417:11:26","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"id":2823,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"14416:13:26","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"expression":{"id":2825,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"14431:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2826,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14435:6:26","memberName":"sender","nodeType":"MemberAccess","src":"14431:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2820,"name":"_accountDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"14391:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_int128_$_t_address_$returns$__$","typeString":"function (Currency,int128,address)"}},"id":2827,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14391:51:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2828,"nodeType":"ExpressionStatement","src":"14391:51:26"}]}]},"documentation":{"id":2785,"nodeType":"StructuredDocumentation","src":"13920:28:26","text":"@inheritdoc IPoolManager"},"functionSelector":"80f0b44c","id":2831,"implemented":true,"kind":"function","modifiers":[{"id":2793,"kind":"modifierInvocation","modifierName":{"id":2792,"name":"onlyWhenUnlocked","nameLocations":["14012:16:26"],"nodeType":"IdentifierPath","referencedDeclaration":2042,"src":"14012:16:26"},"nodeType":"ModifierInvocation","src":"14012:16:26"}],"name":"clear","nameLocation":"13962:5:26","nodeType":"FunctionDefinition","parameters":{"id":2791,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2788,"mutability":"mutable","name":"currency","nameLocation":"13977:8:26","nodeType":"VariableDeclaration","scope":2831,"src":"13968:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":2787,"nodeType":"UserDefinedTypeName","pathNode":{"id":2786,"name":"Currency","nameLocations":["13968:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"13968:8:26"},"referencedDeclaration":10717,"src":"13968:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":2790,"mutability":"mutable","name":"amount","nameLocation":"13995:6:26","nodeType":"VariableDeclaration","scope":2831,"src":"13987:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2789,"name":"uint256","nodeType":"ElementaryTypeName","src":"13987:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13967:35:26"},"returnParameters":{"id":2794,"nodeType":"ParameterList","parameters":[],"src":"14029:0:26"},"scope":3138,"src":"13953:506:26","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[3897],"body":{"id":2871,"nodeType":"Block","src":"14578:279:26","statements":[{"id":2870,"nodeType":"UncheckedBlock","src":"14588:263:26","statements":[{"assignments":[2845],"declarations":[{"constant":false,"id":2845,"mutability":"mutable","name":"currency","nameLocation":"14621:8:26","nodeType":"VariableDeclaration","scope":2870,"src":"14612:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":2844,"nodeType":"UserDefinedTypeName","pathNode":{"id":2843,"name":"Currency","nameLocations":["14612:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"14612:8:26"},"referencedDeclaration":10717,"src":"14612:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"id":2850,"initialValue":{"arguments":[{"id":2848,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2836,"src":"14655:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":2846,"name":"CurrencyLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11011,"src":"14632:15:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurrencyLibrary_$11011_$","typeString":"type(library CurrencyLibrary)"}},"id":2847,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14648:6:26","memberName":"fromId","nodeType":"MemberAccess","referencedDeclaration":11010,"src":"14632:22:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (uint256) pure returns (Currency)"}},"id":2849,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14632:26:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"VariableDeclarationStatement","src":"14612:46:26"},{"expression":{"arguments":[{"id":2852,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2845,"src":"14749:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":2857,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"14759:20:26","subExpression":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2853,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2838,"src":"14761:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2854,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14768:8:26","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8144,"src":"14761:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int128)"}},"id":2855,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14761:17:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"id":2856,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"14760:19:26","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"expression":{"id":2858,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"14781:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2859,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14785:6:26","memberName":"sender","nodeType":"MemberAccess","src":"14781:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2851,"name":"_accountDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"14735:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_int128_$_t_address_$returns$__$","typeString":"function (Currency,int128,address)"}},"id":2860,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14735:57:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2861,"nodeType":"ExpressionStatement","src":"14735:57:26"},{"expression":{"arguments":[{"id":2863,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2834,"src":"14812:2:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2864,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2845,"src":"14816:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":2865,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14825:4:26","memberName":"toId","nodeType":"MemberAccess","referencedDeclaration":10990,"src":"14816:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) pure returns (uint256)"}},"id":2866,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14816:15:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2867,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2838,"src":"14833:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2862,"name":"_mint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1689,"src":"14806:5:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,uint256,uint256)"}},"id":2868,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14806:34:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2869,"nodeType":"ExpressionStatement","src":"14806:34:26"}]}]},"documentation":{"id":2832,"nodeType":"StructuredDocumentation","src":"14465:28:26","text":"@inheritdoc IPoolManager"},"functionSelector":"156e29f6","id":2872,"implemented":true,"kind":"function","modifiers":[{"id":2841,"kind":"modifierInvocation","modifierName":{"id":2840,"name":"onlyWhenUnlocked","nameLocations":["14561:16:26"],"nodeType":"IdentifierPath","referencedDeclaration":2042,"src":"14561:16:26"},"nodeType":"ModifierInvocation","src":"14561:16:26"}],"name":"mint","nameLocation":"14507:4:26","nodeType":"FunctionDefinition","parameters":{"id":2839,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2834,"mutability":"mutable","name":"to","nameLocation":"14520:2:26","nodeType":"VariableDeclaration","scope":2872,"src":"14512:10:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2833,"name":"address","nodeType":"ElementaryTypeName","src":"14512:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2836,"mutability":"mutable","name":"id","nameLocation":"14532:2:26","nodeType":"VariableDeclaration","scope":2872,"src":"14524:10:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2835,"name":"uint256","nodeType":"ElementaryTypeName","src":"14524:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2838,"mutability":"mutable","name":"amount","nameLocation":"14544:6:26","nodeType":"VariableDeclaration","scope":2872,"src":"14536:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2837,"name":"uint256","nodeType":"ElementaryTypeName","src":"14536:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14511:40:26"},"returnParameters":{"id":2842,"nodeType":"ParameterList","parameters":[],"src":"14578:0:26"},"scope":3138,"src":"14498:359:26","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[3907],"body":{"id":2909,"nodeType":"Block","src":"14978:177:26","statements":[{"assignments":[2886],"declarations":[{"constant":false,"id":2886,"mutability":"mutable","name":"currency","nameLocation":"14997:8:26","nodeType":"VariableDeclaration","scope":2909,"src":"14988:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":2885,"nodeType":"UserDefinedTypeName","pathNode":{"id":2884,"name":"Currency","nameLocations":["14988:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"14988:8:26"},"referencedDeclaration":10717,"src":"14988:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"id":2891,"initialValue":{"arguments":[{"id":2889,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2877,"src":"15031:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":2887,"name":"CurrencyLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11011,"src":"15008:15:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurrencyLibrary_$11011_$","typeString":"type(library CurrencyLibrary)"}},"id":2888,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15024:6:26","memberName":"fromId","nodeType":"MemberAccess","referencedDeclaration":11010,"src":"15008:22:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (uint256) pure returns (Currency)"}},"id":2890,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15008:26:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"VariableDeclarationStatement","src":"14988:46:26"},{"expression":{"arguments":[{"id":2893,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2886,"src":"15058:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2894,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2879,"src":"15068:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2895,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15075:8:26","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8144,"src":"15068:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int128)"}},"id":2896,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15068:17:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"expression":{"id":2897,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"15087:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2898,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15091:6:26","memberName":"sender","nodeType":"MemberAccess","src":"15087:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2892,"name":"_accountDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"15044:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_int128_$_t_address_$returns$__$","typeString":"function (Currency,int128,address)"}},"id":2899,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15044:54:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2900,"nodeType":"ExpressionStatement","src":"15044:54:26"},{"expression":{"arguments":[{"id":2902,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2875,"src":"15118:4:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2903,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2886,"src":"15124:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":2904,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15133:4:26","memberName":"toId","nodeType":"MemberAccess","referencedDeclaration":10990,"src":"15124:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) pure returns (uint256)"}},"id":2905,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15124:15:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2906,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2879,"src":"15141:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2901,"name":"_burnFrom","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1792,"src":"15108:9:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (address,uint256,uint256)"}},"id":2907,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15108:40:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2908,"nodeType":"ExpressionStatement","src":"15108:40:26"}]},"documentation":{"id":2873,"nodeType":"StructuredDocumentation","src":"14863:28:26","text":"@inheritdoc IPoolManager"},"functionSelector":"f5298aca","id":2910,"implemented":true,"kind":"function","modifiers":[{"id":2882,"kind":"modifierInvocation","modifierName":{"id":2881,"name":"onlyWhenUnlocked","nameLocations":["14961:16:26"],"nodeType":"IdentifierPath","referencedDeclaration":2042,"src":"14961:16:26"},"nodeType":"ModifierInvocation","src":"14961:16:26"}],"name":"burn","nameLocation":"14905:4:26","nodeType":"FunctionDefinition","parameters":{"id":2880,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2875,"mutability":"mutable","name":"from","nameLocation":"14918:4:26","nodeType":"VariableDeclaration","scope":2910,"src":"14910:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2874,"name":"address","nodeType":"ElementaryTypeName","src":"14910:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2877,"mutability":"mutable","name":"id","nameLocation":"14932:2:26","nodeType":"VariableDeclaration","scope":2910,"src":"14924:10:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2876,"name":"uint256","nodeType":"ElementaryTypeName","src":"14924:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2879,"mutability":"mutable","name":"amount","nameLocation":"14944:6:26","nodeType":"VariableDeclaration","scope":2910,"src":"14936:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2878,"name":"uint256","nodeType":"ElementaryTypeName","src":"14936:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14909:42:26"},"returnParameters":{"id":2883,"nodeType":"ParameterList","parameters":[],"src":"14978:0:26"},"scope":3138,"src":"14896:259:26","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[3916],"body":{"id":2961,"nodeType":"Block","src":"15275:272:26","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":2932,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2923,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"15289:23:26","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":2919,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2914,"src":"15290:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2920,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15294:3:26","memberName":"fee","nodeType":"MemberAccess","referencedDeclaration":11055,"src":"15290:7:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":2921,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15298:12:26","memberName":"isDynamicFee","nodeType":"MemberAccess","referencedDeclaration":5850,"src":"15290:20:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$_t_bool_$attached_to$_t_uint24_$","typeString":"function (uint24) pure returns (bool)"}},"id":2922,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15290:22:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":2931,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":2924,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"15316:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2925,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15320:6:26","memberName":"sender","nodeType":"MemberAccess","src":"15316:10:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"expression":{"id":2928,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2914,"src":"15338:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2929,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15342:5:26","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":11062,"src":"15338:9:26","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":2927,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15330:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2926,"name":"address","nodeType":"ElementaryTypeName","src":"15330:7:26","typeDescriptions":{}}},"id":2930,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15330:18:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"15316:32:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"15289:59:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2941,"nodeType":"IfStatement","src":"15285:142:26","trueBody":{"id":2940,"nodeType":"Block","src":"15350:77:26","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":2933,"name":"UnauthorizedDynamicLPFeeUpdate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3679,"src":"15364:30:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":2936,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15395:8:26","memberName":"selector","nodeType":"MemberAccess","src":"15364:39:26","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":2937,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15404:10:26","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"15364:50:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":2938,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15364:52:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2939,"nodeType":"ExpressionStatement","src":"15364:52:26"}]}},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2942,"name":"newDynamicLPFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2916,"src":"15436:15:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":2944,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15452:8:26","memberName":"validate","nodeType":"MemberAccess","referencedDeclaration":5883,"src":"15436:24:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$__$attached_to$_t_uint24_$","typeString":"function (uint24) pure"}},"id":2945,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15436:26:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2946,"nodeType":"ExpressionStatement","src":"15436:26:26"},{"assignments":[2949],"declarations":[{"constant":false,"id":2949,"mutability":"mutable","name":"id","nameLocation":"15479:2:26","nodeType":"VariableDeclaration","scope":2961,"src":"15472:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":2948,"nodeType":"UserDefinedTypeName","pathNode":{"id":2947,"name":"PoolId","nameLocations":["15472:6:26"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"15472:6:26"},"referencedDeclaration":11017,"src":"15472:6:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"}],"id":2953,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2950,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2914,"src":"15484:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":2951,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15488:4:26","memberName":"toId","nodeType":"MemberAccess","referencedDeclaration":11030,"src":"15484:8:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_PoolKey_$11063_memory_ptr_$returns$_t_userDefinedValueType$_PoolId_$11017_$attached_to$_t_struct$_PoolKey_$11063_memory_ptr_$","typeString":"function (struct PoolKey memory) pure returns (PoolId)"}},"id":2952,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15484:10:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"nodeType":"VariableDeclarationStatement","src":"15472:22:26"},{"expression":{"arguments":[{"id":2958,"name":"newDynamicLPFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2916,"src":"15524:15:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"baseExpression":{"id":2954,"name":"_pools","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2025,"src":"15504:6:26","typeDescriptions":{"typeIdentifier":"t_mapping$_t_userDefinedValueType$_PoolId_$11017_$_t_struct$_State_$6192_storage_$","typeString":"mapping(PoolId => struct Pool.State storage ref)"}},"id":2956,"indexExpression":{"id":2955,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2949,"src":"15511:2:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"15504:10:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage","typeString":"struct Pool.State storage ref"}},"id":2957,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15515:8:26","memberName":"setLPFee","nodeType":"MemberAccess","referencedDeclaration":6344,"src":"15504:19:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_State_$6192_storage_ptr_$_t_uint24_$returns$__$attached_to$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (struct Pool.State storage pointer,uint24)"}},"id":2959,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15504:36:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2960,"nodeType":"ExpressionStatement","src":"15504:36:26"}]},"documentation":{"id":2911,"nodeType":"StructuredDocumentation","src":"15161:28:26","text":"@inheritdoc IPoolManager"},"functionSelector":"52759651","id":2962,"implemented":true,"kind":"function","modifiers":[],"name":"updateDynamicLPFee","nameLocation":"15203:18:26","nodeType":"FunctionDefinition","parameters":{"id":2917,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2914,"mutability":"mutable","name":"key","nameLocation":"15237:3:26","nodeType":"VariableDeclaration","scope":2962,"src":"15222:18:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":2913,"nodeType":"UserDefinedTypeName","pathNode":{"id":2912,"name":"PoolKey","nameLocations":["15222:7:26"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"15222:7:26"},"referencedDeclaration":11063,"src":"15222:7:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":2916,"mutability":"mutable","name":"newDynamicLPFee","nameLocation":"15249:15:26","nodeType":"VariableDeclaration","scope":2962,"src":"15242:22:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":2915,"name":"uint24","nodeType":"ElementaryTypeName","src":"15242:6:26","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"15221:44:26"},"returnParameters":{"id":2918,"nodeType":"ParameterList","parameters":[],"src":"15275:0:26"},"scope":3138,"src":"15194:353:26","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":3030,"nodeType":"Block","src":"15719:757:26","statements":[{"assignments":[2971],"declarations":[{"constant":false,"id":2971,"mutability":"mutable","name":"currency","nameLocation":"15738:8:26","nodeType":"VariableDeclaration","scope":3030,"src":"15729:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":2970,"nodeType":"UserDefinedTypeName","pathNode":{"id":2969,"name":"Currency","nameLocations":["15729:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"15729:8:26"},"referencedDeclaration":10717,"src":"15729:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"id":2975,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2972,"name":"CurrencyReserves","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"15749:16:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurrencyReserves_$4345_$","typeString":"type(library CurrencyReserves)"}},"id":2973,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15766:17:26","memberName":"getSyncedCurrency","nodeType":"MemberAccess","referencedDeclaration":4322,"src":"15749:34:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function () view returns (Currency)"}},"id":2974,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15749:36:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"VariableDeclarationStatement","src":"15729:56:26"},{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2976,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2971,"src":"15918:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":2977,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15927:13:26","memberName":"isAddressZero","nodeType":"MemberAccess","referencedDeclaration":10973,"src":"15918:22:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_bool_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) pure returns (bool)"}},"id":2978,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15918:24:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":3020,"nodeType":"Block","src":"15991:417:26","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2988,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":2985,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"16009:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2986,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16013:5:26","memberName":"value","nodeType":"MemberAccess","src":"16009:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":2987,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16021:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"16009:13:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2996,"nodeType":"IfStatement","src":"16005:59:26","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":2989,"name":"NonzeroNativeValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3685,"src":"16024:18:26","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":2992,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16043:8:26","memberName":"selector","nodeType":"MemberAccess","src":"16024:27:26","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":2993,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16052:10:26","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"16024:38:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":2994,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16024:40:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2995,"nodeType":"ExpressionStatement","src":"16024:40:26"}},{"assignments":[2998],"declarations":[{"constant":false,"id":2998,"mutability":"mutable","name":"reservesBefore","nameLocation":"16189:14:26","nodeType":"VariableDeclaration","scope":3020,"src":"16181:22:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2997,"name":"uint256","nodeType":"ElementaryTypeName","src":"16181:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3002,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2999,"name":"CurrencyReserves","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"16206:16:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurrencyReserves_$4345_$","typeString":"type(library CurrencyReserves)"}},"id":3000,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16223:17:26","memberName":"getSyncedReserves","nodeType":"MemberAccess","referencedDeclaration":4344,"src":"16206:34:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint256_$","typeString":"function () view returns (uint256)"}},"id":3001,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16206:36:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"16181:61:26"},{"assignments":[3004],"declarations":[{"constant":false,"id":3004,"mutability":"mutable","name":"reservesNow","nameLocation":"16264:11:26","nodeType":"VariableDeclaration","scope":3020,"src":"16256:19:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3003,"name":"uint256","nodeType":"ElementaryTypeName","src":"16256:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3008,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3005,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2971,"src":"16278:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":3006,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16287:13:26","memberName":"balanceOfSelf","nodeType":"MemberAccess","referencedDeclaration":10924,"src":"16278:22:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) view returns (uint256)"}},"id":3007,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16278:24:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"16256:46:26"},{"expression":{"id":3013,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3009,"name":"paid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2967,"src":"16316:4:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3012,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3010,"name":"reservesNow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3004,"src":"16323:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":3011,"name":"reservesBefore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2998,"src":"16337:14:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"16323:28:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"16316:35:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3014,"nodeType":"ExpressionStatement","src":"16316:35:26"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3015,"name":"CurrencyReserves","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"16365:16:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurrencyReserves_$4345_$","typeString":"type(library CurrencyReserves)"}},"id":3017,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16382:13:26","memberName":"resetCurrency","nodeType":"MemberAccess","referencedDeclaration":4327,"src":"16365:30:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":3018,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16365:32:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3019,"nodeType":"ExpressionStatement","src":"16365:32:26"}]},"id":3021,"nodeType":"IfStatement","src":"15914:494:26","trueBody":{"id":2984,"nodeType":"Block","src":"15944:41:26","statements":[{"expression":{"id":2982,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2979,"name":"paid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2967,"src":"15958:4:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":2980,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"15965:3:26","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2981,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15969:5:26","memberName":"value","nodeType":"MemberAccess","src":"15965:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15958:16:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2983,"nodeType":"ExpressionStatement","src":"15958:16:26"}]}},{"expression":{"arguments":[{"id":3023,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2971,"src":"16432:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3024,"name":"paid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2967,"src":"16442:4:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3025,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16447:8:26","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8144,"src":"16442:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int128)"}},"id":3026,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16442:15:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"id":3027,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2964,"src":"16459:9:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_address","typeString":"address"}],"id":3022,"name":"_accountDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"16418:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_int128_$_t_address_$returns$__$","typeString":"function (Currency,int128,address)"}},"id":3028,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16418:51:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3029,"nodeType":"ExpressionStatement","src":"16418:51:26"}]},"id":3031,"implemented":true,"kind":"function","modifiers":[],"name":"_settle","nameLocation":"15660:7:26","nodeType":"FunctionDefinition","parameters":{"id":2965,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2964,"mutability":"mutable","name":"recipient","nameLocation":"15676:9:26","nodeType":"VariableDeclaration","scope":3031,"src":"15668:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2963,"name":"address","nodeType":"ElementaryTypeName","src":"15668:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"15667:19:26"},"returnParameters":{"id":2968,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2967,"mutability":"mutable","name":"paid","nameLocation":"15713:4:26","nodeType":"VariableDeclaration","scope":3031,"src":"15705:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2966,"name":"uint256","nodeType":"ElementaryTypeName","src":"15705:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"15704:14:26"},"scope":3138,"src":"15651:825:26","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":3077,"nodeType":"Block","src":"16635:275:26","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":3044,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3042,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3037,"src":"16649:5:26","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":3043,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16658:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"16649:10:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3046,"nodeType":"IfStatement","src":"16645:23:26","trueBody":{"functionReturnParameters":3041,"id":3045,"nodeType":"Return","src":"16661:7:26"}},{"assignments":[3048,3050],"declarations":[{"constant":false,"id":3048,"mutability":"mutable","name":"previous","nameLocation":"16686:8:26","nodeType":"VariableDeclaration","scope":3077,"src":"16679:15:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3047,"name":"int256","nodeType":"ElementaryTypeName","src":"16679:6:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":3050,"mutability":"mutable","name":"next","nameLocation":"16703:4:26","nodeType":"VariableDeclaration","scope":3077,"src":"16696:11:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3049,"name":"int256","nodeType":"ElementaryTypeName","src":"16696:6:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":3056,"initialValue":{"arguments":[{"id":3053,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3039,"src":"16731:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":3054,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3037,"src":"16739:5:26","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":3051,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3035,"src":"16711:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":3052,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16720:10:26","memberName":"applyDelta","nodeType":"MemberAccess","referencedDeclaration":4296,"src":"16711:19:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_int128_$returns$_t_int256_$_t_int256_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency,address,int128) returns (int256,int256)"}},"id":3055,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16711:34:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_int256_$_t_int256_$","typeString":"tuple(int256,int256)"}},"nodeType":"VariableDeclarationStatement","src":"16678:67:26"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":3059,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3057,"name":"next","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3050,"src":"16760:4:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":3058,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16768:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"16760:9:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":3068,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3066,"name":"previous","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3048,"src":"16835:8:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":3067,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16847:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"16835:13:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3075,"nodeType":"IfStatement","src":"16831:73:26","trueBody":{"id":3074,"nodeType":"Block","src":"16850:54:26","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3069,"name":"NonzeroDeltaCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6019,"src":"16864:17:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_NonzeroDeltaCount_$6019_$","typeString":"type(library NonzeroDeltaCount)"}},"id":3071,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16882:9:26","memberName":"increment","nodeType":"MemberAccess","referencedDeclaration":6012,"src":"16864:27:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":3072,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16864:29:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3073,"nodeType":"ExpressionStatement","src":"16864:29:26"}]}},"id":3076,"nodeType":"IfStatement","src":"16756:148:26","trueBody":{"id":3065,"nodeType":"Block","src":"16771:54:26","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3060,"name":"NonzeroDeltaCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6019,"src":"16785:17:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_NonzeroDeltaCount_$6019_$","typeString":"type(library NonzeroDeltaCount)"}},"id":3062,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16803:9:26","memberName":"decrement","nodeType":"MemberAccess","referencedDeclaration":6018,"src":"16785:27:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":3063,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16785:29:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3064,"nodeType":"ExpressionStatement","src":"16785:29:26"}]}}]},"documentation":{"id":3032,"nodeType":"StructuredDocumentation","src":"16482:67:26","text":"@notice Adds a balance delta in a currency for a target address"},"id":3078,"implemented":true,"kind":"function","modifiers":[],"name":"_accountDelta","nameLocation":"16563:13:26","nodeType":"FunctionDefinition","parameters":{"id":3040,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3035,"mutability":"mutable","name":"currency","nameLocation":"16586:8:26","nodeType":"VariableDeclaration","scope":3078,"src":"16577:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":3034,"nodeType":"UserDefinedTypeName","pathNode":{"id":3033,"name":"Currency","nameLocations":["16577:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"16577:8:26"},"referencedDeclaration":10717,"src":"16577:8:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":3037,"mutability":"mutable","name":"delta","nameLocation":"16603:5:26","nodeType":"VariableDeclaration","scope":3078,"src":"16596:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":3036,"name":"int128","nodeType":"ElementaryTypeName","src":"16596:6:26","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":3039,"mutability":"mutable","name":"target","nameLocation":"16618:6:26","nodeType":"VariableDeclaration","scope":3078,"src":"16610:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3038,"name":"address","nodeType":"ElementaryTypeName","src":"16610:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"16576:49:26"},"returnParameters":{"id":3041,"nodeType":"ParameterList","parameters":[],"src":"16635:0:26"},"scope":3138,"src":"16554:356:26","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":3108,"nodeType":"Block","src":"17087:133:26","statements":[{"expression":{"arguments":[{"expression":{"id":3091,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3082,"src":"17111:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":3092,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17115:9:26","memberName":"currency0","nodeType":"MemberAccess","referencedDeclaration":11048,"src":"17111:13:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3093,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3085,"src":"17126:5:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":3094,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17132:7:26","memberName":"amount0","nodeType":"MemberAccess","referencedDeclaration":10650,"src":"17126:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta) pure returns (int128)"}},"id":3095,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17126:15:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"id":3096,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3087,"src":"17143:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_address","typeString":"address"}],"id":3090,"name":"_accountDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"17097:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_int128_$_t_address_$returns$__$","typeString":"function (Currency,int128,address)"}},"id":3097,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17097:53:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3098,"nodeType":"ExpressionStatement","src":"17097:53:26"},{"expression":{"arguments":[{"expression":{"id":3100,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3082,"src":"17174:3:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":3101,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17178:9:26","memberName":"currency1","nodeType":"MemberAccess","referencedDeclaration":11052,"src":"17174:13:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3102,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3085,"src":"17189:5:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":3103,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17195:7:26","memberName":"amount1","nodeType":"MemberAccess","referencedDeclaration":10660,"src":"17189:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta) pure returns (int128)"}},"id":3104,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17189:15:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"id":3105,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3087,"src":"17206:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_address","typeString":"address"}],"id":3099,"name":"_accountDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3078,"src":"17160:13:26","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_int128_$_t_address_$returns$__$","typeString":"function (Currency,int128,address)"}},"id":3106,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17160:53:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3107,"nodeType":"ExpressionStatement","src":"17160:53:26"}]},"documentation":{"id":3079,"nodeType":"StructuredDocumentation","src":"16916:67:26","text":"@notice Accounts the deltas of 2 currencies to a target address"},"id":3109,"implemented":true,"kind":"function","modifiers":[],"name":"_accountPoolBalanceDelta","nameLocation":"16997:24:26","nodeType":"FunctionDefinition","parameters":{"id":3088,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3082,"mutability":"mutable","name":"key","nameLocation":"17037:3:26","nodeType":"VariableDeclaration","scope":3109,"src":"17022:18:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":3081,"nodeType":"UserDefinedTypeName","pathNode":{"id":3080,"name":"PoolKey","nameLocations":["17022:7:26"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"17022:7:26"},"referencedDeclaration":11063,"src":"17022:7:26","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3085,"mutability":"mutable","name":"delta","nameLocation":"17055:5:26","nodeType":"VariableDeclaration","scope":3109,"src":"17042:18:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":3084,"nodeType":"UserDefinedTypeName","pathNode":{"id":3083,"name":"BalanceDelta","nameLocations":["17042:12:26"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"17042:12:26"},"referencedDeclaration":10503,"src":"17042:12:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":3087,"mutability":"mutable","name":"target","nameLocation":"17070:6:26","nodeType":"VariableDeclaration","scope":3109,"src":"17062:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3086,"name":"address","nodeType":"ElementaryTypeName","src":"17062:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"17021:56:26"},"returnParameters":{"id":3089,"nodeType":"ParameterList","parameters":[],"src":"17087:0:26"},"scope":3138,"src":"16988:232:26","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[3348],"body":{"id":3124,"nodeType":"Block","src":"17387:34:26","statements":[{"expression":{"baseExpression":{"id":3120,"name":"_pools","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2025,"src":"17404:6:26","typeDescriptions":{"typeIdentifier":"t_mapping$_t_userDefinedValueType$_PoolId_$11017_$_t_struct$_State_$6192_storage_$","typeString":"mapping(PoolId => struct Pool.State storage ref)"}},"id":3122,"indexExpression":{"id":3121,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3113,"src":"17411:2:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"17404:10:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage","typeString":"struct Pool.State storage ref"}},"functionReturnParameters":3119,"id":3123,"nodeType":"Return","src":"17397:17:26"}]},"documentation":{"id":3110,"nodeType":"StructuredDocumentation","src":"17226:75:26","text":"@notice Implementation of the _getPool function defined in ProtocolFees"},"id":3125,"implemented":true,"kind":"function","modifiers":[],"name":"_getPool","nameLocation":"17315:8:26","nodeType":"FunctionDefinition","overrides":{"id":3115,"nodeType":"OverrideSpecifier","overrides":[],"src":"17349:8:26"},"parameters":{"id":3114,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3113,"mutability":"mutable","name":"id","nameLocation":"17331:2:26","nodeType":"VariableDeclaration","scope":3125,"src":"17324:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":3112,"nodeType":"UserDefinedTypeName","pathNode":{"id":3111,"name":"PoolId","nameLocations":["17324:6:26"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"17324:6:26"},"referencedDeclaration":11017,"src":"17324:6:26","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"}],"src":"17323:11:26"},"returnParameters":{"id":3119,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3118,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3125,"src":"17367:18:26","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":3117,"nodeType":"UserDefinedTypeName","pathNode":{"id":3116,"name":"Pool.State","nameLocations":["17367:4:26","17372:5:26"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"17367:10:26"},"referencedDeclaration":6192,"src":"17367:10:26","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"}],"src":"17366:20:26"},"scope":3138,"src":"17306:115:26","stateMutability":"view","virtual":false,"visibility":"internal"},{"baseFunctions":[3338],"body":{"id":3136,"nodeType":"Block","src":"17571:41:26","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3132,"name":"Lock","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5994,"src":"17588:4:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Lock_$5994_$","typeString":"type(library Lock)"}},"id":3133,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17593:10:26","memberName":"isUnlocked","nodeType":"MemberAccess","referencedDeclaration":5993,"src":"17588:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bool_$","typeString":"function () view returns (bool)"}},"id":3134,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17588:17:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":3131,"id":3135,"nodeType":"Return","src":"17581:24:26"}]},"documentation":{"id":3126,"nodeType":"StructuredDocumentation","src":"17427:78:26","text":"@notice Implementation of the _isUnlocked function defined in ProtocolFees"},"id":3137,"implemented":true,"kind":"function","modifiers":[],"name":"_isUnlocked","nameLocation":"17519:11:26","nodeType":"FunctionDefinition","overrides":{"id":3128,"nodeType":"OverrideSpecifier","overrides":[],"src":"17547:8:26"},"parameters":{"id":3127,"nodeType":"ParameterList","parameters":[],"src":"17530:2:26"},"returnParameters":{"id":3131,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3130,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3137,"src":"17565:4:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3129,"name":"bool","nodeType":"ElementaryTypeName","src":"17565:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"17564:6:26"},"scope":3138,"src":"17510:102:26","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":3139,"src":"4714:12900:26","usedErrors":[1876,3650,3653,3656,3659,3664,3669,3676,3679,3682,3685,3688,3931,3934,3937],"usedEvents":[3711,3727,3747,3759,3942,3950,4089,4099,4111,21385]}],"src":"37:17578:26"},"id":26},"@uniswap/v4-core/src/ProtocolFees.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/ProtocolFees.sol","exportedSymbols":{"Currency":[10717],"CurrencyReserves":[4345],"CustomRevert":[4451],"IProtocolFees":[3994],"Owned":[21436],"Pool":[7731],"PoolId":[11017],"PoolKey":[11063],"ProtocolFeeLibrary":[7969],"ProtocolFees":[3365]},"id":3366,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":3140,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:27"},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"./types/Currency.sol","id":3142,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3366,"sourceUnit":11012,"src":"57:46:27","symbolAliases":[{"foreign":{"id":3141,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"65:8:27","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/CurrencyReserves.sol","file":"./libraries/CurrencyReserves.sol","id":3144,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3366,"sourceUnit":4346,"src":"104:66:27","symbolAliases":[{"foreign":{"id":3143,"name":"CurrencyReserves","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"112:16:27","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IProtocolFees.sol","file":"./interfaces/IProtocolFees.sol","id":3146,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3366,"sourceUnit":3995,"src":"171:61:27","symbolAliases":[{"foreign":{"id":3145,"name":"IProtocolFees","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3994,"src":"179:13:27","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"./types/PoolKey.sol","id":3148,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3366,"sourceUnit":11064,"src":"233:44:27","symbolAliases":[{"foreign":{"id":3147,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"241:7:27","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol","file":"./libraries/ProtocolFeeLibrary.sol","id":3150,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3366,"sourceUnit":7970,"src":"278:70:27","symbolAliases":[{"foreign":{"id":3149,"name":"ProtocolFeeLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7969,"src":"286:18:27","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"solmate/src/auth/Owned.sol","file":"solmate/src/auth/Owned.sol","id":3152,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3366,"sourceUnit":21437,"src":"349:49:27","symbolAliases":[{"foreign":{"id":3151,"name":"Owned","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21436,"src":"357:5:27","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolId.sol","file":"./types/PoolId.sol","id":3154,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3366,"sourceUnit":11032,"src":"399:42:27","symbolAliases":[{"foreign":{"id":3153,"name":"PoolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11017,"src":"407:6:27","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/Pool.sol","file":"./libraries/Pool.sol","id":3156,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3366,"sourceUnit":7732,"src":"442:42:27","symbolAliases":[{"foreign":{"id":3155,"name":"Pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7731,"src":"450:4:27","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/CustomRevert.sol","file":"./libraries/CustomRevert.sol","id":3158,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3366,"sourceUnit":4452,"src":"485:58:27","symbolAliases":[{"foreign":{"id":3157,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"493:12:27","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":3160,"name":"IProtocolFees","nameLocations":["650:13:27"],"nodeType":"IdentifierPath","referencedDeclaration":3994,"src":"650:13:27"},"id":3161,"nodeType":"InheritanceSpecifier","src":"650:13:27"},{"baseName":{"id":3162,"name":"Owned","nameLocations":["665:5:27"],"nodeType":"IdentifierPath","referencedDeclaration":21436,"src":"665:5:27"},"id":3163,"nodeType":"InheritanceSpecifier","src":"665:5:27"}],"canonicalName":"ProtocolFees","contractDependencies":[],"contractKind":"contract","documentation":{"id":3159,"nodeType":"StructuredDocumentation","src":"545:71:27","text":"@notice Contract handling the setting and accrual of protocol fees"},"fullyImplemented":false,"id":3365,"linearizedBaseContracts":[3365,21436,3994],"name":"ProtocolFees","nameLocation":"634:12:27","nodeType":"ContractDefinition","nodes":[{"global":false,"id":3166,"libraryName":{"id":3164,"name":"ProtocolFeeLibrary","nameLocations":["683:18:27"],"nodeType":"IdentifierPath","referencedDeclaration":7969,"src":"683:18:27"},"nodeType":"UsingForDirective","src":"677:36:27","typeName":{"id":3165,"name":"uint24","nodeType":"ElementaryTypeName","src":"706:6:27","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}},{"global":false,"id":3170,"libraryName":{"id":3167,"name":"Pool","nameLocations":["724:4:27"],"nodeType":"IdentifierPath","referencedDeclaration":7731,"src":"724:4:27"},"nodeType":"UsingForDirective","src":"718:26:27","typeName":{"id":3169,"nodeType":"UserDefinedTypeName","pathNode":{"id":3168,"name":"Pool.State","nameLocations":["733:4:27","738:5:27"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"733:10:27"},"referencedDeclaration":6192,"src":"733:10:27","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}}},{"global":false,"id":3173,"libraryName":{"id":3171,"name":"CustomRevert","nameLocations":["755:12:27"],"nodeType":"IdentifierPath","referencedDeclaration":4451,"src":"755:12:27"},"nodeType":"UsingForDirective","src":"749:30:27","typeName":{"id":3172,"name":"bytes4","nodeType":"ElementaryTypeName","src":"772:6:27","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}},{"baseFunctions":[3959],"constant":false,"documentation":{"id":3174,"nodeType":"StructuredDocumentation","src":"785:29:27","text":"@inheritdoc IProtocolFees"},"functionSelector":"97e8cd4e","id":3179,"mutability":"mutable","name":"protocolFeesAccrued","nameLocation":"871:19:27","nodeType":"VariableDeclaration","scope":3365,"src":"819:71:27","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$","typeString":"mapping(Currency => uint256)"},"typeName":{"id":3178,"keyName":"currency","keyNameLocation":"836:8:27","keyType":{"id":3176,"nodeType":"UserDefinedTypeName","pathNode":{"id":3175,"name":"Currency","nameLocations":["827:8:27"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"827:8:27"},"referencedDeclaration":10717,"src":"827:8:27","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"Mapping","src":"819:44:27","typeDescriptions":{"typeIdentifier":"t_mapping$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$","typeString":"mapping(Currency => uint256)"},"valueName":"amount","valueNameLocation":"856:6:27","valueType":{"id":3177,"name":"uint256","nodeType":"ElementaryTypeName","src":"848:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"public"},{"baseFunctions":[3993],"constant":false,"documentation":{"id":3180,"nodeType":"StructuredDocumentation","src":"897:29:27","text":"@inheritdoc IProtocolFees"},"functionSelector":"f02de3b2","id":3182,"mutability":"mutable","name":"protocolFeeController","nameLocation":"946:21:27","nodeType":"VariableDeclaration","scope":3365,"src":"931:36:27","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3181,"name":"address","nodeType":"ElementaryTypeName","src":"931:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"body":{"id":3190,"nodeType":"Block","src":"1028:2:27","statements":[]},"id":3191,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":3187,"name":"initialOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3184,"src":"1014:12:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":3188,"kind":"baseConstructorSpecifier","modifierName":{"id":3186,"name":"Owned","nameLocations":["1008:5:27"],"nodeType":"IdentifierPath","referencedDeclaration":21436,"src":"1008:5:27"},"nodeType":"ModifierInvocation","src":"1008:19:27"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":3185,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3184,"mutability":"mutable","name":"initialOwner","nameLocation":"994:12:27","nodeType":"VariableDeclaration","scope":3191,"src":"986:20:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3183,"name":"address","nodeType":"ElementaryTypeName","src":"986:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"985:22:27"},"returnParameters":{"id":3189,"nodeType":"ParameterList","parameters":[],"src":"1028:0:27"},"scope":3365,"src":"974:56:27","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[3974],"body":{"id":3207,"nodeType":"Block","src":"1143:106:27","statements":[{"expression":{"id":3201,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3199,"name":"protocolFeeController","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3182,"src":"1153:21:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":3200,"name":"controller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3194,"src":"1177:10:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1153:34:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":3202,"nodeType":"ExpressionStatement","src":"1153:34:27"},{"eventCall":{"arguments":[{"id":3204,"name":"controller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3194,"src":"1231:10:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":3203,"name":"ProtocolFeeControllerUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3942,"src":"1202:28:27","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":3205,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1202:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3206,"nodeType":"EmitStatement","src":"1197:45:27"}]},"documentation":{"id":3192,"nodeType":"StructuredDocumentation","src":"1036:29:27","text":"@inheritdoc IProtocolFees"},"functionSelector":"2d771389","id":3208,"implemented":true,"kind":"function","modifiers":[{"id":3197,"kind":"modifierInvocation","modifierName":{"id":3196,"name":"onlyOwner","nameLocations":["1133:9:27"],"nodeType":"IdentifierPath","referencedDeclaration":21399,"src":"1133:9:27"},"nodeType":"ModifierInvocation","src":"1133:9:27"}],"name":"setProtocolFeeController","nameLocation":"1079:24:27","nodeType":"FunctionDefinition","parameters":{"id":3195,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3194,"mutability":"mutable","name":"controller","nameLocation":"1112:10:27","nodeType":"VariableDeclaration","scope":3208,"src":"1104:18:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3193,"name":"address","nodeType":"ElementaryTypeName","src":"1104:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1103:20:27"},"returnParameters":{"id":3198,"nodeType":"ParameterList","parameters":[],"src":"1143:0:27"},"scope":3365,"src":"1070:179:27","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[3968],"body":{"id":3261,"nodeType":"Block","src":"1365:338:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":3220,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":3217,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1379:3:27","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":3218,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1383:6:27","memberName":"sender","nodeType":"MemberAccess","src":"1379:10:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":3219,"name":"protocolFeeController","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3182,"src":"1393:21:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1379:35:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3228,"nodeType":"IfStatement","src":"1375:76:27","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":3221,"name":"InvalidCaller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3934,"src":"1416:13:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":3224,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1430:8:27","memberName":"selector","nodeType":"MemberAccess","src":"1416:22:27","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":3225,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1439:10:27","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"1416:33:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":3226,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1416:35:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3227,"nodeType":"ExpressionStatement","src":"1416:35:27"}},{"condition":{"id":3232,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"1465:36:27","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3229,"name":"newProtocolFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3214,"src":"1466:14:27","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":3230,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1481:18:27","memberName":"isValidProtocolFee","nodeType":"MemberAccess","referencedDeclaration":7956,"src":"1466:33:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$_t_bool_$attached_to$_t_uint24_$","typeString":"function (uint24) pure returns (bool)"}},"id":3231,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1466:35:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3241,"nodeType":"IfStatement","src":"1461:97:27","trueBody":{"expression":{"arguments":[{"id":3238,"name":"newProtocolFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3214,"src":"1543:14:27","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"expression":{"id":3233,"name":"ProtocolFeeTooLarge","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3931,"src":"1503:19:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint24_$returns$_t_error_$","typeString":"function (uint24) pure returns (error)"}},"id":3236,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1523:8:27","memberName":"selector","nodeType":"MemberAccess","src":"1503:28:27","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":3237,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1532:10:27","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4397,"src":"1503:39:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_uint160_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,uint160) pure"}},"id":3239,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1503:55:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3240,"nodeType":"ExpressionStatement","src":"1503:55:27"}},{"assignments":[3244],"declarations":[{"constant":false,"id":3244,"mutability":"mutable","name":"id","nameLocation":"1575:2:27","nodeType":"VariableDeclaration","scope":3261,"src":"1568:9:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":3243,"nodeType":"UserDefinedTypeName","pathNode":{"id":3242,"name":"PoolId","nameLocations":["1568:6:27"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"1568:6:27"},"referencedDeclaration":11017,"src":"1568:6:27","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"}],"id":3248,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3245,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3212,"src":"1580:3:27","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":3246,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1584:4:27","memberName":"toId","nodeType":"MemberAccess","referencedDeclaration":11030,"src":"1580:8:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_PoolKey_$11063_memory_ptr_$returns$_t_userDefinedValueType$_PoolId_$11017_$attached_to$_t_struct$_PoolKey_$11063_memory_ptr_$","typeString":"function (struct PoolKey memory) pure returns (PoolId)"}},"id":3247,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1580:10:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"nodeType":"VariableDeclarationStatement","src":"1568:22:27"},{"expression":{"arguments":[{"id":3253,"name":"newProtocolFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3214,"src":"1628:14:27","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"arguments":[{"id":3250,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3244,"src":"1609:2:27","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"id":3249,"name":"_getPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3348,"src":"1600:8:27","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (PoolId) returns (struct Pool.State storage pointer)"}},"id":3251,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1600:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":3252,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1613:14:27","memberName":"setProtocolFee","nodeType":"MemberAccess","referencedDeclaration":6319,"src":"1600:27:27","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_State_$6192_storage_ptr_$_t_uint24_$returns$__$attached_to$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (struct Pool.State storage pointer,uint24)"}},"id":3254,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1600:43:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3255,"nodeType":"ExpressionStatement","src":"1600:43:27"},{"eventCall":{"arguments":[{"id":3257,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3244,"src":"1677:2:27","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"id":3258,"name":"newProtocolFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3214,"src":"1681:14:27","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":3256,"name":"ProtocolFeeUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3950,"src":"1658:18:27","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_userDefinedValueType$_PoolId_$11017_$_t_uint24_$returns$__$","typeString":"function (PoolId,uint24)"}},"id":3259,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1658:38:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3260,"nodeType":"EmitStatement","src":"1653:43:27"}]},"documentation":{"id":3209,"nodeType":"StructuredDocumentation","src":"1255:29:27","text":"@inheritdoc IProtocolFees"},"functionSelector":"7e87ce7d","id":3262,"implemented":true,"kind":"function","modifiers":[],"name":"setProtocolFee","nameLocation":"1298:14:27","nodeType":"FunctionDefinition","parameters":{"id":3215,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3212,"mutability":"mutable","name":"key","nameLocation":"1328:3:27","nodeType":"VariableDeclaration","scope":3262,"src":"1313:18:27","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":3211,"nodeType":"UserDefinedTypeName","pathNode":{"id":3210,"name":"PoolKey","nameLocations":["1313:7:27"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"1313:7:27"},"referencedDeclaration":11063,"src":"1313:7:27","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3214,"mutability":"mutable","name":"newProtocolFee","nameLocation":"1340:14:27","nodeType":"VariableDeclaration","scope":3262,"src":"1333:21:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":3213,"name":"uint24","nodeType":"ElementaryTypeName","src":"1333:6:27","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"1312:43:27"},"returnParameters":{"id":3216,"nodeType":"ParameterList","parameters":[],"src":"1365:0:27"},"scope":3365,"src":"1289:414:27","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[3987],"body":{"id":3331,"nodeType":"Block","src":"1889:555:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":3278,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":3275,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1903:3:27","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":3276,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1907:6:27","memberName":"sender","nodeType":"MemberAccess","src":"1903:10:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":3277,"name":"protocolFeeController","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3182,"src":"1917:21:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1903:35:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3286,"nodeType":"IfStatement","src":"1899:76:27","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":3279,"name":"InvalidCaller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3934,"src":"1940:13:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":3282,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1954:8:27","memberName":"selector","nodeType":"MemberAccess","src":"1940:22:27","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":3283,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1963:10:27","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"1940:33:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":3284,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1940:35:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3285,"nodeType":"ExpressionStatement","src":"1940:35:27"}},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3296,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3290,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"1989:25:27","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3287,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3268,"src":"1990:8:27","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":3288,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1999:13:27","memberName":"isAddressZero","nodeType":"MemberAccess","referencedDeclaration":10973,"src":"1990:22:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_bool_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) pure returns (bool)"}},"id":3289,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1990:24:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"function":10750,"id":3295,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3291,"name":"CurrencyReserves","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"2018:16:27","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurrencyReserves_$4345_$","typeString":"type(library CurrencyReserves)"}},"id":3292,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2035:17:27","memberName":"getSyncedCurrency","nodeType":"MemberAccess","referencedDeclaration":4322,"src":"2018:34:27","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function () view returns (Currency)"}},"id":3293,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2018:36:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":3294,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3268,"src":"2058:8:27","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"src":"2018:48:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1989:77:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3305,"nodeType":"IfStatement","src":"1985:257:27","trueBody":{"id":3304,"nodeType":"Block","src":"2068:174:27","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":3297,"name":"ProtocolFeeCurrencySynced","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3937,"src":"2184:25:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":3300,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2210:8:27","memberName":"selector","nodeType":"MemberAccess","src":"2184:34:27","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":3301,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2219:10:27","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"2184:45:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":3302,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2184:47:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3303,"nodeType":"ExpressionStatement","src":"2184:47:27"}]}},{"expression":{"id":3316,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3306,"name":"amountCollected","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3273,"src":"2252:15:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3309,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3307,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3270,"src":"2271:6:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":3308,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2281:1:27","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2271:11:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":3310,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2270:13:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":3314,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3270,"src":"2318:6:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3315,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"2270:54:27","trueExpression":{"baseExpression":{"id":3311,"name":"protocolFeesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3179,"src":"2286:19:27","typeDescriptions":{"typeIdentifier":"t_mapping$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$","typeString":"mapping(Currency => uint256)"}},"id":3313,"indexExpression":{"id":3312,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3268,"src":"2306:8:27","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2286:29:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2252:72:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3317,"nodeType":"ExpressionStatement","src":"2252:72:27"},{"expression":{"id":3322,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":3318,"name":"protocolFeesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3179,"src":"2334:19:27","typeDescriptions":{"typeIdentifier":"t_mapping$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$","typeString":"mapping(Currency => uint256)"}},"id":3320,"indexExpression":{"id":3319,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3268,"src":"2354:8:27","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2334:29:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":3321,"name":"amountCollected","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3273,"src":"2367:15:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2334:48:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3323,"nodeType":"ExpressionStatement","src":"2334:48:27"},{"expression":{"arguments":[{"id":3327,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3265,"src":"2410:9:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":3328,"name":"amountCollected","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3273,"src":"2421:15:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":3324,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3268,"src":"2392:8:27","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":3326,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2401:8:27","memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":10890,"src":"2392:17:27","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency,address,uint256)"}},"id":3329,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2392:45:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3330,"nodeType":"ExpressionStatement","src":"2392:45:27"}]},"documentation":{"id":3263,"nodeType":"StructuredDocumentation","src":"1709:29:27","text":"@inheritdoc IProtocolFees"},"functionSelector":"8161b874","id":3332,"implemented":true,"kind":"function","modifiers":[],"name":"collectProtocolFees","nameLocation":"1752:19:27","nodeType":"FunctionDefinition","parameters":{"id":3271,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3265,"mutability":"mutable","name":"recipient","nameLocation":"1780:9:27","nodeType":"VariableDeclaration","scope":3332,"src":"1772:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3264,"name":"address","nodeType":"ElementaryTypeName","src":"1772:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3268,"mutability":"mutable","name":"currency","nameLocation":"1800:8:27","nodeType":"VariableDeclaration","scope":3332,"src":"1791:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":3267,"nodeType":"UserDefinedTypeName","pathNode":{"id":3266,"name":"Currency","nameLocations":["1791:8:27"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1791:8:27"},"referencedDeclaration":10717,"src":"1791:8:27","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":3270,"mutability":"mutable","name":"amount","nameLocation":"1818:6:27","nodeType":"VariableDeclaration","scope":3332,"src":"1810:14:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3269,"name":"uint256","nodeType":"ElementaryTypeName","src":"1810:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1771:54:27"},"returnParameters":{"id":3274,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3273,"mutability":"mutable","name":"amountCollected","nameLocation":"1868:15:27","nodeType":"VariableDeclaration","scope":3332,"src":"1860:23:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3272,"name":"uint256","nodeType":"ElementaryTypeName","src":"1860:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1859:25:27"},"scope":3365,"src":"1743:701:27","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3333,"nodeType":"StructuredDocumentation","src":"2450:89:27","text":"@dev abstract internal function to allow the ProtocolFees contract to access the lock"},"id":3338,"implemented":false,"kind":"function","modifiers":[],"name":"_isUnlocked","nameLocation":"2553:11:27","nodeType":"FunctionDefinition","parameters":{"id":3334,"nodeType":"ParameterList","parameters":[],"src":"2564:2:27"},"returnParameters":{"id":3337,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3336,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3338,"src":"2593:4:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3335,"name":"bool","nodeType":"ElementaryTypeName","src":"2593:4:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2592:6:27"},"scope":3365,"src":"2544:55:27","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"documentation":{"id":3339,"nodeType":"StructuredDocumentation","src":"2605:179:27","text":"@dev abstract internal function to allow the ProtocolFees contract to access pool state\n @dev this is overridden in PoolManager.sol to give access to the _pools mapping"},"id":3348,"implemented":false,"kind":"function","modifiers":[],"name":"_getPool","nameLocation":"2798:8:27","nodeType":"FunctionDefinition","parameters":{"id":3343,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3342,"mutability":"mutable","name":"id","nameLocation":"2814:2:27","nodeType":"VariableDeclaration","scope":3348,"src":"2807:9:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":3341,"nodeType":"UserDefinedTypeName","pathNode":{"id":3340,"name":"PoolId","nameLocations":["2807:6:27"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"2807:6:27"},"referencedDeclaration":11017,"src":"2807:6:27","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"}],"src":"2806:11:27"},"returnParameters":{"id":3347,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3346,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3348,"src":"2844:18:27","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":3345,"nodeType":"UserDefinedTypeName","pathNode":{"id":3344,"name":"Pool.State","nameLocations":["2844:4:27","2849:5:27"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"2844:10:27"},"referencedDeclaration":6192,"src":"2844:10:27","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"}],"src":"2843:20:27"},"scope":3365,"src":"2789:75:27","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":3363,"nodeType":"Block","src":"2943:90:27","statements":[{"id":3362,"nodeType":"UncheckedBlock","src":"2953:74:27","statements":[{"expression":{"id":3360,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":3356,"name":"protocolFeesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3179,"src":"2977:19:27","typeDescriptions":{"typeIdentifier":"t_mapping$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$","typeString":"mapping(Currency => uint256)"}},"id":3358,"indexExpression":{"id":3357,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3351,"src":"2997:8:27","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2977:29:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":3359,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3353,"src":"3010:6:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2977:39:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3361,"nodeType":"ExpressionStatement","src":"2977:39:27"}]}]},"id":3364,"implemented":true,"kind":"function","modifiers":[],"name":"_updateProtocolFees","nameLocation":"2879:19:27","nodeType":"FunctionDefinition","parameters":{"id":3354,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3351,"mutability":"mutable","name":"currency","nameLocation":"2908:8:27","nodeType":"VariableDeclaration","scope":3364,"src":"2899:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":3350,"nodeType":"UserDefinedTypeName","pathNode":{"id":3349,"name":"Currency","nameLocations":["2899:8:27"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"2899:8:27"},"referencedDeclaration":10717,"src":"2899:8:27","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":3353,"mutability":"mutable","name":"amount","nameLocation":"2926:6:27","nodeType":"VariableDeclaration","scope":3364,"src":"2918:14:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3352,"name":"uint256","nodeType":"ElementaryTypeName","src":"2918:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2898:35:27"},"returnParameters":{"id":3355,"nodeType":"ParameterList","parameters":[],"src":"2943:0:27"},"scope":3365,"src":"2870:163:27","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":3366,"src":"616:2419:27","usedErrors":[3931,3934,3937],"usedEvents":[3942,3950,21385]}],"src":"32:3004:27"},"id":27},"@uniswap/v4-core/src/interfaces/IExtsload.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/interfaces/IExtsload.sol","exportedSymbols":{"IExtsload":[3398]},"id":3399,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":3367,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:28"},{"abstract":false,"baseContracts":[],"canonicalName":"IExtsload","contractDependencies":[],"contractKind":"interface","documentation":{"id":3368,"nodeType":"StructuredDocumentation","src":"57:77:28","text":"@notice Interface for functions to access any storage slot in a contract"},"fullyImplemented":false,"id":3398,"linearizedBaseContracts":[3398],"name":"IExtsload","nameLocation":"144:9:28","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":3369,"nodeType":"StructuredDocumentation","src":"160:166:28","text":"@notice Called by external contracts to access granular pool state\n @param slot Key of slot to sload\n @return value The value of the slot as bytes32"},"functionSelector":"1e2eaeaf","id":3376,"implemented":false,"kind":"function","modifiers":[],"name":"extsload","nameLocation":"340:8:28","nodeType":"FunctionDefinition","parameters":{"id":3372,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3371,"mutability":"mutable","name":"slot","nameLocation":"357:4:28","nodeType":"VariableDeclaration","scope":3376,"src":"349:12:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3370,"name":"bytes32","nodeType":"ElementaryTypeName","src":"349:7:28","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"348:14:28"},"returnParameters":{"id":3375,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3374,"mutability":"mutable","name":"value","nameLocation":"394:5:28","nodeType":"VariableDeclaration","scope":3376,"src":"386:13:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3373,"name":"bytes32","nodeType":"ElementaryTypeName","src":"386:7:28","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"385:15:28"},"scope":3398,"src":"331:70:28","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":3377,"nodeType":"StructuredDocumentation","src":"407:240:28","text":"@notice Called by external contracts to access granular pool state\n @param startSlot Key of slot to start sloading from\n @param nSlots Number of slots to load into return value\n @return values List of loaded values."},"functionSelector":"35fd631a","id":3387,"implemented":false,"kind":"function","modifiers":[],"name":"extsload","nameLocation":"661:8:28","nodeType":"FunctionDefinition","parameters":{"id":3382,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3379,"mutability":"mutable","name":"startSlot","nameLocation":"678:9:28","nodeType":"VariableDeclaration","scope":3387,"src":"670:17:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3378,"name":"bytes32","nodeType":"ElementaryTypeName","src":"670:7:28","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":3381,"mutability":"mutable","name":"nSlots","nameLocation":"697:6:28","nodeType":"VariableDeclaration","scope":3387,"src":"689:14:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3380,"name":"uint256","nodeType":"ElementaryTypeName","src":"689:7:28","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"669:35:28"},"returnParameters":{"id":3386,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3385,"mutability":"mutable","name":"values","nameLocation":"745:6:28","nodeType":"VariableDeclaration","scope":3387,"src":"728:23:28","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":3383,"name":"bytes32","nodeType":"ElementaryTypeName","src":"728:7:28","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":3384,"nodeType":"ArrayTypeName","src":"728:9:28","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"727:25:28"},"scope":3398,"src":"652:101:28","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":3388,"nodeType":"StructuredDocumentation","src":"759:164:28","text":"@notice Called by external contracts to access sparse pool state\n @param slots List of slots to SLOAD from.\n @return values List of loaded values."},"functionSelector":"dbd035ff","id":3397,"implemented":false,"kind":"function","modifiers":[],"name":"extsload","nameLocation":"937:8:28","nodeType":"FunctionDefinition","parameters":{"id":3392,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3391,"mutability":"mutable","name":"slots","nameLocation":"965:5:28","nodeType":"VariableDeclaration","scope":3397,"src":"946:24:28","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_calldata_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":3389,"name":"bytes32","nodeType":"ElementaryTypeName","src":"946:7:28","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":3390,"nodeType":"ArrayTypeName","src":"946:9:28","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"945:26:28"},"returnParameters":{"id":3396,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3395,"mutability":"mutable","name":"values","nameLocation":"1012:6:28","nodeType":"VariableDeclaration","scope":3397,"src":"995:23:28","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":3393,"name":"bytes32","nodeType":"ElementaryTypeName","src":"995:7:28","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":3394,"nodeType":"ArrayTypeName","src":"995:9:28","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"994:25:28"},"scope":3398,"src":"928:92:28","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":3399,"src":"134:888:28","usedErrors":[],"usedEvents":[]}],"src":"32:991:28"},"id":28},"@uniswap/v4-core/src/interfaces/IExttload.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/interfaces/IExttload.sol","exportedSymbols":{"IExttload":[3420]},"id":3421,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":3400,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"32:24:29"},{"abstract":false,"baseContracts":[],"canonicalName":"IExttload","contractDependencies":[],"contractKind":"interface","documentation":{"id":3401,"nodeType":"StructuredDocumentation","src":"58:87:29","text":"@notice Interface for functions to access any transient storage slot in a contract"},"fullyImplemented":false,"id":3420,"linearizedBaseContracts":[3420],"name":"IExttload","nameLocation":"155:9:29","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":3402,"nodeType":"StructuredDocumentation","src":"171:180:29","text":"@notice Called by external contracts to access transient storage of the contract\n @param slot Key of slot to tload\n @return value The value of the slot as bytes32"},"functionSelector":"f135baaa","id":3409,"implemented":false,"kind":"function","modifiers":[],"name":"exttload","nameLocation":"365:8:29","nodeType":"FunctionDefinition","parameters":{"id":3405,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3404,"mutability":"mutable","name":"slot","nameLocation":"382:4:29","nodeType":"VariableDeclaration","scope":3409,"src":"374:12:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3403,"name":"bytes32","nodeType":"ElementaryTypeName","src":"374:7:29","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"373:14:29"},"returnParameters":{"id":3408,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3407,"mutability":"mutable","name":"value","nameLocation":"419:5:29","nodeType":"VariableDeclaration","scope":3409,"src":"411:13:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3406,"name":"bytes32","nodeType":"ElementaryTypeName","src":"411:7:29","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"410:15:29"},"scope":3420,"src":"356:70:29","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":3410,"nodeType":"StructuredDocumentation","src":"432:167:29","text":"@notice Called by external contracts to access sparse transient pool state\n @param slots List of slots to tload\n @return values List of loaded values"},"functionSelector":"9bf6645f","id":3419,"implemented":false,"kind":"function","modifiers":[],"name":"exttload","nameLocation":"613:8:29","nodeType":"FunctionDefinition","parameters":{"id":3414,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3413,"mutability":"mutable","name":"slots","nameLocation":"641:5:29","nodeType":"VariableDeclaration","scope":3419,"src":"622:24:29","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_calldata_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":3411,"name":"bytes32","nodeType":"ElementaryTypeName","src":"622:7:29","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":3412,"nodeType":"ArrayTypeName","src":"622:9:29","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"621:26:29"},"returnParameters":{"id":3418,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3417,"mutability":"mutable","name":"values","nameLocation":"688:6:29","nodeType":"VariableDeclaration","scope":3419,"src":"671:23:29","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":3415,"name":"bytes32","nodeType":"ElementaryTypeName","src":"671:7:29","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":3416,"nodeType":"ArrayTypeName","src":"671:9:29","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"670:25:29"},"scope":3420,"src":"604:92:29","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":3421,"src":"145:553:29","usedErrors":[],"usedEvents":[]}],"src":"32:667:29"},"id":29},"@uniswap/v4-core/src/interfaces/IHooks.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/interfaces/IHooks.sol","exportedSymbols":{"BalanceDelta":[10503],"BeforeSwapDelta":[10665],"IHooks":[3618],"IPoolManager":[3917],"PoolKey":[11063]},"id":3619,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":3422,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:30"},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"../types/PoolKey.sol","id":3424,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3619,"sourceUnit":11064,"src":"57:45:30","symbolAliases":[{"foreign":{"id":3423,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"65:7:30","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/BalanceDelta.sol","file":"../types/BalanceDelta.sol","id":3426,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3619,"sourceUnit":10662,"src":"103:55:30","symbolAliases":[{"foreign":{"id":3425,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"111:12:30","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"./IPoolManager.sol","id":3428,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3619,"sourceUnit":3918,"src":"159:48:30","symbolAliases":[{"foreign":{"id":3427,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"167:12:30","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/BeforeSwapDelta.sol","file":"../types/BeforeSwapDelta.sol","id":3430,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3619,"sourceUnit":10710,"src":"208:61:30","symbolAliases":[{"foreign":{"id":3429,"name":"BeforeSwapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10665,"src":"216:15:30","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"IHooks","contractDependencies":[],"contractKind":"interface","documentation":{"id":3431,"nodeType":"StructuredDocumentation","src":"271:485:30","text":"@notice V4 decides whether to invoke specific hooks by inspecting the least significant bits\n of the address that the hooks contract is deployed to.\n For example, a hooks contract deployed to address: 0x0000000000000000000000000000000000002400\n has the lowest bits '10 0100 0000 0000' which would cause the 'before initialize' and 'after add liquidity' hooks to be used.\n See the Hooks library for the full spec.\n @dev Should only be callable by the v4 PoolManager."},"fullyImplemented":false,"id":3618,"linearizedBaseContracts":[3618],"name":"IHooks","nameLocation":"766:6:30","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":3432,"nodeType":"StructuredDocumentation","src":"779:322:30","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 key The key for the pool being initialized\n @param sqrtPriceX96 The sqrt(price) of the pool as a Q64.96\n @return bytes4 The function selector for the hook"},"functionSelector":"dc98354e","id":3444,"implemented":false,"kind":"function","modifiers":[],"name":"beforeInitialize","nameLocation":"1115:16:30","nodeType":"FunctionDefinition","parameters":{"id":3440,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3434,"mutability":"mutable","name":"sender","nameLocation":"1140:6:30","nodeType":"VariableDeclaration","scope":3444,"src":"1132:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3433,"name":"address","nodeType":"ElementaryTypeName","src":"1132:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3437,"mutability":"mutable","name":"key","nameLocation":"1165:3:30","nodeType":"VariableDeclaration","scope":3444,"src":"1148:20:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":3436,"nodeType":"UserDefinedTypeName","pathNode":{"id":3435,"name":"PoolKey","nameLocations":["1148:7:30"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"1148:7:30"},"referencedDeclaration":11063,"src":"1148:7:30","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3439,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"1178:12:30","nodeType":"VariableDeclaration","scope":3444,"src":"1170:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":3438,"name":"uint160","nodeType":"ElementaryTypeName","src":"1170:7:30","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"1131:60:30"},"returnParameters":{"id":3443,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3442,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3444,"src":"1210:6:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":3441,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1210:6:30","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"1209:8:30"},"scope":3618,"src":"1106:112:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3445,"nodeType":"StructuredDocumentation","src":"1224:399:30","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 key The key for the pool being initialized\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":"6fe7e6eb","id":3459,"implemented":false,"kind":"function","modifiers":[],"name":"afterInitialize","nameLocation":"1637:15:30","nodeType":"FunctionDefinition","parameters":{"id":3455,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3447,"mutability":"mutable","name":"sender","nameLocation":"1661:6:30","nodeType":"VariableDeclaration","scope":3459,"src":"1653:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3446,"name":"address","nodeType":"ElementaryTypeName","src":"1653:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3450,"mutability":"mutable","name":"key","nameLocation":"1686:3:30","nodeType":"VariableDeclaration","scope":3459,"src":"1669:20:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":3449,"nodeType":"UserDefinedTypeName","pathNode":{"id":3448,"name":"PoolKey","nameLocations":["1669:7:30"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"1669:7:30"},"referencedDeclaration":11063,"src":"1669:7:30","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3452,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"1699:12:30","nodeType":"VariableDeclaration","scope":3459,"src":"1691:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":3451,"name":"uint160","nodeType":"ElementaryTypeName","src":"1691:7:30","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":3454,"mutability":"mutable","name":"tick","nameLocation":"1719:4:30","nodeType":"VariableDeclaration","scope":3459,"src":"1713:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3453,"name":"int24","nodeType":"ElementaryTypeName","src":"1713:5:30","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1652:72:30"},"returnParameters":{"id":3458,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3457,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3459,"src":"1759:6:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":3456,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1759:6:30","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"1758:8:30"},"scope":3618,"src":"1628:139:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3460,"nodeType":"StructuredDocumentation","src":"1773:402:30","text":"@notice The hook called before liquidity is added\n @param sender The initial msg.sender for the add liquidity call\n @param key The key for the pool\n @param params The parameters for adding liquidity\n @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\n @return bytes4 The function selector for the hook"},"functionSelector":"259982e5","id":3475,"implemented":false,"kind":"function","modifiers":[],"name":"beforeAddLiquidity","nameLocation":"2189:18:30","nodeType":"FunctionDefinition","parameters":{"id":3471,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3462,"mutability":"mutable","name":"sender","nameLocation":"2225:6:30","nodeType":"VariableDeclaration","scope":3475,"src":"2217:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3461,"name":"address","nodeType":"ElementaryTypeName","src":"2217:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3465,"mutability":"mutable","name":"key","nameLocation":"2258:3:30","nodeType":"VariableDeclaration","scope":3475,"src":"2241:20:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":3464,"nodeType":"UserDefinedTypeName","pathNode":{"id":3463,"name":"PoolKey","nameLocations":["2241:7:30"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"2241:7:30"},"referencedDeclaration":11063,"src":"2241:7:30","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3468,"mutability":"mutable","name":"params","nameLocation":"2315:6:30","nodeType":"VariableDeclaration","scope":3475,"src":"2271:50:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_calldata_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"},"typeName":{"id":3467,"nodeType":"UserDefinedTypeName","pathNode":{"id":3466,"name":"IPoolManager.ModifyLiquidityParams","nameLocations":["2271:12:30","2284:21:30"],"nodeType":"IdentifierPath","referencedDeclaration":3787,"src":"2271:34:30"},"referencedDeclaration":3787,"src":"2271:34:30","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_storage_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"}},"visibility":"internal"},{"constant":false,"id":3470,"mutability":"mutable","name":"hookData","nameLocation":"2346:8:30","nodeType":"VariableDeclaration","scope":3475,"src":"2331:23:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":3469,"name":"bytes","nodeType":"ElementaryTypeName","src":"2331:5:30","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2207:153:30"},"returnParameters":{"id":3474,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3473,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3475,"src":"2379:6:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":3472,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2379:6:30","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"2378:8:30"},"scope":3618,"src":"2180:207:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3476,"nodeType":"StructuredDocumentation","src":"2393:781:30","text":"@notice The hook called after liquidity is added\n @param sender The initial msg.sender for the add liquidity call\n @param key The key for the pool\n @param params The parameters for adding liquidity\n @param delta The caller's balance delta after adding liquidity; the sum of principal delta, fees accrued, and hook delta\n @param feesAccrued The fees accrued since the last time fees were collected from this position\n @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\n @return bytes4 The function selector for the hook\n @return BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency"},"functionSelector":"9f063efc","id":3500,"implemented":false,"kind":"function","modifiers":[],"name":"afterAddLiquidity","nameLocation":"3188:17:30","nodeType":"FunctionDefinition","parameters":{"id":3493,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3478,"mutability":"mutable","name":"sender","nameLocation":"3223:6:30","nodeType":"VariableDeclaration","scope":3500,"src":"3215:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3477,"name":"address","nodeType":"ElementaryTypeName","src":"3215:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3481,"mutability":"mutable","name":"key","nameLocation":"3256:3:30","nodeType":"VariableDeclaration","scope":3500,"src":"3239:20:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":3480,"nodeType":"UserDefinedTypeName","pathNode":{"id":3479,"name":"PoolKey","nameLocations":["3239:7:30"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"3239:7:30"},"referencedDeclaration":11063,"src":"3239:7:30","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3484,"mutability":"mutable","name":"params","nameLocation":"3313:6:30","nodeType":"VariableDeclaration","scope":3500,"src":"3269:50:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_calldata_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"},"typeName":{"id":3483,"nodeType":"UserDefinedTypeName","pathNode":{"id":3482,"name":"IPoolManager.ModifyLiquidityParams","nameLocations":["3269:12:30","3282:21:30"],"nodeType":"IdentifierPath","referencedDeclaration":3787,"src":"3269:34:30"},"referencedDeclaration":3787,"src":"3269:34:30","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_storage_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"}},"visibility":"internal"},{"constant":false,"id":3487,"mutability":"mutable","name":"delta","nameLocation":"3342:5:30","nodeType":"VariableDeclaration","scope":3500,"src":"3329:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":3486,"nodeType":"UserDefinedTypeName","pathNode":{"id":3485,"name":"BalanceDelta","nameLocations":["3329:12:30"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"3329:12:30"},"referencedDeclaration":10503,"src":"3329:12:30","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":3490,"mutability":"mutable","name":"feesAccrued","nameLocation":"3370:11:30","nodeType":"VariableDeclaration","scope":3500,"src":"3357:24:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":3489,"nodeType":"UserDefinedTypeName","pathNode":{"id":3488,"name":"BalanceDelta","nameLocations":["3357:12:30"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"3357:12:30"},"referencedDeclaration":10503,"src":"3357:12:30","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":3492,"mutability":"mutable","name":"hookData","nameLocation":"3406:8:30","nodeType":"VariableDeclaration","scope":3500,"src":"3391:23:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":3491,"name":"bytes","nodeType":"ElementaryTypeName","src":"3391:5:30","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3205:215:30"},"returnParameters":{"id":3499,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3495,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3500,"src":"3439:6:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":3494,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3439:6:30","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":3498,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3500,"src":"3447:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":3497,"nodeType":"UserDefinedTypeName","pathNode":{"id":3496,"name":"BalanceDelta","nameLocations":["3447:12:30"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"3447:12:30"},"referencedDeclaration":10503,"src":"3447:12:30","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"3438:22:30"},"scope":3618,"src":"3179:282:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3501,"nodeType":"StructuredDocumentation","src":"3467:412:30","text":"@notice The hook called before liquidity is removed\n @param sender The initial msg.sender for the remove liquidity call\n @param key The key for the pool\n @param params The parameters for removing liquidity\n @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\n @return bytes4 The function selector for the hook"},"functionSelector":"21d0ee70","id":3516,"implemented":false,"kind":"function","modifiers":[],"name":"beforeRemoveLiquidity","nameLocation":"3893:21:30","nodeType":"FunctionDefinition","parameters":{"id":3512,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3503,"mutability":"mutable","name":"sender","nameLocation":"3932:6:30","nodeType":"VariableDeclaration","scope":3516,"src":"3924:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3502,"name":"address","nodeType":"ElementaryTypeName","src":"3924:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3506,"mutability":"mutable","name":"key","nameLocation":"3965:3:30","nodeType":"VariableDeclaration","scope":3516,"src":"3948:20:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":3505,"nodeType":"UserDefinedTypeName","pathNode":{"id":3504,"name":"PoolKey","nameLocations":["3948:7:30"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"3948:7:30"},"referencedDeclaration":11063,"src":"3948:7:30","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3509,"mutability":"mutable","name":"params","nameLocation":"4022:6:30","nodeType":"VariableDeclaration","scope":3516,"src":"3978:50:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_calldata_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"},"typeName":{"id":3508,"nodeType":"UserDefinedTypeName","pathNode":{"id":3507,"name":"IPoolManager.ModifyLiquidityParams","nameLocations":["3978:12:30","3991:21:30"],"nodeType":"IdentifierPath","referencedDeclaration":3787,"src":"3978:34:30"},"referencedDeclaration":3787,"src":"3978:34:30","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_storage_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"}},"visibility":"internal"},{"constant":false,"id":3511,"mutability":"mutable","name":"hookData","nameLocation":"4053:8:30","nodeType":"VariableDeclaration","scope":3516,"src":"4038:23:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":3510,"name":"bytes","nodeType":"ElementaryTypeName","src":"4038:5:30","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3914:153:30"},"returnParameters":{"id":3515,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3514,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3516,"src":"4086:6:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":3513,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4086:6:30","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"4085:8:30"},"scope":3618,"src":"3884:210:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3517,"nodeType":"StructuredDocumentation","src":"4100:793:30","text":"@notice The hook called after liquidity is removed\n @param sender The initial msg.sender for the remove liquidity call\n @param key The key for the pool\n @param params The parameters for removing liquidity\n @param delta The caller's balance delta after removing liquidity; the sum of principal delta, fees accrued, and hook delta\n @param feesAccrued The fees accrued since the last time fees were collected from this position\n @param hookData Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\n @return bytes4 The function selector for the hook\n @return BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency"},"functionSelector":"6c2bbe7e","id":3541,"implemented":false,"kind":"function","modifiers":[],"name":"afterRemoveLiquidity","nameLocation":"4907:20:30","nodeType":"FunctionDefinition","parameters":{"id":3534,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3519,"mutability":"mutable","name":"sender","nameLocation":"4945:6:30","nodeType":"VariableDeclaration","scope":3541,"src":"4937:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3518,"name":"address","nodeType":"ElementaryTypeName","src":"4937:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3522,"mutability":"mutable","name":"key","nameLocation":"4978:3:30","nodeType":"VariableDeclaration","scope":3541,"src":"4961:20:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":3521,"nodeType":"UserDefinedTypeName","pathNode":{"id":3520,"name":"PoolKey","nameLocations":["4961:7:30"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"4961:7:30"},"referencedDeclaration":11063,"src":"4961:7:30","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3525,"mutability":"mutable","name":"params","nameLocation":"5035:6:30","nodeType":"VariableDeclaration","scope":3541,"src":"4991:50:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_calldata_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"},"typeName":{"id":3524,"nodeType":"UserDefinedTypeName","pathNode":{"id":3523,"name":"IPoolManager.ModifyLiquidityParams","nameLocations":["4991:12:30","5004:21:30"],"nodeType":"IdentifierPath","referencedDeclaration":3787,"src":"4991:34:30"},"referencedDeclaration":3787,"src":"4991:34:30","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_storage_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"}},"visibility":"internal"},{"constant":false,"id":3528,"mutability":"mutable","name":"delta","nameLocation":"5064:5:30","nodeType":"VariableDeclaration","scope":3541,"src":"5051:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":3527,"nodeType":"UserDefinedTypeName","pathNode":{"id":3526,"name":"BalanceDelta","nameLocations":["5051:12:30"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"5051:12:30"},"referencedDeclaration":10503,"src":"5051:12:30","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":3531,"mutability":"mutable","name":"feesAccrued","nameLocation":"5092:11:30","nodeType":"VariableDeclaration","scope":3541,"src":"5079:24:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":3530,"nodeType":"UserDefinedTypeName","pathNode":{"id":3529,"name":"BalanceDelta","nameLocations":["5079:12:30"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"5079:12:30"},"referencedDeclaration":10503,"src":"5079:12:30","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":3533,"mutability":"mutable","name":"hookData","nameLocation":"5128:8:30","nodeType":"VariableDeclaration","scope":3541,"src":"5113:23:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":3532,"name":"bytes","nodeType":"ElementaryTypeName","src":"5113:5:30","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4927:215:30"},"returnParameters":{"id":3540,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3536,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3541,"src":"5161:6:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":3535,"name":"bytes4","nodeType":"ElementaryTypeName","src":"5161:6:30","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":3539,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3541,"src":"5169:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":3538,"nodeType":"UserDefinedTypeName","pathNode":{"id":3537,"name":"BalanceDelta","nameLocations":["5169:12:30"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"5169:12:30"},"referencedDeclaration":10503,"src":"5169:12:30","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"5160:22:30"},"scope":3618,"src":"4898:285:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3542,"nodeType":"StructuredDocumentation","src":"5189:790:30","text":"@notice The hook called before a swap\n @param sender The initial msg.sender for the swap call\n @param key The key for the pool\n @param params The parameters for the swap\n @param hookData Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\n @return bytes4 The function selector for the hook\n @return BeforeSwapDelta The hook's delta in specified and unspecified currencies. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\n @return uint24 Optionally override the lp fee, only used if three conditions are met: 1. the Pool has a dynamic fee, 2. the value's 2nd highest bit is set (23rd bit, 0x400000), and 3. the value is less than or equal to the maximum fee (1 million)"},"functionSelector":"575e24b4","id":3562,"implemented":false,"kind":"function","modifiers":[],"name":"beforeSwap","nameLocation":"5993:10:30","nodeType":"FunctionDefinition","parameters":{"id":3553,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3544,"mutability":"mutable","name":"sender","nameLocation":"6021:6:30","nodeType":"VariableDeclaration","scope":3562,"src":"6013:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3543,"name":"address","nodeType":"ElementaryTypeName","src":"6013:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3547,"mutability":"mutable","name":"key","nameLocation":"6054:3:30","nodeType":"VariableDeclaration","scope":3562,"src":"6037:20:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":3546,"nodeType":"UserDefinedTypeName","pathNode":{"id":3545,"name":"PoolKey","nameLocations":["6037:7:30"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"6037:7:30"},"referencedDeclaration":11063,"src":"6037:7:30","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3550,"mutability":"mutable","name":"params","nameLocation":"6100:6:30","nodeType":"VariableDeclaration","scope":3562,"src":"6067:39:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_calldata_ptr","typeString":"struct IPoolManager.SwapParams"},"typeName":{"id":3549,"nodeType":"UserDefinedTypeName","pathNode":{"id":3548,"name":"IPoolManager.SwapParams","nameLocations":["6067:12:30","6080:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":3815,"src":"6067:23:30"},"referencedDeclaration":3815,"src":"6067:23:30","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_storage_ptr","typeString":"struct IPoolManager.SwapParams"}},"visibility":"internal"},{"constant":false,"id":3552,"mutability":"mutable","name":"hookData","nameLocation":"6131:8:30","nodeType":"VariableDeclaration","scope":3562,"src":"6116:23:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":3551,"name":"bytes","nodeType":"ElementaryTypeName","src":"6116:5:30","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6003:142:30"},"returnParameters":{"id":3561,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3555,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3562,"src":"6164:6:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":3554,"name":"bytes4","nodeType":"ElementaryTypeName","src":"6164:6:30","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":3558,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3562,"src":"6172:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"},"typeName":{"id":3557,"nodeType":"UserDefinedTypeName","pathNode":{"id":3556,"name":"BeforeSwapDelta","nameLocations":["6172:15:30"],"nodeType":"IdentifierPath","referencedDeclaration":10665,"src":"6172:15:30"},"referencedDeclaration":10665,"src":"6172:15:30","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"visibility":"internal"},{"constant":false,"id":3560,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3562,"src":"6189:6:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":3559,"name":"uint24","nodeType":"ElementaryTypeName","src":"6189:6:30","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"6163:33:30"},"scope":3618,"src":"5984:213:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3563,"nodeType":"StructuredDocumentation","src":"6203:602:30","text":"@notice The hook called after a swap\n @param sender The initial msg.sender for the swap call\n @param key The key for the pool\n @param params The parameters for the swap\n @param delta The amount owed to the caller (positive) or owed to the pool (negative)\n @param hookData Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\n @return bytes4 The function selector for the hook\n @return int128 The hook's delta in unspecified currency. Positive: the hook is owed/took currency, negative: the hook owes/sent currency"},"functionSelector":"b47b2fb1","id":3583,"implemented":false,"kind":"function","modifiers":[],"name":"afterSwap","nameLocation":"6819:9:30","nodeType":"FunctionDefinition","parameters":{"id":3577,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3565,"mutability":"mutable","name":"sender","nameLocation":"6846:6:30","nodeType":"VariableDeclaration","scope":3583,"src":"6838:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3564,"name":"address","nodeType":"ElementaryTypeName","src":"6838:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3568,"mutability":"mutable","name":"key","nameLocation":"6879:3:30","nodeType":"VariableDeclaration","scope":3583,"src":"6862:20:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":3567,"nodeType":"UserDefinedTypeName","pathNode":{"id":3566,"name":"PoolKey","nameLocations":["6862:7:30"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"6862:7:30"},"referencedDeclaration":11063,"src":"6862:7:30","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3571,"mutability":"mutable","name":"params","nameLocation":"6925:6:30","nodeType":"VariableDeclaration","scope":3583,"src":"6892:39:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_calldata_ptr","typeString":"struct IPoolManager.SwapParams"},"typeName":{"id":3570,"nodeType":"UserDefinedTypeName","pathNode":{"id":3569,"name":"IPoolManager.SwapParams","nameLocations":["6892:12:30","6905:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":3815,"src":"6892:23:30"},"referencedDeclaration":3815,"src":"6892:23:30","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_storage_ptr","typeString":"struct IPoolManager.SwapParams"}},"visibility":"internal"},{"constant":false,"id":3574,"mutability":"mutable","name":"delta","nameLocation":"6954:5:30","nodeType":"VariableDeclaration","scope":3583,"src":"6941:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":3573,"nodeType":"UserDefinedTypeName","pathNode":{"id":3572,"name":"BalanceDelta","nameLocations":["6941:12:30"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"6941:12:30"},"referencedDeclaration":10503,"src":"6941:12:30","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":3576,"mutability":"mutable","name":"hookData","nameLocation":"6984:8:30","nodeType":"VariableDeclaration","scope":3583,"src":"6969:23:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":3575,"name":"bytes","nodeType":"ElementaryTypeName","src":"6969:5:30","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6828:170:30"},"returnParameters":{"id":3582,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3579,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3583,"src":"7017:6:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":3578,"name":"bytes4","nodeType":"ElementaryTypeName","src":"7017:6:30","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":3581,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3583,"src":"7025:6:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":3580,"name":"int128","nodeType":"ElementaryTypeName","src":"7025:6:30","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"7016:16:30"},"scope":3618,"src":"6810:223:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3584,"nodeType":"StructuredDocumentation","src":"7039:431:30","text":"@notice The hook called before donate\n @param sender The initial msg.sender for the donate call\n @param key The key for the pool\n @param amount0 The amount of token0 being donated\n @param amount1 The amount of token1 being donated\n @param hookData Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\n @return bytes4 The function selector for the hook"},"functionSelector":"b6a8b0fa","id":3600,"implemented":false,"kind":"function","modifiers":[],"name":"beforeDonate","nameLocation":"7484:12:30","nodeType":"FunctionDefinition","parameters":{"id":3596,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3586,"mutability":"mutable","name":"sender","nameLocation":"7514:6:30","nodeType":"VariableDeclaration","scope":3600,"src":"7506:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3585,"name":"address","nodeType":"ElementaryTypeName","src":"7506:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3589,"mutability":"mutable","name":"key","nameLocation":"7547:3:30","nodeType":"VariableDeclaration","scope":3600,"src":"7530:20:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":3588,"nodeType":"UserDefinedTypeName","pathNode":{"id":3587,"name":"PoolKey","nameLocations":["7530:7:30"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"7530:7:30"},"referencedDeclaration":11063,"src":"7530:7:30","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3591,"mutability":"mutable","name":"amount0","nameLocation":"7568:7:30","nodeType":"VariableDeclaration","scope":3600,"src":"7560:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3590,"name":"uint256","nodeType":"ElementaryTypeName","src":"7560:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3593,"mutability":"mutable","name":"amount1","nameLocation":"7593:7:30","nodeType":"VariableDeclaration","scope":3600,"src":"7585:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3592,"name":"uint256","nodeType":"ElementaryTypeName","src":"7585:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3595,"mutability":"mutable","name":"hookData","nameLocation":"7625:8:30","nodeType":"VariableDeclaration","scope":3600,"src":"7610:23:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":3594,"name":"bytes","nodeType":"ElementaryTypeName","src":"7610:5:30","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7496:143:30"},"returnParameters":{"id":3599,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3598,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3600,"src":"7658:6:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":3597,"name":"bytes4","nodeType":"ElementaryTypeName","src":"7658:6:30","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"7657:8:30"},"scope":3618,"src":"7475:191:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3601,"nodeType":"StructuredDocumentation","src":"7672:430:30","text":"@notice The hook called after donate\n @param sender The initial msg.sender for the donate call\n @param key The key for the pool\n @param amount0 The amount of token0 being donated\n @param amount1 The amount of token1 being donated\n @param hookData Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\n @return bytes4 The function selector for the hook"},"functionSelector":"e1b4af69","id":3617,"implemented":false,"kind":"function","modifiers":[],"name":"afterDonate","nameLocation":"8116:11:30","nodeType":"FunctionDefinition","parameters":{"id":3613,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3603,"mutability":"mutable","name":"sender","nameLocation":"8145:6:30","nodeType":"VariableDeclaration","scope":3617,"src":"8137:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3602,"name":"address","nodeType":"ElementaryTypeName","src":"8137:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3606,"mutability":"mutable","name":"key","nameLocation":"8178:3:30","nodeType":"VariableDeclaration","scope":3617,"src":"8161:20:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":3605,"nodeType":"UserDefinedTypeName","pathNode":{"id":3604,"name":"PoolKey","nameLocations":["8161:7:30"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"8161:7:30"},"referencedDeclaration":11063,"src":"8161:7:30","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3608,"mutability":"mutable","name":"amount0","nameLocation":"8199:7:30","nodeType":"VariableDeclaration","scope":3617,"src":"8191:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3607,"name":"uint256","nodeType":"ElementaryTypeName","src":"8191:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3610,"mutability":"mutable","name":"amount1","nameLocation":"8224:7:30","nodeType":"VariableDeclaration","scope":3617,"src":"8216:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3609,"name":"uint256","nodeType":"ElementaryTypeName","src":"8216:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3612,"mutability":"mutable","name":"hookData","nameLocation":"8256:8:30","nodeType":"VariableDeclaration","scope":3617,"src":"8241:23:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":3611,"name":"bytes","nodeType":"ElementaryTypeName","src":"8241:5:30","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8127:143:30"},"returnParameters":{"id":3616,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3615,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3617,"src":"8289:6:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":3614,"name":"bytes4","nodeType":"ElementaryTypeName","src":"8289:6:30","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"8288:8:30"},"scope":3618,"src":"8107:190:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":3619,"src":"756:7543:30","usedErrors":[],"usedEvents":[]}],"src":"32:8268:30"},"id":30},"@uniswap/v4-core/src/interfaces/IPoolManager.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","exportedSymbols":{"BalanceDelta":[10503],"Currency":[10717],"IERC6909Claims":[4192],"IExtsload":[3398],"IExttload":[3420],"IHooks":[3618],"IPoolManager":[3917],"IProtocolFees":[3994],"PoolId":[11017],"PoolKey":[11063]},"id":3918,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":3620,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"32:24:31"},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"../types/Currency.sol","id":3622,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3918,"sourceUnit":11012,"src":"58:47:31","symbolAliases":[{"foreign":{"id":3621,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"66:8:31","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"../types/PoolKey.sol","id":3624,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3918,"sourceUnit":11064,"src":"106:45:31","symbolAliases":[{"foreign":{"id":3623,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"114:7:31","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IHooks.sol","file":"./IHooks.sol","id":3626,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3918,"sourceUnit":3619,"src":"152:36:31","symbolAliases":[{"foreign":{"id":3625,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"160:6:31","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol","file":"./external/IERC6909Claims.sol","id":3628,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3918,"sourceUnit":4193,"src":"189:61:31","symbolAliases":[{"foreign":{"id":3627,"name":"IERC6909Claims","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4192,"src":"197:14:31","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IProtocolFees.sol","file":"./IProtocolFees.sol","id":3630,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3918,"sourceUnit":3995,"src":"251:50:31","symbolAliases":[{"foreign":{"id":3629,"name":"IProtocolFees","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3994,"src":"259:13:31","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/BalanceDelta.sol","file":"../types/BalanceDelta.sol","id":3632,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3918,"sourceUnit":10662,"src":"302:55:31","symbolAliases":[{"foreign":{"id":3631,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"310:12:31","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolId.sol","file":"../types/PoolId.sol","id":3634,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3918,"sourceUnit":11032,"src":"358:43:31","symbolAliases":[{"foreign":{"id":3633,"name":"PoolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11017,"src":"366:6:31","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IExtsload.sol","file":"./IExtsload.sol","id":3636,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3918,"sourceUnit":3399,"src":"402:42:31","symbolAliases":[{"foreign":{"id":3635,"name":"IExtsload","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3398,"src":"410:9:31","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IExttload.sol","file":"./IExttload.sol","id":3638,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3918,"sourceUnit":3421,"src":"445:42:31","symbolAliases":[{"foreign":{"id":3637,"name":"IExttload","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3420,"src":"453:9:31","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":3640,"name":"IProtocolFees","nameLocations":["557:13:31"],"nodeType":"IdentifierPath","referencedDeclaration":3994,"src":"557:13:31"},"id":3641,"nodeType":"InheritanceSpecifier","src":"557:13:31"},{"baseName":{"id":3642,"name":"IERC6909Claims","nameLocations":["572:14:31"],"nodeType":"IdentifierPath","referencedDeclaration":4192,"src":"572:14:31"},"id":3643,"nodeType":"InheritanceSpecifier","src":"572:14:31"},{"baseName":{"id":3644,"name":"IExtsload","nameLocations":["588:9:31"],"nodeType":"IdentifierPath","referencedDeclaration":3398,"src":"588:9:31"},"id":3645,"nodeType":"InheritanceSpecifier","src":"588:9:31"},{"baseName":{"id":3646,"name":"IExttload","nameLocations":["599:9:31"],"nodeType":"IdentifierPath","referencedDeclaration":3420,"src":"599:9:31"},"id":3647,"nodeType":"InheritanceSpecifier","src":"599:9:31"}],"canonicalName":"IPoolManager","contractDependencies":[],"contractKind":"interface","documentation":{"id":3639,"nodeType":"StructuredDocumentation","src":"489:42:31","text":"@notice Interface for the PoolManager"},"fullyImplemented":false,"id":3917,"linearizedBaseContracts":[3917,3420,3398,4192,3994],"name":"IPoolManager","nameLocation":"541:12:31","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":3648,"nodeType":"StructuredDocumentation","src":"615:83:31","text":"@notice Thrown when a currency is not netted out after the contract is unlocked"},"errorSelector":"5212cba1","id":3650,"name":"CurrencyNotSettled","nameLocation":"709:18:31","nodeType":"ErrorDefinition","parameters":{"id":3649,"nodeType":"ParameterList","parameters":[],"src":"727:2:31"},"src":"703:27:31"},{"documentation":{"id":3651,"nodeType":"StructuredDocumentation","src":"736:70:31","text":"@notice Thrown when trying to interact with a non-initialized pool"},"errorSelector":"486aa307","id":3653,"name":"PoolNotInitialized","nameLocation":"817:18:31","nodeType":"ErrorDefinition","parameters":{"id":3652,"nodeType":"ParameterList","parameters":[],"src":"835:2:31"},"src":"811:27:31"},{"documentation":{"id":3654,"nodeType":"StructuredDocumentation","src":"844:78:31","text":"@notice Thrown when unlock is called, but the contract is already unlocked"},"errorSelector":"5090d6c6","id":3656,"name":"AlreadyUnlocked","nameLocation":"933:15:31","nodeType":"ErrorDefinition","parameters":{"id":3655,"nodeType":"ParameterList","parameters":[],"src":"948:2:31"},"src":"927:24:31"},{"documentation":{"id":3657,"nodeType":"StructuredDocumentation","src":"957:101:31","text":"@notice Thrown when a function is called that requires the contract to be unlocked, but it is not"},"errorSelector":"54e3ca0d","id":3659,"name":"ManagerLocked","nameLocation":"1069:13:31","nodeType":"ErrorDefinition","parameters":{"id":3658,"nodeType":"ParameterList","parameters":[],"src":"1082:2:31"},"src":"1063:22:31"},{"documentation":{"id":3660,"nodeType":"StructuredDocumentation","src":"1091:96:31","text":"@notice Pools are limited to type(int16).max tickSpacing in #initialize, to prevent overflow"},"errorSelector":"b70024f8","id":3664,"name":"TickSpacingTooLarge","nameLocation":"1198:19:31","nodeType":"ErrorDefinition","parameters":{"id":3663,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3662,"mutability":"mutable","name":"tickSpacing","nameLocation":"1224:11:31","nodeType":"VariableDeclaration","scope":3664,"src":"1218:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3661,"name":"int24","nodeType":"ElementaryTypeName","src":"1218:5:31","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1217:19:31"},"src":"1192:45:31"},{"documentation":{"id":3665,"nodeType":"StructuredDocumentation","src":"1243:81:31","text":"@notice Pools must have a positive non-zero tickSpacing passed to #initialize"},"errorSelector":"e9e90588","id":3669,"name":"TickSpacingTooSmall","nameLocation":"1335:19:31","nodeType":"ErrorDefinition","parameters":{"id":3668,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3667,"mutability":"mutable","name":"tickSpacing","nameLocation":"1361:11:31","nodeType":"VariableDeclaration","scope":3669,"src":"1355:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3666,"name":"int24","nodeType":"ElementaryTypeName","src":"1355:5:31","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1354:19:31"},"src":"1329:45:31"},{"documentation":{"id":3670,"nodeType":"StructuredDocumentation","src":"1380:86:31","text":"@notice PoolKey must have currencies where address(currency0) < address(currency1)"},"errorSelector":"6e6c9830","id":3676,"name":"CurrenciesOutOfOrderOrEqual","nameLocation":"1477:27:31","nodeType":"ErrorDefinition","parameters":{"id":3675,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3672,"mutability":"mutable","name":"currency0","nameLocation":"1513:9:31","nodeType":"VariableDeclaration","scope":3676,"src":"1505:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3671,"name":"address","nodeType":"ElementaryTypeName","src":"1505:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3674,"mutability":"mutable","name":"currency1","nameLocation":"1532:9:31","nodeType":"VariableDeclaration","scope":3676,"src":"1524:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3673,"name":"address","nodeType":"ElementaryTypeName","src":"1524:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1504:38:31"},"src":"1471:72:31"},{"documentation":{"id":3677,"nodeType":"StructuredDocumentation","src":"1549:156:31","text":"@notice Thrown when a call to updateDynamicLPFee is made by an address that is not the hook,\n or on a pool that does not have a dynamic swap fee."},"errorSelector":"30d21641","id":3679,"name":"UnauthorizedDynamicLPFeeUpdate","nameLocation":"1716:30:31","nodeType":"ErrorDefinition","parameters":{"id":3678,"nodeType":"ParameterList","parameters":[],"src":"1746:2:31"},"src":"1710:39:31"},{"documentation":{"id":3680,"nodeType":"StructuredDocumentation","src":"1755:50:31","text":"@notice Thrown when trying to swap amount of 0"},"errorSelector":"be8b8507","id":3682,"name":"SwapAmountCannotBeZero","nameLocation":"1816:22:31","nodeType":"ErrorDefinition","parameters":{"id":3681,"nodeType":"ParameterList","parameters":[],"src":"1838:2:31"},"src":"1810:31:31"},{"documentation":{"id":3683,"nodeType":"StructuredDocumentation","src":"1847:75:31","text":"@notice Thrown when native currency is passed to a non native settlement"},"errorSelector":"b0ec849e","id":3685,"name":"NonzeroNativeValue","nameLocation":"1933:18:31","nodeType":"ErrorDefinition","parameters":{"id":3684,"nodeType":"ParameterList","parameters":[],"src":"1951:2:31"},"src":"1927:27:31"},{"documentation":{"id":3686,"nodeType":"StructuredDocumentation","src":"1960:110:31","text":"@notice Thrown when `clear` is called with an amount that is not exactly equal to the open currency delta."},"errorSelector":"bda73abf","id":3688,"name":"MustClearExactPositiveDelta","nameLocation":"2081:27:31","nodeType":"ErrorDefinition","parameters":{"id":3687,"nodeType":"ParameterList","parameters":[],"src":"2108:2:31"},"src":"2075:36:31"},{"anonymous":false,"documentation":{"id":3689,"nodeType":"StructuredDocumentation","src":"2117:708:31","text":"@notice Emitted when a new pool is initialized\n @param id The abi encoded hash of the pool key struct for the new pool\n @param currency0 The first currency of the pool by address sort order\n @param currency1 The second currency of the pool by address sort order\n @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip\n @param tickSpacing The minimum number of ticks between initialized ticks\n @param hooks The hooks contract address for the pool, or address(0) if none\n @param sqrtPriceX96 The price of the pool on initialization\n @param tick The initial tick of the pool corresponding to the initialized price"},"eventSelector":"dd466e674ea557f56295e2d0218a125ea4b4f0f6f3307b95f85e6110838d6438","id":3711,"name":"Initialize","nameLocation":"2836:10:31","nodeType":"EventDefinition","parameters":{"id":3710,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3692,"indexed":true,"mutability":"mutable","name":"id","nameLocation":"2871:2:31","nodeType":"VariableDeclaration","scope":3711,"src":"2856:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":3691,"nodeType":"UserDefinedTypeName","pathNode":{"id":3690,"name":"PoolId","nameLocations":["2856:6:31"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"2856:6:31"},"referencedDeclaration":11017,"src":"2856:6:31","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":3695,"indexed":true,"mutability":"mutable","name":"currency0","nameLocation":"2900:9:31","nodeType":"VariableDeclaration","scope":3711,"src":"2883:26:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":3694,"nodeType":"UserDefinedTypeName","pathNode":{"id":3693,"name":"Currency","nameLocations":["2883:8:31"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"2883:8:31"},"referencedDeclaration":10717,"src":"2883:8:31","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":3698,"indexed":true,"mutability":"mutable","name":"currency1","nameLocation":"2936:9:31","nodeType":"VariableDeclaration","scope":3711,"src":"2919:26:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":3697,"nodeType":"UserDefinedTypeName","pathNode":{"id":3696,"name":"Currency","nameLocations":["2919:8:31"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"2919:8:31"},"referencedDeclaration":10717,"src":"2919:8:31","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":3700,"indexed":false,"mutability":"mutable","name":"fee","nameLocation":"2962:3:31","nodeType":"VariableDeclaration","scope":3711,"src":"2955:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":3699,"name":"uint24","nodeType":"ElementaryTypeName","src":"2955:6:31","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":3702,"indexed":false,"mutability":"mutable","name":"tickSpacing","nameLocation":"2981:11:31","nodeType":"VariableDeclaration","scope":3711,"src":"2975:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3701,"name":"int24","nodeType":"ElementaryTypeName","src":"2975:5:31","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":3705,"indexed":false,"mutability":"mutable","name":"hooks","nameLocation":"3009:5:31","nodeType":"VariableDeclaration","scope":3711,"src":"3002:12:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":3704,"nodeType":"UserDefinedTypeName","pathNode":{"id":3703,"name":"IHooks","nameLocations":["3002:6:31"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"3002:6:31"},"referencedDeclaration":3618,"src":"3002:6:31","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":3707,"indexed":false,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"3032:12:31","nodeType":"VariableDeclaration","scope":3711,"src":"3024:20:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":3706,"name":"uint160","nodeType":"ElementaryTypeName","src":"3024:7:31","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":3709,"indexed":false,"mutability":"mutable","name":"tick","nameLocation":"3060:4:31","nodeType":"VariableDeclaration","scope":3711,"src":"3054:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3708,"name":"int24","nodeType":"ElementaryTypeName","src":"3054:5:31","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2846:224:31"},"src":"2830:241:31"},{"anonymous":false,"documentation":{"id":3712,"nodeType":"StructuredDocumentation","src":"3077:459:31","text":"@notice Emitted when a liquidity position is modified\n @param id The abi encoded hash of the pool key struct for the pool that was modified\n @param sender The address that modified the pool\n @param tickLower The lower tick of the position\n @param tickUpper The upper tick of the position\n @param liquidityDelta The amount of liquidity that was added or removed\n @param salt The extra data to make positions unique"},"eventSelector":"f208f4912782fd25c7f114ca3723a2d5dd6f3bcc3ac8db5af63baa85f711d5ec","id":3727,"name":"ModifyLiquidity","nameLocation":"3547:15:31","nodeType":"EventDefinition","parameters":{"id":3726,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3715,"indexed":true,"mutability":"mutable","name":"id","nameLocation":"3587:2:31","nodeType":"VariableDeclaration","scope":3727,"src":"3572:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":3714,"nodeType":"UserDefinedTypeName","pathNode":{"id":3713,"name":"PoolId","nameLocations":["3572:6:31"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"3572:6:31"},"referencedDeclaration":11017,"src":"3572:6:31","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":3717,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"3607:6:31","nodeType":"VariableDeclaration","scope":3727,"src":"3591:22:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3716,"name":"address","nodeType":"ElementaryTypeName","src":"3591:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3719,"indexed":false,"mutability":"mutable","name":"tickLower","nameLocation":"3621:9:31","nodeType":"VariableDeclaration","scope":3727,"src":"3615:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3718,"name":"int24","nodeType":"ElementaryTypeName","src":"3615:5:31","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":3721,"indexed":false,"mutability":"mutable","name":"tickUpper","nameLocation":"3638:9:31","nodeType":"VariableDeclaration","scope":3727,"src":"3632:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3720,"name":"int24","nodeType":"ElementaryTypeName","src":"3632:5:31","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":3723,"indexed":false,"mutability":"mutable","name":"liquidityDelta","nameLocation":"3656:14:31","nodeType":"VariableDeclaration","scope":3727,"src":"3649:21:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3722,"name":"int256","nodeType":"ElementaryTypeName","src":"3649:6:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":3725,"indexed":false,"mutability":"mutable","name":"salt","nameLocation":"3680:4:31","nodeType":"VariableDeclaration","scope":3727,"src":"3672:12:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3724,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3672:7:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3562:128:31"},"src":"3541:150:31"},{"anonymous":false,"documentation":{"id":3728,"nodeType":"StructuredDocumentation","src":"3697:674:31","text":"@notice Emitted for swaps between currency0 and currency1\n @param id The abi encoded hash of the pool key struct for the pool that was modified\n @param sender The address that initiated the swap call, and that received the callback\n @param amount0 The delta of the currency0 balance of the pool\n @param amount1 The delta of the currency1 balance of the pool\n @param sqrtPriceX96 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 the price of the pool after the swap\n @param fee The swap fee in hundredths of a bip"},"eventSelector":"40e9cecb9f5f1f1c5b9c97dec2917b7ee92e57ba5563708daca94dd84ad7112f","id":3747,"name":"Swap","nameLocation":"4382:4:31","nodeType":"EventDefinition","parameters":{"id":3746,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3731,"indexed":true,"mutability":"mutable","name":"id","nameLocation":"4411:2:31","nodeType":"VariableDeclaration","scope":3747,"src":"4396:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":3730,"nodeType":"UserDefinedTypeName","pathNode":{"id":3729,"name":"PoolId","nameLocations":["4396:6:31"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"4396:6:31"},"referencedDeclaration":11017,"src":"4396:6:31","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":3733,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"4439:6:31","nodeType":"VariableDeclaration","scope":3747,"src":"4423:22:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3732,"name":"address","nodeType":"ElementaryTypeName","src":"4423:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3735,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"4462:7:31","nodeType":"VariableDeclaration","scope":3747,"src":"4455:14:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":3734,"name":"int128","nodeType":"ElementaryTypeName","src":"4455:6:31","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":3737,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"4486:7:31","nodeType":"VariableDeclaration","scope":3747,"src":"4479:14:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":3736,"name":"int128","nodeType":"ElementaryTypeName","src":"4479:6:31","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":3739,"indexed":false,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"4511:12:31","nodeType":"VariableDeclaration","scope":3747,"src":"4503:20:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":3738,"name":"uint160","nodeType":"ElementaryTypeName","src":"4503:7:31","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":3741,"indexed":false,"mutability":"mutable","name":"liquidity","nameLocation":"4541:9:31","nodeType":"VariableDeclaration","scope":3747,"src":"4533:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":3740,"name":"uint128","nodeType":"ElementaryTypeName","src":"4533:7:31","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":3743,"indexed":false,"mutability":"mutable","name":"tick","nameLocation":"4566:4:31","nodeType":"VariableDeclaration","scope":3747,"src":"4560:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3742,"name":"int24","nodeType":"ElementaryTypeName","src":"4560:5:31","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":3745,"indexed":false,"mutability":"mutable","name":"fee","nameLocation":"4587:3:31","nodeType":"VariableDeclaration","scope":3747,"src":"4580:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":3744,"name":"uint24","nodeType":"ElementaryTypeName","src":"4580:6:31","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"4386:210:31"},"src":"4376:221:31"},{"anonymous":false,"documentation":{"id":3748,"nodeType":"StructuredDocumentation","src":"4603:303:31","text":"@notice Emitted for donations\n @param id The abi encoded hash of the pool key struct for the pool that was donated to\n @param sender The address that initiated the donate call\n @param amount0 The amount donated in currency0\n @param amount1 The amount donated in currency1"},"eventSelector":"29ef05caaff9404b7cb6d1c0e9bbae9eaa7ab2541feba1a9c4248594c08156cb","id":3759,"name":"Donate","nameLocation":"4917:6:31","nodeType":"EventDefinition","parameters":{"id":3758,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3751,"indexed":true,"mutability":"mutable","name":"id","nameLocation":"4939:2:31","nodeType":"VariableDeclaration","scope":3759,"src":"4924:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":3750,"nodeType":"UserDefinedTypeName","pathNode":{"id":3749,"name":"PoolId","nameLocations":["4924:6:31"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"4924:6:31"},"referencedDeclaration":11017,"src":"4924:6:31","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":3753,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"4959:6:31","nodeType":"VariableDeclaration","scope":3759,"src":"4943:22:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3752,"name":"address","nodeType":"ElementaryTypeName","src":"4943:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3755,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"4975:7:31","nodeType":"VariableDeclaration","scope":3759,"src":"4967:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3754,"name":"uint256","nodeType":"ElementaryTypeName","src":"4967:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3757,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"4992:7:31","nodeType":"VariableDeclaration","scope":3759,"src":"4984:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3756,"name":"uint256","nodeType":"ElementaryTypeName","src":"4984:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4923:77:31"},"src":"4911:90:31"},{"documentation":{"id":3760,"nodeType":"StructuredDocumentation","src":"5007:567:31","text":"@notice All interactions on the contract that account deltas require unlocking. A caller that calls `unlock` must implement\n `IUnlockCallback(msg.sender).unlockCallback(data)`, where they interact with the remaining functions on this contract.\n @dev The only functions callable without an unlocking are `initialize` and `updateDynamicLPFee`\n @param data Any data to pass to the callback, via `IUnlockCallback(msg.sender).unlockCallback(data)`\n @return The data returned by the call to `IUnlockCallback(msg.sender).unlockCallback(data)`"},"functionSelector":"48c89491","id":3767,"implemented":false,"kind":"function","modifiers":[],"name":"unlock","nameLocation":"5588:6:31","nodeType":"FunctionDefinition","parameters":{"id":3763,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3762,"mutability":"mutable","name":"data","nameLocation":"5610:4:31","nodeType":"VariableDeclaration","scope":3767,"src":"5595:19:31","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":3761,"name":"bytes","nodeType":"ElementaryTypeName","src":"5595:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5594:21:31"},"returnParameters":{"id":3766,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3765,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3767,"src":"5634:12:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":3764,"name":"bytes","nodeType":"ElementaryTypeName","src":"5634:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5633:14:31"},"scope":3917,"src":"5579:69:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3768,"nodeType":"StructuredDocumentation","src":"5654:356:31","text":"@notice Initialize the state for a given pool ID\n @dev A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n @param key The pool key for the pool to initialize\n @param sqrtPriceX96 The initial square root price\n @return tick The initial tick of the pool"},"functionSelector":"6276cbbe","id":3778,"implemented":false,"kind":"function","modifiers":[],"name":"initialize","nameLocation":"6024:10:31","nodeType":"FunctionDefinition","parameters":{"id":3774,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3771,"mutability":"mutable","name":"key","nameLocation":"6050:3:31","nodeType":"VariableDeclaration","scope":3778,"src":"6035:18:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":3770,"nodeType":"UserDefinedTypeName","pathNode":{"id":3769,"name":"PoolKey","nameLocations":["6035:7:31"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"6035:7:31"},"referencedDeclaration":11063,"src":"6035:7:31","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3773,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"6063:12:31","nodeType":"VariableDeclaration","scope":3778,"src":"6055:20:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":3772,"name":"uint160","nodeType":"ElementaryTypeName","src":"6055:7:31","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"6034:42:31"},"returnParameters":{"id":3777,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3776,"mutability":"mutable","name":"tick","nameLocation":"6101:4:31","nodeType":"VariableDeclaration","scope":3778,"src":"6095:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3775,"name":"int24","nodeType":"ElementaryTypeName","src":"6095:5:31","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"6094:12:31"},"scope":3917,"src":"6015:92:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"canonicalName":"IPoolManager.ModifyLiquidityParams","id":3787,"members":[{"constant":false,"id":3780,"mutability":"mutable","name":"tickLower","nameLocation":"6210:9:31","nodeType":"VariableDeclaration","scope":3787,"src":"6204:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3779,"name":"int24","nodeType":"ElementaryTypeName","src":"6204:5:31","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":3782,"mutability":"mutable","name":"tickUpper","nameLocation":"6235:9:31","nodeType":"VariableDeclaration","scope":3787,"src":"6229:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3781,"name":"int24","nodeType":"ElementaryTypeName","src":"6229:5:31","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":3784,"mutability":"mutable","name":"liquidityDelta","nameLocation":"6300:14:31","nodeType":"VariableDeclaration","scope":3787,"src":"6293:21:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3783,"name":"int256","nodeType":"ElementaryTypeName","src":"6293:6:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":3786,"mutability":"mutable","name":"salt","nameLocation":"6415:4:31","nodeType":"VariableDeclaration","scope":3787,"src":"6407:12:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3785,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6407:7:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"name":"ModifyLiquidityParams","nameLocation":"6120:21:31","nodeType":"StructDefinition","scope":3917,"src":"6113:313:31","visibility":"public"},{"documentation":{"id":3788,"nodeType":"StructuredDocumentation","src":"6432:592:31","text":"@notice Modify the liquidity for the given pool\n @dev Poke by calling with a zero liquidityDelta\n @param key The pool to modify liquidity in\n @param params The parameters for modifying the liquidity\n @param hookData The data to pass through to the add/removeLiquidity hooks\n @return callerDelta The balance delta of the caller of modifyLiquidity. This is the total of both principal, fee deltas, and hook deltas if applicable\n @return feesAccrued The balance delta of the fees generated in the liquidity range. Returned for informational purposes"},"functionSelector":"5a6bcfda","id":3805,"implemented":false,"kind":"function","modifiers":[],"name":"modifyLiquidity","nameLocation":"7038:15:31","nodeType":"FunctionDefinition","parameters":{"id":3797,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3791,"mutability":"mutable","name":"key","nameLocation":"7069:3:31","nodeType":"VariableDeclaration","scope":3805,"src":"7054:18:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":3790,"nodeType":"UserDefinedTypeName","pathNode":{"id":3789,"name":"PoolKey","nameLocations":["7054:7:31"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"7054:7:31"},"referencedDeclaration":11063,"src":"7054:7:31","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3794,"mutability":"mutable","name":"params","nameLocation":"7103:6:31","nodeType":"VariableDeclaration","scope":3805,"src":"7074:35:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"},"typeName":{"id":3793,"nodeType":"UserDefinedTypeName","pathNode":{"id":3792,"name":"ModifyLiquidityParams","nameLocations":["7074:21:31"],"nodeType":"IdentifierPath","referencedDeclaration":3787,"src":"7074:21:31"},"referencedDeclaration":3787,"src":"7074:21:31","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_storage_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"}},"visibility":"internal"},{"constant":false,"id":3796,"mutability":"mutable","name":"hookData","nameLocation":"7126:8:31","nodeType":"VariableDeclaration","scope":3805,"src":"7111:23:31","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":3795,"name":"bytes","nodeType":"ElementaryTypeName","src":"7111:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7053:82:31"},"returnParameters":{"id":3804,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3800,"mutability":"mutable","name":"callerDelta","nameLocation":"7183:11:31","nodeType":"VariableDeclaration","scope":3805,"src":"7170:24:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":3799,"nodeType":"UserDefinedTypeName","pathNode":{"id":3798,"name":"BalanceDelta","nameLocations":["7170:12:31"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"7170:12:31"},"referencedDeclaration":10503,"src":"7170:12:31","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":3803,"mutability":"mutable","name":"feesAccrued","nameLocation":"7209:11:31","nodeType":"VariableDeclaration","scope":3805,"src":"7196:24:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":3802,"nodeType":"UserDefinedTypeName","pathNode":{"id":3801,"name":"BalanceDelta","nameLocations":["7196:12:31"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"7196:12:31"},"referencedDeclaration":10503,"src":"7196:12:31","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"7169:52:31"},"scope":3917,"src":"7029:193:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"canonicalName":"IPoolManager.SwapParams","id":3815,"members":[{"constant":false,"id":3808,"mutability":"mutable","name":"zeroForOne","nameLocation":"7321:10:31","nodeType":"VariableDeclaration","scope":3815,"src":"7316:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3807,"name":"bool","nodeType":"ElementaryTypeName","src":"7316:4:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":3811,"mutability":"mutable","name":"amountSpecified","nameLocation":"7460:15:31","nodeType":"VariableDeclaration","scope":3815,"src":"7453:22:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3810,"name":"int256","nodeType":"ElementaryTypeName","src":"7453:6:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":3814,"mutability":"mutable","name":"sqrtPriceLimitX96","nameLocation":"7571:17:31","nodeType":"VariableDeclaration","scope":3815,"src":"7563:25:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":3813,"name":"uint160","nodeType":"ElementaryTypeName","src":"7563:7:31","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"name":"SwapParams","nameLocation":"7235:10:31","nodeType":"StructDefinition","scope":3917,"src":"7228:367:31","visibility":"public"},{"documentation":{"id":3816,"nodeType":"StructuredDocumentation","src":"7601:643:31","text":"@notice Swap against the given pool\n @param key The pool to swap in\n @param params The parameters for swapping\n @param hookData The data to pass through to the swap hooks\n @return swapDelta The balance delta of the address swapping\n @dev Swapping on low liquidity pools may cause unexpected swap amounts when liquidity available is less than amountSpecified.\n Additionally note that if interacting with hooks that have the BEFORE_SWAP_RETURNS_DELTA_FLAG or AFTER_SWAP_RETURNS_DELTA_FLAG\n the hook may alter the swap input/output. Integrators should perform checks on the returned swapDelta."},"functionSelector":"f3cd914c","id":3830,"implemented":false,"kind":"function","modifiers":[],"name":"swap","nameLocation":"8258:4:31","nodeType":"FunctionDefinition","parameters":{"id":3825,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3819,"mutability":"mutable","name":"key","nameLocation":"8278:3:31","nodeType":"VariableDeclaration","scope":3830,"src":"8263:18:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":3818,"nodeType":"UserDefinedTypeName","pathNode":{"id":3817,"name":"PoolKey","nameLocations":["8263:7:31"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"8263:7:31"},"referencedDeclaration":11063,"src":"8263:7:31","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3822,"mutability":"mutable","name":"params","nameLocation":"8301:6:31","nodeType":"VariableDeclaration","scope":3830,"src":"8283:24:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams"},"typeName":{"id":3821,"nodeType":"UserDefinedTypeName","pathNode":{"id":3820,"name":"SwapParams","nameLocations":["8283:10:31"],"nodeType":"IdentifierPath","referencedDeclaration":3815,"src":"8283:10:31"},"referencedDeclaration":3815,"src":"8283:10:31","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_storage_ptr","typeString":"struct IPoolManager.SwapParams"}},"visibility":"internal"},{"constant":false,"id":3824,"mutability":"mutable","name":"hookData","nameLocation":"8324:8:31","nodeType":"VariableDeclaration","scope":3830,"src":"8309:23:31","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":3823,"name":"bytes","nodeType":"ElementaryTypeName","src":"8309:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8262:71:31"},"returnParameters":{"id":3829,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3828,"mutability":"mutable","name":"swapDelta","nameLocation":"8381:9:31","nodeType":"VariableDeclaration","scope":3830,"src":"8368:22:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":3827,"nodeType":"UserDefinedTypeName","pathNode":{"id":3826,"name":"BalanceDelta","nameLocations":["8368:12:31"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"8368:12:31"},"referencedDeclaration":10503,"src":"8368:12:31","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"8367:24:31"},"scope":3917,"src":"8249:143:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3831,"nodeType":"StructuredDocumentation","src":"8398:1052:31","text":"@notice Donate the given currency amounts to the in-range liquidity providers of a pool\n @dev Calls to donate can be frontrun adding just-in-time liquidity, with the aim of receiving a portion donated funds.\n Donors should keep this in mind when designing donation mechanisms.\n @dev This function donates to in-range LPs at slot0.tick. In certain edge-cases of the swap algorithm, the `sqrtPrice` of\n a pool can be at the lower boundary of tick `n`, but the `slot0.tick` of the pool is already `n - 1`. In this case a call to\n `donate` would donate to tick `n - 1` (slot0.tick) not tick `n` (getTickAtSqrtPrice(slot0.sqrtPriceX96)).\n Read the comments in `Pool.swap()` for more information about this.\n @param key The key of the pool to donate to\n @param amount0 The amount of currency0 to donate\n @param amount1 The amount of currency1 to donate\n @param hookData The data to pass through to the donate hooks\n @return BalanceDelta The delta of the caller after the donate"},"functionSelector":"234266d7","id":3846,"implemented":false,"kind":"function","modifiers":[],"name":"donate","nameLocation":"9464:6:31","nodeType":"FunctionDefinition","parameters":{"id":3841,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3834,"mutability":"mutable","name":"key","nameLocation":"9486:3:31","nodeType":"VariableDeclaration","scope":3846,"src":"9471:18:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":3833,"nodeType":"UserDefinedTypeName","pathNode":{"id":3832,"name":"PoolKey","nameLocations":["9471:7:31"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"9471:7:31"},"referencedDeclaration":11063,"src":"9471:7:31","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3836,"mutability":"mutable","name":"amount0","nameLocation":"9499:7:31","nodeType":"VariableDeclaration","scope":3846,"src":"9491:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3835,"name":"uint256","nodeType":"ElementaryTypeName","src":"9491:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3838,"mutability":"mutable","name":"amount1","nameLocation":"9516:7:31","nodeType":"VariableDeclaration","scope":3846,"src":"9508:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3837,"name":"uint256","nodeType":"ElementaryTypeName","src":"9508:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3840,"mutability":"mutable","name":"hookData","nameLocation":"9540:8:31","nodeType":"VariableDeclaration","scope":3846,"src":"9525:23:31","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":3839,"name":"bytes","nodeType":"ElementaryTypeName","src":"9525:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"9470:79:31"},"returnParameters":{"id":3845,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3844,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3846,"src":"9584:12:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":3843,"nodeType":"UserDefinedTypeName","pathNode":{"id":3842,"name":"BalanceDelta","nameLocations":["9584:12:31"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"9584:12:31"},"referencedDeclaration":10503,"src":"9584:12:31","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"9583:14:31"},"scope":3917,"src":"9455:143:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3847,"nodeType":"StructuredDocumentation","src":"9604:605:31","text":"@notice Writes the current ERC20 balance of the specified currency to transient storage\n This is used to checkpoint balances for the manager and derive deltas for the caller.\n @dev This MUST be called before any ERC20 tokens are sent into the contract, but can be skipped\n for native tokens because the amount to settle is determined by the sent value.\n However, if an ERC20 token has been synced and not settled, and the caller instead wants to settle\n native funds, this function can be called with the native currency to then be able to settle the native currency"},"functionSelector":"a5841194","id":3853,"implemented":false,"kind":"function","modifiers":[],"name":"sync","nameLocation":"10223:4:31","nodeType":"FunctionDefinition","parameters":{"id":3851,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3850,"mutability":"mutable","name":"currency","nameLocation":"10237:8:31","nodeType":"VariableDeclaration","scope":3853,"src":"10228:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":3849,"nodeType":"UserDefinedTypeName","pathNode":{"id":3848,"name":"Currency","nameLocations":["10228:8:31"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"10228:8:31"},"referencedDeclaration":10717,"src":"10228:8:31","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"10227:19:31"},"returnParameters":{"id":3852,"nodeType":"ParameterList","parameters":[],"src":"10255:0:31"},"scope":3917,"src":"10214:42:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3854,"nodeType":"StructuredDocumentation","src":"10262:405:31","text":"@notice Called by the user to net out some value owed to the user\n @dev Will revert if the requested amount is not available, consider using `mint` instead\n @dev Can also be used as a mechanism for free flash loans\n @param currency The currency to withdraw from the pool manager\n @param to The address to withdraw to\n @param amount The amount of currency to withdraw"},"functionSelector":"0b0d9c09","id":3864,"implemented":false,"kind":"function","modifiers":[],"name":"take","nameLocation":"10681:4:31","nodeType":"FunctionDefinition","parameters":{"id":3862,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3857,"mutability":"mutable","name":"currency","nameLocation":"10695:8:31","nodeType":"VariableDeclaration","scope":3864,"src":"10686:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":3856,"nodeType":"UserDefinedTypeName","pathNode":{"id":3855,"name":"Currency","nameLocations":["10686:8:31"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"10686:8:31"},"referencedDeclaration":10717,"src":"10686:8:31","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":3859,"mutability":"mutable","name":"to","nameLocation":"10713:2:31","nodeType":"VariableDeclaration","scope":3864,"src":"10705:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3858,"name":"address","nodeType":"ElementaryTypeName","src":"10705:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3861,"mutability":"mutable","name":"amount","nameLocation":"10725:6:31","nodeType":"VariableDeclaration","scope":3864,"src":"10717:14:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3860,"name":"uint256","nodeType":"ElementaryTypeName","src":"10717:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10685:47:31"},"returnParameters":{"id":3863,"nodeType":"ParameterList","parameters":[],"src":"10741:0:31"},"scope":3917,"src":"10672:70:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3865,"nodeType":"StructuredDocumentation","src":"10748:102:31","text":"@notice Called by the user to pay what is owed\n @return paid The amount of currency settled"},"functionSelector":"11da60b4","id":3870,"implemented":false,"kind":"function","modifiers":[],"name":"settle","nameLocation":"10864:6:31","nodeType":"FunctionDefinition","parameters":{"id":3866,"nodeType":"ParameterList","parameters":[],"src":"10870:2:31"},"returnParameters":{"id":3869,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3868,"mutability":"mutable","name":"paid","nameLocation":"10907:4:31","nodeType":"VariableDeclaration","scope":3870,"src":"10899:12:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3867,"name":"uint256","nodeType":"ElementaryTypeName","src":"10899:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10898:14:31"},"scope":3917,"src":"10855:58:31","stateMutability":"payable","virtual":false,"visibility":"external"},{"documentation":{"id":3871,"nodeType":"StructuredDocumentation","src":"10919:181:31","text":"@notice Called by the user to pay on behalf of another address\n @param recipient The address to credit for the payment\n @return paid The amount of currency settled"},"functionSelector":"3dd45adb","id":3878,"implemented":false,"kind":"function","modifiers":[],"name":"settleFor","nameLocation":"11114:9:31","nodeType":"FunctionDefinition","parameters":{"id":3874,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3873,"mutability":"mutable","name":"recipient","nameLocation":"11132:9:31","nodeType":"VariableDeclaration","scope":3878,"src":"11124:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3872,"name":"address","nodeType":"ElementaryTypeName","src":"11124:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"11123:19:31"},"returnParameters":{"id":3877,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3876,"mutability":"mutable","name":"paid","nameLocation":"11177:4:31","nodeType":"VariableDeclaration","scope":3878,"src":"11169:12:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3875,"name":"uint256","nodeType":"ElementaryTypeName","src":"11169:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11168:14:31"},"scope":3917,"src":"11105:78:31","stateMutability":"payable","virtual":false,"visibility":"external"},{"documentation":{"id":3879,"nodeType":"StructuredDocumentation","src":"11189:425:31","text":"@notice WARNING - Any currency that is cleared, will be non-retrievable, and locked in the contract permanently.\n A call to clear will zero out a positive balance WITHOUT a corresponding transfer.\n @dev This could be used to clear a balance that is considered dust.\n Additionally, the amount must be the exact positive balance. This is to enforce that the caller is aware of the amount being cleared."},"functionSelector":"80f0b44c","id":3887,"implemented":false,"kind":"function","modifiers":[],"name":"clear","nameLocation":"11628:5:31","nodeType":"FunctionDefinition","parameters":{"id":3885,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3882,"mutability":"mutable","name":"currency","nameLocation":"11643:8:31","nodeType":"VariableDeclaration","scope":3887,"src":"11634:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":3881,"nodeType":"UserDefinedTypeName","pathNode":{"id":3880,"name":"Currency","nameLocations":["11634:8:31"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"11634:8:31"},"referencedDeclaration":10717,"src":"11634:8:31","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":3884,"mutability":"mutable","name":"amount","nameLocation":"11661:6:31","nodeType":"VariableDeclaration","scope":3887,"src":"11653:14:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3883,"name":"uint256","nodeType":"ElementaryTypeName","src":"11653:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11633:35:31"},"returnParameters":{"id":3886,"nodeType":"ParameterList","parameters":[],"src":"11677:0:31"},"scope":3917,"src":"11619:59:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3888,"nodeType":"StructuredDocumentation","src":"11684:388:31","text":"@notice Called by the user to move value into ERC6909 balance\n @param to The address to mint the tokens to\n @param id The currency address to mint to ERC6909s, as a uint256\n @param amount The amount of currency to mint\n @dev The id is converted to a uint160 to correspond to a currency address\n If the upper 12 bytes are not 0, they will be 0-ed out"},"functionSelector":"156e29f6","id":3897,"implemented":false,"kind":"function","modifiers":[],"name":"mint","nameLocation":"12086:4:31","nodeType":"FunctionDefinition","parameters":{"id":3895,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3890,"mutability":"mutable","name":"to","nameLocation":"12099:2:31","nodeType":"VariableDeclaration","scope":3897,"src":"12091:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3889,"name":"address","nodeType":"ElementaryTypeName","src":"12091:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3892,"mutability":"mutable","name":"id","nameLocation":"12111:2:31","nodeType":"VariableDeclaration","scope":3897,"src":"12103:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3891,"name":"uint256","nodeType":"ElementaryTypeName","src":"12103:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3894,"mutability":"mutable","name":"amount","nameLocation":"12123:6:31","nodeType":"VariableDeclaration","scope":3897,"src":"12115:14:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3893,"name":"uint256","nodeType":"ElementaryTypeName","src":"12115:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12090:40:31"},"returnParameters":{"id":3896,"nodeType":"ParameterList","parameters":[],"src":"12139:0:31"},"scope":3917,"src":"12077:63:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3898,"nodeType":"StructuredDocumentation","src":"12146:394:31","text":"@notice Called by the user to move value from ERC6909 balance\n @param from The address to burn the tokens from\n @param id The currency address to burn from ERC6909s, as a uint256\n @param amount The amount of currency to burn\n @dev The id is converted to a uint160 to correspond to a currency address\n If the upper 12 bytes are not 0, they will be 0-ed out"},"functionSelector":"f5298aca","id":3907,"implemented":false,"kind":"function","modifiers":[],"name":"burn","nameLocation":"12554:4:31","nodeType":"FunctionDefinition","parameters":{"id":3905,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3900,"mutability":"mutable","name":"from","nameLocation":"12567:4:31","nodeType":"VariableDeclaration","scope":3907,"src":"12559:12:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3899,"name":"address","nodeType":"ElementaryTypeName","src":"12559:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3902,"mutability":"mutable","name":"id","nameLocation":"12581:2:31","nodeType":"VariableDeclaration","scope":3907,"src":"12573:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3901,"name":"uint256","nodeType":"ElementaryTypeName","src":"12573:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3904,"mutability":"mutable","name":"amount","nameLocation":"12593:6:31","nodeType":"VariableDeclaration","scope":3907,"src":"12585:14:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3903,"name":"uint256","nodeType":"ElementaryTypeName","src":"12585:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12558:42:31"},"returnParameters":{"id":3906,"nodeType":"ParameterList","parameters":[],"src":"12609:0:31"},"scope":3917,"src":"12545:65:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3908,"nodeType":"StructuredDocumentation","src":"12616:351:31","text":"@notice Updates the pools lp fees for the a pool that has enabled dynamic lp fees.\n @dev A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\n @param key The key of the pool to update dynamic LP fees for\n @param newDynamicLPFee The new dynamic pool LP fee"},"functionSelector":"52759651","id":3916,"implemented":false,"kind":"function","modifiers":[],"name":"updateDynamicLPFee","nameLocation":"12981:18:31","nodeType":"FunctionDefinition","parameters":{"id":3914,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3911,"mutability":"mutable","name":"key","nameLocation":"13015:3:31","nodeType":"VariableDeclaration","scope":3916,"src":"13000:18:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":3910,"nodeType":"UserDefinedTypeName","pathNode":{"id":3909,"name":"PoolKey","nameLocations":["13000:7:31"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"13000:7:31"},"referencedDeclaration":11063,"src":"13000:7:31","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3913,"mutability":"mutable","name":"newDynamicLPFee","nameLocation":"13027:15:31","nodeType":"VariableDeclaration","scope":3916,"src":"13020:22:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":3912,"name":"uint24","nodeType":"ElementaryTypeName","src":"13020:6:31","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"12999:44:31"},"returnParameters":{"id":3915,"nodeType":"ParameterList","parameters":[],"src":"13052:0:31"},"scope":3917,"src":"12972:81:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":3918,"src":"531:12524:31","usedErrors":[3650,3653,3656,3659,3664,3669,3676,3679,3682,3685,3688,3931,3934,3937],"usedEvents":[3711,3727,3747,3759,3942,3950,4089,4099,4111]}],"src":"32:13024:31"},"id":31},"@uniswap/v4-core/src/interfaces/IProtocolFees.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/interfaces/IProtocolFees.sol","exportedSymbols":{"Currency":[10717],"IProtocolFees":[3994],"PoolId":[11017],"PoolKey":[11063]},"id":3995,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":3919,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:32"},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"../types/Currency.sol","id":3921,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3995,"sourceUnit":11012,"src":"57:47:32","symbolAliases":[{"foreign":{"id":3920,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"65:8:32","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolId.sol","file":"../types/PoolId.sol","id":3923,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3995,"sourceUnit":11032,"src":"105:43:32","symbolAliases":[{"foreign":{"id":3922,"name":"PoolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11017,"src":"113:6:32","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"../types/PoolKey.sol","id":3925,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3995,"sourceUnit":11064,"src":"149:45:32","symbolAliases":[{"foreign":{"id":3924,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"157:7:32","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"IProtocolFees","contractDependencies":[],"contractKind":"interface","documentation":{"id":3926,"nodeType":"StructuredDocumentation","src":"196:81:32","text":"@notice Interface for all protocol-fee related functions in the pool manager"},"fullyImplemented":false,"id":3994,"linearizedBaseContracts":[3994],"name":"IProtocolFees","nameLocation":"287:13:32","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":3927,"nodeType":"StructuredDocumentation","src":"307:52:32","text":"@notice Thrown when protocol fee is set too high"},"errorSelector":"a7abe2f7","id":3931,"name":"ProtocolFeeTooLarge","nameLocation":"370:19:32","nodeType":"ErrorDefinition","parameters":{"id":3930,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3929,"mutability":"mutable","name":"fee","nameLocation":"397:3:32","nodeType":"VariableDeclaration","scope":3931,"src":"390:10:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":3928,"name":"uint24","nodeType":"ElementaryTypeName","src":"390:6:32","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"389:12:32"},"src":"364:38:32"},{"documentation":{"id":3932,"nodeType":"StructuredDocumentation","src":"408:94:32","text":"@notice Thrown when collectProtocolFees or setProtocolFee is not called by the controller."},"errorSelector":"48f5c3ed","id":3934,"name":"InvalidCaller","nameLocation":"513:13:32","nodeType":"ErrorDefinition","parameters":{"id":3933,"nodeType":"ParameterList","parameters":[],"src":"526:2:32"},"src":"507:22:32"},{"documentation":{"id":3935,"nodeType":"StructuredDocumentation","src":"535:83:32","text":"@notice Thrown when collectProtocolFees is attempted on a token that is synced."},"errorSelector":"c79e5948","id":3937,"name":"ProtocolFeeCurrencySynced","nameLocation":"629:25:32","nodeType":"ErrorDefinition","parameters":{"id":3936,"nodeType":"ParameterList","parameters":[],"src":"654:2:32"},"src":"623:34:32"},{"anonymous":false,"documentation":{"id":3938,"nodeType":"StructuredDocumentation","src":"663:100:32","text":"@notice Emitted when the protocol fee controller address is updated in setProtocolFeeController."},"eventSelector":"b4bd8ef53df690b9943d3318996006dbb82a25f54719d8c8035b516a2a5b8acc","id":3942,"name":"ProtocolFeeControllerUpdated","nameLocation":"774:28:32","nodeType":"EventDefinition","parameters":{"id":3941,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3940,"indexed":true,"mutability":"mutable","name":"protocolFeeController","nameLocation":"819:21:32","nodeType":"VariableDeclaration","scope":3942,"src":"803:37:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3939,"name":"address","nodeType":"ElementaryTypeName","src":"803:7:32","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"802:39:32"},"src":"768:74:32"},{"anonymous":false,"documentation":{"id":3943,"nodeType":"StructuredDocumentation","src":"848:64:32","text":"@notice Emitted when the protocol fee is updated for a pool."},"eventSelector":"e9c42593e71f84403b84352cd168d693e2c9fcd1fdbcc3feb21d92b43e6696f9","id":3950,"name":"ProtocolFeeUpdated","nameLocation":"923:18:32","nodeType":"EventDefinition","parameters":{"id":3949,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3946,"indexed":true,"mutability":"mutable","name":"id","nameLocation":"957:2:32","nodeType":"VariableDeclaration","scope":3950,"src":"942:17:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":3945,"nodeType":"UserDefinedTypeName","pathNode":{"id":3944,"name":"PoolId","nameLocations":["942:6:32"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"942:6:32"},"referencedDeclaration":11017,"src":"942:6:32","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":3948,"indexed":false,"mutability":"mutable","name":"protocolFee","nameLocation":"968:11:32","nodeType":"VariableDeclaration","scope":3950,"src":"961:18:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":3947,"name":"uint24","nodeType":"ElementaryTypeName","src":"961:6:32","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"941:39:32"},"src":"917:64:32"},{"documentation":{"id":3951,"nodeType":"StructuredDocumentation","src":"987:209:32","text":"@notice Given a currency address, returns the protocol fees accrued in that currency\n @param currency The currency to check\n @return amount The amount of protocol fees accrued in the currency"},"functionSelector":"97e8cd4e","id":3959,"implemented":false,"kind":"function","modifiers":[],"name":"protocolFeesAccrued","nameLocation":"1210:19:32","nodeType":"FunctionDefinition","parameters":{"id":3955,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3954,"mutability":"mutable","name":"currency","nameLocation":"1239:8:32","nodeType":"VariableDeclaration","scope":3959,"src":"1230:17:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":3953,"nodeType":"UserDefinedTypeName","pathNode":{"id":3952,"name":"Currency","nameLocations":["1230:8:32"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1230:8:32"},"referencedDeclaration":10717,"src":"1230:8:32","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"1229:19:32"},"returnParameters":{"id":3958,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3957,"mutability":"mutable","name":"amount","nameLocation":"1280:6:32","nodeType":"VariableDeclaration","scope":3959,"src":"1272:14:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3956,"name":"uint256","nodeType":"ElementaryTypeName","src":"1272:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1271:16:32"},"scope":3994,"src":"1201:87:32","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":3960,"nodeType":"StructuredDocumentation","src":"1294:162:32","text":"@notice Sets the protocol fee for the given pool\n @param key The key of the pool to set a protocol fee for\n @param newProtocolFee The fee to set"},"functionSelector":"7e87ce7d","id":3968,"implemented":false,"kind":"function","modifiers":[],"name":"setProtocolFee","nameLocation":"1470:14:32","nodeType":"FunctionDefinition","parameters":{"id":3966,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3963,"mutability":"mutable","name":"key","nameLocation":"1500:3:32","nodeType":"VariableDeclaration","scope":3968,"src":"1485:18:32","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":3962,"nodeType":"UserDefinedTypeName","pathNode":{"id":3961,"name":"PoolKey","nameLocations":["1485:7:32"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"1485:7:32"},"referencedDeclaration":11063,"src":"1485:7:32","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":3965,"mutability":"mutable","name":"newProtocolFee","nameLocation":"1512:14:32","nodeType":"VariableDeclaration","scope":3968,"src":"1505:21:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":3964,"name":"uint24","nodeType":"ElementaryTypeName","src":"1505:6:32","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"1484:43:32"},"returnParameters":{"id":3967,"nodeType":"ParameterList","parameters":[],"src":"1536:0:32"},"scope":3994,"src":"1461:76:32","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3969,"nodeType":"StructuredDocumentation","src":"1543:102:32","text":"@notice Sets the protocol fee controller\n @param controller The new protocol fee controller"},"functionSelector":"2d771389","id":3974,"implemented":false,"kind":"function","modifiers":[],"name":"setProtocolFeeController","nameLocation":"1659:24:32","nodeType":"FunctionDefinition","parameters":{"id":3972,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3971,"mutability":"mutable","name":"controller","nameLocation":"1692:10:32","nodeType":"VariableDeclaration","scope":3974,"src":"1684:18:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3970,"name":"address","nodeType":"ElementaryTypeName","src":"1684:7:32","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1683:20:32"},"returnParameters":{"id":3973,"nodeType":"ParameterList","parameters":[],"src":"1712:0:32"},"scope":3994,"src":"1650:63:32","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3975,"nodeType":"StructuredDocumentation","src":"1719:413:32","text":"@notice Collects the protocol fees for a given recipient and currency, returning the amount collected\n @dev This will revert if the contract is unlocked\n @param recipient The address to receive the protocol fees\n @param currency The currency to withdraw\n @param amount The amount of currency to withdraw\n @return amountCollected The amount of currency successfully withdrawn"},"functionSelector":"8161b874","id":3987,"implemented":false,"kind":"function","modifiers":[],"name":"collectProtocolFees","nameLocation":"2146:19:32","nodeType":"FunctionDefinition","parameters":{"id":3983,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3977,"mutability":"mutable","name":"recipient","nameLocation":"2174:9:32","nodeType":"VariableDeclaration","scope":3987,"src":"2166:17:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3976,"name":"address","nodeType":"ElementaryTypeName","src":"2166:7:32","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":3980,"mutability":"mutable","name":"currency","nameLocation":"2194:8:32","nodeType":"VariableDeclaration","scope":3987,"src":"2185:17:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":3979,"nodeType":"UserDefinedTypeName","pathNode":{"id":3978,"name":"Currency","nameLocations":["2185:8:32"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"2185:8:32"},"referencedDeclaration":10717,"src":"2185:8:32","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":3982,"mutability":"mutable","name":"amount","nameLocation":"2212:6:32","nodeType":"VariableDeclaration","scope":3987,"src":"2204:14:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3981,"name":"uint256","nodeType":"ElementaryTypeName","src":"2204:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2165:54:32"},"returnParameters":{"id":3986,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3985,"mutability":"mutable","name":"amountCollected","nameLocation":"2262:15:32","nodeType":"VariableDeclaration","scope":3987,"src":"2254:23:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3984,"name":"uint256","nodeType":"ElementaryTypeName","src":"2254:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2253:25:32"},"scope":3994,"src":"2137:142:32","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":3988,"nodeType":"StructuredDocumentation","src":"2285:131:32","text":"@notice Returns the current protocol fee controller address\n @return address The current protocol fee controller address"},"functionSelector":"f02de3b2","id":3993,"implemented":false,"kind":"function","modifiers":[],"name":"protocolFeeController","nameLocation":"2430:21:32","nodeType":"FunctionDefinition","parameters":{"id":3989,"nodeType":"ParameterList","parameters":[],"src":"2451:2:32"},"returnParameters":{"id":3992,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3991,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3993,"src":"2477:7:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3990,"name":"address","nodeType":"ElementaryTypeName","src":"2477:7:32","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2476:9:32"},"scope":3994,"src":"2421:65:32","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":3995,"src":"277:2211:32","usedErrors":[3931,3934,3937],"usedEvents":[3942,3950]}],"src":"32:2457:32"},"id":32},"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol","exportedSymbols":{"IUnlockCallback":[4006]},"id":4007,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":3996,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:33"},{"abstract":false,"baseContracts":[],"canonicalName":"IUnlockCallback","contractDependencies":[],"contractKind":"interface","documentation":{"id":3997,"nodeType":"StructuredDocumentation","src":"57:89:33","text":"@notice Interface for the callback executed when an address unlocks the pool manager"},"fullyImplemented":false,"id":4006,"linearizedBaseContracts":[4006],"name":"IUnlockCallback","nameLocation":"156:15:33","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":3998,"nodeType":"StructuredDocumentation","src":"178:225:33","text":"@notice Called by the pool manager on `msg.sender` when the manager is unlocked\n @param data The data that was passed to the call to unlock\n @return Any data that you want to be returned from the unlock call"},"functionSelector":"91dd7346","id":4005,"implemented":false,"kind":"function","modifiers":[],"name":"unlockCallback","nameLocation":"417:14:33","nodeType":"FunctionDefinition","parameters":{"id":4001,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4000,"mutability":"mutable","name":"data","nameLocation":"447:4:33","nodeType":"VariableDeclaration","scope":4005,"src":"432:19:33","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":3999,"name":"bytes","nodeType":"ElementaryTypeName","src":"432:5:33","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"431:21:33"},"returnParameters":{"id":4004,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4003,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4005,"src":"471:12:33","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4002,"name":"bytes","nodeType":"ElementaryTypeName","src":"471:5:33","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"470:14:33"},"scope":4006,"src":"408:77:33","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":4007,"src":"146:341:33","usedErrors":[],"usedEvents":[]}],"src":"32:456:33"},"id":33},"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol","exportedSymbols":{"IERC20Minimal":[4078]},"id":4079,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4008,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:34"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC20Minimal","contractDependencies":[],"contractKind":"interface","documentation":{"id":4009,"nodeType":"StructuredDocumentation","src":"57:132:34","text":"@title Minimal ERC20 interface for Uniswap\n @notice Contains a subset of the full ERC20 interface that is used in Uniswap V3"},"fullyImplemented":false,"id":4078,"linearizedBaseContracts":[4078],"name":"IERC20Minimal","nameLocation":"199:13:34","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":4010,"nodeType":"StructuredDocumentation","src":"219:212:34","text":"@notice Returns an account's balance in the token\n @param account The account for which to look up the number of tokens it has, i.e. its balance\n @return The number of tokens held by the account"},"functionSelector":"70a08231","id":4017,"implemented":false,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"445:9:34","nodeType":"FunctionDefinition","parameters":{"id":4013,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4012,"mutability":"mutable","name":"account","nameLocation":"463:7:34","nodeType":"VariableDeclaration","scope":4017,"src":"455:15:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4011,"name":"address","nodeType":"ElementaryTypeName","src":"455:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"454:17:34"},"returnParameters":{"id":4016,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4015,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4017,"src":"495:7:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4014,"name":"uint256","nodeType":"ElementaryTypeName","src":"495:7:34","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"494:9:34"},"scope":4078,"src":"436:68:34","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":4018,"nodeType":"StructuredDocumentation","src":"510:333:34","text":"@notice Transfers the amount of token from the `msg.sender` to the recipient\n @param recipient The account that will receive the amount transferred\n @param amount The number of tokens to send from the sender to the recipient\n @return Returns true for a successful transfer, false for an unsuccessful transfer"},"functionSelector":"a9059cbb","id":4027,"implemented":false,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"857:8:34","nodeType":"FunctionDefinition","parameters":{"id":4023,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4020,"mutability":"mutable","name":"recipient","nameLocation":"874:9:34","nodeType":"VariableDeclaration","scope":4027,"src":"866:17:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4019,"name":"address","nodeType":"ElementaryTypeName","src":"866:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4022,"mutability":"mutable","name":"amount","nameLocation":"893:6:34","nodeType":"VariableDeclaration","scope":4027,"src":"885:14:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4021,"name":"uint256","nodeType":"ElementaryTypeName","src":"885:7:34","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"865:35:34"},"returnParameters":{"id":4026,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4025,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4027,"src":"919:4:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4024,"name":"bool","nodeType":"ElementaryTypeName","src":"919:4:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"918:6:34"},"scope":4078,"src":"848:77:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":4028,"nodeType":"StructuredDocumentation","src":"931:250:34","text":"@notice Returns the current allowance given to a spender by an owner\n @param owner The account of the token owner\n @param spender The account of the token spender\n @return The current allowance granted by `owner` to `spender`"},"functionSelector":"dd62ed3e","id":4037,"implemented":false,"kind":"function","modifiers":[],"name":"allowance","nameLocation":"1195:9:34","nodeType":"FunctionDefinition","parameters":{"id":4033,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4030,"mutability":"mutable","name":"owner","nameLocation":"1213:5:34","nodeType":"VariableDeclaration","scope":4037,"src":"1205:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4029,"name":"address","nodeType":"ElementaryTypeName","src":"1205:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4032,"mutability":"mutable","name":"spender","nameLocation":"1228:7:34","nodeType":"VariableDeclaration","scope":4037,"src":"1220:15:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4031,"name":"address","nodeType":"ElementaryTypeName","src":"1220:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1204:32:34"},"returnParameters":{"id":4036,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4035,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4037,"src":"1260:7:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4034,"name":"uint256","nodeType":"ElementaryTypeName","src":"1260:7:34","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1259:9:34"},"scope":4078,"src":"1186:83:34","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":4038,"nodeType":"StructuredDocumentation","src":"1275:343:34","text":"@notice Sets the allowance of a spender from the `msg.sender` to the value `amount`\n @param spender The account which will be allowed to spend a given amount of the owners tokens\n @param amount The amount of tokens allowed to be used by `spender`\n @return Returns true for a successful approval, false for unsuccessful"},"functionSelector":"095ea7b3","id":4047,"implemented":false,"kind":"function","modifiers":[],"name":"approve","nameLocation":"1632:7:34","nodeType":"FunctionDefinition","parameters":{"id":4043,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4040,"mutability":"mutable","name":"spender","nameLocation":"1648:7:34","nodeType":"VariableDeclaration","scope":4047,"src":"1640:15:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4039,"name":"address","nodeType":"ElementaryTypeName","src":"1640:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4042,"mutability":"mutable","name":"amount","nameLocation":"1665:6:34","nodeType":"VariableDeclaration","scope":4047,"src":"1657:14:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4041,"name":"uint256","nodeType":"ElementaryTypeName","src":"1657:7:34","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1639:33:34"},"returnParameters":{"id":4046,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4045,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4047,"src":"1691:4:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4044,"name":"bool","nodeType":"ElementaryTypeName","src":"1691:4:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1690:6:34"},"scope":4078,"src":"1623:74:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":4048,"nodeType":"StructuredDocumentation","src":"1703:371:34","text":"@notice Transfers `amount` tokens from `sender` to `recipient` up to the allowance given to the `msg.sender`\n @param sender The account from which the transfer will be initiated\n @param recipient The recipient of the transfer\n @param amount The amount of the transfer\n @return Returns true for a successful transfer, false for unsuccessful"},"functionSelector":"23b872dd","id":4059,"implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"2088:12:34","nodeType":"FunctionDefinition","parameters":{"id":4055,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4050,"mutability":"mutable","name":"sender","nameLocation":"2109:6:34","nodeType":"VariableDeclaration","scope":4059,"src":"2101:14:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4049,"name":"address","nodeType":"ElementaryTypeName","src":"2101:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4052,"mutability":"mutable","name":"recipient","nameLocation":"2125:9:34","nodeType":"VariableDeclaration","scope":4059,"src":"2117:17:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4051,"name":"address","nodeType":"ElementaryTypeName","src":"2117:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4054,"mutability":"mutable","name":"amount","nameLocation":"2144:6:34","nodeType":"VariableDeclaration","scope":4059,"src":"2136:14:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4053,"name":"uint256","nodeType":"ElementaryTypeName","src":"2136:7:34","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2100:51:34"},"returnParameters":{"id":4058,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4057,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4059,"src":"2170:4:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4056,"name":"bool","nodeType":"ElementaryTypeName","src":"2170:4:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2169:6:34"},"scope":4078,"src":"2079:97:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"anonymous":false,"documentation":{"id":4060,"nodeType":"StructuredDocumentation","src":"2182:369:34","text":"@notice Event emitted when tokens are transferred from one address to another, either via `#transfer` or `#transferFrom`.\n @param from The account from which the tokens were sent, i.e. the balance decreased\n @param to The account to which the tokens were sent, i.e. the balance increased\n @param value The amount of tokens that were transferred"},"eventSelector":"ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","id":4068,"name":"Transfer","nameLocation":"2562:8:34","nodeType":"EventDefinition","parameters":{"id":4067,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4062,"indexed":true,"mutability":"mutable","name":"from","nameLocation":"2587:4:34","nodeType":"VariableDeclaration","scope":4068,"src":"2571:20:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4061,"name":"address","nodeType":"ElementaryTypeName","src":"2571:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4064,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"2609:2:34","nodeType":"VariableDeclaration","scope":4068,"src":"2593:18:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4063,"name":"address","nodeType":"ElementaryTypeName","src":"2593:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4066,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"2621:5:34","nodeType":"VariableDeclaration","scope":4068,"src":"2613:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4065,"name":"uint256","nodeType":"ElementaryTypeName","src":"2613:7:34","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2570:57:34"},"src":"2556:72:34"},{"anonymous":false,"documentation":{"id":4069,"nodeType":"StructuredDocumentation","src":"2634:321:34","text":"@notice Event emitted when the approval amount for the spender of a given owner's tokens changes.\n @param owner The account that approved spending of its tokens\n @param spender The account for which the spending allowance was modified\n @param value The new allowance from the owner to the spender"},"eventSelector":"8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925","id":4077,"name":"Approval","nameLocation":"2966:8:34","nodeType":"EventDefinition","parameters":{"id":4076,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4071,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"2991:5:34","nodeType":"VariableDeclaration","scope":4077,"src":"2975:21:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4070,"name":"address","nodeType":"ElementaryTypeName","src":"2975:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4073,"indexed":true,"mutability":"mutable","name":"spender","nameLocation":"3014:7:34","nodeType":"VariableDeclaration","scope":4077,"src":"2998:23:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4072,"name":"address","nodeType":"ElementaryTypeName","src":"2998:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4075,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"3031:5:34","nodeType":"VariableDeclaration","scope":4077,"src":"3023:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4074,"name":"uint256","nodeType":"ElementaryTypeName","src":"3023:7:34","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2974:63:34"},"src":"2960:78:34"}],"scope":4079,"src":"189:2851:34","usedErrors":[],"usedEvents":[4068,4077]}],"src":"32:3009:34"},"id":34},"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol","exportedSymbols":{"IERC6909Claims":[4192]},"id":4193,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4080,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:35"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC6909Claims","contractDependencies":[],"contractKind":"interface","documentation":{"id":4081,"nodeType":"StructuredDocumentation","src":"57:79:35","text":"@notice Interface for claims over a contract balance, wrapped as a ERC6909"},"fullyImplemented":false,"id":4192,"linearizedBaseContracts":[4192],"name":"IERC6909Claims","nameLocation":"146:14:35","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"eventSelector":"ceb576d9f15e4e200fdb5096d64d5dfd667e16def20c1eefd14256d8e3faa267","id":4089,"name":"OperatorSet","nameLocation":"352:11:35","nodeType":"EventDefinition","parameters":{"id":4088,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4083,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"380:5:35","nodeType":"VariableDeclaration","scope":4089,"src":"364:21:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4082,"name":"address","nodeType":"ElementaryTypeName","src":"364:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4085,"indexed":true,"mutability":"mutable","name":"operator","nameLocation":"403:8:35","nodeType":"VariableDeclaration","scope":4089,"src":"387:24:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4084,"name":"address","nodeType":"ElementaryTypeName","src":"387:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4087,"indexed":false,"mutability":"mutable","name":"approved","nameLocation":"418:8:35","nodeType":"VariableDeclaration","scope":4089,"src":"413:13:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4086,"name":"bool","nodeType":"ElementaryTypeName","src":"413:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"363:64:35"},"src":"346:82:35"},{"anonymous":false,"eventSelector":"b3fd5071835887567a0671151121894ddccc2842f1d10bedad13e0d17cace9a7","id":4099,"name":"Approval","nameLocation":"440:8:35","nodeType":"EventDefinition","parameters":{"id":4098,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4091,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"465:5:35","nodeType":"VariableDeclaration","scope":4099,"src":"449:21:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4090,"name":"address","nodeType":"ElementaryTypeName","src":"449:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4093,"indexed":true,"mutability":"mutable","name":"spender","nameLocation":"488:7:35","nodeType":"VariableDeclaration","scope":4099,"src":"472:23:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4092,"name":"address","nodeType":"ElementaryTypeName","src":"472:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4095,"indexed":true,"mutability":"mutable","name":"id","nameLocation":"513:2:35","nodeType":"VariableDeclaration","scope":4099,"src":"497:18:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4094,"name":"uint256","nodeType":"ElementaryTypeName","src":"497:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4097,"indexed":false,"mutability":"mutable","name":"amount","nameLocation":"525:6:35","nodeType":"VariableDeclaration","scope":4099,"src":"517:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4096,"name":"uint256","nodeType":"ElementaryTypeName","src":"517:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"448:84:35"},"src":"434:99:35"},{"anonymous":false,"eventSelector":"1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac728859","id":4111,"name":"Transfer","nameLocation":"545:8:35","nodeType":"EventDefinition","parameters":{"id":4110,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4101,"indexed":false,"mutability":"mutable","name":"caller","nameLocation":"562:6:35","nodeType":"VariableDeclaration","scope":4111,"src":"554:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4100,"name":"address","nodeType":"ElementaryTypeName","src":"554:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4103,"indexed":true,"mutability":"mutable","name":"from","nameLocation":"586:4:35","nodeType":"VariableDeclaration","scope":4111,"src":"570:20:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4102,"name":"address","nodeType":"ElementaryTypeName","src":"570:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4105,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"608:2:35","nodeType":"VariableDeclaration","scope":4111,"src":"592:18:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4104,"name":"address","nodeType":"ElementaryTypeName","src":"592:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4107,"indexed":true,"mutability":"mutable","name":"id","nameLocation":"628:2:35","nodeType":"VariableDeclaration","scope":4111,"src":"612:18:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4106,"name":"uint256","nodeType":"ElementaryTypeName","src":"612:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4109,"indexed":false,"mutability":"mutable","name":"amount","nameLocation":"640:6:35","nodeType":"VariableDeclaration","scope":4111,"src":"632:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4108,"name":"uint256","nodeType":"ElementaryTypeName","src":"632:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"553:94:35"},"src":"539:109:35"},{"documentation":{"id":4112,"nodeType":"StructuredDocumentation","src":"836:170:35","text":"@notice Owner balance of an id.\n @param owner The address of the owner.\n @param id The id of the token.\n @return amount The balance of the token."},"functionSelector":"00fdd58e","id":4121,"implemented":false,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"1020:9:35","nodeType":"FunctionDefinition","parameters":{"id":4117,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4114,"mutability":"mutable","name":"owner","nameLocation":"1038:5:35","nodeType":"VariableDeclaration","scope":4121,"src":"1030:13:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4113,"name":"address","nodeType":"ElementaryTypeName","src":"1030:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4116,"mutability":"mutable","name":"id","nameLocation":"1053:2:35","nodeType":"VariableDeclaration","scope":4121,"src":"1045:10:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4115,"name":"uint256","nodeType":"ElementaryTypeName","src":"1045:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1029:27:35"},"returnParameters":{"id":4120,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4119,"mutability":"mutable","name":"amount","nameLocation":"1088:6:35","nodeType":"VariableDeclaration","scope":4121,"src":"1080:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4118,"name":"uint256","nodeType":"ElementaryTypeName","src":"1080:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1079:16:35"},"scope":4192,"src":"1011:85:35","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":4122,"nodeType":"StructuredDocumentation","src":"1102:227:35","text":"@notice Spender allowance of an id.\n @param owner The address of the owner.\n @param spender The address of the spender.\n @param id The id of the token.\n @return amount The allowance of the token."},"functionSelector":"598af9e7","id":4133,"implemented":false,"kind":"function","modifiers":[],"name":"allowance","nameLocation":"1343:9:35","nodeType":"FunctionDefinition","parameters":{"id":4129,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4124,"mutability":"mutable","name":"owner","nameLocation":"1361:5:35","nodeType":"VariableDeclaration","scope":4133,"src":"1353:13:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4123,"name":"address","nodeType":"ElementaryTypeName","src":"1353:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4126,"mutability":"mutable","name":"spender","nameLocation":"1376:7:35","nodeType":"VariableDeclaration","scope":4133,"src":"1368:15:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4125,"name":"address","nodeType":"ElementaryTypeName","src":"1368:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4128,"mutability":"mutable","name":"id","nameLocation":"1393:2:35","nodeType":"VariableDeclaration","scope":4133,"src":"1385:10:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4127,"name":"uint256","nodeType":"ElementaryTypeName","src":"1385:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1352:44:35"},"returnParameters":{"id":4132,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4131,"mutability":"mutable","name":"amount","nameLocation":"1428:6:35","nodeType":"VariableDeclaration","scope":4133,"src":"1420:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4130,"name":"uint256","nodeType":"ElementaryTypeName","src":"1420:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1419:16:35"},"scope":4192,"src":"1334:102:35","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":4134,"nodeType":"StructuredDocumentation","src":"1442:214:35","text":"@notice Checks if a spender is approved by an owner as an operator\n @param owner The address of the owner.\n @param spender The address of the spender.\n @return approved The approval status."},"functionSelector":"b6363cf2","id":4143,"implemented":false,"kind":"function","modifiers":[],"name":"isOperator","nameLocation":"1670:10:35","nodeType":"FunctionDefinition","parameters":{"id":4139,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4136,"mutability":"mutable","name":"owner","nameLocation":"1689:5:35","nodeType":"VariableDeclaration","scope":4143,"src":"1681:13:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4135,"name":"address","nodeType":"ElementaryTypeName","src":"1681:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4138,"mutability":"mutable","name":"spender","nameLocation":"1704:7:35","nodeType":"VariableDeclaration","scope":4143,"src":"1696:15:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4137,"name":"address","nodeType":"ElementaryTypeName","src":"1696:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1680:32:35"},"returnParameters":{"id":4142,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4141,"mutability":"mutable","name":"approved","nameLocation":"1741:8:35","nodeType":"VariableDeclaration","scope":4143,"src":"1736:13:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4140,"name":"bool","nodeType":"ElementaryTypeName","src":"1736:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1735:15:35"},"scope":4192,"src":"1661:90:35","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":4144,"nodeType":"StructuredDocumentation","src":"1757:273:35","text":"@notice Transfers an amount of an id from the caller to a receiver.\n @param receiver The address of the receiver.\n @param id The id of the token.\n @param amount The amount of the token.\n @return bool True, always, unless the function reverts"},"functionSelector":"095bcdb6","id":4155,"implemented":false,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"2044:8:35","nodeType":"FunctionDefinition","parameters":{"id":4151,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4146,"mutability":"mutable","name":"receiver","nameLocation":"2061:8:35","nodeType":"VariableDeclaration","scope":4155,"src":"2053:16:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4145,"name":"address","nodeType":"ElementaryTypeName","src":"2053:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4148,"mutability":"mutable","name":"id","nameLocation":"2079:2:35","nodeType":"VariableDeclaration","scope":4155,"src":"2071:10:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4147,"name":"uint256","nodeType":"ElementaryTypeName","src":"2071:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4150,"mutability":"mutable","name":"amount","nameLocation":"2091:6:35","nodeType":"VariableDeclaration","scope":4155,"src":"2083:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4149,"name":"uint256","nodeType":"ElementaryTypeName","src":"2083:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2052:46:35"},"returnParameters":{"id":4154,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4153,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4155,"src":"2117:4:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4152,"name":"bool","nodeType":"ElementaryTypeName","src":"2117:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2116:6:35"},"scope":4192,"src":"2035:88:35","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":4156,"nodeType":"StructuredDocumentation","src":"2129:320:35","text":"@notice Transfers an amount of an id from a sender to a receiver.\n @param sender The address of the sender.\n @param receiver The address of the receiver.\n @param id The id of the token.\n @param amount The amount of the token.\n @return bool True, always, unless the function reverts"},"functionSelector":"fe99049a","id":4169,"implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"2463:12:35","nodeType":"FunctionDefinition","parameters":{"id":4165,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4158,"mutability":"mutable","name":"sender","nameLocation":"2484:6:35","nodeType":"VariableDeclaration","scope":4169,"src":"2476:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4157,"name":"address","nodeType":"ElementaryTypeName","src":"2476:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4160,"mutability":"mutable","name":"receiver","nameLocation":"2500:8:35","nodeType":"VariableDeclaration","scope":4169,"src":"2492:16:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4159,"name":"address","nodeType":"ElementaryTypeName","src":"2492:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4162,"mutability":"mutable","name":"id","nameLocation":"2518:2:35","nodeType":"VariableDeclaration","scope":4169,"src":"2510:10:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4161,"name":"uint256","nodeType":"ElementaryTypeName","src":"2510:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4164,"mutability":"mutable","name":"amount","nameLocation":"2530:6:35","nodeType":"VariableDeclaration","scope":4169,"src":"2522:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4163,"name":"uint256","nodeType":"ElementaryTypeName","src":"2522:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2475:62:35"},"returnParameters":{"id":4168,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4167,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4169,"src":"2556:4:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4166,"name":"bool","nodeType":"ElementaryTypeName","src":"2556:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2555:6:35"},"scope":4192,"src":"2454:108:35","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":4170,"nodeType":"StructuredDocumentation","src":"2568:224:35","text":"@notice Approves an amount of an id to a spender.\n @param spender The address of the spender.\n @param id The id of the token.\n @param amount The amount of the token.\n @return bool True, always"},"functionSelector":"426a8493","id":4181,"implemented":false,"kind":"function","modifiers":[],"name":"approve","nameLocation":"2806:7:35","nodeType":"FunctionDefinition","parameters":{"id":4177,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4172,"mutability":"mutable","name":"spender","nameLocation":"2822:7:35","nodeType":"VariableDeclaration","scope":4181,"src":"2814:15:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4171,"name":"address","nodeType":"ElementaryTypeName","src":"2814:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4174,"mutability":"mutable","name":"id","nameLocation":"2839:2:35","nodeType":"VariableDeclaration","scope":4181,"src":"2831:10:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4173,"name":"uint256","nodeType":"ElementaryTypeName","src":"2831:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4176,"mutability":"mutable","name":"amount","nameLocation":"2851:6:35","nodeType":"VariableDeclaration","scope":4181,"src":"2843:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4175,"name":"uint256","nodeType":"ElementaryTypeName","src":"2843:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2813:45:35"},"returnParameters":{"id":4180,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4179,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4181,"src":"2877:4:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4178,"name":"bool","nodeType":"ElementaryTypeName","src":"2877:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2876:6:35"},"scope":4192,"src":"2797:86:35","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":4182,"nodeType":"StructuredDocumentation","src":"2889:187:35","text":"@notice Sets or removes an operator for the caller.\n @param operator The address of the operator.\n @param approved The approval status.\n @return bool True, always"},"functionSelector":"558a7297","id":4191,"implemented":false,"kind":"function","modifiers":[],"name":"setOperator","nameLocation":"3090:11:35","nodeType":"FunctionDefinition","parameters":{"id":4187,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4184,"mutability":"mutable","name":"operator","nameLocation":"3110:8:35","nodeType":"VariableDeclaration","scope":4191,"src":"3102:16:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4183,"name":"address","nodeType":"ElementaryTypeName","src":"3102:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4186,"mutability":"mutable","name":"approved","nameLocation":"3125:8:35","nodeType":"VariableDeclaration","scope":4191,"src":"3120:13:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4185,"name":"bool","nodeType":"ElementaryTypeName","src":"3120:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3101:33:35"},"returnParameters":{"id":4190,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4189,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4191,"src":"3153:4:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4188,"name":"bool","nodeType":"ElementaryTypeName","src":"3153:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3152:6:35"},"scope":4192,"src":"3081:78:35","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":4193,"src":"136:3025:35","usedErrors":[],"usedEvents":[4089,4099,4111]}],"src":"32:3130:35"},"id":35},"@uniswap/v4-core/src/libraries/BitMath.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/BitMath.sol","exportedSymbols":{"BitMath":[4228]},"id":4229,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4194,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:36"},{"abstract":false,"baseContracts":[],"canonicalName":"BitMath","contractDependencies":[],"contractKind":"library","documentation":{"id":4195,"nodeType":"StructuredDocumentation","src":"57:241:36","text":"@title BitMath\n @dev This library provides functionality for computing bit properties of an unsigned integer\n @author Solady (https://github.com/Vectorized/solady/blob/8200a70e8dc2a77ecb074fc2e99a2a0d36547522/src/utils/LibBit.sol)"},"fullyImplemented":true,"id":4228,"linearizedBaseContracts":[4228],"name":"BitMath","nameLocation":"306:7:36","nodeType":"ContractDefinition","nodes":[{"body":{"id":4210,"nodeType":"Block","src":"724:593:36","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4206,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4204,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4198,"src":"742:1:36","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":4205,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"746:1:36","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"742:5:36","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":4203,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"734:7:36","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":4207,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"734:14:36","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4208,"nodeType":"ExpressionStatement","src":"734:14:36"},{"AST":{"nativeSrc":"784:527:36","nodeType":"YulBlock","src":"784:527:36","statements":[{"nativeSrc":"798:54:36","nodeType":"YulAssignment","src":"798:54:36","value":{"arguments":[{"kind":"number","nativeSrc":"807:1:36","nodeType":"YulLiteral","src":"807:1:36","type":"","value":"7"},{"arguments":[{"kind":"number","nativeSrc":"813:34:36","nodeType":"YulLiteral","src":"813:34:36","type":"","value":"0xffffffffffffffffffffffffffffffff"},{"name":"x","nativeSrc":"849:1:36","nodeType":"YulIdentifier","src":"849:1:36"}],"functionName":{"name":"lt","nativeSrc":"810:2:36","nodeType":"YulIdentifier","src":"810:2:36"},"nativeSrc":"810:41:36","nodeType":"YulFunctionCall","src":"810:41:36"}],"functionName":{"name":"shl","nativeSrc":"803:3:36","nodeType":"YulIdentifier","src":"803:3:36"},"nativeSrc":"803:49:36","nodeType":"YulFunctionCall","src":"803:49:36"},"variableNames":[{"name":"r","nativeSrc":"798:1:36","nodeType":"YulIdentifier","src":"798:1:36"}]},{"nativeSrc":"865:53:36","nodeType":"YulAssignment","src":"865:53:36","value":{"arguments":[{"name":"r","nativeSrc":"873:1:36","nodeType":"YulIdentifier","src":"873:1:36"},{"arguments":[{"kind":"number","nativeSrc":"880:1:36","nodeType":"YulLiteral","src":"880:1:36","type":"","value":"6"},{"arguments":[{"kind":"number","nativeSrc":"886:18:36","nodeType":"YulLiteral","src":"886:18:36","type":"","value":"0xffffffffffffffff"},{"arguments":[{"name":"r","nativeSrc":"910:1:36","nodeType":"YulIdentifier","src":"910:1:36"},{"name":"x","nativeSrc":"913:1:36","nodeType":"YulIdentifier","src":"913:1:36"}],"functionName":{"name":"shr","nativeSrc":"906:3:36","nodeType":"YulIdentifier","src":"906:3:36"},"nativeSrc":"906:9:36","nodeType":"YulFunctionCall","src":"906:9:36"}],"functionName":{"name":"lt","nativeSrc":"883:2:36","nodeType":"YulIdentifier","src":"883:2:36"},"nativeSrc":"883:33:36","nodeType":"YulFunctionCall","src":"883:33:36"}],"functionName":{"name":"shl","nativeSrc":"876:3:36","nodeType":"YulIdentifier","src":"876:3:36"},"nativeSrc":"876:41:36","nodeType":"YulFunctionCall","src":"876:41:36"}],"functionName":{"name":"or","nativeSrc":"870:2:36","nodeType":"YulIdentifier","src":"870:2:36"},"nativeSrc":"870:48:36","nodeType":"YulFunctionCall","src":"870:48:36"},"variableNames":[{"name":"r","nativeSrc":"865:1:36","nodeType":"YulIdentifier","src":"865:1:36"}]},{"nativeSrc":"931:45:36","nodeType":"YulAssignment","src":"931:45:36","value":{"arguments":[{"name":"r","nativeSrc":"939:1:36","nodeType":"YulIdentifier","src":"939:1:36"},{"arguments":[{"kind":"number","nativeSrc":"946:1:36","nodeType":"YulLiteral","src":"946:1:36","type":"","value":"5"},{"arguments":[{"kind":"number","nativeSrc":"952:10:36","nodeType":"YulLiteral","src":"952:10:36","type":"","value":"0xffffffff"},{"arguments":[{"name":"r","nativeSrc":"968:1:36","nodeType":"YulIdentifier","src":"968:1:36"},{"name":"x","nativeSrc":"971:1:36","nodeType":"YulIdentifier","src":"971:1:36"}],"functionName":{"name":"shr","nativeSrc":"964:3:36","nodeType":"YulIdentifier","src":"964:3:36"},"nativeSrc":"964:9:36","nodeType":"YulFunctionCall","src":"964:9:36"}],"functionName":{"name":"lt","nativeSrc":"949:2:36","nodeType":"YulIdentifier","src":"949:2:36"},"nativeSrc":"949:25:36","nodeType":"YulFunctionCall","src":"949:25:36"}],"functionName":{"name":"shl","nativeSrc":"942:3:36","nodeType":"YulIdentifier","src":"942:3:36"},"nativeSrc":"942:33:36","nodeType":"YulFunctionCall","src":"942:33:36"}],"functionName":{"name":"or","nativeSrc":"936:2:36","nodeType":"YulIdentifier","src":"936:2:36"},"nativeSrc":"936:40:36","nodeType":"YulFunctionCall","src":"936:40:36"},"variableNames":[{"name":"r","nativeSrc":"931:1:36","nodeType":"YulIdentifier","src":"931:1:36"}]},{"nativeSrc":"989:41:36","nodeType":"YulAssignment","src":"989:41:36","value":{"arguments":[{"name":"r","nativeSrc":"997:1:36","nodeType":"YulIdentifier","src":"997:1:36"},{"arguments":[{"kind":"number","nativeSrc":"1004:1:36","nodeType":"YulLiteral","src":"1004:1:36","type":"","value":"4"},{"arguments":[{"kind":"number","nativeSrc":"1010:6:36","nodeType":"YulLiteral","src":"1010:6:36","type":"","value":"0xffff"},{"arguments":[{"name":"r","nativeSrc":"1022:1:36","nodeType":"YulIdentifier","src":"1022:1:36"},{"name":"x","nativeSrc":"1025:1:36","nodeType":"YulIdentifier","src":"1025:1:36"}],"functionName":{"name":"shr","nativeSrc":"1018:3:36","nodeType":"YulIdentifier","src":"1018:3:36"},"nativeSrc":"1018:9:36","nodeType":"YulFunctionCall","src":"1018:9:36"}],"functionName":{"name":"lt","nativeSrc":"1007:2:36","nodeType":"YulIdentifier","src":"1007:2:36"},"nativeSrc":"1007:21:36","nodeType":"YulFunctionCall","src":"1007:21:36"}],"functionName":{"name":"shl","nativeSrc":"1000:3:36","nodeType":"YulIdentifier","src":"1000:3:36"},"nativeSrc":"1000:29:36","nodeType":"YulFunctionCall","src":"1000:29:36"}],"functionName":{"name":"or","nativeSrc":"994:2:36","nodeType":"YulIdentifier","src":"994:2:36"},"nativeSrc":"994:36:36","nodeType":"YulFunctionCall","src":"994:36:36"},"variableNames":[{"name":"r","nativeSrc":"989:1:36","nodeType":"YulIdentifier","src":"989:1:36"}]},{"nativeSrc":"1043:39:36","nodeType":"YulAssignment","src":"1043:39:36","value":{"arguments":[{"name":"r","nativeSrc":"1051:1:36","nodeType":"YulIdentifier","src":"1051:1:36"},{"arguments":[{"kind":"number","nativeSrc":"1058:1:36","nodeType":"YulLiteral","src":"1058:1:36","type":"","value":"3"},{"arguments":[{"kind":"number","nativeSrc":"1064:4:36","nodeType":"YulLiteral","src":"1064:4:36","type":"","value":"0xff"},{"arguments":[{"name":"r","nativeSrc":"1074:1:36","nodeType":"YulIdentifier","src":"1074:1:36"},{"name":"x","nativeSrc":"1077:1:36","nodeType":"YulIdentifier","src":"1077:1:36"}],"functionName":{"name":"shr","nativeSrc":"1070:3:36","nodeType":"YulIdentifier","src":"1070:3:36"},"nativeSrc":"1070:9:36","nodeType":"YulFunctionCall","src":"1070:9:36"}],"functionName":{"name":"lt","nativeSrc":"1061:2:36","nodeType":"YulIdentifier","src":"1061:2:36"},"nativeSrc":"1061:19:36","nodeType":"YulFunctionCall","src":"1061:19:36"}],"functionName":{"name":"shl","nativeSrc":"1054:3:36","nodeType":"YulIdentifier","src":"1054:3:36"},"nativeSrc":"1054:27:36","nodeType":"YulFunctionCall","src":"1054:27:36"}],"functionName":{"name":"or","nativeSrc":"1048:2:36","nodeType":"YulIdentifier","src":"1048:2:36"},"nativeSrc":"1048:34:36","nodeType":"YulFunctionCall","src":"1048:34:36"},"variableNames":[{"name":"r","nativeSrc":"1043:1:36","nodeType":"YulIdentifier","src":"1043:1:36"}]},{"nativeSrc":"1138:163:36","nodeType":"YulAssignment","src":"1138:163:36","value":{"arguments":[{"name":"r","nativeSrc":"1146:1:36","nodeType":"YulIdentifier","src":"1146:1:36"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"1158:4:36","nodeType":"YulLiteral","src":"1158:4:36","type":"","value":"0x1f"},{"arguments":[{"arguments":[{"name":"r","nativeSrc":"1172:1:36","nodeType":"YulIdentifier","src":"1172:1:36"},{"name":"x","nativeSrc":"1175:1:36","nodeType":"YulIdentifier","src":"1175:1:36"}],"functionName":{"name":"shr","nativeSrc":"1168:3:36","nodeType":"YulIdentifier","src":"1168:3:36"},"nativeSrc":"1168:9:36","nodeType":"YulFunctionCall","src":"1168:9:36"},{"kind":"number","nativeSrc":"1179:34:36","nodeType":"YulLiteral","src":"1179:34:36","type":"","value":"0x8421084210842108cc6318c6db6d54be"}],"functionName":{"name":"shr","nativeSrc":"1164:3:36","nodeType":"YulIdentifier","src":"1164:3:36"},"nativeSrc":"1164:50:36","nodeType":"YulFunctionCall","src":"1164:50:36"}],"functionName":{"name":"and","nativeSrc":"1154:3:36","nodeType":"YulIdentifier","src":"1154:3:36"},"nativeSrc":"1154:61:36","nodeType":"YulFunctionCall","src":"1154:61:36"},{"kind":"number","nativeSrc":"1233:66:36","nodeType":"YulLiteral","src":"1233:66:36","type":"","value":"0x0706060506020500060203020504000106050205030304010505030400000000"}],"functionName":{"name":"byte","nativeSrc":"1149:4:36","nodeType":"YulIdentifier","src":"1149:4:36"},"nativeSrc":"1149:151:36","nodeType":"YulFunctionCall","src":"1149:151:36"}],"functionName":{"name":"or","nativeSrc":"1143:2:36","nodeType":"YulIdentifier","src":"1143:2:36"},"nativeSrc":"1143:158:36","nodeType":"YulFunctionCall","src":"1143:158:36"},"variableNames":[{"name":"r","nativeSrc":"1138:1:36","nodeType":"YulIdentifier","src":"1138:1:36"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4201,"isOffset":false,"isSlot":false,"src":"1022:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"1043:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"1051:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"1074:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"1138:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"1146:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"1172:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"798:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"865:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"873:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"910:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"931:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"939:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"968:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"989:1:36","valueSize":1},{"declaration":4201,"isOffset":false,"isSlot":false,"src":"997:1:36","valueSize":1},{"declaration":4198,"isOffset":false,"isSlot":false,"src":"1025:1:36","valueSize":1},{"declaration":4198,"isOffset":false,"isSlot":false,"src":"1077:1:36","valueSize":1},{"declaration":4198,"isOffset":false,"isSlot":false,"src":"1175:1:36","valueSize":1},{"declaration":4198,"isOffset":false,"isSlot":false,"src":"849:1:36","valueSize":1},{"declaration":4198,"isOffset":false,"isSlot":false,"src":"913:1:36","valueSize":1},{"declaration":4198,"isOffset":false,"isSlot":false,"src":"971:1:36","valueSize":1}],"flags":["memory-safe"],"id":4209,"nodeType":"InlineAssembly","src":"759:552:36"}]},"documentation":{"id":4196,"nodeType":"StructuredDocumentation","src":"320:328:36","text":"@notice Returns the index of the most significant bit of the number,\n     where the least significant bit is at index 0 and the most significant bit is at index 255\n @param x the value for which to compute the most significant bit, must be greater than 0\n @return r the index of the most significant bit"},"id":4211,"implemented":true,"kind":"function","modifiers":[],"name":"mostSignificantBit","nameLocation":"662:18:36","nodeType":"FunctionDefinition","parameters":{"id":4199,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4198,"mutability":"mutable","name":"x","nameLocation":"689:1:36","nodeType":"VariableDeclaration","scope":4211,"src":"681:9:36","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4197,"name":"uint256","nodeType":"ElementaryTypeName","src":"681:7:36","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"680:11:36"},"returnParameters":{"id":4202,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4201,"mutability":"mutable","name":"r","nameLocation":"721:1:36","nodeType":"VariableDeclaration","scope":4211,"src":"715:7:36","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4200,"name":"uint8","nodeType":"ElementaryTypeName","src":"715:5:36","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"714:9:36"},"scope":4228,"src":"653:664:36","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4226,"nodeType":"Block","src":"1731:875:36","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4222,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4220,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4214,"src":"1749:1:36","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":4221,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1753:1:36","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1749:5:36","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":4219,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1741:7:36","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":4223,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1741:14:36","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4224,"nodeType":"ExpressionStatement","src":"1741:14:36"},{"AST":{"nativeSrc":"1791:809:36","nodeType":"YulBlock","src":"1791:809:36","statements":[{"nativeSrc":"1855:22:36","nodeType":"YulAssignment","src":"1855:22:36","value":{"arguments":[{"name":"x","nativeSrc":"1864:1:36","nodeType":"YulIdentifier","src":"1864:1:36"},{"arguments":[{"kind":"number","nativeSrc":"1871:1:36","nodeType":"YulLiteral","src":"1871:1:36","type":"","value":"0"},{"name":"x","nativeSrc":"1874:1:36","nodeType":"YulIdentifier","src":"1874:1:36"}],"functionName":{"name":"sub","nativeSrc":"1867:3:36","nodeType":"YulIdentifier","src":"1867:3:36"},"nativeSrc":"1867:9:36","nodeType":"YulFunctionCall","src":"1867:9:36"}],"functionName":{"name":"and","nativeSrc":"1860:3:36","nodeType":"YulIdentifier","src":"1860:3:36"},"nativeSrc":"1860:17:36","nodeType":"YulFunctionCall","src":"1860:17:36"},"variableNames":[{"name":"x","nativeSrc":"1855:1:36","nodeType":"YulIdentifier","src":"1855:1:36"}]},{"nativeSrc":"2100:220:36","nodeType":"YulAssignment","src":"2100:220:36","value":{"arguments":[{"kind":"number","nativeSrc":"2109:1:36","nodeType":"YulLiteral","src":"2109:1:36","type":"","value":"5"},{"arguments":[{"kind":"number","nativeSrc":"2116:3:36","nodeType":"YulLiteral","src":"2116:3:36","type":"","value":"252"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"2129:1:36","nodeType":"YulLiteral","src":"2129:1:36","type":"","value":"2"},{"arguments":[{"kind":"number","nativeSrc":"2136:3:36","nodeType":"YulLiteral","src":"2136:3:36","type":"","value":"250"},{"arguments":[{"name":"x","nativeSrc":"2145:1:36","nodeType":"YulIdentifier","src":"2145:1:36"},{"kind":"number","nativeSrc":"2164:66:36","nodeType":"YulLiteral","src":"2164:66:36","type":"","value":"0xb6db6db6ddddddddd34d34d349249249210842108c6318c639ce739cffffffff"}],"functionName":{"name":"mul","nativeSrc":"2141:3:36","nodeType":"YulIdentifier","src":"2141:3:36"},"nativeSrc":"2141:90:36","nodeType":"YulFunctionCall","src":"2141:90:36"}],"functionName":{"name":"shr","nativeSrc":"2132:3:36","nodeType":"YulIdentifier","src":"2132:3:36"},"nativeSrc":"2132:100:36","nodeType":"YulFunctionCall","src":"2132:100:36"}],"functionName":{"name":"shl","nativeSrc":"2125:3:36","nodeType":"YulIdentifier","src":"2125:3:36"},"nativeSrc":"2125:108:36","nodeType":"YulFunctionCall","src":"2125:108:36"},{"kind":"number","nativeSrc":"2251:66:36","nodeType":"YulLiteral","src":"2251:66:36","type":"","value":"0x8040405543005266443200005020610674053026020000107506200176117077"}],"functionName":{"name":"shl","nativeSrc":"2121:3:36","nodeType":"YulIdentifier","src":"2121:3:36"},"nativeSrc":"2121:197:36","nodeType":"YulFunctionCall","src":"2121:197:36"}],"functionName":{"name":"shr","nativeSrc":"2112:3:36","nodeType":"YulIdentifier","src":"2112:3:36"},"nativeSrc":"2112:207:36","nodeType":"YulFunctionCall","src":"2112:207:36"}],"functionName":{"name":"shl","nativeSrc":"2105:3:36","nodeType":"YulIdentifier","src":"2105:3:36"},"nativeSrc":"2105:215:36","nodeType":"YulFunctionCall","src":"2105:215:36"},"variableNames":[{"name":"r","nativeSrc":"2100:1:36","nodeType":"YulIdentifier","src":"2100:1:36"}]},{"nativeSrc":"2451:139:36","nodeType":"YulAssignment","src":"2451:139:36","value":{"arguments":[{"name":"r","nativeSrc":"2459:1:36","nodeType":"YulIdentifier","src":"2459:1:36"},{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"2475:10:36","nodeType":"YulLiteral","src":"2475:10:36","type":"","value":"0xd76453e0"},{"arguments":[{"name":"r","nativeSrc":"2491:1:36","nodeType":"YulIdentifier","src":"2491:1:36"},{"name":"x","nativeSrc":"2494:1:36","nodeType":"YulIdentifier","src":"2494:1:36"}],"functionName":{"name":"shr","nativeSrc":"2487:3:36","nodeType":"YulIdentifier","src":"2487:3:36"},"nativeSrc":"2487:9:36","nodeType":"YulFunctionCall","src":"2487:9:36"}],"functionName":{"name":"div","nativeSrc":"2471:3:36","nodeType":"YulIdentifier","src":"2471:3:36"},"nativeSrc":"2471:26:36","nodeType":"YulFunctionCall","src":"2471:26:36"},{"kind":"number","nativeSrc":"2499:4:36","nodeType":"YulLiteral","src":"2499:4:36","type":"","value":"0x1f"}],"functionName":{"name":"and","nativeSrc":"2467:3:36","nodeType":"YulIdentifier","src":"2467:3:36"},"nativeSrc":"2467:37:36","nodeType":"YulFunctionCall","src":"2467:37:36"},{"kind":"number","nativeSrc":"2522:66:36","nodeType":"YulLiteral","src":"2522:66:36","type":"","value":"0x001f0d1e100c1d070f090b19131c1706010e11080a1a141802121b1503160405"}],"functionName":{"name":"byte","nativeSrc":"2462:4:36","nodeType":"YulIdentifier","src":"2462:4:36"},"nativeSrc":"2462:127:36","nodeType":"YulFunctionCall","src":"2462:127:36"}],"functionName":{"name":"or","nativeSrc":"2456:2:36","nodeType":"YulIdentifier","src":"2456:2:36"},"nativeSrc":"2456:134:36","nodeType":"YulFunctionCall","src":"2456:134:36"},"variableNames":[{"name":"r","nativeSrc":"2451:1:36","nodeType":"YulIdentifier","src":"2451:1:36"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4217,"isOffset":false,"isSlot":false,"src":"2100:1:36","valueSize":1},{"declaration":4217,"isOffset":false,"isSlot":false,"src":"2451:1:36","valueSize":1},{"declaration":4217,"isOffset":false,"isSlot":false,"src":"2459:1:36","valueSize":1},{"declaration":4217,"isOffset":false,"isSlot":false,"src":"2491:1:36","valueSize":1},{"declaration":4214,"isOffset":false,"isSlot":false,"src":"1855:1:36","valueSize":1},{"declaration":4214,"isOffset":false,"isSlot":false,"src":"1864:1:36","valueSize":1},{"declaration":4214,"isOffset":false,"isSlot":false,"src":"1874:1:36","valueSize":1},{"declaration":4214,"isOffset":false,"isSlot":false,"src":"2145:1:36","valueSize":1},{"declaration":4214,"isOffset":false,"isSlot":false,"src":"2494:1:36","valueSize":1}],"flags":["memory-safe"],"id":4225,"nodeType":"InlineAssembly","src":"1766:834:36"}]},"documentation":{"id":4212,"nodeType":"StructuredDocumentation","src":"1323:331:36","text":"@notice Returns the index of the least significant bit of the number,\n     where the least significant bit is at index 0 and the most significant bit is at index 255\n @param x the value for which to compute the least significant bit, must be greater than 0\n @return r the index of the least significant bit"},"id":4227,"implemented":true,"kind":"function","modifiers":[],"name":"leastSignificantBit","nameLocation":"1668:19:36","nodeType":"FunctionDefinition","parameters":{"id":4215,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4214,"mutability":"mutable","name":"x","nameLocation":"1696:1:36","nodeType":"VariableDeclaration","scope":4227,"src":"1688:9:36","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4213,"name":"uint256","nodeType":"ElementaryTypeName","src":"1688:7:36","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1687:11:36"},"returnParameters":{"id":4218,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4217,"mutability":"mutable","name":"r","nameLocation":"1728:1:36","nodeType":"VariableDeclaration","scope":4227,"src":"1722:7:36","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4216,"name":"uint8","nodeType":"ElementaryTypeName","src":"1722:5:36","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"1721:9:36"},"scope":4228,"src":"1659:947:36","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":4229,"src":"298:2310:36","usedErrors":[],"usedEvents":[]}],"src":"32:2577:36"},"id":36},"@uniswap/v4-core/src/libraries/CurrencyDelta.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/CurrencyDelta.sol","exportedSymbols":{"Currency":[10717],"CurrencyDelta":[4297]},"id":4298,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":4230,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"37:24:37"},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"../types/Currency.sol","id":4232,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":4298,"sourceUnit":11012,"src":"63:47:37","symbolAliases":[{"foreign":{"id":4231,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"71:8:37","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"CurrencyDelta","contractDependencies":[],"contractKind":"library","documentation":{"id":4233,"nodeType":"StructuredDocumentation","src":"112:192:37","text":"@title a library to store callers' currency deltas in transient storage\n @dev this library implements the equivalent of a mapping, as transient storage can only be accessed in assembly"},"fullyImplemented":true,"id":4297,"linearizedBaseContracts":[4297],"name":"CurrencyDelta","nameLocation":"312:13:37","nodeType":"ContractDefinition","nodes":[{"body":{"id":4245,"nodeType":"Block","src":"537:254:37","statements":[{"AST":{"nativeSrc":"572:213:37","nodeType":"YulBlock","src":"572:213:37","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"593:1:37","nodeType":"YulLiteral","src":"593:1:37","type":"","value":"0"},{"arguments":[{"name":"target","nativeSrc":"600:6:37","nodeType":"YulIdentifier","src":"600:6:37"},{"kind":"number","nativeSrc":"608:42:37","nodeType":"YulLiteral","src":"608:42:37","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"596:3:37","nodeType":"YulIdentifier","src":"596:3:37"},"nativeSrc":"596:55:37","nodeType":"YulFunctionCall","src":"596:55:37"}],"functionName":{"name":"mstore","nativeSrc":"586:6:37","nodeType":"YulIdentifier","src":"586:6:37"},"nativeSrc":"586:66:37","nodeType":"YulFunctionCall","src":"586:66:37"},"nativeSrc":"586:66:37","nodeType":"YulExpressionStatement","src":"586:66:37"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"672:2:37","nodeType":"YulLiteral","src":"672:2:37","type":"","value":"32"},{"arguments":[{"name":"currency","nativeSrc":"680:8:37","nodeType":"YulIdentifier","src":"680:8:37"},{"kind":"number","nativeSrc":"690:42:37","nodeType":"YulLiteral","src":"690:42:37","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"676:3:37","nodeType":"YulIdentifier","src":"676:3:37"},"nativeSrc":"676:57:37","nodeType":"YulFunctionCall","src":"676:57:37"}],"functionName":{"name":"mstore","nativeSrc":"665:6:37","nodeType":"YulIdentifier","src":"665:6:37"},"nativeSrc":"665:69:37","nodeType":"YulFunctionCall","src":"665:69:37"},"nativeSrc":"665:69:37","nodeType":"YulExpressionStatement","src":"665:69:37"},{"nativeSrc":"747:28:37","nodeType":"YulAssignment","src":"747:28:37","value":{"arguments":[{"kind":"number","nativeSrc":"769:1:37","nodeType":"YulLiteral","src":"769:1:37","type":"","value":"0"},{"kind":"number","nativeSrc":"772:2:37","nodeType":"YulLiteral","src":"772:2:37","type":"","value":"64"}],"functionName":{"name":"keccak256","nativeSrc":"759:9:37","nodeType":"YulIdentifier","src":"759:9:37"},"nativeSrc":"759:16:37","nodeType":"YulFunctionCall","src":"759:16:37"},"variableNames":[{"name":"hashSlot","nativeSrc":"747:8:37","nodeType":"YulIdentifier","src":"747:8:37"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4239,"isOffset":false,"isSlot":false,"src":"680:8:37","valueSize":1},{"declaration":4242,"isOffset":false,"isSlot":false,"src":"747:8:37","valueSize":1},{"declaration":4236,"isOffset":false,"isSlot":false,"src":"600:6:37","valueSize":1}],"flags":["memory-safe"],"id":4244,"nodeType":"InlineAssembly","src":"547:238:37"}]},"documentation":{"id":4234,"nodeType":"StructuredDocumentation","src":"332:102:37","text":"@notice calculates which storage slot a delta should be stored in for a given account and currency"},"id":4246,"implemented":true,"kind":"function","modifiers":[],"name":"_computeSlot","nameLocation":"448:12:37","nodeType":"FunctionDefinition","parameters":{"id":4240,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4236,"mutability":"mutable","name":"target","nameLocation":"469:6:37","nodeType":"VariableDeclaration","scope":4246,"src":"461:14:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4235,"name":"address","nodeType":"ElementaryTypeName","src":"461:7:37","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4239,"mutability":"mutable","name":"currency","nameLocation":"486:8:37","nodeType":"VariableDeclaration","scope":4246,"src":"477:17:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":4238,"nodeType":"UserDefinedTypeName","pathNode":{"id":4237,"name":"Currency","nameLocations":["477:8:37"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"477:8:37"},"referencedDeclaration":10717,"src":"477:8:37","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"460:35:37"},"returnParameters":{"id":4243,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4242,"mutability":"mutable","name":"hashSlot","nameLocation":"527:8:37","nodeType":"VariableDeclaration","scope":4246,"src":"519:16:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4241,"name":"bytes32","nodeType":"ElementaryTypeName","src":"519:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"518:18:37"},"scope":4297,"src":"439:352:37","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4264,"nodeType":"Block","src":"887:148:37","statements":[{"assignments":[4257],"declarations":[{"constant":false,"id":4257,"mutability":"mutable","name":"hashSlot","nameLocation":"905:8:37","nodeType":"VariableDeclaration","scope":4264,"src":"897:16:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4256,"name":"bytes32","nodeType":"ElementaryTypeName","src":"897:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":4262,"initialValue":{"arguments":[{"id":4259,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4251,"src":"929:6:37","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4260,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4249,"src":"937:8:37","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":4258,"name":"_computeSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4246,"src":"916:12:37","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_bytes32_$","typeString":"function (address,Currency) pure returns (bytes32)"}},"id":4261,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"916:30:37","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"897:49:37"},{"AST":{"nativeSrc":"981:48:37","nodeType":"YulBlock","src":"981:48:37","statements":[{"nativeSrc":"995:24:37","nodeType":"YulAssignment","src":"995:24:37","value":{"arguments":[{"name":"hashSlot","nativeSrc":"1010:8:37","nodeType":"YulIdentifier","src":"1010:8:37"}],"functionName":{"name":"tload","nativeSrc":"1004:5:37","nodeType":"YulIdentifier","src":"1004:5:37"},"nativeSrc":"1004:15:37","nodeType":"YulFunctionCall","src":"1004:15:37"},"variableNames":[{"name":"delta","nativeSrc":"995:5:37","nodeType":"YulIdentifier","src":"995:5:37"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4254,"isOffset":false,"isSlot":false,"src":"995:5:37","valueSize":1},{"declaration":4257,"isOffset":false,"isSlot":false,"src":"1010:8:37","valueSize":1}],"flags":["memory-safe"],"id":4263,"nodeType":"InlineAssembly","src":"956:73:37"}]},"id":4265,"implemented":true,"kind":"function","modifiers":[],"name":"getDelta","nameLocation":"806:8:37","nodeType":"FunctionDefinition","parameters":{"id":4252,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4249,"mutability":"mutable","name":"currency","nameLocation":"824:8:37","nodeType":"VariableDeclaration","scope":4265,"src":"815:17:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":4248,"nodeType":"UserDefinedTypeName","pathNode":{"id":4247,"name":"Currency","nameLocations":["815:8:37"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"815:8:37"},"referencedDeclaration":10717,"src":"815:8:37","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":4251,"mutability":"mutable","name":"target","nameLocation":"842:6:37","nodeType":"VariableDeclaration","scope":4265,"src":"834:14:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4250,"name":"address","nodeType":"ElementaryTypeName","src":"834:7:37","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"814:35:37"},"returnParameters":{"id":4255,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4254,"mutability":"mutable","name":"delta","nameLocation":"880:5:37","nodeType":"VariableDeclaration","scope":4265,"src":"873:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4253,"name":"int256","nodeType":"ElementaryTypeName","src":"873:6:37","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"872:14:37"},"scope":4297,"src":"797:238:37","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":4295,"nodeType":"Block","src":"1338:265:37","statements":[{"assignments":[4281],"declarations":[{"constant":false,"id":4281,"mutability":"mutable","name":"hashSlot","nameLocation":"1356:8:37","nodeType":"VariableDeclaration","scope":4295,"src":"1348:16:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4280,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1348:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":4286,"initialValue":{"arguments":[{"id":4283,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4271,"src":"1380:6:37","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4284,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4269,"src":"1388:8:37","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":4282,"name":"_computeSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4246,"src":"1367:12:37","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_bytes32_$","typeString":"function (address,Currency) pure returns (bytes32)"}},"id":4285,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1367:30:37","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"1348:49:37"},{"AST":{"nativeSrc":"1433:51:37","nodeType":"YulBlock","src":"1433:51:37","statements":[{"nativeSrc":"1447:27:37","nodeType":"YulAssignment","src":"1447:27:37","value":{"arguments":[{"name":"hashSlot","nativeSrc":"1465:8:37","nodeType":"YulIdentifier","src":"1465:8:37"}],"functionName":{"name":"tload","nativeSrc":"1459:5:37","nodeType":"YulIdentifier","src":"1459:5:37"},"nativeSrc":"1459:15:37","nodeType":"YulFunctionCall","src":"1459:15:37"},"variableNames":[{"name":"previous","nativeSrc":"1447:8:37","nodeType":"YulIdentifier","src":"1447:8:37"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4281,"isOffset":false,"isSlot":false,"src":"1465:8:37","valueSize":1},{"declaration":4276,"isOffset":false,"isSlot":false,"src":"1447:8:37","valueSize":1}],"flags":["memory-safe"],"id":4287,"nodeType":"InlineAssembly","src":"1408:76:37"},{"expression":{"id":4292,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4288,"name":"next","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4278,"src":"1493:4:37","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":4291,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4289,"name":"previous","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4276,"src":"1500:8:37","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":4290,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4273,"src":"1511:5:37","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"1500:16:37","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1493:23:37","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":4293,"nodeType":"ExpressionStatement","src":"1493:23:37"},{"AST":{"nativeSrc":"1551:46:37","nodeType":"YulBlock","src":"1551:46:37","statements":[{"expression":{"arguments":[{"name":"hashSlot","nativeSrc":"1572:8:37","nodeType":"YulIdentifier","src":"1572:8:37"},{"name":"next","nativeSrc":"1582:4:37","nodeType":"YulIdentifier","src":"1582:4:37"}],"functionName":{"name":"tstore","nativeSrc":"1565:6:37","nodeType":"YulIdentifier","src":"1565:6:37"},"nativeSrc":"1565:22:37","nodeType":"YulFunctionCall","src":"1565:22:37"},"nativeSrc":"1565:22:37","nodeType":"YulExpressionStatement","src":"1565:22:37"}]},"evmVersion":"cancun","externalReferences":[{"declaration":4281,"isOffset":false,"isSlot":false,"src":"1572:8:37","valueSize":1},{"declaration":4278,"isOffset":false,"isSlot":false,"src":"1582:4:37","valueSize":1}],"flags":["memory-safe"],"id":4294,"nodeType":"InlineAssembly","src":"1526:71:37"}]},"documentation":{"id":4266,"nodeType":"StructuredDocumentation","src":"1041:155:37","text":"@notice applies a new currency delta for a given account and currency\n @return previous The prior value\n @return next The modified result"},"id":4296,"implemented":true,"kind":"function","modifiers":[],"name":"applyDelta","nameLocation":"1210:10:37","nodeType":"FunctionDefinition","parameters":{"id":4274,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4269,"mutability":"mutable","name":"currency","nameLocation":"1230:8:37","nodeType":"VariableDeclaration","scope":4296,"src":"1221:17:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":4268,"nodeType":"UserDefinedTypeName","pathNode":{"id":4267,"name":"Currency","nameLocations":["1221:8:37"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1221:8:37"},"referencedDeclaration":10717,"src":"1221:8:37","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":4271,"mutability":"mutable","name":"target","nameLocation":"1248:6:37","nodeType":"VariableDeclaration","scope":4296,"src":"1240:14:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4270,"name":"address","nodeType":"ElementaryTypeName","src":"1240:7:37","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4273,"mutability":"mutable","name":"delta","nameLocation":"1263:5:37","nodeType":"VariableDeclaration","scope":4296,"src":"1256:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":4272,"name":"int128","nodeType":"ElementaryTypeName","src":"1256:6:37","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"1220:49:37"},"returnParameters":{"id":4279,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4276,"mutability":"mutable","name":"previous","nameLocation":"1311:8:37","nodeType":"VariableDeclaration","scope":4296,"src":"1304:15:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4275,"name":"int256","nodeType":"ElementaryTypeName","src":"1304:6:37","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":4278,"mutability":"mutable","name":"next","nameLocation":"1328:4:37","nodeType":"VariableDeclaration","scope":4296,"src":"1321:11:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4277,"name":"int256","nodeType":"ElementaryTypeName","src":"1321:6:37","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1303:30:37"},"scope":4297,"src":"1201:402:37","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":4298,"src":"304:1301:37","usedErrors":[],"usedEvents":[]}],"src":"37:1569:37"},"id":37},"@uniswap/v4-core/src/libraries/CurrencyReserves.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/CurrencyReserves.sol","exportedSymbols":{"Currency":[10717],"CurrencyReserves":[4345],"CustomRevert":[4451]},"id":4346,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":4299,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"37:24:38"},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"../types/Currency.sol","id":4301,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":4346,"sourceUnit":11012,"src":"63:47:38","symbolAliases":[{"foreign":{"id":4300,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"71:8:38","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/CustomRevert.sol","file":"./CustomRevert.sol","id":4303,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":4346,"sourceUnit":4452,"src":"111:48:38","symbolAliases":[{"foreign":{"id":4302,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"119:12:38","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"CurrencyReserves","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"id":4345,"linearizedBaseContracts":[4345],"name":"CurrencyReserves","nameLocation":"169:16:38","nodeType":"ContractDefinition","nodes":[{"global":false,"id":4306,"libraryName":{"id":4304,"name":"CustomRevert","nameLocations":["198:12:38"],"nodeType":"IdentifierPath","referencedDeclaration":4451,"src":"198:12:38"},"nodeType":"UsingForDirective","src":"192:30:38","typeName":{"id":4305,"name":"bytes4","nodeType":"ElementaryTypeName","src":"215:6:38","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}},{"constant":true,"documentation":{"id":4307,"nodeType":"StructuredDocumentation","src":"228:49:38","text":"bytes32(uint256(keccak256(\"ReservesOf\")) - 1)"},"id":4310,"mutability":"constant","name":"RESERVES_OF_SLOT","nameLocation":"299:16:38","nodeType":"VariableDeclaration","scope":4345,"src":"282:102:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4308,"name":"bytes32","nodeType":"ElementaryTypeName","src":"282:7:38","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307831653037343561376462313632333938316630623261356434323332333634633030373837323636656237356164353436663139306536636562653962643935","id":4309,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"318:66:38","typeDescriptions":{"typeIdentifier":"t_rational_13582234132832961652756477188584847927179359657859594952372729441197434191253_by_1","typeString":"int_const 1358...(69 digits omitted)...1253"},"value":"0x1e0745a7db1623981f0b2a5d4232364c00787266eb75ad546f190e6cebe9bd95"},"visibility":"internal"},{"constant":true,"documentation":{"id":4311,"nodeType":"StructuredDocumentation","src":"390:47:38","text":"bytes32(uint256(keccak256(\"Currency\")) - 1)"},"id":4314,"mutability":"constant","name":"CURRENCY_SLOT","nameLocation":"459:13:38","nodeType":"VariableDeclaration","scope":4345,"src":"442:99:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4312,"name":"bytes32","nodeType":"ElementaryTypeName","src":"442:7:38","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307832376530393863353035643434656333353734303034626361303532616162663736626433353030346331383230393964386335373566623233383539336239","id":4313,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"475:66:38","typeDescriptions":{"typeIdentifier":"t_rational_18037029214425852597980496522548842536420057720408124260691716999909707453369_by_1","typeString":"int_const 1803...(69 digits omitted)...3369"},"value":"0x27e098c505d44ec3574004bca052aabf76bd35004c182099d8c575fb238593b9"},"visibility":"internal"},{"body":{"id":4321,"nodeType":"Block","src":"619:97:38","statements":[{"AST":{"nativeSrc":"654:56:38","nodeType":"YulBlock","src":"654:56:38","statements":[{"nativeSrc":"668:32:38","nodeType":"YulAssignment","src":"668:32:38","value":{"arguments":[{"name":"CURRENCY_SLOT","nativeSrc":"686:13:38","nodeType":"YulIdentifier","src":"686:13:38"}],"functionName":{"name":"tload","nativeSrc":"680:5:38","nodeType":"YulIdentifier","src":"680:5:38"},"nativeSrc":"680:20:38","nodeType":"YulFunctionCall","src":"680:20:38"},"variableNames":[{"name":"currency","nativeSrc":"668:8:38","nodeType":"YulIdentifier","src":"668:8:38"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4314,"isOffset":false,"isSlot":false,"src":"686:13:38","valueSize":1},{"declaration":4318,"isOffset":false,"isSlot":false,"src":"668:8:38","valueSize":1}],"flags":["memory-safe"],"id":4320,"nodeType":"InlineAssembly","src":"629:81:38"}]},"id":4322,"implemented":true,"kind":"function","modifiers":[],"name":"getSyncedCurrency","nameLocation":"557:17:38","nodeType":"FunctionDefinition","parameters":{"id":4315,"nodeType":"ParameterList","parameters":[],"src":"574:2:38"},"returnParameters":{"id":4319,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4318,"mutability":"mutable","name":"currency","nameLocation":"609:8:38","nodeType":"VariableDeclaration","scope":4322,"src":"600:17:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":4317,"nodeType":"UserDefinedTypeName","pathNode":{"id":4316,"name":"Currency","nameLocations":["600:8:38"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"600:8:38"},"referencedDeclaration":10717,"src":"600:8:38","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"599:19:38"},"scope":4345,"src":"548:168:38","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":4326,"nodeType":"Block","src":"756:89:38","statements":[{"AST":{"nativeSrc":"791:48:38","nodeType":"YulBlock","src":"791:48:38","statements":[{"expression":{"arguments":[{"name":"CURRENCY_SLOT","nativeSrc":"812:13:38","nodeType":"YulIdentifier","src":"812:13:38"},{"kind":"number","nativeSrc":"827:1:38","nodeType":"YulLiteral","src":"827:1:38","type":"","value":"0"}],"functionName":{"name":"tstore","nativeSrc":"805:6:38","nodeType":"YulIdentifier","src":"805:6:38"},"nativeSrc":"805:24:38","nodeType":"YulFunctionCall","src":"805:24:38"},"nativeSrc":"805:24:38","nodeType":"YulExpressionStatement","src":"805:24:38"}]},"evmVersion":"cancun","externalReferences":[{"declaration":4314,"isOffset":false,"isSlot":false,"src":"812:13:38","valueSize":1}],"flags":["memory-safe"],"id":4325,"nodeType":"InlineAssembly","src":"766:73:38"}]},"id":4327,"implemented":true,"kind":"function","modifiers":[],"name":"resetCurrency","nameLocation":"731:13:38","nodeType":"FunctionDefinition","parameters":{"id":4323,"nodeType":"ParameterList","parameters":[],"src":"744:2:38"},"returnParameters":{"id":4324,"nodeType":"ParameterList","parameters":[],"src":"756:0:38"},"scope":4345,"src":"722:123:38","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4336,"nodeType":"Block","src":"927:189:38","statements":[{"AST":{"nativeSrc":"962:148:38","nodeType":"YulBlock","src":"962:148:38","statements":[{"expression":{"arguments":[{"name":"CURRENCY_SLOT","nativeSrc":"983:13:38","nodeType":"YulIdentifier","src":"983:13:38"},{"arguments":[{"name":"currency","nativeSrc":"1002:8:38","nodeType":"YulIdentifier","src":"1002:8:38"},{"kind":"number","nativeSrc":"1012:42:38","nodeType":"YulLiteral","src":"1012:42:38","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"998:3:38","nodeType":"YulIdentifier","src":"998:3:38"},"nativeSrc":"998:57:38","nodeType":"YulFunctionCall","src":"998:57:38"}],"functionName":{"name":"tstore","nativeSrc":"976:6:38","nodeType":"YulIdentifier","src":"976:6:38"},"nativeSrc":"976:80:38","nodeType":"YulFunctionCall","src":"976:80:38"},"nativeSrc":"976:80:38","nodeType":"YulExpressionStatement","src":"976:80:38"},{"expression":{"arguments":[{"name":"RESERVES_OF_SLOT","nativeSrc":"1076:16:38","nodeType":"YulIdentifier","src":"1076:16:38"},{"name":"value","nativeSrc":"1094:5:38","nodeType":"YulIdentifier","src":"1094:5:38"}],"functionName":{"name":"tstore","nativeSrc":"1069:6:38","nodeType":"YulIdentifier","src":"1069:6:38"},"nativeSrc":"1069:31:38","nodeType":"YulFunctionCall","src":"1069:31:38"},"nativeSrc":"1069:31:38","nodeType":"YulExpressionStatement","src":"1069:31:38"}]},"evmVersion":"cancun","externalReferences":[{"declaration":4314,"isOffset":false,"isSlot":false,"src":"983:13:38","valueSize":1},{"declaration":4310,"isOffset":false,"isSlot":false,"src":"1076:16:38","valueSize":1},{"declaration":4330,"isOffset":false,"isSlot":false,"src":"1002:8:38","valueSize":1},{"declaration":4332,"isOffset":false,"isSlot":false,"src":"1094:5:38","valueSize":1}],"flags":["memory-safe"],"id":4335,"nodeType":"InlineAssembly","src":"937:173:38"}]},"id":4337,"implemented":true,"kind":"function","modifiers":[],"name":"syncCurrencyAndReserves","nameLocation":"860:23:38","nodeType":"FunctionDefinition","parameters":{"id":4333,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4330,"mutability":"mutable","name":"currency","nameLocation":"893:8:38","nodeType":"VariableDeclaration","scope":4337,"src":"884:17:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":4329,"nodeType":"UserDefinedTypeName","pathNode":{"id":4328,"name":"Currency","nameLocations":["884:8:38"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"884:8:38"},"referencedDeclaration":10717,"src":"884:8:38","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":4332,"mutability":"mutable","name":"value","nameLocation":"911:5:38","nodeType":"VariableDeclaration","scope":4337,"src":"903:13:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4331,"name":"uint256","nodeType":"ElementaryTypeName","src":"903:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"883:34:38"},"returnParameters":{"id":4334,"nodeType":"ParameterList","parameters":[],"src":"927:0:38"},"scope":4345,"src":"851:265:38","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4343,"nodeType":"Block","src":"1189:97:38","statements":[{"AST":{"nativeSrc":"1224:56:38","nodeType":"YulBlock","src":"1224:56:38","statements":[{"nativeSrc":"1238:32:38","nodeType":"YulAssignment","src":"1238:32:38","value":{"arguments":[{"name":"RESERVES_OF_SLOT","nativeSrc":"1253:16:38","nodeType":"YulIdentifier","src":"1253:16:38"}],"functionName":{"name":"tload","nativeSrc":"1247:5:38","nodeType":"YulIdentifier","src":"1247:5:38"},"nativeSrc":"1247:23:38","nodeType":"YulFunctionCall","src":"1247:23:38"},"variableNames":[{"name":"value","nativeSrc":"1238:5:38","nodeType":"YulIdentifier","src":"1238:5:38"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4310,"isOffset":false,"isSlot":false,"src":"1253:16:38","valueSize":1},{"declaration":4340,"isOffset":false,"isSlot":false,"src":"1238:5:38","valueSize":1}],"flags":["memory-safe"],"id":4342,"nodeType":"InlineAssembly","src":"1199:81:38"}]},"id":4344,"implemented":true,"kind":"function","modifiers":[],"name":"getSyncedReserves","nameLocation":"1131:17:38","nodeType":"FunctionDefinition","parameters":{"id":4338,"nodeType":"ParameterList","parameters":[],"src":"1148:2:38"},"returnParameters":{"id":4341,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4340,"mutability":"mutable","name":"value","nameLocation":"1182:5:38","nodeType":"VariableDeclaration","scope":4344,"src":"1174:13:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4339,"name":"uint256","nodeType":"ElementaryTypeName","src":"1174:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1173:15:38"},"scope":4345,"src":"1122:164:38","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":4346,"src":"161:1127:38","usedErrors":[],"usedEvents":[]}],"src":"37:1252:38"},"id":38},"@uniswap/v4-core/src/libraries/CustomRevert.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/CustomRevert.sol","exportedSymbols":{"CustomRevert":[4451]},"id":4452,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4347,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:39"},{"abstract":false,"baseContracts":[],"canonicalName":"CustomRevert","contractDependencies":[],"contractKind":"library","documentation":{"id":4348,"nodeType":"StructuredDocumentation","src":"57:444:39","text":"@title Library for reverting with custom errors efficiently\n @notice Contains functions for reverting with custom errors with different argument types efficiently\n @dev To use this library, declare `using CustomRevert for bytes4;` and replace `revert CustomError()` with\n `CustomError.selector.revertWith()`\n @dev The functions may tamper with the free memory pointer but it is fine since the call context is exited immediately"},"fullyImplemented":true,"id":4451,"linearizedBaseContracts":[4451],"name":"CustomRevert","nameLocation":"509:12:39","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":4349,"nodeType":"StructuredDocumentation","src":"528:55:39","text":"@dev ERC-7751 error for wrapping bubbled up reverts"},"errorSelector":"90bfb865","id":4359,"name":"WrappedError","nameLocation":"594:12:39","nodeType":"ErrorDefinition","parameters":{"id":4358,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4351,"mutability":"mutable","name":"target","nameLocation":"615:6:39","nodeType":"VariableDeclaration","scope":4359,"src":"607:14:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4350,"name":"address","nodeType":"ElementaryTypeName","src":"607:7:39","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4353,"mutability":"mutable","name":"selector","nameLocation":"630:8:39","nodeType":"VariableDeclaration","scope":4359,"src":"623:15:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":4352,"name":"bytes4","nodeType":"ElementaryTypeName","src":"623:6:39","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":4355,"mutability":"mutable","name":"reason","nameLocation":"646:6:39","nodeType":"VariableDeclaration","scope":4359,"src":"640:12:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4354,"name":"bytes","nodeType":"ElementaryTypeName","src":"640:5:39","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":4357,"mutability":"mutable","name":"details","nameLocation":"660:7:39","nodeType":"VariableDeclaration","scope":4359,"src":"654:13:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4356,"name":"bytes","nodeType":"ElementaryTypeName","src":"654:5:39","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"606:62:39"},"src":"588:81:39"},{"body":{"id":4366,"nodeType":"Block","src":"804:112:39","statements":[{"AST":{"nativeSrc":"839:71:39","nodeType":"YulBlock","src":"839:71:39","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"860:1:39","nodeType":"YulLiteral","src":"860:1:39","type":"","value":"0"},{"name":"selector","nativeSrc":"863:8:39","nodeType":"YulIdentifier","src":"863:8:39"}],"functionName":{"name":"mstore","nativeSrc":"853:6:39","nodeType":"YulIdentifier","src":"853:6:39"},"nativeSrc":"853:19:39","nodeType":"YulFunctionCall","src":"853:19:39"},"nativeSrc":"853:19:39","nodeType":"YulExpressionStatement","src":"853:19:39"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"892:1:39","nodeType":"YulLiteral","src":"892:1:39","type":"","value":"0"},{"kind":"number","nativeSrc":"895:4:39","nodeType":"YulLiteral","src":"895:4:39","type":"","value":"0x04"}],"functionName":{"name":"revert","nativeSrc":"885:6:39","nodeType":"YulIdentifier","src":"885:6:39"},"nativeSrc":"885:15:39","nodeType":"YulFunctionCall","src":"885:15:39"},"nativeSrc":"885:15:39","nodeType":"YulExpressionStatement","src":"885:15:39"}]},"evmVersion":"cancun","externalReferences":[{"declaration":4362,"isOffset":false,"isSlot":false,"src":"863:8:39","valueSize":1}],"flags":["memory-safe"],"id":4365,"nodeType":"InlineAssembly","src":"814:96:39"}]},"documentation":{"id":4360,"nodeType":"StructuredDocumentation","src":"675:73:39","text":"@dev Reverts with the selector of a custom error in the scratch space"},"id":4367,"implemented":true,"kind":"function","modifiers":[],"name":"revertWith","nameLocation":"762:10:39","nodeType":"FunctionDefinition","parameters":{"id":4363,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4362,"mutability":"mutable","name":"selector","nameLocation":"780:8:39","nodeType":"VariableDeclaration","scope":4367,"src":"773:15:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":4361,"name":"bytes4","nodeType":"ElementaryTypeName","src":"773:6:39","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"772:17:39"},"returnParameters":{"id":4364,"nodeType":"ParameterList","parameters":[],"src":"804:0:39"},"scope":4451,"src":"753:163:39","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4376,"nodeType":"Block","src":"1074:192:39","statements":[{"AST":{"nativeSrc":"1109:151:39","nodeType":"YulBlock","src":"1109:151:39","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1130:1:39","nodeType":"YulLiteral","src":"1130:1:39","type":"","value":"0"},{"name":"selector","nativeSrc":"1133:8:39","nodeType":"YulIdentifier","src":"1133:8:39"}],"functionName":{"name":"mstore","nativeSrc":"1123:6:39","nodeType":"YulIdentifier","src":"1123:6:39"},"nativeSrc":"1123:19:39","nodeType":"YulFunctionCall","src":"1123:19:39"},"nativeSrc":"1123:19:39","nodeType":"YulExpressionStatement","src":"1123:19:39"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1162:4:39","nodeType":"YulLiteral","src":"1162:4:39","type":"","value":"0x04"},{"arguments":[{"name":"addr","nativeSrc":"1172:4:39","nodeType":"YulIdentifier","src":"1172:4:39"},{"kind":"number","nativeSrc":"1178:42:39","nodeType":"YulLiteral","src":"1178:42:39","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"1168:3:39","nodeType":"YulIdentifier","src":"1168:3:39"},"nativeSrc":"1168:53:39","nodeType":"YulFunctionCall","src":"1168:53:39"}],"functionName":{"name":"mstore","nativeSrc":"1155:6:39","nodeType":"YulIdentifier","src":"1155:6:39"},"nativeSrc":"1155:67:39","nodeType":"YulFunctionCall","src":"1155:67:39"},"nativeSrc":"1155:67:39","nodeType":"YulExpressionStatement","src":"1155:67:39"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1242:1:39","nodeType":"YulLiteral","src":"1242:1:39","type":"","value":"0"},{"kind":"number","nativeSrc":"1245:4:39","nodeType":"YulLiteral","src":"1245:4:39","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"1235:6:39","nodeType":"YulIdentifier","src":"1235:6:39"},"nativeSrc":"1235:15:39","nodeType":"YulFunctionCall","src":"1235:15:39"},"nativeSrc":"1235:15:39","nodeType":"YulExpressionStatement","src":"1235:15:39"}]},"evmVersion":"cancun","externalReferences":[{"declaration":4372,"isOffset":false,"isSlot":false,"src":"1172:4:39","valueSize":1},{"declaration":4370,"isOffset":false,"isSlot":false,"src":"1133:8:39","valueSize":1}],"flags":["memory-safe"],"id":4375,"nodeType":"InlineAssembly","src":"1084:176:39"}]},"documentation":{"id":4368,"nodeType":"StructuredDocumentation","src":"922:82:39","text":"@dev Reverts with a custom error with an address argument in the scratch space"},"id":4377,"implemented":true,"kind":"function","modifiers":[],"name":"revertWith","nameLocation":"1018:10:39","nodeType":"FunctionDefinition","parameters":{"id":4373,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4370,"mutability":"mutable","name":"selector","nameLocation":"1036:8:39","nodeType":"VariableDeclaration","scope":4377,"src":"1029:15:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":4369,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1029:6:39","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":4372,"mutability":"mutable","name":"addr","nameLocation":"1054:4:39","nodeType":"VariableDeclaration","scope":4377,"src":"1046:12:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4371,"name":"address","nodeType":"ElementaryTypeName","src":"1046:7:39","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1028:31:39"},"returnParameters":{"id":4374,"nodeType":"ParameterList","parameters":[],"src":"1074:0:39"},"scope":4451,"src":"1009:257:39","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4386,"nodeType":"Block","src":"1421:159:39","statements":[{"AST":{"nativeSrc":"1456:118:39","nodeType":"YulBlock","src":"1456:118:39","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1477:1:39","nodeType":"YulLiteral","src":"1477:1:39","type":"","value":"0"},{"name":"selector","nativeSrc":"1480:8:39","nodeType":"YulIdentifier","src":"1480:8:39"}],"functionName":{"name":"mstore","nativeSrc":"1470:6:39","nodeType":"YulIdentifier","src":"1470:6:39"},"nativeSrc":"1470:19:39","nodeType":"YulFunctionCall","src":"1470:19:39"},"nativeSrc":"1470:19:39","nodeType":"YulExpressionStatement","src":"1470:19:39"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1509:4:39","nodeType":"YulLiteral","src":"1509:4:39","type":"","value":"0x04"},{"arguments":[{"kind":"number","nativeSrc":"1526:1:39","nodeType":"YulLiteral","src":"1526:1:39","type":"","value":"2"},{"name":"value","nativeSrc":"1529:5:39","nodeType":"YulIdentifier","src":"1529:5:39"}],"functionName":{"name":"signextend","nativeSrc":"1515:10:39","nodeType":"YulIdentifier","src":"1515:10:39"},"nativeSrc":"1515:20:39","nodeType":"YulFunctionCall","src":"1515:20:39"}],"functionName":{"name":"mstore","nativeSrc":"1502:6:39","nodeType":"YulIdentifier","src":"1502:6:39"},"nativeSrc":"1502:34:39","nodeType":"YulFunctionCall","src":"1502:34:39"},"nativeSrc":"1502:34:39","nodeType":"YulExpressionStatement","src":"1502:34:39"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1556:1:39","nodeType":"YulLiteral","src":"1556:1:39","type":"","value":"0"},{"kind":"number","nativeSrc":"1559:4:39","nodeType":"YulLiteral","src":"1559:4:39","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"1549:6:39","nodeType":"YulIdentifier","src":"1549:6:39"},"nativeSrc":"1549:15:39","nodeType":"YulFunctionCall","src":"1549:15:39"},"nativeSrc":"1549:15:39","nodeType":"YulExpressionStatement","src":"1549:15:39"}]},"evmVersion":"cancun","externalReferences":[{"declaration":4380,"isOffset":false,"isSlot":false,"src":"1480:8:39","valueSize":1},{"declaration":4382,"isOffset":false,"isSlot":false,"src":"1529:5:39","valueSize":1}],"flags":["memory-safe"],"id":4385,"nodeType":"InlineAssembly","src":"1431:143:39"}]},"documentation":{"id":4378,"nodeType":"StructuredDocumentation","src":"1272:80:39","text":"@dev Reverts with a custom error with an int24 argument in the scratch space"},"id":4387,"implemented":true,"kind":"function","modifiers":[],"name":"revertWith","nameLocation":"1366:10:39","nodeType":"FunctionDefinition","parameters":{"id":4383,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4380,"mutability":"mutable","name":"selector","nameLocation":"1384:8:39","nodeType":"VariableDeclaration","scope":4387,"src":"1377:15:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":4379,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1377:6:39","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":4382,"mutability":"mutable","name":"value","nameLocation":"1400:5:39","nodeType":"VariableDeclaration","scope":4387,"src":"1394:11:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":4381,"name":"int24","nodeType":"ElementaryTypeName","src":"1394:5:39","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1376:30:39"},"returnParameters":{"id":4384,"nodeType":"ParameterList","parameters":[],"src":"1421:0:39"},"scope":4451,"src":"1357:223:39","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4396,"nodeType":"Block","src":"1738:193:39","statements":[{"AST":{"nativeSrc":"1773:152:39","nodeType":"YulBlock","src":"1773:152:39","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1794:1:39","nodeType":"YulLiteral","src":"1794:1:39","type":"","value":"0"},{"name":"selector","nativeSrc":"1797:8:39","nodeType":"YulIdentifier","src":"1797:8:39"}],"functionName":{"name":"mstore","nativeSrc":"1787:6:39","nodeType":"YulIdentifier","src":"1787:6:39"},"nativeSrc":"1787:19:39","nodeType":"YulFunctionCall","src":"1787:19:39"},"nativeSrc":"1787:19:39","nodeType":"YulExpressionStatement","src":"1787:19:39"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1826:4:39","nodeType":"YulLiteral","src":"1826:4:39","type":"","value":"0x04"},{"arguments":[{"name":"value","nativeSrc":"1836:5:39","nodeType":"YulIdentifier","src":"1836:5:39"},{"kind":"number","nativeSrc":"1843:42:39","nodeType":"YulLiteral","src":"1843:42:39","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"1832:3:39","nodeType":"YulIdentifier","src":"1832:3:39"},"nativeSrc":"1832:54:39","nodeType":"YulFunctionCall","src":"1832:54:39"}],"functionName":{"name":"mstore","nativeSrc":"1819:6:39","nodeType":"YulIdentifier","src":"1819:6:39"},"nativeSrc":"1819:68:39","nodeType":"YulFunctionCall","src":"1819:68:39"},"nativeSrc":"1819:68:39","nodeType":"YulExpressionStatement","src":"1819:68:39"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1907:1:39","nodeType":"YulLiteral","src":"1907:1:39","type":"","value":"0"},{"kind":"number","nativeSrc":"1910:4:39","nodeType":"YulLiteral","src":"1910:4:39","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"1900:6:39","nodeType":"YulIdentifier","src":"1900:6:39"},"nativeSrc":"1900:15:39","nodeType":"YulFunctionCall","src":"1900:15:39"},"nativeSrc":"1900:15:39","nodeType":"YulExpressionStatement","src":"1900:15:39"}]},"evmVersion":"cancun","externalReferences":[{"declaration":4390,"isOffset":false,"isSlot":false,"src":"1797:8:39","valueSize":1},{"declaration":4392,"isOffset":false,"isSlot":false,"src":"1836:5:39","valueSize":1}],"flags":["memory-safe"],"id":4395,"nodeType":"InlineAssembly","src":"1748:177:39"}]},"documentation":{"id":4388,"nodeType":"StructuredDocumentation","src":"1586:81:39","text":"@dev Reverts with a custom error with a uint160 argument in the scratch space"},"id":4397,"implemented":true,"kind":"function","modifiers":[],"name":"revertWith","nameLocation":"1681:10:39","nodeType":"FunctionDefinition","parameters":{"id":4393,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4390,"mutability":"mutable","name":"selector","nameLocation":"1699:8:39","nodeType":"VariableDeclaration","scope":4397,"src":"1692:15:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":4389,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1692:6:39","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":4392,"mutability":"mutable","name":"value","nameLocation":"1717:5:39","nodeType":"VariableDeclaration","scope":4397,"src":"1709:13:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4391,"name":"uint160","nodeType":"ElementaryTypeName","src":"1709:7:39","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"1691:32:39"},"returnParameters":{"id":4394,"nodeType":"ParameterList","parameters":[],"src":"1738:0:39"},"scope":4451,"src":"1672:259:39","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4408,"nodeType":"Block","src":"2082:267:39","statements":[{"AST":{"nativeSrc":"2117:226:39","nodeType":"YulBlock","src":"2117:226:39","statements":[{"nativeSrc":"2131:22:39","nodeType":"YulVariableDeclaration","src":"2131:22:39","value":{"arguments":[{"kind":"number","nativeSrc":"2148:4:39","nodeType":"YulLiteral","src":"2148:4:39","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"2142:5:39","nodeType":"YulIdentifier","src":"2142:5:39"},"nativeSrc":"2142:11:39","nodeType":"YulFunctionCall","src":"2142:11:39"},"variables":[{"name":"fmp","nativeSrc":"2135:3:39","nodeType":"YulTypedName","src":"2135:3:39","type":""}]},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"2173:3:39","nodeType":"YulIdentifier","src":"2173:3:39"},{"name":"selector","nativeSrc":"2178:8:39","nodeType":"YulIdentifier","src":"2178:8:39"}],"functionName":{"name":"mstore","nativeSrc":"2166:6:39","nodeType":"YulIdentifier","src":"2166:6:39"},"nativeSrc":"2166:21:39","nodeType":"YulFunctionCall","src":"2166:21:39"},"nativeSrc":"2166:21:39","nodeType":"YulExpressionStatement","src":"2166:21:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2211:3:39","nodeType":"YulIdentifier","src":"2211:3:39"},{"kind":"number","nativeSrc":"2216:4:39","nodeType":"YulLiteral","src":"2216:4:39","type":"","value":"0x04"}],"functionName":{"name":"add","nativeSrc":"2207:3:39","nodeType":"YulIdentifier","src":"2207:3:39"},"nativeSrc":"2207:14:39","nodeType":"YulFunctionCall","src":"2207:14:39"},{"arguments":[{"kind":"number","nativeSrc":"2234:1:39","nodeType":"YulLiteral","src":"2234:1:39","type":"","value":"2"},{"name":"value1","nativeSrc":"2237:6:39","nodeType":"YulIdentifier","src":"2237:6:39"}],"functionName":{"name":"signextend","nativeSrc":"2223:10:39","nodeType":"YulIdentifier","src":"2223:10:39"},"nativeSrc":"2223:21:39","nodeType":"YulFunctionCall","src":"2223:21:39"}],"functionName":{"name":"mstore","nativeSrc":"2200:6:39","nodeType":"YulIdentifier","src":"2200:6:39"},"nativeSrc":"2200:45:39","nodeType":"YulFunctionCall","src":"2200:45:39"},"nativeSrc":"2200:45:39","nodeType":"YulExpressionStatement","src":"2200:45:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2269:3:39","nodeType":"YulIdentifier","src":"2269:3:39"},{"kind":"number","nativeSrc":"2274:4:39","nodeType":"YulLiteral","src":"2274:4:39","type":"","value":"0x24"}],"functionName":{"name":"add","nativeSrc":"2265:3:39","nodeType":"YulIdentifier","src":"2265:3:39"},"nativeSrc":"2265:14:39","nodeType":"YulFunctionCall","src":"2265:14:39"},{"arguments":[{"kind":"number","nativeSrc":"2292:1:39","nodeType":"YulLiteral","src":"2292:1:39","type":"","value":"2"},{"name":"value2","nativeSrc":"2295:6:39","nodeType":"YulIdentifier","src":"2295:6:39"}],"functionName":{"name":"signextend","nativeSrc":"2281:10:39","nodeType":"YulIdentifier","src":"2281:10:39"},"nativeSrc":"2281:21:39","nodeType":"YulFunctionCall","src":"2281:21:39"}],"functionName":{"name":"mstore","nativeSrc":"2258:6:39","nodeType":"YulIdentifier","src":"2258:6:39"},"nativeSrc":"2258:45:39","nodeType":"YulFunctionCall","src":"2258:45:39"},"nativeSrc":"2258:45:39","nodeType":"YulExpressionStatement","src":"2258:45:39"},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"2323:3:39","nodeType":"YulIdentifier","src":"2323:3:39"},{"kind":"number","nativeSrc":"2328:4:39","nodeType":"YulLiteral","src":"2328:4:39","type":"","value":"0x44"}],"functionName":{"name":"revert","nativeSrc":"2316:6:39","nodeType":"YulIdentifier","src":"2316:6:39"},"nativeSrc":"2316:17:39","nodeType":"YulFunctionCall","src":"2316:17:39"},"nativeSrc":"2316:17:39","nodeType":"YulExpressionStatement","src":"2316:17:39"}]},"evmVersion":"cancun","externalReferences":[{"declaration":4400,"isOffset":false,"isSlot":false,"src":"2178:8:39","valueSize":1},{"declaration":4402,"isOffset":false,"isSlot":false,"src":"2237:6:39","valueSize":1},{"declaration":4404,"isOffset":false,"isSlot":false,"src":"2295:6:39","valueSize":1}],"flags":["memory-safe"],"id":4407,"nodeType":"InlineAssembly","src":"2092:251:39"}]},"documentation":{"id":4398,"nodeType":"StructuredDocumentation","src":"1937:61:39","text":"@dev Reverts with a custom error with two int24 arguments"},"id":4409,"implemented":true,"kind":"function","modifiers":[],"name":"revertWith","nameLocation":"2012:10:39","nodeType":"FunctionDefinition","parameters":{"id":4405,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4400,"mutability":"mutable","name":"selector","nameLocation":"2030:8:39","nodeType":"VariableDeclaration","scope":4409,"src":"2023:15:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":4399,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2023:6:39","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":4402,"mutability":"mutable","name":"value1","nameLocation":"2046:6:39","nodeType":"VariableDeclaration","scope":4409,"src":"2040:12:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":4401,"name":"int24","nodeType":"ElementaryTypeName","src":"2040:5:39","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":4404,"mutability":"mutable","name":"value2","nameLocation":"2060:6:39","nodeType":"VariableDeclaration","scope":4409,"src":"2054:12:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":4403,"name":"int24","nodeType":"ElementaryTypeName","src":"2054:5:39","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2022:45:39"},"returnParameters":{"id":4406,"nodeType":"ParameterList","parameters":[],"src":"2082:0:39"},"scope":4451,"src":"2003:346:39","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4420,"nodeType":"Block","src":"2506:335:39","statements":[{"AST":{"nativeSrc":"2541:294:39","nodeType":"YulBlock","src":"2541:294:39","statements":[{"nativeSrc":"2555:22:39","nodeType":"YulVariableDeclaration","src":"2555:22:39","value":{"arguments":[{"kind":"number","nativeSrc":"2572:4:39","nodeType":"YulLiteral","src":"2572:4:39","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"2566:5:39","nodeType":"YulIdentifier","src":"2566:5:39"},"nativeSrc":"2566:11:39","nodeType":"YulFunctionCall","src":"2566:11:39"},"variables":[{"name":"fmp","nativeSrc":"2559:3:39","nodeType":"YulTypedName","src":"2559:3:39","type":""}]},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"2597:3:39","nodeType":"YulIdentifier","src":"2597:3:39"},{"name":"selector","nativeSrc":"2602:8:39","nodeType":"YulIdentifier","src":"2602:8:39"}],"functionName":{"name":"mstore","nativeSrc":"2590:6:39","nodeType":"YulIdentifier","src":"2590:6:39"},"nativeSrc":"2590:21:39","nodeType":"YulFunctionCall","src":"2590:21:39"},"nativeSrc":"2590:21:39","nodeType":"YulExpressionStatement","src":"2590:21:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2635:3:39","nodeType":"YulIdentifier","src":"2635:3:39"},{"kind":"number","nativeSrc":"2640:4:39","nodeType":"YulLiteral","src":"2640:4:39","type":"","value":"0x04"}],"functionName":{"name":"add","nativeSrc":"2631:3:39","nodeType":"YulIdentifier","src":"2631:3:39"},"nativeSrc":"2631:14:39","nodeType":"YulFunctionCall","src":"2631:14:39"},{"arguments":[{"name":"value1","nativeSrc":"2651:6:39","nodeType":"YulIdentifier","src":"2651:6:39"},{"kind":"number","nativeSrc":"2659:42:39","nodeType":"YulLiteral","src":"2659:42:39","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"2647:3:39","nodeType":"YulIdentifier","src":"2647:3:39"},"nativeSrc":"2647:55:39","nodeType":"YulFunctionCall","src":"2647:55:39"}],"functionName":{"name":"mstore","nativeSrc":"2624:6:39","nodeType":"YulIdentifier","src":"2624:6:39"},"nativeSrc":"2624:79:39","nodeType":"YulFunctionCall","src":"2624:79:39"},"nativeSrc":"2624:79:39","nodeType":"YulExpressionStatement","src":"2624:79:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2727:3:39","nodeType":"YulIdentifier","src":"2727:3:39"},{"kind":"number","nativeSrc":"2732:4:39","nodeType":"YulLiteral","src":"2732:4:39","type":"","value":"0x24"}],"functionName":{"name":"add","nativeSrc":"2723:3:39","nodeType":"YulIdentifier","src":"2723:3:39"},"nativeSrc":"2723:14:39","nodeType":"YulFunctionCall","src":"2723:14:39"},{"arguments":[{"name":"value2","nativeSrc":"2743:6:39","nodeType":"YulIdentifier","src":"2743:6:39"},{"kind":"number","nativeSrc":"2751:42:39","nodeType":"YulLiteral","src":"2751:42:39","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"2739:3:39","nodeType":"YulIdentifier","src":"2739:3:39"},"nativeSrc":"2739:55:39","nodeType":"YulFunctionCall","src":"2739:55:39"}],"functionName":{"name":"mstore","nativeSrc":"2716:6:39","nodeType":"YulIdentifier","src":"2716:6:39"},"nativeSrc":"2716:79:39","nodeType":"YulFunctionCall","src":"2716:79:39"},"nativeSrc":"2716:79:39","nodeType":"YulExpressionStatement","src":"2716:79:39"},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"2815:3:39","nodeType":"YulIdentifier","src":"2815:3:39"},{"kind":"number","nativeSrc":"2820:4:39","nodeType":"YulLiteral","src":"2820:4:39","type":"","value":"0x44"}],"functionName":{"name":"revert","nativeSrc":"2808:6:39","nodeType":"YulIdentifier","src":"2808:6:39"},"nativeSrc":"2808:17:39","nodeType":"YulFunctionCall","src":"2808:17:39"},"nativeSrc":"2808:17:39","nodeType":"YulExpressionStatement","src":"2808:17:39"}]},"evmVersion":"cancun","externalReferences":[{"declaration":4412,"isOffset":false,"isSlot":false,"src":"2602:8:39","valueSize":1},{"declaration":4414,"isOffset":false,"isSlot":false,"src":"2651:6:39","valueSize":1},{"declaration":4416,"isOffset":false,"isSlot":false,"src":"2743:6:39","valueSize":1}],"flags":["memory-safe"],"id":4419,"nodeType":"InlineAssembly","src":"2516:319:39"}]},"documentation":{"id":4410,"nodeType":"StructuredDocumentation","src":"2355:63:39","text":"@dev Reverts with a custom error with two uint160 arguments"},"id":4421,"implemented":true,"kind":"function","modifiers":[],"name":"revertWith","nameLocation":"2432:10:39","nodeType":"FunctionDefinition","parameters":{"id":4417,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4412,"mutability":"mutable","name":"selector","nameLocation":"2450:8:39","nodeType":"VariableDeclaration","scope":4421,"src":"2443:15:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":4411,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2443:6:39","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":4414,"mutability":"mutable","name":"value1","nameLocation":"2468:6:39","nodeType":"VariableDeclaration","scope":4421,"src":"2460:14:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4413,"name":"uint160","nodeType":"ElementaryTypeName","src":"2460:7:39","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":4416,"mutability":"mutable","name":"value2","nameLocation":"2484:6:39","nodeType":"VariableDeclaration","scope":4421,"src":"2476:14:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4415,"name":"uint160","nodeType":"ElementaryTypeName","src":"2476:7:39","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"2442:49:39"},"returnParameters":{"id":4418,"nodeType":"ParameterList","parameters":[],"src":"2506:0:39"},"scope":4451,"src":"2423:418:39","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4432,"nodeType":"Block","src":"2998:335:39","statements":[{"AST":{"nativeSrc":"3033:294:39","nodeType":"YulBlock","src":"3033:294:39","statements":[{"nativeSrc":"3047:22:39","nodeType":"YulVariableDeclaration","src":"3047:22:39","value":{"arguments":[{"kind":"number","nativeSrc":"3064:4:39","nodeType":"YulLiteral","src":"3064:4:39","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"3058:5:39","nodeType":"YulIdentifier","src":"3058:5:39"},"nativeSrc":"3058:11:39","nodeType":"YulFunctionCall","src":"3058:11:39"},"variables":[{"name":"fmp","nativeSrc":"3051:3:39","nodeType":"YulTypedName","src":"3051:3:39","type":""}]},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"3089:3:39","nodeType":"YulIdentifier","src":"3089:3:39"},{"name":"selector","nativeSrc":"3094:8:39","nodeType":"YulIdentifier","src":"3094:8:39"}],"functionName":{"name":"mstore","nativeSrc":"3082:6:39","nodeType":"YulIdentifier","src":"3082:6:39"},"nativeSrc":"3082:21:39","nodeType":"YulFunctionCall","src":"3082:21:39"},"nativeSrc":"3082:21:39","nodeType":"YulExpressionStatement","src":"3082:21:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"3127:3:39","nodeType":"YulIdentifier","src":"3127:3:39"},{"kind":"number","nativeSrc":"3132:4:39","nodeType":"YulLiteral","src":"3132:4:39","type":"","value":"0x04"}],"functionName":{"name":"add","nativeSrc":"3123:3:39","nodeType":"YulIdentifier","src":"3123:3:39"},"nativeSrc":"3123:14:39","nodeType":"YulFunctionCall","src":"3123:14:39"},{"arguments":[{"name":"value1","nativeSrc":"3143:6:39","nodeType":"YulIdentifier","src":"3143:6:39"},{"kind":"number","nativeSrc":"3151:42:39","nodeType":"YulLiteral","src":"3151:42:39","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"3139:3:39","nodeType":"YulIdentifier","src":"3139:3:39"},"nativeSrc":"3139:55:39","nodeType":"YulFunctionCall","src":"3139:55:39"}],"functionName":{"name":"mstore","nativeSrc":"3116:6:39","nodeType":"YulIdentifier","src":"3116:6:39"},"nativeSrc":"3116:79:39","nodeType":"YulFunctionCall","src":"3116:79:39"},"nativeSrc":"3116:79:39","nodeType":"YulExpressionStatement","src":"3116:79:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"3219:3:39","nodeType":"YulIdentifier","src":"3219:3:39"},{"kind":"number","nativeSrc":"3224:4:39","nodeType":"YulLiteral","src":"3224:4:39","type":"","value":"0x24"}],"functionName":{"name":"add","nativeSrc":"3215:3:39","nodeType":"YulIdentifier","src":"3215:3:39"},"nativeSrc":"3215:14:39","nodeType":"YulFunctionCall","src":"3215:14:39"},{"arguments":[{"name":"value2","nativeSrc":"3235:6:39","nodeType":"YulIdentifier","src":"3235:6:39"},{"kind":"number","nativeSrc":"3243:42:39","nodeType":"YulLiteral","src":"3243:42:39","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"3231:3:39","nodeType":"YulIdentifier","src":"3231:3:39"},"nativeSrc":"3231:55:39","nodeType":"YulFunctionCall","src":"3231:55:39"}],"functionName":{"name":"mstore","nativeSrc":"3208:6:39","nodeType":"YulIdentifier","src":"3208:6:39"},"nativeSrc":"3208:79:39","nodeType":"YulFunctionCall","src":"3208:79:39"},"nativeSrc":"3208:79:39","nodeType":"YulExpressionStatement","src":"3208:79:39"},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"3307:3:39","nodeType":"YulIdentifier","src":"3307:3:39"},{"kind":"number","nativeSrc":"3312:4:39","nodeType":"YulLiteral","src":"3312:4:39","type":"","value":"0x44"}],"functionName":{"name":"revert","nativeSrc":"3300:6:39","nodeType":"YulIdentifier","src":"3300:6:39"},"nativeSrc":"3300:17:39","nodeType":"YulFunctionCall","src":"3300:17:39"},"nativeSrc":"3300:17:39","nodeType":"YulExpressionStatement","src":"3300:17:39"}]},"evmVersion":"cancun","externalReferences":[{"declaration":4424,"isOffset":false,"isSlot":false,"src":"3094:8:39","valueSize":1},{"declaration":4426,"isOffset":false,"isSlot":false,"src":"3143:6:39","valueSize":1},{"declaration":4428,"isOffset":false,"isSlot":false,"src":"3235:6:39","valueSize":1}],"flags":["memory-safe"],"id":4431,"nodeType":"InlineAssembly","src":"3008:319:39"}]},"documentation":{"id":4422,"nodeType":"StructuredDocumentation","src":"2847:63:39","text":"@dev Reverts with a custom error with two address arguments"},"id":4433,"implemented":true,"kind":"function","modifiers":[],"name":"revertWith","nameLocation":"2924:10:39","nodeType":"FunctionDefinition","parameters":{"id":4429,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4424,"mutability":"mutable","name":"selector","nameLocation":"2942:8:39","nodeType":"VariableDeclaration","scope":4433,"src":"2935:15:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":4423,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2935:6:39","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":4426,"mutability":"mutable","name":"value1","nameLocation":"2960:6:39","nodeType":"VariableDeclaration","scope":4433,"src":"2952:14:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4425,"name":"address","nodeType":"ElementaryTypeName","src":"2952:7:39","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4428,"mutability":"mutable","name":"value2","nameLocation":"2976:6:39","nodeType":"VariableDeclaration","scope":4433,"src":"2968:14:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4427,"name":"address","nodeType":"ElementaryTypeName","src":"2968:7:39","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2934:49:39"},"returnParameters":{"id":4430,"nodeType":"ParameterList","parameters":[],"src":"2998:0:39"},"scope":4451,"src":"2915:418:39","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4449,"nodeType":"Block","src":"3670:1501:39","statements":[{"assignments":[4444],"declarations":[{"constant":false,"id":4444,"mutability":"mutable","name":"wrappedErrorSelector","nameLocation":"3687:20:39","nodeType":"VariableDeclaration","scope":4449,"src":"3680:27:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":4443,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3680:6:39","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"id":4447,"initialValue":{"expression":{"id":4445,"name":"WrappedError","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4359,"src":"3710:12:39","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_bytes4_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_error_$","typeString":"function (address,bytes4,bytes memory,bytes memory) pure returns (error)"}},"id":4446,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3723:8:39","memberName":"selector","nodeType":"MemberAccess","src":"3710:21:39","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"VariableDeclarationStatement","src":"3680:51:39"},{"AST":{"nativeSrc":"3766:1399:39","nodeType":"YulBlock","src":"3766:1399:39","statements":[{"nativeSrc":"3856:66:39","nodeType":"YulVariableDeclaration","src":"3856:66:39","value":{"arguments":[{"arguments":[{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"3891:14:39","nodeType":"YulIdentifier","src":"3891:14:39"},"nativeSrc":"3891:16:39","nodeType":"YulFunctionCall","src":"3891:16:39"},{"kind":"number","nativeSrc":"3909:2:39","nodeType":"YulLiteral","src":"3909:2:39","type":"","value":"31"}],"functionName":{"name":"add","nativeSrc":"3887:3:39","nodeType":"YulIdentifier","src":"3887:3:39"},"nativeSrc":"3887:25:39","nodeType":"YulFunctionCall","src":"3887:25:39"},{"kind":"number","nativeSrc":"3914:2:39","nodeType":"YulLiteral","src":"3914:2:39","type":"","value":"32"}],"functionName":{"name":"div","nativeSrc":"3883:3:39","nodeType":"YulIdentifier","src":"3883:3:39"},"nativeSrc":"3883:34:39","nodeType":"YulFunctionCall","src":"3883:34:39"},{"kind":"number","nativeSrc":"3919:2:39","nodeType":"YulLiteral","src":"3919:2:39","type":"","value":"32"}],"functionName":{"name":"mul","nativeSrc":"3879:3:39","nodeType":"YulIdentifier","src":"3879:3:39"},"nativeSrc":"3879:43:39","nodeType":"YulFunctionCall","src":"3879:43:39"},"variables":[{"name":"encodedDataSize","nativeSrc":"3860:15:39","nodeType":"YulTypedName","src":"3860:15:39","type":""}]},{"nativeSrc":"3936:22:39","nodeType":"YulVariableDeclaration","src":"3936:22:39","value":{"arguments":[{"kind":"number","nativeSrc":"3953:4:39","nodeType":"YulLiteral","src":"3953:4:39","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"3947:5:39","nodeType":"YulIdentifier","src":"3947:5:39"},"nativeSrc":"3947:11:39","nodeType":"YulFunctionCall","src":"3947:11:39"},"variables":[{"name":"fmp","nativeSrc":"3940:3:39","nodeType":"YulTypedName","src":"3940:3:39","type":""}]},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"4101:3:39","nodeType":"YulIdentifier","src":"4101:3:39"},{"name":"wrappedErrorSelector","nativeSrc":"4106:20:39","nodeType":"YulIdentifier","src":"4106:20:39"}],"functionName":{"name":"mstore","nativeSrc":"4094:6:39","nodeType":"YulIdentifier","src":"4094:6:39"},"nativeSrc":"4094:33:39","nodeType":"YulFunctionCall","src":"4094:33:39"},"nativeSrc":"4094:33:39","nodeType":"YulExpressionStatement","src":"4094:33:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"4151:3:39","nodeType":"YulIdentifier","src":"4151:3:39"},{"kind":"number","nativeSrc":"4156:4:39","nodeType":"YulLiteral","src":"4156:4:39","type":"","value":"0x04"}],"functionName":{"name":"add","nativeSrc":"4147:3:39","nodeType":"YulIdentifier","src":"4147:3:39"},"nativeSrc":"4147:14:39","nodeType":"YulFunctionCall","src":"4147:14:39"},{"arguments":[{"name":"revertingContract","nativeSrc":"4167:17:39","nodeType":"YulIdentifier","src":"4167:17:39"},{"kind":"number","nativeSrc":"4186:42:39","nodeType":"YulLiteral","src":"4186:42:39","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"4163:3:39","nodeType":"YulIdentifier","src":"4163:3:39"},"nativeSrc":"4163:66:39","nodeType":"YulFunctionCall","src":"4163:66:39"}],"functionName":{"name":"mstore","nativeSrc":"4140:6:39","nodeType":"YulIdentifier","src":"4140:6:39"},"nativeSrc":"4140:90:39","nodeType":"YulFunctionCall","src":"4140:90:39"},"nativeSrc":"4140:90:39","nodeType":"YulExpressionStatement","src":"4140:90:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"4271:3:39","nodeType":"YulIdentifier","src":"4271:3:39"},{"kind":"number","nativeSrc":"4276:4:39","nodeType":"YulLiteral","src":"4276:4:39","type":"","value":"0x24"}],"functionName":{"name":"add","nativeSrc":"4267:3:39","nodeType":"YulIdentifier","src":"4267:3:39"},"nativeSrc":"4267:14:39","nodeType":"YulFunctionCall","src":"4267:14:39"},{"arguments":[{"name":"revertingFunctionSelector","nativeSrc":"4303:25:39","nodeType":"YulIdentifier","src":"4303:25:39"},{"kind":"number","nativeSrc":"4330:66:39","nodeType":"YulLiteral","src":"4330:66:39","type":"","value":"0xffffffff00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"and","nativeSrc":"4299:3:39","nodeType":"YulIdentifier","src":"4299:3:39"},"nativeSrc":"4299:98:39","nodeType":"YulFunctionCall","src":"4299:98:39"}],"functionName":{"name":"mstore","nativeSrc":"4243:6:39","nodeType":"YulIdentifier","src":"4243:6:39"},"nativeSrc":"4243:168:39","nodeType":"YulFunctionCall","src":"4243:168:39"},"nativeSrc":"4243:168:39","nodeType":"YulExpressionStatement","src":"4243:168:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"4471:3:39","nodeType":"YulIdentifier","src":"4471:3:39"},{"kind":"number","nativeSrc":"4476:4:39","nodeType":"YulLiteral","src":"4476:4:39","type":"","value":"0x44"}],"functionName":{"name":"add","nativeSrc":"4467:3:39","nodeType":"YulIdentifier","src":"4467:3:39"},"nativeSrc":"4467:14:39","nodeType":"YulFunctionCall","src":"4467:14:39"},{"kind":"number","nativeSrc":"4483:4:39","nodeType":"YulLiteral","src":"4483:4:39","type":"","value":"0x80"}],"functionName":{"name":"mstore","nativeSrc":"4460:6:39","nodeType":"YulIdentifier","src":"4460:6:39"},"nativeSrc":"4460:28:39","nodeType":"YulFunctionCall","src":"4460:28:39"},"nativeSrc":"4460:28:39","nodeType":"YulExpressionStatement","src":"4460:28:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"4553:3:39","nodeType":"YulIdentifier","src":"4553:3:39"},{"kind":"number","nativeSrc":"4558:4:39","nodeType":"YulLiteral","src":"4558:4:39","type":"","value":"0x64"}],"functionName":{"name":"add","nativeSrc":"4549:3:39","nodeType":"YulIdentifier","src":"4549:3:39"},"nativeSrc":"4549:14:39","nodeType":"YulFunctionCall","src":"4549:14:39"},{"arguments":[{"kind":"number","nativeSrc":"4569:4:39","nodeType":"YulLiteral","src":"4569:4:39","type":"","value":"0xa0"},{"name":"encodedDataSize","nativeSrc":"4575:15:39","nodeType":"YulIdentifier","src":"4575:15:39"}],"functionName":{"name":"add","nativeSrc":"4565:3:39","nodeType":"YulIdentifier","src":"4565:3:39"},"nativeSrc":"4565:26:39","nodeType":"YulFunctionCall","src":"4565:26:39"}],"functionName":{"name":"mstore","nativeSrc":"4542:6:39","nodeType":"YulIdentifier","src":"4542:6:39"},"nativeSrc":"4542:50:39","nodeType":"YulFunctionCall","src":"4542:50:39"},"nativeSrc":"4542:50:39","nodeType":"YulExpressionStatement","src":"4542:50:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"4650:3:39","nodeType":"YulIdentifier","src":"4650:3:39"},{"kind":"number","nativeSrc":"4655:4:39","nodeType":"YulLiteral","src":"4655:4:39","type":"","value":"0x84"}],"functionName":{"name":"add","nativeSrc":"4646:3:39","nodeType":"YulIdentifier","src":"4646:3:39"},"nativeSrc":"4646:14:39","nodeType":"YulFunctionCall","src":"4646:14:39"},{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"4662:14:39","nodeType":"YulIdentifier","src":"4662:14:39"},"nativeSrc":"4662:16:39","nodeType":"YulFunctionCall","src":"4662:16:39"}],"functionName":{"name":"mstore","nativeSrc":"4639:6:39","nodeType":"YulIdentifier","src":"4639:6:39"},"nativeSrc":"4639:40:39","nodeType":"YulFunctionCall","src":"4639:40:39"},"nativeSrc":"4639:40:39","nodeType":"YulExpressionStatement","src":"4639:40:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"4740:3:39","nodeType":"YulIdentifier","src":"4740:3:39"},{"kind":"number","nativeSrc":"4745:4:39","nodeType":"YulLiteral","src":"4745:4:39","type":"","value":"0xa4"}],"functionName":{"name":"add","nativeSrc":"4736:3:39","nodeType":"YulIdentifier","src":"4736:3:39"},"nativeSrc":"4736:14:39","nodeType":"YulFunctionCall","src":"4736:14:39"},{"kind":"number","nativeSrc":"4752:1:39","nodeType":"YulLiteral","src":"4752:1:39","type":"","value":"0"},{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"4755:14:39","nodeType":"YulIdentifier","src":"4755:14:39"},"nativeSrc":"4755:16:39","nodeType":"YulFunctionCall","src":"4755:16:39"}],"functionName":{"name":"returndatacopy","nativeSrc":"4721:14:39","nodeType":"YulIdentifier","src":"4721:14:39"},"nativeSrc":"4721:51:39","nodeType":"YulFunctionCall","src":"4721:51:39"},"nativeSrc":"4721:51:39","nodeType":"YulExpressionStatement","src":"4721:51:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"4835:3:39","nodeType":"YulIdentifier","src":"4835:3:39"},{"arguments":[{"kind":"number","nativeSrc":"4844:4:39","nodeType":"YulLiteral","src":"4844:4:39","type":"","value":"0xa4"},{"name":"encodedDataSize","nativeSrc":"4850:15:39","nodeType":"YulIdentifier","src":"4850:15:39"}],"functionName":{"name":"add","nativeSrc":"4840:3:39","nodeType":"YulIdentifier","src":"4840:3:39"},"nativeSrc":"4840:26:39","nodeType":"YulFunctionCall","src":"4840:26:39"}],"functionName":{"name":"add","nativeSrc":"4831:3:39","nodeType":"YulIdentifier","src":"4831:3:39"},"nativeSrc":"4831:36:39","nodeType":"YulFunctionCall","src":"4831:36:39"},{"kind":"number","nativeSrc":"4869:4:39","nodeType":"YulLiteral","src":"4869:4:39","type":"","value":"0x04"}],"functionName":{"name":"mstore","nativeSrc":"4824:6:39","nodeType":"YulIdentifier","src":"4824:6:39"},"nativeSrc":"4824:50:39","nodeType":"YulFunctionCall","src":"4824:50:39"},"nativeSrc":"4824:50:39","nodeType":"YulExpressionStatement","src":"4824:50:39"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"4949:3:39","nodeType":"YulIdentifier","src":"4949:3:39"},{"arguments":[{"kind":"number","nativeSrc":"4958:4:39","nodeType":"YulLiteral","src":"4958:4:39","type":"","value":"0xc4"},{"name":"encodedDataSize","nativeSrc":"4964:15:39","nodeType":"YulIdentifier","src":"4964:15:39"}],"functionName":{"name":"add","nativeSrc":"4954:3:39","nodeType":"YulIdentifier","src":"4954:3:39"},"nativeSrc":"4954:26:39","nodeType":"YulFunctionCall","src":"4954:26:39"}],"functionName":{"name":"add","nativeSrc":"4945:3:39","nodeType":"YulIdentifier","src":"4945:3:39"},"nativeSrc":"4945:36:39","nodeType":"YulFunctionCall","src":"4945:36:39"},{"arguments":[{"name":"additionalContext","nativeSrc":"5003:17:39","nodeType":"YulIdentifier","src":"5003:17:39"},{"kind":"number","nativeSrc":"5022:66:39","nodeType":"YulLiteral","src":"5022:66:39","type":"","value":"0xffffffff00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"and","nativeSrc":"4999:3:39","nodeType":"YulIdentifier","src":"4999:3:39"},"nativeSrc":"4999:90:39","nodeType":"YulFunctionCall","src":"4999:90:39"}],"functionName":{"name":"mstore","nativeSrc":"4921:6:39","nodeType":"YulIdentifier","src":"4921:6:39"},"nativeSrc":"4921:182:39","nodeType":"YulFunctionCall","src":"4921:182:39"},"nativeSrc":"4921:182:39","nodeType":"YulExpressionStatement","src":"4921:182:39"},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"5123:3:39","nodeType":"YulIdentifier","src":"5123:3:39"},{"arguments":[{"kind":"number","nativeSrc":"5132:4:39","nodeType":"YulLiteral","src":"5132:4:39","type":"","value":"0xe4"},{"name":"encodedDataSize","nativeSrc":"5138:15:39","nodeType":"YulIdentifier","src":"5138:15:39"}],"functionName":{"name":"add","nativeSrc":"5128:3:39","nodeType":"YulIdentifier","src":"5128:3:39"},"nativeSrc":"5128:26:39","nodeType":"YulFunctionCall","src":"5128:26:39"}],"functionName":{"name":"revert","nativeSrc":"5116:6:39","nodeType":"YulIdentifier","src":"5116:6:39"},"nativeSrc":"5116:39:39","nodeType":"YulFunctionCall","src":"5116:39:39"},"nativeSrc":"5116:39:39","nodeType":"YulExpressionStatement","src":"5116:39:39"}]},"evmVersion":"cancun","externalReferences":[{"declaration":4440,"isOffset":false,"isSlot":false,"src":"5003:17:39","valueSize":1},{"declaration":4436,"isOffset":false,"isSlot":false,"src":"4167:17:39","valueSize":1},{"declaration":4438,"isOffset":false,"isSlot":false,"src":"4303:25:39","valueSize":1},{"declaration":4444,"isOffset":false,"isSlot":false,"src":"4106:20:39","valueSize":1}],"flags":["memory-safe"],"id":4448,"nodeType":"InlineAssembly","src":"3741:1424:39"}]},"documentation":{"id":4434,"nodeType":"StructuredDocumentation","src":"3339:164:39","text":"@notice bubble up the revert message returned by a call and revert with a wrapped ERC-7751 error\n @dev this method can be vulnerable to revert data bombs"},"id":4450,"implemented":true,"kind":"function","modifiers":[],"name":"bubbleUpAndRevertWith","nameLocation":"3517:21:39","nodeType":"FunctionDefinition","parameters":{"id":4441,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4436,"mutability":"mutable","name":"revertingContract","nameLocation":"3556:17:39","nodeType":"VariableDeclaration","scope":4450,"src":"3548:25:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4435,"name":"address","nodeType":"ElementaryTypeName","src":"3548:7:39","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4438,"mutability":"mutable","name":"revertingFunctionSelector","nameLocation":"3590:25:39","nodeType":"VariableDeclaration","scope":4450,"src":"3583:32:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":4437,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3583:6:39","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":4440,"mutability":"mutable","name":"additionalContext","nameLocation":"3632:17:39","nodeType":"VariableDeclaration","scope":4450,"src":"3625:24:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":4439,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3625:6:39","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"3538:117:39"},"returnParameters":{"id":4442,"nodeType":"ParameterList","parameters":[],"src":"3670:0:39"},"scope":4451,"src":"3508:1663:39","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":4452,"src":"501:4672:39","usedErrors":[4359],"usedEvents":[]}],"src":"32:5142:39"},"id":39},"@uniswap/v4-core/src/libraries/FixedPoint128.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/FixedPoint128.sol","exportedSymbols":{"FixedPoint128":[4458]},"id":4459,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4453,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:40"},{"abstract":false,"baseContracts":[],"canonicalName":"FixedPoint128","contractDependencies":[],"contractKind":"library","documentation":{"id":4454,"nodeType":"StructuredDocumentation","src":"57:140:40","text":"@title FixedPoint128\n @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)"},"fullyImplemented":true,"id":4458,"linearizedBaseContracts":[4458],"name":"FixedPoint128","nameLocation":"205:13:40","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":4457,"mutability":"constant","name":"Q128","nameLocation":"251:4:40","nodeType":"VariableDeclaration","scope":4458,"src":"225:68:40","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4455,"name":"uint256","nodeType":"ElementaryTypeName","src":"225:7:40","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"3078313030303030303030303030303030303030303030303030303030303030303030","id":4456,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"258:35:40","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"},"value":"0x100000000000000000000000000000000"},"visibility":"internal"}],"scope":4459,"src":"197:99:40","usedErrors":[],"usedEvents":[]}],"src":"32:265:40"},"id":40},"@uniswap/v4-core/src/libraries/FixedPoint96.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/FixedPoint96.sol","exportedSymbols":{"FixedPoint96":[4468]},"id":4469,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4460,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:41"},{"abstract":false,"baseContracts":[],"canonicalName":"FixedPoint96","contractDependencies":[],"contractKind":"library","documentation":{"id":4461,"nodeType":"StructuredDocumentation","src":"57:174:41","text":"@title FixedPoint96\n @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\n @dev Used in SqrtPriceMath.sol"},"fullyImplemented":true,"id":4468,"linearizedBaseContracts":[4468],"name":"FixedPoint96","nameLocation":"239:12:41","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":4464,"mutability":"constant","name":"RESOLUTION","nameLocation":"282:10:41","nodeType":"VariableDeclaration","scope":4468,"src":"258:39:41","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4462,"name":"uint8","nodeType":"ElementaryTypeName","src":"258:5:41","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"value":{"hexValue":"3936","id":4463,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"295:2:41","typeDescriptions":{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},"value":"96"},"visibility":"internal"},{"constant":true,"id":4467,"mutability":"constant","name":"Q96","nameLocation":"329:3:41","nodeType":"VariableDeclaration","scope":4468,"src":"303:59:41","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4465,"name":"uint256","nodeType":"ElementaryTypeName","src":"303:7:41","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"307831303030303030303030303030303030303030303030303030","id":4466,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"335:27:41","typeDescriptions":{"typeIdentifier":"t_rational_79228162514264337593543950336_by_1","typeString":"int_const 79228162514264337593543950336"},"value":"0x1000000000000000000000000"},"visibility":"internal"}],"scope":4469,"src":"231:134:41","usedErrors":[],"usedEvents":[]}],"src":"32:334:41"},"id":41},"@uniswap/v4-core/src/libraries/FullMath.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/FullMath.sol","exportedSymbols":{"FullMath":[4636]},"id":4637,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4470,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:42"},{"abstract":false,"baseContracts":[],"canonicalName":"FullMath","contractDependencies":[],"contractKind":"library","documentation":{"id":4471,"nodeType":"StructuredDocumentation","src":"57:297:42","text":"@title Contains 512-bit math functions\n @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision\n @dev Handles \"phantom overflow\" i.e., allows multiplication and division where an intermediate value overflows 256 bits"},"fullyImplemented":true,"id":4636,"linearizedBaseContracts":[4636],"name":"FullMath","nameLocation":"362:8:42","nodeType":"ContractDefinition","nodes":[{"body":{"id":4596,"nodeType":"Block","src":"839:4043:42","statements":[{"id":4595,"nodeType":"UncheckedBlock","src":"849:4027:42","statements":[{"assignments":[4484],"declarations":[{"constant":false,"id":4484,"mutability":"mutable","name":"prod0","nameLocation":"1204:5:42","nodeType":"VariableDeclaration","scope":4595,"src":"1196:13:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4483,"name":"uint256","nodeType":"ElementaryTypeName","src":"1196:7:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4488,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4487,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4485,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4474,"src":"1212:1:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":4486,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4476,"src":"1216:1:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1212:5:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1196:21:42"},{"assignments":[4490],"declarations":[{"constant":false,"id":4490,"mutability":"mutable","name":"prod1","nameLocation":"1284:5:42","nodeType":"VariableDeclaration","scope":4595,"src":"1276:13:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4489,"name":"uint256","nodeType":"ElementaryTypeName","src":"1276:7:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4491,"nodeType":"VariableDeclarationStatement","src":"1276:13:42"},{"AST":{"nativeSrc":"1372:122:42","nodeType":"YulBlock","src":"1372:122:42","statements":[{"nativeSrc":"1390:30:42","nodeType":"YulVariableDeclaration","src":"1390:30:42","value":{"arguments":[{"name":"a","nativeSrc":"1407:1:42","nodeType":"YulIdentifier","src":"1407:1:42"},{"name":"b","nativeSrc":"1410:1:42","nodeType":"YulIdentifier","src":"1410:1:42"},{"arguments":[{"kind":"number","nativeSrc":"1417:1:42","nodeType":"YulLiteral","src":"1417:1:42","type":"","value":"0"}],"functionName":{"name":"not","nativeSrc":"1413:3:42","nodeType":"YulIdentifier","src":"1413:3:42"},"nativeSrc":"1413:6:42","nodeType":"YulFunctionCall","src":"1413:6:42"}],"functionName":{"name":"mulmod","nativeSrc":"1400:6:42","nodeType":"YulIdentifier","src":"1400:6:42"},"nativeSrc":"1400:20:42","nodeType":"YulFunctionCall","src":"1400:20:42"},"variables":[{"name":"mm","nativeSrc":"1394:2:42","nodeType":"YulTypedName","src":"1394:2:42","type":""}]},{"nativeSrc":"1437:43:42","nodeType":"YulAssignment","src":"1437:43:42","value":{"arguments":[{"arguments":[{"name":"mm","nativeSrc":"1454:2:42","nodeType":"YulIdentifier","src":"1454:2:42"},{"name":"prod0","nativeSrc":"1458:5:42","nodeType":"YulIdentifier","src":"1458:5:42"}],"functionName":{"name":"sub","nativeSrc":"1450:3:42","nodeType":"YulIdentifier","src":"1450:3:42"},"nativeSrc":"1450:14:42","nodeType":"YulFunctionCall","src":"1450:14:42"},{"arguments":[{"name":"mm","nativeSrc":"1469:2:42","nodeType":"YulIdentifier","src":"1469:2:42"},{"name":"prod0","nativeSrc":"1473:5:42","nodeType":"YulIdentifier","src":"1473:5:42"}],"functionName":{"name":"lt","nativeSrc":"1466:2:42","nodeType":"YulIdentifier","src":"1466:2:42"},"nativeSrc":"1466:13:42","nodeType":"YulFunctionCall","src":"1466:13:42"}],"functionName":{"name":"sub","nativeSrc":"1446:3:42","nodeType":"YulIdentifier","src":"1446:3:42"},"nativeSrc":"1446:34:42","nodeType":"YulFunctionCall","src":"1446:34:42"},"variableNames":[{"name":"prod1","nativeSrc":"1437:5:42","nodeType":"YulIdentifier","src":"1437:5:42"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4474,"isOffset":false,"isSlot":false,"src":"1407:1:42","valueSize":1},{"declaration":4476,"isOffset":false,"isSlot":false,"src":"1410:1:42","valueSize":1},{"declaration":4484,"isOffset":false,"isSlot":false,"src":"1458:5:42","valueSize":1},{"declaration":4484,"isOffset":false,"isSlot":false,"src":"1473:5:42","valueSize":1},{"declaration":4490,"isOffset":false,"isSlot":false,"src":"1437:5:42","valueSize":1}],"flags":["memory-safe"],"id":4492,"nodeType":"InlineAssembly","src":"1347:147:42"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4496,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4494,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4478,"src":"1619:11:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":4495,"name":"prod1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4490,"src":"1633:5:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1619:19:42","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":4493,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1611:7:42","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":4497,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1611:28:42","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4498,"nodeType":"ExpressionStatement","src":"1611:28:42"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4501,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4499,"name":"prod1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4490,"src":"1720:5:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":4500,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1729:1:42","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1720:10:42","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4506,"nodeType":"IfStatement","src":"1716:177:42","trueBody":{"id":4505,"nodeType":"Block","src":"1732:161:42","statements":[{"AST":{"nativeSrc":"1775:73:42","nodeType":"YulBlock","src":"1775:73:42","statements":[{"nativeSrc":"1797:33:42","nodeType":"YulAssignment","src":"1797:33:42","value":{"arguments":[{"name":"prod0","nativeSrc":"1811:5:42","nodeType":"YulIdentifier","src":"1811:5:42"},{"name":"denominator","nativeSrc":"1818:11:42","nodeType":"YulIdentifier","src":"1818:11:42"}],"functionName":{"name":"div","nativeSrc":"1807:3:42","nodeType":"YulIdentifier","src":"1807:3:42"},"nativeSrc":"1807:23:42","nodeType":"YulFunctionCall","src":"1807:23:42"},"variableNames":[{"name":"result","nativeSrc":"1797:6:42","nodeType":"YulIdentifier","src":"1797:6:42"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4478,"isOffset":false,"isSlot":false,"src":"1818:11:42","valueSize":1},{"declaration":4484,"isOffset":false,"isSlot":false,"src":"1811:5:42","valueSize":1},{"declaration":4481,"isOffset":false,"isSlot":false,"src":"1797:6:42","valueSize":1}],"flags":["memory-safe"],"id":4502,"nodeType":"InlineAssembly","src":"1750:98:42"},{"expression":{"id":4503,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4481,"src":"1872:6:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":4482,"id":4504,"nodeType":"Return","src":"1865:13:42"}]}},{"assignments":[4508],"declarations":[{"constant":false,"id":4508,"mutability":"mutable","name":"remainder","nameLocation":"2201:9:42","nodeType":"VariableDeclaration","scope":4595,"src":"2193:17:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4507,"name":"uint256","nodeType":"ElementaryTypeName","src":"2193:7:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4509,"nodeType":"VariableDeclarationStatement","src":"2193:17:42"},{"AST":{"nativeSrc":"2249:70:42","nodeType":"YulBlock","src":"2249:70:42","statements":[{"nativeSrc":"2267:38:42","nodeType":"YulAssignment","src":"2267:38:42","value":{"arguments":[{"name":"a","nativeSrc":"2287:1:42","nodeType":"YulIdentifier","src":"2287:1:42"},{"name":"b","nativeSrc":"2290:1:42","nodeType":"YulIdentifier","src":"2290:1:42"},{"name":"denominator","nativeSrc":"2293:11:42","nodeType":"YulIdentifier","src":"2293:11:42"}],"functionName":{"name":"mulmod","nativeSrc":"2280:6:42","nodeType":"YulIdentifier","src":"2280:6:42"},"nativeSrc":"2280:25:42","nodeType":"YulFunctionCall","src":"2280:25:42"},"variableNames":[{"name":"remainder","nativeSrc":"2267:9:42","nodeType":"YulIdentifier","src":"2267:9:42"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4474,"isOffset":false,"isSlot":false,"src":"2287:1:42","valueSize":1},{"declaration":4476,"isOffset":false,"isSlot":false,"src":"2290:1:42","valueSize":1},{"declaration":4478,"isOffset":false,"isSlot":false,"src":"2293:11:42","valueSize":1},{"declaration":4508,"isOffset":false,"isSlot":false,"src":"2267:9:42","valueSize":1}],"flags":["memory-safe"],"id":4510,"nodeType":"InlineAssembly","src":"2224:95:42"},{"AST":{"nativeSrc":"2416:120:42","nodeType":"YulBlock","src":"2416:120:42","statements":[{"nativeSrc":"2434:41:42","nodeType":"YulAssignment","src":"2434:41:42","value":{"arguments":[{"name":"prod1","nativeSrc":"2447:5:42","nodeType":"YulIdentifier","src":"2447:5:42"},{"arguments":[{"name":"remainder","nativeSrc":"2457:9:42","nodeType":"YulIdentifier","src":"2457:9:42"},{"name":"prod0","nativeSrc":"2468:5:42","nodeType":"YulIdentifier","src":"2468:5:42"}],"functionName":{"name":"gt","nativeSrc":"2454:2:42","nodeType":"YulIdentifier","src":"2454:2:42"},"nativeSrc":"2454:20:42","nodeType":"YulFunctionCall","src":"2454:20:42"}],"functionName":{"name":"sub","nativeSrc":"2443:3:42","nodeType":"YulIdentifier","src":"2443:3:42"},"nativeSrc":"2443:32:42","nodeType":"YulFunctionCall","src":"2443:32:42"},"variableNames":[{"name":"prod1","nativeSrc":"2434:5:42","nodeType":"YulIdentifier","src":"2434:5:42"}]},{"nativeSrc":"2492:30:42","nodeType":"YulAssignment","src":"2492:30:42","value":{"arguments":[{"name":"prod0","nativeSrc":"2505:5:42","nodeType":"YulIdentifier","src":"2505:5:42"},{"name":"remainder","nativeSrc":"2512:9:42","nodeType":"YulIdentifier","src":"2512:9:42"}],"functionName":{"name":"sub","nativeSrc":"2501:3:42","nodeType":"YulIdentifier","src":"2501:3:42"},"nativeSrc":"2501:21:42","nodeType":"YulFunctionCall","src":"2501:21:42"},"variableNames":[{"name":"prod0","nativeSrc":"2492:5:42","nodeType":"YulIdentifier","src":"2492:5:42"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4484,"isOffset":false,"isSlot":false,"src":"2468:5:42","valueSize":1},{"declaration":4484,"isOffset":false,"isSlot":false,"src":"2492:5:42","valueSize":1},{"declaration":4484,"isOffset":false,"isSlot":false,"src":"2505:5:42","valueSize":1},{"declaration":4490,"isOffset":false,"isSlot":false,"src":"2434:5:42","valueSize":1},{"declaration":4490,"isOffset":false,"isSlot":false,"src":"2447:5:42","valueSize":1},{"declaration":4508,"isOffset":false,"isSlot":false,"src":"2457:9:42","valueSize":1},{"declaration":4508,"isOffset":false,"isSlot":false,"src":"2512:9:42","valueSize":1}],"flags":["memory-safe"],"id":4511,"nodeType":"InlineAssembly","src":"2391:145:42"},{"assignments":[4513],"declarations":[{"constant":false,"id":4513,"mutability":"mutable","name":"twos","nameLocation":"2709:4:42","nodeType":"VariableDeclaration","scope":4595,"src":"2701:12:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4512,"name":"uint256","nodeType":"ElementaryTypeName","src":"2701:7:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4520,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4519,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4516,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"30","id":4514,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2717:1:42","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":4515,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4478,"src":"2721:11:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2717:15:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":4517,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2716:17:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":4518,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4478,"src":"2736:11:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2716:31:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2701:46:42"},{"AST":{"nativeSrc":"2836:69:42","nodeType":"YulBlock","src":"2836:69:42","statements":[{"nativeSrc":"2854:37:42","nodeType":"YulAssignment","src":"2854:37:42","value":{"arguments":[{"name":"denominator","nativeSrc":"2873:11:42","nodeType":"YulIdentifier","src":"2873:11:42"},{"name":"twos","nativeSrc":"2886:4:42","nodeType":"YulIdentifier","src":"2886:4:42"}],"functionName":{"name":"div","nativeSrc":"2869:3:42","nodeType":"YulIdentifier","src":"2869:3:42"},"nativeSrc":"2869:22:42","nodeType":"YulFunctionCall","src":"2869:22:42"},"variableNames":[{"name":"denominator","nativeSrc":"2854:11:42","nodeType":"YulIdentifier","src":"2854:11:42"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4478,"isOffset":false,"isSlot":false,"src":"2854:11:42","valueSize":1},{"declaration":4478,"isOffset":false,"isSlot":false,"src":"2873:11:42","valueSize":1},{"declaration":4513,"isOffset":false,"isSlot":false,"src":"2886:4:42","valueSize":1}],"flags":["memory-safe"],"id":4521,"nodeType":"InlineAssembly","src":"2811:94:42"},{"AST":{"nativeSrc":"3002:57:42","nodeType":"YulBlock","src":"3002:57:42","statements":[{"nativeSrc":"3020:25:42","nodeType":"YulAssignment","src":"3020:25:42","value":{"arguments":[{"name":"prod0","nativeSrc":"3033:5:42","nodeType":"YulIdentifier","src":"3033:5:42"},{"name":"twos","nativeSrc":"3040:4:42","nodeType":"YulIdentifier","src":"3040:4:42"}],"functionName":{"name":"div","nativeSrc":"3029:3:42","nodeType":"YulIdentifier","src":"3029:3:42"},"nativeSrc":"3029:16:42","nodeType":"YulFunctionCall","src":"3029:16:42"},"variableNames":[{"name":"prod0","nativeSrc":"3020:5:42","nodeType":"YulIdentifier","src":"3020:5:42"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4484,"isOffset":false,"isSlot":false,"src":"3020:5:42","valueSize":1},{"declaration":4484,"isOffset":false,"isSlot":false,"src":"3033:5:42","valueSize":1},{"declaration":4513,"isOffset":false,"isSlot":false,"src":"3040:4:42","valueSize":1}],"flags":["memory-safe"],"id":4522,"nodeType":"InlineAssembly","src":"2977:82:42"},{"AST":{"nativeSrc":"3279:71:42","nodeType":"YulBlock","src":"3279:71:42","statements":[{"nativeSrc":"3297:39:42","nodeType":"YulAssignment","src":"3297:39:42","value":{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"3317:1:42","nodeType":"YulLiteral","src":"3317:1:42","type":"","value":"0"},{"name":"twos","nativeSrc":"3320:4:42","nodeType":"YulIdentifier","src":"3320:4:42"}],"functionName":{"name":"sub","nativeSrc":"3313:3:42","nodeType":"YulIdentifier","src":"3313:3:42"},"nativeSrc":"3313:12:42","nodeType":"YulFunctionCall","src":"3313:12:42"},{"name":"twos","nativeSrc":"3327:4:42","nodeType":"YulIdentifier","src":"3327:4:42"}],"functionName":{"name":"div","nativeSrc":"3309:3:42","nodeType":"YulIdentifier","src":"3309:3:42"},"nativeSrc":"3309:23:42","nodeType":"YulFunctionCall","src":"3309:23:42"},{"kind":"number","nativeSrc":"3334:1:42","nodeType":"YulLiteral","src":"3334:1:42","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"3305:3:42","nodeType":"YulIdentifier","src":"3305:3:42"},"nativeSrc":"3305:31:42","nodeType":"YulFunctionCall","src":"3305:31:42"},"variableNames":[{"name":"twos","nativeSrc":"3297:4:42","nodeType":"YulIdentifier","src":"3297:4:42"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":4513,"isOffset":false,"isSlot":false,"src":"3297:4:42","valueSize":1},{"declaration":4513,"isOffset":false,"isSlot":false,"src":"3320:4:42","valueSize":1},{"declaration":4513,"isOffset":false,"isSlot":false,"src":"3327:4:42","valueSize":1}],"flags":["memory-safe"],"id":4523,"nodeType":"InlineAssembly","src":"3254:96:42"},{"expression":{"id":4528,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4524,"name":"prod0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4484,"src":"3363:5:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4527,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4525,"name":"prod1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4490,"src":"3372:5:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":4526,"name":"twos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4513,"src":"3380:4:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3372:12:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3363:21:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4529,"nodeType":"ExpressionStatement","src":"3363:21:42"},{"assignments":[4531],"declarations":[{"constant":false,"id":4531,"mutability":"mutable","name":"inv","nameLocation":"3750:3:42","nodeType":"VariableDeclaration","scope":4595,"src":"3742:11:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4530,"name":"uint256","nodeType":"ElementaryTypeName","src":"3742:7:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4538,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4537,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4534,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"33","id":4532,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3757:1:42","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":4533,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4478,"src":"3761:11:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3757:15:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":4535,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3756:17:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"hexValue":"32","id":4536,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3776:1:42","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"3756:21:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3742:35:42"},{"expression":{"id":4545,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4539,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4531,"src":"4008:3:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4544,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":4540,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4015:1:42","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4543,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4541,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4478,"src":"4019:11:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":4542,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4531,"src":"4033:3:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4019:17:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4015:21:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4008:28:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4546,"nodeType":"ExpressionStatement","src":"4008:28:42"},{"expression":{"id":4553,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4547,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4531,"src":"4070:3:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4552,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":4548,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4077:1:42","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4551,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4549,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4478,"src":"4081:11:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":4550,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4531,"src":"4095:3:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4081:17:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4077:21:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4070:28:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4554,"nodeType":"ExpressionStatement","src":"4070:28:42"},{"expression":{"id":4561,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4555,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4531,"src":"4133:3:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4560,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":4556,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4140:1:42","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4559,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4557,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4478,"src":"4144:11:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":4558,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4531,"src":"4158:3:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4144:17:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4140:21:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4133:28:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4562,"nodeType":"ExpressionStatement","src":"4133:28:42"},{"expression":{"id":4569,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4563,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4531,"src":"4196:3:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4568,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":4564,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4203:1:42","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4567,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4565,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4478,"src":"4207:11:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":4566,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4531,"src":"4221:3:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4207:17:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4203:21:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4196:28:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4570,"nodeType":"ExpressionStatement","src":"4196:28:42"},{"expression":{"id":4577,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4571,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4531,"src":"4259:3:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4576,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":4572,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4266:1:42","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4575,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4573,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4478,"src":"4270:11:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":4574,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4531,"src":"4284:3:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4270:17:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4266:21:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4259:28:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4578,"nodeType":"ExpressionStatement","src":"4259:28:42"},{"expression":{"id":4585,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4579,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4531,"src":"4323:3:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4584,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":4580,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4330:1:42","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4583,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4581,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4478,"src":"4334:11:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":4582,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4531,"src":"4348:3:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4334:17:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4330:21:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4323:28:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4586,"nodeType":"ExpressionStatement","src":"4323:28:42"},{"expression":{"id":4591,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4587,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4481,"src":"4818:6:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4590,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4588,"name":"prod0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4484,"src":"4827:5:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":4589,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4531,"src":"4835:3:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4827:11:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4818:20:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4592,"nodeType":"ExpressionStatement","src":"4818:20:42"},{"expression":{"id":4593,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4481,"src":"4859:6:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":4482,"id":4594,"nodeType":"Return","src":"4852:13:42"}]}]},"documentation":{"id":4472,"nodeType":"StructuredDocumentation","src":"377:359:42","text":"@notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n @param a The multiplicand\n @param b The multiplier\n @param denominator The divisor\n @return result The 256-bit result\n @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv"},"id":4597,"implemented":true,"kind":"function","modifiers":[],"name":"mulDiv","nameLocation":"750:6:42","nodeType":"FunctionDefinition","parameters":{"id":4479,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4474,"mutability":"mutable","name":"a","nameLocation":"765:1:42","nodeType":"VariableDeclaration","scope":4597,"src":"757:9:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4473,"name":"uint256","nodeType":"ElementaryTypeName","src":"757:7:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4476,"mutability":"mutable","name":"b","nameLocation":"776:1:42","nodeType":"VariableDeclaration","scope":4597,"src":"768:9:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4475,"name":"uint256","nodeType":"ElementaryTypeName","src":"768:7:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4478,"mutability":"mutable","name":"denominator","nameLocation":"787:11:42","nodeType":"VariableDeclaration","scope":4597,"src":"779:19:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4477,"name":"uint256","nodeType":"ElementaryTypeName","src":"779:7:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"756:43:42"},"returnParameters":{"id":4482,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4481,"mutability":"mutable","name":"result","nameLocation":"831:6:42","nodeType":"VariableDeclaration","scope":4597,"src":"823:14:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4480,"name":"uint256","nodeType":"ElementaryTypeName","src":"823:7:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"822:16:42"},"scope":4636,"src":"741:4141:42","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4634,"nodeType":"Block","src":"5272:188:42","statements":[{"id":4633,"nodeType":"UncheckedBlock","src":"5282:172:42","statements":[{"expression":{"id":4615,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4609,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4607,"src":"5306:6:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4611,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4600,"src":"5322:1:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4612,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4602,"src":"5325:1:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4613,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4604,"src":"5328:11:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4610,"name":"mulDiv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4597,"src":"5315:6:42","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":4614,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5315:25:42","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5306:34:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4616,"nodeType":"ExpressionStatement","src":"5306:34:42"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4623,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":4618,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4600,"src":"5365:1:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4619,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4602,"src":"5368:1:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4620,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4604,"src":"5371:11:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4617,"name":"mulmod","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-16,"src":"5358:6:42","typeDescriptions":{"typeIdentifier":"t_function_mulmod_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":4621,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5358:25:42","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":4622,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5387:1:42","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5358:30:42","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4632,"nodeType":"IfStatement","src":"5354:90:42","trueBody":{"id":4631,"nodeType":"Block","src":"5390:54:42","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4628,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4626,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":true,"src":"5416:8:42","subExpression":{"id":4625,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4607,"src":"5418:6:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":4627,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5427:1:42","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5416:12:42","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":4624,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"5408:7:42","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":4629,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5408:21:42","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4630,"nodeType":"ExpressionStatement","src":"5408:21:42"}]}}]}]},"documentation":{"id":4598,"nodeType":"StructuredDocumentation","src":"4888:271:42","text":"@notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n @param a The multiplicand\n @param b The multiplier\n @param denominator The divisor\n @return result The 256-bit result"},"id":4635,"implemented":true,"kind":"function","modifiers":[],"name":"mulDivRoundingUp","nameLocation":"5173:16:42","nodeType":"FunctionDefinition","parameters":{"id":4605,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4600,"mutability":"mutable","name":"a","nameLocation":"5198:1:42","nodeType":"VariableDeclaration","scope":4635,"src":"5190:9:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4599,"name":"uint256","nodeType":"ElementaryTypeName","src":"5190:7:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4602,"mutability":"mutable","name":"b","nameLocation":"5209:1:42","nodeType":"VariableDeclaration","scope":4635,"src":"5201:9:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4601,"name":"uint256","nodeType":"ElementaryTypeName","src":"5201:7:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4604,"mutability":"mutable","name":"denominator","nameLocation":"5220:11:42","nodeType":"VariableDeclaration","scope":4635,"src":"5212:19:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4603,"name":"uint256","nodeType":"ElementaryTypeName","src":"5212:7:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5189:43:42"},"returnParameters":{"id":4608,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4607,"mutability":"mutable","name":"result","nameLocation":"5264:6:42","nodeType":"VariableDeclaration","scope":4635,"src":"5256:14:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4606,"name":"uint256","nodeType":"ElementaryTypeName","src":"5256:7:42","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5255:16:42"},"scope":4636,"src":"5164:296:42","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":4637,"src":"354:5108:42","usedErrors":[],"usedEvents":[]}],"src":"32:5431:42"},"id":42},"@uniswap/v4-core/src/libraries/Hooks.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/Hooks.sol","exportedSymbols":{"BalanceDelta":[10503],"BalanceDeltaLibrary":[10661],"BeforeSwapDelta":[10665],"BeforeSwapDeltaLibrary":[10709],"CustomRevert":[4451],"Hooks":[5805],"IHooks":[3618],"IPoolManager":[3917],"LPFeeLibrary":[5954],"ParseBytes":[6050],"PoolKey":[11063],"SafeCast":[8145],"toBalanceDelta":[10529]},"id":5806,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4638,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:43"},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"../types/PoolKey.sol","id":4640,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5806,"sourceUnit":11064,"src":"57:45:43","symbolAliases":[{"foreign":{"id":4639,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"65:7:43","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IHooks.sol","file":"../interfaces/IHooks.sol","id":4642,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5806,"sourceUnit":3619,"src":"103:48:43","symbolAliases":[{"foreign":{"id":4641,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"111:6:43","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/SafeCast.sol","file":"./SafeCast.sol","id":4644,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5806,"sourceUnit":8146,"src":"152:40:43","symbolAliases":[{"foreign":{"id":4643,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8145,"src":"160:8:43","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol","file":"./LPFeeLibrary.sol","id":4646,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5806,"sourceUnit":5955,"src":"193:48:43","symbolAliases":[{"foreign":{"id":4645,"name":"LPFeeLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5954,"src":"201:12:43","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/BalanceDelta.sol","file":"../types/BalanceDelta.sol","id":4650,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5806,"sourceUnit":10662,"src":"242:92:43","symbolAliases":[{"foreign":{"id":4647,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"250:12:43","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":4648,"name":"toBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10529,"src":"264:14:43","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":4649,"name":"BalanceDeltaLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10661,"src":"280:19:43","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/BeforeSwapDelta.sol","file":"../types/BeforeSwapDelta.sol","id":4653,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5806,"sourceUnit":10710,"src":"335:85:43","symbolAliases":[{"foreign":{"id":4651,"name":"BeforeSwapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10665,"src":"343:15:43","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":4652,"name":"BeforeSwapDeltaLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10709,"src":"360:22:43","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"../interfaces/IPoolManager.sol","id":4655,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5806,"sourceUnit":3918,"src":"421:60:43","symbolAliases":[{"foreign":{"id":4654,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"429:12:43","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/ParseBytes.sol","file":"./ParseBytes.sol","id":4657,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5806,"sourceUnit":6051,"src":"482:44:43","symbolAliases":[{"foreign":{"id":4656,"name":"ParseBytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6050,"src":"490:10:43","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/CustomRevert.sol","file":"./CustomRevert.sol","id":4659,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5806,"sourceUnit":4452,"src":"527:48:43","symbolAliases":[{"foreign":{"id":4658,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"535:12:43","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"Hooks","contractDependencies":[],"contractKind":"library","documentation":{"id":4660,"nodeType":"StructuredDocumentation","src":"577:384:43","text":"@notice V4 decides whether to invoke specific hooks by inspecting the least significant bits\n of the address that the hooks contract is deployed to.\n For example, a hooks contract deployed to address: 0x0000000000000000000000000000000000002400\n has the lowest bits '10 0100 0000 0000' which would cause the 'before initialize' and 'after add liquidity' hooks to be used."},"fullyImplemented":true,"id":5805,"linearizedBaseContracts":[5805],"name":"Hooks","nameLocation":"969:5:43","nodeType":"ContractDefinition","nodes":[{"global":false,"id":4663,"libraryName":{"id":4661,"name":"LPFeeLibrary","nameLocations":["987:12:43"],"nodeType":"IdentifierPath","referencedDeclaration":5954,"src":"987:12:43"},"nodeType":"UsingForDirective","src":"981:30:43","typeName":{"id":4662,"name":"uint24","nodeType":"ElementaryTypeName","src":"1004:6:43","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}},{"global":false,"id":4667,"libraryName":{"id":4664,"name":"Hooks","nameLocations":["1022:5:43"],"nodeType":"IdentifierPath","referencedDeclaration":5805,"src":"1022:5:43"},"nodeType":"UsingForDirective","src":"1016:23:43","typeName":{"id":4666,"nodeType":"UserDefinedTypeName","pathNode":{"id":4665,"name":"IHooks","nameLocations":["1032:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"1032:6:43"},"referencedDeclaration":3618,"src":"1032:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}},{"global":false,"id":4670,"libraryName":{"id":4668,"name":"SafeCast","nameLocations":["1050:8:43"],"nodeType":"IdentifierPath","referencedDeclaration":8145,"src":"1050:8:43"},"nodeType":"UsingForDirective","src":"1044:26:43","typeName":{"id":4669,"name":"int256","nodeType":"ElementaryTypeName","src":"1063:6:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}},{"global":false,"id":4674,"libraryName":{"id":4671,"name":"BeforeSwapDeltaLibrary","nameLocations":["1081:22:43"],"nodeType":"IdentifierPath","referencedDeclaration":10709,"src":"1081:22:43"},"nodeType":"UsingForDirective","src":"1075:49:43","typeName":{"id":4673,"nodeType":"UserDefinedTypeName","pathNode":{"id":4672,"name":"BeforeSwapDelta","nameLocations":["1108:15:43"],"nodeType":"IdentifierPath","referencedDeclaration":10665,"src":"1108:15:43"},"referencedDeclaration":10665,"src":"1108:15:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}}},{"global":false,"id":4677,"libraryName":{"id":4675,"name":"ParseBytes","nameLocations":["1135:10:43"],"nodeType":"IdentifierPath","referencedDeclaration":6050,"src":"1135:10:43"},"nodeType":"UsingForDirective","src":"1129:27:43","typeName":{"id":4676,"name":"bytes","nodeType":"ElementaryTypeName","src":"1150:5:43","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"global":false,"id":4680,"libraryName":{"id":4678,"name":"CustomRevert","nameLocations":["1167:12:43"],"nodeType":"IdentifierPath","referencedDeclaration":4451,"src":"1167:12:43"},"nodeType":"UsingForDirective","src":"1161:30:43","typeName":{"id":4679,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1184:6:43","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}},{"constant":true,"id":4691,"mutability":"constant","name":"ALL_HOOK_MASK","nameLocation":"1223:13:43","nodeType":"VariableDeclaration","scope":5805,"src":"1197:64:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4681,"name":"uint160","nodeType":"ElementaryTypeName","src":"1197:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"arguments":[{"commonType":{"typeIdentifier":"t_rational_16383_by_1","typeString":"int_const 16383"},"id":4689,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_16384_by_1","typeString":"int_const 16384"},"id":4686,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4684,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1248:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3134","id":4685,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1253:2:43","typeDescriptions":{"typeIdentifier":"t_rational_14_by_1","typeString":"int_const 14"},"value":"14"},"src":"1248:7:43","typeDescriptions":{"typeIdentifier":"t_rational_16384_by_1","typeString":"int_const 16384"}}],"id":4687,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"1247:9:43","typeDescriptions":{"typeIdentifier":"t_rational_16384_by_1","typeString":"int_const 16384"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":4688,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1259:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"1247:13:43","typeDescriptions":{"typeIdentifier":"t_rational_16383_by_1","typeString":"int_const 16383"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_16383_by_1","typeString":"int_const 16383"}],"id":4683,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1239:7:43","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":4682,"name":"uint160","nodeType":"ElementaryTypeName","src":"1239:7:43","typeDescriptions":{}}},"id":4690,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1239:22:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":true,"id":4696,"mutability":"constant","name":"BEFORE_INITIALIZE_FLAG","nameLocation":"1294:22:43","nodeType":"VariableDeclaration","scope":5805,"src":"1268:58:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4692,"name":"uint160","nodeType":"ElementaryTypeName","src":"1268:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_8192_by_1","typeString":"int_const 8192"},"id":4695,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4693,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1319:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3133","id":4694,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1324:2:43","typeDescriptions":{"typeIdentifier":"t_rational_13_by_1","typeString":"int_const 13"},"value":"13"},"src":"1319:7:43","typeDescriptions":{"typeIdentifier":"t_rational_8192_by_1","typeString":"int_const 8192"}},"visibility":"internal"},{"constant":true,"id":4701,"mutability":"constant","name":"AFTER_INITIALIZE_FLAG","nameLocation":"1358:21:43","nodeType":"VariableDeclaration","scope":5805,"src":"1332:57:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4697,"name":"uint160","nodeType":"ElementaryTypeName","src":"1332:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_4096_by_1","typeString":"int_const 4096"},"id":4700,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4698,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1382:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3132","id":4699,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1387:2:43","typeDescriptions":{"typeIdentifier":"t_rational_12_by_1","typeString":"int_const 12"},"value":"12"},"src":"1382:7:43","typeDescriptions":{"typeIdentifier":"t_rational_4096_by_1","typeString":"int_const 4096"}},"visibility":"internal"},{"constant":true,"id":4706,"mutability":"constant","name":"BEFORE_ADD_LIQUIDITY_FLAG","nameLocation":"1422:25:43","nodeType":"VariableDeclaration","scope":5805,"src":"1396:61:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4702,"name":"uint160","nodeType":"ElementaryTypeName","src":"1396:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_2048_by_1","typeString":"int_const 2048"},"id":4705,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4703,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1450:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3131","id":4704,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1455:2:43","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"src":"1450:7:43","typeDescriptions":{"typeIdentifier":"t_rational_2048_by_1","typeString":"int_const 2048"}},"visibility":"internal"},{"constant":true,"id":4711,"mutability":"constant","name":"AFTER_ADD_LIQUIDITY_FLAG","nameLocation":"1489:24:43","nodeType":"VariableDeclaration","scope":5805,"src":"1463:60:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4707,"name":"uint160","nodeType":"ElementaryTypeName","src":"1463:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_1024_by_1","typeString":"int_const 1024"},"id":4710,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4708,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1516:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3130","id":4709,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1521:2:43","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"src":"1516:7:43","typeDescriptions":{"typeIdentifier":"t_rational_1024_by_1","typeString":"int_const 1024"}},"visibility":"internal"},{"constant":true,"id":4716,"mutability":"constant","name":"BEFORE_REMOVE_LIQUIDITY_FLAG","nameLocation":"1556:28:43","nodeType":"VariableDeclaration","scope":5805,"src":"1530:63:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4712,"name":"uint160","nodeType":"ElementaryTypeName","src":"1530:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_512_by_1","typeString":"int_const 512"},"id":4715,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4713,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1587:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"39","id":4714,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1592:1:43","typeDescriptions":{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},"value":"9"},"src":"1587:6:43","typeDescriptions":{"typeIdentifier":"t_rational_512_by_1","typeString":"int_const 512"}},"visibility":"internal"},{"constant":true,"id":4721,"mutability":"constant","name":"AFTER_REMOVE_LIQUIDITY_FLAG","nameLocation":"1625:27:43","nodeType":"VariableDeclaration","scope":5805,"src":"1599:62:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4717,"name":"uint160","nodeType":"ElementaryTypeName","src":"1599:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"},"id":4720,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4718,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1655:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"38","id":4719,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1660:1:43","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"1655:6:43","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"}},"visibility":"internal"},{"constant":true,"id":4726,"mutability":"constant","name":"BEFORE_SWAP_FLAG","nameLocation":"1694:16:43","nodeType":"VariableDeclaration","scope":5805,"src":"1668:51:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4722,"name":"uint160","nodeType":"ElementaryTypeName","src":"1668:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"id":4725,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4723,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1713:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"37","id":4724,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1718:1:43","typeDescriptions":{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},"value":"7"},"src":"1713:6:43","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"}},"visibility":"internal"},{"constant":true,"id":4731,"mutability":"constant","name":"AFTER_SWAP_FLAG","nameLocation":"1751:15:43","nodeType":"VariableDeclaration","scope":5805,"src":"1725:50:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4727,"name":"uint160","nodeType":"ElementaryTypeName","src":"1725:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"id":4730,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4728,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1769:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"36","id":4729,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1774:1:43","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"},"src":"1769:6:43","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"}},"visibility":"internal"},{"constant":true,"id":4736,"mutability":"constant","name":"BEFORE_DONATE_FLAG","nameLocation":"1808:18:43","nodeType":"VariableDeclaration","scope":5805,"src":"1782:53:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4732,"name":"uint160","nodeType":"ElementaryTypeName","src":"1782:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"id":4735,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4733,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1829:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"35","id":4734,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1834:1:43","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"src":"1829:6:43","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"}},"visibility":"internal"},{"constant":true,"id":4741,"mutability":"constant","name":"AFTER_DONATE_FLAG","nameLocation":"1867:17:43","nodeType":"VariableDeclaration","scope":5805,"src":"1841:52:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4737,"name":"uint160","nodeType":"ElementaryTypeName","src":"1841:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"id":4740,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4738,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1887:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"34","id":4739,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1892:1:43","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"1887:6:43","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"}},"visibility":"internal"},{"constant":true,"id":4746,"mutability":"constant","name":"BEFORE_SWAP_RETURNS_DELTA_FLAG","nameLocation":"1926:30:43","nodeType":"VariableDeclaration","scope":5805,"src":"1900:65:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4742,"name":"uint160","nodeType":"ElementaryTypeName","src":"1900:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"id":4745,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4743,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1959:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"33","id":4744,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1964:1:43","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"src":"1959:6:43","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"}},"visibility":"internal"},{"constant":true,"id":4751,"mutability":"constant","name":"AFTER_SWAP_RETURNS_DELTA_FLAG","nameLocation":"1997:29:43","nodeType":"VariableDeclaration","scope":5805,"src":"1971:64:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4747,"name":"uint160","nodeType":"ElementaryTypeName","src":"1971:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"id":4750,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4748,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2029:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"32","id":4749,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2034:1:43","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"2029:6:43","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"}},"visibility":"internal"},{"constant":true,"id":4756,"mutability":"constant","name":"AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG","nameLocation":"2067:38:43","nodeType":"VariableDeclaration","scope":5805,"src":"2041:73:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4752,"name":"uint160","nodeType":"ElementaryTypeName","src":"2041:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"id":4755,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4753,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2108:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"31","id":4754,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2113:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"2108:6:43","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}},"visibility":"internal"},{"constant":true,"id":4761,"mutability":"constant","name":"AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG","nameLocation":"2146:41:43","nodeType":"VariableDeclaration","scope":5805,"src":"2120:76:43","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4757,"name":"uint160","nodeType":"ElementaryTypeName","src":"2120:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"id":4760,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4758,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2190:1:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"30","id":4759,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2195:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2190:6:43","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}},"visibility":"internal"},{"canonicalName":"Hooks.Permissions","id":4790,"members":[{"constant":false,"id":4763,"mutability":"mutable","name":"beforeInitialize","nameLocation":"2237:16:43","nodeType":"VariableDeclaration","scope":4790,"src":"2232:21:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4762,"name":"bool","nodeType":"ElementaryTypeName","src":"2232:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4765,"mutability":"mutable","name":"afterInitialize","nameLocation":"2268:15:43","nodeType":"VariableDeclaration","scope":4790,"src":"2263:20:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4764,"name":"bool","nodeType":"ElementaryTypeName","src":"2263:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4767,"mutability":"mutable","name":"beforeAddLiquidity","nameLocation":"2298:18:43","nodeType":"VariableDeclaration","scope":4790,"src":"2293:23:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4766,"name":"bool","nodeType":"ElementaryTypeName","src":"2293:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4769,"mutability":"mutable","name":"afterAddLiquidity","nameLocation":"2331:17:43","nodeType":"VariableDeclaration","scope":4790,"src":"2326:22:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4768,"name":"bool","nodeType":"ElementaryTypeName","src":"2326:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4771,"mutability":"mutable","name":"beforeRemoveLiquidity","nameLocation":"2363:21:43","nodeType":"VariableDeclaration","scope":4790,"src":"2358:26:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4770,"name":"bool","nodeType":"ElementaryTypeName","src":"2358:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4773,"mutability":"mutable","name":"afterRemoveLiquidity","nameLocation":"2399:20:43","nodeType":"VariableDeclaration","scope":4790,"src":"2394:25:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4772,"name":"bool","nodeType":"ElementaryTypeName","src":"2394:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4775,"mutability":"mutable","name":"beforeSwap","nameLocation":"2434:10:43","nodeType":"VariableDeclaration","scope":4790,"src":"2429:15:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4774,"name":"bool","nodeType":"ElementaryTypeName","src":"2429:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4777,"mutability":"mutable","name":"afterSwap","nameLocation":"2459:9:43","nodeType":"VariableDeclaration","scope":4790,"src":"2454:14:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4776,"name":"bool","nodeType":"ElementaryTypeName","src":"2454:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4779,"mutability":"mutable","name":"beforeDonate","nameLocation":"2483:12:43","nodeType":"VariableDeclaration","scope":4790,"src":"2478:17:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4778,"name":"bool","nodeType":"ElementaryTypeName","src":"2478:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4781,"mutability":"mutable","name":"afterDonate","nameLocation":"2510:11:43","nodeType":"VariableDeclaration","scope":4790,"src":"2505:16:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4780,"name":"bool","nodeType":"ElementaryTypeName","src":"2505:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4783,"mutability":"mutable","name":"beforeSwapReturnDelta","nameLocation":"2536:21:43","nodeType":"VariableDeclaration","scope":4790,"src":"2531:26:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4782,"name":"bool","nodeType":"ElementaryTypeName","src":"2531:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4785,"mutability":"mutable","name":"afterSwapReturnDelta","nameLocation":"2572:20:43","nodeType":"VariableDeclaration","scope":4790,"src":"2567:25:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4784,"name":"bool","nodeType":"ElementaryTypeName","src":"2567:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4787,"mutability":"mutable","name":"afterAddLiquidityReturnDelta","nameLocation":"2607:28:43","nodeType":"VariableDeclaration","scope":4790,"src":"2602:33:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4786,"name":"bool","nodeType":"ElementaryTypeName","src":"2602:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4789,"mutability":"mutable","name":"afterRemoveLiquidityReturnDelta","nameLocation":"2650:31:43","nodeType":"VariableDeclaration","scope":4790,"src":"2645:36:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4788,"name":"bool","nodeType":"ElementaryTypeName","src":"2645:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"name":"Permissions","nameLocation":"2210:11:43","nodeType":"StructDefinition","scope":5805,"src":"2203:485:43","visibility":"public"},{"documentation":{"id":4791,"nodeType":"StructuredDocumentation","src":"2694:143:43","text":"@notice Thrown if the address will not lead to the specified hook calls being called\n @param hooks The address of the hooks contract"},"errorSelector":"e65af6a0","id":4795,"name":"HookAddressNotValid","nameLocation":"2848:19:43","nodeType":"ErrorDefinition","parameters":{"id":4794,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4793,"mutability":"mutable","name":"hooks","nameLocation":"2876:5:43","nodeType":"VariableDeclaration","scope":4795,"src":"2868:13:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4792,"name":"address","nodeType":"ElementaryTypeName","src":"2868:7:43","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2867:15:43"},"src":"2842:41:43"},{"documentation":{"id":4796,"nodeType":"StructuredDocumentation","src":"2889:44:43","text":"@notice Hook did not return its selector"},"errorSelector":"1e048e1d","id":4798,"name":"InvalidHookResponse","nameLocation":"2944:19:43","nodeType":"ErrorDefinition","parameters":{"id":4797,"nodeType":"ParameterList","parameters":[],"src":"2963:2:43"},"src":"2938:28:43"},{"documentation":{"id":4799,"nodeType":"StructuredDocumentation","src":"2972:80:43","text":"@notice Additional context for ERC-7751 wrapped error when a hook call fails"},"errorSelector":"a9e35b2f","id":4801,"name":"HookCallFailed","nameLocation":"3063:14:43","nodeType":"ErrorDefinition","parameters":{"id":4800,"nodeType":"ParameterList","parameters":[],"src":"3077:2:43"},"src":"3057:23:43"},{"documentation":{"id":4802,"nodeType":"StructuredDocumentation","src":"3086:84:43","text":"@notice The hook's delta changed the swap from exactIn to exactOut or vice versa"},"errorSelector":"fa0b71d6","id":4804,"name":"HookDeltaExceedsSwapAmount","nameLocation":"3181:26:43","nodeType":"ErrorDefinition","parameters":{"id":4803,"nodeType":"ParameterList","parameters":[],"src":"3207:2:43"},"src":"3175:35:43"},{"body":{"id":4938,"nodeType":"Block","src":"3624:1507:43","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4924,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4916,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4908,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4900,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4892,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4884,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4876,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4868,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4860,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4852,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4844,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4836,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4828,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4820,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4814,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"3651:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4815,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3663:16:43","memberName":"beforeInitialize","nodeType":"MemberAccess","referencedDeclaration":4763,"src":"3651:28:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4818,"name":"BEFORE_INITIALIZE_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4696,"src":"3702:22:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4816,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"3683:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4817,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3688:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"3683:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4819,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3683:42:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:74:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4827,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4821,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"3745:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4822,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3757:15:43","memberName":"afterInitialize","nodeType":"MemberAccess","referencedDeclaration":4765,"src":"3745:27:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4825,"name":"AFTER_INITIALIZE_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4701,"src":"3795:21:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4823,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"3776:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4824,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3781:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"3776:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4826,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3776:41:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3745:72:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:166:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4835,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4829,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"3837:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4830,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3849:18:43","memberName":"beforeAddLiquidity","nodeType":"MemberAccess","referencedDeclaration":4767,"src":"3837:30:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4833,"name":"BEFORE_ADD_LIQUIDITY_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4706,"src":"3890:25:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4831,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"3871:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4832,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3876:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"3871:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4834,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3871:45:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3837:79:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:265:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4843,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4837,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"3936:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4838,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3948:17:43","memberName":"afterAddLiquidity","nodeType":"MemberAccess","referencedDeclaration":4769,"src":"3936:29:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4841,"name":"AFTER_ADD_LIQUIDITY_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4711,"src":"3988:24:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4839,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"3969:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4840,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3974:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"3969:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4842,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3969:44:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3936:77:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:362:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4851,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4845,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"4033:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4846,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4045:21:43","memberName":"beforeRemoveLiquidity","nodeType":"MemberAccess","referencedDeclaration":4771,"src":"4033:33:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4849,"name":"BEFORE_REMOVE_LIQUIDITY_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4716,"src":"4089:28:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4847,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"4070:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4848,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4075:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"4070:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4850,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4070:48:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4033:85:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:467:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4859,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4853,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"4138:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4854,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4150:20:43","memberName":"afterRemoveLiquidity","nodeType":"MemberAccess","referencedDeclaration":4773,"src":"4138:32:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4857,"name":"AFTER_REMOVE_LIQUIDITY_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4721,"src":"4193:27:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4855,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"4174:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4856,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4179:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"4174:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4858,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4174:47:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4138:83:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:570:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4867,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4861,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"4241:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4862,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4253:10:43","memberName":"beforeSwap","nodeType":"MemberAccess","referencedDeclaration":4775,"src":"4241:22:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4865,"name":"BEFORE_SWAP_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4726,"src":"4286:16:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4863,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"4267:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4864,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4272:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"4267:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4866,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4267:36:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4241:62:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:652:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4875,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4869,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"4323:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4870,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4335:9:43","memberName":"afterSwap","nodeType":"MemberAccess","referencedDeclaration":4777,"src":"4323:21:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4873,"name":"AFTER_SWAP_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4731,"src":"4367:15:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4871,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"4348:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4872,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4353:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"4348:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4874,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4348:35:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4323:60:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:732:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4883,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4877,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"4403:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4878,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4415:12:43","memberName":"beforeDonate","nodeType":"MemberAccess","referencedDeclaration":4779,"src":"4403:24:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4881,"name":"BEFORE_DONATE_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4736,"src":"4450:18:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4879,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"4431:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4880,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4436:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"4431:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4882,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4431:38:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4403:66:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:818:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4891,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4885,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"4489:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4886,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4501:11:43","memberName":"afterDonate","nodeType":"MemberAccess","referencedDeclaration":4781,"src":"4489:23:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4889,"name":"AFTER_DONATE_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4741,"src":"4535:17:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4887,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"4516:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4888,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4521:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"4516:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4890,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4516:37:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4489:64:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:902:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4899,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4893,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"4573:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4894,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4585:21:43","memberName":"beforeSwapReturnDelta","nodeType":"MemberAccess","referencedDeclaration":4783,"src":"4573:33:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4897,"name":"BEFORE_SWAP_RETURNS_DELTA_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4746,"src":"4629:30:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4895,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"4610:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4896,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4615:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"4610:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4898,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4610:50:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4573:87:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:1009:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4907,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4901,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"4680:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4902,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4692:20:43","memberName":"afterSwapReturnDelta","nodeType":"MemberAccess","referencedDeclaration":4785,"src":"4680:32:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4905,"name":"AFTER_SWAP_RETURNS_DELTA_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4751,"src":"4735:29:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4903,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"4716:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4904,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4721:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"4716:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4906,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4716:49:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4680:85:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:1114:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4915,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4909,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"4785:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4910,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4797:28:43","memberName":"afterAddLiquidityReturnDelta","nodeType":"MemberAccess","referencedDeclaration":4787,"src":"4785:40:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4913,"name":"AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4756,"src":"4848:38:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4911,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"4829:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4912,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4834:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"4829:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4914,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4829:58:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4785:102:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:1236:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4923,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4917,"name":"permissions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4811,"src":"4907:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions memory"}},"id":4918,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4919:31:43","memberName":"afterRemoveLiquidityReturnDelta","nodeType":"MemberAccess","referencedDeclaration":4789,"src":"4907:43:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":4921,"name":"AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4761,"src":"4993:41:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4919,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"4974:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4920,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4979:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"4974:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4922,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4974:61:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4907:128:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3651:1384:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4937,"nodeType":"IfStatement","src":"3634:1491:43","trueBody":{"id":4936,"nodeType":"Block","src":"5046:79:43","statements":[{"expression":{"arguments":[{"arguments":[{"id":4932,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"5108:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":4931,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5100:7:43","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4930,"name":"address","nodeType":"ElementaryTypeName","src":"5100:7:43","typeDescriptions":{}}},"id":4933,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5100:13:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"expression":{"id":4925,"name":"HookAddressNotValid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4795,"src":"5060:19:43","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":4928,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5080:8:43","memberName":"selector","nodeType":"MemberAccess","src":"5060:28:43","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":4929,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5089:10:43","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4377,"src":"5060:39:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_address_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,address) pure"}},"id":4934,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5060:54:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4935,"nodeType":"ExpressionStatement","src":"5060:54:43"}]}}]},"documentation":{"id":4805,"nodeType":"StructuredDocumentation","src":"3216:311:43","text":"@notice Utility function intended to be used in hook constructors to ensure\n the deployed hooks address causes the intended hooks to be called\n @param permissions The hooks that are intended to be called\n @dev permissions param is memory as the function will be called from constructors"},"id":4939,"implemented":true,"kind":"function","modifiers":[],"name":"validateHookPermissions","nameLocation":"3541:23:43","nodeType":"FunctionDefinition","parameters":{"id":4812,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4808,"mutability":"mutable","name":"self","nameLocation":"3572:4:43","nodeType":"VariableDeclaration","scope":4939,"src":"3565:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":4807,"nodeType":"UserDefinedTypeName","pathNode":{"id":4806,"name":"IHooks","nameLocations":["3565:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"3565:6:43"},"referencedDeclaration":3618,"src":"3565:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":4811,"mutability":"mutable","name":"permissions","nameLocation":"3597:11:43","nodeType":"VariableDeclaration","scope":4939,"src":"3578:30:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_memory_ptr","typeString":"struct Hooks.Permissions"},"typeName":{"id":4810,"nodeType":"UserDefinedTypeName","pathNode":{"id":4809,"name":"Permissions","nameLocations":["3578:11:43"],"nodeType":"IdentifierPath","referencedDeclaration":4790,"src":"3578:11:43"},"referencedDeclaration":4790,"src":"3578:11:43","typeDescriptions":{"typeIdentifier":"t_struct$_Permissions_$4790_storage_ptr","typeString":"struct Hooks.Permissions"}},"visibility":"internal"}],"src":"3564:45:43"},"returnParameters":{"id":4813,"nodeType":"ParameterList","parameters":[],"src":"3624:0:43"},"scope":5805,"src":"3532:1599:43","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5034,"nodeType":"Block","src":"5489:1037:43","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4959,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4954,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"5625:37:43","subExpression":{"arguments":[{"id":4952,"name":"BEFORE_SWAP_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4726,"src":"5645:16:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4950,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4943,"src":"5626:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4951,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5631:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"5626:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4953,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5626:36:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"arguments":[{"id":4957,"name":"BEFORE_SWAP_RETURNS_DELTA_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4746,"src":"5685:30:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4955,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4943,"src":"5666:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4956,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5671:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"5666:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4958,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5666:50:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5625:91:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4962,"nodeType":"IfStatement","src":"5621:109:43","trueBody":{"expression":{"hexValue":"66616c7365","id":4960,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5725:5:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":4949,"id":4961,"nodeType":"Return","src":"5718:12:43"}},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4972,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4967,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"5744:36:43","subExpression":{"arguments":[{"id":4965,"name":"AFTER_SWAP_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4731,"src":"5764:15:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4963,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4943,"src":"5745:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4964,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5750:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"5745:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4966,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5745:35:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"arguments":[{"id":4970,"name":"AFTER_SWAP_RETURNS_DELTA_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4751,"src":"5803:29:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4968,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4943,"src":"5784:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4969,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5789:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"5784:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4971,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5784:49:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5744:89:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4975,"nodeType":"IfStatement","src":"5740:107:43","trueBody":{"expression":{"hexValue":"66616c7365","id":4973,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5842:5:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":4949,"id":4974,"nodeType":"Return","src":"5835:12:43"}},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4985,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4980,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"5861:45:43","subExpression":{"arguments":[{"id":4978,"name":"AFTER_ADD_LIQUIDITY_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4711,"src":"5881:24:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4976,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4943,"src":"5862:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4977,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5867:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"5862:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4979,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5862:44:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"arguments":[{"id":4983,"name":"AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4756,"src":"5929:38:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4981,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4943,"src":"5910:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4982,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5915:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"5910:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4984,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5910:58:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5861:107:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4989,"nodeType":"IfStatement","src":"5857:158:43","trueBody":{"id":4988,"nodeType":"Block","src":"5978:37:43","statements":[{"expression":{"hexValue":"66616c7365","id":4986,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5999:5:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":4949,"id":4987,"nodeType":"Return","src":"5992:12:43"}]}},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4999,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4994,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"6041:48:43","subExpression":{"arguments":[{"id":4992,"name":"AFTER_REMOVE_LIQUIDITY_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4721,"src":"6061:27:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4990,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4943,"src":"6042:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4991,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6047:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"6042:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4993,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6042:47:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"arguments":[{"id":4997,"name":"AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4761,"src":"6128:41:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4995,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4943,"src":"6109:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":4996,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6114:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"6109:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":4998,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6109:61:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"6041:129:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5002,"nodeType":"IfStatement","src":"6024:169:43","trueBody":{"expression":{"hexValue":"66616c7365","id":5000,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6188:5:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":4949,"id":5001,"nodeType":"Return","src":"6181:12:43"}},{"expression":{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":5011,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":5005,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4943,"src":"6385:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":5004,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6377:7:43","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5003,"name":"address","nodeType":"ElementaryTypeName","src":"6377:7:43","typeDescriptions":{}}},"id":5006,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6377:13:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":5009,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6402:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":5008,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6394:7:43","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5007,"name":"address","nodeType":"ElementaryTypeName","src":"6394:7:43","typeDescriptions":{}}},"id":5010,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6394:10:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6377:27:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":5030,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":5026,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":5024,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"arguments":[{"id":5020,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4943,"src":"6470:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":5019,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6462:7:43","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5018,"name":"address","nodeType":"ElementaryTypeName","src":"6462:7:43","typeDescriptions":{}}},"id":5021,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6462:13:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5017,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6454:7:43","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":5016,"name":"uint160","nodeType":"ElementaryTypeName","src":"6454:7:43","typeDescriptions":{}}},"id":5022,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6454:22:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":5023,"name":"ALL_HOOK_MASK","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4691,"src":"6479:13:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"6454:38:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":5025,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6495:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6454:42:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5027,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4945,"src":"6500:3:43","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":5028,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6504:12:43","memberName":"isDynamicFee","nodeType":"MemberAccess","referencedDeclaration":5850,"src":"6500:16:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$_t_bool_$attached_to$_t_uint24_$","typeString":"function (uint24) pure returns (bool)"}},"id":5029,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6500:18:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"6454:64:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":5031,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6453:66:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5032,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"6377:142:43","trueExpression":{"id":5015,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"6419:19:43","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5012,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4945,"src":"6420:3:43","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":5013,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6424:12:43","memberName":"isDynamicFee","nodeType":"MemberAccess","referencedDeclaration":5850,"src":"6420:16:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$_t_bool_$attached_to$_t_uint24_$","typeString":"function (uint24) pure returns (bool)"}},"id":5014,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6420:18:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":4949,"id":5033,"nodeType":"Return","src":"6370:149:43"}]},"documentation":{"id":4940,"nodeType":"StructuredDocumentation","src":"5137:265:43","text":"@notice Ensures that the hook address includes at least one hook flag or dynamic fees, or is the 0 address\n @param self The hook to verify\n @param fee The fee of the pool the hook is used with\n @return bool True if the hook address is valid"},"id":5035,"implemented":true,"kind":"function","modifiers":[],"name":"isValidHookAddress","nameLocation":"5416:18:43","nodeType":"FunctionDefinition","parameters":{"id":4946,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4943,"mutability":"mutable","name":"self","nameLocation":"5442:4:43","nodeType":"VariableDeclaration","scope":5035,"src":"5435:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":4942,"nodeType":"UserDefinedTypeName","pathNode":{"id":4941,"name":"IHooks","nameLocations":["5435:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"5435:6:43"},"referencedDeclaration":3618,"src":"5435:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":4945,"mutability":"mutable","name":"fee","nameLocation":"5455:3:43","nodeType":"VariableDeclaration","scope":5035,"src":"5448:10:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":4944,"name":"uint24","nodeType":"ElementaryTypeName","src":"5448:6:43","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"5434:25:43"},"returnParameters":{"id":4949,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4948,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5035,"src":"5483:4:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4947,"name":"bool","nodeType":"ElementaryTypeName","src":"5483:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"5482:6:43"},"scope":5805,"src":"5407:1119:43","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5090,"nodeType":"Block","src":"6791:1187:43","statements":[{"assignments":[5047],"declarations":[{"constant":false,"id":5047,"mutability":"mutable","name":"success","nameLocation":"6806:7:43","nodeType":"VariableDeclaration","scope":5090,"src":"6801:12:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5046,"name":"bool","nodeType":"ElementaryTypeName","src":"6801:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":5048,"nodeType":"VariableDeclarationStatement","src":"6801:12:43"},{"AST":{"nativeSrc":"6848:91:43","nodeType":"YulBlock","src":"6848:91:43","statements":[{"nativeSrc":"6862:67:43","nodeType":"YulAssignment","src":"6862:67:43","value":{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"6878:3:43","nodeType":"YulIdentifier","src":"6878:3:43"},"nativeSrc":"6878:5:43","nodeType":"YulFunctionCall","src":"6878:5:43"},{"name":"self","nativeSrc":"6885:4:43","nodeType":"YulIdentifier","src":"6885:4:43"},{"kind":"number","nativeSrc":"6891:1:43","nodeType":"YulLiteral","src":"6891:1:43","type":"","value":"0"},{"arguments":[{"name":"data","nativeSrc":"6898:4:43","nodeType":"YulIdentifier","src":"6898:4:43"},{"kind":"number","nativeSrc":"6904:4:43","nodeType":"YulLiteral","src":"6904:4:43","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"6894:3:43","nodeType":"YulIdentifier","src":"6894:3:43"},"nativeSrc":"6894:15:43","nodeType":"YulFunctionCall","src":"6894:15:43"},{"arguments":[{"name":"data","nativeSrc":"6917:4:43","nodeType":"YulIdentifier","src":"6917:4:43"}],"functionName":{"name":"mload","nativeSrc":"6911:5:43","nodeType":"YulIdentifier","src":"6911:5:43"},"nativeSrc":"6911:11:43","nodeType":"YulFunctionCall","src":"6911:11:43"},{"kind":"number","nativeSrc":"6924:1:43","nodeType":"YulLiteral","src":"6924:1:43","type":"","value":"0"},{"kind":"number","nativeSrc":"6927:1:43","nodeType":"YulLiteral","src":"6927:1:43","type":"","value":"0"}],"functionName":{"name":"call","nativeSrc":"6873:4:43","nodeType":"YulIdentifier","src":"6873:4:43"},"nativeSrc":"6873:56:43","nodeType":"YulFunctionCall","src":"6873:56:43"},"variableNames":[{"name":"success","nativeSrc":"6862:7:43","nodeType":"YulIdentifier","src":"6862:7:43"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":5041,"isOffset":false,"isSlot":false,"src":"6898:4:43","valueSize":1},{"declaration":5041,"isOffset":false,"isSlot":false,"src":"6917:4:43","valueSize":1},{"declaration":5039,"isOffset":false,"isSlot":false,"src":"6885:4:43","valueSize":1},{"declaration":5047,"isOffset":false,"isSlot":false,"src":"6862:7:43","valueSize":1}],"flags":["memory-safe"],"id":5049,"nodeType":"InlineAssembly","src":"6823:116:43"},{"condition":{"id":5051,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"7033:8:43","subExpression":{"id":5050,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5047,"src":"7034:7:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5067,"nodeType":"IfStatement","src":"7029:102:43","trueBody":{"expression":{"arguments":[{"arguments":[{"id":5057,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5039,"src":"7086:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":5056,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7078:7:43","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5055,"name":"address","nodeType":"ElementaryTypeName","src":"7078:7:43","typeDescriptions":{}}},"id":5058,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7078:13:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":5061,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5041,"src":"7100:4:43","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":5060,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7093:6:43","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes4_$","typeString":"type(bytes4)"},"typeName":{"id":5059,"name":"bytes4","nodeType":"ElementaryTypeName","src":"7093:6:43","typeDescriptions":{}}},"id":5062,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7093:12:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"expression":{"id":5063,"name":"HookCallFailed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4801,"src":"7107:14:43","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":5064,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7122:8:43","memberName":"selector","nodeType":"MemberAccess","src":"7107:23:43","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes4","typeString":"bytes4"},{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":5052,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"7043:12:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CustomRevert_$4451_$","typeString":"type(library CustomRevert)"}},"id":5054,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7056:21:43","memberName":"bubbleUpAndRevertWith","nodeType":"MemberAccess","referencedDeclaration":4450,"src":"7043:34:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_bytes4_$_t_bytes4_$returns$__$","typeString":"function (address,bytes4,bytes4) pure"}},"id":5065,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7043:88:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5066,"nodeType":"ExpressionStatement","src":"7043:88:43"}},{"AST":{"nativeSrc":"7227:479:43","nodeType":"YulBlock","src":"7227:479:43","statements":[{"nativeSrc":"7312:21:43","nodeType":"YulAssignment","src":"7312:21:43","value":{"arguments":[{"kind":"number","nativeSrc":"7328:4:43","nodeType":"YulLiteral","src":"7328:4:43","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"7322:5:43","nodeType":"YulIdentifier","src":"7322:5:43"},"nativeSrc":"7322:11:43","nodeType":"YulFunctionCall","src":"7322:11:43"},"variableNames":[{"name":"result","nativeSrc":"7312:6:43","nodeType":"YulIdentifier","src":"7312:6:43"}]},{"expression":{"arguments":[{"kind":"number","nativeSrc":"7441:4:43","nodeType":"YulLiteral","src":"7441:4:43","type":"","value":"0x40"},{"arguments":[{"name":"result","nativeSrc":"7451:6:43","nodeType":"YulIdentifier","src":"7451:6:43"},{"arguments":[{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"7467:14:43","nodeType":"YulIdentifier","src":"7467:14:43"},"nativeSrc":"7467:16:43","nodeType":"YulFunctionCall","src":"7467:16:43"},{"kind":"number","nativeSrc":"7485:4:43","nodeType":"YulLiteral","src":"7485:4:43","type":"","value":"0x3f"}],"functionName":{"name":"add","nativeSrc":"7463:3:43","nodeType":"YulIdentifier","src":"7463:3:43"},"nativeSrc":"7463:27:43","nodeType":"YulFunctionCall","src":"7463:27:43"},{"arguments":[{"kind":"number","nativeSrc":"7496:4:43","nodeType":"YulLiteral","src":"7496:4:43","type":"","value":"0x1f"}],"functionName":{"name":"not","nativeSrc":"7492:3:43","nodeType":"YulIdentifier","src":"7492:3:43"},"nativeSrc":"7492:9:43","nodeType":"YulFunctionCall","src":"7492:9:43"}],"functionName":{"name":"and","nativeSrc":"7459:3:43","nodeType":"YulIdentifier","src":"7459:3:43"},"nativeSrc":"7459:43:43","nodeType":"YulFunctionCall","src":"7459:43:43"}],"functionName":{"name":"add","nativeSrc":"7447:3:43","nodeType":"YulIdentifier","src":"7447:3:43"},"nativeSrc":"7447:56:43","nodeType":"YulFunctionCall","src":"7447:56:43"}],"functionName":{"name":"mstore","nativeSrc":"7434:6:43","nodeType":"YulIdentifier","src":"7434:6:43"},"nativeSrc":"7434:70:43","nodeType":"YulFunctionCall","src":"7434:70:43"},"nativeSrc":"7434:70:43","nodeType":"YulExpressionStatement","src":"7434:70:43"},{"expression":{"arguments":[{"name":"result","nativeSrc":"7562:6:43","nodeType":"YulIdentifier","src":"7562:6:43"},{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"7570:14:43","nodeType":"YulIdentifier","src":"7570:14:43"},"nativeSrc":"7570:16:43","nodeType":"YulFunctionCall","src":"7570:16:43"}],"functionName":{"name":"mstore","nativeSrc":"7555:6:43","nodeType":"YulIdentifier","src":"7555:6:43"},"nativeSrc":"7555:32:43","nodeType":"YulFunctionCall","src":"7555:32:43"},"nativeSrc":"7555:32:43","nodeType":"YulExpressionStatement","src":"7555:32:43"},{"expression":{"arguments":[{"arguments":[{"name":"result","nativeSrc":"7661:6:43","nodeType":"YulIdentifier","src":"7661:6:43"},{"kind":"number","nativeSrc":"7669:4:43","nodeType":"YulLiteral","src":"7669:4:43","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"7657:3:43","nodeType":"YulIdentifier","src":"7657:3:43"},"nativeSrc":"7657:17:43","nodeType":"YulFunctionCall","src":"7657:17:43"},{"kind":"number","nativeSrc":"7676:1:43","nodeType":"YulLiteral","src":"7676:1:43","type":"","value":"0"},{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"7679:14:43","nodeType":"YulIdentifier","src":"7679:14:43"},"nativeSrc":"7679:16:43","nodeType":"YulFunctionCall","src":"7679:16:43"}],"functionName":{"name":"returndatacopy","nativeSrc":"7642:14:43","nodeType":"YulIdentifier","src":"7642:14:43"},"nativeSrc":"7642:54:43","nodeType":"YulFunctionCall","src":"7642:54:43"},"nativeSrc":"7642:54:43","nodeType":"YulExpressionStatement","src":"7642:54:43"}]},"evmVersion":"cancun","externalReferences":[{"declaration":5044,"isOffset":false,"isSlot":false,"src":"7312:6:43","valueSize":1},{"declaration":5044,"isOffset":false,"isSlot":false,"src":"7451:6:43","valueSize":1},{"declaration":5044,"isOffset":false,"isSlot":false,"src":"7562:6:43","valueSize":1},{"declaration":5044,"isOffset":false,"isSlot":false,"src":"7661:6:43","valueSize":1}],"flags":["memory-safe"],"id":5068,"nodeType":"InlineAssembly","src":"7202:504:43"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":5080,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5072,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5069,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5044,"src":"7836:6:43","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5070,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7843:6:43","memberName":"length","nodeType":"MemberAccess","src":"7836:13:43","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"3332","id":5071,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7852:2:43","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"7836:18:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":5079,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5073,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5044,"src":"7858:6:43","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5074,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7865:13:43","memberName":"parseSelector","nodeType":"MemberAccess","referencedDeclaration":6031,"src":"7858:20:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes4_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (bytes4)"}},"id":5075,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7858:22:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5076,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5041,"src":"7884:4:43","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5077,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7889:13:43","memberName":"parseSelector","nodeType":"MemberAccess","referencedDeclaration":6031,"src":"7884:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes4_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (bytes4)"}},"id":5078,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7884:20:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"7858:46:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"7836:68:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5089,"nodeType":"IfStatement","src":"7832:140:43","trueBody":{"id":5088,"nodeType":"Block","src":"7906:66:43","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":5081,"name":"InvalidHookResponse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4798,"src":"7920:19:43","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":5084,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7940:8:43","memberName":"selector","nodeType":"MemberAccess","src":"7920:28:43","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":5085,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7949:10:43","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"7920:39:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":5086,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7920:41:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5087,"nodeType":"ExpressionStatement","src":"7920:41:43"}]}}]},"documentation":{"id":5036,"nodeType":"StructuredDocumentation","src":"6532:165:43","text":"@notice performs a hook call using the given calldata on the given hook that doesn't return a delta\n @return result The complete data returned by the hook"},"id":5091,"implemented":true,"kind":"function","modifiers":[],"name":"callHook","nameLocation":"6711:8:43","nodeType":"FunctionDefinition","parameters":{"id":5042,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5039,"mutability":"mutable","name":"self","nameLocation":"6727:4:43","nodeType":"VariableDeclaration","scope":5091,"src":"6720:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":5038,"nodeType":"UserDefinedTypeName","pathNode":{"id":5037,"name":"IHooks","nameLocations":["6720:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"6720:6:43"},"referencedDeclaration":3618,"src":"6720:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":5041,"mutability":"mutable","name":"data","nameLocation":"6746:4:43","nodeType":"VariableDeclaration","scope":5091,"src":"6733:17:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5040,"name":"bytes","nodeType":"ElementaryTypeName","src":"6733:5:43","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6719:32:43"},"returnParameters":{"id":5045,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5044,"mutability":"mutable","name":"result","nameLocation":"6783:6:43","nodeType":"VariableDeclaration","scope":5091,"src":"6770:19:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5043,"name":"bytes","nodeType":"ElementaryTypeName","src":"6770:5:43","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6769:21:43"},"scope":5805,"src":"6702:1276:43","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5132,"nodeType":"Block","src":"8227:376:43","statements":[{"assignments":[5105],"declarations":[{"constant":false,"id":5105,"mutability":"mutable","name":"result","nameLocation":"8250:6:43","nodeType":"VariableDeclaration","scope":5132,"src":"8237:19:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5104,"name":"bytes","nodeType":"ElementaryTypeName","src":"8237:5:43","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":5110,"initialValue":{"arguments":[{"id":5107,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5095,"src":"8268:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},{"id":5108,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5097,"src":"8274:4:43","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":5106,"name":"callHook","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5091,"src":"8259:8:43","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (contract IHooks,bytes memory) returns (bytes memory)"}},"id":5109,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8259:20:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"8237:42:43"},{"condition":{"id":5112,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"8371:12:43","subExpression":{"id":5111,"name":"parseReturn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5099,"src":"8372:11:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5115,"nodeType":"IfStatement","src":"8367:26:43","trueBody":{"expression":{"hexValue":"30","id":5113,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8392:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"functionReturnParameters":5103,"id":5114,"nodeType":"Return","src":"8385:8:43"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5119,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5116,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5105,"src":"8492:6:43","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5117,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8499:6:43","memberName":"length","nodeType":"MemberAccess","src":"8492:13:43","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"3634","id":5118,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8509:2:43","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"8492:19:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5127,"nodeType":"IfStatement","src":"8488:66:43","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":5120,"name":"InvalidHookResponse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4798,"src":"8513:19:43","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":5123,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8533:8:43","memberName":"selector","nodeType":"MemberAccess","src":"8513:28:43","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":5124,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8542:10:43","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"8513:39:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":5125,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8513:41:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5126,"nodeType":"ExpressionStatement","src":"8513:41:43"}},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5128,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5105,"src":"8571:6:43","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5129,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8578:16:43","memberName":"parseReturnDelta","nodeType":"MemberAccess","referencedDeclaration":6049,"src":"8571:23:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_int256_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (int256)"}},"id":5130,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8571:25:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"functionReturnParameters":5103,"id":5131,"nodeType":"Return","src":"8564:32:43"}]},"documentation":{"id":5092,"nodeType":"StructuredDocumentation","src":"7984:129:43","text":"@notice performs a hook call using the given calldata on the given hook\n @return int256 The delta returned by the hook"},"id":5133,"implemented":true,"kind":"function","modifiers":[],"name":"callHookWithReturnDelta","nameLocation":"8127:23:43","nodeType":"FunctionDefinition","parameters":{"id":5100,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5095,"mutability":"mutable","name":"self","nameLocation":"8158:4:43","nodeType":"VariableDeclaration","scope":5133,"src":"8151:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":5094,"nodeType":"UserDefinedTypeName","pathNode":{"id":5093,"name":"IHooks","nameLocations":["8151:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"8151:6:43"},"referencedDeclaration":3618,"src":"8151:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":5097,"mutability":"mutable","name":"data","nameLocation":"8177:4:43","nodeType":"VariableDeclaration","scope":5133,"src":"8164:17:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5096,"name":"bytes","nodeType":"ElementaryTypeName","src":"8164:5:43","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5099,"mutability":"mutable","name":"parseReturn","nameLocation":"8188:11:43","nodeType":"VariableDeclaration","scope":5133,"src":"8183:16:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5098,"name":"bool","nodeType":"ElementaryTypeName","src":"8183:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"8150:50:43"},"returnParameters":{"id":5103,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5102,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5133,"src":"8219:6:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5101,"name":"int256","nodeType":"ElementaryTypeName","src":"8219:6:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"8218:8:43"},"scope":5805,"src":"8118:485:43","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5149,"nodeType":"Block","src":"8722:75:43","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":5145,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5139,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"8736:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5140,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8740:6:43","memberName":"sender","nodeType":"MemberAccess","src":"8736:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":5143,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5137,"src":"8758:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":5142,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8750:7:43","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5141,"name":"address","nodeType":"ElementaryTypeName","src":"8750:7:43","typeDescriptions":{}}},"id":5144,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8750:13:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"8736:27:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5148,"nodeType":"IfStatement","src":"8732:59:43","trueBody":{"id":5147,"nodeType":"Block","src":"8765:26:43","statements":[{"id":5146,"nodeType":"PlaceholderStatement","src":"8779:1:43"}]}}]},"documentation":{"id":5134,"nodeType":"StructuredDocumentation","src":"8609:75:43","text":"@notice modifier to prevent calling a hook if they initiated the action"},"id":5150,"name":"noSelfCall","nameLocation":"8698:10:43","nodeType":"ModifierDefinition","parameters":{"id":5138,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5137,"mutability":"mutable","name":"self","nameLocation":"8716:4:43","nodeType":"VariableDeclaration","scope":5150,"src":"8709:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":5136,"nodeType":"UserDefinedTypeName","pathNode":{"id":5135,"name":"IHooks","nameLocations":["8709:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"8709:6:43"},"referencedDeclaration":3618,"src":"8709:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"}],"src":"8708:13:43"},"src":"8689:108:43","virtual":false,"visibility":"internal"},{"body":{"id":5186,"nodeType":"Block","src":"8997:176:43","statements":[{"condition":{"arguments":[{"id":5167,"name":"BEFORE_INITIALIZE_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4696,"src":"9030:22:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5165,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5154,"src":"9011:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5166,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9016:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"9011:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5168,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9011:42:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5185,"nodeType":"IfStatement","src":"9007:160:43","trueBody":{"id":5184,"nodeType":"Block","src":"9055:112:43","statements":[{"expression":{"arguments":[{"arguments":[{"expression":{"id":5174,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"9098:6:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IHooks_$3618_$","typeString":"type(contract IHooks)"}},"id":5175,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9105:16:43","memberName":"beforeInitialize","nodeType":"MemberAccess","referencedDeclaration":3444,"src":"9098:23:43","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_uint160_$returns$_t_bytes4_$","typeString":"function IHooks.beforeInitialize(address,struct PoolKey calldata,uint160) returns (bytes4)"}},{"components":[{"expression":{"id":5176,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"9124:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5177,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9128:6:43","memberName":"sender","nodeType":"MemberAccess","src":"9124:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5178,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5157,"src":"9136:3:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":5179,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5159,"src":"9141:12:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":5180,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9123:31:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint160_$","typeString":"tuple(address,struct PoolKey memory,uint160)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_uint160_$returns$_t_bytes4_$","typeString":"function IHooks.beforeInitialize(address,struct PoolKey calldata,uint160) returns (bytes4)"},{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint160_$","typeString":"tuple(address,struct PoolKey memory,uint160)"}],"expression":{"id":5172,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"9083:3:43","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5173,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9087:10:43","memberName":"encodeCall","nodeType":"MemberAccess","src":"9083:14:43","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":5181,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9083:72:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5169,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5154,"src":"9069:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5171,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9074:8:43","memberName":"callHook","nodeType":"MemberAccess","referencedDeclaration":5091,"src":"9069:13:43","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,bytes memory) returns (bytes memory)"}},"id":5182,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9069:87:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5183,"nodeType":"ExpressionStatement","src":"9069:87:43"}]}}]},"documentation":{"id":5151,"nodeType":"StructuredDocumentation","src":"8803:82:43","text":"@notice calls beforeInitialize hook if permissioned and validates return value"},"id":5187,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":5162,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5154,"src":"8991:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"id":5163,"kind":"modifierInvocation","modifierName":{"id":5161,"name":"noSelfCall","nameLocations":["8980:10:43"],"nodeType":"IdentifierPath","referencedDeclaration":5150,"src":"8980:10:43"},"nodeType":"ModifierInvocation","src":"8980:16:43"}],"name":"beforeInitialize","nameLocation":"8899:16:43","nodeType":"FunctionDefinition","parameters":{"id":5160,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5154,"mutability":"mutable","name":"self","nameLocation":"8923:4:43","nodeType":"VariableDeclaration","scope":5187,"src":"8916:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":5153,"nodeType":"UserDefinedTypeName","pathNode":{"id":5152,"name":"IHooks","nameLocations":["8916:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"8916:6:43"},"referencedDeclaration":3618,"src":"8916:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":5157,"mutability":"mutable","name":"key","nameLocation":"8944:3:43","nodeType":"VariableDeclaration","scope":5187,"src":"8929:18:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":5156,"nodeType":"UserDefinedTypeName","pathNode":{"id":5155,"name":"PoolKey","nameLocations":["8929:7:43"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"8929:7:43"},"referencedDeclaration":11063,"src":"8929:7:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":5159,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"8957:12:43","nodeType":"VariableDeclaration","scope":5187,"src":"8949:20:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":5158,"name":"uint160","nodeType":"ElementaryTypeName","src":"8949:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"8915:55:43"},"returnParameters":{"id":5164,"nodeType":"ParameterList","parameters":[],"src":"8997:0:43"},"scope":5805,"src":"8890:283:43","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5226,"nodeType":"Block","src":"9403:180:43","statements":[{"condition":{"arguments":[{"id":5206,"name":"AFTER_INITIALIZE_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4701,"src":"9436:21:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5204,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5191,"src":"9417:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5205,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9422:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"9417:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5207,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9417:41:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5225,"nodeType":"IfStatement","src":"9413:164:43","trueBody":{"id":5224,"nodeType":"Block","src":"9460:117:43","statements":[{"expression":{"arguments":[{"arguments":[{"expression":{"id":5213,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"9503:6:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IHooks_$3618_$","typeString":"type(contract IHooks)"}},"id":5214,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9510:15:43","memberName":"afterInitialize","nodeType":"MemberAccess","referencedDeclaration":3459,"src":"9503:22:43","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_uint160_$_t_int24_$returns$_t_bytes4_$","typeString":"function IHooks.afterInitialize(address,struct PoolKey calldata,uint160,int24) returns (bytes4)"}},{"components":[{"expression":{"id":5215,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"9528:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5216,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9532:6:43","memberName":"sender","nodeType":"MemberAccess","src":"9528:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5217,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5194,"src":"9540:3:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":5218,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5196,"src":"9545:12:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":5219,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5198,"src":"9559:4:43","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":5220,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9527:37:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint160_$_t_int24_$","typeString":"tuple(address,struct PoolKey memory,uint160,int24)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_uint160_$_t_int24_$returns$_t_bytes4_$","typeString":"function IHooks.afterInitialize(address,struct PoolKey calldata,uint160,int24) returns (bytes4)"},{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint160_$_t_int24_$","typeString":"tuple(address,struct PoolKey memory,uint160,int24)"}],"expression":{"id":5211,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"9488:3:43","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5212,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9492:10:43","memberName":"encodeCall","nodeType":"MemberAccess","src":"9488:14:43","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":5221,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9488:77:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5208,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5191,"src":"9474:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5210,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9479:8:43","memberName":"callHook","nodeType":"MemberAccess","referencedDeclaration":5091,"src":"9474:13:43","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,bytes memory) returns (bytes memory)"}},"id":5222,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9474:92:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5223,"nodeType":"ExpressionStatement","src":"9474:92:43"}]}}]},"documentation":{"id":5188,"nodeType":"StructuredDocumentation","src":"9179:81:43","text":"@notice calls afterInitialize hook if permissioned and validates return value"},"id":5227,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":5201,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5191,"src":"9393:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"id":5202,"kind":"modifierInvocation","modifierName":{"id":5200,"name":"noSelfCall","nameLocations":["9382:10:43"],"nodeType":"IdentifierPath","referencedDeclaration":5150,"src":"9382:10:43"},"nodeType":"ModifierInvocation","src":"9382:16:43"}],"name":"afterInitialize","nameLocation":"9274:15:43","nodeType":"FunctionDefinition","parameters":{"id":5199,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5191,"mutability":"mutable","name":"self","nameLocation":"9297:4:43","nodeType":"VariableDeclaration","scope":5227,"src":"9290:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":5190,"nodeType":"UserDefinedTypeName","pathNode":{"id":5189,"name":"IHooks","nameLocations":["9290:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"9290:6:43"},"referencedDeclaration":3618,"src":"9290:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":5194,"mutability":"mutable","name":"key","nameLocation":"9318:3:43","nodeType":"VariableDeclaration","scope":5227,"src":"9303:18:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":5193,"nodeType":"UserDefinedTypeName","pathNode":{"id":5192,"name":"PoolKey","nameLocations":["9303:7:43"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"9303:7:43"},"referencedDeclaration":11063,"src":"9303:7:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":5196,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"9331:12:43","nodeType":"VariableDeclaration","scope":5227,"src":"9323:20:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":5195,"name":"uint160","nodeType":"ElementaryTypeName","src":"9323:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":5198,"mutability":"mutable","name":"tick","nameLocation":"9351:4:43","nodeType":"VariableDeclaration","scope":5227,"src":"9345:10:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":5197,"name":"int24","nodeType":"ElementaryTypeName","src":"9345:5:43","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"9289:67:43"},"returnParameters":{"id":5203,"nodeType":"ParameterList","parameters":[],"src":"9403:0:43"},"scope":5805,"src":"9265:318:43","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5299,"nodeType":"Block","src":"9884:425:43","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":5253,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5248,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5245,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5237,"src":"9898:6:43","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},"id":5246,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9905:14:43","memberName":"liquidityDelta","nodeType":"MemberAccess","referencedDeclaration":3784,"src":"9898:21:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":5247,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9922:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"9898:25:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"arguments":[{"id":5251,"name":"BEFORE_ADD_LIQUIDITY_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4706,"src":"9946:25:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5249,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5231,"src":"9927:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5250,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9932:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"9927:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5252,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9927:45:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"9898:74:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":5279,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5274,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5271,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5237,"src":"10102:6:43","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},"id":5272,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"10109:14:43","memberName":"liquidityDelta","nodeType":"MemberAccess","referencedDeclaration":3784,"src":"10102:21:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"hexValue":"30","id":5273,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10127:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"10102:26:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"arguments":[{"id":5277,"name":"BEFORE_REMOVE_LIQUIDITY_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4716,"src":"10151:28:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5275,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5231,"src":"10132:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5276,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10137:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"10132:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5278,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10132:48:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"10102:78:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5297,"nodeType":"IfStatement","src":"10098:205:43","trueBody":{"id":5296,"nodeType":"Block","src":"10182:121:43","statements":[{"expression":{"arguments":[{"arguments":[{"expression":{"id":5285,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"10225:6:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IHooks_$3618_$","typeString":"type(contract IHooks)"}},"id":5286,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10232:21:43","memberName":"beforeRemoveLiquidity","nodeType":"MemberAccess","referencedDeclaration":3516,"src":"10225:28:43","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_struct$_ModifyLiquidityParams_$3787_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IHooks.beforeRemoveLiquidity(address,struct PoolKey calldata,struct IPoolManager.ModifyLiquidityParams calldata,bytes calldata) returns (bytes4)"}},{"components":[{"expression":{"id":5287,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"10256:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5288,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10260:6:43","memberName":"sender","nodeType":"MemberAccess","src":"10256:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5289,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5234,"src":"10268:3:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":5290,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5237,"src":"10273:6:43","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},{"id":5291,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5239,"src":"10281:8:43","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"id":5292,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"10255:35:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_ModifyLiquidityParams_$3787_memory_ptr_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,struct IPoolManager.ModifyLiquidityParams memory,bytes calldata)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_struct$_ModifyLiquidityParams_$3787_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IHooks.beforeRemoveLiquidity(address,struct PoolKey calldata,struct IPoolManager.ModifyLiquidityParams calldata,bytes calldata) returns (bytes4)"},{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_ModifyLiquidityParams_$3787_memory_ptr_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,struct IPoolManager.ModifyLiquidityParams memory,bytes calldata)"}],"expression":{"id":5283,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"10210:3:43","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5284,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10214:10:43","memberName":"encodeCall","nodeType":"MemberAccess","src":"10210:14:43","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":5293,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10210:81:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5280,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5231,"src":"10196:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5282,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10201:8:43","memberName":"callHook","nodeType":"MemberAccess","referencedDeclaration":5091,"src":"10196:13:43","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,bytes memory) returns (bytes memory)"}},"id":5294,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10196:96:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5295,"nodeType":"ExpressionStatement","src":"10196:96:43"}]}},"id":5298,"nodeType":"IfStatement","src":"9894:409:43","trueBody":{"id":5270,"nodeType":"Block","src":"9974:118:43","statements":[{"expression":{"arguments":[{"arguments":[{"expression":{"id":5259,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"10017:6:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IHooks_$3618_$","typeString":"type(contract IHooks)"}},"id":5260,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10024:18:43","memberName":"beforeAddLiquidity","nodeType":"MemberAccess","referencedDeclaration":3475,"src":"10017:25:43","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_struct$_ModifyLiquidityParams_$3787_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IHooks.beforeAddLiquidity(address,struct PoolKey calldata,struct IPoolManager.ModifyLiquidityParams calldata,bytes calldata) returns (bytes4)"}},{"components":[{"expression":{"id":5261,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"10045:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5262,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10049:6:43","memberName":"sender","nodeType":"MemberAccess","src":"10045:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5263,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5234,"src":"10057:3:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":5264,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5237,"src":"10062:6:43","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},{"id":5265,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5239,"src":"10070:8:43","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"id":5266,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"10044:35:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_ModifyLiquidityParams_$3787_memory_ptr_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,struct IPoolManager.ModifyLiquidityParams memory,bytes calldata)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_struct$_ModifyLiquidityParams_$3787_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IHooks.beforeAddLiquidity(address,struct PoolKey calldata,struct IPoolManager.ModifyLiquidityParams calldata,bytes calldata) returns (bytes4)"},{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_ModifyLiquidityParams_$3787_memory_ptr_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,struct IPoolManager.ModifyLiquidityParams memory,bytes calldata)"}],"expression":{"id":5257,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"10002:3:43","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5258,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10006:10:43","memberName":"encodeCall","nodeType":"MemberAccess","src":"10002:14:43","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":5267,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10002:78:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5254,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5231,"src":"9988:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5256,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9993:8:43","memberName":"callHook","nodeType":"MemberAccess","referencedDeclaration":5091,"src":"9988:13:43","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,bytes memory) returns (bytes memory)"}},"id":5268,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9988:93:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5269,"nodeType":"ExpressionStatement","src":"9988:93:43"}]}}]},"documentation":{"id":5228,"nodeType":"StructuredDocumentation","src":"9589:87:43","text":"@notice calls beforeModifyLiquidity hook if permissioned and validates return value"},"id":5300,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":5242,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5231,"src":"9878:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"id":5243,"kind":"modifierInvocation","modifierName":{"id":5241,"name":"noSelfCall","nameLocations":["9867:10:43"],"nodeType":"IdentifierPath","referencedDeclaration":5150,"src":"9867:10:43"},"nodeType":"ModifierInvocation","src":"9867:16:43"}],"name":"beforeModifyLiquidity","nameLocation":"9690:21:43","nodeType":"FunctionDefinition","parameters":{"id":5240,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5231,"mutability":"mutable","name":"self","nameLocation":"9728:4:43","nodeType":"VariableDeclaration","scope":5300,"src":"9721:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":5230,"nodeType":"UserDefinedTypeName","pathNode":{"id":5229,"name":"IHooks","nameLocations":["9721:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"9721:6:43"},"referencedDeclaration":3618,"src":"9721:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":5234,"mutability":"mutable","name":"key","nameLocation":"9757:3:43","nodeType":"VariableDeclaration","scope":5300,"src":"9742:18:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":5233,"nodeType":"UserDefinedTypeName","pathNode":{"id":5232,"name":"PoolKey","nameLocations":["9742:7:43"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"9742:7:43"},"referencedDeclaration":11063,"src":"9742:7:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":5237,"mutability":"mutable","name":"params","nameLocation":"9812:6:43","nodeType":"VariableDeclaration","scope":5300,"src":"9770:48:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"},"typeName":{"id":5236,"nodeType":"UserDefinedTypeName","pathNode":{"id":5235,"name":"IPoolManager.ModifyLiquidityParams","nameLocations":["9770:12:43","9783:21:43"],"nodeType":"IdentifierPath","referencedDeclaration":3787,"src":"9770:34:43"},"referencedDeclaration":3787,"src":"9770:34:43","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_storage_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"}},"visibility":"internal"},{"constant":false,"id":5239,"mutability":"mutable","name":"hookData","nameLocation":"9843:8:43","nodeType":"VariableDeclaration","scope":5300,"src":"9828:23:43","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":5238,"name":"bytes","nodeType":"ElementaryTypeName","src":"9828:5:43","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"9711:146:43"},"returnParameters":{"id":5244,"nodeType":"ParameterList","parameters":[],"src":"9884:0:43"},"scope":5805,"src":"9681:628:43","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5427,"nodeType":"Block","src":"10712:1265:43","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":5333,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5327,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"10726:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5328,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10730:6:43","memberName":"sender","nodeType":"MemberAccess","src":"10726:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"id":5331,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5304,"src":"10748:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":5330,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10740:7:43","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5329,"name":"address","nodeType":"ElementaryTypeName","src":"10740:7:43","typeDescriptions":{}}},"id":5332,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10740:13:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"10726:27:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5339,"nodeType":"IfStatement","src":"10722:79:43","trueBody":{"expression":{"components":[{"id":5334,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5313,"src":"10763:5:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"expression":{"id":5335,"name":"BalanceDeltaLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10661,"src":"10770:19:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_BalanceDeltaLibrary_$10661_$","typeString":"type(library BalanceDeltaLibrary)"}},"id":5336,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10790:10:43","memberName":"ZERO_DELTA","nodeType":"MemberAccess","referencedDeclaration":10640,"src":"10770:30:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":5337,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"10762:39:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"functionReturnParameters":5326,"id":5338,"nodeType":"Return","src":"10755:46:43"}},{"expression":{"id":5342,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5340,"name":"callerDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5322,"src":"10812:11:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":5341,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5313,"src":"10826:5:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"10812:19:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":5343,"nodeType":"ExpressionStatement","src":"10812:19:43"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5347,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5344,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5310,"src":"10845:6:43","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},"id":5345,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"10852:14:43","memberName":"liquidityDelta","nodeType":"MemberAccess","referencedDeclaration":3784,"src":"10845:21:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":5346,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10869:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"10845:25:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":5425,"nodeType":"Block","src":"11420:551:43","statements":[{"condition":{"arguments":[{"id":5389,"name":"AFTER_REMOVE_LIQUIDITY_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4721,"src":"11457:27:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5387,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5304,"src":"11438:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5388,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11443:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"11438:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5390,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11438:47:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5424,"nodeType":"IfStatement","src":"11434:527:43","trueBody":{"id":5423,"nodeType":"Block","src":"11487:474:43","statements":[{"expression":{"id":5415,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5391,"name":"hookDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5325,"src":"11505:9:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"arguments":[{"expression":{"id":5398,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"11654:6:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IHooks_$3618_$","typeString":"type(contract IHooks)"}},"id":5399,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11661:20:43","memberName":"afterRemoveLiquidity","nodeType":"MemberAccess","referencedDeclaration":3541,"src":"11654:27:43","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_struct$_ModifyLiquidityParams_$3787_calldata_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function IHooks.afterRemoveLiquidity(address,struct PoolKey calldata,struct IPoolManager.ModifyLiquidityParams calldata,BalanceDelta,BalanceDelta,bytes calldata) returns (bytes4,BalanceDelta)"}},{"components":[{"expression":{"id":5400,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"11684:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5401,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11688:6:43","memberName":"sender","nodeType":"MemberAccess","src":"11684:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5402,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5307,"src":"11696:3:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":5403,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5310,"src":"11701:6:43","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},{"id":5404,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5313,"src":"11709:5:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":5405,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5316,"src":"11716:11:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":5406,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5318,"src":"11729:8:43","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"id":5407,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11683:55:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_ModifyLiquidityParams_$3787_memory_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,struct IPoolManager.ModifyLiquidityParams memory,BalanceDelta,BalanceDelta,bytes calldata)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_struct$_ModifyLiquidityParams_$3787_calldata_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function IHooks.afterRemoveLiquidity(address,struct PoolKey calldata,struct IPoolManager.ModifyLiquidityParams calldata,BalanceDelta,BalanceDelta,bytes calldata) returns (bytes4,BalanceDelta)"},{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_ModifyLiquidityParams_$3787_memory_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,struct IPoolManager.ModifyLiquidityParams memory,BalanceDelta,BalanceDelta,bytes calldata)"}],"expression":{"id":5396,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"11610:3:43","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5397,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11614:10:43","memberName":"encodeCall","nodeType":"MemberAccess","src":"11610:14:43","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":5408,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11610:154:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"arguments":[{"id":5411,"name":"AFTER_REMOVE_LIQUIDITY_RETURNS_DELTA_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4761,"src":"11809:41:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5409,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5304,"src":"11790:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5410,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11795:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"11790:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5412,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11790:61:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":5394,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5304,"src":"11556:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5395,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11561:23:43","memberName":"callHookWithReturnDelta","nodeType":"MemberAccess","referencedDeclaration":5133,"src":"11556:28:43","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_bytes_memory_ptr_$_t_bool_$returns$_t_int256_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,bytes memory,bool) returns (int256)"}},"id":5413,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11556:317:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"expression":{"id":5392,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"11517:12:43","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"type(BalanceDelta)"}},"id":5393,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11530:4:43","memberName":"wrap","nodeType":"MemberAccess","src":"11517:17:43","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_int256_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int256) pure returns (BalanceDelta)"}},"id":5414,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11517:374:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"11505:386:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":5416,"nodeType":"ExpressionStatement","src":"11505:386:43"},{"expression":{"id":5421,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5417,"name":"callerDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5322,"src":"11909:11:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"function":10587,"id":5420,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5418,"name":"callerDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5322,"src":"11923:11:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":5419,"name":"hookDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5325,"src":"11937:9:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"11923:23:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"11909:37:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":5422,"nodeType":"ExpressionStatement","src":"11909:37:43"}]}}]},"id":5426,"nodeType":"IfStatement","src":"10841:1130:43","trueBody":{"id":5386,"nodeType":"Block","src":"10872:542:43","statements":[{"condition":{"arguments":[{"id":5350,"name":"AFTER_ADD_LIQUIDITY_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4711,"src":"10909:24:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5348,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5304,"src":"10890:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5349,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10895:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"10890:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5351,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10890:44:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5385,"nodeType":"IfStatement","src":"10886:518:43","trueBody":{"id":5384,"nodeType":"Block","src":"10936:468:43","statements":[{"expression":{"id":5376,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5352,"name":"hookDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5325,"src":"10954:9:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"arguments":[{"expression":{"id":5359,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"11103:6:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IHooks_$3618_$","typeString":"type(contract IHooks)"}},"id":5360,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11110:17:43","memberName":"afterAddLiquidity","nodeType":"MemberAccess","referencedDeclaration":3500,"src":"11103:24:43","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_struct$_ModifyLiquidityParams_$3787_calldata_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function IHooks.afterAddLiquidity(address,struct PoolKey calldata,struct IPoolManager.ModifyLiquidityParams calldata,BalanceDelta,BalanceDelta,bytes calldata) returns (bytes4,BalanceDelta)"}},{"components":[{"expression":{"id":5361,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"11130:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5362,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11134:6:43","memberName":"sender","nodeType":"MemberAccess","src":"11130:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5363,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5307,"src":"11142:3:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":5364,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5310,"src":"11147:6:43","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},{"id":5365,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5313,"src":"11155:5:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":5366,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5316,"src":"11162:11:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":5367,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5318,"src":"11175:8:43","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"id":5368,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11129:55:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_ModifyLiquidityParams_$3787_memory_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,struct IPoolManager.ModifyLiquidityParams memory,BalanceDelta,BalanceDelta,bytes calldata)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_struct$_ModifyLiquidityParams_$3787_calldata_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function IHooks.afterAddLiquidity(address,struct PoolKey calldata,struct IPoolManager.ModifyLiquidityParams calldata,BalanceDelta,BalanceDelta,bytes calldata) returns (bytes4,BalanceDelta)"},{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_ModifyLiquidityParams_$3787_memory_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,struct IPoolManager.ModifyLiquidityParams memory,BalanceDelta,BalanceDelta,bytes calldata)"}],"expression":{"id":5357,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"11059:3:43","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5358,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11063:10:43","memberName":"encodeCall","nodeType":"MemberAccess","src":"11059:14:43","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":5369,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11059:151:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"arguments":[{"id":5372,"name":"AFTER_ADD_LIQUIDITY_RETURNS_DELTA_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4756,"src":"11255:38:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5370,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5304,"src":"11236:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5371,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11241:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"11236:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5373,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11236:58:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":5355,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5304,"src":"11005:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5356,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11010:23:43","memberName":"callHookWithReturnDelta","nodeType":"MemberAccess","referencedDeclaration":5133,"src":"11005:28:43","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_bytes_memory_ptr_$_t_bool_$returns$_t_int256_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,bytes memory,bool) returns (int256)"}},"id":5374,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11005:311:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"expression":{"id":5353,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"10966:12:43","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"type(BalanceDelta)"}},"id":5354,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10979:4:43","memberName":"wrap","nodeType":"MemberAccess","src":"10966:17:43","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_int256_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int256) pure returns (BalanceDelta)"}},"id":5375,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10966:368:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"10954:380:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":5377,"nodeType":"ExpressionStatement","src":"10954:380:43"},{"expression":{"id":5382,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5378,"name":"callerDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5322,"src":"11352:11:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"function":10587,"id":5381,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5379,"name":"callerDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5322,"src":"11366:11:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":5380,"name":"hookDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5325,"src":"11380:9:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"11366:23:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"11352:37:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":5383,"nodeType":"ExpressionStatement","src":"11352:37:43"}]}}]}}]},"documentation":{"id":5301,"nodeType":"StructuredDocumentation","src":"10315:86:43","text":"@notice calls afterModifyLiquidity hook if permissioned and validates return value"},"id":5428,"implemented":true,"kind":"function","modifiers":[],"name":"afterModifyLiquidity","nameLocation":"10415:20:43","nodeType":"FunctionDefinition","parameters":{"id":5319,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5304,"mutability":"mutable","name":"self","nameLocation":"10452:4:43","nodeType":"VariableDeclaration","scope":5428,"src":"10445:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":5303,"nodeType":"UserDefinedTypeName","pathNode":{"id":5302,"name":"IHooks","nameLocations":["10445:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"10445:6:43"},"referencedDeclaration":3618,"src":"10445:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":5307,"mutability":"mutable","name":"key","nameLocation":"10481:3:43","nodeType":"VariableDeclaration","scope":5428,"src":"10466:18:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":5306,"nodeType":"UserDefinedTypeName","pathNode":{"id":5305,"name":"PoolKey","nameLocations":["10466:7:43"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"10466:7:43"},"referencedDeclaration":11063,"src":"10466:7:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":5310,"mutability":"mutable","name":"params","nameLocation":"10536:6:43","nodeType":"VariableDeclaration","scope":5428,"src":"10494:48:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"},"typeName":{"id":5309,"nodeType":"UserDefinedTypeName","pathNode":{"id":5308,"name":"IPoolManager.ModifyLiquidityParams","nameLocations":["10494:12:43","10507:21:43"],"nodeType":"IdentifierPath","referencedDeclaration":3787,"src":"10494:34:43"},"referencedDeclaration":3787,"src":"10494:34:43","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_storage_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"}},"visibility":"internal"},{"constant":false,"id":5313,"mutability":"mutable","name":"delta","nameLocation":"10565:5:43","nodeType":"VariableDeclaration","scope":5428,"src":"10552:18:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":5312,"nodeType":"UserDefinedTypeName","pathNode":{"id":5311,"name":"BalanceDelta","nameLocations":["10552:12:43"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"10552:12:43"},"referencedDeclaration":10503,"src":"10552:12:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":5316,"mutability":"mutable","name":"feesAccrued","nameLocation":"10593:11:43","nodeType":"VariableDeclaration","scope":5428,"src":"10580:24:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":5315,"nodeType":"UserDefinedTypeName","pathNode":{"id":5314,"name":"BalanceDelta","nameLocations":["10580:12:43"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"10580:12:43"},"referencedDeclaration":10503,"src":"10580:12:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":5318,"mutability":"mutable","name":"hookData","nameLocation":"10629:8:43","nodeType":"VariableDeclaration","scope":5428,"src":"10614:23:43","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":5317,"name":"bytes","nodeType":"ElementaryTypeName","src":"10614:5:43","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"10435:208:43"},"returnParameters":{"id":5326,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5322,"mutability":"mutable","name":"callerDelta","nameLocation":"10675:11:43","nodeType":"VariableDeclaration","scope":5428,"src":"10662:24:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":5321,"nodeType":"UserDefinedTypeName","pathNode":{"id":5320,"name":"BalanceDelta","nameLocations":["10662:12:43"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"10662:12:43"},"referencedDeclaration":10503,"src":"10662:12:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":5325,"mutability":"mutable","name":"hookDelta","nameLocation":"10701:9:43","nodeType":"VariableDeclaration","scope":5428,"src":"10688:22:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":5324,"nodeType":"UserDefinedTypeName","pathNode":{"id":5323,"name":"BalanceDelta","nameLocations":["10688:12:43"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"10688:12:43"},"referencedDeclaration":10503,"src":"10688:12:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"10661:50:43"},"scope":5805,"src":"10406:1571:43","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5568,"nodeType":"Block","src":"12290:1754:43","statements":[{"expression":{"id":5453,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5450,"name":"amountToSwap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5443,"src":"12300:12:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":5451,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5438,"src":"12315:6:43","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"}},"id":5452,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12322:15:43","memberName":"amountSpecified","nodeType":"MemberAccess","referencedDeclaration":3811,"src":"12315:22:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"12300:37:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":5454,"nodeType":"ExpressionStatement","src":"12300:37:43"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":5461,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5455,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"12351:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5456,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12355:6:43","memberName":"sender","nodeType":"MemberAccess","src":"12351:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"id":5459,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5432,"src":"12373:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":5458,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12365:7:43","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5457,"name":"address","nodeType":"ElementaryTypeName","src":"12365:7:43","typeDescriptions":{}}},"id":5460,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12365:13:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"12351:27:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5468,"nodeType":"IfStatement","src":"12347:104:43","trueBody":{"expression":{"components":[{"id":5462,"name":"amountToSwap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5443,"src":"12388:12:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"expression":{"id":5463,"name":"BeforeSwapDeltaLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10709,"src":"12402:22:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_BeforeSwapDeltaLibrary_$10709_$","typeString":"type(library BeforeSwapDeltaLibrary)"}},"id":5464,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12425:10:43","memberName":"ZERO_DELTA","nodeType":"MemberAccess","referencedDeclaration":10686,"src":"12402:33:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},{"id":5465,"name":"lpFeeOverride","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5448,"src":"12437:13:43","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"id":5466,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"12387:64:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int256_$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$_t_uint24_$","typeString":"tuple(int256,BeforeSwapDelta,uint24)"}},"functionReturnParameters":5449,"id":5467,"nodeType":"Return","src":"12380:71:43"}},{"condition":{"arguments":[{"id":5471,"name":"BEFORE_SWAP_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4726,"src":"12485:16:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5469,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5432,"src":"12466:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5470,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12471:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"12466:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5472,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12466:36:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5567,"nodeType":"IfStatement","src":"12462:1576:43","trueBody":{"id":5566,"nodeType":"Block","src":"12504:1534:43","statements":[{"assignments":[5474],"declarations":[{"constant":false,"id":5474,"mutability":"mutable","name":"result","nameLocation":"12531:6:43","nodeType":"VariableDeclaration","scope":5566,"src":"12518:19:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5473,"name":"bytes","nodeType":"ElementaryTypeName","src":"12518:5:43","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":5489,"initialValue":{"arguments":[{"id":5476,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5432,"src":"12549:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},{"arguments":[{"expression":{"id":5479,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"12570:6:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IHooks_$3618_$","typeString":"type(contract IHooks)"}},"id":5480,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12577:10:43","memberName":"beforeSwap","nodeType":"MemberAccess","referencedDeclaration":3562,"src":"12570:17:43","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_struct$_SwapParams_$3815_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$_t_uint24_$","typeString":"function IHooks.beforeSwap(address,struct PoolKey calldata,struct IPoolManager.SwapParams calldata,bytes calldata) returns (bytes4,BeforeSwapDelta,uint24)"}},{"components":[{"expression":{"id":5481,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"12590:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5482,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12594:6:43","memberName":"sender","nodeType":"MemberAccess","src":"12590:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5483,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5435,"src":"12602:3:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":5484,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5438,"src":"12607:6:43","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"}},{"id":5485,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5440,"src":"12615:8:43","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"id":5486,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"12589:35:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_SwapParams_$3815_memory_ptr_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,struct IPoolManager.SwapParams memory,bytes calldata)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_struct$_SwapParams_$3815_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$_t_uint24_$","typeString":"function IHooks.beforeSwap(address,struct PoolKey calldata,struct IPoolManager.SwapParams calldata,bytes calldata) returns (bytes4,BeforeSwapDelta,uint24)"},{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_SwapParams_$3815_memory_ptr_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,struct IPoolManager.SwapParams memory,bytes calldata)"}],"expression":{"id":5477,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"12555:3:43","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5478,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12559:10:43","memberName":"encodeCall","nodeType":"MemberAccess","src":"12555:14:43","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":5487,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12555:70:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":5475,"name":"callHook","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5091,"src":"12540:8:43","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (contract IHooks,bytes memory) returns (bytes memory)"}},"id":5488,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12540:86:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"12518:108:43"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5493,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5490,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5474,"src":"12744:6:43","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5491,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12751:6:43","memberName":"length","nodeType":"MemberAccess","src":"12744:13:43","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"3936","id":5492,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12761:2:43","typeDescriptions":{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},"value":"96"},"src":"12744:19:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5501,"nodeType":"IfStatement","src":"12740:66:43","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":5494,"name":"InvalidHookResponse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4798,"src":"12765:19:43","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":5497,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12785:8:43","memberName":"selector","nodeType":"MemberAccess","src":"12765:28:43","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":5498,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12794:10:43","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"12765:39:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":5499,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12765:41:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5500,"nodeType":"ExpressionStatement","src":"12765:41:43"}},{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":5502,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5435,"src":"13080:3:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":5503,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"13084:3:43","memberName":"fee","nodeType":"MemberAccess","referencedDeclaration":11055,"src":"13080:7:43","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":5504,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13088:12:43","memberName":"isDynamicFee","nodeType":"MemberAccess","referencedDeclaration":5850,"src":"13080:20:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$_t_bool_$attached_to$_t_uint24_$","typeString":"function (uint24) pure returns (bool)"}},"id":5505,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13080:22:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5512,"nodeType":"IfStatement","src":"13076:61:43","trueBody":{"expression":{"id":5510,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5506,"name":"lpFeeOverride","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5448,"src":"13104:13:43","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5507,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5474,"src":"13120:6:43","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5508,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13127:8:43","memberName":"parseFee","nodeType":"MemberAccess","referencedDeclaration":6040,"src":"13120:15:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint24_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (uint24)"}},"id":5509,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13120:17:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"13104:33:43","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":5511,"nodeType":"ExpressionStatement","src":"13104:33:43"}},{"condition":{"arguments":[{"id":5515,"name":"BEFORE_SWAP_RETURNS_DELTA_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4746,"src":"13246:30:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5513,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5432,"src":"13227:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5514,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13232:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"13227:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5516,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13227:50:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5565,"nodeType":"IfStatement","src":"13223:805:43","trueBody":{"id":5564,"nodeType":"Block","src":"13279:749:43","statements":[{"expression":{"id":5524,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5517,"name":"hookReturn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5446,"src":"13297:10:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5520,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5474,"src":"13331:6:43","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5521,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13338:16:43","memberName":"parseReturnDelta","nodeType":"MemberAccess","referencedDeclaration":6049,"src":"13331:23:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_int256_$attached_to$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (int256)"}},"id":5522,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13331:25:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"expression":{"id":5518,"name":"BeforeSwapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10665,"src":"13310:15:43","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$","typeString":"type(BeforeSwapDelta)"}},"id":5519,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13326:4:43","memberName":"wrap","nodeType":"MemberAccess","src":"13310:20:43","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_int256_$returns$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$","typeString":"function (int256) pure returns (BeforeSwapDelta)"}},"id":5523,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13310:47:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"src":"13297:60:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"id":5525,"nodeType":"ExpressionStatement","src":"13297:60:43"},{"assignments":[5527],"declarations":[{"constant":false,"id":5527,"mutability":"mutable","name":"hookDeltaSpecified","nameLocation":"13473:18:43","nodeType":"VariableDeclaration","scope":5564,"src":"13466:25:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":5526,"name":"int128","nodeType":"ElementaryTypeName","src":"13466:6:43","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"id":5531,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5528,"name":"hookReturn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5446,"src":"13494:10:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"id":5529,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13505:17:43","memberName":"getSpecifiedDelta","nodeType":"MemberAccess","referencedDeclaration":10697,"src":"13494:28:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$","typeString":"function (BeforeSwapDelta) pure returns (int128)"}},"id":5530,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13494:30:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"VariableDeclarationStatement","src":"13466:58:43"},{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":5534,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5532,"name":"hookDeltaSpecified","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5527,"src":"13686:18:43","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":5533,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13708:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"13686:23:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5563,"nodeType":"IfStatement","src":"13682:332:43","trueBody":{"id":5562,"nodeType":"Block","src":"13711:303:43","statements":[{"assignments":[5536],"declarations":[{"constant":false,"id":5536,"mutability":"mutable","name":"exactInput","nameLocation":"13738:10:43","nodeType":"VariableDeclaration","scope":5562,"src":"13733:15:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5535,"name":"bool","nodeType":"ElementaryTypeName","src":"13733:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":5540,"initialValue":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5539,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5537,"name":"amountToSwap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5443,"src":"13751:12:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":5538,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13766:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"13751:16:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"13733:34:43"},{"expression":{"id":5543,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5541,"name":"amountToSwap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5443,"src":"13789:12:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":5542,"name":"hookDeltaSpecified","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5527,"src":"13805:18:43","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"13789:34:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":5544,"nodeType":"ExpressionStatement","src":"13789:34:43"},{"condition":{"condition":{"id":5545,"name":"exactInput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5536,"src":"13849:10:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5551,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5549,"name":"amountToSwap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5443,"src":"13881:12:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":5550,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13896:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"13881:16:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5552,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"13849:48:43","trueExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5548,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5546,"name":"amountToSwap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5443,"src":"13862:12:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":5547,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13877:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"13862:16:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5561,"nodeType":"IfStatement","src":"13845:151:43","trueBody":{"id":5560,"nodeType":"Block","src":"13899:97:43","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":5553,"name":"HookDeltaExceedsSwapAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4804,"src":"13925:26:43","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":5556,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13952:8:43","memberName":"selector","nodeType":"MemberAccess","src":"13925:35:43","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":5557,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13961:10:43","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"13925:46:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":5558,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13925:48:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5559,"nodeType":"ExpressionStatement","src":"13925:48:43"}]}}]}}]}}]}}]},"documentation":{"id":5429,"nodeType":"StructuredDocumentation","src":"11983:76:43","text":"@notice calls beforeSwap hook if permissioned and validates return value"},"id":5569,"implemented":true,"kind":"function","modifiers":[],"name":"beforeSwap","nameLocation":"12073:10:43","nodeType":"FunctionDefinition","parameters":{"id":5441,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5432,"mutability":"mutable","name":"self","nameLocation":"12091:4:43","nodeType":"VariableDeclaration","scope":5569,"src":"12084:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":5431,"nodeType":"UserDefinedTypeName","pathNode":{"id":5430,"name":"IHooks","nameLocations":["12084:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"12084:6:43"},"referencedDeclaration":3618,"src":"12084:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":5435,"mutability":"mutable","name":"key","nameLocation":"12112:3:43","nodeType":"VariableDeclaration","scope":5569,"src":"12097:18:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":5434,"nodeType":"UserDefinedTypeName","pathNode":{"id":5433,"name":"PoolKey","nameLocations":["12097:7:43"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"12097:7:43"},"referencedDeclaration":11063,"src":"12097:7:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":5438,"mutability":"mutable","name":"params","nameLocation":"12148:6:43","nodeType":"VariableDeclaration","scope":5569,"src":"12117:37:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams"},"typeName":{"id":5437,"nodeType":"UserDefinedTypeName","pathNode":{"id":5436,"name":"IPoolManager.SwapParams","nameLocations":["12117:12:43","12130:10:43"],"nodeType":"IdentifierPath","referencedDeclaration":3815,"src":"12117:23:43"},"referencedDeclaration":3815,"src":"12117:23:43","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_storage_ptr","typeString":"struct IPoolManager.SwapParams"}},"visibility":"internal"},{"constant":false,"id":5440,"mutability":"mutable","name":"hookData","nameLocation":"12171:8:43","nodeType":"VariableDeclaration","scope":5569,"src":"12156:23:43","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":5439,"name":"bytes","nodeType":"ElementaryTypeName","src":"12156:5:43","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"12083:97:43"},"returnParameters":{"id":5449,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5443,"mutability":"mutable","name":"amountToSwap","nameLocation":"12222:12:43","nodeType":"VariableDeclaration","scope":5569,"src":"12215:19:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5442,"name":"int256","nodeType":"ElementaryTypeName","src":"12215:6:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":5446,"mutability":"mutable","name":"hookReturn","nameLocation":"12252:10:43","nodeType":"VariableDeclaration","scope":5569,"src":"12236:26:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"},"typeName":{"id":5445,"nodeType":"UserDefinedTypeName","pathNode":{"id":5444,"name":"BeforeSwapDelta","nameLocations":["12236:15:43"],"nodeType":"IdentifierPath","referencedDeclaration":10665,"src":"12236:15:43"},"referencedDeclaration":10665,"src":"12236:15:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"visibility":"internal"},{"constant":false,"id":5448,"mutability":"mutable","name":"lpFeeOverride","nameLocation":"12271:13:43","nodeType":"VariableDeclaration","scope":5569,"src":"12264:20:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5447,"name":"uint24","nodeType":"ElementaryTypeName","src":"12264:6:43","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"12214:71:43"},"scope":5805,"src":"12064:1980:43","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5694,"nodeType":"Block","src":"14408:1073:43","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":5602,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5596,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"14422:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5597,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14426:6:43","memberName":"sender","nodeType":"MemberAccess","src":"14422:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"id":5600,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5573,"src":"14444:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":5599,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14436:7:43","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5598,"name":"address","nodeType":"ElementaryTypeName","src":"14436:7:43","typeDescriptions":{}}},"id":5601,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14436:13:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"14422:27:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5608,"nodeType":"IfStatement","src":"14418:83:43","trueBody":{"expression":{"components":[{"id":5603,"name":"swapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5582,"src":"14459:9:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"expression":{"id":5604,"name":"BalanceDeltaLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10661,"src":"14470:19:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_BalanceDeltaLibrary_$10661_$","typeString":"type(library BalanceDeltaLibrary)"}},"id":5605,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14490:10:43","memberName":"ZERO_DELTA","nodeType":"MemberAccess","referencedDeclaration":10640,"src":"14470:30:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":5606,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"14458:43:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"functionReturnParameters":5595,"id":5607,"nodeType":"Return","src":"14451:50:43"}},{"assignments":[5610],"declarations":[{"constant":false,"id":5610,"mutability":"mutable","name":"hookDeltaSpecified","nameLocation":"14519:18:43","nodeType":"VariableDeclaration","scope":5694,"src":"14512:25:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":5609,"name":"int128","nodeType":"ElementaryTypeName","src":"14512:6:43","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"id":5614,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5611,"name":"beforeSwapHookReturn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5587,"src":"14540:20:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"id":5612,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14561:17:43","memberName":"getSpecifiedDelta","nodeType":"MemberAccess","referencedDeclaration":10697,"src":"14540:38:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$","typeString":"function (BeforeSwapDelta) pure returns (int128)"}},"id":5613,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14540:40:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"VariableDeclarationStatement","src":"14512:68:43"},{"assignments":[5616],"declarations":[{"constant":false,"id":5616,"mutability":"mutable","name":"hookDeltaUnspecified","nameLocation":"14597:20:43","nodeType":"VariableDeclaration","scope":5694,"src":"14590:27:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":5615,"name":"int128","nodeType":"ElementaryTypeName","src":"14590:6:43","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"id":5620,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5617,"name":"beforeSwapHookReturn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5587,"src":"14620:20:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"id":5618,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14641:19:43","memberName":"getUnspecifiedDelta","nodeType":"MemberAccess","referencedDeclaration":10708,"src":"14620:40:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$","typeString":"function (BeforeSwapDelta) pure returns (int128)"}},"id":5619,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14620:42:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"VariableDeclarationStatement","src":"14590:72:43"},{"condition":{"arguments":[{"id":5623,"name":"AFTER_SWAP_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4731,"src":"14696:15:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5621,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5573,"src":"14677:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5622,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14682:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"14677:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5624,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14677:35:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5650,"nodeType":"IfStatement","src":"14673:308:43","trueBody":{"id":5649,"nodeType":"Block","src":"14714:267:43","statements":[{"expression":{"id":5647,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5625,"name":"hookDeltaUnspecified","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5616,"src":"14728:20:43","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"arguments":[{"expression":{"id":5630,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"14813:6:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IHooks_$3618_$","typeString":"type(contract IHooks)"}},"id":5631,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14820:9:43","memberName":"afterSwap","nodeType":"MemberAccess","referencedDeclaration":3583,"src":"14813:16:43","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_struct$_SwapParams_$3815_calldata_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_int128_$","typeString":"function IHooks.afterSwap(address,struct PoolKey calldata,struct IPoolManager.SwapParams calldata,BalanceDelta,bytes calldata) returns (bytes4,int128)"}},{"components":[{"expression":{"id":5632,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"14832:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5633,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14836:6:43","memberName":"sender","nodeType":"MemberAccess","src":"14832:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5634,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5576,"src":"14844:3:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":5635,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5579,"src":"14849:6:43","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"}},{"id":5636,"name":"swapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5582,"src":"14857:9:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":5637,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5584,"src":"14868:8:43","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"id":5638,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"14831:46:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_SwapParams_$3815_memory_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,struct IPoolManager.SwapParams memory,BalanceDelta,bytes calldata)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_struct$_SwapParams_$3815_calldata_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_int128_$","typeString":"function IHooks.afterSwap(address,struct PoolKey calldata,struct IPoolManager.SwapParams calldata,BalanceDelta,bytes calldata) returns (bytes4,int128)"},{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_SwapParams_$3815_memory_ptr_$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,struct IPoolManager.SwapParams memory,BalanceDelta,bytes calldata)"}],"expression":{"id":5628,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"14798:3:43","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5629,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14802:10:43","memberName":"encodeCall","nodeType":"MemberAccess","src":"14798:14:43","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":5639,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14798:80:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"arguments":[{"id":5642,"name":"AFTER_SWAP_RETURNS_DELTA_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4751,"src":"14915:29:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5640,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5573,"src":"14896:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5641,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14901:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"14896:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5643,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14896:49:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":5626,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5573,"src":"14752:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5627,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14757:23:43","memberName":"callHookWithReturnDelta","nodeType":"MemberAccess","referencedDeclaration":5133,"src":"14752:28:43","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_bytes_memory_ptr_$_t_bool_$returns$_t_int256_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,bytes memory,bool) returns (int256)"}},"id":5644,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14752:207:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":5645,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14960:8:43","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"14752:216:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":5646,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14752:218:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"14728:242:43","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":5648,"nodeType":"ExpressionStatement","src":"14728:242:43"}]}},{"assignments":[5653],"declarations":[{"constant":false,"id":5653,"mutability":"mutable","name":"hookDelta","nameLocation":"15004:9:43","nodeType":"VariableDeclaration","scope":5694,"src":"14991:22:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":5652,"nodeType":"UserDefinedTypeName","pathNode":{"id":5651,"name":"BalanceDelta","nameLocations":["14991:12:43"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"14991:12:43"},"referencedDeclaration":10503,"src":"14991:12:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"id":5654,"nodeType":"VariableDeclarationStatement","src":"14991:22:43"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":5661,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":5657,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5655,"name":"hookDeltaUnspecified","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5616,"src":"15027:20:43","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":5656,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15051:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"15027:25:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":5660,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5658,"name":"hookDeltaSpecified","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5610,"src":"15056:18:43","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":5659,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15078:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"15056:23:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"15027:52:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5689,"nodeType":"IfStatement","src":"15023:413:43","trueBody":{"id":5688,"nodeType":"Block","src":"15081:355:43","statements":[{"expression":{"id":5680,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5662,"name":"hookDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5653,"src":"15095:9:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":5669,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5666,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5663,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5579,"src":"15108:6:43","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"}},"id":5664,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15115:15:43","memberName":"amountSpecified","nodeType":"MemberAccess","referencedDeclaration":3811,"src":"15108:22:43","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":5665,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15133:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"15108:26:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":5667,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5579,"src":"15138:6:43","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"}},"id":5668,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15145:10:43","memberName":"zeroForOne","nodeType":"MemberAccess","referencedDeclaration":3808,"src":"15138:17:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"15108:47:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":5670,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"15107:49:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":5676,"name":"hookDeltaUnspecified","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5616,"src":"15265:20:43","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"id":5677,"name":"hookDeltaSpecified","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5610,"src":"15287:18:43","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"id":5675,"name":"toBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10529,"src":"15250:14:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$_t_int128_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int128,int128) pure returns (BalanceDelta)"}},"id":5678,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15250:56:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":5679,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"15107:199:43","trueExpression":{"arguments":[{"id":5672,"name":"hookDeltaSpecified","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5610,"src":"15190:18:43","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"id":5673,"name":"hookDeltaUnspecified","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5616,"src":"15210:20:43","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"id":5671,"name":"toBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10529,"src":"15175:14:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$_t_int128_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int128,int128) pure returns (BalanceDelta)"}},"id":5674,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15175:56:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"15095:211:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":5681,"nodeType":"ExpressionStatement","src":"15095:211:43"},{"expression":{"id":5686,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5682,"name":"swapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5582,"src":"15392:9:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"function":10587,"id":5685,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5683,"name":"swapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5582,"src":"15404:9:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":5684,"name":"hookDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5653,"src":"15416:9:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"15404:21:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"15392:33:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":5687,"nodeType":"ExpressionStatement","src":"15392:33:43"}]}},{"expression":{"components":[{"id":5690,"name":"swapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5582,"src":"15453:9:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":5691,"name":"hookDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5653,"src":"15464:9:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":5692,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"15452:22:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"functionReturnParameters":5595,"id":5693,"nodeType":"Return","src":"15445:29:43"}]},"documentation":{"id":5570,"nodeType":"StructuredDocumentation","src":"14050:75:43","text":"@notice calls afterSwap hook if permissioned and validates return value"},"id":5695,"implemented":true,"kind":"function","modifiers":[],"name":"afterSwap","nameLocation":"14139:9:43","nodeType":"FunctionDefinition","parameters":{"id":5588,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5573,"mutability":"mutable","name":"self","nameLocation":"14165:4:43","nodeType":"VariableDeclaration","scope":5695,"src":"14158:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":5572,"nodeType":"UserDefinedTypeName","pathNode":{"id":5571,"name":"IHooks","nameLocations":["14158:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"14158:6:43"},"referencedDeclaration":3618,"src":"14158:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":5576,"mutability":"mutable","name":"key","nameLocation":"14194:3:43","nodeType":"VariableDeclaration","scope":5695,"src":"14179:18:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":5575,"nodeType":"UserDefinedTypeName","pathNode":{"id":5574,"name":"PoolKey","nameLocations":["14179:7:43"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"14179:7:43"},"referencedDeclaration":11063,"src":"14179:7:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":5579,"mutability":"mutable","name":"params","nameLocation":"14238:6:43","nodeType":"VariableDeclaration","scope":5695,"src":"14207:37:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams"},"typeName":{"id":5578,"nodeType":"UserDefinedTypeName","pathNode":{"id":5577,"name":"IPoolManager.SwapParams","nameLocations":["14207:12:43","14220:10:43"],"nodeType":"IdentifierPath","referencedDeclaration":3815,"src":"14207:23:43"},"referencedDeclaration":3815,"src":"14207:23:43","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_storage_ptr","typeString":"struct IPoolManager.SwapParams"}},"visibility":"internal"},{"constant":false,"id":5582,"mutability":"mutable","name":"swapDelta","nameLocation":"14267:9:43","nodeType":"VariableDeclaration","scope":5695,"src":"14254:22:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":5581,"nodeType":"UserDefinedTypeName","pathNode":{"id":5580,"name":"BalanceDelta","nameLocations":["14254:12:43"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"14254:12:43"},"referencedDeclaration":10503,"src":"14254:12:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":5584,"mutability":"mutable","name":"hookData","nameLocation":"14301:8:43","nodeType":"VariableDeclaration","scope":5695,"src":"14286:23:43","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":5583,"name":"bytes","nodeType":"ElementaryTypeName","src":"14286:5:43","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5587,"mutability":"mutable","name":"beforeSwapHookReturn","nameLocation":"14335:20:43","nodeType":"VariableDeclaration","scope":5695,"src":"14319:36:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"},"typeName":{"id":5586,"nodeType":"UserDefinedTypeName","pathNode":{"id":5585,"name":"BeforeSwapDelta","nameLocations":["14319:15:43"],"nodeType":"IdentifierPath","referencedDeclaration":10665,"src":"14319:15:43"},"referencedDeclaration":10665,"src":"14319:15:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"visibility":"internal"}],"src":"14148:213:43"},"returnParameters":{"id":5595,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5591,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5695,"src":"14380:12:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":5590,"nodeType":"UserDefinedTypeName","pathNode":{"id":5589,"name":"BalanceDelta","nameLocations":["14380:12:43"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"14380:12:43"},"referencedDeclaration":10503,"src":"14380:12:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":5594,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5695,"src":"14394:12:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":5593,"nodeType":"UserDefinedTypeName","pathNode":{"id":5592,"name":"BalanceDelta","nameLocations":["14394:12:43"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"14394:12:43"},"referencedDeclaration":10503,"src":"14394:12:43","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"14379:28:43"},"scope":5805,"src":"14130:1351:43","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5737,"nodeType":"Block","src":"15730:182:43","statements":[{"condition":{"arguments":[{"id":5716,"name":"BEFORE_DONATE_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4736,"src":"15763:18:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5714,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5699,"src":"15744:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5715,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15749:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"15744:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5717,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15744:38:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5736,"nodeType":"IfStatement","src":"15740:166:43","trueBody":{"id":5735,"nodeType":"Block","src":"15784:122:43","statements":[{"expression":{"arguments":[{"arguments":[{"expression":{"id":5723,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"15827:6:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IHooks_$3618_$","typeString":"type(contract IHooks)"}},"id":5724,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15834:12:43","memberName":"beforeDonate","nodeType":"MemberAccess","referencedDeclaration":3600,"src":"15827:19:43","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IHooks.beforeDonate(address,struct PoolKey calldata,uint256,uint256,bytes calldata) returns (bytes4)"}},{"components":[{"expression":{"id":5725,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"15849:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5726,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15853:6:43","memberName":"sender","nodeType":"MemberAccess","src":"15849:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5727,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5702,"src":"15861:3:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":5728,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5704,"src":"15866:7:43","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5729,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5706,"src":"15875:7:43","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5730,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5708,"src":"15884:8:43","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"id":5731,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"15848:45:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,uint256,uint256,bytes calldata)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IHooks.beforeDonate(address,struct PoolKey calldata,uint256,uint256,bytes calldata) returns (bytes4)"},{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,uint256,uint256,bytes calldata)"}],"expression":{"id":5721,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"15812:3:43","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5722,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15816:10:43","memberName":"encodeCall","nodeType":"MemberAccess","src":"15812:14:43","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":5732,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15812:82:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5718,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5699,"src":"15798:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5720,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15803:8:43","memberName":"callHook","nodeType":"MemberAccess","referencedDeclaration":5091,"src":"15798:13:43","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,bytes memory) returns (bytes memory)"}},"id":5733,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15798:97:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5734,"nodeType":"ExpressionStatement","src":"15798:97:43"}]}}]},"documentation":{"id":5696,"nodeType":"StructuredDocumentation","src":"15487:78:43","text":"@notice calls beforeDonate hook if permissioned and validates return value"},"id":5738,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":5711,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5699,"src":"15720:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"id":5712,"kind":"modifierInvocation","modifierName":{"id":5710,"name":"noSelfCall","nameLocations":["15709:10:43"],"nodeType":"IdentifierPath","referencedDeclaration":5150,"src":"15709:10:43"},"nodeType":"ModifierInvocation","src":"15709:16:43"}],"name":"beforeDonate","nameLocation":"15579:12:43","nodeType":"FunctionDefinition","parameters":{"id":5709,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5699,"mutability":"mutable","name":"self","nameLocation":"15599:4:43","nodeType":"VariableDeclaration","scope":5738,"src":"15592:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":5698,"nodeType":"UserDefinedTypeName","pathNode":{"id":5697,"name":"IHooks","nameLocations":["15592:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"15592:6:43"},"referencedDeclaration":3618,"src":"15592:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":5702,"mutability":"mutable","name":"key","nameLocation":"15620:3:43","nodeType":"VariableDeclaration","scope":5738,"src":"15605:18:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":5701,"nodeType":"UserDefinedTypeName","pathNode":{"id":5700,"name":"PoolKey","nameLocations":["15605:7:43"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"15605:7:43"},"referencedDeclaration":11063,"src":"15605:7:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":5704,"mutability":"mutable","name":"amount0","nameLocation":"15633:7:43","nodeType":"VariableDeclaration","scope":5738,"src":"15625:15:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5703,"name":"uint256","nodeType":"ElementaryTypeName","src":"15625:7:43","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5706,"mutability":"mutable","name":"amount1","nameLocation":"15650:7:43","nodeType":"VariableDeclaration","scope":5738,"src":"15642:15:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5705,"name":"uint256","nodeType":"ElementaryTypeName","src":"15642:7:43","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5708,"mutability":"mutable","name":"hookData","nameLocation":"15674:8:43","nodeType":"VariableDeclaration","scope":5738,"src":"15659:23:43","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":5707,"name":"bytes","nodeType":"ElementaryTypeName","src":"15659:5:43","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"15591:92:43"},"returnParameters":{"id":5713,"nodeType":"ParameterList","parameters":[],"src":"15730:0:43"},"scope":5805,"src":"15570:342:43","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5780,"nodeType":"Block","src":"16159:180:43","statements":[{"condition":{"arguments":[{"id":5759,"name":"AFTER_DONATE_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4741,"src":"16192:17:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":5757,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5742,"src":"16173:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5758,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16178:13:43","memberName":"hasPermission","nodeType":"MemberAccess","referencedDeclaration":5804,"src":"16173:18:43","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_contract$_IHooks_$3618_$_t_uint160_$returns$_t_bool_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,uint160) pure returns (bool)"}},"id":5760,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16173:37:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5779,"nodeType":"IfStatement","src":"16169:164:43","trueBody":{"id":5778,"nodeType":"Block","src":"16212:121:43","statements":[{"expression":{"arguments":[{"arguments":[{"expression":{"id":5766,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"16255:6:43","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IHooks_$3618_$","typeString":"type(contract IHooks)"}},"id":5767,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16262:11:43","memberName":"afterDonate","nodeType":"MemberAccess","referencedDeclaration":3617,"src":"16255:18:43","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IHooks.afterDonate(address,struct PoolKey calldata,uint256,uint256,bytes calldata) returns (bytes4)"}},{"components":[{"expression":{"id":5768,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"16276:3:43","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5769,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16280:6:43","memberName":"sender","nodeType":"MemberAccess","src":"16276:10:43","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5770,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5745,"src":"16288:3:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":5771,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5747,"src":"16293:7:43","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5772,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5749,"src":"16302:7:43","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5773,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5751,"src":"16311:8:43","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"id":5774,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"16275:45:43","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,uint256,uint256,bytes calldata)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IHooks.afterDonate(address,struct PoolKey calldata,uint256,uint256,bytes calldata) returns (bytes4)"},{"typeIdentifier":"t_tuple$_t_address_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$","typeString":"tuple(address,struct PoolKey memory,uint256,uint256,bytes calldata)"}],"expression":{"id":5764,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"16240:3:43","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5765,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16244:10:43","memberName":"encodeCall","nodeType":"MemberAccess","src":"16240:14:43","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":5775,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16240:81:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5761,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5742,"src":"16226:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"id":5763,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16231:8:43","memberName":"callHook","nodeType":"MemberAccess","referencedDeclaration":5091,"src":"16226:13:43","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_IHooks_$3618_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$attached_to$_t_contract$_IHooks_$3618_$","typeString":"function (contract IHooks,bytes memory) returns (bytes memory)"}},"id":5776,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16226:96:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5777,"nodeType":"ExpressionStatement","src":"16226:96:43"}]}}]},"documentation":{"id":5739,"nodeType":"StructuredDocumentation","src":"15918:77:43","text":"@notice calls afterDonate hook if permissioned and validates return value"},"id":5781,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":5754,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5742,"src":"16149:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"id":5755,"kind":"modifierInvocation","modifierName":{"id":5753,"name":"noSelfCall","nameLocations":["16138:10:43"],"nodeType":"IdentifierPath","referencedDeclaration":5150,"src":"16138:10:43"},"nodeType":"ModifierInvocation","src":"16138:16:43"}],"name":"afterDonate","nameLocation":"16009:11:43","nodeType":"FunctionDefinition","parameters":{"id":5752,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5742,"mutability":"mutable","name":"self","nameLocation":"16028:4:43","nodeType":"VariableDeclaration","scope":5781,"src":"16021:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":5741,"nodeType":"UserDefinedTypeName","pathNode":{"id":5740,"name":"IHooks","nameLocations":["16021:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"16021:6:43"},"referencedDeclaration":3618,"src":"16021:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":5745,"mutability":"mutable","name":"key","nameLocation":"16049:3:43","nodeType":"VariableDeclaration","scope":5781,"src":"16034:18:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":5744,"nodeType":"UserDefinedTypeName","pathNode":{"id":5743,"name":"PoolKey","nameLocations":["16034:7:43"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"16034:7:43"},"referencedDeclaration":11063,"src":"16034:7:43","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":5747,"mutability":"mutable","name":"amount0","nameLocation":"16062:7:43","nodeType":"VariableDeclaration","scope":5781,"src":"16054:15:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5746,"name":"uint256","nodeType":"ElementaryTypeName","src":"16054:7:43","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5749,"mutability":"mutable","name":"amount1","nameLocation":"16079:7:43","nodeType":"VariableDeclaration","scope":5781,"src":"16071:15:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5748,"name":"uint256","nodeType":"ElementaryTypeName","src":"16071:7:43","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5751,"mutability":"mutable","name":"hookData","nameLocation":"16103:8:43","nodeType":"VariableDeclaration","scope":5781,"src":"16088:23:43","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":5750,"name":"bytes","nodeType":"ElementaryTypeName","src":"16088:5:43","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"16020:92:43"},"returnParameters":{"id":5756,"nodeType":"ParameterList","parameters":[],"src":"16159:0:43"},"scope":5805,"src":"16000:339:43","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5803,"nodeType":"Block","src":"16424:58:43","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":5801,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":5799,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"arguments":[{"id":5795,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5784,"src":"16457:4:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":5794,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16449:7:43","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5793,"name":"address","nodeType":"ElementaryTypeName","src":"16449:7:43","typeDescriptions":{}}},"id":5796,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16449:13:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5792,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16441:7:43","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":5791,"name":"uint160","nodeType":"ElementaryTypeName","src":"16441:7:43","typeDescriptions":{}}},"id":5797,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16441:22:43","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":5798,"name":"flag","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5786,"src":"16466:4:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"16441:29:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":5800,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16474:1:43","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"16441:34:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":5790,"id":5802,"nodeType":"Return","src":"16434:41:43"}]},"id":5804,"implemented":true,"kind":"function","modifiers":[],"name":"hasPermission","nameLocation":"16354:13:43","nodeType":"FunctionDefinition","parameters":{"id":5787,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5784,"mutability":"mutable","name":"self","nameLocation":"16375:4:43","nodeType":"VariableDeclaration","scope":5804,"src":"16368:11:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":5783,"nodeType":"UserDefinedTypeName","pathNode":{"id":5782,"name":"IHooks","nameLocations":["16368:6:43"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"16368:6:43"},"referencedDeclaration":3618,"src":"16368:6:43","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":5786,"mutability":"mutable","name":"flag","nameLocation":"16389:4:43","nodeType":"VariableDeclaration","scope":5804,"src":"16381:12:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":5785,"name":"uint160","nodeType":"ElementaryTypeName","src":"16381:7:43","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"16367:27:43"},"returnParameters":{"id":5790,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5789,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5804,"src":"16418:4:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5788,"name":"bool","nodeType":"ElementaryTypeName","src":"16418:4:43","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"16417:6:43"},"scope":5805,"src":"16345:137:43","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":5806,"src":"961:15523:43","usedErrors":[4795,4798,4801,4804],"usedEvents":[]}],"src":"32:16453:43"},"id":43},"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol","exportedSymbols":{"CustomRevert":[4451],"LPFeeLibrary":[5954]},"id":5955,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":5807,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:44"},{"absolutePath":"@uniswap/v4-core/src/libraries/CustomRevert.sol","file":"./CustomRevert.sol","id":5809,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5955,"sourceUnit":4452,"src":"57:48:44","symbolAliases":[{"foreign":{"id":5808,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"65:12:44","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"LPFeeLibrary","contractDependencies":[],"contractKind":"library","documentation":{"id":5810,"nodeType":"StructuredDocumentation","src":"107:59:44","text":"@notice Library of helper functions for a pools LP fee"},"fullyImplemented":true,"id":5954,"linearizedBaseContracts":[5954],"name":"LPFeeLibrary","nameLocation":"174:12:44","nodeType":"ContractDefinition","nodes":[{"global":false,"id":5813,"libraryName":{"id":5811,"name":"LPFeeLibrary","nameLocations":["199:12:44"],"nodeType":"IdentifierPath","referencedDeclaration":5954,"src":"199:12:44"},"nodeType":"UsingForDirective","src":"193:30:44","typeName":{"id":5812,"name":"uint24","nodeType":"ElementaryTypeName","src":"216:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}},{"global":false,"id":5816,"libraryName":{"id":5814,"name":"CustomRevert","nameLocations":["234:12:44"],"nodeType":"IdentifierPath","referencedDeclaration":4451,"src":"234:12:44"},"nodeType":"UsingForDirective","src":"228:30:44","typeName":{"id":5815,"name":"bytes4","nodeType":"ElementaryTypeName","src":"251:6:44","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}},{"documentation":{"id":5817,"nodeType":"StructuredDocumentation","src":"264:73:44","text":"@notice Thrown when the static or dynamic fee on a pool exceeds 100%."},"errorSelector":"14002113","id":5821,"name":"LPFeeTooLarge","nameLocation":"348:13:44","nodeType":"ErrorDefinition","parameters":{"id":5820,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5819,"mutability":"mutable","name":"fee","nameLocation":"369:3:44","nodeType":"VariableDeclaration","scope":5821,"src":"362:10:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5818,"name":"uint24","nodeType":"ElementaryTypeName","src":"362:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"361:12:44"},"src":"342:32:44"},{"constant":true,"documentation":{"id":5822,"nodeType":"StructuredDocumentation","src":"380:125:44","text":"@notice An lp fee of exactly 0b1000000... signals a dynamic fee pool. This isn't a valid static fee as it is > MAX_LP_FEE"},"functionSelector":"f26ef49d","id":5825,"mutability":"constant","name":"DYNAMIC_FEE_FLAG","nameLocation":"533:16:44","nodeType":"VariableDeclaration","scope":5954,"src":"510:50:44","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5823,"name":"uint24","nodeType":"ElementaryTypeName","src":"510:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"value":{"hexValue":"3078383030303030","id":5824,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"552:8:44","typeDescriptions":{"typeIdentifier":"t_rational_8388608_by_1","typeString":"int_const 8388608"},"value":"0x800000"},"visibility":"public"},{"constant":true,"documentation":{"id":5826,"nodeType":"StructuredDocumentation","src":"567:133:44","text":"@notice the second bit of the fee returned by beforeSwap is used to signal if the stored LP fee should be overridden in this swap"},"functionSelector":"3b01d64d","id":5829,"mutability":"constant","name":"OVERRIDE_FEE_FLAG","nameLocation":"799:17:44","nodeType":"VariableDeclaration","scope":5954,"src":"776:51:44","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5827,"name":"uint24","nodeType":"ElementaryTypeName","src":"776:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"value":{"hexValue":"3078343030303030","id":5828,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"819:8:44","typeDescriptions":{"typeIdentifier":"t_rational_4194304_by_1","typeString":"int_const 4194304"},"value":"0x400000"},"visibility":"public"},{"constant":true,"documentation":{"id":5830,"nodeType":"StructuredDocumentation","src":"834:90:44","text":"@notice mask to remove the override fee flag from a fee returned by the beforeSwaphook"},"functionSelector":"6f95ebcf","id":5833,"mutability":"constant","name":"REMOVE_OVERRIDE_MASK","nameLocation":"952:20:44","nodeType":"VariableDeclaration","scope":5954,"src":"929:54:44","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5831,"name":"uint24","nodeType":"ElementaryTypeName","src":"929:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"value":{"hexValue":"3078424646464646","id":5832,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"975:8:44","typeDescriptions":{"typeIdentifier":"t_rational_12582911_by_1","typeString":"int_const 12582911"},"value":"0xBFFFFF"},"visibility":"public"},{"constant":true,"documentation":{"id":5834,"nodeType":"StructuredDocumentation","src":"990:80:44","text":"@notice the lp fee is represented in hundredths of a bip, so the max is 100%"},"functionSelector":"3fc48eba","id":5837,"mutability":"constant","name":"MAX_LP_FEE","nameLocation":"1098:10:44","nodeType":"VariableDeclaration","scope":5954,"src":"1075:43:44","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5835,"name":"uint24","nodeType":"ElementaryTypeName","src":"1075:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"value":{"hexValue":"31303030303030","id":5836,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1111:7:44","typeDescriptions":{"typeIdentifier":"t_rational_1000000_by_1","typeString":"int_const 1000000"},"value":"1000000"},"visibility":"public"},{"body":{"id":5849,"nodeType":"Block","src":"1362:48:44","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint24","typeString":"uint24"},"id":5847,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5845,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5840,"src":"1379:4:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":5846,"name":"DYNAMIC_FEE_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5825,"src":"1387:16:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"1379:24:44","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":5844,"id":5848,"nodeType":"Return","src":"1372:31:44"}]},"documentation":{"id":5838,"nodeType":"StructuredDocumentation","src":"1125:168:44","text":"@notice returns true if a pool's LP fee signals that the pool has a dynamic fee\n @param self The fee to check\n @return bool True of the fee is dynamic"},"id":5850,"implemented":true,"kind":"function","modifiers":[],"name":"isDynamicFee","nameLocation":"1307:12:44","nodeType":"FunctionDefinition","parameters":{"id":5841,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5840,"mutability":"mutable","name":"self","nameLocation":"1327:4:44","nodeType":"VariableDeclaration","scope":5850,"src":"1320:11:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5839,"name":"uint24","nodeType":"ElementaryTypeName","src":"1320:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"1319:13:44"},"returnParameters":{"id":5844,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5843,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5850,"src":"1356:4:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5842,"name":"bool","nodeType":"ElementaryTypeName","src":"1356:4:44","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1355:6:44"},"scope":5954,"src":"1298:112:44","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5862,"nodeType":"Block","src":"1650:42:44","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint24","typeString":"uint24"},"id":5860,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5858,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5853,"src":"1667:4:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":5859,"name":"MAX_LP_FEE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5837,"src":"1675:10:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"1667:18:44","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":5857,"id":5861,"nodeType":"Return","src":"1660:25:44"}]},"documentation":{"id":5851,"nodeType":"StructuredDocumentation","src":"1416:170:44","text":"@notice returns true if an LP fee is valid, aka not above the maximum permitted fee\n @param self The fee to check\n @return bool True of the fee is valid"},"id":5863,"implemented":true,"kind":"function","modifiers":[],"name":"isValid","nameLocation":"1600:7:44","nodeType":"FunctionDefinition","parameters":{"id":5854,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5853,"mutability":"mutable","name":"self","nameLocation":"1615:4:44","nodeType":"VariableDeclaration","scope":5863,"src":"1608:11:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5852,"name":"uint24","nodeType":"ElementaryTypeName","src":"1608:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"1607:13:44"},"returnParameters":{"id":5857,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5856,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5863,"src":"1644:4:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5855,"name":"bool","nodeType":"ElementaryTypeName","src":"1644:4:44","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1643:6:44"},"scope":5954,"src":"1591:101:44","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5882,"nodeType":"Block","src":"1878:77:44","statements":[{"condition":{"id":5872,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"1892:15:44","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5869,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5866,"src":"1893:4:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":5870,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1898:7:44","memberName":"isValid","nodeType":"MemberAccess","referencedDeclaration":5863,"src":"1893:12:44","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$_t_bool_$attached_to$_t_uint24_$","typeString":"function (uint24) pure returns (bool)"}},"id":5871,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1893:14:44","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5881,"nodeType":"IfStatement","src":"1888:60:44","trueBody":{"expression":{"arguments":[{"id":5878,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5866,"src":"1943:4:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"expression":{"id":5873,"name":"LPFeeTooLarge","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5821,"src":"1909:13:44","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint24_$returns$_t_error_$","typeString":"function (uint24) pure returns (error)"}},"id":5876,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1923:8:44","memberName":"selector","nodeType":"MemberAccess","src":"1909:22:44","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":5877,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1932:10:44","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4397,"src":"1909:33:44","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_uint160_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,uint160) pure"}},"id":5879,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1909:39:44","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5880,"nodeType":"ExpressionStatement","src":"1909:39:44"}}]},"documentation":{"id":5864,"nodeType":"StructuredDocumentation","src":"1698:130:44","text":"@notice validates whether an LP fee is larger than the maximum, and reverts if invalid\n @param self The fee to validate"},"id":5883,"implemented":true,"kind":"function","modifiers":[],"name":"validate","nameLocation":"1842:8:44","nodeType":"FunctionDefinition","parameters":{"id":5867,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5866,"mutability":"mutable","name":"self","nameLocation":"1858:4:44","nodeType":"VariableDeclaration","scope":5883,"src":"1851:11:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5865,"name":"uint24","nodeType":"ElementaryTypeName","src":"1851:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"1850:13:44"},"returnParameters":{"id":5868,"nodeType":"ParameterList","parameters":[],"src":"1878:0:44"},"scope":5954,"src":"1833:122:44","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5904,"nodeType":"Block","src":"2402:151:44","statements":[{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5891,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5886,"src":"2471:4:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":5892,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2476:12:44","memberName":"isDynamicFee","nodeType":"MemberAccess","referencedDeclaration":5850,"src":"2471:17:44","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$_t_bool_$attached_to$_t_uint24_$","typeString":"function (uint24) pure returns (bool)"}},"id":5893,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2471:19:44","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5896,"nodeType":"IfStatement","src":"2467:33:44","trueBody":{"expression":{"hexValue":"30","id":5894,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2499:1:44","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"functionReturnParameters":5890,"id":5895,"nodeType":"Return","src":"2492:8:44"}},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5897,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5886,"src":"2510:4:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":5899,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2515:8:44","memberName":"validate","nodeType":"MemberAccess","referencedDeclaration":5883,"src":"2510:13:44","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$__$attached_to$_t_uint24_$","typeString":"function (uint24) pure"}},"id":5900,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2510:15:44","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5901,"nodeType":"ExpressionStatement","src":"2510:15:44"},{"expression":{"id":5902,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5886,"src":"2542:4:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"functionReturnParameters":5890,"id":5903,"nodeType":"Return","src":"2535:11:44"}]},"documentation":{"id":5884,"nodeType":"StructuredDocumentation","src":"1961:367:44","text":"@notice gets and validates the initial LP fee for a pool. Dynamic fee pools have an initial fee of 0.\n @dev if a dynamic fee pool wants a non-0 initial fee, it should call `updateDynamicLPFee` in the afterInitialize hook\n @param self The fee to get the initial LP from\n @return initialFee 0 if the fee is dynamic, otherwise the fee (if valid)"},"id":5905,"implemented":true,"kind":"function","modifiers":[],"name":"getInitialLPFee","nameLocation":"2342:15:44","nodeType":"FunctionDefinition","parameters":{"id":5887,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5886,"mutability":"mutable","name":"self","nameLocation":"2365:4:44","nodeType":"VariableDeclaration","scope":5905,"src":"2358:11:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5885,"name":"uint24","nodeType":"ElementaryTypeName","src":"2358:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2357:13:44"},"returnParameters":{"id":5890,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5889,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5905,"src":"2394:6:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5888,"name":"uint24","nodeType":"ElementaryTypeName","src":"2394:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2393:8:44"},"scope":5954,"src":"2333:220:44","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5919,"nodeType":"Block","src":"2819:53:44","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint24","typeString":"uint24"},"id":5917,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint24","typeString":"uint24"},"id":5915,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5913,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5908,"src":"2836:4:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":5914,"name":"OVERRIDE_FEE_FLAG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5829,"src":"2843:17:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"2836:24:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":5916,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2864:1:44","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2836:29:44","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":5912,"id":5918,"nodeType":"Return","src":"2829:36:44"}]},"documentation":{"id":5906,"nodeType":"StructuredDocumentation","src":"2559:193:44","text":"@notice returns true if the fee has the override flag set (2nd highest bit of the uint24)\n @param self The fee to check\n @return bool True of the fee has the override flag set"},"id":5920,"implemented":true,"kind":"function","modifiers":[],"name":"isOverride","nameLocation":"2766:10:44","nodeType":"FunctionDefinition","parameters":{"id":5909,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5908,"mutability":"mutable","name":"self","nameLocation":"2784:4:44","nodeType":"VariableDeclaration","scope":5920,"src":"2777:11:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5907,"name":"uint24","nodeType":"ElementaryTypeName","src":"2777:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2776:13:44"},"returnParameters":{"id":5912,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5911,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5920,"src":"2813:4:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5910,"name":"bool","nodeType":"ElementaryTypeName","src":"2813:4:44","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2812:6:44"},"scope":5954,"src":"2757:115:44","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5932,"nodeType":"Block","src":"3130:51:44","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint24","typeString":"uint24"},"id":5930,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5928,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5923,"src":"3147:4:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":5929,"name":"REMOVE_OVERRIDE_MASK","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5833,"src":"3154:20:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"3147:27:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"functionReturnParameters":5927,"id":5931,"nodeType":"Return","src":"3140:34:44"}]},"documentation":{"id":5921,"nodeType":"StructuredDocumentation","src":"2878:175:44","text":"@notice returns a fee with the override flag removed\n @param self The fee to remove the override flag from\n @return fee The fee without the override flag set"},"id":5933,"implemented":true,"kind":"function","modifiers":[],"name":"removeOverrideFlag","nameLocation":"3067:18:44","nodeType":"FunctionDefinition","parameters":{"id":5924,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5923,"mutability":"mutable","name":"self","nameLocation":"3093:4:44","nodeType":"VariableDeclaration","scope":5933,"src":"3086:11:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5922,"name":"uint24","nodeType":"ElementaryTypeName","src":"3086:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"3085:13:44"},"returnParameters":{"id":5927,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5926,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5933,"src":"3122:6:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5925,"name":"uint24","nodeType":"ElementaryTypeName","src":"3122:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"3121:8:44"},"scope":5954,"src":"3058:123:44","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5952,"nodeType":"Block","src":"3521:72:44","statements":[{"expression":{"id":5945,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5941,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5939,"src":"3531:3:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5942,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5936,"src":"3537:4:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":5943,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3542:18:44","memberName":"removeOverrideFlag","nodeType":"MemberAccess","referencedDeclaration":5933,"src":"3537:23:44","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$_t_uint24_$attached_to$_t_uint24_$","typeString":"function (uint24) pure returns (uint24)"}},"id":5944,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3537:25:44","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"3531:31:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":5946,"nodeType":"ExpressionStatement","src":"3531:31:44"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":5947,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5939,"src":"3572:3:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":5949,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3576:8:44","memberName":"validate","nodeType":"MemberAccess","referencedDeclaration":5883,"src":"3572:12:44","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$__$attached_to$_t_uint24_$","typeString":"function (uint24) pure"}},"id":5950,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3572:14:44","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5951,"nodeType":"ExpressionStatement","src":"3572:14:44"}]},"documentation":{"id":5934,"nodeType":"StructuredDocumentation","src":"3187:242:44","text":"@notice Removes the override flag and validates the fee (reverts if the fee is too large)\n @param self The fee to remove the override flag from, and then validate\n @return fee The fee without the override flag set (if valid)"},"id":5953,"implemented":true,"kind":"function","modifiers":[],"name":"removeOverrideFlagAndValidate","nameLocation":"3443:29:44","nodeType":"FunctionDefinition","parameters":{"id":5937,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5936,"mutability":"mutable","name":"self","nameLocation":"3480:4:44","nodeType":"VariableDeclaration","scope":5953,"src":"3473:11:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5935,"name":"uint24","nodeType":"ElementaryTypeName","src":"3473:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"3472:13:44"},"returnParameters":{"id":5940,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5939,"mutability":"mutable","name":"fee","nameLocation":"3516:3:44","nodeType":"VariableDeclaration","scope":5953,"src":"3509:10:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5938,"name":"uint24","nodeType":"ElementaryTypeName","src":"3509:6:44","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"3508:12:44"},"scope":5954,"src":"3434:159:44","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":5955,"src":"166:3429:44","usedErrors":[5821],"usedEvents":[]}],"src":"32:3564:44"},"id":44},"@uniswap/v4-core/src/libraries/LiquidityMath.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/LiquidityMath.sol","exportedSymbols":{"LiquidityMath":[5970]},"id":5971,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":5956,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:45"},{"abstract":false,"baseContracts":[],"canonicalName":"LiquidityMath","contractDependencies":[],"contractKind":"library","documentation":{"id":5957,"nodeType":"StructuredDocumentation","src":"57:38:45","text":"@title Math library for liquidity"},"fullyImplemented":true,"id":5970,"linearizedBaseContracts":[5970],"name":"LiquidityMath","nameLocation":"103:13:45","nodeType":"ContractDefinition","nodes":[{"body":{"id":5968,"nodeType":"Block","src":"442:297:45","statements":[{"AST":{"nativeSrc":"477:256:45","nodeType":"YulBlock","src":"477:256:45","statements":[{"nativeSrc":"491:71:45","nodeType":"YulAssignment","src":"491:71:45","value":{"arguments":[{"arguments":[{"name":"x","nativeSrc":"504:1:45","nodeType":"YulIdentifier","src":"504:1:45"},{"kind":"number","nativeSrc":"507:34:45","nodeType":"YulLiteral","src":"507:34:45","type":"","value":"0xffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"500:3:45","nodeType":"YulIdentifier","src":"500:3:45"},"nativeSrc":"500:42:45","nodeType":"YulFunctionCall","src":"500:42:45"},{"arguments":[{"kind":"number","nativeSrc":"555:2:45","nodeType":"YulLiteral","src":"555:2:45","type":"","value":"15"},{"name":"y","nativeSrc":"559:1:45","nodeType":"YulIdentifier","src":"559:1:45"}],"functionName":{"name":"signextend","nativeSrc":"544:10:45","nodeType":"YulIdentifier","src":"544:10:45"},"nativeSrc":"544:17:45","nodeType":"YulFunctionCall","src":"544:17:45"}],"functionName":{"name":"add","nativeSrc":"496:3:45","nodeType":"YulIdentifier","src":"496:3:45"},"nativeSrc":"496:66:45","nodeType":"YulFunctionCall","src":"496:66:45"},"variableNames":[{"name":"z","nativeSrc":"491:1:45","nodeType":"YulIdentifier","src":"491:1:45"}]},{"body":{"nativeSrc":"590:133:45","nodeType":"YulBlock","src":"590:133:45","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"660:1:45","nodeType":"YulLiteral","src":"660:1:45","type":"","value":"0"},{"kind":"number","nativeSrc":"663:10:45","nodeType":"YulLiteral","src":"663:10:45","type":"","value":"0x93dafdf1"}],"functionName":{"name":"mstore","nativeSrc":"653:6:45","nodeType":"YulIdentifier","src":"653:6:45"},"nativeSrc":"653:21:45","nodeType":"YulFunctionCall","src":"653:21:45"},"nativeSrc":"653:21:45","nodeType":"YulExpressionStatement","src":"653:21:45"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"698:4:45","nodeType":"YulLiteral","src":"698:4:45","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"704:4:45","nodeType":"YulLiteral","src":"704:4:45","type":"","value":"0x04"}],"functionName":{"name":"revert","nativeSrc":"691:6:45","nodeType":"YulIdentifier","src":"691:6:45"},"nativeSrc":"691:18:45","nodeType":"YulFunctionCall","src":"691:18:45"},"nativeSrc":"691:18:45","nodeType":"YulExpressionStatement","src":"691:18:45"}]},"condition":{"arguments":[{"kind":"number","nativeSrc":"582:3:45","nodeType":"YulLiteral","src":"582:3:45","type":"","value":"128"},{"name":"z","nativeSrc":"587:1:45","nodeType":"YulIdentifier","src":"587:1:45"}],"functionName":{"name":"shr","nativeSrc":"578:3:45","nodeType":"YulIdentifier","src":"578:3:45"},"nativeSrc":"578:11:45","nodeType":"YulFunctionCall","src":"578:11:45"},"nativeSrc":"575:148:45","nodeType":"YulIf","src":"575:148:45"}]},"evmVersion":"cancun","externalReferences":[{"declaration":5960,"isOffset":false,"isSlot":false,"src":"504:1:45","valueSize":1},{"declaration":5962,"isOffset":false,"isSlot":false,"src":"559:1:45","valueSize":1},{"declaration":5965,"isOffset":false,"isSlot":false,"src":"491:1:45","valueSize":1},{"declaration":5965,"isOffset":false,"isSlot":false,"src":"587:1:45","valueSize":1}],"flags":["memory-safe"],"id":5967,"nodeType":"InlineAssembly","src":"452:281:45"}]},"documentation":{"id":5958,"nodeType":"StructuredDocumentation","src":"123:241:45","text":"@notice Add a signed liquidity delta to liquidity and revert if it overflows or underflows\n @param x The liquidity before change\n @param y The delta by which liquidity should be changed\n @return z The liquidity delta"},"id":5969,"implemented":true,"kind":"function","modifiers":[],"name":"addDelta","nameLocation":"378:8:45","nodeType":"FunctionDefinition","parameters":{"id":5963,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5960,"mutability":"mutable","name":"x","nameLocation":"395:1:45","nodeType":"VariableDeclaration","scope":5969,"src":"387:9:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":5959,"name":"uint128","nodeType":"ElementaryTypeName","src":"387:7:45","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":5962,"mutability":"mutable","name":"y","nameLocation":"405:1:45","nodeType":"VariableDeclaration","scope":5969,"src":"398:8:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":5961,"name":"int128","nodeType":"ElementaryTypeName","src":"398:6:45","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"386:21:45"},"returnParameters":{"id":5966,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5965,"mutability":"mutable","name":"z","nameLocation":"439:1:45","nodeType":"VariableDeclaration","scope":5969,"src":"431:9:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":5964,"name":"uint128","nodeType":"ElementaryTypeName","src":"431:7:45","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"430:11:45"},"scope":5970,"src":"369:370:45","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":5971,"src":"95:646:45","usedErrors":[],"usedEvents":[]}],"src":"32:710:45"},"id":45},"@uniswap/v4-core/src/libraries/Lock.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/Lock.sol","exportedSymbols":{"Lock":[5994]},"id":5995,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":5972,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"37:24:46"},{"abstract":false,"baseContracts":[],"canonicalName":"Lock","contractDependencies":[],"contractKind":"library","documentation":{"id":5973,"nodeType":"StructuredDocumentation","src":"63:189:46","text":"@notice This is a temporary library that allows us to use transient storage (tstore/tload)\n TODO: This library can be deleted when we have the transient keyword support in solidity."},"fullyImplemented":true,"id":5994,"linearizedBaseContracts":[5994],"name":"Lock","nameLocation":"260:4:46","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":5976,"mutability":"constant","name":"IS_UNLOCKED_SLOT","nameLocation":"398:16:46","nodeType":"VariableDeclaration","scope":5994,"src":"372:111:46","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5974,"name":"bytes32","nodeType":"ElementaryTypeName","src":"372:7:46","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307863303930666334363833363234636663333838346539643864653565636131333266326430656330363261666637356434336330343635643563656561623233","id":5975,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"417:66:46","typeDescriptions":{"typeIdentifier":"t_rational_87100234046427240614499661373387320107015461065347489303548037305558901893923_by_1","typeString":"int_const 8710...(69 digits omitted)...3923"},"value":"0xc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab23"},"visibility":"internal"},{"body":{"id":5980,"nodeType":"Block","src":"517:117:46","statements":[{"AST":{"nativeSrc":"552:76:46","nodeType":"YulBlock","src":"552:76:46","statements":[{"expression":{"arguments":[{"name":"IS_UNLOCKED_SLOT","nativeSrc":"595:16:46","nodeType":"YulIdentifier","src":"595:16:46"},{"kind":"bool","nativeSrc":"613:4:46","nodeType":"YulLiteral","src":"613:4:46","type":"","value":"true"}],"functionName":{"name":"tstore","nativeSrc":"588:6:46","nodeType":"YulIdentifier","src":"588:6:46"},"nativeSrc":"588:30:46","nodeType":"YulFunctionCall","src":"588:30:46"},"nativeSrc":"588:30:46","nodeType":"YulExpressionStatement","src":"588:30:46"}]},"evmVersion":"cancun","externalReferences":[{"declaration":5976,"isOffset":false,"isSlot":false,"src":"595:16:46","valueSize":1}],"flags":["memory-safe"],"id":5979,"nodeType":"InlineAssembly","src":"527:101:46"}]},"id":5981,"implemented":true,"kind":"function","modifiers":[],"name":"unlock","nameLocation":"499:6:46","nodeType":"FunctionDefinition","parameters":{"id":5977,"nodeType":"ParameterList","parameters":[],"src":"505:2:46"},"returnParameters":{"id":5978,"nodeType":"ParameterList","parameters":[],"src":"517:0:46"},"scope":5994,"src":"490:144:46","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5985,"nodeType":"Block","src":"665:96:46","statements":[{"AST":{"nativeSrc":"700:55:46","nodeType":"YulBlock","src":"700:55:46","statements":[{"expression":{"arguments":[{"name":"IS_UNLOCKED_SLOT","nativeSrc":"721:16:46","nodeType":"YulIdentifier","src":"721:16:46"},{"kind":"bool","nativeSrc":"739:5:46","nodeType":"YulLiteral","src":"739:5:46","type":"","value":"false"}],"functionName":{"name":"tstore","nativeSrc":"714:6:46","nodeType":"YulIdentifier","src":"714:6:46"},"nativeSrc":"714:31:46","nodeType":"YulFunctionCall","src":"714:31:46"},"nativeSrc":"714:31:46","nodeType":"YulExpressionStatement","src":"714:31:46"}]},"evmVersion":"cancun","externalReferences":[{"declaration":5976,"isOffset":false,"isSlot":false,"src":"721:16:46","valueSize":1}],"flags":["memory-safe"],"id":5984,"nodeType":"InlineAssembly","src":"675:80:46"}]},"id":5986,"implemented":true,"kind":"function","modifiers":[],"name":"lock","nameLocation":"649:4:46","nodeType":"FunctionDefinition","parameters":{"id":5982,"nodeType":"ParameterList","parameters":[],"src":"653:2:46"},"returnParameters":{"id":5983,"nodeType":"ParameterList","parameters":[],"src":"665:0:46"},"scope":5994,"src":"640:121:46","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5992,"nodeType":"Block","src":"827:100:46","statements":[{"AST":{"nativeSrc":"862:59:46","nodeType":"YulBlock","src":"862:59:46","statements":[{"nativeSrc":"876:35:46","nodeType":"YulAssignment","src":"876:35:46","value":{"arguments":[{"name":"IS_UNLOCKED_SLOT","nativeSrc":"894:16:46","nodeType":"YulIdentifier","src":"894:16:46"}],"functionName":{"name":"tload","nativeSrc":"888:5:46","nodeType":"YulIdentifier","src":"888:5:46"},"nativeSrc":"888:23:46","nodeType":"YulFunctionCall","src":"888:23:46"},"variableNames":[{"name":"unlocked","nativeSrc":"876:8:46","nodeType":"YulIdentifier","src":"876:8:46"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":5976,"isOffset":false,"isSlot":false,"src":"894:16:46","valueSize":1},{"declaration":5989,"isOffset":false,"isSlot":false,"src":"876:8:46","valueSize":1}],"flags":["memory-safe"],"id":5991,"nodeType":"InlineAssembly","src":"837:84:46"}]},"id":5993,"implemented":true,"kind":"function","modifiers":[],"name":"isUnlocked","nameLocation":"776:10:46","nodeType":"FunctionDefinition","parameters":{"id":5987,"nodeType":"ParameterList","parameters":[],"src":"786:2:46"},"returnParameters":{"id":5990,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5989,"mutability":"mutable","name":"unlocked","nameLocation":"817:8:46","nodeType":"VariableDeclaration","scope":5993,"src":"812:13:46","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5988,"name":"bool","nodeType":"ElementaryTypeName","src":"812:4:46","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"811:15:46"},"scope":5994,"src":"767:160:46","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":5995,"src":"252:677:46","usedErrors":[],"usedEvents":[]}],"src":"37:893:46"},"id":46},"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol","exportedSymbols":{"NonzeroDeltaCount":[6019]},"id":6020,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":5996,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"37:24:47"},{"abstract":false,"baseContracts":[],"canonicalName":"NonzeroDeltaCount","contractDependencies":[],"contractKind":"library","documentation":{"id":5997,"nodeType":"StructuredDocumentation","src":"63:222:47","text":"@notice This is a temporary library that allows us to use transient storage (tstore/tload)\n for the nonzero delta count.\n TODO: This library can be deleted when we have the transient keyword support in solidity."},"fullyImplemented":true,"id":6019,"linearizedBaseContracts":[6019],"name":"NonzeroDeltaCount","nameLocation":"293:17:47","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":6000,"mutability":"constant","name":"NONZERO_DELTA_COUNT_SLOT","nameLocation":"450:24:47","nodeType":"VariableDeclaration","scope":6019,"src":"424:127:47","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5998,"name":"bytes32","nodeType":"ElementaryTypeName","src":"424:7:47","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307837643462333136346336653435623937653764383762373132356134346335383238643030356166383866396437353163666437383732396335643939613062","id":5999,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"485:66:47","typeDescriptions":{"typeIdentifier":"t_rational_56671960505278111519104690822132496699113179860588238901689140059013086026251_by_1","typeString":"int_const 5667...(69 digits omitted)...6251"},"value":"0x7d4b3164c6e45b97e7d87b7125a44c5828d005af88f9d751cfd78729c5d99a0b"},"visibility":"internal"},{"body":{"id":6006,"nodeType":"Block","src":"612:105:47","statements":[{"AST":{"nativeSrc":"647:64:47","nodeType":"YulBlock","src":"647:64:47","statements":[{"nativeSrc":"661:40:47","nodeType":"YulAssignment","src":"661:40:47","value":{"arguments":[{"name":"NONZERO_DELTA_COUNT_SLOT","nativeSrc":"676:24:47","nodeType":"YulIdentifier","src":"676:24:47"}],"functionName":{"name":"tload","nativeSrc":"670:5:47","nodeType":"YulIdentifier","src":"670:5:47"},"nativeSrc":"670:31:47","nodeType":"YulFunctionCall","src":"670:31:47"},"variableNames":[{"name":"count","nativeSrc":"661:5:47","nodeType":"YulIdentifier","src":"661:5:47"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":6000,"isOffset":false,"isSlot":false,"src":"676:24:47","valueSize":1},{"declaration":6003,"isOffset":false,"isSlot":false,"src":"661:5:47","valueSize":1}],"flags":["memory-safe"],"id":6005,"nodeType":"InlineAssembly","src":"622:89:47"}]},"id":6007,"implemented":true,"kind":"function","modifiers":[],"name":"read","nameLocation":"567:4:47","nodeType":"FunctionDefinition","parameters":{"id":6001,"nodeType":"ParameterList","parameters":[],"src":"571:2:47"},"returnParameters":{"id":6004,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6003,"mutability":"mutable","name":"count","nameLocation":"605:5:47","nodeType":"VariableDeclaration","scope":6007,"src":"597:13:47","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6002,"name":"uint256","nodeType":"ElementaryTypeName","src":"597:7:47","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"596:15:47"},"scope":6019,"src":"558:159:47","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":6011,"nodeType":"Block","src":"753:196:47","statements":[{"AST":{"nativeSrc":"788:155:47","nodeType":"YulBlock","src":"788:155:47","statements":[{"nativeSrc":"802:44:47","nodeType":"YulVariableDeclaration","src":"802:44:47","value":{"arguments":[{"name":"NONZERO_DELTA_COUNT_SLOT","nativeSrc":"821:24:47","nodeType":"YulIdentifier","src":"821:24:47"}],"functionName":{"name":"tload","nativeSrc":"815:5:47","nodeType":"YulIdentifier","src":"815:5:47"},"nativeSrc":"815:31:47","nodeType":"YulFunctionCall","src":"815:31:47"},"variables":[{"name":"count","nativeSrc":"806:5:47","nodeType":"YulTypedName","src":"806:5:47","type":""}]},{"nativeSrc":"859:22:47","nodeType":"YulAssignment","src":"859:22:47","value":{"arguments":[{"name":"count","nativeSrc":"872:5:47","nodeType":"YulIdentifier","src":"872:5:47"},{"kind":"number","nativeSrc":"879:1:47","nodeType":"YulLiteral","src":"879:1:47","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"868:3:47","nodeType":"YulIdentifier","src":"868:3:47"},"nativeSrc":"868:13:47","nodeType":"YulFunctionCall","src":"868:13:47"},"variableNames":[{"name":"count","nativeSrc":"859:5:47","nodeType":"YulIdentifier","src":"859:5:47"}]},{"expression":{"arguments":[{"name":"NONZERO_DELTA_COUNT_SLOT","nativeSrc":"901:24:47","nodeType":"YulIdentifier","src":"901:24:47"},{"name":"count","nativeSrc":"927:5:47","nodeType":"YulIdentifier","src":"927:5:47"}],"functionName":{"name":"tstore","nativeSrc":"894:6:47","nodeType":"YulIdentifier","src":"894:6:47"},"nativeSrc":"894:39:47","nodeType":"YulFunctionCall","src":"894:39:47"},"nativeSrc":"894:39:47","nodeType":"YulExpressionStatement","src":"894:39:47"}]},"evmVersion":"cancun","externalReferences":[{"declaration":6000,"isOffset":false,"isSlot":false,"src":"821:24:47","valueSize":1},{"declaration":6000,"isOffset":false,"isSlot":false,"src":"901:24:47","valueSize":1}],"flags":["memory-safe"],"id":6010,"nodeType":"InlineAssembly","src":"763:180:47"}]},"id":6012,"implemented":true,"kind":"function","modifiers":[],"name":"increment","nameLocation":"732:9:47","nodeType":"FunctionDefinition","parameters":{"id":6008,"nodeType":"ParameterList","parameters":[],"src":"741:2:47"},"returnParameters":{"id":6009,"nodeType":"ParameterList","parameters":[],"src":"753:0:47"},"scope":6019,"src":"723:226:47","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":6017,"nodeType":"Block","src":"1261:196:47","statements":[{"AST":{"nativeSrc":"1296:155:47","nodeType":"YulBlock","src":"1296:155:47","statements":[{"nativeSrc":"1310:44:47","nodeType":"YulVariableDeclaration","src":"1310:44:47","value":{"arguments":[{"name":"NONZERO_DELTA_COUNT_SLOT","nativeSrc":"1329:24:47","nodeType":"YulIdentifier","src":"1329:24:47"}],"functionName":{"name":"tload","nativeSrc":"1323:5:47","nodeType":"YulIdentifier","src":"1323:5:47"},"nativeSrc":"1323:31:47","nodeType":"YulFunctionCall","src":"1323:31:47"},"variables":[{"name":"count","nativeSrc":"1314:5:47","nodeType":"YulTypedName","src":"1314:5:47","type":""}]},{"nativeSrc":"1367:22:47","nodeType":"YulAssignment","src":"1367:22:47","value":{"arguments":[{"name":"count","nativeSrc":"1380:5:47","nodeType":"YulIdentifier","src":"1380:5:47"},{"kind":"number","nativeSrc":"1387:1:47","nodeType":"YulLiteral","src":"1387:1:47","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"1376:3:47","nodeType":"YulIdentifier","src":"1376:3:47"},"nativeSrc":"1376:13:47","nodeType":"YulFunctionCall","src":"1376:13:47"},"variableNames":[{"name":"count","nativeSrc":"1367:5:47","nodeType":"YulIdentifier","src":"1367:5:47"}]},{"expression":{"arguments":[{"name":"NONZERO_DELTA_COUNT_SLOT","nativeSrc":"1409:24:47","nodeType":"YulIdentifier","src":"1409:24:47"},{"name":"count","nativeSrc":"1435:5:47","nodeType":"YulIdentifier","src":"1435:5:47"}],"functionName":{"name":"tstore","nativeSrc":"1402:6:47","nodeType":"YulIdentifier","src":"1402:6:47"},"nativeSrc":"1402:39:47","nodeType":"YulFunctionCall","src":"1402:39:47"},"nativeSrc":"1402:39:47","nodeType":"YulExpressionStatement","src":"1402:39:47"}]},"evmVersion":"cancun","externalReferences":[{"declaration":6000,"isOffset":false,"isSlot":false,"src":"1329:24:47","valueSize":1},{"declaration":6000,"isOffset":false,"isSlot":false,"src":"1409:24:47","valueSize":1}],"flags":["memory-safe"],"id":6016,"nodeType":"InlineAssembly","src":"1271:180:47"}]},"documentation":{"id":6013,"nodeType":"StructuredDocumentation","src":"955:271:47","text":"@notice Potential to underflow. Ensure checks are performed by integrating contracts to ensure this does not happen.\n Current usage ensures this will not happen because we call decrement with known boundaries (only up to the number of times we call increment)."},"id":6018,"implemented":true,"kind":"function","modifiers":[],"name":"decrement","nameLocation":"1240:9:47","nodeType":"FunctionDefinition","parameters":{"id":6014,"nodeType":"ParameterList","parameters":[],"src":"1249:2:47"},"returnParameters":{"id":6015,"nodeType":"ParameterList","parameters":[],"src":"1261:0:47"},"scope":6019,"src":"1231:226:47","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":6020,"src":"285:1174:47","usedErrors":[],"usedEvents":[]}],"src":"37:1423:47"},"id":47},"@uniswap/v4-core/src/libraries/ParseBytes.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/ParseBytes.sol","exportedSymbols":{"ParseBytes":[6050]},"id":6051,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":6021,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"33:23:48"},{"abstract":false,"baseContracts":[],"canonicalName":"ParseBytes","contractDependencies":[],"contractKind":"library","documentation":{"id":6022,"nodeType":"StructuredDocumentation","src":"58:311:48","text":"@notice Parses bytes returned from hooks and the byte selector used to check return selectors from hooks.\n @dev parseSelector also is used to parse the expected selector\n For parsing hook returns, note that all hooks return either bytes4 or (bytes4, 32-byte-delta) or (bytes4, 32-byte-delta, uint24)."},"fullyImplemented":true,"id":6050,"linearizedBaseContracts":[6050],"name":"ParseBytes","nameLocation":"377:10:48","nodeType":"ContractDefinition","nodes":[{"body":{"id":6030,"nodeType":"Block","src":"478:176:48","statements":[{"AST":{"nativeSrc":"588:60:48","nodeType":"YulBlock","src":"588:60:48","statements":[{"nativeSrc":"602:36:48","nodeType":"YulAssignment","src":"602:36:48","value":{"arguments":[{"arguments":[{"name":"result","nativeSrc":"624:6:48","nodeType":"YulIdentifier","src":"624:6:48"},{"kind":"number","nativeSrc":"632:4:48","nodeType":"YulLiteral","src":"632:4:48","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"620:3:48","nodeType":"YulIdentifier","src":"620:3:48"},"nativeSrc":"620:17:48","nodeType":"YulFunctionCall","src":"620:17:48"}],"functionName":{"name":"mload","nativeSrc":"614:5:48","nodeType":"YulIdentifier","src":"614:5:48"},"nativeSrc":"614:24:48","nodeType":"YulFunctionCall","src":"614:24:48"},"variableNames":[{"name":"selector","nativeSrc":"602:8:48","nodeType":"YulIdentifier","src":"602:8:48"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":6024,"isOffset":false,"isSlot":false,"src":"624:6:48","valueSize":1},{"declaration":6027,"isOffset":false,"isSlot":false,"src":"602:8:48","valueSize":1}],"flags":["memory-safe"],"id":6029,"nodeType":"InlineAssembly","src":"563:85:48"}]},"id":6031,"implemented":true,"kind":"function","modifiers":[],"name":"parseSelector","nameLocation":"403:13:48","nodeType":"FunctionDefinition","parameters":{"id":6025,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6024,"mutability":"mutable","name":"result","nameLocation":"430:6:48","nodeType":"VariableDeclaration","scope":6031,"src":"417:19:48","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6023,"name":"bytes","nodeType":"ElementaryTypeName","src":"417:5:48","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"416:21:48"},"returnParameters":{"id":6028,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6027,"mutability":"mutable","name":"selector","nameLocation":"468:8:48","nodeType":"VariableDeclaration","scope":6031,"src":"461:15:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":6026,"name":"bytes4","nodeType":"ElementaryTypeName","src":"461:6:48","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"460:17:48"},"scope":6050,"src":"394:260:48","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6039,"nodeType":"Block","src":"736:180:48","statements":[{"AST":{"nativeSrc":"853:57:48","nodeType":"YulBlock","src":"853:57:48","statements":[{"nativeSrc":"867:33:48","nodeType":"YulAssignment","src":"867:33:48","value":{"arguments":[{"arguments":[{"name":"result","nativeSrc":"886:6:48","nodeType":"YulIdentifier","src":"886:6:48"},{"kind":"number","nativeSrc":"894:4:48","nodeType":"YulLiteral","src":"894:4:48","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"882:3:48","nodeType":"YulIdentifier","src":"882:3:48"},"nativeSrc":"882:17:48","nodeType":"YulFunctionCall","src":"882:17:48"}],"functionName":{"name":"mload","nativeSrc":"876:5:48","nodeType":"YulIdentifier","src":"876:5:48"},"nativeSrc":"876:24:48","nodeType":"YulFunctionCall","src":"876:24:48"},"variableNames":[{"name":"lpFee","nativeSrc":"867:5:48","nodeType":"YulIdentifier","src":"867:5:48"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":6036,"isOffset":false,"isSlot":false,"src":"867:5:48","valueSize":1},{"declaration":6033,"isOffset":false,"isSlot":false,"src":"886:6:48","valueSize":1}],"flags":["memory-safe"],"id":6038,"nodeType":"InlineAssembly","src":"828:82:48"}]},"id":6040,"implemented":true,"kind":"function","modifiers":[],"name":"parseFee","nameLocation":"669:8:48","nodeType":"FunctionDefinition","parameters":{"id":6034,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6033,"mutability":"mutable","name":"result","nameLocation":"691:6:48","nodeType":"VariableDeclaration","scope":6040,"src":"678:19:48","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6032,"name":"bytes","nodeType":"ElementaryTypeName","src":"678:5:48","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"677:21:48"},"returnParameters":{"id":6037,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6036,"mutability":"mutable","name":"lpFee","nameLocation":"729:5:48","nodeType":"VariableDeclaration","scope":6040,"src":"722:12:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6035,"name":"uint24","nodeType":"ElementaryTypeName","src":"722:6:48","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"721:14:48"},"scope":6050,"src":"660:256:48","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6048,"nodeType":"Block","src":"1011:186:48","statements":[{"AST":{"nativeSrc":"1129:62:48","nodeType":"YulBlock","src":"1129:62:48","statements":[{"nativeSrc":"1143:38:48","nodeType":"YulAssignment","src":"1143:38:48","value":{"arguments":[{"arguments":[{"name":"result","nativeSrc":"1167:6:48","nodeType":"YulIdentifier","src":"1167:6:48"},{"kind":"number","nativeSrc":"1175:4:48","nodeType":"YulLiteral","src":"1175:4:48","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"1163:3:48","nodeType":"YulIdentifier","src":"1163:3:48"},"nativeSrc":"1163:17:48","nodeType":"YulFunctionCall","src":"1163:17:48"}],"functionName":{"name":"mload","nativeSrc":"1157:5:48","nodeType":"YulIdentifier","src":"1157:5:48"},"nativeSrc":"1157:24:48","nodeType":"YulFunctionCall","src":"1157:24:48"},"variableNames":[{"name":"hookReturn","nativeSrc":"1143:10:48","nodeType":"YulIdentifier","src":"1143:10:48"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":6045,"isOffset":false,"isSlot":false,"src":"1143:10:48","valueSize":1},{"declaration":6042,"isOffset":false,"isSlot":false,"src":"1167:6:48","valueSize":1}],"flags":["memory-safe"],"id":6047,"nodeType":"InlineAssembly","src":"1104:87:48"}]},"id":6049,"implemented":true,"kind":"function","modifiers":[],"name":"parseReturnDelta","nameLocation":"931:16:48","nodeType":"FunctionDefinition","parameters":{"id":6043,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6042,"mutability":"mutable","name":"result","nameLocation":"961:6:48","nodeType":"VariableDeclaration","scope":6049,"src":"948:19:48","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6041,"name":"bytes","nodeType":"ElementaryTypeName","src":"948:5:48","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"947:21:48"},"returnParameters":{"id":6046,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6045,"mutability":"mutable","name":"hookReturn","nameLocation":"999:10:48","nodeType":"VariableDeclaration","scope":6049,"src":"992:17:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":6044,"name":"int256","nodeType":"ElementaryTypeName","src":"992:6:48","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"991:19:48"},"scope":6050,"src":"922:275:48","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":6051,"src":"369:830:48","usedErrors":[],"usedEvents":[]}],"src":"33:1167:48"},"id":48},"@uniswap/v4-core/src/libraries/Pool.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/Pool.sol","exportedSymbols":{"BalanceDelta":[10503],"BalanceDeltaLibrary":[10661],"CustomRevert":[4451],"FixedPoint128":[4458],"LPFeeLibrary":[5954],"LiquidityMath":[5970],"Pool":[7731],"Position":[7897],"ProtocolFeeLibrary":[7969],"SafeCast":[8145],"Slot0":[11067],"SqrtPriceMath":[8636],"SwapMath":[9545],"TickBitmap":[9777],"TickMath":[10331],"UnsafeMath":[10497],"toBalanceDelta":[10529]},"id":7732,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":6052,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"37:23:49"},{"absolutePath":"@uniswap/v4-core/src/libraries/SafeCast.sol","file":"./SafeCast.sol","id":6054,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":8146,"src":"62:40:49","symbolAliases":[{"foreign":{"id":6053,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8145,"src":"70:8:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/TickBitmap.sol","file":"./TickBitmap.sol","id":6056,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":9778,"src":"103:44:49","symbolAliases":[{"foreign":{"id":6055,"name":"TickBitmap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9777,"src":"111:10:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/Position.sol","file":"./Position.sol","id":6058,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":7898,"src":"148:40:49","symbolAliases":[{"foreign":{"id":6057,"name":"Position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7897,"src":"156:8:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/UnsafeMath.sol","file":"./UnsafeMath.sol","id":6060,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":10498,"src":"189:44:49","symbolAliases":[{"foreign":{"id":6059,"name":"UnsafeMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10497,"src":"197:10:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/FixedPoint128.sol","file":"./FixedPoint128.sol","id":6062,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":4459,"src":"234:50:49","symbolAliases":[{"foreign":{"id":6061,"name":"FixedPoint128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4458,"src":"242:13:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/TickMath.sol","file":"./TickMath.sol","id":6064,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":10332,"src":"285:40:49","symbolAliases":[{"foreign":{"id":6063,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"293:8:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol","file":"./SqrtPriceMath.sol","id":6066,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":8637,"src":"326:50:49","symbolAliases":[{"foreign":{"id":6065,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"334:13:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/SwapMath.sol","file":"./SwapMath.sol","id":6068,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":9546,"src":"377:40:49","symbolAliases":[{"foreign":{"id":6067,"name":"SwapMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9545,"src":"385:8:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/BalanceDelta.sol","file":"../types/BalanceDelta.sol","id":6072,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":10662,"src":"418:92:49","symbolAliases":[{"foreign":{"id":6069,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"426:12:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":6070,"name":"toBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10529,"src":"440:14:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":6071,"name":"BalanceDeltaLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10661,"src":"456:19:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/Slot0.sol","file":"../types/Slot0.sol","id":6074,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":11181,"src":"511:41:49","symbolAliases":[{"foreign":{"id":6073,"name":"Slot0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11067,"src":"519:5:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol","file":"./ProtocolFeeLibrary.sol","id":6076,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":7970,"src":"553:60:49","symbolAliases":[{"foreign":{"id":6075,"name":"ProtocolFeeLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7969,"src":"561:18:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/LiquidityMath.sol","file":"./LiquidityMath.sol","id":6078,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":5971,"src":"614:50:49","symbolAliases":[{"foreign":{"id":6077,"name":"LiquidityMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5970,"src":"622:13:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol","file":"./LPFeeLibrary.sol","id":6080,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":5955,"src":"665:48:49","symbolAliases":[{"foreign":{"id":6079,"name":"LPFeeLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5954,"src":"673:12:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/CustomRevert.sol","file":"./CustomRevert.sol","id":6082,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7732,"sourceUnit":4452,"src":"714:48:49","symbolAliases":[{"foreign":{"id":6081,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"722:12:49","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"Pool","contractDependencies":[],"contractKind":"library","documentation":{"id":6083,"nodeType":"StructuredDocumentation","src":"764:71:49","text":"@notice a library with all actions that can be performed on a pool"},"fullyImplemented":true,"id":7731,"linearizedBaseContracts":[7731],"name":"Pool","nameLocation":"843:4:49","nodeType":"ContractDefinition","nodes":[{"global":false,"id":6085,"libraryName":{"id":6084,"name":"SafeCast","nameLocations":["860:8:49"],"nodeType":"IdentifierPath","referencedDeclaration":8145,"src":"860:8:49"},"nodeType":"UsingForDirective","src":"854:21:49"},{"global":false,"id":6090,"libraryName":{"id":6086,"name":"TickBitmap","nameLocations":["886:10:49"],"nodeType":"IdentifierPath","referencedDeclaration":9777,"src":"886:10:49"},"nodeType":"UsingForDirective","src":"880:47:49","typeName":{"id":6089,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6087,"name":"int16","nodeType":"ElementaryTypeName","src":"909:5:49","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"nodeType":"Mapping","src":"901:25:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6088,"name":"uint256","nodeType":"ElementaryTypeName","src":"918:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}}},{"global":false,"id":6096,"libraryName":{"id":6091,"name":"Position","nameLocations":["938:8:49"],"nodeType":"IdentifierPath","referencedDeclaration":7897,"src":"938:8:49"},"nodeType":"UsingForDirective","src":"932:54:49","typeName":{"id":6095,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6092,"name":"bytes32","nodeType":"ElementaryTypeName","src":"959:7:49","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"951:34:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_State_$7755_storage_$","typeString":"mapping(bytes32 => struct Position.State)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6094,"nodeType":"UserDefinedTypeName","pathNode":{"id":6093,"name":"Position.State","nameLocations":["970:8:49","979:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":7755,"src":"970:14:49"},"referencedDeclaration":7755,"src":"970:14:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State"}}}},{"global":false,"id":6100,"libraryName":{"id":6097,"name":"Position","nameLocations":["997:8:49"],"nodeType":"IdentifierPath","referencedDeclaration":7897,"src":"997:8:49"},"nodeType":"UsingForDirective","src":"991:34:49","typeName":{"id":6099,"nodeType":"UserDefinedTypeName","pathNode":{"id":6098,"name":"Position.State","nameLocations":["1010:8:49","1019:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":7755,"src":"1010:14:49"},"referencedDeclaration":7755,"src":"1010:14:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State"}}},{"global":false,"id":6104,"libraryName":{"id":6101,"name":"Pool","nameLocations":["1036:4:49"],"nodeType":"IdentifierPath","referencedDeclaration":7731,"src":"1036:4:49"},"nodeType":"UsingForDirective","src":"1030:21:49","typeName":{"id":6103,"nodeType":"UserDefinedTypeName","pathNode":{"id":6102,"name":"State","nameLocations":["1045:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"1045:5:49"},"referencedDeclaration":6192,"src":"1045:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}}},{"global":false,"id":6106,"libraryName":{"id":6105,"name":"ProtocolFeeLibrary","nameLocations":["1062:18:49"],"nodeType":"IdentifierPath","referencedDeclaration":7969,"src":"1062:18:49"},"nodeType":"UsingForDirective","src":"1056:31:49"},{"global":false,"id":6109,"libraryName":{"id":6107,"name":"LPFeeLibrary","nameLocations":["1098:12:49"],"nodeType":"IdentifierPath","referencedDeclaration":5954,"src":"1098:12:49"},"nodeType":"UsingForDirective","src":"1092:30:49","typeName":{"id":6108,"name":"uint24","nodeType":"ElementaryTypeName","src":"1115:6:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}},{"global":false,"id":6112,"libraryName":{"id":6110,"name":"CustomRevert","nameLocations":["1133:12:49"],"nodeType":"IdentifierPath","referencedDeclaration":4451,"src":"1133:12:49"},"nodeType":"UsingForDirective","src":"1127:30:49","typeName":{"id":6111,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1150:6:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}},{"documentation":{"id":6113,"nodeType":"StructuredDocumentation","src":"1163:150:49","text":"@notice Thrown when tickLower is not below tickUpper\n @param tickLower The invalid tickLower\n @param tickUpper The invalid tickUpper"},"errorSelector":"c4433ed5","id":6119,"name":"TicksMisordered","nameLocation":"1324:15:49","nodeType":"ErrorDefinition","parameters":{"id":6118,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6115,"mutability":"mutable","name":"tickLower","nameLocation":"1346:9:49","nodeType":"VariableDeclaration","scope":6119,"src":"1340:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6114,"name":"int24","nodeType":"ElementaryTypeName","src":"1340:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":6117,"mutability":"mutable","name":"tickUpper","nameLocation":"1363:9:49","nodeType":"VariableDeclaration","scope":6119,"src":"1357:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6116,"name":"int24","nodeType":"ElementaryTypeName","src":"1357:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1339:34:49"},"src":"1318:56:49"},{"documentation":{"id":6120,"nodeType":"StructuredDocumentation","src":"1380:102:49","text":"@notice Thrown when tickLower is less than min tick\n @param tickLower The invalid tickLower"},"errorSelector":"d5e2f7ab","id":6124,"name":"TickLowerOutOfBounds","nameLocation":"1493:20:49","nodeType":"ErrorDefinition","parameters":{"id":6123,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6122,"mutability":"mutable","name":"tickLower","nameLocation":"1520:9:49","nodeType":"VariableDeclaration","scope":6124,"src":"1514:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6121,"name":"int24","nodeType":"ElementaryTypeName","src":"1514:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1513:17:49"},"src":"1487:44:49"},{"documentation":{"id":6125,"nodeType":"StructuredDocumentation","src":"1537:97:49","text":"@notice Thrown when tickUpper exceeds max tick\n @param tickUpper The invalid tickUpper"},"errorSelector":"1ad777f8","id":6129,"name":"TickUpperOutOfBounds","nameLocation":"1645:20:49","nodeType":"ErrorDefinition","parameters":{"id":6128,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6127,"mutability":"mutable","name":"tickUpper","nameLocation":"1672:9:49","nodeType":"VariableDeclaration","scope":6129,"src":"1666:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6126,"name":"int24","nodeType":"ElementaryTypeName","src":"1666:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1665:17:49"},"src":"1639:44:49"},{"documentation":{"id":6130,"nodeType":"StructuredDocumentation","src":"1689:65:49","text":"@notice For the tick spacing, the tick has too much liquidity"},"errorSelector":"b8e3c385","id":6134,"name":"TickLiquidityOverflow","nameLocation":"1765:21:49","nodeType":"ErrorDefinition","parameters":{"id":6133,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6132,"mutability":"mutable","name":"tick","nameLocation":"1793:4:49","nodeType":"VariableDeclaration","scope":6134,"src":"1787:10:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6131,"name":"int24","nodeType":"ElementaryTypeName","src":"1787:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1786:12:49"},"src":"1759:40:49"},{"documentation":{"id":6135,"nodeType":"StructuredDocumentation","src":"1805:72:49","text":"@notice Thrown when trying to initialize an already initialized pool"},"errorSelector":"7983c051","id":6137,"name":"PoolAlreadyInitialized","nameLocation":"1888:22:49","nodeType":"ErrorDefinition","parameters":{"id":6136,"nodeType":"ParameterList","parameters":[],"src":"1910:2:49"},"src":"1882:31:49"},{"documentation":{"id":6138,"nodeType":"StructuredDocumentation","src":"1919:70:49","text":"@notice Thrown when trying to interact with a non-initialized pool"},"errorSelector":"486aa307","id":6140,"name":"PoolNotInitialized","nameLocation":"2000:18:49","nodeType":"ErrorDefinition","parameters":{"id":6139,"nodeType":"ParameterList","parameters":[],"src":"2018:2:49"},"src":"1994:27:49"},{"documentation":{"id":6141,"nodeType":"StructuredDocumentation","src":"2027:225:49","text":"@notice Thrown when sqrtPriceLimitX96 on a swap has already exceeded its limit\n @param sqrtPriceCurrentX96 The invalid, already surpassed sqrtPriceLimitX96\n @param sqrtPriceLimitX96 The surpassed price limit"},"errorSelector":"7c9c6e8f","id":6147,"name":"PriceLimitAlreadyExceeded","nameLocation":"2263:25:49","nodeType":"ErrorDefinition","parameters":{"id":6146,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6143,"mutability":"mutable","name":"sqrtPriceCurrentX96","nameLocation":"2297:19:49","nodeType":"VariableDeclaration","scope":6147,"src":"2289:27:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":6142,"name":"uint160","nodeType":"ElementaryTypeName","src":"2289:7:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":6145,"mutability":"mutable","name":"sqrtPriceLimitX96","nameLocation":"2326:17:49","nodeType":"VariableDeclaration","scope":6147,"src":"2318:25:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":6144,"name":"uint160","nodeType":"ElementaryTypeName","src":"2318:7:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"2288:56:49"},"src":"2257:88:49"},{"documentation":{"id":6148,"nodeType":"StructuredDocumentation","src":"2351:158:49","text":"@notice Thrown when sqrtPriceLimitX96 lies outside of valid tick/price range\n @param sqrtPriceLimitX96 The invalid, out-of-bounds sqrtPriceLimitX96"},"errorSelector":"9e4d7cc7","id":6152,"name":"PriceLimitOutOfBounds","nameLocation":"2520:21:49","nodeType":"ErrorDefinition","parameters":{"id":6151,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6150,"mutability":"mutable","name":"sqrtPriceLimitX96","nameLocation":"2550:17:49","nodeType":"VariableDeclaration","scope":6152,"src":"2542:25:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":6149,"name":"uint160","nodeType":"ElementaryTypeName","src":"2542:7:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"2541:27:49"},"src":"2514:55:49"},{"documentation":{"id":6153,"nodeType":"StructuredDocumentation","src":"2575:117:49","text":"@notice Thrown by donate if there is currently 0 liquidity, since the fees will not go to any liquidity providers"},"errorSelector":"a74f97ab","id":6155,"name":"NoLiquidityToReceiveFees","nameLocation":"2703:24:49","nodeType":"ErrorDefinition","parameters":{"id":6154,"nodeType":"ParameterList","parameters":[],"src":"2727:2:49"},"src":"2697:33:49"},{"documentation":{"id":6156,"nodeType":"StructuredDocumentation","src":"2736:86:49","text":"@notice Thrown when trying to swap with max lp fee and specifying an output amount"},"errorSelector":"96206246","id":6158,"name":"InvalidFeeForExactOut","nameLocation":"2833:21:49","nodeType":"ErrorDefinition","parameters":{"id":6157,"nodeType":"ParameterList","parameters":[],"src":"2854:2:49"},"src":"2827:30:49"},{"canonicalName":"Pool.TickInfo","id":6167,"members":[{"constant":false,"id":6160,"mutability":"mutable","name":"liquidityGross","nameLocation":"3019:14:49","nodeType":"VariableDeclaration","scope":6167,"src":"3011:22:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6159,"name":"uint128","nodeType":"ElementaryTypeName","src":"3011:7:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":6162,"mutability":"mutable","name":"liquidityNet","nameLocation":"3161:12:49","nodeType":"VariableDeclaration","scope":6167,"src":"3154:19:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":6161,"name":"int128","nodeType":"ElementaryTypeName","src":"3154:6:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":6164,"mutability":"mutable","name":"feeGrowthOutside0X128","nameLocation":"3404:21:49","nodeType":"VariableDeclaration","scope":6167,"src":"3396:29:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6163,"name":"uint256","nodeType":"ElementaryTypeName","src":"3396:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6166,"mutability":"mutable","name":"feeGrowthOutside1X128","nameLocation":"3443:21:49","nodeType":"VariableDeclaration","scope":6167,"src":"3435:29:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6165,"name":"uint256","nodeType":"ElementaryTypeName","src":"3435:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"TickInfo","nameLocation":"2926:8:49","nodeType":"StructDefinition","scope":7731,"src":"2919:552:49","visibility":"public"},{"canonicalName":"Pool.State","documentation":{"id":6168,"nodeType":"StructuredDocumentation","src":"3477:28:49","text":"@dev The state of a pool"},"id":6192,"members":[{"constant":false,"id":6171,"mutability":"mutable","name":"slot0","nameLocation":"3539:5:49","nodeType":"VariableDeclaration","scope":6192,"src":"3533:11:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":6170,"nodeType":"UserDefinedTypeName","pathNode":{"id":6169,"name":"Slot0","nameLocations":["3533:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"3533:5:49"},"referencedDeclaration":11067,"src":"3533:5:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"},{"constant":false,"id":6173,"mutability":"mutable","name":"feeGrowthGlobal0X128","nameLocation":"3562:20:49","nodeType":"VariableDeclaration","scope":6192,"src":"3554:28:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6172,"name":"uint256","nodeType":"ElementaryTypeName","src":"3554:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6175,"mutability":"mutable","name":"feeGrowthGlobal1X128","nameLocation":"3600:20:49","nodeType":"VariableDeclaration","scope":6192,"src":"3592:28:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6174,"name":"uint256","nodeType":"ElementaryTypeName","src":"3592:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6177,"mutability":"mutable","name":"liquidity","nameLocation":"3638:9:49","nodeType":"VariableDeclaration","scope":6192,"src":"3630:17:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6176,"name":"uint128","nodeType":"ElementaryTypeName","src":"3630:7:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":6182,"mutability":"mutable","name":"ticks","nameLocation":"3689:5:49","nodeType":"VariableDeclaration","scope":6192,"src":"3657:37:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_TickInfo_$6167_storage_$","typeString":"mapping(int24 => struct Pool.TickInfo)"},"typeName":{"id":6181,"keyName":"tick","keyNameLocation":"3671:4:49","keyType":{"id":6178,"name":"int24","nodeType":"ElementaryTypeName","src":"3665:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Mapping","src":"3657:31:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_TickInfo_$6167_storage_$","typeString":"mapping(int24 => struct Pool.TickInfo)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6180,"nodeType":"UserDefinedTypeName","pathNode":{"id":6179,"name":"TickInfo","nameLocations":["3679:8:49"],"nodeType":"IdentifierPath","referencedDeclaration":6167,"src":"3679:8:49"},"referencedDeclaration":6167,"src":"3679:8:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo"}}},"visibility":"internal"},{"constant":false,"id":6186,"mutability":"mutable","name":"tickBitmap","nameLocation":"3738:10:49","nodeType":"VariableDeclaration","scope":6192,"src":"3704:44:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"},"typeName":{"id":6185,"keyName":"wordPos","keyNameLocation":"3718:7:49","keyType":{"id":6183,"name":"int16","nodeType":"ElementaryTypeName","src":"3712:5:49","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"nodeType":"Mapping","src":"3704:33:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6184,"name":"uint256","nodeType":"ElementaryTypeName","src":"3729:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"internal"},{"constant":false,"id":6191,"mutability":"mutable","name":"positions","nameLocation":"3805:9:49","nodeType":"VariableDeclaration","scope":6192,"src":"3758:56:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_State_$7755_storage_$","typeString":"mapping(bytes32 => struct Position.State)"},"typeName":{"id":6190,"keyName":"positionKey","keyNameLocation":"3774:11:49","keyType":{"id":6187,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3766:7:49","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"3758:46:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_State_$7755_storage_$","typeString":"mapping(bytes32 => struct Position.State)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6189,"nodeType":"UserDefinedTypeName","pathNode":{"id":6188,"name":"Position.State","nameLocations":["3789:8:49","3798:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":7755,"src":"3789:14:49"},"referencedDeclaration":7755,"src":"3789:14:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State"}}},"visibility":"internal"}],"name":"State","nameLocation":"3517:5:49","nodeType":"StructDefinition","scope":7731,"src":"3510:311:49","visibility":"public"},{"body":{"id":6239,"nodeType":"Block","src":"3944:294:49","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":6202,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6200,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6195,"src":"3958:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":6201,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6197,"src":"3971:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"3958:22:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6212,"nodeType":"IfStatement","src":"3954:85:49","trueBody":{"expression":{"arguments":[{"id":6208,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6195,"src":"4018:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":6209,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6197,"src":"4029:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"expression":{"id":6203,"name":"TicksMisordered","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6119,"src":"3982:15:49","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_int24_$_t_int24_$returns$_t_error_$","typeString":"function (int24,int24) pure returns (error)"}},"id":6206,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3998:8:49","memberName":"selector","nodeType":"MemberAccess","src":"3982:24:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":6207,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4007:10:49","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4409,"src":"3982:35:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_int24_$_t_int24_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,int24,int24) pure"}},"id":6210,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3982:57:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6211,"nodeType":"ExpressionStatement","src":"3982:57:49"}},{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":6216,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6213,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6195,"src":"4053:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":6214,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"4065:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":6215,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4074:8:49","memberName":"MIN_TICK","nodeType":"MemberAccess","referencedDeclaration":9802,"src":"4065:17:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"4053:29:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6225,"nodeType":"IfStatement","src":"4049:86:49","trueBody":{"expression":{"arguments":[{"id":6222,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6195,"src":"4125:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"expression":{"id":6217,"name":"TickLowerOutOfBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6124,"src":"4084:20:49","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_int24_$returns$_t_error_$","typeString":"function (int24) pure returns (error)"}},"id":6220,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4105:8:49","memberName":"selector","nodeType":"MemberAccess","src":"4084:29:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":6221,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4114:10:49","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4387,"src":"4084:40:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_int24_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,int24) pure"}},"id":6223,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4084:51:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6224,"nodeType":"ExpressionStatement","src":"4084:51:49"}},{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":6229,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6226,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6197,"src":"4149:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"id":6227,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"4161:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":6228,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4170:8:49","memberName":"MAX_TICK","nodeType":"MemberAccess","referencedDeclaration":9806,"src":"4161:17:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"4149:29:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6238,"nodeType":"IfStatement","src":"4145:86:49","trueBody":{"expression":{"arguments":[{"id":6235,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6197,"src":"4221:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"expression":{"id":6230,"name":"TickUpperOutOfBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6129,"src":"4180:20:49","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_int24_$returns$_t_error_$","typeString":"function (int24) pure returns (error)"}},"id":6233,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4201:8:49","memberName":"selector","nodeType":"MemberAccess","src":"4180:29:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":6234,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4210:10:49","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4387,"src":"4180:40:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_int24_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,int24) pure"}},"id":6236,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4180:51:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6237,"nodeType":"ExpressionStatement","src":"4180:51:49"}}]},"documentation":{"id":6193,"nodeType":"StructuredDocumentation","src":"3827:45:49","text":"@dev Common checks for valid tick inputs."},"id":6240,"implemented":true,"kind":"function","modifiers":[],"name":"checkTicks","nameLocation":"3886:10:49","nodeType":"FunctionDefinition","parameters":{"id":6198,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6195,"mutability":"mutable","name":"tickLower","nameLocation":"3903:9:49","nodeType":"VariableDeclaration","scope":6240,"src":"3897:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6194,"name":"int24","nodeType":"ElementaryTypeName","src":"3897:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":6197,"mutability":"mutable","name":"tickUpper","nameLocation":"3920:9:49","nodeType":"VariableDeclaration","scope":6240,"src":"3914:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6196,"name":"int24","nodeType":"ElementaryTypeName","src":"3914:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"3896:34:49"},"returnParameters":{"id":6199,"nodeType":"ParameterList","parameters":[],"src":"3944:0:49"},"scope":7731,"src":"3877:361:49","stateMutability":"pure","virtual":false,"visibility":"private"},{"body":{"id":6294,"nodeType":"Block","src":"4350:328:49","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":6257,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":6252,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6243,"src":"4364:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6253,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4369:5:49","memberName":"slot0","nodeType":"MemberAccess","referencedDeclaration":6171,"src":"4364:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6254,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4375:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":11097,"src":"4364:23:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_uint160_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (uint160)"}},"id":6255,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4364:25:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":6256,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4393:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4364:30:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6265,"nodeType":"IfStatement","src":"4360:80:49","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":6258,"name":"PoolAlreadyInitialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6137,"src":"4396:22:49","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6261,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4419:8:49","memberName":"selector","nodeType":"MemberAccess","src":"4396:31:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":6262,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4428:10:49","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"4396:42:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":6263,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4396:44:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6264,"nodeType":"ExpressionStatement","src":"4396:44:49"}},{"expression":{"id":6271,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6266,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6250,"src":"4451:4:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":6269,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6245,"src":"4486:12:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":6267,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"4458:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":6268,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4467:18:49","memberName":"getTickAtSqrtPrice","nodeType":"MemberAccess","referencedDeclaration":10330,"src":"4458:27:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$returns$_t_int24_$","typeString":"function (uint160) pure returns (int24)"}},"id":6270,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4458:41:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"4451:48:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":6272,"nodeType":"ExpressionStatement","src":"4451:48:49"},{"expression":{"id":6292,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6273,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6243,"src":"4576:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6275,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"4581:5:49","memberName":"slot0","nodeType":"MemberAccess","referencedDeclaration":6171,"src":"4576:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":6290,"name":"lpFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6247,"src":"4665:5:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"arguments":[{"id":6287,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6250,"src":"4650:4:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"arguments":[{"id":6284,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6245,"src":"4628:12:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"arguments":[{"arguments":[{"hexValue":"30","id":6280,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4608:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":6279,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4600:7:49","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":6278,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4600:7:49","typeDescriptions":{}}},"id":6281,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4600:10:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":6276,"name":"Slot0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11067,"src":"4589:5:49","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"type(Slot0)"}},"id":6277,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4595:4:49","memberName":"wrap","nodeType":"MemberAccess","src":"4589:10:49","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (bytes32) pure returns (Slot0)"}},"id":6282,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4589:22:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6283,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4612:15:49","memberName":"setSqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":11140,"src":"4589:38:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$_t_uint160_$returns$_t_userDefinedValueType$_Slot0_$11067_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0,uint160) pure returns (Slot0)"}},"id":6285,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4589:52:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6286,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4642:7:49","memberName":"setTick","nodeType":"MemberAccess","referencedDeclaration":11153,"src":"4589:60:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$_t_int24_$returns$_t_userDefinedValueType$_Slot0_$11067_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0,int24) pure returns (Slot0)"}},"id":6288,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4589:66:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6289,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4656:8:49","memberName":"setLpFee","nodeType":"MemberAccess","referencedDeclaration":11179,"src":"4589:75:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$_t_uint24_$returns$_t_userDefinedValueType$_Slot0_$11067_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0,uint24) pure returns (Slot0)"}},"id":6291,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4589:82:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"src":"4576:95:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6293,"nodeType":"ExpressionStatement","src":"4576:95:49"}]},"id":6295,"implemented":true,"kind":"function","modifiers":[],"name":"initialize","nameLocation":"4253:10:49","nodeType":"FunctionDefinition","parameters":{"id":6248,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6243,"mutability":"mutable","name":"self","nameLocation":"4278:4:49","nodeType":"VariableDeclaration","scope":6295,"src":"4264:18:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":6242,"nodeType":"UserDefinedTypeName","pathNode":{"id":6241,"name":"State","nameLocations":["4264:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"4264:5:49"},"referencedDeclaration":6192,"src":"4264:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"},{"constant":false,"id":6245,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"4292:12:49","nodeType":"VariableDeclaration","scope":6295,"src":"4284:20:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":6244,"name":"uint160","nodeType":"ElementaryTypeName","src":"4284:7:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":6247,"mutability":"mutable","name":"lpFee","nameLocation":"4313:5:49","nodeType":"VariableDeclaration","scope":6295,"src":"4306:12:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6246,"name":"uint24","nodeType":"ElementaryTypeName","src":"4306:6:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"4263:56:49"},"returnParameters":{"id":6251,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6250,"mutability":"mutable","name":"tick","nameLocation":"4344:4:49","nodeType":"VariableDeclaration","scope":6295,"src":"4338:10:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6249,"name":"int24","nodeType":"ElementaryTypeName","src":"4338:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"4337:12:49"},"scope":7731,"src":"4244:434:49","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":6318,"nodeType":"Block","src":"4757:105:49","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6303,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6298,"src":"4767:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6305,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4772:20:49","memberName":"checkPoolInitialized","nodeType":"MemberAccess","referencedDeclaration":7666,"src":"4767:25:49","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_State_$6192_storage_ptr_$returns$__$attached_to$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (struct Pool.State storage pointer) view"}},"id":6306,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4767:27:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6307,"nodeType":"ExpressionStatement","src":"4767:27:49"},{"expression":{"id":6316,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6308,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6298,"src":"4804:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6310,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"4809:5:49","memberName":"slot0","nodeType":"MemberAccess","referencedDeclaration":6171,"src":"4804:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":6314,"name":"protocolFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6300,"src":"4843:11:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"expression":{"id":6311,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6298,"src":"4817:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6312,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4822:5:49","memberName":"slot0","nodeType":"MemberAccess","referencedDeclaration":6171,"src":"4817:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6313,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4828:14:49","memberName":"setProtocolFee","nodeType":"MemberAccess","referencedDeclaration":11166,"src":"4817:25:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$_t_uint24_$returns$_t_userDefinedValueType$_Slot0_$11067_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0,uint24) pure returns (Slot0)"}},"id":6315,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4817:38:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"src":"4804:51:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6317,"nodeType":"ExpressionStatement","src":"4804:51:49"}]},"id":6319,"implemented":true,"kind":"function","modifiers":[],"name":"setProtocolFee","nameLocation":"4693:14:49","nodeType":"FunctionDefinition","parameters":{"id":6301,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6298,"mutability":"mutable","name":"self","nameLocation":"4722:4:49","nodeType":"VariableDeclaration","scope":6319,"src":"4708:18:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":6297,"nodeType":"UserDefinedTypeName","pathNode":{"id":6296,"name":"State","nameLocations":["4708:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"4708:5:49"},"referencedDeclaration":6192,"src":"4708:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"},{"constant":false,"id":6300,"mutability":"mutable","name":"protocolFee","nameLocation":"4735:11:49","nodeType":"VariableDeclaration","scope":6319,"src":"4728:18:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6299,"name":"uint24","nodeType":"ElementaryTypeName","src":"4728:6:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"4707:40:49"},"returnParameters":{"id":6302,"nodeType":"ParameterList","parameters":[],"src":"4757:0:49"},"scope":7731,"src":"4684:178:49","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":6343,"nodeType":"Block","src":"4991:93:49","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6328,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6323,"src":"5001:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6330,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"5006:20:49","memberName":"checkPoolInitialized","nodeType":"MemberAccess","referencedDeclaration":7666,"src":"5001:25:49","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_State_$6192_storage_ptr_$returns$__$attached_to$_t_struct$_State_$6192_storage_ptr_$","typeString":"function (struct Pool.State storage pointer) view"}},"id":6331,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5001:27:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6332,"nodeType":"ExpressionStatement","src":"5001:27:49"},{"expression":{"id":6341,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6333,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6323,"src":"5038:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6335,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"5043:5:49","memberName":"slot0","nodeType":"MemberAccess","referencedDeclaration":6171,"src":"5038:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":6339,"name":"lpFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6325,"src":"5071:5:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"expression":{"id":6336,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6323,"src":"5051:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6337,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"5056:5:49","memberName":"slot0","nodeType":"MemberAccess","referencedDeclaration":6171,"src":"5051:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6338,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5062:8:49","memberName":"setLpFee","nodeType":"MemberAccess","referencedDeclaration":11179,"src":"5051:19:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$_t_uint24_$returns$_t_userDefinedValueType$_Slot0_$11067_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0,uint24) pure returns (Slot0)"}},"id":6340,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5051:26:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"src":"5038:39:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6342,"nodeType":"ExpressionStatement","src":"5038:39:49"}]},"documentation":{"id":6320,"nodeType":"StructuredDocumentation","src":"4868:57:49","text":"@notice Only dynamic fee pools may update the lp fee."},"id":6344,"implemented":true,"kind":"function","modifiers":[],"name":"setLPFee","nameLocation":"4939:8:49","nodeType":"FunctionDefinition","parameters":{"id":6326,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6323,"mutability":"mutable","name":"self","nameLocation":"4962:4:49","nodeType":"VariableDeclaration","scope":6344,"src":"4948:18:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":6322,"nodeType":"UserDefinedTypeName","pathNode":{"id":6321,"name":"State","nameLocations":["4948:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"4948:5:49"},"referencedDeclaration":6192,"src":"4948:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"},{"constant":false,"id":6325,"mutability":"mutable","name":"lpFee","nameLocation":"4975:5:49","nodeType":"VariableDeclaration","scope":6344,"src":"4968:12:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6324,"name":"uint24","nodeType":"ElementaryTypeName","src":"4968:6:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"4947:34:49"},"returnParameters":{"id":6327,"nodeType":"ParameterList","parameters":[],"src":"4991:0:49"},"scope":7731,"src":"4930:154:49","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"canonicalName":"Pool.ModifyLiquidityParams","id":6357,"members":[{"constant":false,"id":6346,"mutability":"mutable","name":"owner","nameLocation":"5183:5:49","nodeType":"VariableDeclaration","scope":6357,"src":"5175:13:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6345,"name":"address","nodeType":"ElementaryTypeName","src":"5175:7:49","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6348,"mutability":"mutable","name":"tickLower","nameLocation":"5256:9:49","nodeType":"VariableDeclaration","scope":6357,"src":"5250:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6347,"name":"int24","nodeType":"ElementaryTypeName","src":"5250:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":6350,"mutability":"mutable","name":"tickUpper","nameLocation":"5281:9:49","nodeType":"VariableDeclaration","scope":6357,"src":"5275:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6349,"name":"int24","nodeType":"ElementaryTypeName","src":"5275:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":6352,"mutability":"mutable","name":"liquidityDelta","nameLocation":"5342:14:49","nodeType":"VariableDeclaration","scope":6357,"src":"5335:21:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":6351,"name":"int128","nodeType":"ElementaryTypeName","src":"5335:6:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":6354,"mutability":"mutable","name":"tickSpacing","nameLocation":"5409:11:49","nodeType":"VariableDeclaration","scope":6357,"src":"5403:17:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6353,"name":"int24","nodeType":"ElementaryTypeName","src":"5403:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":6356,"mutability":"mutable","name":"salt","nameLocation":"5521:4:49","nodeType":"VariableDeclaration","scope":6357,"src":"5513:12:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6355,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5513:7:49","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"name":"ModifyLiquidityParams","nameLocation":"5097:21:49","nodeType":"StructDefinition","scope":7731,"src":"5090:442:49","visibility":"public"},{"canonicalName":"Pool.ModifyLiquidityState","id":6366,"members":[{"constant":false,"id":6359,"mutability":"mutable","name":"flippedLower","nameLocation":"5581:12:49","nodeType":"VariableDeclaration","scope":6366,"src":"5576:17:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":6358,"name":"bool","nodeType":"ElementaryTypeName","src":"5576:4:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":6361,"mutability":"mutable","name":"liquidityGrossAfterLower","nameLocation":"5611:24:49","nodeType":"VariableDeclaration","scope":6366,"src":"5603:32:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6360,"name":"uint128","nodeType":"ElementaryTypeName","src":"5603:7:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":6363,"mutability":"mutable","name":"flippedUpper","nameLocation":"5650:12:49","nodeType":"VariableDeclaration","scope":6366,"src":"5645:17:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":6362,"name":"bool","nodeType":"ElementaryTypeName","src":"5645:4:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":6365,"mutability":"mutable","name":"liquidityGrossAfterUpper","nameLocation":"5680:24:49","nodeType":"VariableDeclaration","scope":6366,"src":"5672:32:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6364,"name":"uint128","nodeType":"ElementaryTypeName","src":"5672:7:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"name":"ModifyLiquidityState","nameLocation":"5545:20:49","nodeType":"StructDefinition","scope":7731,"src":"5538:173:49","visibility":"public"},{"body":{"id":6692,"nodeType":"Block","src":"6268:4237:49","statements":[{"assignments":[6383],"declarations":[{"constant":false,"id":6383,"mutability":"mutable","name":"liquidityDelta","nameLocation":"6285:14:49","nodeType":"VariableDeclaration","scope":6692,"src":"6278:21:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":6382,"name":"int128","nodeType":"ElementaryTypeName","src":"6278:6:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"id":6386,"initialValue":{"expression":{"id":6384,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6373,"src":"6302:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$6357_memory_ptr","typeString":"struct Pool.ModifyLiquidityParams memory"}},"id":6385,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6309:14:49","memberName":"liquidityDelta","nodeType":"MemberAccess","referencedDeclaration":6352,"src":"6302:21:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"VariableDeclarationStatement","src":"6278:45:49"},{"assignments":[6388],"declarations":[{"constant":false,"id":6388,"mutability":"mutable","name":"tickLower","nameLocation":"6339:9:49","nodeType":"VariableDeclaration","scope":6692,"src":"6333:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6387,"name":"int24","nodeType":"ElementaryTypeName","src":"6333:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"id":6391,"initialValue":{"expression":{"id":6389,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6373,"src":"6351:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$6357_memory_ptr","typeString":"struct Pool.ModifyLiquidityParams memory"}},"id":6390,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6358:9:49","memberName":"tickLower","nodeType":"MemberAccess","referencedDeclaration":6348,"src":"6351:16:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"VariableDeclarationStatement","src":"6333:34:49"},{"assignments":[6393],"declarations":[{"constant":false,"id":6393,"mutability":"mutable","name":"tickUpper","nameLocation":"6383:9:49","nodeType":"VariableDeclaration","scope":6692,"src":"6377:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6392,"name":"int24","nodeType":"ElementaryTypeName","src":"6377:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"id":6396,"initialValue":{"expression":{"id":6394,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6373,"src":"6395:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$6357_memory_ptr","typeString":"struct Pool.ModifyLiquidityParams memory"}},"id":6395,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6402:9:49","memberName":"tickUpper","nodeType":"MemberAccess","referencedDeclaration":6350,"src":"6395:16:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"VariableDeclarationStatement","src":"6377:34:49"},{"expression":{"arguments":[{"id":6398,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6388,"src":"6432:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":6399,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6393,"src":"6443:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"}],"id":6397,"name":"checkTicks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6240,"src":"6421:10:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$_t_int24_$returns$__$","typeString":"function (int24,int24) pure"}},"id":6400,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6421:32:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6401,"nodeType":"ExpressionStatement","src":"6421:32:49"},{"id":6579,"nodeType":"Block","src":"6464:2251:49","statements":[{"assignments":[6404],"declarations":[{"constant":false,"id":6404,"mutability":"mutable","name":"state","nameLocation":"6506:5:49","nodeType":"VariableDeclaration","scope":6579,"src":"6478:33:49","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityState_$6366_memory_ptr","typeString":"struct Pool.ModifyLiquidityState"},"typeName":{"id":6403,"nodeType":"UserDefinedTypeName","pathNode":{"id":6402,"name":"ModifyLiquidityState","nameLocations":["6478:20:49"],"nodeType":"IdentifierPath","referencedDeclaration":6366,"src":"6478:20:49"},"referencedDeclaration":6366,"src":"6478:20:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityState_$6366_storage_ptr","typeString":"struct Pool.ModifyLiquidityState"}},"visibility":"internal"}],"id":6405,"nodeType":"VariableDeclarationStatement","src":"6478:33:49"},{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":6408,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6406,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"6583:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":6407,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6601:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6583:19:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6506,"nodeType":"IfStatement","src":"6579:1188:49","trueBody":{"id":6505,"nodeType":"Block","src":"6604:1163:49","statements":[{"expression":{"id":6421,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"id":6409,"name":"state","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6404,"src":"6623:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityState_$6366_memory_ptr","typeString":"struct Pool.ModifyLiquidityState memory"}},"id":6411,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6629:12:49","memberName":"flippedLower","nodeType":"MemberAccess","referencedDeclaration":6359,"src":"6623:18:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":6412,"name":"state","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6404,"src":"6643:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityState_$6366_memory_ptr","typeString":"struct Pool.ModifyLiquidityState memory"}},"id":6413,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6649:24:49","memberName":"liquidityGrossAfterLower","nodeType":"MemberAccess","referencedDeclaration":6361,"src":"6643:30:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"id":6414,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"6622:52:49","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint128_$","typeString":"tuple(bool,uint128)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":6416,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6370,"src":"6708:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},{"id":6417,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6388,"src":"6714:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":6418,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"6725:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"hexValue":"66616c7365","id":6419,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6741:5:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":6415,"name":"updateTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7624,"src":"6697:10:49","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_State_$6192_storage_ptr_$_t_int24_$_t_int128_$_t_bool_$returns$_t_bool_$_t_uint128_$","typeString":"function (struct Pool.State storage pointer,int24,int128,bool) returns (bool,uint128)"}},"id":6420,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6697:50:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint128_$","typeString":"tuple(bool,uint128)"}},"src":"6622:125:49","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6422,"nodeType":"ExpressionStatement","src":"6622:125:49"},{"expression":{"id":6435,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"id":6423,"name":"state","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6404,"src":"6766:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityState_$6366_memory_ptr","typeString":"struct Pool.ModifyLiquidityState memory"}},"id":6425,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6772:12:49","memberName":"flippedUpper","nodeType":"MemberAccess","referencedDeclaration":6363,"src":"6766:18:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":6426,"name":"state","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6404,"src":"6786:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityState_$6366_memory_ptr","typeString":"struct Pool.ModifyLiquidityState memory"}},"id":6427,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6792:24:49","memberName":"liquidityGrossAfterUpper","nodeType":"MemberAccess","referencedDeclaration":6365,"src":"6786:30:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"id":6428,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"6765:52:49","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint128_$","typeString":"tuple(bool,uint128)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":6430,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6370,"src":"6831:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},{"id":6431,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6393,"src":"6837:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":6432,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"6848:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"hexValue":"74727565","id":6433,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6864:4:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":6429,"name":"updateTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7624,"src":"6820:10:49","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_State_$6192_storage_ptr_$_t_int24_$_t_int128_$_t_bool_$returns$_t_bool_$_t_uint128_$","typeString":"function (struct Pool.State storage pointer,int24,int128,bool) returns (bool,uint128)"}},"id":6434,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6820:49:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint128_$","typeString":"tuple(bool,uint128)"}},"src":"6765:104:49","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6436,"nodeType":"ExpressionStatement","src":"6765:104:49"},{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":6439,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6437,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"6974:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"hexValue":"30","id":6438,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6992:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6974:19:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6476,"nodeType":"IfStatement","src":"6970:508:49","trueBody":{"id":6475,"nodeType":"Block","src":"6995:483:49","statements":[{"assignments":[6441],"declarations":[{"constant":false,"id":6441,"mutability":"mutable","name":"maxLiquidityPerTick","nameLocation":"7025:19:49","nodeType":"VariableDeclaration","scope":6475,"src":"7017:27:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6440,"name":"uint128","nodeType":"ElementaryTypeName","src":"7017:7:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":6446,"initialValue":{"arguments":[{"expression":{"id":6443,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6373,"src":"7080:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$6357_memory_ptr","typeString":"struct Pool.ModifyLiquidityParams memory"}},"id":6444,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7087:11:49","memberName":"tickSpacing","nodeType":"MemberAccess","referencedDeclaration":6354,"src":"7080:18:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"id":6442,"name":"tickSpacingToMaxLiquidityPerTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7644,"src":"7047:32:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint128_$","typeString":"function (int24) pure returns (uint128)"}},"id":6445,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7047:52:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"7017:82:49"},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":6450,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6447,"name":"state","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6404,"src":"7125:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityState_$6366_memory_ptr","typeString":"struct Pool.ModifyLiquidityState memory"}},"id":6448,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7131:24:49","memberName":"liquidityGrossAfterLower","nodeType":"MemberAccess","referencedDeclaration":6361,"src":"7125:30:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":6449,"name":"maxLiquidityPerTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6441,"src":"7158:19:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"7125:52:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6460,"nodeType":"IfStatement","src":"7121:159:49","trueBody":{"id":6459,"nodeType":"Block","src":"7179:101:49","statements":[{"expression":{"arguments":[{"id":6456,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6388,"src":"7247:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"expression":{"id":6451,"name":"TickLiquidityOverflow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6134,"src":"7205:21:49","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_int24_$returns$_t_error_$","typeString":"function (int24) pure returns (error)"}},"id":6454,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7227:8:49","memberName":"selector","nodeType":"MemberAccess","src":"7205:30:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":6455,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7236:10:49","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4387,"src":"7205:41:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_int24_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,int24) pure"}},"id":6457,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7205:52:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6458,"nodeType":"ExpressionStatement","src":"7205:52:49"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":6464,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6461,"name":"state","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6404,"src":"7305:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityState_$6366_memory_ptr","typeString":"struct Pool.ModifyLiquidityState memory"}},"id":6462,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7311:24:49","memberName":"liquidityGrossAfterUpper","nodeType":"MemberAccess","referencedDeclaration":6365,"src":"7305:30:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":6463,"name":"maxLiquidityPerTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6441,"src":"7338:19:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"7305:52:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6474,"nodeType":"IfStatement","src":"7301:159:49","trueBody":{"id":6473,"nodeType":"Block","src":"7359:101:49","statements":[{"expression":{"arguments":[{"id":6470,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6393,"src":"7427:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"expression":{"id":6465,"name":"TickLiquidityOverflow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6134,"src":"7385:21:49","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_int24_$returns$_t_error_$","typeString":"function (int24) pure returns (error)"}},"id":6468,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7407:8:49","memberName":"selector","nodeType":"MemberAccess","src":"7385:30:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":6469,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7416:10:49","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4387,"src":"7385:41:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_int24_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,int24) pure"}},"id":6471,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7385:52:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6472,"nodeType":"ExpressionStatement","src":"7385:52:49"}]}}]}},{"condition":{"expression":{"id":6477,"name":"state","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6404,"src":"7500:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityState_$6366_memory_ptr","typeString":"struct Pool.ModifyLiquidityState memory"}},"id":6478,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7506:12:49","memberName":"flippedLower","nodeType":"MemberAccess","referencedDeclaration":6359,"src":"7500:18:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6490,"nodeType":"IfStatement","src":"7496:120:49","trueBody":{"id":6489,"nodeType":"Block","src":"7520:96:49","statements":[{"expression":{"arguments":[{"id":6484,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6388,"src":"7567:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":6485,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6373,"src":"7578:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$6357_memory_ptr","typeString":"struct Pool.ModifyLiquidityParams memory"}},"id":6486,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7585:11:49","memberName":"tickSpacing","nodeType":"MemberAccess","referencedDeclaration":6354,"src":"7578:18:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"expression":{"id":6479,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6370,"src":"7542:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6482,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7547:10:49","memberName":"tickBitmap","nodeType":"MemberAccess","referencedDeclaration":6186,"src":"7542:15:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"}},"id":6483,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7558:8:49","memberName":"flipTick","nodeType":"MemberAccess","referencedDeclaration":9595,"src":"7542:24:49","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_mapping$_t_int16_$_t_uint256_$_$_t_int24_$_t_int24_$returns$__$attached_to$_t_mapping$_t_int16_$_t_uint256_$_$","typeString":"function (mapping(int16 => uint256),int24,int24)"}},"id":6487,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7542:55:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6488,"nodeType":"ExpressionStatement","src":"7542:55:49"}]}},{"condition":{"expression":{"id":6491,"name":"state","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6404,"src":"7637:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityState_$6366_memory_ptr","typeString":"struct Pool.ModifyLiquidityState memory"}},"id":6492,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7643:12:49","memberName":"flippedUpper","nodeType":"MemberAccess","referencedDeclaration":6363,"src":"7637:18:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6504,"nodeType":"IfStatement","src":"7633:120:49","trueBody":{"id":6503,"nodeType":"Block","src":"7657:96:49","statements":[{"expression":{"arguments":[{"id":6498,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6393,"src":"7704:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":6499,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6373,"src":"7715:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$6357_memory_ptr","typeString":"struct Pool.ModifyLiquidityParams memory"}},"id":6500,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7722:11:49","memberName":"tickSpacing","nodeType":"MemberAccess","referencedDeclaration":6354,"src":"7715:18:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"expression":{"id":6493,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6370,"src":"7679:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6496,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7684:10:49","memberName":"tickBitmap","nodeType":"MemberAccess","referencedDeclaration":6186,"src":"7679:15:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"}},"id":6497,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7695:8:49","memberName":"flipTick","nodeType":"MemberAccess","referencedDeclaration":9595,"src":"7679:24:49","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_mapping$_t_int16_$_t_uint256_$_$_t_int24_$_t_int24_$returns$__$attached_to$_t_mapping$_t_int16_$_t_uint256_$_$","typeString":"function (mapping(int16 => uint256),int24,int24)"}},"id":6501,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7679:55:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6502,"nodeType":"ExpressionStatement","src":"7679:55:49"}]}}]}},{"id":6555,"nodeType":"Block","src":"7781:595:49","statements":[{"assignments":[6508,6510],"declarations":[{"constant":false,"id":6508,"mutability":"mutable","name":"feeGrowthInside0X128","nameLocation":"7808:20:49","nodeType":"VariableDeclaration","scope":6555,"src":"7800:28:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6507,"name":"uint256","nodeType":"ElementaryTypeName","src":"7800:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6510,"mutability":"mutable","name":"feeGrowthInside1X128","nameLocation":"7838:20:49","nodeType":"VariableDeclaration","scope":6555,"src":"7830:28:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6509,"name":"uint256","nodeType":"ElementaryTypeName","src":"7830:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6516,"initialValue":{"arguments":[{"id":6512,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6370,"src":"7901:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},{"id":6513,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6388,"src":"7907:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":6514,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6393,"src":"7918:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"}],"id":6511,"name":"getFeeGrowthInside","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7529,"src":"7882:18:49","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_State_$6192_storage_ptr_$_t_int24_$_t_int24_$returns$_t_uint256_$_t_uint256_$","typeString":"function (struct Pool.State storage pointer,int24,int24) view returns (uint256,uint256)"}},"id":6515,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7882:46:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"7799:129:49"},{"assignments":[6521],"declarations":[{"constant":false,"id":6521,"mutability":"mutable","name":"position","nameLocation":"7970:8:49","nodeType":"VariableDeclaration","scope":6555,"src":"7947:31:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State"},"typeName":{"id":6520,"nodeType":"UserDefinedTypeName","pathNode":{"id":6519,"name":"Position.State","nameLocations":["7947:8:49","7956:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":7755,"src":"7947:14:49"},"referencedDeclaration":7755,"src":"7947:14:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State"}},"visibility":"internal"}],"id":6532,"initialValue":{"arguments":[{"expression":{"id":6525,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6373,"src":"8000:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$6357_memory_ptr","typeString":"struct Pool.ModifyLiquidityParams memory"}},"id":6526,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8007:5:49","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":6346,"src":"8000:12:49","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6527,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6388,"src":"8014:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":6528,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6393,"src":"8025:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":6529,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6373,"src":"8036:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$6357_memory_ptr","typeString":"struct Pool.ModifyLiquidityParams memory"}},"id":6530,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8043:4:49","memberName":"salt","nodeType":"MemberAccess","referencedDeclaration":6356,"src":"8036:11:49","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"expression":{"id":6522,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6370,"src":"7981:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6523,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7986:9:49","memberName":"positions","nodeType":"MemberAccess","referencedDeclaration":6191,"src":"7981:14:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_State_$7755_storage_$","typeString":"mapping(bytes32 => struct Position.State storage ref)"}},"id":6524,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7996:3:49","memberName":"get","nodeType":"MemberAccess","referencedDeclaration":7791,"src":"7981:18:49","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_mapping$_t_bytes32_$_t_struct$_State_$7755_storage_$_$_t_address_$_t_int24_$_t_int24_$_t_bytes32_$returns$_t_struct$_State_$7755_storage_ptr_$attached_to$_t_mapping$_t_bytes32_$_t_struct$_State_$7755_storage_$_$","typeString":"function (mapping(bytes32 => struct Position.State storage ref),address,int24,int24,bytes32) view returns (struct Position.State storage pointer)"}},"id":6531,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7981:67:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State storage pointer"}},"nodeType":"VariableDeclarationStatement","src":"7947:101:49"},{"assignments":[6534,6536],"declarations":[{"constant":false,"id":6534,"mutability":"mutable","name":"feesOwed0","nameLocation":"8075:9:49","nodeType":"VariableDeclaration","scope":6555,"src":"8067:17:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6533,"name":"uint256","nodeType":"ElementaryTypeName","src":"8067:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6536,"mutability":"mutable","name":"feesOwed1","nameLocation":"8094:9:49","nodeType":"VariableDeclaration","scope":6555,"src":"8086:17:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6535,"name":"uint256","nodeType":"ElementaryTypeName","src":"8086:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6543,"initialValue":{"arguments":[{"id":6539,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"8143:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"id":6540,"name":"feeGrowthInside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6508,"src":"8159:20:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6541,"name":"feeGrowthInside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6510,"src":"8181:20:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":6537,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6521,"src":"8127:8:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State storage pointer"}},"id":6538,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8136:6:49","memberName":"update","nodeType":"MemberAccess","referencedDeclaration":7896,"src":"8127:15:49","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_State_$7755_storage_ptr_$_t_int128_$_t_uint256_$_t_uint256_$returns$_t_uint256_$_t_uint256_$attached_to$_t_struct$_State_$7755_storage_ptr_$","typeString":"function (struct Position.State storage pointer,int128,uint256,uint256) returns (uint256,uint256)"}},"id":6542,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8127:75:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"8066:136:49"},{"expression":{"id":6553,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6544,"name":"feeDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6380,"src":"8292:8:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6546,"name":"feesOwed0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6534,"src":"8318:9:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6547,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8328:8:49","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8144,"src":"8318:18:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int128)"}},"id":6548,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8318:20:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6549,"name":"feesOwed1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6536,"src":"8340:9:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6550,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8350:8:49","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8144,"src":"8340:18:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int128)"}},"id":6551,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8340:20:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"id":6545,"name":"toBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10529,"src":"8303:14:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$_t_int128_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int128,int128) pure returns (BalanceDelta)"}},"id":6552,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8303:58:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"8292:69:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":6554,"nodeType":"ExpressionStatement","src":"8292:69:49"}]},{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":6558,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6556,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"8454:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":6557,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8471:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8454:18:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6578,"nodeType":"IfStatement","src":"8450:255:49","trueBody":{"id":6577,"nodeType":"Block","src":"8474:231:49","statements":[{"condition":{"expression":{"id":6559,"name":"state","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6404,"src":"8496:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityState_$6366_memory_ptr","typeString":"struct Pool.ModifyLiquidityState memory"}},"id":6560,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8502:12:49","memberName":"flippedLower","nodeType":"MemberAccess","referencedDeclaration":6359,"src":"8496:18:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6567,"nodeType":"IfStatement","src":"8492:91:49","trueBody":{"id":6566,"nodeType":"Block","src":"8516:67:49","statements":[{"expression":{"arguments":[{"id":6562,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6370,"src":"8548:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},{"id":6563,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6388,"src":"8554:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"},{"typeIdentifier":"t_int24","typeString":"int24"}],"id":6561,"name":"clearTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7682,"src":"8538:9:49","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_State_$6192_storage_ptr_$_t_int24_$returns$__$","typeString":"function (struct Pool.State storage pointer,int24)"}},"id":6564,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8538:26:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6565,"nodeType":"ExpressionStatement","src":"8538:26:49"}]}},{"condition":{"expression":{"id":6568,"name":"state","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6404,"src":"8604:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityState_$6366_memory_ptr","typeString":"struct Pool.ModifyLiquidityState memory"}},"id":6569,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8610:12:49","memberName":"flippedUpper","nodeType":"MemberAccess","referencedDeclaration":6363,"src":"8604:18:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6576,"nodeType":"IfStatement","src":"8600:91:49","trueBody":{"id":6575,"nodeType":"Block","src":"8624:67:49","statements":[{"expression":{"arguments":[{"id":6571,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6370,"src":"8656:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},{"id":6572,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6393,"src":"8662:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"},{"typeIdentifier":"t_int24","typeString":"int24"}],"id":6570,"name":"clearTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7682,"src":"8646:9:49","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_State_$6192_storage_ptr_$_t_int24_$returns$__$","typeString":"function (struct Pool.State storage pointer,int24)"}},"id":6573,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8646:26:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6574,"nodeType":"ExpressionStatement","src":"8646:26:49"}]}}]}}]},{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":6582,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6580,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"8729:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":6581,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8747:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8729:19:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6691,"nodeType":"IfStatement","src":"8725:1774:49","trueBody":{"id":6690,"nodeType":"Block","src":"8750:1749:49","statements":[{"assignments":[6585],"declarations":[{"constant":false,"id":6585,"mutability":"mutable","name":"_slot0","nameLocation":"8770:6:49","nodeType":"VariableDeclaration","scope":6690,"src":"8764:12:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":6584,"nodeType":"UserDefinedTypeName","pathNode":{"id":6583,"name":"Slot0","nameLocations":["8764:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"8764:5:49"},"referencedDeclaration":11067,"src":"8764:5:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"}],"id":6588,"initialValue":{"expression":{"id":6586,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6370,"src":"8779:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6587,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8784:5:49","memberName":"slot0","nodeType":"MemberAccess","referencedDeclaration":6171,"src":"8779:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"nodeType":"VariableDeclarationStatement","src":"8764:25:49"},{"assignments":[6590,6592],"declarations":[{"constant":false,"id":6590,"mutability":"mutable","name":"tick","nameLocation":"8810:4:49","nodeType":"VariableDeclaration","scope":6690,"src":"8804:10:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6589,"name":"int24","nodeType":"ElementaryTypeName","src":"8804:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":6592,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"8824:12:49","nodeType":"VariableDeclaration","scope":6690,"src":"8816:20:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":6591,"name":"uint160","nodeType":"ElementaryTypeName","src":"8816:7:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"id":6600,"initialValue":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6593,"name":"_slot0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6585,"src":"8841:6:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6594,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8848:4:49","memberName":"tick","nodeType":"MemberAccess","referencedDeclaration":11107,"src":"8841:11:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (int24)"}},"id":6595,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8841:13:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6596,"name":"_slot0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6585,"src":"8856:6:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6597,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8863:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":11097,"src":"8856:19:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_uint160_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (uint160)"}},"id":6598,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8856:21:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":6599,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8840:38:49","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_uint160_$","typeString":"tuple(int24,uint160)"}},"nodeType":"VariableDeclarationStatement","src":"8803:75:49"},{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":6603,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6601,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6590,"src":"8896:4:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":6602,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6388,"src":"8903:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"8896:16:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":6627,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6625,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6590,"src":"9456:4:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":6626,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6393,"src":"9463:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"9456:16:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":6687,"nodeType":"Block","src":"9957:532:49","statements":[{"expression":{"id":6685,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6667,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6377,"src":"10207:5:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"30","id":6669,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10251:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"arguments":[{"id":6674,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6388,"src":"10357:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":6672,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"10329:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":6673,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10338:18:49","memberName":"getSqrtPriceAtTick","nodeType":"MemberAccess","referencedDeclaration":10190,"src":"10329:27:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":6675,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10329:38:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":6678,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6393,"src":"10397:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":6676,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"10369:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":6677,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10378:18:49","memberName":"getSqrtPriceAtTick","nodeType":"MemberAccess","referencedDeclaration":10190,"src":"10369:27:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":6679,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10369:38:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":6680,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"10409:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":6670,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"10274:13:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":6671,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10288:15:49","memberName":"getAmount1Delta","nodeType":"MemberAccess","referencedDeclaration":8635,"src":"10274:29:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_int128_$returns$_t_int256_$","typeString":"function (uint160,uint160,int128) pure returns (int256)"}},"id":6681,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10274:171:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":6682,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10446:8:49","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"10274:180:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":6683,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10274:182:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_int128","typeString":"int128"}],"id":6668,"name":"toBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10529,"src":"10215:14:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$_t_int128_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int128,int128) pure returns (BalanceDelta)"}},"id":6684,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10215:259:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"10207:267:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":6686,"nodeType":"ExpressionStatement","src":"10207:267:49"}]},"id":6688,"nodeType":"IfStatement","src":"9452:1037:49","trueBody":{"id":6666,"nodeType":"Block","src":"9474:477:49","statements":[{"expression":{"id":6653,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6628,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6377,"src":"9492:5:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":6632,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6592,"src":"9566:12:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":6635,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6393,"src":"9608:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":6633,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"9580:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":6634,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9589:18:49","memberName":"getSqrtPriceAtTick","nodeType":"MemberAccess","referencedDeclaration":10190,"src":"9580:27:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":6636,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9580:38:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":6637,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"9620:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":6630,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"9536:13:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":6631,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9550:15:49","memberName":"getAmount0Delta","nodeType":"MemberAccess","referencedDeclaration":8592,"src":"9536:29:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_int128_$returns$_t_int256_$","typeString":"function (uint160,uint160,int128) pure returns (int256)"}},"id":6638,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9536:99:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":6639,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9661:8:49","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"9536:133:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":6640,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9536:135:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"arguments":[{"id":6645,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6388,"src":"9751:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":6643,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"9723:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":6644,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9732:18:49","memberName":"getSqrtPriceAtTick","nodeType":"MemberAccess","referencedDeclaration":10190,"src":"9723:27:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":6646,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9723:38:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":6647,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6592,"src":"9763:12:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":6648,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"9777:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":6641,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"9693:13:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":6642,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9707:15:49","memberName":"getAmount1Delta","nodeType":"MemberAccess","referencedDeclaration":8635,"src":"9693:29:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_int128_$returns$_t_int256_$","typeString":"function (uint160,uint160,int128) pure returns (int256)"}},"id":6649,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9693:99:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":6650,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9818:8:49","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"9693:133:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":6651,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9693:135:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"id":6629,"name":"toBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10529,"src":"9500:14:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$_t_int128_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int128,int128) pure returns (BalanceDelta)"}},"id":6652,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9500:346:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"9492:354:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":6654,"nodeType":"ExpressionStatement","src":"9492:354:49"},{"expression":{"id":6664,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6655,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6370,"src":"9865:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6657,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"9870:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6177,"src":"9865:14:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":6660,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6370,"src":"9905:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6661,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9910:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6177,"src":"9905:14:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":6662,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"9921:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":6658,"name":"LiquidityMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5970,"src":"9882:13:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_LiquidityMath_$5970_$","typeString":"type(library LiquidityMath)"}},"id":6659,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9896:8:49","memberName":"addDelta","nodeType":"MemberAccess","referencedDeclaration":5969,"src":"9882:22:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint128_$_t_int128_$returns$_t_uint128_$","typeString":"function (uint128,int128) pure returns (uint128)"}},"id":6663,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9882:54:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"9865:71:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":6665,"nodeType":"ExpressionStatement","src":"9865:71:49"}]}},"id":6689,"nodeType":"IfStatement","src":"8892:1597:49","trueBody":{"id":6624,"nodeType":"Block","src":"8914:532:49","statements":[{"expression":{"id":6622,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6604,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6377,"src":"9164:5:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"arguments":[{"id":6610,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6388,"src":"9291:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":6608,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"9263:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":6609,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9272:18:49","memberName":"getSqrtPriceAtTick","nodeType":"MemberAccess","referencedDeclaration":10190,"src":"9263:27:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":6611,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9263:38:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":6614,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6393,"src":"9331:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":6612,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"9303:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":6613,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9312:18:49","memberName":"getSqrtPriceAtTick","nodeType":"MemberAccess","referencedDeclaration":10190,"src":"9303:27:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":6615,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9303:38:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":6616,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"9343:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":6606,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"9208:13:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":6607,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9222:15:49","memberName":"getAmount0Delta","nodeType":"MemberAccess","referencedDeclaration":8592,"src":"9208:29:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_int128_$returns$_t_int256_$","typeString":"function (uint160,uint160,int128) pure returns (int256)"}},"id":6617,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9208:171:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":6618,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9380:8:49","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"9208:180:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":6619,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9208:182:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"hexValue":"30","id":6620,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9412:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":6605,"name":"toBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10529,"src":"9172:14:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$_t_int128_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int128,int128) pure returns (BalanceDelta)"}},"id":6621,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9172:259:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"9164:267:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":6623,"nodeType":"ExpressionStatement","src":"9164:267:49"}]}}]}}]},"documentation":{"id":6367,"nodeType":"StructuredDocumentation","src":"5717:383:49","text":"@notice Effect changes to a position in a pool\n @dev PoolManager checks that the pool is initialized before calling\n @param params the position details and the change to the position's liquidity to effect\n @return delta the deltas of the token balances of the pool, from the liquidity change\n @return feeDelta the fees generated by the liquidity range"},"id":6693,"implemented":true,"kind":"function","modifiers":[],"name":"modifyLiquidity","nameLocation":"6114:15:49","nodeType":"FunctionDefinition","parameters":{"id":6374,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6370,"mutability":"mutable","name":"self","nameLocation":"6144:4:49","nodeType":"VariableDeclaration","scope":6693,"src":"6130:18:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":6369,"nodeType":"UserDefinedTypeName","pathNode":{"id":6368,"name":"State","nameLocations":["6130:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"6130:5:49"},"referencedDeclaration":6192,"src":"6130:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"},{"constant":false,"id":6373,"mutability":"mutable","name":"params","nameLocation":"6179:6:49","nodeType":"VariableDeclaration","scope":6693,"src":"6150:35:49","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$6357_memory_ptr","typeString":"struct Pool.ModifyLiquidityParams"},"typeName":{"id":6372,"nodeType":"UserDefinedTypeName","pathNode":{"id":6371,"name":"ModifyLiquidityParams","nameLocations":["6150:21:49"],"nodeType":"IdentifierPath","referencedDeclaration":6357,"src":"6150:21:49"},"referencedDeclaration":6357,"src":"6150:21:49","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$6357_storage_ptr","typeString":"struct Pool.ModifyLiquidityParams"}},"visibility":"internal"}],"src":"6129:57:49"},"returnParameters":{"id":6381,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6377,"mutability":"mutable","name":"delta","nameLocation":"6234:5:49","nodeType":"VariableDeclaration","scope":6693,"src":"6221:18:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":6376,"nodeType":"UserDefinedTypeName","pathNode":{"id":6375,"name":"BalanceDelta","nameLocations":["6221:12:49"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"6221:12:49"},"referencedDeclaration":10503,"src":"6221:12:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":6380,"mutability":"mutable","name":"feeDelta","nameLocation":"6254:8:49","nodeType":"VariableDeclaration","scope":6693,"src":"6241:21:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":6379,"nodeType":"UserDefinedTypeName","pathNode":{"id":6378,"name":"BalanceDelta","nameLocations":["6241:12:49"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"6241:12:49"},"referencedDeclaration":10503,"src":"6241:12:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"6220:43:49"},"scope":7731,"src":"6105:4400:49","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"canonicalName":"Pool.SwapResult","id":6700,"members":[{"constant":false,"id":6695,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"10683:12:49","nodeType":"VariableDeclaration","scope":6700,"src":"10675:20:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":6694,"name":"uint160","nodeType":"ElementaryTypeName","src":"10675:7:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":6697,"mutability":"mutable","name":"tick","nameLocation":"10765:4:49","nodeType":"VariableDeclaration","scope":6700,"src":"10759:10:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6696,"name":"int24","nodeType":"ElementaryTypeName","src":"10759:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":6699,"mutability":"mutable","name":"liquidity","nameLocation":"10829:9:49","nodeType":"VariableDeclaration","scope":6700,"src":"10821:17:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6698,"name":"uint128","nodeType":"ElementaryTypeName","src":"10821:7:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"name":"SwapResult","nameLocation":"10619:10:49","nodeType":"StructDefinition","scope":7731,"src":"10612:233:49","visibility":"public"},{"canonicalName":"Pool.StepComputations","id":6717,"members":[{"constant":false,"id":6702,"mutability":"mutable","name":"sqrtPriceStartX96","nameLocation":"10943:17:49","nodeType":"VariableDeclaration","scope":6717,"src":"10935:25:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":6701,"name":"uint160","nodeType":"ElementaryTypeName","src":"10935:7:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":6704,"mutability":"mutable","name":"tickNext","nameLocation":"11056:8:49","nodeType":"VariableDeclaration","scope":6717,"src":"11050:14:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6703,"name":"int24","nodeType":"ElementaryTypeName","src":"11050:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":6706,"mutability":"mutable","name":"initialized","nameLocation":"11129:11:49","nodeType":"VariableDeclaration","scope":6717,"src":"11124:16:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":6705,"name":"bool","nodeType":"ElementaryTypeName","src":"11124:4:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":6708,"mutability":"mutable","name":"sqrtPriceNextX96","nameLocation":"11205:16:49","nodeType":"VariableDeclaration","scope":6717,"src":"11197:24:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":6707,"name":"uint160","nodeType":"ElementaryTypeName","src":"11197:7:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":6710,"mutability":"mutable","name":"amountIn","nameLocation":"11292:8:49","nodeType":"VariableDeclaration","scope":6717,"src":"11284:16:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6709,"name":"uint256","nodeType":"ElementaryTypeName","src":"11284:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6712,"mutability":"mutable","name":"amountOut","nameLocation":"11359:9:49","nodeType":"VariableDeclaration","scope":6717,"src":"11351:17:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6711,"name":"uint256","nodeType":"ElementaryTypeName","src":"11351:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6714,"mutability":"mutable","name":"feeAmount","nameLocation":"11427:9:49","nodeType":"VariableDeclaration","scope":6717,"src":"11419:17:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6713,"name":"uint256","nodeType":"ElementaryTypeName","src":"11419:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6716,"mutability":"mutable","name":"feeGrowthGlobalX128","nameLocation":"11545:19:49","nodeType":"VariableDeclaration","scope":6717,"src":"11537:27:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6715,"name":"uint256","nodeType":"ElementaryTypeName","src":"11537:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"StepComputations","nameLocation":"10858:16:49","nodeType":"StructDefinition","scope":7731,"src":"10851:720:49","visibility":"public"},{"canonicalName":"Pool.SwapParams","id":6728,"members":[{"constant":false,"id":6719,"mutability":"mutable","name":"amountSpecified","nameLocation":"11612:15:49","nodeType":"VariableDeclaration","scope":6728,"src":"11605:22:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":6718,"name":"int256","nodeType":"ElementaryTypeName","src":"11605:6:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":6721,"mutability":"mutable","name":"tickSpacing","nameLocation":"11643:11:49","nodeType":"VariableDeclaration","scope":6728,"src":"11637:17:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6720,"name":"int24","nodeType":"ElementaryTypeName","src":"11637:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":6723,"mutability":"mutable","name":"zeroForOne","nameLocation":"11669:10:49","nodeType":"VariableDeclaration","scope":6728,"src":"11664:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":6722,"name":"bool","nodeType":"ElementaryTypeName","src":"11664:4:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":6725,"mutability":"mutable","name":"sqrtPriceLimitX96","nameLocation":"11697:17:49","nodeType":"VariableDeclaration","scope":6728,"src":"11689:25:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":6724,"name":"uint160","nodeType":"ElementaryTypeName","src":"11689:7:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":6727,"mutability":"mutable","name":"lpFeeOverride","nameLocation":"11731:13:49","nodeType":"VariableDeclaration","scope":6728,"src":"11724:20:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6726,"name":"uint24","nodeType":"ElementaryTypeName","src":"11724:6:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"name":"SwapParams","nameLocation":"11584:10:49","nodeType":"StructDefinition","scope":7731,"src":"11577:174:49","visibility":"public"},{"body":{"id":7342,"nodeType":"Block","src":"12116:9430:49","statements":[{"assignments":[6750],"declarations":[{"constant":false,"id":6750,"mutability":"mutable","name":"slot0Start","nameLocation":"12132:10:49","nodeType":"VariableDeclaration","scope":7342,"src":"12126:16:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":6749,"nodeType":"UserDefinedTypeName","pathNode":{"id":6748,"name":"Slot0","nameLocations":["12126:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"12126:5:49"},"referencedDeclaration":11067,"src":"12126:5:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"}],"id":6753,"initialValue":{"expression":{"id":6751,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6732,"src":"12145:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6752,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12150:5:49","memberName":"slot0","nodeType":"MemberAccess","referencedDeclaration":6171,"src":"12145:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"nodeType":"VariableDeclarationStatement","src":"12126:29:49"},{"assignments":[6755],"declarations":[{"constant":false,"id":6755,"mutability":"mutable","name":"zeroForOne","nameLocation":"12170:10:49","nodeType":"VariableDeclaration","scope":7342,"src":"12165:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":6754,"name":"bool","nodeType":"ElementaryTypeName","src":"12165:4:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":6758,"initialValue":{"expression":{"id":6756,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"12183:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6757,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12190:10:49","memberName":"zeroForOne","nodeType":"MemberAccess","referencedDeclaration":6723,"src":"12183:17:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"12165:35:49"},{"assignments":[6760],"declarations":[{"constant":false,"id":6760,"mutability":"mutable","name":"protocolFee","nameLocation":"12219:11:49","nodeType":"VariableDeclaration","scope":7342,"src":"12211:19:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6759,"name":"uint256","nodeType":"ElementaryTypeName","src":"12211:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6773,"initialValue":{"condition":{"id":6761,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6755,"src":"12245:10:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6767,"name":"slot0Start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6750,"src":"12304:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6768,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12315:11:49","memberName":"protocolFee","nodeType":"MemberAccess","referencedDeclaration":11117,"src":"12304:22:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_uint24_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (uint24)"}},"id":6769,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12304:24:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":6770,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12329:16:49","memberName":"getOneForZeroFee","nodeType":"MemberAccess","referencedDeclaration":7947,"src":"12304:41:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$_t_uint16_$attached_to$_t_uint24_$","typeString":"function (uint24) pure returns (uint16)"}},"id":6771,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12304:43:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":6772,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"12245:102:49","trueExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6762,"name":"slot0Start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6750,"src":"12258:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6763,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12269:11:49","memberName":"protocolFee","nodeType":"MemberAccess","referencedDeclaration":11117,"src":"12258:22:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_uint24_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (uint24)"}},"id":6764,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12258:24:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":6765,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12283:16:49","memberName":"getZeroForOneFee","nodeType":"MemberAccess","referencedDeclaration":7932,"src":"12258:41:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$_t_uint16_$attached_to$_t_uint24_$","typeString":"function (uint24) pure returns (uint16)"}},"id":6766,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12258:43:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"VariableDeclarationStatement","src":"12211:136:49"},{"assignments":[6775],"declarations":[{"constant":false,"id":6775,"mutability":"mutable","name":"amountSpecifiedRemaining","nameLocation":"12482:24:49","nodeType":"VariableDeclaration","scope":7342,"src":"12475:31:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":6774,"name":"int256","nodeType":"ElementaryTypeName","src":"12475:6:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":6778,"initialValue":{"expression":{"id":6776,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"12509:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6777,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12516:15:49","memberName":"amountSpecified","nodeType":"MemberAccess","referencedDeclaration":6719,"src":"12509:22:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"VariableDeclarationStatement","src":"12475:56:49"},{"assignments":[6780],"declarations":[{"constant":false,"id":6780,"mutability":"mutable","name":"amountCalculated","nameLocation":"12631:16:49","nodeType":"VariableDeclaration","scope":7342,"src":"12624:23:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":6779,"name":"int256","nodeType":"ElementaryTypeName","src":"12624:6:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":6782,"initialValue":{"hexValue":"30","id":6781,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12650:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"12624:27:49"},{"expression":{"id":6789,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6783,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"12710:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":6785,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"12717:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":6695,"src":"12710:19:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6786,"name":"slot0Start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6750,"src":"12732:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6787,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12743:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":11097,"src":"12732:23:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_uint160_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (uint160)"}},"id":6788,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12732:25:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"12710:47:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":6790,"nodeType":"ExpressionStatement","src":"12710:47:49"},{"expression":{"id":6797,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6791,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"12809:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":6793,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"12816:4:49","memberName":"tick","nodeType":"MemberAccess","referencedDeclaration":6697,"src":"12809:11:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6794,"name":"slot0Start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6750,"src":"12823:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6795,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12834:4:49","memberName":"tick","nodeType":"MemberAccess","referencedDeclaration":11107,"src":"12823:15:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (int24)"}},"id":6796,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12823:17:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"12809:31:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":6798,"nodeType":"ExpressionStatement","src":"12809:31:49"},{"expression":{"id":6804,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6799,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"12897:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":6801,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"12904:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6699,"src":"12897:16:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":6802,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6732,"src":"12916:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6803,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12921:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6177,"src":"12916:14:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"12897:33:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":6805,"nodeType":"ExpressionStatement","src":"12897:33:49"},{"id":6836,"nodeType":"Block","src":"13117:276:49","statements":[{"assignments":[6807],"declarations":[{"constant":false,"id":6807,"mutability":"mutable","name":"lpFee","nameLocation":"13138:5:49","nodeType":"VariableDeclaration","scope":6836,"src":"13131:12:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6806,"name":"uint24","nodeType":"ElementaryTypeName","src":"13131:6:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"id":6820,"initialValue":{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":6808,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"13146:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6809,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"13153:13:49","memberName":"lpFeeOverride","nodeType":"MemberAccess","referencedDeclaration":6727,"src":"13146:20:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":6810,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13167:10:49","memberName":"isOverride","nodeType":"MemberAccess","referencedDeclaration":5920,"src":"13146:31:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$_t_bool_$attached_to$_t_uint24_$","typeString":"function (uint24) pure returns (bool)"}},"id":6811,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13146:33:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6816,"name":"slot0Start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6750,"src":"13269:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6817,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13280:5:49","memberName":"lpFee","nodeType":"MemberAccess","referencedDeclaration":11127,"src":"13269:16:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_uint24_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (uint24)"}},"id":6818,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13269:18:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":6819,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"13146:141:49","trueExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":6812,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"13198:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6813,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"13205:13:49","memberName":"lpFeeOverride","nodeType":"MemberAccess","referencedDeclaration":6727,"src":"13198:20:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":6814,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13219:29:49","memberName":"removeOverrideFlagAndValidate","nodeType":"MemberAccess","referencedDeclaration":5953,"src":"13198:50:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint24_$returns$_t_uint24_$attached_to$_t_uint24_$","typeString":"function (uint24) pure returns (uint24)"}},"id":6815,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13198:52:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"VariableDeclarationStatement","src":"13131:156:49"},{"expression":{"id":6834,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6821,"name":"swapFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6743,"src":"13302:7:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6824,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6822,"name":"protocolFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6760,"src":"13312:11:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":6823,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13327:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"13312:16:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":6831,"name":"lpFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6807,"src":"13376:5:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"arguments":[{"id":6828,"name":"protocolFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6760,"src":"13346:11:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6827,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13339:6:49","typeDescriptions":{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"},"typeName":{"id":6826,"name":"uint16","nodeType":"ElementaryTypeName","src":"13339:6:49","typeDescriptions":{}}},"id":6829,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13339:19:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":6830,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13359:16:49","memberName":"calculateSwapFee","nodeType":"MemberAccess","referencedDeclaration":7968,"src":"13339:36:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint16_$_t_uint24_$returns$_t_uint24_$attached_to$_t_uint16_$","typeString":"function (uint16,uint24) pure returns (uint24)"}},"id":6832,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13339:43:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":6833,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"13312:70:49","trueExpression":{"id":6825,"name":"lpFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6807,"src":"13331:5:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"13302:80:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":6835,"nodeType":"ExpressionStatement","src":"13302:80:49"}]},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6840,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6837,"name":"swapFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6743,"src":"13542:7:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":6838,"name":"SwapMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9545,"src":"13553:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SwapMath_$9545_$","typeString":"type(library SwapMath)"}},"id":6839,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13562:12:49","memberName":"MAX_SWAP_FEE","nodeType":"MemberAccess","referencedDeclaration":9304,"src":"13553:21:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13542:32:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6855,"nodeType":"IfStatement","src":"13538:200:49","trueBody":{"id":6854,"nodeType":"Block","src":"13576:162:49","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":6844,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6841,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"13624:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6842,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"13631:15:49","memberName":"amountSpecified","nodeType":"MemberAccess","referencedDeclaration":6719,"src":"13624:22:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":6843,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13649:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"13624:26:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6853,"nodeType":"IfStatement","src":"13620:108:49","trueBody":{"id":6852,"nodeType":"Block","src":"13652:76:49","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":6845,"name":"InvalidFeeForExactOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6158,"src":"13670:21:49","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":6848,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13692:8:49","memberName":"selector","nodeType":"MemberAccess","src":"13670:30:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":6849,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13701:10:49","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"13670:41:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":6850,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13670:43:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6851,"nodeType":"ExpressionStatement","src":"13670:43:49"}]}}]}},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":6859,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6856,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"13946:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6857,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"13953:15:49","memberName":"amountSpecified","nodeType":"MemberAccess","referencedDeclaration":6719,"src":"13946:22:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":6858,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13972:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"13946:27:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6867,"nodeType":"IfStatement","src":"13942:92:49","trueBody":{"expression":{"components":[{"expression":{"id":6860,"name":"BalanceDeltaLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10661,"src":"13983:19:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_BalanceDeltaLibrary_$10661_$","typeString":"type(library BalanceDeltaLibrary)"}},"id":6861,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14003:10:49","memberName":"ZERO_DELTA","nodeType":"MemberAccess","referencedDeclaration":10640,"src":"13983:30:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"hexValue":"30","id":6862,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14015:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":6863,"name":"swapFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6743,"src":"14018:7:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},{"id":6864,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"14027:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}}],"id":6865,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"13982:52:49","typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_rational_0_by_1_$_t_uint24_$_t_struct$_SwapResult_$6700_memory_ptr_$","typeString":"tuple(BalanceDelta,int_const 0,uint24,struct Pool.SwapResult memory)"}},"functionReturnParameters":6747,"id":6866,"nodeType":"Return","src":"13975:59:49"}},{"condition":{"id":6868,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6755,"src":"14049:10:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":6942,"nodeType":"Block","src":"14682:384:49","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":6911,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6906,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"14700:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6907,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"14707:17:49","memberName":"sqrtPriceLimitX96","nodeType":"MemberAccess","referencedDeclaration":6725,"src":"14700:24:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6908,"name":"slot0Start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6750,"src":"14728:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6909,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14739:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":11097,"src":"14728:23:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_uint160_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (uint160)"}},"id":6910,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14728:25:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"14700:53:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6925,"nodeType":"IfStatement","src":"14696:190:49","trueBody":{"id":6924,"nodeType":"Block","src":"14755:131:49","statements":[{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6917,"name":"slot0Start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6750,"src":"14819:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6918,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14830:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":11097,"src":"14819:23:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_uint160_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (uint160)"}},"id":6919,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14819:25:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"expression":{"id":6920,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"14846:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6921,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"14853:17:49","memberName":"sqrtPriceLimitX96","nodeType":"MemberAccess","referencedDeclaration":6725,"src":"14846:24:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"expression":{"id":6912,"name":"PriceLimitAlreadyExceeded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6147,"src":"14773:25:49","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint160_$_t_uint160_$returns$_t_error_$","typeString":"function (uint160,uint160) pure returns (error)"}},"id":6915,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14799:8:49","memberName":"selector","nodeType":"MemberAccess","src":"14773:34:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":6916,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14808:10:49","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4421,"src":"14773:45:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_uint160_$_t_uint160_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,uint160,uint160) pure"}},"id":6922,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14773:98:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6923,"nodeType":"ExpressionStatement","src":"14773:98:49"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":6930,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6926,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"14903:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6927,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"14910:17:49","memberName":"sqrtPriceLimitX96","nodeType":"MemberAccess","referencedDeclaration":6725,"src":"14903:24:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":6928,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"14931:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":6929,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14940:14:49","memberName":"MAX_SQRT_PRICE","nodeType":"MemberAccess","referencedDeclaration":9826,"src":"14931:23:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"14903:51:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6941,"nodeType":"IfStatement","src":"14899:157:49","trueBody":{"id":6940,"nodeType":"Block","src":"14956:100:49","statements":[{"expression":{"arguments":[{"expression":{"id":6936,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"15016:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6937,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15023:17:49","memberName":"sqrtPriceLimitX96","nodeType":"MemberAccess","referencedDeclaration":6725,"src":"15016:24:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"expression":{"id":6931,"name":"PriceLimitOutOfBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6152,"src":"14974:21:49","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint160_$returns$_t_error_$","typeString":"function (uint160) pure returns (error)"}},"id":6934,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14996:8:49","memberName":"selector","nodeType":"MemberAccess","src":"14974:30:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":6935,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15005:10:49","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4397,"src":"14974:41:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_uint160_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,uint160) pure"}},"id":6938,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14974:67:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6939,"nodeType":"ExpressionStatement","src":"14974:67:49"}]}}]},"id":6943,"nodeType":"IfStatement","src":"14045:1021:49","trueBody":{"id":6905,"nodeType":"Block","src":"14061:615:49","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":6874,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6869,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"14079:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6870,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"14086:17:49","memberName":"sqrtPriceLimitX96","nodeType":"MemberAccess","referencedDeclaration":6725,"src":"14079:24:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6871,"name":"slot0Start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6750,"src":"14107:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6872,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14118:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":11097,"src":"14107:23:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_uint160_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (uint160)"}},"id":6873,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14107:25:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"14079:53:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6888,"nodeType":"IfStatement","src":"14075:190:49","trueBody":{"id":6887,"nodeType":"Block","src":"14134:131:49","statements":[{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":6880,"name":"slot0Start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6750,"src":"14198:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":6881,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14209:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":11097,"src":"14198:23:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_uint160_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (uint160)"}},"id":6882,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14198:25:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"expression":{"id":6883,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"14225:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6884,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"14232:17:49","memberName":"sqrtPriceLimitX96","nodeType":"MemberAccess","referencedDeclaration":6725,"src":"14225:24:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"expression":{"id":6875,"name":"PriceLimitAlreadyExceeded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6147,"src":"14152:25:49","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint160_$_t_uint160_$returns$_t_error_$","typeString":"function (uint160,uint160) pure returns (error)"}},"id":6878,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14178:8:49","memberName":"selector","nodeType":"MemberAccess","src":"14152:34:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":6879,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14187:10:49","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4421,"src":"14152:45:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_uint160_$_t_uint160_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,uint160,uint160) pure"}},"id":6885,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14152:98:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6886,"nodeType":"ExpressionStatement","src":"14152:98:49"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":6893,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6889,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"14513:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6890,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"14520:17:49","memberName":"sqrtPriceLimitX96","nodeType":"MemberAccess","referencedDeclaration":6725,"src":"14513:24:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":6891,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"14541:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":6892,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14550:14:49","memberName":"MIN_SQRT_PRICE","nodeType":"MemberAccess","referencedDeclaration":9822,"src":"14541:23:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"14513:51:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6904,"nodeType":"IfStatement","src":"14509:157:49","trueBody":{"id":6903,"nodeType":"Block","src":"14566:100:49","statements":[{"expression":{"arguments":[{"expression":{"id":6899,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"14626:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6900,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"14633:17:49","memberName":"sqrtPriceLimitX96","nodeType":"MemberAccess","referencedDeclaration":6725,"src":"14626:24:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"expression":{"id":6894,"name":"PriceLimitOutOfBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6152,"src":"14584:21:49","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint160_$returns$_t_error_$","typeString":"function (uint160) pure returns (error)"}},"id":6897,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14606:8:49","memberName":"selector","nodeType":"MemberAccess","src":"14584:30:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":6898,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14615:10:49","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4397,"src":"14584:41:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_uint160_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,uint160) pure"}},"id":6901,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14584:67:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6902,"nodeType":"ExpressionStatement","src":"14584:67:49"}]}}]}},{"assignments":[6946],"declarations":[{"constant":false,"id":6946,"mutability":"mutable","name":"step","nameLocation":"15100:4:49","nodeType":"VariableDeclaration","scope":7342,"src":"15076:28:49","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations"},"typeName":{"id":6945,"nodeType":"UserDefinedTypeName","pathNode":{"id":6944,"name":"StepComputations","nameLocations":["15076:16:49"],"nodeType":"IdentifierPath","referencedDeclaration":6717,"src":"15076:16:49"},"referencedDeclaration":6717,"src":"15076:16:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_storage_ptr","typeString":"struct Pool.StepComputations"}},"visibility":"internal"}],"id":6947,"nodeType":"VariableDeclarationStatement","src":"15076:28:49"},{"expression":{"id":6957,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6948,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"15114:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":6950,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"15119:19:49","memberName":"feeGrowthGlobalX128","nodeType":"MemberAccess","referencedDeclaration":6716,"src":"15114:24:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"id":6951,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6755,"src":"15141:10:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"expression":{"id":6954,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6732,"src":"15182:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6955,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15187:20:49","memberName":"feeGrowthGlobal1X128","nodeType":"MemberAccess","referencedDeclaration":6175,"src":"15182:25:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6956,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"15141:66:49","trueExpression":{"expression":{"id":6952,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6732,"src":"15154:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6953,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15159:20:49","memberName":"feeGrowthGlobal0X128","nodeType":"MemberAccess","referencedDeclaration":6173,"src":"15154:25:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15114:93:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6958,"nodeType":"ExpressionStatement","src":"15114:93:49"},{"body":{"id":7253,"nodeType":"Block","src":"15426:5152:49","statements":[{"expression":{"id":6975,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6970,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"15440:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":6972,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"15445:17:49","memberName":"sqrtPriceStartX96","nodeType":"MemberAccess","referencedDeclaration":6702,"src":"15440:22:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":6973,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"15465:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":6974,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15472:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":6695,"src":"15465:19:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"15440:44:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":6976,"nodeType":"ExpressionStatement","src":"15440:44:49"},{"expression":{"id":6992,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"id":6977,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"15500:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":6979,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"15505:8:49","memberName":"tickNext","nodeType":"MemberAccess","referencedDeclaration":6704,"src":"15500:13:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":6980,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"15515:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":6981,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"15520:11:49","memberName":"initialized","nodeType":"MemberAccess","referencedDeclaration":6706,"src":"15515:16:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":6982,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"15499:33:49","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_bool_$","typeString":"tuple(int24,bool)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":6986,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"15600:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":6987,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15607:4:49","memberName":"tick","nodeType":"MemberAccess","referencedDeclaration":6697,"src":"15600:11:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":6988,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"15613:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6989,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15620:11:49","memberName":"tickSpacing","nodeType":"MemberAccess","referencedDeclaration":6721,"src":"15613:18:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":6990,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6755,"src":"15633:10:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"expression":{"id":6983,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6732,"src":"15551:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":6984,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15556:10:49","memberName":"tickBitmap","nodeType":"MemberAccess","referencedDeclaration":6186,"src":"15551:15:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"}},"id":6985,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15567:32:49","memberName":"nextInitializedTickWithinOneWord","nodeType":"MemberAccess","referencedDeclaration":9776,"src":"15551:48:49","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_mapping$_t_int16_$_t_uint256_$_$_t_int24_$_t_int24_$_t_bool_$returns$_t_int24_$_t_bool_$attached_to$_t_mapping$_t_int16_$_t_uint256_$_$","typeString":"function (mapping(int16 => uint256),int24,int24,bool) view returns (int24,bool)"}},"id":6991,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15551:93:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_bool_$","typeString":"tuple(int24,bool)"}},"src":"15499:145:49","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6993,"nodeType":"ExpressionStatement","src":"15499:145:49"},{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":6998,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6994,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"15776:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":6995,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15781:8:49","memberName":"tickNext","nodeType":"MemberAccess","referencedDeclaration":6704,"src":"15776:13:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":6996,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"15793:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":6997,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15802:8:49","memberName":"MIN_TICK","nodeType":"MemberAccess","referencedDeclaration":9802,"src":"15793:17:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"15776:34:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7007,"nodeType":"IfStatement","src":"15772:106:49","trueBody":{"id":7006,"nodeType":"Block","src":"15812:66:49","statements":[{"expression":{"id":7004,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6999,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"15830:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7001,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"15835:8:49","memberName":"tickNext","nodeType":"MemberAccess","referencedDeclaration":6704,"src":"15830:13:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":7002,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"15846:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":7003,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15855:8:49","memberName":"MIN_TICK","nodeType":"MemberAccess","referencedDeclaration":9802,"src":"15846:17:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"15830:33:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":7005,"nodeType":"ExpressionStatement","src":"15830:33:49"}]}},{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":7012,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7008,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"15895:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7009,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15900:8:49","memberName":"tickNext","nodeType":"MemberAccess","referencedDeclaration":6704,"src":"15895:13:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":7010,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"15912:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":7011,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15921:8:49","memberName":"MAX_TICK","nodeType":"MemberAccess","referencedDeclaration":9806,"src":"15912:17:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"15895:34:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7021,"nodeType":"IfStatement","src":"15891:106:49","trueBody":{"id":7020,"nodeType":"Block","src":"15931:66:49","statements":[{"expression":{"id":7018,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7013,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"15949:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7015,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"15954:8:49","memberName":"tickNext","nodeType":"MemberAccess","referencedDeclaration":6704,"src":"15949:13:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":7016,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"15965:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":7017,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15974:8:49","memberName":"MAX_TICK","nodeType":"MemberAccess","referencedDeclaration":9806,"src":"15965:17:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"15949:33:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":7019,"nodeType":"ExpressionStatement","src":"15949:33:49"}]}},{"expression":{"id":7030,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7022,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"16058:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7024,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"16063:16:49","memberName":"sqrtPriceNextX96","nodeType":"MemberAccess","referencedDeclaration":6708,"src":"16058:21:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":7027,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"16110:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7028,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"16115:8:49","memberName":"tickNext","nodeType":"MemberAccess","referencedDeclaration":6704,"src":"16110:13:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":7025,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"16082:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":7026,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16091:18:49","memberName":"getSqrtPriceAtTick","nodeType":"MemberAccess","referencedDeclaration":10190,"src":"16082:27:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":7029,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16082:42:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"16058:66:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":7031,"nodeType":"ExpressionStatement","src":"16058:66:49"},{"expression":{"id":7059,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"id":7032,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"16259:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7034,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"16266:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":6695,"src":"16259:19:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"expression":{"id":7035,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"16280:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7036,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"16285:8:49","memberName":"amountIn","nodeType":"MemberAccess","referencedDeclaration":6710,"src":"16280:13:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7037,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"16295:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7038,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"16300:9:49","memberName":"amountOut","nodeType":"MemberAccess","referencedDeclaration":6712,"src":"16295:14:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7039,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"16311:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7040,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"16316:9:49","memberName":"feeAmount","nodeType":"MemberAccess","referencedDeclaration":6714,"src":"16311:14:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":7041,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"16258:68:49","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_uint256_$_t_uint256_$_t_uint256_$","typeString":"tuple(uint160,uint256,uint256,uint256)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":7044,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"16371:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7045,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"16378:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":6695,"src":"16371:19:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":7048,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6755,"src":"16436:10:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":7049,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"16448:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7050,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"16453:16:49","memberName":"sqrtPriceNextX96","nodeType":"MemberAccess","referencedDeclaration":6708,"src":"16448:21:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"expression":{"id":7051,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"16471:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":7052,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"16478:17:49","memberName":"sqrtPriceLimitX96","nodeType":"MemberAccess","referencedDeclaration":6725,"src":"16471:24:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":7046,"name":"SwapMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9545,"src":"16408:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SwapMath_$9545_$","typeString":"type(library SwapMath)"}},"id":7047,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16417:18:49","memberName":"getSqrtPriceTarget","nodeType":"MemberAccess","referencedDeclaration":9318,"src":"16408:27:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_uint160_$_t_uint160_$returns$_t_uint160_$","typeString":"function (bool,uint160,uint160) pure returns (uint160)"}},"id":7053,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16408:88:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"expression":{"id":7054,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"16514:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7055,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"16521:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6699,"src":"16514:16:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":7056,"name":"amountSpecifiedRemaining","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6775,"src":"16548:24:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"id":7057,"name":"swapFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6743,"src":"16590:7:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"id":7042,"name":"SwapMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9545,"src":"16329:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SwapMath_$9545_$","typeString":"type(library SwapMath)"}},"id":7043,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16338:15:49","memberName":"computeSwapStep","nodeType":"MemberAccess","referencedDeclaration":9544,"src":"16329:24:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_int256_$_t_uint24_$returns$_t_uint160_$_t_uint256_$_t_uint256_$_t_uint256_$","typeString":"function (uint160,uint160,uint128,int256,uint24) pure returns (uint160,uint256,uint256,uint256)"}},"id":7058,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16329:282:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_uint256_$_t_uint256_$_t_uint256_$","typeString":"tuple(uint160,uint256,uint256,uint256)"}},"src":"16258:353:49","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7060,"nodeType":"ExpressionStatement","src":"16258:353:49"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7064,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7061,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"16660:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":7062,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"16667:15:49","memberName":"amountSpecified","nodeType":"MemberAccess","referencedDeclaration":6719,"src":"16660:22:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":7063,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16685:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"16660:26:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":7104,"nodeType":"Block","src":"16911:313:49","statements":[{"id":7096,"nodeType":"UncheckedBlock","src":"17025:122:49","statements":[{"expression":{"id":7094,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7085,"name":"amountSpecifiedRemaining","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6775,"src":"17057:24:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7090,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7086,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"17086:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7087,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17091:8:49","memberName":"amountIn","nodeType":"MemberAccess","referencedDeclaration":6710,"src":"17086:13:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"expression":{"id":7088,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"17102:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7089,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17107:9:49","memberName":"feeAmount","nodeType":"MemberAccess","referencedDeclaration":6714,"src":"17102:14:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"17086:30:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":7091,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"17085:32:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7092,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17118:8:49","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":8114,"src":"17085:41:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":7093,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17085:43:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"17057:71:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":7095,"nodeType":"ExpressionStatement","src":"17057:71:49"}]},{"expression":{"id":7102,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7097,"name":"amountCalculated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6780,"src":"17164:16:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":7098,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"17184:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7099,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17189:9:49","memberName":"amountOut","nodeType":"MemberAccess","referencedDeclaration":6712,"src":"17184:14:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7100,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17199:8:49","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":8114,"src":"17184:23:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":7101,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17184:25:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"17164:45:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":7103,"nodeType":"ExpressionStatement","src":"17164:45:49"}]},"id":7105,"nodeType":"IfStatement","src":"16656:568:49","trueBody":{"id":7084,"nodeType":"Block","src":"16688:217:49","statements":[{"id":7072,"nodeType":"UncheckedBlock","src":"16706:104:49","statements":[{"expression":{"id":7070,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7065,"name":"amountSpecifiedRemaining","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6775,"src":"16738:24:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":7066,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"16766:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7067,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"16771:9:49","memberName":"amountOut","nodeType":"MemberAccess","referencedDeclaration":6712,"src":"16766:14:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7068,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16781:8:49","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":8114,"src":"16766:23:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":7069,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16766:25:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"16738:53:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":7071,"nodeType":"ExpressionStatement","src":"16738:53:49"}]},{"expression":{"id":7082,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7073,"name":"amountCalculated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6780,"src":"16827:16:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7078,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7074,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"16848:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7075,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"16853:8:49","memberName":"amountIn","nodeType":"MemberAccess","referencedDeclaration":6710,"src":"16848:13:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"expression":{"id":7076,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"16864:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7077,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"16869:9:49","memberName":"feeAmount","nodeType":"MemberAccess","referencedDeclaration":6714,"src":"16864:14:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"16848:30:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":7079,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"16847:32:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7080,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16880:8:49","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":8114,"src":"16847:41:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":7081,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16847:43:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"16827:63:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":7083,"nodeType":"ExpressionStatement","src":"16827:63:49"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7108,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7106,"name":"protocolFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6760,"src":"17359:11:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":7107,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17373:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"17359:15:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7142,"nodeType":"IfStatement","src":"17355:951:49","trueBody":{"id":7141,"nodeType":"Block","src":"17376:930:49","statements":[{"id":7140,"nodeType":"UncheckedBlock","src":"17394:898:49","statements":[{"assignments":[7110],"declarations":[{"constant":false,"id":7110,"mutability":"mutable","name":"delta","nameLocation":"17846:5:49","nodeType":"VariableDeclaration","scope":7140,"src":"17838:13:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7109,"name":"uint256","nodeType":"ElementaryTypeName","src":"17838:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":7129,"initialValue":{"condition":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7113,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7111,"name":"swapFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6743,"src":"17855:7:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":7112,"name":"protocolFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6760,"src":"17866:11:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"17855:22:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":7114,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"17854:24:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7127,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7124,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7121,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7117,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"18013:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7118,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"18018:8:49","memberName":"amountIn","nodeType":"MemberAccess","referencedDeclaration":6710,"src":"18013:13:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"expression":{"id":7119,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"18029:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7120,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"18034:9:49","memberName":"feeAmount","nodeType":"MemberAccess","referencedDeclaration":6714,"src":"18029:14:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"18013:30:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":7122,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"18012:32:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":7123,"name":"protocolFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6760,"src":"18047:11:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"18012:46:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"expression":{"id":7125,"name":"ProtocolFeeLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7969,"src":"18061:18:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ProtocolFeeLibrary_$7969_$","typeString":"type(library ProtocolFeeLibrary)"}},"id":7126,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"18080:16:49","memberName":"PIPS_DENOMINATOR","nodeType":"MemberAccess","referencedDeclaration":7917,"src":"18061:35:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"18012:84:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7128,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"17854:242:49","trueExpression":{"expression":{"id":7115,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"17905:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7116,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17910:9:49","memberName":"feeAmount","nodeType":"MemberAccess","referencedDeclaration":6714,"src":"17905:14:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"17838:258:49"},{"expression":{"id":7134,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7130,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"18203:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7132,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"18208:9:49","memberName":"feeAmount","nodeType":"MemberAccess","referencedDeclaration":6714,"src":"18203:14:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":7133,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7110,"src":"18221:5:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"18203:23:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7135,"nodeType":"ExpressionStatement","src":"18203:23:49"},{"expression":{"id":7138,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7136,"name":"amountToProtocol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6741,"src":"18248:16:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":7137,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7110,"src":"18268:5:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"18248:25:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7139,"nodeType":"ExpressionStatement","src":"18248:25:49"}]}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":7146,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7143,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"18365:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7144,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"18372:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6699,"src":"18365:16:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":7145,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18384:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"18365:20:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7163,"nodeType":"IfStatement","src":"18361:382:49","trueBody":{"id":7162,"nodeType":"Block","src":"18387:356:49","statements":[{"id":7161,"nodeType":"UncheckedBlock","src":"18405:324:49","statements":[{"expression":{"id":7159,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7147,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"18581:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7149,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"18586:19:49","memberName":"feeGrowthGlobalX128","nodeType":"MemberAccess","referencedDeclaration":6716,"src":"18581:24:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[{"expression":{"id":7152,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"18657:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7153,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"18662:9:49","memberName":"feeAmount","nodeType":"MemberAccess","referencedDeclaration":6714,"src":"18657:14:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7154,"name":"FixedPoint128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4458,"src":"18673:13:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint128_$4458_$","typeString":"type(library FixedPoint128)"}},"id":7155,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"18687:4:49","memberName":"Q128","nodeType":"MemberAccess","referencedDeclaration":4457,"src":"18673:18:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7156,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"18693:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7157,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"18700:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6699,"src":"18693:16:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"expression":{"id":7150,"name":"UnsafeMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10497,"src":"18633:10:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnsafeMath_$10497_$","typeString":"type(library UnsafeMath)"}},"id":7151,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"18644:12:49","memberName":"simpleMulDiv","nodeType":"MemberAccess","referencedDeclaration":10496,"src":"18633:23:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":7158,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18633:77:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"18581:129:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7160,"nodeType":"ExpressionStatement","src":"18581:129:49"}]}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":7168,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7164,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"19183:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7165,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19190:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":6695,"src":"19183:19:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":7166,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"19206:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7167,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19211:16:49","memberName":"sqrtPriceNextX96","nodeType":"MemberAccess","referencedDeclaration":6708,"src":"19206:21:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"19183:44:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":7239,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7235,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"20306:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7236,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20313:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":6695,"src":"20306:19:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"id":7237,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"20329:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7238,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20334:17:49","memberName":"sqrtPriceStartX96","nodeType":"MemberAccess","referencedDeclaration":6702,"src":"20329:22:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"20306:45:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7251,"nodeType":"IfStatement","src":"20302:266:49","trueBody":{"id":7250,"nodeType":"Block","src":"20353:215:49","statements":[{"expression":{"id":7248,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7240,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"20491:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7242,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"20498:4:49","memberName":"tick","nodeType":"MemberAccess","referencedDeclaration":6697,"src":"20491:11:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":7245,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"20533:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7246,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20540:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":6695,"src":"20533:19:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":7243,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"20505:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":7244,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20514:18:49","memberName":"getTickAtSqrtPrice","nodeType":"MemberAccess","referencedDeclaration":10330,"src":"20505:27:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$returns$_t_int24_$","typeString":"function (uint160) pure returns (int24)"}},"id":7247,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20505:48:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"20491:62:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":7249,"nodeType":"ExpressionStatement","src":"20491:62:49"}]}},"id":7252,"nodeType":"IfStatement","src":"19179:1389:49","trueBody":{"id":7234,"nodeType":"Block","src":"19229:1067:49","statements":[{"condition":{"expression":{"id":7169,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"19322:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7170,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19327:11:49","memberName":"initialized","nodeType":"MemberAccess","referencedDeclaration":6706,"src":"19322:16:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7219,"nodeType":"IfStatement","src":"19318:835:49","trueBody":{"id":7218,"nodeType":"Block","src":"19340:813:49","statements":[{"assignments":[7172,7174],"declarations":[{"constant":false,"id":7172,"mutability":"mutable","name":"feeGrowthGlobal0X128","nameLocation":"19371:20:49","nodeType":"VariableDeclaration","scope":7218,"src":"19363:28:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7171,"name":"uint256","nodeType":"ElementaryTypeName","src":"19363:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7174,"mutability":"mutable","name":"feeGrowthGlobal1X128","nameLocation":"19401:20:49","nodeType":"VariableDeclaration","scope":7218,"src":"19393:28:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7173,"name":"uint256","nodeType":"ElementaryTypeName","src":"19393:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":7187,"initialValue":{"condition":{"id":7175,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6755,"src":"19425:10:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"components":[{"expression":{"id":7181,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6732,"src":"19543:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7182,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19548:20:49","memberName":"feeGrowthGlobal0X128","nodeType":"MemberAccess","referencedDeclaration":6173,"src":"19543:25:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7183,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"19570:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7184,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19575:19:49","memberName":"feeGrowthGlobalX128","nodeType":"MemberAccess","referencedDeclaration":6716,"src":"19570:24:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":7185,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"19542:53:49","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"id":7186,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"19425:170:49","trueExpression":{"components":[{"expression":{"id":7176,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"19463:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7177,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19468:19:49","memberName":"feeGrowthGlobalX128","nodeType":"MemberAccess","referencedDeclaration":6716,"src":"19463:24:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7178,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6732,"src":"19489:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7179,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19494:20:49","memberName":"feeGrowthGlobal1X128","nodeType":"MemberAccess","referencedDeclaration":6175,"src":"19489:25:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":7180,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"19462:53:49","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"19362:233:49"},{"assignments":[7189],"declarations":[{"constant":false,"id":7189,"mutability":"mutable","name":"liquidityNet","nameLocation":"19624:12:49","nodeType":"VariableDeclaration","scope":7218,"src":"19617:19:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":7188,"name":"int128","nodeType":"ElementaryTypeName","src":"19617:6:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"id":7198,"initialValue":{"arguments":[{"id":7192,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6732,"src":"19678:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},{"expression":{"id":7193,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"19684:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7194,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19689:8:49","memberName":"tickNext","nodeType":"MemberAccess","referencedDeclaration":6704,"src":"19684:13:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":7195,"name":"feeGrowthGlobal0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7172,"src":"19699:20:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7196,"name":"feeGrowthGlobal1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7174,"src":"19721:20:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":7190,"name":"Pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7731,"src":"19663:4:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Pool_$7731_$","typeString":"type(library Pool)"}},"id":7191,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"19668:9:49","memberName":"crossTick","nodeType":"MemberAccess","referencedDeclaration":7730,"src":"19663:14:49","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_State_$6192_storage_ptr_$_t_int24_$_t_uint256_$_t_uint256_$returns$_t_int128_$","typeString":"function (struct Pool.State storage pointer,int24,uint256,uint256) returns (int128)"}},"id":7197,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19663:79:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"VariableDeclarationStatement","src":"19617:125:49"},{"id":7206,"nodeType":"UncheckedBlock","src":"19936:103:49","statements":[{"condition":{"id":7199,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6755,"src":"19976:10:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7205,"nodeType":"IfStatement","src":"19972:44:49","trueBody":{"expression":{"id":7203,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7200,"name":"liquidityNet","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7189,"src":"19988:12:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":7202,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"20003:13:49","subExpression":{"id":7201,"name":"liquidityNet","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7189,"src":"20004:12:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"19988:28:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":7204,"nodeType":"ExpressionStatement","src":"19988:28:49"}}]},{"expression":{"id":7216,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7207,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"20061:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7209,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"20068:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6699,"src":"20061:16:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":7212,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"20103:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7213,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20110:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6699,"src":"20103:16:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":7214,"name":"liquidityNet","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7189,"src":"20121:12:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":7210,"name":"LiquidityMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5970,"src":"20080:13:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_LiquidityMath_$5970_$","typeString":"type(library LiquidityMath)"}},"id":7211,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20094:8:49","memberName":"addDelta","nodeType":"MemberAccess","referencedDeclaration":5969,"src":"20080:22:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint128_$_t_int128_$returns$_t_uint128_$","typeString":"function (uint128,int128) pure returns (uint128)"}},"id":7215,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20080:54:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"20061:73:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":7217,"nodeType":"ExpressionStatement","src":"20061:73:49"}]}},{"id":7233,"nodeType":"UncheckedBlock","src":"20171:111:49","statements":[{"expression":{"id":7231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7220,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"20203:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7222,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"20210:4:49","memberName":"tick","nodeType":"MemberAccess","referencedDeclaration":6697,"src":"20203:11:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"id":7223,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6755,"src":"20217:10:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"expression":{"id":7228,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"20250:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7229,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20255:8:49","memberName":"tickNext","nodeType":"MemberAccess","referencedDeclaration":6704,"src":"20250:13:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":7230,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"20217:46:49","trueExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":7227,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7224,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"20230:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7225,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20235:8:49","memberName":"tickNext","nodeType":"MemberAccess","referencedDeclaration":6704,"src":"20230:13:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":7226,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20246:1:49","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"20230:17:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"20203:60:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":7232,"nodeType":"ExpressionStatement","src":"20203:60:49"}]}]}}]},"condition":{"id":6969,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"15341:83:49","subExpression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":6967,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":6961,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6959,"name":"amountSpecifiedRemaining","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6775,"src":"15343:24:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":6960,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15371:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"15343:29:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":6966,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6962,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"15376:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":6963,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15383:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":6695,"src":"15376:19:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":6964,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"15399:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":6965,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15406:17:49","memberName":"sqrtPriceLimitX96","nodeType":"MemberAccess","referencedDeclaration":6725,"src":"15399:24:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"15376:47:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"15343:80:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":6968,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"15342:82:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7254,"nodeType":"WhileStatement","src":"15334:5244:49"},{"expression":{"id":7267,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7255,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6732,"src":"20588:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7257,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"20593:5:49","memberName":"slot0","nodeType":"MemberAccess","referencedDeclaration":6171,"src":"20588:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":7264,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"20649:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7265,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20656:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":6695,"src":"20649:19:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"arguments":[{"expression":{"id":7260,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"20620:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7261,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20627:4:49","memberName":"tick","nodeType":"MemberAccess","referencedDeclaration":6697,"src":"20620:11:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":7258,"name":"slot0Start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6750,"src":"20601:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":7259,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20612:7:49","memberName":"setTick","nodeType":"MemberAccess","referencedDeclaration":11153,"src":"20601:18:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$_t_int24_$returns$_t_userDefinedValueType$_Slot0_$11067_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0,int24) pure returns (Slot0)"}},"id":7262,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20601:31:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":7263,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20633:15:49","memberName":"setSqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":11140,"src":"20601:47:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$_t_uint160_$returns$_t_userDefinedValueType$_Slot0_$11067_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0,uint160) pure returns (Slot0)"}},"id":7266,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20601:68:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"src":"20588:81:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":7268,"nodeType":"ExpressionStatement","src":"20588:81:49"},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":7273,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7269,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6732,"src":"20726:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7270,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20731:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6177,"src":"20726:14:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"id":7271,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"20744:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7272,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20751:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6699,"src":"20744:16:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"20726:34:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7281,"nodeType":"IfStatement","src":"20722:73:49","trueBody":{"expression":{"id":7279,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7274,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6732,"src":"20762:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7276,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"20767:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6177,"src":"20762:14:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":7277,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6746,"src":"20779:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult memory"}},"id":7278,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20786:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6699,"src":"20779:16:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"20762:33:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":7280,"nodeType":"ExpressionStatement","src":"20762:33:49"}},{"condition":{"id":7283,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"20846:11:49","subExpression":{"id":7282,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6755,"src":"20847:10:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":7299,"nodeType":"Block","src":"20942:77:49","statements":[{"expression":{"id":7297,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7292,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6732,"src":"20956:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7294,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"20961:20:49","memberName":"feeGrowthGlobal0X128","nodeType":"MemberAccess","referencedDeclaration":6173,"src":"20956:25:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":7295,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"20984:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7296,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20989:19:49","memberName":"feeGrowthGlobalX128","nodeType":"MemberAccess","referencedDeclaration":6716,"src":"20984:24:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"20956:52:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7298,"nodeType":"ExpressionStatement","src":"20956:52:49"}]},"id":7300,"nodeType":"IfStatement","src":"20842:177:49","trueBody":{"id":7291,"nodeType":"Block","src":"20859:77:49","statements":[{"expression":{"id":7289,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7284,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6732,"src":"20873:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7286,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"20878:20:49","memberName":"feeGrowthGlobal1X128","nodeType":"MemberAccess","referencedDeclaration":6175,"src":"20873:25:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":7287,"name":"step","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6946,"src":"20901:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_StepComputations_$6717_memory_ptr","typeString":"struct Pool.StepComputations memory"}},"id":7288,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20906:19:49","memberName":"feeGrowthGlobalX128","nodeType":"MemberAccess","referencedDeclaration":6716,"src":"20901:24:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"20873:52:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7290,"nodeType":"ExpressionStatement","src":"20873:52:49"}]}},{"id":7341,"nodeType":"UncheckedBlock","src":"21029:511:49","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":7307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7301,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6755,"src":"21100:10:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7305,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7302,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"21115:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":7303,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"21122:15:49","memberName":"amountSpecified","nodeType":"MemberAccess","referencedDeclaration":6719,"src":"21115:22:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":7304,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21140:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"21115:26:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":7306,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"21114:28:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"21100:42:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":7339,"nodeType":"Block","src":"21340:190:49","statements":[{"expression":{"id":7337,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7324,"name":"swapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6739,"src":"21358:9:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7329,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7326,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"21407:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":7327,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"21414:15:49","memberName":"amountSpecified","nodeType":"MemberAccess","referencedDeclaration":6719,"src":"21407:22:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":7328,"name":"amountSpecifiedRemaining","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6775,"src":"21432:24:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"21407:49:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":7330,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"21406:51:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":7331,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21458:8:49","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"21406:60:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":7332,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21406:62:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":7333,"name":"amountCalculated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6780,"src":"21470:16:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":7334,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21487:8:49","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"21470:25:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":7335,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21470:27:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"id":7325,"name":"toBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10529,"src":"21370:14:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$_t_int128_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int128,int128) pure returns (BalanceDelta)"}},"id":7336,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21370:145:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"21358:157:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":7338,"nodeType":"ExpressionStatement","src":"21358:157:49"}]},"id":7340,"nodeType":"IfStatement","src":"21096:434:49","trueBody":{"id":7323,"nodeType":"Block","src":"21144:190:49","statements":[{"expression":{"id":7321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7308,"name":"swapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6739,"src":"21162:9:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":7310,"name":"amountCalculated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6780,"src":"21210:16:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":7311,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21227:8:49","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"21210:25:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":7312,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21210:27:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7316,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7313,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6735,"src":"21240:6:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams memory"}},"id":7314,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"21247:15:49","memberName":"amountSpecified","nodeType":"MemberAccess","referencedDeclaration":6719,"src":"21240:22:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":7315,"name":"amountSpecifiedRemaining","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6775,"src":"21265:24:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"21240:49:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":7317,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"21239:51:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":7318,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21291:8:49","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"21239:60:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":7319,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21239:62:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"id":7309,"name":"toBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10529,"src":"21174:14:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$_t_int128_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int128,int128) pure returns (BalanceDelta)"}},"id":7320,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21174:145:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"21162:157:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":7322,"nodeType":"ExpressionStatement","src":"21162:157:49"}]}}]}]},"documentation":{"id":6729,"nodeType":"StructuredDocumentation","src":"11757:164:49","text":"@notice Executes a swap against the state, and returns the amount deltas of the pool\n @dev PoolManager checks that the pool is initialized before calling"},"id":7343,"implemented":true,"kind":"function","modifiers":[],"name":"swap","nameLocation":"11935:4:49","nodeType":"FunctionDefinition","parameters":{"id":6736,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6732,"mutability":"mutable","name":"self","nameLocation":"11954:4:49","nodeType":"VariableDeclaration","scope":7343,"src":"11940:18:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":6731,"nodeType":"UserDefinedTypeName","pathNode":{"id":6730,"name":"State","nameLocations":["11940:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"11940:5:49"},"referencedDeclaration":6192,"src":"11940:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"},{"constant":false,"id":6735,"mutability":"mutable","name":"params","nameLocation":"11978:6:49","nodeType":"VariableDeclaration","scope":7343,"src":"11960:24:49","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_memory_ptr","typeString":"struct Pool.SwapParams"},"typeName":{"id":6734,"nodeType":"UserDefinedTypeName","pathNode":{"id":6733,"name":"SwapParams","nameLocations":["11960:10:49"],"nodeType":"IdentifierPath","referencedDeclaration":6728,"src":"11960:10:49"},"referencedDeclaration":6728,"src":"11960:10:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$6728_storage_ptr","typeString":"struct Pool.SwapParams"}},"visibility":"internal"}],"src":"11939:46:49"},"returnParameters":{"id":6747,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6739,"mutability":"mutable","name":"swapDelta","nameLocation":"12033:9:49","nodeType":"VariableDeclaration","scope":7343,"src":"12020:22:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":6738,"nodeType":"UserDefinedTypeName","pathNode":{"id":6737,"name":"BalanceDelta","nameLocations":["12020:12:49"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"12020:12:49"},"referencedDeclaration":10503,"src":"12020:12:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":6741,"mutability":"mutable","name":"amountToProtocol","nameLocation":"12052:16:49","nodeType":"VariableDeclaration","scope":7343,"src":"12044:24:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6740,"name":"uint256","nodeType":"ElementaryTypeName","src":"12044:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6743,"mutability":"mutable","name":"swapFee","nameLocation":"12077:7:49","nodeType":"VariableDeclaration","scope":7343,"src":"12070:14:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6742,"name":"uint24","nodeType":"ElementaryTypeName","src":"12070:6:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":6746,"mutability":"mutable","name":"result","nameLocation":"12104:6:49","nodeType":"VariableDeclaration","scope":7343,"src":"12086:24:49","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_memory_ptr","typeString":"struct Pool.SwapResult"},"typeName":{"id":6745,"nodeType":"UserDefinedTypeName","pathNode":{"id":6744,"name":"SwapResult","nameLocations":["12086:10:49"],"nodeType":"IdentifierPath","referencedDeclaration":6700,"src":"12086:10:49"},"referencedDeclaration":6700,"src":"12086:10:49","typeDescriptions":{"typeIdentifier":"t_struct$_SwapResult_$6700_storage_ptr","typeString":"struct Pool.SwapResult"}},"visibility":"internal"}],"src":"12019:92:49"},"scope":7731,"src":"11926:9620:49","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":7423,"nodeType":"Block","src":"21741:768:49","statements":[{"assignments":[7358],"declarations":[{"constant":false,"id":7358,"mutability":"mutable","name":"liquidity","nameLocation":"21759:9:49","nodeType":"VariableDeclaration","scope":7423,"src":"21751:17:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7357,"name":"uint128","nodeType":"ElementaryTypeName","src":"21751:7:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":7361,"initialValue":{"expression":{"id":7359,"name":"state","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7347,"src":"21771:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7360,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"21777:9:49","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":6177,"src":"21771:15:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"21751:35:49"},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":7364,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7362,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7358,"src":"21800:9:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":7363,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21813:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"21800:14:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7372,"nodeType":"IfStatement","src":"21796:66:49","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":7365,"name":"NoLiquidityToReceiveFees","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6155,"src":"21816:24:49","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":7368,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21841:8:49","memberName":"selector","nodeType":"MemberAccess","src":"21816:33:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":7369,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21850:10:49","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"21816:44:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":7370,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21816:46:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7371,"nodeType":"ExpressionStatement","src":"21816:46:49"}},{"id":7422,"nodeType":"UncheckedBlock","src":"21872:631:49","statements":[{"expression":{"id":7386,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7373,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7355,"src":"21968:5:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7379,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"21991:21:49","subExpression":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":7375,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7349,"src":"21993:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7376,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22001:8:49","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8144,"src":"21993:16:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int128)"}},"id":7377,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21993:18:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"id":7378,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"21992:20:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"id":7384,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"22014:21:49","subExpression":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":7380,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7351,"src":"22016:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7381,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22024:8:49","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8144,"src":"22016:16:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int128)"}},"id":7382,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22016:18:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"id":7383,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"22015:20:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"id":7374,"name":"toBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10529,"src":"21976:14:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$_t_int128_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int128,int128) pure returns (BalanceDelta)"}},"id":7385,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21976:60:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"21968:68:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":7387,"nodeType":"ExpressionStatement","src":"21968:68:49"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7390,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7388,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7349,"src":"22198:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":7389,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22208:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"22198:11:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7404,"nodeType":"IfStatement","src":"22194:143:49","trueBody":{"id":7403,"nodeType":"Block","src":"22211:126:49","statements":[{"expression":{"id":7401,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7391,"name":"state","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7347,"src":"22229:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7393,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"22235:20:49","memberName":"feeGrowthGlobal0X128","nodeType":"MemberAccess","referencedDeclaration":6173,"src":"22229:26:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[{"id":7396,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7349,"src":"22283:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7397,"name":"FixedPoint128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4458,"src":"22292:13:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint128_$4458_$","typeString":"type(library FixedPoint128)"}},"id":7398,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"22306:4:49","memberName":"Q128","nodeType":"MemberAccess","referencedDeclaration":4457,"src":"22292:18:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7399,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7358,"src":"22312:9:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"expression":{"id":7394,"name":"UnsafeMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10497,"src":"22259:10:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnsafeMath_$10497_$","typeString":"type(library UnsafeMath)"}},"id":7395,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22270:12:49","memberName":"simpleMulDiv","nodeType":"MemberAccess","referencedDeclaration":10496,"src":"22259:23:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":7400,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22259:63:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22229:93:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7402,"nodeType":"ExpressionStatement","src":"22229:93:49"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7407,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7405,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7351,"src":"22354:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":7406,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22364:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"22354:11:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7421,"nodeType":"IfStatement","src":"22350:143:49","trueBody":{"id":7420,"nodeType":"Block","src":"22367:126:49","statements":[{"expression":{"id":7418,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7408,"name":"state","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7347,"src":"22385:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7410,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"22391:20:49","memberName":"feeGrowthGlobal1X128","nodeType":"MemberAccess","referencedDeclaration":6175,"src":"22385:26:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[{"id":7413,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7351,"src":"22439:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":7414,"name":"FixedPoint128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4458,"src":"22448:13:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint128_$4458_$","typeString":"type(library FixedPoint128)"}},"id":7415,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"22462:4:49","memberName":"Q128","nodeType":"MemberAccess","referencedDeclaration":4457,"src":"22448:18:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7416,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7358,"src":"22468:9:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"expression":{"id":7411,"name":"UnsafeMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10497,"src":"22415:10:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnsafeMath_$10497_$","typeString":"type(library UnsafeMath)"}},"id":7412,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22426:12:49","memberName":"simpleMulDiv","nodeType":"MemberAccess","referencedDeclaration":10496,"src":"22415:23:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":7417,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22415:63:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22385:93:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7419,"nodeType":"ExpressionStatement","src":"22385:93:49"}]}}]}]},"documentation":{"id":7344,"nodeType":"StructuredDocumentation","src":"21552:75:49","text":"@notice Donates the given amount of currency0 and currency1 to the pool"},"id":7424,"implemented":true,"kind":"function","modifiers":[],"name":"donate","nameLocation":"21641:6:49","nodeType":"FunctionDefinition","parameters":{"id":7352,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7347,"mutability":"mutable","name":"state","nameLocation":"21662:5:49","nodeType":"VariableDeclaration","scope":7424,"src":"21648:19:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":7346,"nodeType":"UserDefinedTypeName","pathNode":{"id":7345,"name":"State","nameLocations":["21648:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"21648:5:49"},"referencedDeclaration":6192,"src":"21648:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"},{"constant":false,"id":7349,"mutability":"mutable","name":"amount0","nameLocation":"21677:7:49","nodeType":"VariableDeclaration","scope":7424,"src":"21669:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7348,"name":"uint256","nodeType":"ElementaryTypeName","src":"21669:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7351,"mutability":"mutable","name":"amount1","nameLocation":"21694:7:49","nodeType":"VariableDeclaration","scope":7424,"src":"21686:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7350,"name":"uint256","nodeType":"ElementaryTypeName","src":"21686:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"21647:55:49"},"returnParameters":{"id":7356,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7355,"mutability":"mutable","name":"delta","nameLocation":"21734:5:49","nodeType":"VariableDeclaration","scope":7424,"src":"21721:18:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":7354,"nodeType":"UserDefinedTypeName","pathNode":{"id":7353,"name":"BalanceDelta","nameLocations":["21721:12:49"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"21721:12:49"},"referencedDeclaration":10503,"src":"21721:12:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"21720:20:49"},"scope":7731,"src":"21632:877:49","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":7528,"nodeType":"Block","src":"23188:1010:49","statements":[{"assignments":[7441],"declarations":[{"constant":false,"id":7441,"mutability":"mutable","name":"lower","nameLocation":"23215:5:49","nodeType":"VariableDeclaration","scope":7528,"src":"23198:22:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo"},"typeName":{"id":7440,"nodeType":"UserDefinedTypeName","pathNode":{"id":7439,"name":"TickInfo","nameLocations":["23198:8:49"],"nodeType":"IdentifierPath","referencedDeclaration":6167,"src":"23198:8:49"},"referencedDeclaration":6167,"src":"23198:8:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo"}},"visibility":"internal"}],"id":7446,"initialValue":{"baseExpression":{"expression":{"id":7442,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7428,"src":"23223:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7443,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23228:5:49","memberName":"ticks","nodeType":"MemberAccess","referencedDeclaration":6182,"src":"23223:10:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_TickInfo_$6167_storage_$","typeString":"mapping(int24 => struct Pool.TickInfo storage ref)"}},"id":7445,"indexExpression":{"id":7444,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7430,"src":"23234:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"23223:21:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage","typeString":"struct Pool.TickInfo storage ref"}},"nodeType":"VariableDeclarationStatement","src":"23198:46:49"},{"assignments":[7449],"declarations":[{"constant":false,"id":7449,"mutability":"mutable","name":"upper","nameLocation":"23271:5:49","nodeType":"VariableDeclaration","scope":7528,"src":"23254:22:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo"},"typeName":{"id":7448,"nodeType":"UserDefinedTypeName","pathNode":{"id":7447,"name":"TickInfo","nameLocations":["23254:8:49"],"nodeType":"IdentifierPath","referencedDeclaration":6167,"src":"23254:8:49"},"referencedDeclaration":6167,"src":"23254:8:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo"}},"visibility":"internal"}],"id":7454,"initialValue":{"baseExpression":{"expression":{"id":7450,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7428,"src":"23279:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7451,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23284:5:49","memberName":"ticks","nodeType":"MemberAccess","referencedDeclaration":6182,"src":"23279:10:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_TickInfo_$6167_storage_$","typeString":"mapping(int24 => struct Pool.TickInfo storage ref)"}},"id":7453,"indexExpression":{"id":7452,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7432,"src":"23290:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"23279:21:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage","typeString":"struct Pool.TickInfo storage ref"}},"nodeType":"VariableDeclarationStatement","src":"23254:46:49"},{"assignments":[7456],"declarations":[{"constant":false,"id":7456,"mutability":"mutable","name":"tickCurrent","nameLocation":"23316:11:49","nodeType":"VariableDeclaration","scope":7528,"src":"23310:17:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7455,"name":"int24","nodeType":"ElementaryTypeName","src":"23310:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"id":7461,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":7457,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7428,"src":"23330:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7458,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23335:5:49","memberName":"slot0","nodeType":"MemberAccess","referencedDeclaration":6171,"src":"23330:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":7459,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"23341:4:49","memberName":"tick","nodeType":"MemberAccess","referencedDeclaration":11107,"src":"23330:15:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (int24)"}},"id":7460,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23330:17:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"VariableDeclarationStatement","src":"23310:37:49"},{"id":7527,"nodeType":"UncheckedBlock","src":"23358:834:49","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":7464,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7462,"name":"tickCurrent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7456,"src":"23386:11:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":7463,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7430,"src":"23400:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"23386:23:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":7484,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7482,"name":"tickCurrent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7456,"src":"23632:11:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":7483,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7432,"src":"23647:9:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"23632:24:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":7524,"nodeType":"Block","src":"23875:307:49","statements":[{"expression":{"id":7511,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7502,"name":"feeGrowthInside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7435,"src":"23893:20:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7510,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7507,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7503,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7428,"src":"23936:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7504,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23941:20:49","memberName":"feeGrowthGlobal0X128","nodeType":"MemberAccess","referencedDeclaration":6173,"src":"23936:25:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":7505,"name":"lower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7441,"src":"23964:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7506,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23970:21:49","memberName":"feeGrowthOutside0X128","nodeType":"MemberAccess","referencedDeclaration":6164,"src":"23964:27:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23936:55:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":7508,"name":"upper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7449,"src":"23994:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7509,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"24000:21:49","memberName":"feeGrowthOutside0X128","nodeType":"MemberAccess","referencedDeclaration":6164,"src":"23994:27:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23936:85:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23893:128:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7512,"nodeType":"ExpressionStatement","src":"23893:128:49"},{"expression":{"id":7522,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7513,"name":"feeGrowthInside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7437,"src":"24039:20:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7521,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7518,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7514,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7428,"src":"24082:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7515,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"24087:20:49","memberName":"feeGrowthGlobal1X128","nodeType":"MemberAccess","referencedDeclaration":6175,"src":"24082:25:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":7516,"name":"lower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7441,"src":"24110:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7517,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"24116:21:49","memberName":"feeGrowthOutside1X128","nodeType":"MemberAccess","referencedDeclaration":6166,"src":"24110:27:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24082:55:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":7519,"name":"upper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7449,"src":"24140:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7520,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"24146:21:49","memberName":"feeGrowthOutside1X128","nodeType":"MemberAccess","referencedDeclaration":6166,"src":"24140:27:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24082:85:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24039:128:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7523,"nodeType":"ExpressionStatement","src":"24039:128:49"}]},"id":7525,"nodeType":"IfStatement","src":"23628:554:49","trueBody":{"id":7501,"nodeType":"Block","src":"23658:211:49","statements":[{"expression":{"id":7491,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7485,"name":"feeGrowthInside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7435,"src":"23676:20:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7490,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7486,"name":"upper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7449,"src":"23699:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7487,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23705:21:49","memberName":"feeGrowthOutside0X128","nodeType":"MemberAccess","referencedDeclaration":6164,"src":"23699:27:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":7488,"name":"lower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7441,"src":"23729:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7489,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23735:21:49","memberName":"feeGrowthOutside0X128","nodeType":"MemberAccess","referencedDeclaration":6164,"src":"23729:27:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23699:57:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23676:80:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7492,"nodeType":"ExpressionStatement","src":"23676:80:49"},{"expression":{"id":7499,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7493,"name":"feeGrowthInside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7437,"src":"23774:20:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7498,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7494,"name":"upper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7449,"src":"23797:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7495,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23803:21:49","memberName":"feeGrowthOutside1X128","nodeType":"MemberAccess","referencedDeclaration":6166,"src":"23797:27:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":7496,"name":"lower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7441,"src":"23827:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7497,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23833:21:49","memberName":"feeGrowthOutside1X128","nodeType":"MemberAccess","referencedDeclaration":6166,"src":"23827:27:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23797:57:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23774:80:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7500,"nodeType":"ExpressionStatement","src":"23774:80:49"}]}},"id":7526,"nodeType":"IfStatement","src":"23382:800:49","trueBody":{"id":7481,"nodeType":"Block","src":"23411:211:49","statements":[{"expression":{"id":7471,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7465,"name":"feeGrowthInside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7435,"src":"23429:20:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7470,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7466,"name":"lower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7441,"src":"23452:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7467,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23458:21:49","memberName":"feeGrowthOutside0X128","nodeType":"MemberAccess","referencedDeclaration":6164,"src":"23452:27:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":7468,"name":"upper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7449,"src":"23482:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7469,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23488:21:49","memberName":"feeGrowthOutside0X128","nodeType":"MemberAccess","referencedDeclaration":6164,"src":"23482:27:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23452:57:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23429:80:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7472,"nodeType":"ExpressionStatement","src":"23429:80:49"},{"expression":{"id":7479,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7473,"name":"feeGrowthInside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7437,"src":"23527:20:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7478,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7474,"name":"lower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7441,"src":"23550:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7475,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23556:21:49","memberName":"feeGrowthOutside1X128","nodeType":"MemberAccess","referencedDeclaration":6166,"src":"23550:27:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":7476,"name":"upper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7449,"src":"23580:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7477,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23586:21:49","memberName":"feeGrowthOutside1X128","nodeType":"MemberAccess","referencedDeclaration":6166,"src":"23580:27:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23550:57:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23527:80:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7480,"nodeType":"ExpressionStatement","src":"23527:80:49"}]}}]}]},"documentation":{"id":7425,"nodeType":"StructuredDocumentation","src":"22515:475:49","text":"@notice Retrieves fee growth data\n @param self The Pool state struct\n @param tickLower The lower tick boundary of the position\n @param tickUpper The upper tick boundary of the position\n @return feeGrowthInside0X128 The all-time fee growth in token0, per unit of liquidity, inside the position's tick boundaries\n @return feeGrowthInside1X128 The all-time fee growth in token1, per unit of liquidity, inside the position's tick boundaries"},"id":7529,"implemented":true,"kind":"function","modifiers":[],"name":"getFeeGrowthInside","nameLocation":"23004:18:49","nodeType":"FunctionDefinition","parameters":{"id":7433,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7428,"mutability":"mutable","name":"self","nameLocation":"23037:4:49","nodeType":"VariableDeclaration","scope":7529,"src":"23023:18:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":7427,"nodeType":"UserDefinedTypeName","pathNode":{"id":7426,"name":"State","nameLocations":["23023:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"23023:5:49"},"referencedDeclaration":6192,"src":"23023:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"},{"constant":false,"id":7430,"mutability":"mutable","name":"tickLower","nameLocation":"23049:9:49","nodeType":"VariableDeclaration","scope":7529,"src":"23043:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7429,"name":"int24","nodeType":"ElementaryTypeName","src":"23043:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":7432,"mutability":"mutable","name":"tickUpper","nameLocation":"23066:9:49","nodeType":"VariableDeclaration","scope":7529,"src":"23060:15:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7431,"name":"int24","nodeType":"ElementaryTypeName","src":"23060:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"23022:54:49"},"returnParameters":{"id":7438,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7435,"mutability":"mutable","name":"feeGrowthInside0X128","nameLocation":"23132:20:49","nodeType":"VariableDeclaration","scope":7529,"src":"23124:28:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7434,"name":"uint256","nodeType":"ElementaryTypeName","src":"23124:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7437,"mutability":"mutable","name":"feeGrowthInside1X128","nameLocation":"23162:20:49","nodeType":"VariableDeclaration","scope":7529,"src":"23154:28:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7436,"name":"uint256","nodeType":"ElementaryTypeName","src":"23154:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"23123:60:49"},"scope":7731,"src":"22995:1203:49","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":7623,"nodeType":"Block","src":"25104:1762:49","statements":[{"assignments":[7548],"declarations":[{"constant":false,"id":7548,"mutability":"mutable","name":"info","nameLocation":"25131:4:49","nodeType":"VariableDeclaration","scope":7623,"src":"25114:21:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo"},"typeName":{"id":7547,"nodeType":"UserDefinedTypeName","pathNode":{"id":7546,"name":"TickInfo","nameLocations":["25114:8:49"],"nodeType":"IdentifierPath","referencedDeclaration":6167,"src":"25114:8:49"},"referencedDeclaration":6167,"src":"25114:8:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo"}},"visibility":"internal"}],"id":7553,"initialValue":{"baseExpression":{"expression":{"id":7549,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7533,"src":"25138:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7550,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25143:5:49","memberName":"ticks","nodeType":"MemberAccess","referencedDeclaration":6182,"src":"25138:10:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_TickInfo_$6167_storage_$","typeString":"mapping(int24 => struct Pool.TickInfo storage ref)"}},"id":7552,"indexExpression":{"id":7551,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7535,"src":"25149:4:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"25138:16:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage","typeString":"struct Pool.TickInfo storage ref"}},"nodeType":"VariableDeclarationStatement","src":"25114:40:49"},{"assignments":[7555],"declarations":[{"constant":false,"id":7555,"mutability":"mutable","name":"liquidityGrossBefore","nameLocation":"25173:20:49","nodeType":"VariableDeclaration","scope":7623,"src":"25165:28:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7554,"name":"uint128","nodeType":"ElementaryTypeName","src":"25165:7:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":7558,"initialValue":{"expression":{"id":7556,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7548,"src":"25196:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7557,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25201:14:49","memberName":"liquidityGross","nodeType":"MemberAccess","referencedDeclaration":6160,"src":"25196:19:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"25165:50:49"},{"assignments":[7560],"declarations":[{"constant":false,"id":7560,"mutability":"mutable","name":"liquidityNetBefore","nameLocation":"25232:18:49","nodeType":"VariableDeclaration","scope":7623,"src":"25225:25:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":7559,"name":"int128","nodeType":"ElementaryTypeName","src":"25225:6:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"id":7563,"initialValue":{"expression":{"id":7561,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7548,"src":"25253:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7562,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25258:12:49","memberName":"liquidityNet","nodeType":"MemberAccess","referencedDeclaration":6162,"src":"25253:17:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"VariableDeclarationStatement","src":"25225:45:49"},{"expression":{"id":7570,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7564,"name":"liquidityGrossAfter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7544,"src":"25281:19:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7567,"name":"liquidityGrossBefore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7555,"src":"25326:20:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":7568,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7537,"src":"25348:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":7565,"name":"LiquidityMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5970,"src":"25303:13:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_LiquidityMath_$5970_$","typeString":"type(library LiquidityMath)"}},"id":7566,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"25317:8:49","memberName":"addDelta","nodeType":"MemberAccess","referencedDeclaration":5969,"src":"25303:22:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint128_$_t_int128_$returns$_t_uint128_$","typeString":"function (uint128,int128) pure returns (uint128)"}},"id":7569,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25303:60:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"25281:82:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":7571,"nodeType":"ExpressionStatement","src":"25281:82:49"},{"expression":{"id":7582,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7572,"name":"flipped","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7542,"src":"25374:7:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":7581,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":7575,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7573,"name":"liquidityGrossAfter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7544,"src":"25385:19:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":7574,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25408:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"25385:24:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":7576,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"25384:26:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":7579,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7577,"name":"liquidityGrossBefore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7555,"src":"25415:20:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":7578,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25439:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"25415:25:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":7580,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"25414:27:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"25384:57:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"25374:67:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7583,"nodeType":"ExpressionStatement","src":"25374:67:49"},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":7586,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7584,"name":"liquidityGrossBefore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7555,"src":"25456:20:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":7585,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25480:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"25456:25:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7610,"nodeType":"IfStatement","src":"25452:357:49","trueBody":{"id":7609,"nodeType":"Block","src":"25483:326:49","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":7592,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7587,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7535,"src":"25613:4:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":7588,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7533,"src":"25621:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7589,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25626:5:49","memberName":"slot0","nodeType":"MemberAccess","referencedDeclaration":6171,"src":"25621:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":7590,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"25632:4:49","memberName":"tick","nodeType":"MemberAccess","referencedDeclaration":11107,"src":"25621:15:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (int24)"}},"id":7591,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25621:17:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"25613:25:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7608,"nodeType":"IfStatement","src":"25609:190:49","trueBody":{"id":7607,"nodeType":"Block","src":"25640:159:49","statements":[{"expression":{"id":7598,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7593,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7548,"src":"25658:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7595,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"25663:21:49","memberName":"feeGrowthOutside0X128","nodeType":"MemberAccess","referencedDeclaration":6164,"src":"25658:26:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":7596,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7533,"src":"25687:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7597,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25692:20:49","memberName":"feeGrowthGlobal0X128","nodeType":"MemberAccess","referencedDeclaration":6173,"src":"25687:25:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25658:54:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7599,"nodeType":"ExpressionStatement","src":"25658:54:49"},{"expression":{"id":7605,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7600,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7548,"src":"25730:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7602,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"25735:21:49","memberName":"feeGrowthOutside1X128","nodeType":"MemberAccess","referencedDeclaration":6166,"src":"25730:26:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":7603,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7533,"src":"25759:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7604,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25764:20:49","memberName":"feeGrowthGlobal1X128","nodeType":"MemberAccess","referencedDeclaration":6175,"src":"25759:25:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25730:54:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7606,"nodeType":"ExpressionStatement","src":"25730:54:49"}]}}]}},{"assignments":[7612],"declarations":[{"constant":false,"id":7612,"mutability":"mutable","name":"liquidityNet","nameLocation":"26024:12:49","nodeType":"VariableDeclaration","scope":7623,"src":"26017:19:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":7611,"name":"int128","nodeType":"ElementaryTypeName","src":"26017:6:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"id":7621,"initialValue":{"condition":{"id":7613,"name":"upper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7539,"src":"26039:5:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":7619,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7617,"name":"liquidityNetBefore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7560,"src":"26085:18:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":7618,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7537,"src":"26106:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"26085:35:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":7620,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"26039:81:49","trueExpression":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":7616,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7614,"name":"liquidityNetBefore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7560,"src":"26047:18:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":7615,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7537,"src":"26068:14:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"26047:35:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"VariableDeclarationStatement","src":"26017:103:49"},{"AST":{"nativeSrc":"26155:705:49","nodeType":"YulBlock","src":"26155:705:49","statements":[{"expression":{"arguments":[{"name":"info.slot","nativeSrc":"26373:9:49","nodeType":"YulIdentifier","src":"26373:9:49"},{"arguments":[{"arguments":[{"name":"liquidityGrossAfter","nativeSrc":"26597:19:49","nodeType":"YulIdentifier","src":"26597:19:49"},{"kind":"number","nativeSrc":"26618:34:49","nodeType":"YulLiteral","src":"26618:34:49","type":"","value":"0xffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"26593:3:49","nodeType":"YulIdentifier","src":"26593:3:49"},"nativeSrc":"26593:60:49","nodeType":"YulFunctionCall","src":"26593:60:49"},{"arguments":[{"kind":"number","nativeSrc":"26800:3:49","nodeType":"YulLiteral","src":"26800:3:49","type":"","value":"128"},{"name":"liquidityNet","nativeSrc":"26805:12:49","nodeType":"YulIdentifier","src":"26805:12:49"}],"functionName":{"name":"shl","nativeSrc":"26796:3:49","nodeType":"YulIdentifier","src":"26796:3:49"},"nativeSrc":"26796:22:49","nodeType":"YulFunctionCall","src":"26796:22:49"}],"functionName":{"name":"or","nativeSrc":"26475:2:49","nodeType":"YulIdentifier","src":"26475:2:49"},"nativeSrc":"26475:361:49","nodeType":"YulFunctionCall","src":"26475:361:49"}],"functionName":{"name":"sstore","nativeSrc":"26349:6:49","nodeType":"YulIdentifier","src":"26349:6:49"},"nativeSrc":"26349:501:49","nodeType":"YulFunctionCall","src":"26349:501:49"},"nativeSrc":"26349:501:49","nodeType":"YulExpressionStatement","src":"26349:501:49"}]},"evmVersion":"cancun","externalReferences":[{"declaration":7548,"isOffset":false,"isSlot":true,"src":"26373:9:49","suffix":"slot","valueSize":1},{"declaration":7544,"isOffset":false,"isSlot":false,"src":"26597:19:49","valueSize":1},{"declaration":7612,"isOffset":false,"isSlot":false,"src":"26805:12:49","valueSize":1}],"flags":["memory-safe"],"id":7622,"nodeType":"InlineAssembly","src":"26130:730:49"}]},"documentation":{"id":7530,"nodeType":"StructuredDocumentation","src":"24204:727:49","text":"@notice Updates a tick and returns true if the tick was flipped from initialized to uninitialized, or vice versa\n @param self The mapping containing all tick information for initialized ticks\n @param tick The tick that will be updated\n @param liquidityDelta A new amount of liquidity to be added (subtracted) when tick is crossed from left to right (right to left)\n @param upper true for updating a position's upper tick, or false for updating a position's lower tick\n @return flipped Whether the tick was flipped from initialized to uninitialized, or vice versa\n @return liquidityGrossAfter The total amount of liquidity for all positions that references the tick after the update"},"id":7624,"implemented":true,"kind":"function","modifiers":[],"name":"updateTick","nameLocation":"24945:10:49","nodeType":"FunctionDefinition","parameters":{"id":7540,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7533,"mutability":"mutable","name":"self","nameLocation":"24970:4:49","nodeType":"VariableDeclaration","scope":7624,"src":"24956:18:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":7532,"nodeType":"UserDefinedTypeName","pathNode":{"id":7531,"name":"State","nameLocations":["24956:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"24956:5:49"},"referencedDeclaration":6192,"src":"24956:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"},{"constant":false,"id":7535,"mutability":"mutable","name":"tick","nameLocation":"24982:4:49","nodeType":"VariableDeclaration","scope":7624,"src":"24976:10:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7534,"name":"int24","nodeType":"ElementaryTypeName","src":"24976:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":7537,"mutability":"mutable","name":"liquidityDelta","nameLocation":"24995:14:49","nodeType":"VariableDeclaration","scope":7624,"src":"24988:21:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":7536,"name":"int128","nodeType":"ElementaryTypeName","src":"24988:6:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":7539,"mutability":"mutable","name":"upper","nameLocation":"25016:5:49","nodeType":"VariableDeclaration","scope":7624,"src":"25011:10:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":7538,"name":"bool","nodeType":"ElementaryTypeName","src":"25011:4:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"24955:67:49"},"returnParameters":{"id":7545,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7542,"mutability":"mutable","name":"flipped","nameLocation":"25062:7:49","nodeType":"VariableDeclaration","scope":7624,"src":"25057:12:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":7541,"name":"bool","nodeType":"ElementaryTypeName","src":"25057:4:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":7544,"mutability":"mutable","name":"liquidityGrossAfter","nameLocation":"25079:19:49","nodeType":"VariableDeclaration","scope":7624,"src":"25071:27:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7543,"name":"uint128","nodeType":"ElementaryTypeName","src":"25071:7:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"25056:43:49"},"scope":7731,"src":"24936:1930:49","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":7643,"nodeType":"Block","src":"27360:853:49","statements":[{"assignments":[7633],"declarations":[{"constant":false,"id":7633,"mutability":"mutable","name":"MAX_TICK","nameLocation":"27691:8:49","nodeType":"VariableDeclaration","scope":7643,"src":"27685:14:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7632,"name":"int24","nodeType":"ElementaryTypeName","src":"27685:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"id":7636,"initialValue":{"expression":{"id":7634,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"27702:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":7635,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"27711:8:49","memberName":"MAX_TICK","nodeType":"MemberAccess","referencedDeclaration":9806,"src":"27702:17:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"VariableDeclarationStatement","src":"27685:34:49"},{"assignments":[7638],"declarations":[{"constant":false,"id":7638,"mutability":"mutable","name":"MIN_TICK","nameLocation":"27735:8:49","nodeType":"VariableDeclaration","scope":7643,"src":"27729:14:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7637,"name":"int24","nodeType":"ElementaryTypeName","src":"27729:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"id":7641,"initialValue":{"expression":{"id":7639,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"27746:8:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":7640,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"27755:8:49","memberName":"MIN_TICK","nodeType":"MemberAccess","referencedDeclaration":9802,"src":"27746:17:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"VariableDeclarationStatement","src":"27729:34:49"},{"AST":{"nativeSrc":"27875:332:49","nodeType":"YulBlock","src":"27875:332:49","statements":[{"nativeSrc":"27889:41:49","nodeType":"YulAssignment","src":"27889:41:49","value":{"arguments":[{"kind":"number","nativeSrc":"27915:1:49","nodeType":"YulLiteral","src":"27915:1:49","type":"","value":"2"},{"name":"tickSpacing","nativeSrc":"27918:11:49","nodeType":"YulIdentifier","src":"27918:11:49"}],"functionName":{"name":"signextend","nativeSrc":"27904:10:49","nodeType":"YulIdentifier","src":"27904:10:49"},"nativeSrc":"27904:26:49","nodeType":"YulFunctionCall","src":"27904:26:49"},"variableNames":[{"name":"tickSpacing","nativeSrc":"27889:11:49","nodeType":"YulIdentifier","src":"27889:11:49"}]},{"nativeSrc":"27943:84:49","nodeType":"YulVariableDeclaration","src":"27943:84:49","value":{"arguments":[{"arguments":[{"name":"MIN_TICK","nativeSrc":"27967:8:49","nodeType":"YulIdentifier","src":"27967:8:49"},{"name":"tickSpacing","nativeSrc":"27977:11:49","nodeType":"YulIdentifier","src":"27977:11:49"}],"functionName":{"name":"sdiv","nativeSrc":"27962:4:49","nodeType":"YulIdentifier","src":"27962:4:49"},"nativeSrc":"27962:27:49","nodeType":"YulFunctionCall","src":"27962:27:49"},{"arguments":[{"arguments":[{"name":"MIN_TICK","nativeSrc":"28000:8:49","nodeType":"YulIdentifier","src":"28000:8:49"},{"name":"tickSpacing","nativeSrc":"28010:11:49","nodeType":"YulIdentifier","src":"28010:11:49"}],"functionName":{"name":"smod","nativeSrc":"27995:4:49","nodeType":"YulIdentifier","src":"27995:4:49"},"nativeSrc":"27995:27:49","nodeType":"YulFunctionCall","src":"27995:27:49"},{"kind":"number","nativeSrc":"28024:1:49","nodeType":"YulLiteral","src":"28024:1:49","type":"","value":"0"}],"functionName":{"name":"slt","nativeSrc":"27991:3:49","nodeType":"YulIdentifier","src":"27991:3:49"},"nativeSrc":"27991:35:49","nodeType":"YulFunctionCall","src":"27991:35:49"}],"functionName":{"name":"sub","nativeSrc":"27958:3:49","nodeType":"YulIdentifier","src":"27958:3:49"},"nativeSrc":"27958:69:49","nodeType":"YulFunctionCall","src":"27958:69:49"},"variables":[{"name":"minTick","nativeSrc":"27947:7:49","nodeType":"YulTypedName","src":"27947:7:49","type":""}]},{"nativeSrc":"28040:42:49","nodeType":"YulVariableDeclaration","src":"28040:42:49","value":{"arguments":[{"name":"MAX_TICK","nativeSrc":"28060:8:49","nodeType":"YulIdentifier","src":"28060:8:49"},{"name":"tickSpacing","nativeSrc":"28070:11:49","nodeType":"YulIdentifier","src":"28070:11:49"}],"functionName":{"name":"sdiv","nativeSrc":"28055:4:49","nodeType":"YulIdentifier","src":"28055:4:49"},"nativeSrc":"28055:27:49","nodeType":"YulFunctionCall","src":"28055:27:49"},"variables":[{"name":"maxTick","nativeSrc":"28044:7:49","nodeType":"YulTypedName","src":"28044:7:49","type":""}]},{"nativeSrc":"28095:45:49","nodeType":"YulVariableDeclaration","src":"28095:45:49","value":{"arguments":[{"arguments":[{"name":"maxTick","nativeSrc":"28119:7:49","nodeType":"YulIdentifier","src":"28119:7:49"},{"name":"minTick","nativeSrc":"28128:7:49","nodeType":"YulIdentifier","src":"28128:7:49"}],"functionName":{"name":"sub","nativeSrc":"28115:3:49","nodeType":"YulIdentifier","src":"28115:3:49"},"nativeSrc":"28115:21:49","nodeType":"YulFunctionCall","src":"28115:21:49"},{"kind":"number","nativeSrc":"28138:1:49","nodeType":"YulLiteral","src":"28138:1:49","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"28111:3:49","nodeType":"YulIdentifier","src":"28111:3:49"},"nativeSrc":"28111:29:49","nodeType":"YulFunctionCall","src":"28111:29:49"},"variables":[{"name":"numTicks","nativeSrc":"28099:8:49","nodeType":"YulTypedName","src":"28099:8:49","type":""}]},{"nativeSrc":"28153:44:49","nodeType":"YulAssignment","src":"28153:44:49","value":{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"28175:3:49","nodeType":"YulLiteral","src":"28175:3:49","type":"","value":"128"},{"kind":"number","nativeSrc":"28180:1:49","nodeType":"YulLiteral","src":"28180:1:49","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"28171:3:49","nodeType":"YulIdentifier","src":"28171:3:49"},"nativeSrc":"28171:11:49","nodeType":"YulFunctionCall","src":"28171:11:49"},{"kind":"number","nativeSrc":"28184:1:49","nodeType":"YulLiteral","src":"28184:1:49","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"28167:3:49","nodeType":"YulIdentifier","src":"28167:3:49"},"nativeSrc":"28167:19:49","nodeType":"YulFunctionCall","src":"28167:19:49"},{"name":"numTicks","nativeSrc":"28188:8:49","nodeType":"YulIdentifier","src":"28188:8:49"}],"functionName":{"name":"div","nativeSrc":"28163:3:49","nodeType":"YulIdentifier","src":"28163:3:49"},"nativeSrc":"28163:34:49","nodeType":"YulFunctionCall","src":"28163:34:49"},"variableNames":[{"name":"result","nativeSrc":"28153:6:49","nodeType":"YulIdentifier","src":"28153:6:49"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":7633,"isOffset":false,"isSlot":false,"src":"28060:8:49","valueSize":1},{"declaration":7638,"isOffset":false,"isSlot":false,"src":"27967:8:49","valueSize":1},{"declaration":7638,"isOffset":false,"isSlot":false,"src":"28000:8:49","valueSize":1},{"declaration":7630,"isOffset":false,"isSlot":false,"src":"28153:6:49","valueSize":1},{"declaration":7627,"isOffset":false,"isSlot":false,"src":"27889:11:49","valueSize":1},{"declaration":7627,"isOffset":false,"isSlot":false,"src":"27918:11:49","valueSize":1},{"declaration":7627,"isOffset":false,"isSlot":false,"src":"27977:11:49","valueSize":1},{"declaration":7627,"isOffset":false,"isSlot":false,"src":"28010:11:49","valueSize":1},{"declaration":7627,"isOffset":false,"isSlot":false,"src":"28070:11:49","valueSize":1}],"flags":["memory-safe"],"id":7642,"nodeType":"InlineAssembly","src":"27850:357:49"}]},"documentation":{"id":7625,"nodeType":"StructuredDocumentation","src":"26872:383:49","text":"@notice Derives max liquidity per tick from given tick spacing\n @dev Executed when adding liquidity\n @param tickSpacing The amount of required tick separation, realized in multiples of `tickSpacing`\n     e.g., a tickSpacing of 3 requires ticks to be initialized every 3rd tick i.e., ..., -6, -3, 0, 3, 6, ...\n @return result The max liquidity per tick"},"id":7644,"implemented":true,"kind":"function","modifiers":[],"name":"tickSpacingToMaxLiquidityPerTick","nameLocation":"27269:32:49","nodeType":"FunctionDefinition","parameters":{"id":7628,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7627,"mutability":"mutable","name":"tickSpacing","nameLocation":"27308:11:49","nodeType":"VariableDeclaration","scope":7644,"src":"27302:17:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7626,"name":"int24","nodeType":"ElementaryTypeName","src":"27302:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"27301:19:49"},"returnParameters":{"id":7631,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7630,"mutability":"mutable","name":"result","nameLocation":"27352:6:49","nodeType":"VariableDeclaration","scope":7644,"src":"27344:14:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7629,"name":"uint128","nodeType":"ElementaryTypeName","src":"27344:7:49","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"27343:16:49"},"scope":7731,"src":"27260:953:49","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7665,"nodeType":"Block","src":"28350:93:49","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":7656,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":7651,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7648,"src":"28364:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7652,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"28369:5:49","memberName":"slot0","nodeType":"MemberAccess","referencedDeclaration":6171,"src":"28364:10:49","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"id":7653,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"28375:12:49","memberName":"sqrtPriceX96","nodeType":"MemberAccess","referencedDeclaration":11097,"src":"28364:23:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slot0_$11067_$returns$_t_uint160_$attached_to$_t_userDefinedValueType$_Slot0_$11067_$","typeString":"function (Slot0) pure returns (uint160)"}},"id":7654,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28364:25:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":7655,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28393:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"28364:30:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7664,"nodeType":"IfStatement","src":"28360:76:49","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":7657,"name":"PoolNotInitialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6140,"src":"28396:18:49","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":7660,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"28415:8:49","memberName":"selector","nodeType":"MemberAccess","src":"28396:27:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":7661,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"28424:10:49","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"28396:38:49","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":7662,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28396:40:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7663,"nodeType":"ExpressionStatement","src":"28396:40:49"}}]},"documentation":{"id":7645,"nodeType":"StructuredDocumentation","src":"28219:62:49","text":"@notice Reverts if the given pool has not been initialized"},"id":7666,"implemented":true,"kind":"function","modifiers":[],"name":"checkPoolInitialized","nameLocation":"28295:20:49","nodeType":"FunctionDefinition","parameters":{"id":7649,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7648,"mutability":"mutable","name":"self","nameLocation":"28330:4:49","nodeType":"VariableDeclaration","scope":7666,"src":"28316:18:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":7647,"nodeType":"UserDefinedTypeName","pathNode":{"id":7646,"name":"State","nameLocations":["28316:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"28316:5:49"},"referencedDeclaration":6192,"src":"28316:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"}],"src":"28315:20:49"},"returnParameters":{"id":7650,"nodeType":"ParameterList","parameters":[],"src":"28350:0:49"},"scope":7731,"src":"28286:157:49","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":7681,"nodeType":"Block","src":"28690:40:49","statements":[{"expression":{"id":7679,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"28700:23:49","subExpression":{"baseExpression":{"expression":{"id":7675,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7670,"src":"28707:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7676,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"28712:5:49","memberName":"ticks","nodeType":"MemberAccess","referencedDeclaration":6182,"src":"28707:10:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_TickInfo_$6167_storage_$","typeString":"mapping(int24 => struct Pool.TickInfo storage ref)"}},"id":7678,"indexExpression":{"id":7677,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7672,"src":"28718:4:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"28707:16:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage","typeString":"struct Pool.TickInfo storage ref"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7680,"nodeType":"ExpressionStatement","src":"28700:23:49"}]},"documentation":{"id":7667,"nodeType":"StructuredDocumentation","src":"28449:176:49","text":"@notice Clears tick data\n @param self The mapping containing all initialized tick information for initialized ticks\n @param tick The tick that will be cleared"},"id":7682,"implemented":true,"kind":"function","modifiers":[],"name":"clearTick","nameLocation":"28639:9:49","nodeType":"FunctionDefinition","parameters":{"id":7673,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7670,"mutability":"mutable","name":"self","nameLocation":"28663:4:49","nodeType":"VariableDeclaration","scope":7682,"src":"28649:18:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":7669,"nodeType":"UserDefinedTypeName","pathNode":{"id":7668,"name":"State","nameLocations":["28649:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"28649:5:49"},"referencedDeclaration":6192,"src":"28649:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"},{"constant":false,"id":7672,"mutability":"mutable","name":"tick","nameLocation":"28675:4:49","nodeType":"VariableDeclaration","scope":7682,"src":"28669:10:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7671,"name":"int24","nodeType":"ElementaryTypeName","src":"28669:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"28648:32:49"},"returnParameters":{"id":7674,"nodeType":"ParameterList","parameters":[],"src":"28690:0:49"},"scope":7731,"src":"28630:100:49","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":7729,"nodeType":"Block","src":"29406:321:49","statements":[{"id":7728,"nodeType":"UncheckedBlock","src":"29416:305:49","statements":[{"assignments":[7699],"declarations":[{"constant":false,"id":7699,"mutability":"mutable","name":"info","nameLocation":"29457:4:49","nodeType":"VariableDeclaration","scope":7728,"src":"29440:21:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo"},"typeName":{"id":7698,"nodeType":"UserDefinedTypeName","pathNode":{"id":7697,"name":"TickInfo","nameLocations":["29440:8:49"],"nodeType":"IdentifierPath","referencedDeclaration":6167,"src":"29440:8:49"},"referencedDeclaration":6167,"src":"29440:8:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo"}},"visibility":"internal"}],"id":7704,"initialValue":{"baseExpression":{"expression":{"id":7700,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7686,"src":"29464:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State storage pointer"}},"id":7701,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"29469:5:49","memberName":"ticks","nodeType":"MemberAccess","referencedDeclaration":6182,"src":"29464:10:49","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_TickInfo_$6167_storage_$","typeString":"mapping(int24 => struct Pool.TickInfo storage ref)"}},"id":7703,"indexExpression":{"id":7702,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7688,"src":"29475:4:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"29464:16:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage","typeString":"struct Pool.TickInfo storage ref"}},"nodeType":"VariableDeclarationStatement","src":"29440:40:49"},{"expression":{"id":7712,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7705,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7699,"src":"29494:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7707,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"29499:21:49","memberName":"feeGrowthOutside0X128","nodeType":"MemberAccess","referencedDeclaration":6164,"src":"29494:26:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7711,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7708,"name":"feeGrowthGlobal0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7690,"src":"29523:20:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":7709,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7699,"src":"29546:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7710,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"29551:21:49","memberName":"feeGrowthOutside0X128","nodeType":"MemberAccess","referencedDeclaration":6164,"src":"29546:26:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"29523:49:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"29494:78:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7713,"nodeType":"ExpressionStatement","src":"29494:78:49"},{"expression":{"id":7721,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7714,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7699,"src":"29586:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7716,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"29591:21:49","memberName":"feeGrowthOutside1X128","nodeType":"MemberAccess","referencedDeclaration":6166,"src":"29586:26:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7720,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7717,"name":"feeGrowthGlobal1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7692,"src":"29615:20:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":7718,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7699,"src":"29638:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7719,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"29643:21:49","memberName":"feeGrowthOutside1X128","nodeType":"MemberAccess","referencedDeclaration":6166,"src":"29638:26:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"29615:49:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"29586:78:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7722,"nodeType":"ExpressionStatement","src":"29586:78:49"},{"expression":{"id":7726,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7723,"name":"liquidityNet","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7695,"src":"29678:12:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":7724,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7699,"src":"29693:4:49","typeDescriptions":{"typeIdentifier":"t_struct$_TickInfo_$6167_storage_ptr","typeString":"struct Pool.TickInfo storage pointer"}},"id":7725,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"29698:12:49","memberName":"liquidityNet","nodeType":"MemberAccess","referencedDeclaration":6162,"src":"29693:17:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"29678:32:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":7727,"nodeType":"ExpressionStatement","src":"29678:32:49"}]}]},"documentation":{"id":7683,"nodeType":"StructuredDocumentation","src":"28736:495:49","text":"@notice Transitions to next tick as needed by price movement\n @param self The Pool state struct\n @param tick The destination tick of the transition\n @param feeGrowthGlobal0X128 The all-time global fee growth, per unit of liquidity, in token0\n @param feeGrowthGlobal1X128 The all-time global fee growth, per unit of liquidity, in token1\n @return liquidityNet The amount of liquidity added (subtracted) when tick is crossed from left to right (right to left)"},"id":7730,"implemented":true,"kind":"function","modifiers":[],"name":"crossTick","nameLocation":"29245:9:49","nodeType":"FunctionDefinition","parameters":{"id":7693,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7686,"mutability":"mutable","name":"self","nameLocation":"29269:4:49","nodeType":"VariableDeclaration","scope":7730,"src":"29255:18:49","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"},"typeName":{"id":7685,"nodeType":"UserDefinedTypeName","pathNode":{"id":7684,"name":"State","nameLocations":["29255:5:49"],"nodeType":"IdentifierPath","referencedDeclaration":6192,"src":"29255:5:49"},"referencedDeclaration":6192,"src":"29255:5:49","typeDescriptions":{"typeIdentifier":"t_struct$_State_$6192_storage_ptr","typeString":"struct Pool.State"}},"visibility":"internal"},{"constant":false,"id":7688,"mutability":"mutable","name":"tick","nameLocation":"29281:4:49","nodeType":"VariableDeclaration","scope":7730,"src":"29275:10:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7687,"name":"int24","nodeType":"ElementaryTypeName","src":"29275:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":7690,"mutability":"mutable","name":"feeGrowthGlobal0X128","nameLocation":"29295:20:49","nodeType":"VariableDeclaration","scope":7730,"src":"29287:28:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7689,"name":"uint256","nodeType":"ElementaryTypeName","src":"29287:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7692,"mutability":"mutable","name":"feeGrowthGlobal1X128","nameLocation":"29325:20:49","nodeType":"VariableDeclaration","scope":7730,"src":"29317:28:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7691,"name":"uint256","nodeType":"ElementaryTypeName","src":"29317:7:49","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"29254:92:49"},"returnParameters":{"id":7696,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7695,"mutability":"mutable","name":"liquidityNet","nameLocation":"29388:12:49","nodeType":"VariableDeclaration","scope":7730,"src":"29381:19:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":7694,"name":"int128","nodeType":"ElementaryTypeName","src":"29381:6:49","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"29380:21:49"},"scope":7731,"src":"29236:491:49","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":7732,"src":"835:28894:49","usedErrors":[6119,6124,6129,6134,6137,6140,6147,6152,6155,6158],"usedEvents":[]}],"src":"37:29693:49"},"id":49},"@uniswap/v4-core/src/libraries/Position.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/Position.sol","exportedSymbols":{"CustomRevert":[4451],"FixedPoint128":[4458],"FullMath":[4636],"LiquidityMath":[5970],"Position":[7897]},"id":7898,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":7733,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"37:23:50"},{"absolutePath":"@uniswap/v4-core/src/libraries/FullMath.sol","file":"./FullMath.sol","id":7735,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7898,"sourceUnit":4637,"src":"62:40:50","symbolAliases":[{"foreign":{"id":7734,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"70:8:50","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/FixedPoint128.sol","file":"./FixedPoint128.sol","id":7737,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7898,"sourceUnit":4459,"src":"103:50:50","symbolAliases":[{"foreign":{"id":7736,"name":"FixedPoint128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4458,"src":"111:13:50","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/LiquidityMath.sol","file":"./LiquidityMath.sol","id":7739,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7898,"sourceUnit":5971,"src":"154:50:50","symbolAliases":[{"foreign":{"id":7738,"name":"LiquidityMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5970,"src":"162:13:50","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/CustomRevert.sol","file":"./CustomRevert.sol","id":7741,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7898,"sourceUnit":4452,"src":"205:48:50","symbolAliases":[{"foreign":{"id":7740,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"213:12:50","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"Position","contractDependencies":[],"contractKind":"library","documentation":{"id":7742,"nodeType":"StructuredDocumentation","src":"255:201:50","text":"@title Position\n @notice Positions represent an owner address' liquidity between a lower and upper tick boundary\n @dev Positions store additional state for tracking fees owed to the position"},"fullyImplemented":true,"id":7897,"linearizedBaseContracts":[7897],"name":"Position","nameLocation":"464:8:50","nodeType":"ContractDefinition","nodes":[{"global":false,"id":7745,"libraryName":{"id":7743,"name":"CustomRevert","nameLocations":["485:12:50"],"nodeType":"IdentifierPath","referencedDeclaration":4451,"src":"485:12:50"},"nodeType":"UsingForDirective","src":"479:30:50","typeName":{"id":7744,"name":"bytes4","nodeType":"ElementaryTypeName","src":"502:6:50","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}},{"documentation":{"id":7746,"nodeType":"StructuredDocumentation","src":"515:54:50","text":"@notice Cannot update a position with no liquidity"},"errorSelector":"aefeb924","id":7748,"name":"CannotUpdateEmptyPosition","nameLocation":"580:25:50","nodeType":"ErrorDefinition","parameters":{"id":7747,"nodeType":"ParameterList","parameters":[],"src":"605:2:50"},"src":"574:34:50"},{"canonicalName":"Position.State","id":7755,"members":[{"constant":false,"id":7750,"mutability":"mutable","name":"liquidity","nameLocation":"747:9:50","nodeType":"VariableDeclaration","scope":7755,"src":"739:17:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7749,"name":"uint128","nodeType":"ElementaryTypeName","src":"739:7:50","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":7752,"mutability":"mutable","name":"feeGrowthInside0LastX128","nameLocation":"866:24:50","nodeType":"VariableDeclaration","scope":7755,"src":"858:32:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7751,"name":"uint256","nodeType":"ElementaryTypeName","src":"858:7:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7754,"mutability":"mutable","name":"feeGrowthInside1LastX128","nameLocation":"908:24:50","nodeType":"VariableDeclaration","scope":7755,"src":"900:32:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7753,"name":"uint256","nodeType":"ElementaryTypeName","src":"900:7:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"State","nameLocation":"665:5:50","nodeType":"StructDefinition","scope":7897,"src":"658:281:50","visibility":"public"},{"body":{"id":7790,"nodeType":"Block","src":"1655:132:50","statements":[{"assignments":[7776],"declarations":[{"constant":false,"id":7776,"mutability":"mutable","name":"positionKey","nameLocation":"1673:11:50","nodeType":"VariableDeclaration","scope":7790,"src":"1665:19:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":7775,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1665:7:50","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":7783,"initialValue":{"arguments":[{"id":7778,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7763,"src":"1708:5:50","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7779,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7765,"src":"1715:9:50","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":7780,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7767,"src":"1726:9:50","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":7781,"name":"salt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7769,"src":"1737:4:50","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":7777,"name":"calculatePositionKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7807,"src":"1687:20:50","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_int24_$_t_int24_$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (address,int24,int24,bytes32) pure returns (bytes32)"}},"id":7782,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1687:55:50","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"1665:77:50"},{"expression":{"id":7788,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7784,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7773,"src":"1752:8:50","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State storage pointer"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":7785,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7761,"src":"1763:4:50","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_State_$7755_storage_$","typeString":"mapping(bytes32 => struct Position.State storage ref)"}},"id":7787,"indexExpression":{"id":7786,"name":"positionKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7776,"src":"1768:11:50","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1763:17:50","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage","typeString":"struct Position.State storage ref"}},"src":"1752:28:50","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State storage pointer"}},"id":7789,"nodeType":"ExpressionStatement","src":"1752:28:50"}]},"documentation":{"id":7756,"nodeType":"StructuredDocumentation","src":"945:514:50","text":"@notice Returns the State struct of a position, given an owner and position boundaries\n @param self The mapping containing all user positions\n @param owner The address of the position owner\n @param tickLower The lower tick boundary of the position\n @param tickUpper The upper tick boundary of the position\n @param salt A unique value to differentiate between multiple positions in the same range\n @return position The position info struct of the given owners' position"},"id":7791,"implemented":true,"kind":"function","modifiers":[],"name":"get","nameLocation":"1473:3:50","nodeType":"FunctionDefinition","parameters":{"id":7770,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7761,"mutability":"mutable","name":"self","nameLocation":"1511:4:50","nodeType":"VariableDeclaration","scope":7791,"src":"1477:38:50","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_State_$7755_storage_$","typeString":"mapping(bytes32 => struct Position.State)"},"typeName":{"id":7760,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":7757,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1485:7:50","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"1477:25:50","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_State_$7755_storage_$","typeString":"mapping(bytes32 => struct Position.State)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":7759,"nodeType":"UserDefinedTypeName","pathNode":{"id":7758,"name":"State","nameLocations":["1496:5:50"],"nodeType":"IdentifierPath","referencedDeclaration":7755,"src":"1496:5:50"},"referencedDeclaration":7755,"src":"1496:5:50","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State"}}},"visibility":"internal"},{"constant":false,"id":7763,"mutability":"mutable","name":"owner","nameLocation":"1525:5:50","nodeType":"VariableDeclaration","scope":7791,"src":"1517:13:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7762,"name":"address","nodeType":"ElementaryTypeName","src":"1517:7:50","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7765,"mutability":"mutable","name":"tickLower","nameLocation":"1538:9:50","nodeType":"VariableDeclaration","scope":7791,"src":"1532:15:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7764,"name":"int24","nodeType":"ElementaryTypeName","src":"1532:5:50","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":7767,"mutability":"mutable","name":"tickUpper","nameLocation":"1555:9:50","nodeType":"VariableDeclaration","scope":7791,"src":"1549:15:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7766,"name":"int24","nodeType":"ElementaryTypeName","src":"1549:5:50","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":7769,"mutability":"mutable","name":"salt","nameLocation":"1574:4:50","nodeType":"VariableDeclaration","scope":7791,"src":"1566:12:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":7768,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1566:7:50","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1476:103:50"},"returnParameters":{"id":7774,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7773,"mutability":"mutable","name":"position","nameLocation":"1641:8:50","nodeType":"VariableDeclaration","scope":7791,"src":"1627:22:50","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State"},"typeName":{"id":7772,"nodeType":"UserDefinedTypeName","pathNode":{"id":7771,"name":"State","nameLocations":["1627:5:50"],"nodeType":"IdentifierPath","referencedDeclaration":7755,"src":"1627:5:50"},"referencedDeclaration":7755,"src":"1627:5:50","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State"}},"visibility":"internal"}],"src":"1626:24:50"},"scope":7897,"src":"1464:323:50","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":7806,"nodeType":"Block","src":"2349:713:50","statements":[{"AST":{"nativeSrc":"2472:584:50","nodeType":"YulBlock","src":"2472:584:50","statements":[{"nativeSrc":"2486:22:50","nodeType":"YulVariableDeclaration","src":"2486:22:50","value":{"arguments":[{"kind":"number","nativeSrc":"2503:4:50","nodeType":"YulLiteral","src":"2503:4:50","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"2497:5:50","nodeType":"YulIdentifier","src":"2497:5:50"},"nativeSrc":"2497:11:50","nodeType":"YulFunctionCall","src":"2497:11:50"},"variables":[{"name":"fmp","nativeSrc":"2490:3:50","nodeType":"YulTypedName","src":"2490:3:50","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2532:3:50","nodeType":"YulIdentifier","src":"2532:3:50"},{"kind":"number","nativeSrc":"2537:4:50","nodeType":"YulLiteral","src":"2537:4:50","type":"","value":"0x26"}],"functionName":{"name":"add","nativeSrc":"2528:3:50","nodeType":"YulIdentifier","src":"2528:3:50"},"nativeSrc":"2528:14:50","nodeType":"YulFunctionCall","src":"2528:14:50"},{"name":"salt","nativeSrc":"2544:4:50","nodeType":"YulIdentifier","src":"2544:4:50"}],"functionName":{"name":"mstore","nativeSrc":"2521:6:50","nodeType":"YulIdentifier","src":"2521:6:50"},"nativeSrc":"2521:28:50","nodeType":"YulFunctionCall","src":"2521:28:50"},"nativeSrc":"2521:28:50","nodeType":"YulExpressionStatement","src":"2521:28:50"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2589:3:50","nodeType":"YulIdentifier","src":"2589:3:50"},{"kind":"number","nativeSrc":"2594:4:50","nodeType":"YulLiteral","src":"2594:4:50","type":"","value":"0x06"}],"functionName":{"name":"add","nativeSrc":"2585:3:50","nodeType":"YulIdentifier","src":"2585:3:50"},"nativeSrc":"2585:14:50","nodeType":"YulFunctionCall","src":"2585:14:50"},{"name":"tickUpper","nativeSrc":"2601:9:50","nodeType":"YulIdentifier","src":"2601:9:50"}],"functionName":{"name":"mstore","nativeSrc":"2578:6:50","nodeType":"YulIdentifier","src":"2578:6:50"},"nativeSrc":"2578:33:50","nodeType":"YulFunctionCall","src":"2578:33:50"},"nativeSrc":"2578:33:50","nodeType":"YulExpressionStatement","src":"2578:33:50"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2651:3:50","nodeType":"YulIdentifier","src":"2651:3:50"},{"kind":"number","nativeSrc":"2656:4:50","nodeType":"YulLiteral","src":"2656:4:50","type":"","value":"0x03"}],"functionName":{"name":"add","nativeSrc":"2647:3:50","nodeType":"YulIdentifier","src":"2647:3:50"},"nativeSrc":"2647:14:50","nodeType":"YulFunctionCall","src":"2647:14:50"},{"name":"tickLower","nativeSrc":"2663:9:50","nodeType":"YulIdentifier","src":"2663:9:50"}],"functionName":{"name":"mstore","nativeSrc":"2640:6:50","nodeType":"YulIdentifier","src":"2640:6:50"},"nativeSrc":"2640:33:50","nodeType":"YulFunctionCall","src":"2640:33:50"},"nativeSrc":"2640:33:50","nodeType":"YulExpressionStatement","src":"2640:33:50"},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"2709:3:50","nodeType":"YulIdentifier","src":"2709:3:50"},{"name":"owner","nativeSrc":"2714:5:50","nodeType":"YulIdentifier","src":"2714:5:50"}],"functionName":{"name":"mstore","nativeSrc":"2702:6:50","nodeType":"YulIdentifier","src":"2702:6:50"},"nativeSrc":"2702:18:50","nodeType":"YulFunctionCall","src":"2702:18:50"},"nativeSrc":"2702:18:50","nodeType":"YulExpressionStatement","src":"2702:18:50"},{"nativeSrc":"2749:46:50","nodeType":"YulAssignment","src":"2749:46:50","value":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2778:3:50","nodeType":"YulIdentifier","src":"2778:3:50"},{"kind":"number","nativeSrc":"2783:4:50","nodeType":"YulLiteral","src":"2783:4:50","type":"","value":"0x0c"}],"functionName":{"name":"add","nativeSrc":"2774:3:50","nodeType":"YulIdentifier","src":"2774:3:50"},"nativeSrc":"2774:14:50","nodeType":"YulFunctionCall","src":"2774:14:50"},{"kind":"number","nativeSrc":"2790:4:50","nodeType":"YulLiteral","src":"2790:4:50","type":"","value":"0x3a"}],"functionName":{"name":"keccak256","nativeSrc":"2764:9:50","nodeType":"YulIdentifier","src":"2764:9:50"},"nativeSrc":"2764:31:50","nodeType":"YulFunctionCall","src":"2764:31:50"},"variableNames":[{"name":"positionKey","nativeSrc":"2749:11:50","nodeType":"YulIdentifier","src":"2749:11:50"}]},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2883:3:50","nodeType":"YulIdentifier","src":"2883:3:50"},{"kind":"number","nativeSrc":"2888:4:50","nodeType":"YulLiteral","src":"2888:4:50","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"2879:3:50","nodeType":"YulIdentifier","src":"2879:3:50"},"nativeSrc":"2879:14:50","nodeType":"YulFunctionCall","src":"2879:14:50"},{"kind":"number","nativeSrc":"2895:1:50","nodeType":"YulLiteral","src":"2895:1:50","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"2872:6:50","nodeType":"YulIdentifier","src":"2872:6:50"},"nativeSrc":"2872:25:50","nodeType":"YulFunctionCall","src":"2872:25:50"},"nativeSrc":"2872:25:50","nodeType":"YulExpressionStatement","src":"2872:25:50"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2943:3:50","nodeType":"YulIdentifier","src":"2943:3:50"},{"kind":"number","nativeSrc":"2948:4:50","nodeType":"YulLiteral","src":"2948:4:50","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2939:3:50","nodeType":"YulIdentifier","src":"2939:3:50"},"nativeSrc":"2939:14:50","nodeType":"YulFunctionCall","src":"2939:14:50"},{"kind":"number","nativeSrc":"2955:1:50","nodeType":"YulLiteral","src":"2955:1:50","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"2932:6:50","nodeType":"YulIdentifier","src":"2932:6:50"},"nativeSrc":"2932:25:50","nodeType":"YulFunctionCall","src":"2932:25:50"},"nativeSrc":"2932:25:50","nodeType":"YulExpressionStatement","src":"2932:25:50"},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"3021:3:50","nodeType":"YulIdentifier","src":"3021:3:50"},{"kind":"number","nativeSrc":"3026:1:50","nodeType":"YulLiteral","src":"3026:1:50","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"3014:6:50","nodeType":"YulIdentifier","src":"3014:6:50"},"nativeSrc":"3014:14:50","nodeType":"YulFunctionCall","src":"3014:14:50"},"nativeSrc":"3014:14:50","nodeType":"YulExpressionStatement","src":"3014:14:50"}]},"evmVersion":"cancun","externalReferences":[{"declaration":7794,"isOffset":false,"isSlot":false,"src":"2714:5:50","valueSize":1},{"declaration":7803,"isOffset":false,"isSlot":false,"src":"2749:11:50","valueSize":1},{"declaration":7800,"isOffset":false,"isSlot":false,"src":"2544:4:50","valueSize":1},{"declaration":7796,"isOffset":false,"isSlot":false,"src":"2663:9:50","valueSize":1},{"declaration":7798,"isOffset":false,"isSlot":false,"src":"2601:9:50","valueSize":1}],"flags":["memory-safe"],"id":7805,"nodeType":"InlineAssembly","src":"2447:609:50"}]},"documentation":{"id":7792,"nodeType":"StructuredDocumentation","src":"1793:386:50","text":"@notice A helper function to calculate the position key\n @param owner The address of the position owner\n @param tickLower the lower tick boundary of the position\n @param tickUpper the upper tick boundary of the position\n @param salt A unique value to differentiate between multiple positions in the same range, by the same owner. Passed in by the caller."},"id":7807,"implemented":true,"kind":"function","modifiers":[],"name":"calculatePositionKey","nameLocation":"2193:20:50","nodeType":"FunctionDefinition","parameters":{"id":7801,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7794,"mutability":"mutable","name":"owner","nameLocation":"2222:5:50","nodeType":"VariableDeclaration","scope":7807,"src":"2214:13:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7793,"name":"address","nodeType":"ElementaryTypeName","src":"2214:7:50","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7796,"mutability":"mutable","name":"tickLower","nameLocation":"2235:9:50","nodeType":"VariableDeclaration","scope":7807,"src":"2229:15:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7795,"name":"int24","nodeType":"ElementaryTypeName","src":"2229:5:50","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":7798,"mutability":"mutable","name":"tickUpper","nameLocation":"2252:9:50","nodeType":"VariableDeclaration","scope":7807,"src":"2246:15:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7797,"name":"int24","nodeType":"ElementaryTypeName","src":"2246:5:50","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":7800,"mutability":"mutable","name":"salt","nameLocation":"2271:4:50","nodeType":"VariableDeclaration","scope":7807,"src":"2263:12:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":7799,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2263:7:50","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2213:63:50"},"returnParameters":{"id":7804,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7803,"mutability":"mutable","name":"positionKey","nameLocation":"2332:11:50","nodeType":"VariableDeclaration","scope":7807,"src":"2324:19:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":7802,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2324:7:50","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2323:21:50"},"scope":7897,"src":"2184:878:50","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7895,"nodeType":"Block","src":"3915:895:50","statements":[{"assignments":[7825],"declarations":[{"constant":false,"id":7825,"mutability":"mutable","name":"liquidity","nameLocation":"3933:9:50","nodeType":"VariableDeclaration","scope":7895,"src":"3925:17:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7824,"name":"uint128","nodeType":"ElementaryTypeName","src":"3925:7:50","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":7828,"initialValue":{"expression":{"id":7826,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7811,"src":"3945:4:50","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State storage pointer"}},"id":7827,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3950:9:50","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":7750,"src":"3945:14:50","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"3925:34:50"},{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":7831,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7829,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7813,"src":"3974:14:50","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":7830,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3992:1:50","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3974:19:50","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":7854,"nodeType":"Block","src":"4149:91:50","statements":[{"expression":{"id":7852,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7844,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7811,"src":"4163:4:50","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State storage pointer"}},"id":7846,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"4168:9:50","memberName":"liquidity","nodeType":"MemberAccess","referencedDeclaration":7750,"src":"4163:14:50","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7849,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7825,"src":"4203:9:50","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":7850,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7813,"src":"4214:14:50","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":7847,"name":"LiquidityMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5970,"src":"4180:13:50","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_LiquidityMath_$5970_$","typeString":"type(library LiquidityMath)"}},"id":7848,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4194:8:50","memberName":"addDelta","nodeType":"MemberAccess","referencedDeclaration":5969,"src":"4180:22:50","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint128_$_t_int128_$returns$_t_uint128_$","typeString":"function (uint128,int128) pure returns (uint128)"}},"id":7851,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4180:49:50","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"4163:66:50","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":7853,"nodeType":"ExpressionStatement","src":"4163:66:50"}]},"id":7855,"nodeType":"IfStatement","src":"3970:270:50","trueBody":{"id":7843,"nodeType":"Block","src":"3995:148:50","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":7834,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7832,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7825,"src":"4069:9:50","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":7833,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4082:1:50","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4069:14:50","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7842,"nodeType":"IfStatement","src":"4065:67:50","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":7835,"name":"CannotUpdateEmptyPosition","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7748,"src":"4085:25:50","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":7838,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4111:8:50","memberName":"selector","nodeType":"MemberAccess","src":"4085:34:50","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":7839,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4120:10:50","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"4085:45:50","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":7840,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4085:47:50","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7841,"nodeType":"ExpressionStatement","src":"4085:47:50"}}]}},{"id":7882,"nodeType":"UncheckedBlock","src":"4343:305:50","statements":[{"expression":{"id":7867,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7856,"name":"feesOwed0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7820,"src":"4367:9:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7862,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7859,"name":"feeGrowthInside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7815,"src":"4411:20:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":7860,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7811,"src":"4434:4:50","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State storage pointer"}},"id":7861,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4439:24:50","memberName":"feeGrowthInside0LastX128","nodeType":"MemberAccess","referencedDeclaration":7752,"src":"4434:29:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4411:52:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7863,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7825,"src":"4465:9:50","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"expression":{"id":7864,"name":"FixedPoint128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4458,"src":"4476:13:50","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint128_$4458_$","typeString":"type(library FixedPoint128)"}},"id":7865,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4490:4:50","memberName":"Q128","nodeType":"MemberAccess","referencedDeclaration":4457,"src":"4476:18:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":7857,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"4395:8:50","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":7858,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4404:6:50","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":4597,"src":"4395:15:50","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":7866,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4395:100:50","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4367:128:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7868,"nodeType":"ExpressionStatement","src":"4367:128:50"},{"expression":{"id":7880,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7869,"name":"feesOwed1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7822,"src":"4509:9:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7875,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7872,"name":"feeGrowthInside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7817,"src":"4553:20:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":7873,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7811,"src":"4576:4:50","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State storage pointer"}},"id":7874,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4581:24:50","memberName":"feeGrowthInside1LastX128","nodeType":"MemberAccess","referencedDeclaration":7754,"src":"4576:29:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4553:52:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7876,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7825,"src":"4607:9:50","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"expression":{"id":7877,"name":"FixedPoint128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4458,"src":"4618:13:50","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint128_$4458_$","typeString":"type(library FixedPoint128)"}},"id":7878,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4632:4:50","memberName":"Q128","nodeType":"MemberAccess","referencedDeclaration":4457,"src":"4618:18:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":7870,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"4537:8:50","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":7871,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4546:6:50","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":4597,"src":"4537:15:50","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":7879,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4537:100:50","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4509:128:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7881,"nodeType":"ExpressionStatement","src":"4509:128:50"}]},{"expression":{"id":7887,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7883,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7811,"src":"4689:4:50","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State storage pointer"}},"id":7885,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"4694:24:50","memberName":"feeGrowthInside0LastX128","nodeType":"MemberAccess","referencedDeclaration":7752,"src":"4689:29:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":7886,"name":"feeGrowthInside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7815,"src":"4721:20:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4689:52:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7888,"nodeType":"ExpressionStatement","src":"4689:52:50"},{"expression":{"id":7893,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7889,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7811,"src":"4751:4:50","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State storage pointer"}},"id":7891,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"4756:24:50","memberName":"feeGrowthInside1LastX128","nodeType":"MemberAccess","referencedDeclaration":7754,"src":"4751:29:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":7892,"name":"feeGrowthInside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7817,"src":"4783:20:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4751:52:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":7894,"nodeType":"ExpressionStatement","src":"4751:52:50"}]},"documentation":{"id":7808,"nodeType":"StructuredDocumentation","src":"3068:629:50","text":"@notice Credits accumulated fees to a user's position\n @param self The individual position to update\n @param liquidityDelta The change in pool liquidity as a result of the position update\n @param feeGrowthInside0X128 The all-time fee growth in currency0, per unit of liquidity, inside the position's tick boundaries\n @param feeGrowthInside1X128 The all-time fee growth in currency1, per unit of liquidity, inside the position's tick boundaries\n @return feesOwed0 The amount of currency0 owed to the position owner\n @return feesOwed1 The amount of currency1 owed to the position owner"},"id":7896,"implemented":true,"kind":"function","modifiers":[],"name":"update","nameLocation":"3711:6:50","nodeType":"FunctionDefinition","parameters":{"id":7818,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7811,"mutability":"mutable","name":"self","nameLocation":"3741:4:50","nodeType":"VariableDeclaration","scope":7896,"src":"3727:18:50","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State"},"typeName":{"id":7810,"nodeType":"UserDefinedTypeName","pathNode":{"id":7809,"name":"State","nameLocations":["3727:5:50"],"nodeType":"IdentifierPath","referencedDeclaration":7755,"src":"3727:5:50"},"referencedDeclaration":7755,"src":"3727:5:50","typeDescriptions":{"typeIdentifier":"t_struct$_State_$7755_storage_ptr","typeString":"struct Position.State"}},"visibility":"internal"},{"constant":false,"id":7813,"mutability":"mutable","name":"liquidityDelta","nameLocation":"3762:14:50","nodeType":"VariableDeclaration","scope":7896,"src":"3755:21:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":7812,"name":"int128","nodeType":"ElementaryTypeName","src":"3755:6:50","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":7815,"mutability":"mutable","name":"feeGrowthInside0X128","nameLocation":"3794:20:50","nodeType":"VariableDeclaration","scope":7896,"src":"3786:28:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7814,"name":"uint256","nodeType":"ElementaryTypeName","src":"3786:7:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7817,"mutability":"mutable","name":"feeGrowthInside1X128","nameLocation":"3832:20:50","nodeType":"VariableDeclaration","scope":7896,"src":"3824:28:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7816,"name":"uint256","nodeType":"ElementaryTypeName","src":"3824:7:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3717:141:50"},"returnParameters":{"id":7823,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7820,"mutability":"mutable","name":"feesOwed0","nameLocation":"3885:9:50","nodeType":"VariableDeclaration","scope":7896,"src":"3877:17:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7819,"name":"uint256","nodeType":"ElementaryTypeName","src":"3877:7:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7822,"mutability":"mutable","name":"feesOwed1","nameLocation":"3904:9:50","nodeType":"VariableDeclaration","scope":7896,"src":"3896:17:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7821,"name":"uint256","nodeType":"ElementaryTypeName","src":"3896:7:50","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3876:38:50"},"scope":7897,"src":"3702:1108:50","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":7898,"src":"456:4356:50","usedErrors":[7748],"usedEvents":[]}],"src":"37:4776:50"},"id":50},"@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol","exportedSymbols":{"ProtocolFeeLibrary":[7969]},"id":7970,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":7899,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:51"},{"abstract":false,"baseContracts":[],"canonicalName":"ProtocolFeeLibrary","contractDependencies":[],"contractKind":"library","documentation":{"id":7900,"nodeType":"StructuredDocumentation","src":"57:58:51","text":"@notice library of functions related to protocol fees"},"fullyImplemented":true,"id":7969,"linearizedBaseContracts":[7969],"name":"ProtocolFeeLibrary","nameLocation":"123:18:51","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":7901,"nodeType":"StructuredDocumentation","src":"148:121:51","text":"@notice Max protocol fee is 0.1% (1000 pips)\n @dev Increasing these values could lead to overflow in Pool.swap"},"functionSelector":"b8ca3b83","id":7904,"mutability":"constant","name":"MAX_PROTOCOL_FEE","nameLocation":"297:16:51","nodeType":"VariableDeclaration","scope":7969,"src":"274:46:51","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":7902,"name":"uint16","nodeType":"ElementaryTypeName","src":"274:6:51","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"value":{"hexValue":"31303030","id":7903,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"316:4:51","typeDescriptions":{"typeIdentifier":"t_rational_1000_by_1","typeString":"int_const 1000"},"value":"1000"},"visibility":"public"},{"constant":true,"documentation":{"id":7905,"nodeType":"StructuredDocumentation","src":"327:72:51","text":"@notice Thresholds used for optimized bounds checks on protocol fees"},"id":7908,"mutability":"constant","name":"FEE_0_THRESHOLD","nameLocation":"429:15:51","nodeType":"VariableDeclaration","scope":7969,"src":"404:47:51","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7906,"name":"uint24","nodeType":"ElementaryTypeName","src":"404:6:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"value":{"hexValue":"31303031","id":7907,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"447:4:51","typeDescriptions":{"typeIdentifier":"t_rational_1001_by_1","typeString":"int_const 1001"},"value":"1001"},"visibility":"internal"},{"constant":true,"id":7913,"mutability":"constant","name":"FEE_1_THRESHOLD","nameLocation":"482:15:51","nodeType":"VariableDeclaration","scope":7969,"src":"457:53:51","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7909,"name":"uint24","nodeType":"ElementaryTypeName","src":"457:6:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"value":{"commonType":{"typeIdentifier":"t_rational_4100096_by_1","typeString":"int_const 4100096"},"id":7912,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31303031","id":7910,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"500:4:51","typeDescriptions":{"typeIdentifier":"t_rational_1001_by_1","typeString":"int_const 1001"},"value":"1001"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3132","id":7911,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"508:2:51","typeDescriptions":{"typeIdentifier":"t_rational_12_by_1","typeString":"int_const 12"},"value":"12"},"src":"500:10:51","typeDescriptions":{"typeIdentifier":"t_rational_4100096_by_1","typeString":"int_const 4100096"}},"visibility":"internal"},{"constant":true,"documentation":{"id":7914,"nodeType":"StructuredDocumentation","src":"517:66:51","text":"@notice the protocol fee is represented in hundredths of a bip"},"id":7917,"mutability":"constant","name":"PIPS_DENOMINATOR","nameLocation":"614:16:51","nodeType":"VariableDeclaration","scope":7969,"src":"588:54:51","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7915,"name":"uint256","nodeType":"ElementaryTypeName","src":"588:7:51","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"315f3030305f303030","id":7916,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"633:9:51","typeDescriptions":{"typeIdentifier":"t_rational_1000000_by_1","typeString":"int_const 1000000"},"value":"1_000_000"},"visibility":"internal"},{"body":{"id":7931,"nodeType":"Block","src":"719:44:51","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint24","typeString":"uint24"},"id":7928,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7926,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7919,"src":"743:4:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"3078666666","id":7927,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"750:5:51","typeDescriptions":{"typeIdentifier":"t_rational_4095_by_1","typeString":"int_const 4095"},"value":"0xfff"},"src":"743:12:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":7925,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"736:6:51","typeDescriptions":{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"},"typeName":{"id":7924,"name":"uint16","nodeType":"ElementaryTypeName","src":"736:6:51","typeDescriptions":{}}},"id":7929,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"736:20:51","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"functionReturnParameters":7923,"id":7930,"nodeType":"Return","src":"729:27:51"}]},"id":7932,"implemented":true,"kind":"function","modifiers":[],"name":"getZeroForOneFee","nameLocation":"658:16:51","nodeType":"FunctionDefinition","parameters":{"id":7920,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7919,"mutability":"mutable","name":"self","nameLocation":"682:4:51","nodeType":"VariableDeclaration","scope":7932,"src":"675:11:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7918,"name":"uint24","nodeType":"ElementaryTypeName","src":"675:6:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"674:13:51"},"returnParameters":{"id":7923,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7922,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7932,"src":"711:6:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":7921,"name":"uint16","nodeType":"ElementaryTypeName","src":"711:6:51","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"710:8:51"},"scope":7969,"src":"649:114:51","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7946,"nodeType":"Block","src":"839:42:51","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint24","typeString":"uint24"},"id":7943,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7941,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7934,"src":"863:4:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"3132","id":7942,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"871:2:51","typeDescriptions":{"typeIdentifier":"t_rational_12_by_1","typeString":"int_const 12"},"value":"12"},"src":"863:10:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":7940,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"856:6:51","typeDescriptions":{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"},"typeName":{"id":7939,"name":"uint16","nodeType":"ElementaryTypeName","src":"856:6:51","typeDescriptions":{}}},"id":7944,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"856:18:51","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"functionReturnParameters":7938,"id":7945,"nodeType":"Return","src":"849:25:51"}]},"id":7947,"implemented":true,"kind":"function","modifiers":[],"name":"getOneForZeroFee","nameLocation":"778:16:51","nodeType":"FunctionDefinition","parameters":{"id":7935,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7934,"mutability":"mutable","name":"self","nameLocation":"802:4:51","nodeType":"VariableDeclaration","scope":7947,"src":"795:11:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7933,"name":"uint24","nodeType":"ElementaryTypeName","src":"795:6:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"794:13:51"},"returnParameters":{"id":7938,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7937,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7947,"src":"831:6:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":7936,"name":"uint16","nodeType":"ElementaryTypeName","src":"831:6:51","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"830:8:51"},"scope":7969,"src":"769:112:51","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7955,"nodeType":"Block","src":"963:383:51","statements":[{"AST":{"nativeSrc":"1113:227:51","nodeType":"YulBlock","src":"1113:227:51","statements":[{"nativeSrc":"1127:62:51","nodeType":"YulVariableDeclaration","src":"1127:62:51","value":{"arguments":[{"arguments":[{"name":"self","nativeSrc":"1159:4:51","nodeType":"YulIdentifier","src":"1159:4:51"},{"kind":"number","nativeSrc":"1165:5:51","nodeType":"YulLiteral","src":"1165:5:51","type":"","value":"0xfff"}],"functionName":{"name":"and","nativeSrc":"1155:3:51","nodeType":"YulIdentifier","src":"1155:3:51"},"nativeSrc":"1155:16:51","nodeType":"YulFunctionCall","src":"1155:16:51"},{"name":"FEE_0_THRESHOLD","nativeSrc":"1173:15:51","nodeType":"YulIdentifier","src":"1173:15:51"}],"functionName":{"name":"lt","nativeSrc":"1152:2:51","nodeType":"YulIdentifier","src":"1152:2:51"},"nativeSrc":"1152:37:51","nodeType":"YulFunctionCall","src":"1152:37:51"},"variables":[{"name":"isZeroForOneFeeOk","nativeSrc":"1131:17:51","nodeType":"YulTypedName","src":"1131:17:51","type":""}]},{"nativeSrc":"1202:65:51","nodeType":"YulVariableDeclaration","src":"1202:65:51","value":{"arguments":[{"arguments":[{"name":"self","nativeSrc":"1234:4:51","nodeType":"YulIdentifier","src":"1234:4:51"},{"kind":"number","nativeSrc":"1240:8:51","nodeType":"YulLiteral","src":"1240:8:51","type":"","value":"0xfff000"}],"functionName":{"name":"and","nativeSrc":"1230:3:51","nodeType":"YulIdentifier","src":"1230:3:51"},"nativeSrc":"1230:19:51","nodeType":"YulFunctionCall","src":"1230:19:51"},{"name":"FEE_1_THRESHOLD","nativeSrc":"1251:15:51","nodeType":"YulIdentifier","src":"1251:15:51"}],"functionName":{"name":"lt","nativeSrc":"1227:2:51","nodeType":"YulIdentifier","src":"1227:2:51"},"nativeSrc":"1227:40:51","nodeType":"YulFunctionCall","src":"1227:40:51"},"variables":[{"name":"isOneForZeroFeeOk","nativeSrc":"1206:17:51","nodeType":"YulTypedName","src":"1206:17:51","type":""}]},{"nativeSrc":"1280:50:51","nodeType":"YulAssignment","src":"1280:50:51","value":{"arguments":[{"name":"isZeroForOneFeeOk","nativeSrc":"1293:17:51","nodeType":"YulIdentifier","src":"1293:17:51"},{"name":"isOneForZeroFeeOk","nativeSrc":"1312:17:51","nodeType":"YulIdentifier","src":"1312:17:51"}],"functionName":{"name":"and","nativeSrc":"1289:3:51","nodeType":"YulIdentifier","src":"1289:3:51"},"nativeSrc":"1289:41:51","nodeType":"YulFunctionCall","src":"1289:41:51"},"variableNames":[{"name":"valid","nativeSrc":"1280:5:51","nodeType":"YulIdentifier","src":"1280:5:51"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":7908,"isOffset":false,"isSlot":false,"src":"1173:15:51","valueSize":1},{"declaration":7913,"isOffset":false,"isSlot":false,"src":"1251:15:51","valueSize":1},{"declaration":7949,"isOffset":false,"isSlot":false,"src":"1159:4:51","valueSize":1},{"declaration":7949,"isOffset":false,"isSlot":false,"src":"1234:4:51","valueSize":1},{"declaration":7952,"isOffset":false,"isSlot":false,"src":"1280:5:51","valueSize":1}],"flags":["memory-safe"],"id":7954,"nodeType":"InlineAssembly","src":"1088:252:51"}]},"id":7956,"implemented":true,"kind":"function","modifiers":[],"name":"isValidProtocolFee","nameLocation":"896:18:51","nodeType":"FunctionDefinition","parameters":{"id":7950,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7949,"mutability":"mutable","name":"self","nameLocation":"922:4:51","nodeType":"VariableDeclaration","scope":7956,"src":"915:11:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7948,"name":"uint24","nodeType":"ElementaryTypeName","src":"915:6:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"914:13:51"},"returnParameters":{"id":7953,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7952,"mutability":"mutable","name":"valid","nameLocation":"956:5:51","nodeType":"VariableDeclaration","scope":7956,"src":"951:10:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":7951,"name":"bool","nodeType":"ElementaryTypeName","src":"951:4:51","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"950:12:51"},"scope":7969,"src":"887:459:51","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7967,"nodeType":"Block","src":"1787:323:51","statements":[{"AST":{"nativeSrc":"1889:215:51","nodeType":"YulBlock","src":"1889:215:51","statements":[{"nativeSrc":"1903:24:51","nodeType":"YulAssignment","src":"1903:24:51","value":{"arguments":[{"name":"self","nativeSrc":"1915:4:51","nodeType":"YulIdentifier","src":"1915:4:51"},{"kind":"number","nativeSrc":"1921:5:51","nodeType":"YulLiteral","src":"1921:5:51","type":"","value":"0xfff"}],"functionName":{"name":"and","nativeSrc":"1911:3:51","nodeType":"YulIdentifier","src":"1911:3:51"},"nativeSrc":"1911:16:51","nodeType":"YulFunctionCall","src":"1911:16:51"},"variableNames":[{"name":"self","nativeSrc":"1903:4:51","nodeType":"YulIdentifier","src":"1903:4:51"}]},{"nativeSrc":"1940:29:51","nodeType":"YulAssignment","src":"1940:29:51","value":{"arguments":[{"name":"lpFee","nativeSrc":"1953:5:51","nodeType":"YulIdentifier","src":"1953:5:51"},{"kind":"number","nativeSrc":"1960:8:51","nodeType":"YulLiteral","src":"1960:8:51","type":"","value":"0xffffff"}],"functionName":{"name":"and","nativeSrc":"1949:3:51","nodeType":"YulIdentifier","src":"1949:3:51"},"nativeSrc":"1949:20:51","nodeType":"YulFunctionCall","src":"1949:20:51"},"variableNames":[{"name":"lpFee","nativeSrc":"1940:5:51","nodeType":"YulIdentifier","src":"1940:5:51"}]},{"nativeSrc":"1982:33:51","nodeType":"YulVariableDeclaration","src":"1982:33:51","value":{"arguments":[{"name":"self","nativeSrc":"2003:4:51","nodeType":"YulIdentifier","src":"2003:4:51"},{"name":"lpFee","nativeSrc":"2009:5:51","nodeType":"YulIdentifier","src":"2009:5:51"}],"functionName":{"name":"mul","nativeSrc":"1999:3:51","nodeType":"YulIdentifier","src":"1999:3:51"},"nativeSrc":"1999:16:51","nodeType":"YulFunctionCall","src":"1999:16:51"},"variables":[{"name":"numerator","nativeSrc":"1986:9:51","nodeType":"YulTypedName","src":"1986:9:51","type":""}]},{"nativeSrc":"2028:66:51","nodeType":"YulAssignment","src":"2028:66:51","value":{"arguments":[{"arguments":[{"name":"self","nativeSrc":"2047:4:51","nodeType":"YulIdentifier","src":"2047:4:51"},{"name":"lpFee","nativeSrc":"2053:5:51","nodeType":"YulIdentifier","src":"2053:5:51"}],"functionName":{"name":"add","nativeSrc":"2043:3:51","nodeType":"YulIdentifier","src":"2043:3:51"},"nativeSrc":"2043:16:51","nodeType":"YulFunctionCall","src":"2043:16:51"},{"arguments":[{"name":"numerator","nativeSrc":"2065:9:51","nodeType":"YulIdentifier","src":"2065:9:51"},{"name":"PIPS_DENOMINATOR","nativeSrc":"2076:16:51","nodeType":"YulIdentifier","src":"2076:16:51"}],"functionName":{"name":"div","nativeSrc":"2061:3:51","nodeType":"YulIdentifier","src":"2061:3:51"},"nativeSrc":"2061:32:51","nodeType":"YulFunctionCall","src":"2061:32:51"}],"functionName":{"name":"sub","nativeSrc":"2039:3:51","nodeType":"YulIdentifier","src":"2039:3:51"},"nativeSrc":"2039:55:51","nodeType":"YulFunctionCall","src":"2039:55:51"},"variableNames":[{"name":"swapFee","nativeSrc":"2028:7:51","nodeType":"YulIdentifier","src":"2028:7:51"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":7917,"isOffset":false,"isSlot":false,"src":"2076:16:51","valueSize":1},{"declaration":7961,"isOffset":false,"isSlot":false,"src":"1940:5:51","valueSize":1},{"declaration":7961,"isOffset":false,"isSlot":false,"src":"1953:5:51","valueSize":1},{"declaration":7961,"isOffset":false,"isSlot":false,"src":"2009:5:51","valueSize":1},{"declaration":7961,"isOffset":false,"isSlot":false,"src":"2053:5:51","valueSize":1},{"declaration":7959,"isOffset":false,"isSlot":false,"src":"1903:4:51","valueSize":1},{"declaration":7959,"isOffset":false,"isSlot":false,"src":"1915:4:51","valueSize":1},{"declaration":7959,"isOffset":false,"isSlot":false,"src":"2003:4:51","valueSize":1},{"declaration":7959,"isOffset":false,"isSlot":false,"src":"2047:4:51","valueSize":1},{"declaration":7964,"isOffset":false,"isSlot":false,"src":"2028:7:51","valueSize":1}],"flags":["memory-safe"],"id":7966,"nodeType":"InlineAssembly","src":"1864:240:51"}]},"documentation":{"id":7957,"nodeType":"StructuredDocumentation","src":"1590:100:51","text":"@dev here `self` is just a single direction's protocol fee, not a packed type of 2 protocol fees"},"id":7968,"implemented":true,"kind":"function","modifiers":[],"name":"calculateSwapFee","nameLocation":"1704:16:51","nodeType":"FunctionDefinition","parameters":{"id":7962,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7959,"mutability":"mutable","name":"self","nameLocation":"1728:4:51","nodeType":"VariableDeclaration","scope":7968,"src":"1721:11:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":7958,"name":"uint16","nodeType":"ElementaryTypeName","src":"1721:6:51","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":7961,"mutability":"mutable","name":"lpFee","nameLocation":"1741:5:51","nodeType":"VariableDeclaration","scope":7968,"src":"1734:12:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7960,"name":"uint24","nodeType":"ElementaryTypeName","src":"1734:6:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"1720:27:51"},"returnParameters":{"id":7965,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7964,"mutability":"mutable","name":"swapFee","nameLocation":"1778:7:51","nodeType":"VariableDeclaration","scope":7968,"src":"1771:14:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7963,"name":"uint24","nodeType":"ElementaryTypeName","src":"1771:6:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"1770:16:51"},"scope":7969,"src":"1695:415:51","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":7970,"src":"115:1997:51","usedErrors":[],"usedEvents":[]}],"src":"32:2081:51"},"id":51},"@uniswap/v4-core/src/libraries/SafeCast.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/SafeCast.sol","exportedSymbols":{"CustomRevert":[4451],"SafeCast":[8145]},"id":8146,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":7971,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:52"},{"absolutePath":"@uniswap/v4-core/src/libraries/CustomRevert.sol","file":"./CustomRevert.sol","id":7973,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8146,"sourceUnit":4452,"src":"57:48:52","symbolAliases":[{"foreign":{"id":7972,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"65:12:52","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"SafeCast","contractDependencies":[],"contractKind":"library","documentation":{"id":7974,"nodeType":"StructuredDocumentation","src":"107:94:52","text":"@title Safe casting methods\n @notice Contains methods for safely casting between types"},"fullyImplemented":true,"id":8145,"linearizedBaseContracts":[8145],"name":"SafeCast","nameLocation":"209:8:52","nodeType":"ContractDefinition","nodes":[{"global":false,"id":7977,"libraryName":{"id":7975,"name":"CustomRevert","nameLocations":["230:12:52"],"nodeType":"IdentifierPath","referencedDeclaration":4451,"src":"230:12:52"},"nodeType":"UsingForDirective","src":"224:30:52","typeName":{"id":7976,"name":"bytes4","nodeType":"ElementaryTypeName","src":"247:6:52","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}},{"errorSelector":"93dafdf1","id":7979,"name":"SafeCastOverflow","nameLocation":"266:16:52","nodeType":"ErrorDefinition","parameters":{"id":7978,"nodeType":"ParameterList","parameters":[],"src":"282:2:52"},"src":"260:25:52"},{"body":{"id":8005,"nodeType":"Block","src":"524:91:52","statements":[{"expression":{"id":7992,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7987,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7985,"src":"534:1:52","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7990,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7982,"src":"546:1:52","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7989,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"538:7:52","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":7988,"name":"uint160","nodeType":"ElementaryTypeName","src":"538:7:52","typeDescriptions":{}}},"id":7991,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"538:10:52","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"534:14:52","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":7993,"nodeType":"ExpressionStatement","src":"534:14:52"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7996,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7994,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7985,"src":"562:1:52","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":7995,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7982,"src":"567:1:52","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"562:6:52","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8004,"nodeType":"IfStatement","src":"558:50:52","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":7997,"name":"SafeCastOverflow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7979,"src":"570:16:52","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":8000,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"587:8:52","memberName":"selector","nodeType":"MemberAccess","src":"570:25:52","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":8001,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"596:10:52","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"570:36:52","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":8002,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"570:38:52","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8003,"nodeType":"ExpressionStatement","src":"570:38:52"}}]},"documentation":{"id":7980,"nodeType":"StructuredDocumentation","src":"291:164:52","text":"@notice Cast a uint256 to a uint160, revert on overflow\n @param x The uint256 to be downcasted\n @return y The downcasted integer, now type uint160"},"id":8006,"implemented":true,"kind":"function","modifiers":[],"name":"toUint160","nameLocation":"469:9:52","nodeType":"FunctionDefinition","parameters":{"id":7983,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7982,"mutability":"mutable","name":"x","nameLocation":"487:1:52","nodeType":"VariableDeclaration","scope":8006,"src":"479:9:52","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7981,"name":"uint256","nodeType":"ElementaryTypeName","src":"479:7:52","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"478:11:52"},"returnParameters":{"id":7986,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7985,"mutability":"mutable","name":"y","nameLocation":"521:1:52","nodeType":"VariableDeclaration","scope":8006,"src":"513:9:52","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":7984,"name":"uint160","nodeType":"ElementaryTypeName","src":"513:7:52","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"512:11:52"},"scope":8145,"src":"460:155:52","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8032,"nodeType":"Block","src":"854:91:52","statements":[{"expression":{"id":8019,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8014,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8012,"src":"864:1:52","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8017,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8009,"src":"876:1:52","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8016,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"868:7:52","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":8015,"name":"uint128","nodeType":"ElementaryTypeName","src":"868:7:52","typeDescriptions":{}}},"id":8018,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"868:10:52","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"864:14:52","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":8020,"nodeType":"ExpressionStatement","src":"864:14:52"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8023,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8021,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8009,"src":"892:1:52","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8022,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8012,"src":"897:1:52","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"892:6:52","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8031,"nodeType":"IfStatement","src":"888:50:52","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":8024,"name":"SafeCastOverflow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7979,"src":"900:16:52","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":8027,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"917:8:52","memberName":"selector","nodeType":"MemberAccess","src":"900:25:52","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":8028,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"926:10:52","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"900:36:52","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":8029,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"900:38:52","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8030,"nodeType":"ExpressionStatement","src":"900:38:52"}}]},"documentation":{"id":8007,"nodeType":"StructuredDocumentation","src":"621:164:52","text":"@notice Cast a uint256 to a uint128, revert on overflow\n @param x The uint256 to be downcasted\n @return y The downcasted integer, now type uint128"},"id":8033,"implemented":true,"kind":"function","modifiers":[],"name":"toUint128","nameLocation":"799:9:52","nodeType":"FunctionDefinition","parameters":{"id":8010,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8009,"mutability":"mutable","name":"x","nameLocation":"817:1:52","nodeType":"VariableDeclaration","scope":8033,"src":"809:9:52","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8008,"name":"uint256","nodeType":"ElementaryTypeName","src":"809:7:52","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"808:11:52"},"returnParameters":{"id":8013,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8012,"mutability":"mutable","name":"y","nameLocation":"851:1:52","nodeType":"VariableDeclaration","scope":8033,"src":"843:9:52","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8011,"name":"uint128","nodeType":"ElementaryTypeName","src":"843:7:52","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"842:11:52"},"scope":8145,"src":"790:155:52","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8059,"nodeType":"Block","src":"1186:90:52","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":8043,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8041,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8036,"src":"1200:1:52","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":8042,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1204:1:52","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1200:5:52","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8051,"nodeType":"IfStatement","src":"1196:49:52","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":8044,"name":"SafeCastOverflow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7979,"src":"1207:16:52","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":8047,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1224:8:52","memberName":"selector","nodeType":"MemberAccess","src":"1207:25:52","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":8048,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1233:10:52","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"1207:36:52","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":8049,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1207:38:52","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8050,"nodeType":"ExpressionStatement","src":"1207:38:52"}},{"expression":{"id":8057,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8052,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8039,"src":"1255:1:52","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8055,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8036,"src":"1267:1:52","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":8054,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1259:7:52","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":8053,"name":"uint128","nodeType":"ElementaryTypeName","src":"1259:7:52","typeDescriptions":{}}},"id":8056,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1259:10:52","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"1255:14:52","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":8058,"nodeType":"ExpressionStatement","src":"1255:14:52"}]},"documentation":{"id":8034,"nodeType":"StructuredDocumentation","src":"951:167:52","text":"@notice Cast a int128 to a uint128, revert on overflow or underflow\n @param x The int128 to be casted\n @return y The casted integer, now type uint128"},"id":8060,"implemented":true,"kind":"function","modifiers":[],"name":"toUint128","nameLocation":"1132:9:52","nodeType":"FunctionDefinition","parameters":{"id":8037,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8036,"mutability":"mutable","name":"x","nameLocation":"1149:1:52","nodeType":"VariableDeclaration","scope":8060,"src":"1142:8:52","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":8035,"name":"int128","nodeType":"ElementaryTypeName","src":"1142:6:52","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"1141:10:52"},"returnParameters":{"id":8040,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8039,"mutability":"mutable","name":"y","nameLocation":"1183:1:52","nodeType":"VariableDeclaration","scope":8060,"src":"1175:9:52","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8038,"name":"uint128","nodeType":"ElementaryTypeName","src":"1175:7:52","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"1174:11:52"},"scope":8145,"src":"1123:153:52","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8086,"nodeType":"Block","src":"1521:90:52","statements":[{"expression":{"id":8073,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8068,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8066,"src":"1531:1:52","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8071,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8063,"src":"1542:1:52","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8070,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1535:6:52","typeDescriptions":{"typeIdentifier":"t_type$_t_int128_$","typeString":"type(int128)"},"typeName":{"id":8069,"name":"int128","nodeType":"ElementaryTypeName","src":"1535:6:52","typeDescriptions":{}}},"id":8072,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1535:9:52","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"1531:13:52","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":8074,"nodeType":"ExpressionStatement","src":"1531:13:52"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8077,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8075,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8066,"src":"1558:1:52","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8076,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8063,"src":"1563:1:52","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1558:6:52","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8085,"nodeType":"IfStatement","src":"1554:50:52","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":8078,"name":"SafeCastOverflow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7979,"src":"1566:16:52","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":8081,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1583:8:52","memberName":"selector","nodeType":"MemberAccess","src":"1566:25:52","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":8082,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1592:10:52","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"1566:36:52","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":8083,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1566:38:52","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8084,"nodeType":"ExpressionStatement","src":"1566:38:52"}}]},"documentation":{"id":8061,"nodeType":"StructuredDocumentation","src":"1282:173:52","text":"@notice Cast a int256 to a int128, revert on overflow or underflow\n @param x The int256 to be downcasted\n @return y The downcasted integer, now type int128"},"id":8087,"implemented":true,"kind":"function","modifiers":[],"name":"toInt128","nameLocation":"1469:8:52","nodeType":"FunctionDefinition","parameters":{"id":8064,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8063,"mutability":"mutable","name":"x","nameLocation":"1485:1:52","nodeType":"VariableDeclaration","scope":8087,"src":"1478:8:52","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8062,"name":"int256","nodeType":"ElementaryTypeName","src":"1478:6:52","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1477:10:52"},"returnParameters":{"id":8067,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8066,"mutability":"mutable","name":"y","nameLocation":"1518:1:52","nodeType":"VariableDeclaration","scope":8087,"src":"1511:8:52","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":8065,"name":"int128","nodeType":"ElementaryTypeName","src":"1511:6:52","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"1510:10:52"},"scope":8145,"src":"1460:151:52","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8113,"nodeType":"Block","src":"1838:89:52","statements":[{"expression":{"id":8100,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8095,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8093,"src":"1848:1:52","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8098,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8090,"src":"1859:1:52","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8097,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1852:6:52","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":8096,"name":"int256","nodeType":"ElementaryTypeName","src":"1852:6:52","typeDescriptions":{}}},"id":8099,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1852:9:52","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1848:13:52","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":8101,"nodeType":"ExpressionStatement","src":"1848:13:52"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8104,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8102,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8093,"src":"1875:1:52","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":8103,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1879:1:52","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1875:5:52","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8112,"nodeType":"IfStatement","src":"1871:49:52","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":8105,"name":"SafeCastOverflow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7979,"src":"1882:16:52","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":8108,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1899:8:52","memberName":"selector","nodeType":"MemberAccess","src":"1882:25:52","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":8109,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1908:10:52","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"1882:36:52","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":8110,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1882:38:52","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8111,"nodeType":"ExpressionStatement","src":"1882:38:52"}}]},"documentation":{"id":8088,"nodeType":"StructuredDocumentation","src":"1617:154:52","text":"@notice Cast a uint256 to a int256, revert on overflow\n @param x The uint256 to be casted\n @return y The casted integer, now type int256"},"id":8114,"implemented":true,"kind":"function","modifiers":[],"name":"toInt256","nameLocation":"1785:8:52","nodeType":"FunctionDefinition","parameters":{"id":8091,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8090,"mutability":"mutable","name":"x","nameLocation":"1802:1:52","nodeType":"VariableDeclaration","scope":8114,"src":"1794:9:52","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8089,"name":"uint256","nodeType":"ElementaryTypeName","src":"1794:7:52","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1793:11:52"},"returnParameters":{"id":8094,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8093,"mutability":"mutable","name":"y","nameLocation":"1835:1:52","nodeType":"VariableDeclaration","scope":8114,"src":"1828:8:52","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8092,"name":"int256","nodeType":"ElementaryTypeName","src":"1828:6:52","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1827:10:52"},"scope":8145,"src":"1776:151:52","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8143,"nodeType":"Block","src":"2158:108:52","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8126,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8122,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8117,"src":"2172:1:52","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_170141183460469231731687303715884105728_by_1","typeString":"int_const 1701...(31 digits omitted)...5728"},"id":8125,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":8123,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2177:1:52","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"313237","id":8124,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2182:3:52","typeDescriptions":{"typeIdentifier":"t_rational_127_by_1","typeString":"int_const 127"},"value":"127"},"src":"2177:8:52","typeDescriptions":{"typeIdentifier":"t_rational_170141183460469231731687303715884105728_by_1","typeString":"int_const 1701...(31 digits omitted)...5728"}},"src":"2172:13:52","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8134,"nodeType":"IfStatement","src":"2168:57:52","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":8127,"name":"SafeCastOverflow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7979,"src":"2187:16:52","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":8130,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2204:8:52","memberName":"selector","nodeType":"MemberAccess","src":"2187:25:52","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":8131,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2213:10:52","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"2187:36:52","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":8132,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2187:38:52","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8133,"nodeType":"ExpressionStatement","src":"2187:38:52"}},{"expression":{"arguments":[{"arguments":[{"id":8139,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8117,"src":"2256:1:52","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8138,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2249:6:52","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":8137,"name":"int256","nodeType":"ElementaryTypeName","src":"2249:6:52","typeDescriptions":{}}},"id":8140,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2249:9:52","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8136,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2242:6:52","typeDescriptions":{"typeIdentifier":"t_type$_t_int128_$","typeString":"type(int128)"},"typeName":{"id":8135,"name":"int128","nodeType":"ElementaryTypeName","src":"2242:6:52","typeDescriptions":{}}},"id":8141,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2242:17:52","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"functionReturnParameters":8121,"id":8142,"nodeType":"Return","src":"2235:24:52"}]},"documentation":{"id":8115,"nodeType":"StructuredDocumentation","src":"1933:160:52","text":"@notice Cast a uint256 to a int128, revert on overflow\n @param x The uint256 to be downcasted\n @return The downcasted integer, now type int128"},"id":8144,"implemented":true,"kind":"function","modifiers":[],"name":"toInt128","nameLocation":"2107:8:52","nodeType":"FunctionDefinition","parameters":{"id":8118,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8117,"mutability":"mutable","name":"x","nameLocation":"2124:1:52","nodeType":"VariableDeclaration","scope":8144,"src":"2116:9:52","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8116,"name":"uint256","nodeType":"ElementaryTypeName","src":"2116:7:52","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2115:11:52"},"returnParameters":{"id":8121,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8120,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8144,"src":"2150:6:52","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":8119,"name":"int128","nodeType":"ElementaryTypeName","src":"2150:6:52","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"2149:8:52"},"scope":8145,"src":"2098:168:52","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":8146,"src":"201:2067:52","usedErrors":[7979],"usedEvents":[]}],"src":"32:2237:52"},"id":52},"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol","exportedSymbols":{"FixedPoint96":[4468],"FullMath":[4636],"SafeCast":[8145],"SqrtPriceMath":[8636],"UnsafeMath":[10497]},"id":8637,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":8147,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:53"},{"absolutePath":"@uniswap/v4-core/src/libraries/SafeCast.sol","file":"./SafeCast.sol","id":8149,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8637,"sourceUnit":8146,"src":"57:40:53","symbolAliases":[{"foreign":{"id":8148,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8145,"src":"65:8:53","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/FullMath.sol","file":"./FullMath.sol","id":8151,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8637,"sourceUnit":4637,"src":"99:40:53","symbolAliases":[{"foreign":{"id":8150,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"107:8:53","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/UnsafeMath.sol","file":"./UnsafeMath.sol","id":8153,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8637,"sourceUnit":10498,"src":"140:44:53","symbolAliases":[{"foreign":{"id":8152,"name":"UnsafeMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10497,"src":"148:10:53","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/FixedPoint96.sol","file":"./FixedPoint96.sol","id":8155,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8637,"sourceUnit":4469,"src":"185:48:53","symbolAliases":[{"foreign":{"id":8154,"name":"FixedPoint96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4468,"src":"193:12:53","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"SqrtPriceMath","contractDependencies":[],"contractKind":"library","documentation":{"id":8156,"nodeType":"StructuredDocumentation","src":"235:167:53","text":"@title Functions based on Q64.96 sqrt price and liquidity\n @notice Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas"},"fullyImplemented":true,"id":8636,"linearizedBaseContracts":[8636],"name":"SqrtPriceMath","nameLocation":"410:13:53","nodeType":"ContractDefinition","nodes":[{"global":false,"id":8159,"libraryName":{"id":8157,"name":"SafeCast","nameLocations":["436:8:53"],"nodeType":"IdentifierPath","referencedDeclaration":8145,"src":"436:8:53"},"nodeType":"UsingForDirective","src":"430:27:53","typeName":{"id":8158,"name":"uint256","nodeType":"ElementaryTypeName","src":"449:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"errorSelector":"4f2461b8","id":8161,"name":"InvalidPriceOrLiquidity","nameLocation":"469:23:53","nodeType":"ErrorDefinition","parameters":{"id":8160,"nodeType":"ParameterList","parameters":[],"src":"492:2:53"},"src":"463:32:53"},{"errorSelector":"00bfc921","id":8163,"name":"InvalidPrice","nameLocation":"506:12:53","nodeType":"ErrorDefinition","parameters":{"id":8162,"nodeType":"ParameterList","parameters":[],"src":"518:2:53"},"src":"500:21:53"},{"errorSelector":"4323a555","id":8165,"name":"NotEnoughLiquidity","nameLocation":"532:18:53","nodeType":"ErrorDefinition","parameters":{"id":8164,"nodeType":"ParameterList","parameters":[],"src":"550:2:53"},"src":"526:27:53"},{"errorSelector":"f5c787f1","id":8167,"name":"PriceOverflow","nameLocation":"564:13:53","nodeType":"ErrorDefinition","parameters":{"id":8166,"nodeType":"ParameterList","parameters":[],"src":"577:2:53"},"src":"558:22:53"},{"body":{"id":8273,"nodeType":"Block","src":"1705:1895:53","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8183,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8181,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8174,"src":"1831:6:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":8182,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1841:1:53","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1831:11:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8186,"nodeType":"IfStatement","src":"1827:32:53","trueBody":{"expression":{"id":8184,"name":"sqrtPX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8170,"src":"1851:8:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"functionReturnParameters":8180,"id":8185,"nodeType":"Return","src":"1844:15:53"}},{"assignments":[8188],"declarations":[{"constant":false,"id":8188,"mutability":"mutable","name":"numerator1","nameLocation":"1877:10:53","nodeType":"VariableDeclaration","scope":8273,"src":"1869:18:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8187,"name":"uint256","nodeType":"ElementaryTypeName","src":"1869:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8196,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8195,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":8191,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8172,"src":"1898:9:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":8190,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1890:7:53","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8189,"name":"uint256","nodeType":"ElementaryTypeName","src":"1890:7:53","typeDescriptions":{}}},"id":8192,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1890:18:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"expression":{"id":8193,"name":"FixedPoint96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4468,"src":"1912:12:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint96_$4468_$","typeString":"type(library FixedPoint96)"}},"id":8194,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1925:10:53","memberName":"RESOLUTION","nodeType":"MemberAccess","referencedDeclaration":4464,"src":"1912:23:53","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"1890:45:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1869:66:53"},{"condition":{"id":8197,"name":"add","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8176,"src":"1950:3:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":8271,"nodeType":"Block","src":"2576:1018:53","statements":[{"id":8270,"nodeType":"UncheckedBlock","src":"2590:994:53","statements":[{"assignments":[8249],"declarations":[{"constant":false,"id":8249,"mutability":"mutable","name":"product","nameLocation":"2626:7:53","nodeType":"VariableDeclaration","scope":8270,"src":"2618:15:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8248,"name":"uint256","nodeType":"ElementaryTypeName","src":"2618:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8253,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8252,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8250,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8174,"src":"2636:6:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":8251,"name":"sqrtPX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8170,"src":"2645:8:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"2636:17:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2618:35:53"},{"AST":{"nativeSrc":"2976:437:53","nodeType":"YulBlock","src":"2976:437:53","statements":[{"body":{"nativeSrc":"3251:144:53","nodeType":"YulBlock","src":"3251:144:53","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3284:1:53","nodeType":"YulLiteral","src":"3284:1:53","type":"","value":"0"},{"kind":"number","nativeSrc":"3287:10:53","nodeType":"YulLiteral","src":"3287:10:53","type":"","value":"0xf5c787f1"}],"functionName":{"name":"mstore","nativeSrc":"3277:6:53","nodeType":"YulIdentifier","src":"3277:6:53"},"nativeSrc":"3277:21:53","nodeType":"YulFunctionCall","src":"3277:21:53"},"nativeSrc":"3277:21:53","nodeType":"YulExpressionStatement","src":"3277:21:53"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3362:4:53","nodeType":"YulLiteral","src":"3362:4:53","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"3368:4:53","nodeType":"YulLiteral","src":"3368:4:53","type":"","value":"0x04"}],"functionName":{"name":"revert","nativeSrc":"3355:6:53","nodeType":"YulIdentifier","src":"3355:6:53"},"nativeSrc":"3355:18:53","nodeType":"YulFunctionCall","src":"3355:18:53"},"nativeSrc":"3355:18:53","nodeType":"YulExpressionStatement","src":"3355:18:53"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"product","nativeSrc":"3073:7:53","nodeType":"YulIdentifier","src":"3073:7:53"},{"name":"amount","nativeSrc":"3082:6:53","nodeType":"YulIdentifier","src":"3082:6:53"}],"functionName":{"name":"div","nativeSrc":"3069:3:53","nodeType":"YulIdentifier","src":"3069:3:53"},"nativeSrc":"3069:20:53","nodeType":"YulFunctionCall","src":"3069:20:53"},{"arguments":[{"name":"sqrtPX96","nativeSrc":"3095:8:53","nodeType":"YulIdentifier","src":"3095:8:53"},{"kind":"number","nativeSrc":"3105:42:53","nodeType":"YulLiteral","src":"3105:42:53","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"3091:3:53","nodeType":"YulIdentifier","src":"3091:3:53"},"nativeSrc":"3091:57:53","nodeType":"YulFunctionCall","src":"3091:57:53"}],"functionName":{"name":"eq","nativeSrc":"3066:2:53","nodeType":"YulIdentifier","src":"3066:2:53"},"nativeSrc":"3066:83:53","nodeType":"YulFunctionCall","src":"3066:83:53"},{"arguments":[{"name":"numerator1","nativeSrc":"3182:10:53","nodeType":"YulIdentifier","src":"3182:10:53"},{"name":"product","nativeSrc":"3194:7:53","nodeType":"YulIdentifier","src":"3194:7:53"}],"functionName":{"name":"gt","nativeSrc":"3179:2:53","nodeType":"YulIdentifier","src":"3179:2:53"},"nativeSrc":"3179:23:53","nodeType":"YulFunctionCall","src":"3179:23:53"}],"functionName":{"name":"and","nativeSrc":"3033:3:53","nodeType":"YulIdentifier","src":"3033:3:53"},"nativeSrc":"3033:195:53","nodeType":"YulFunctionCall","src":"3033:195:53"}],"functionName":{"name":"iszero","nativeSrc":"3001:6:53","nodeType":"YulIdentifier","src":"3001:6:53"},"nativeSrc":"3001:249:53","nodeType":"YulFunctionCall","src":"3001:249:53"},"nativeSrc":"2998:397:53","nodeType":"YulIf","src":"2998:397:53"}]},"evmVersion":"cancun","externalReferences":[{"declaration":8174,"isOffset":false,"isSlot":false,"src":"3082:6:53","valueSize":1},{"declaration":8188,"isOffset":false,"isSlot":false,"src":"3182:10:53","valueSize":1},{"declaration":8249,"isOffset":false,"isSlot":false,"src":"3073:7:53","valueSize":1},{"declaration":8249,"isOffset":false,"isSlot":false,"src":"3194:7:53","valueSize":1},{"declaration":8170,"isOffset":false,"isSlot":false,"src":"3095:8:53","valueSize":1}],"flags":["memory-safe"],"id":8254,"nodeType":"InlineAssembly","src":"2951:462:53"},{"assignments":[8256],"declarations":[{"constant":false,"id":8256,"mutability":"mutable","name":"denominator","nameLocation":"3438:11:53","nodeType":"VariableDeclaration","scope":8270,"src":"3430:19:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8255,"name":"uint256","nodeType":"ElementaryTypeName","src":"3430:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8260,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8259,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8257,"name":"numerator1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8188,"src":"3452:10:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":8258,"name":"product","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8249,"src":"3465:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3452:20:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3430:42:53"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":8263,"name":"numerator1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8188,"src":"3523:10:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8264,"name":"sqrtPX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8170,"src":"3535:8:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":8265,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8256,"src":"3545:11:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":8261,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"3497:8:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":8262,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3506:16:53","memberName":"mulDivRoundingUp","nodeType":"MemberAccess","referencedDeclaration":4635,"src":"3497:25:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":8266,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3497:60:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8267,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3558:9:53","memberName":"toUint160","nodeType":"MemberAccess","referencedDeclaration":8006,"src":"3497:70:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint160_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (uint160)"}},"id":8268,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3497:72:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"functionReturnParameters":8180,"id":8269,"nodeType":"Return","src":"3490:79:53"}]}]},"id":8272,"nodeType":"IfStatement","src":"1946:1648:53","trueBody":{"id":8247,"nodeType":"Block","src":"1955:615:53","statements":[{"id":8232,"nodeType":"UncheckedBlock","src":"1969:440:53","statements":[{"assignments":[8199],"declarations":[{"constant":false,"id":8199,"mutability":"mutable","name":"product","nameLocation":"2005:7:53","nodeType":"VariableDeclaration","scope":8232,"src":"1997:15:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8198,"name":"uint256","nodeType":"ElementaryTypeName","src":"1997:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8203,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8202,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8200,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8174,"src":"2015:6:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":8201,"name":"sqrtPX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8170,"src":"2024:8:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"2015:17:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1997:35:53"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8208,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8206,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8204,"name":"product","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8199,"src":"2054:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":8205,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8174,"src":"2064:6:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2054:16:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":8207,"name":"sqrtPX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8170,"src":"2074:8:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"2054:28:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8231,"nodeType":"IfStatement","src":"2050:345:53","trueBody":{"id":8230,"nodeType":"Block","src":"2084:311:53","statements":[{"assignments":[8210],"declarations":[{"constant":false,"id":8210,"mutability":"mutable","name":"denominator","nameLocation":"2114:11:53","nodeType":"VariableDeclaration","scope":8230,"src":"2106:19:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8209,"name":"uint256","nodeType":"ElementaryTypeName","src":"2106:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8214,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8213,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8211,"name":"numerator1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8188,"src":"2128:10:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":8212,"name":"product","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8199,"src":"2141:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2128:20:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2106:42:53"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8217,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8215,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8210,"src":"2174:11:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":8216,"name":"numerator1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8188,"src":"2189:10:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2174:25:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8229,"nodeType":"IfStatement","src":"2170:207:53","trueBody":{"id":8228,"nodeType":"Block","src":"2201:176:53","statements":[{"expression":{"arguments":[{"arguments":[{"id":8222,"name":"numerator1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8188,"src":"2319:10:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8223,"name":"sqrtPX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8170,"src":"2331:8:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":8224,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8210,"src":"2341:11:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":8220,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"2293:8:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":8221,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2302:16:53","memberName":"mulDivRoundingUp","nodeType":"MemberAccess","referencedDeclaration":4635,"src":"2293:25:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":8225,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2293:60:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8219,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2285:7:53","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":8218,"name":"uint160","nodeType":"ElementaryTypeName","src":"2285:7:53","typeDescriptions":{}}},"id":8226,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2285:69:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"functionReturnParameters":8180,"id":8227,"nodeType":"Return","src":"2278:76:53"}]}}]}}]},{"expression":{"arguments":[{"arguments":[{"id":8237,"name":"numerator1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8188,"src":"2513:10:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8243,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8240,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8238,"name":"numerator1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8188,"src":"2526:10:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":8239,"name":"sqrtPX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8170,"src":"2539:8:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"2526:21:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":8241,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2525:23:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":8242,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8174,"src":"2551:6:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2525:32:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":8235,"name":"UnsafeMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10497,"src":"2488:10:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnsafeMath_$10497_$","typeString":"type(library UnsafeMath)"}},"id":8236,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2499:13:53","memberName":"divRoundingUp","nodeType":"MemberAccess","referencedDeclaration":10482,"src":"2488:24:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":8244,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2488:70:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8234,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2480:7:53","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":8233,"name":"uint160","nodeType":"ElementaryTypeName","src":"2480:7:53","typeDescriptions":{}}},"id":8245,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2480:79:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"functionReturnParameters":8180,"id":8246,"nodeType":"Return","src":"2473:86:53"}]}}]},"documentation":{"id":8168,"nodeType":"StructuredDocumentation","src":"586:944:53","text":"@notice Gets the next sqrt price given a delta of currency0\n @dev Always rounds up, because in the exact output case (increasing price) we need to move the price at least\n far enough to get the desired output amount, and in the exact input case (decreasing price) we need to move the\n price less in order to not send too much output.\n The most precise formula for this is liquidity * sqrtPX96 / (liquidity +- amount * sqrtPX96),\n if this is impossible because of overflow, we calculate liquidity / (liquidity / sqrtPX96 +- amount).\n @param sqrtPX96 The starting price, i.e. before accounting for the currency0 delta\n @param liquidity The amount of usable liquidity\n @param amount How much of currency0 to add or remove from virtual reserves\n @param add Whether to add or remove the amount of currency0\n @return The price after adding or removing amount, depending on add"},"id":8274,"implemented":true,"kind":"function","modifiers":[],"name":"getNextSqrtPriceFromAmount0RoundingUp","nameLocation":"1544:37:53","nodeType":"FunctionDefinition","parameters":{"id":8177,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8170,"mutability":"mutable","name":"sqrtPX96","nameLocation":"1590:8:53","nodeType":"VariableDeclaration","scope":8274,"src":"1582:16:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8169,"name":"uint160","nodeType":"ElementaryTypeName","src":"1582:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8172,"mutability":"mutable","name":"liquidity","nameLocation":"1608:9:53","nodeType":"VariableDeclaration","scope":8274,"src":"1600:17:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8171,"name":"uint128","nodeType":"ElementaryTypeName","src":"1600:7:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":8174,"mutability":"mutable","name":"amount","nameLocation":"1627:6:53","nodeType":"VariableDeclaration","scope":8274,"src":"1619:14:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8173,"name":"uint256","nodeType":"ElementaryTypeName","src":"1619:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8176,"mutability":"mutable","name":"add","nameLocation":"1640:3:53","nodeType":"VariableDeclaration","scope":8274,"src":"1635:8:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8175,"name":"bool","nodeType":"ElementaryTypeName","src":"1635:4:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1581:63:53"},"returnParameters":{"id":8180,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8179,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8274,"src":"1692:7:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8178,"name":"uint160","nodeType":"ElementaryTypeName","src":"1692:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"1691:9:53"},"scope":8636,"src":"1535:2065:53","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8364,"nodeType":"Block","src":"4610:1278:53","statements":[{"condition":{"id":8288,"name":"add","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8283,"src":"4778:3:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":8362,"nodeType":"Block","src":"5101:781:53","statements":[{"assignments":[8327],"declarations":[{"constant":false,"id":8327,"mutability":"mutable","name":"quotient","nameLocation":"5123:8:53","nodeType":"VariableDeclaration","scope":8362,"src":"5115:16:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8326,"name":"uint256","nodeType":"ElementaryTypeName","src":"5115:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8352,"initialValue":{"components":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8334,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8328,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8281,"src":"5152:6:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"arguments":[{"id":8331,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5167:7:53","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":8330,"name":"uint160","nodeType":"ElementaryTypeName","src":"5167:7:53","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"}],"id":8329,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"5162:4:53","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":8332,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5162:13:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint160","typeString":"type(uint160)"}},"id":8333,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5176:3:53","memberName":"max","nodeType":"MemberAccess","src":"5162:17:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"5152:27:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":8345,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8281,"src":"5321:6:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":8346,"name":"FixedPoint96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4468,"src":"5329:12:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint96_$4468_$","typeString":"type(library FixedPoint96)"}},"id":8347,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5342:3:53","memberName":"Q96","nodeType":"MemberAccess","referencedDeclaration":4467,"src":"5329:16:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8348,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8279,"src":"5347:9:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"expression":{"id":8343,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"5295:8:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":8344,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5304:16:53","memberName":"mulDivRoundingUp","nodeType":"MemberAccess","referencedDeclaration":4635,"src":"5295:25:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":8349,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5295:62:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8350,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"5152:205:53","trueExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8340,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8337,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8281,"src":"5227:6:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"expression":{"id":8338,"name":"FixedPoint96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4468,"src":"5237:12:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint96_$4468_$","typeString":"type(library FixedPoint96)"}},"id":8339,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5250:10:53","memberName":"RESOLUTION","nodeType":"MemberAccess","referencedDeclaration":4464,"src":"5237:23:53","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"5227:33:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8341,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8279,"src":"5262:9:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"expression":{"id":8335,"name":"UnsafeMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10497,"src":"5202:10:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnsafeMath_$10497_$","typeString":"type(library UnsafeMath)"}},"id":8336,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5213:13:53","memberName":"divRoundingUp","nodeType":"MemberAccess","referencedDeclaration":10482,"src":"5202:24:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":8342,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5202:70:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":8351,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5134:237:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5115:256:53"},{"AST":{"nativeSrc":"5493:252:53","nodeType":"YulBlock","src":"5493:252:53","statements":[{"body":{"nativeSrc":"5594:137:53","nodeType":"YulBlock","src":"5594:137:53","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"5623:1:53","nodeType":"YulLiteral","src":"5623:1:53","type":"","value":"0"},{"kind":"number","nativeSrc":"5626:10:53","nodeType":"YulLiteral","src":"5626:10:53","type":"","value":"0x4323a555"}],"functionName":{"name":"mstore","nativeSrc":"5616:6:53","nodeType":"YulIdentifier","src":"5616:6:53"},"nativeSrc":"5616:21:53","nodeType":"YulFunctionCall","src":"5616:21:53"},"nativeSrc":"5616:21:53","nodeType":"YulExpressionStatement","src":"5616:21:53"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"5702:4:53","nodeType":"YulLiteral","src":"5702:4:53","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"5708:4:53","nodeType":"YulLiteral","src":"5708:4:53","type":"","value":"0x04"}],"functionName":{"name":"revert","nativeSrc":"5695:6:53","nodeType":"YulIdentifier","src":"5695:6:53"},"nativeSrc":"5695:18:53","nodeType":"YulFunctionCall","src":"5695:18:53"},"nativeSrc":"5695:18:53","nodeType":"YulExpressionStatement","src":"5695:18:53"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"sqrtPX96","nativeSrc":"5528:8:53","nodeType":"YulIdentifier","src":"5528:8:53"},{"kind":"number","nativeSrc":"5538:42:53","nodeType":"YulLiteral","src":"5538:42:53","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"5524:3:53","nodeType":"YulIdentifier","src":"5524:3:53"},"nativeSrc":"5524:57:53","nodeType":"YulFunctionCall","src":"5524:57:53"},{"name":"quotient","nativeSrc":"5583:8:53","nodeType":"YulIdentifier","src":"5583:8:53"}],"functionName":{"name":"gt","nativeSrc":"5521:2:53","nodeType":"YulIdentifier","src":"5521:2:53"},"nativeSrc":"5521:71:53","nodeType":"YulFunctionCall","src":"5521:71:53"}],"functionName":{"name":"iszero","nativeSrc":"5514:6:53","nodeType":"YulIdentifier","src":"5514:6:53"},"nativeSrc":"5514:79:53","nodeType":"YulFunctionCall","src":"5514:79:53"},"nativeSrc":"5511:220:53","nodeType":"YulIf","src":"5511:220:53"}]},"evmVersion":"cancun","externalReferences":[{"declaration":8327,"isOffset":false,"isSlot":false,"src":"5583:8:53","valueSize":1},{"declaration":8277,"isOffset":false,"isSlot":false,"src":"5528:8:53","valueSize":1}],"flags":["memory-safe"],"id":8353,"nodeType":"InlineAssembly","src":"5468:277:53"},{"id":8361,"nodeType":"UncheckedBlock","src":"5794:78:53","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8358,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8356,"name":"sqrtPX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8277,"src":"5837:8:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":8357,"name":"quotient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8327,"src":"5848:8:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5837:19:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8355,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5829:7:53","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":8354,"name":"uint160","nodeType":"ElementaryTypeName","src":"5829:7:53","typeDescriptions":{}}},"id":8359,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5829:28:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"functionReturnParameters":8287,"id":8360,"nodeType":"Return","src":"5822:35:53"}]}]},"id":8363,"nodeType":"IfStatement","src":"4774:1108:53","trueBody":{"id":8325,"nodeType":"Block","src":"4783:312:53","statements":[{"assignments":[8290],"declarations":[{"constant":false,"id":8290,"mutability":"mutable","name":"quotient","nameLocation":"4805:8:53","nodeType":"VariableDeclaration","scope":8325,"src":"4797:16:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8289,"name":"uint256","nodeType":"ElementaryTypeName","src":"4797:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8314,"initialValue":{"components":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8297,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8291,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8281,"src":"4834:6:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"arguments":[{"id":8294,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4849:7:53","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":8293,"name":"uint160","nodeType":"ElementaryTypeName","src":"4849:7:53","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"}],"id":8292,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"4844:4:53","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":8295,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4844:13:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint160","typeString":"type(uint160)"}},"id":8296,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4858:3:53","memberName":"max","nodeType":"MemberAccess","src":"4844:17:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"4834:27:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":8307,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8281,"src":"4970:6:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":8308,"name":"FixedPoint96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4468,"src":"4978:12:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint96_$4468_$","typeString":"type(library FixedPoint96)"}},"id":8309,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4991:3:53","memberName":"Q96","nodeType":"MemberAccess","referencedDeclaration":4467,"src":"4978:16:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8310,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8279,"src":"4996:9:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"expression":{"id":8305,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"4954:8:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":8306,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4963:6:53","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":4597,"src":"4954:15:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":8311,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4954:52:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8312,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"4834:172:53","trueExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8304,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8301,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8298,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8281,"src":"4885:6:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"expression":{"id":8299,"name":"FixedPoint96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4468,"src":"4895:12:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint96_$4468_$","typeString":"type(library FixedPoint96)"}},"id":8300,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4908:10:53","memberName":"RESOLUTION","nodeType":"MemberAccess","referencedDeclaration":4464,"src":"4895:23:53","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4885:33:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":8302,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4884:35:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":8303,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8279,"src":"4922:9:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"4884:47:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":8313,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4816:204:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4797:223:53"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8320,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":8317,"name":"sqrtPX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8277,"src":"5051:8:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":8316,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5043:7:53","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8315,"name":"uint256","nodeType":"ElementaryTypeName","src":"5043:7:53","typeDescriptions":{}}},"id":8318,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5043:17:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":8319,"name":"quotient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8290,"src":"5063:8:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5043:28:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":8321,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5042:30:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8322,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5073:9:53","memberName":"toUint160","nodeType":"MemberAccess","referencedDeclaration":8006,"src":"5042:40:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint160_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (uint160)"}},"id":8323,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5042:42:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"functionReturnParameters":8287,"id":8324,"nodeType":"Return","src":"5035:49:53"}]}}]},"documentation":{"id":8275,"nodeType":"StructuredDocumentation","src":"3606:827:53","text":"@notice Gets the next sqrt price given a delta of currency1\n @dev Always rounds down, because in the exact output case (decreasing price) we need to move the price at least\n far enough to get the desired output amount, and in the exact input case (increasing price) we need to move the\n price less in order to not send too much output.\n The formula we compute is within <1 wei of the lossless version: sqrtPX96 +- amount / liquidity\n @param sqrtPX96 The starting price, i.e., before accounting for the currency1 delta\n @param liquidity The amount of usable liquidity\n @param amount How much of currency1 to add, or remove, from virtual reserves\n @param add Whether to add, or remove, the amount of currency1\n @return The price after adding or removing `amount`"},"id":8365,"implemented":true,"kind":"function","modifiers":[],"name":"getNextSqrtPriceFromAmount1RoundingDown","nameLocation":"4447:39:53","nodeType":"FunctionDefinition","parameters":{"id":8284,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8277,"mutability":"mutable","name":"sqrtPX96","nameLocation":"4495:8:53","nodeType":"VariableDeclaration","scope":8365,"src":"4487:16:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8276,"name":"uint160","nodeType":"ElementaryTypeName","src":"4487:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8279,"mutability":"mutable","name":"liquidity","nameLocation":"4513:9:53","nodeType":"VariableDeclaration","scope":8365,"src":"4505:17:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8278,"name":"uint128","nodeType":"ElementaryTypeName","src":"4505:7:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":8281,"mutability":"mutable","name":"amount","nameLocation":"4532:6:53","nodeType":"VariableDeclaration","scope":8365,"src":"4524:14:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8280,"name":"uint256","nodeType":"ElementaryTypeName","src":"4524:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8283,"mutability":"mutable","name":"add","nameLocation":"4545:3:53","nodeType":"VariableDeclaration","scope":8365,"src":"4540:8:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8282,"name":"bool","nodeType":"ElementaryTypeName","src":"4540:4:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4486:63:53"},"returnParameters":{"id":8287,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8286,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8365,"src":"4597:7:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8285,"name":"uint160","nodeType":"ElementaryTypeName","src":"4597:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"4596:9:53"},"scope":8636,"src":"4438:1450:53","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8395,"nodeType":"Block","src":"6627:742:53","statements":[{"AST":{"nativeSrc":"6756:333:53","nodeType":"YulBlock","src":"6756:333:53","statements":[{"body":{"nativeSrc":"6949:130:53","nodeType":"YulBlock","src":"6949:130:53","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"6974:1:53","nodeType":"YulLiteral","src":"6974:1:53","type":"","value":"0"},{"kind":"number","nativeSrc":"6977:10:53","nodeType":"YulLiteral","src":"6977:10:53","type":"","value":"0x4f2461b8"}],"functionName":{"name":"mstore","nativeSrc":"6967:6:53","nodeType":"YulIdentifier","src":"6967:6:53"},"nativeSrc":"6967:21:53","nodeType":"YulFunctionCall","src":"6967:21:53"},"nativeSrc":"6967:21:53","nodeType":"YulExpressionStatement","src":"6967:21:53"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"7054:4:53","nodeType":"YulLiteral","src":"7054:4:53","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"7060:4:53","nodeType":"YulLiteral","src":"7060:4:53","type":"","value":"0x04"}],"functionName":{"name":"revert","nativeSrc":"7047:6:53","nodeType":"YulIdentifier","src":"7047:6:53"},"nativeSrc":"7047:18:53","nodeType":"YulFunctionCall","src":"7047:18:53"},"nativeSrc":"7047:18:53","nodeType":"YulExpressionStatement","src":"7047:18:53"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"sqrtPX96","nativeSrc":"6804:8:53","nodeType":"YulIdentifier","src":"6804:8:53"},{"kind":"number","nativeSrc":"6814:42:53","nodeType":"YulLiteral","src":"6814:42:53","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"6800:3:53","nodeType":"YulIdentifier","src":"6800:3:53"},"nativeSrc":"6800:57:53","nodeType":"YulFunctionCall","src":"6800:57:53"}],"functionName":{"name":"iszero","nativeSrc":"6793:6:53","nodeType":"YulIdentifier","src":"6793:6:53"},"nativeSrc":"6793:65:53","nodeType":"YulFunctionCall","src":"6793:65:53"},{"arguments":[{"arguments":[{"name":"liquidity","nativeSrc":"6887:9:53","nodeType":"YulIdentifier","src":"6887:9:53"},{"kind":"number","nativeSrc":"6898:34:53","nodeType":"YulLiteral","src":"6898:34:53","type":"","value":"0xffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"6883:3:53","nodeType":"YulIdentifier","src":"6883:3:53"},"nativeSrc":"6883:50:53","nodeType":"YulFunctionCall","src":"6883:50:53"}],"functionName":{"name":"iszero","nativeSrc":"6876:6:53","nodeType":"YulIdentifier","src":"6876:6:53"},"nativeSrc":"6876:58:53","nodeType":"YulFunctionCall","src":"6876:58:53"}],"functionName":{"name":"or","nativeSrc":"6773:2:53","nodeType":"YulIdentifier","src":"6773:2:53"},"nativeSrc":"6773:175:53","nodeType":"YulFunctionCall","src":"6773:175:53"},"nativeSrc":"6770:309:53","nodeType":"YulIf","src":"6770:309:53"}]},"evmVersion":"cancun","externalReferences":[{"declaration":8370,"isOffset":false,"isSlot":false,"src":"6887:9:53","valueSize":1},{"declaration":8368,"isOffset":false,"isSlot":false,"src":"6804:8:53","valueSize":1}],"flags":["memory-safe"],"id":8379,"nodeType":"InlineAssembly","src":"6731:358:53"},{"expression":{"condition":{"id":8380,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8374,"src":"7172:10:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":8388,"name":"sqrtPX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8368,"src":"7326:8:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":8389,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8370,"src":"7336:9:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":8390,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8372,"src":"7347:8:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"74727565","id":8391,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"7357:4:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":8387,"name":"getNextSqrtPriceFromAmount1RoundingDown","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8365,"src":"7286:39:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint128_$_t_uint256_$_t_bool_$returns$_t_uint160_$","typeString":"function (uint160,uint128,uint256,bool) pure returns (uint160)"}},"id":8392,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7286:76:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":8393,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"7172:190:53","trueExpression":{"arguments":[{"id":8382,"name":"sqrtPX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8368,"src":"7235:8:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":8383,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8370,"src":"7245:9:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":8384,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8372,"src":"7256:8:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"74727565","id":8385,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"7266:4:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":8381,"name":"getNextSqrtPriceFromAmount0RoundingUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8274,"src":"7197:37:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint128_$_t_uint256_$_t_bool_$returns$_t_uint160_$","typeString":"function (uint160,uint128,uint256,bool) pure returns (uint160)"}},"id":8386,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7197:74:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"functionReturnParameters":8378,"id":8394,"nodeType":"Return","src":"7165:197:53"}]},"documentation":{"id":8366,"nodeType":"StructuredDocumentation","src":"5894:561:53","text":"@notice Gets the next sqrt price given an input amount of currency0 or currency1\n @dev Throws if price or liquidity are 0, or if the next price is out of bounds\n @param sqrtPX96 The starting price, i.e., before accounting for the input amount\n @param liquidity The amount of usable liquidity\n @param amountIn How much of currency0, or currency1, is being swapped in\n @param zeroForOne Whether the amount in is currency0 or currency1\n @return uint160 The price after adding the input amount to currency0 or currency1"},"id":8396,"implemented":true,"kind":"function","modifiers":[],"name":"getNextSqrtPriceFromInput","nameLocation":"6469:25:53","nodeType":"FunctionDefinition","parameters":{"id":8375,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8368,"mutability":"mutable","name":"sqrtPX96","nameLocation":"6503:8:53","nodeType":"VariableDeclaration","scope":8396,"src":"6495:16:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8367,"name":"uint160","nodeType":"ElementaryTypeName","src":"6495:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8370,"mutability":"mutable","name":"liquidity","nameLocation":"6521:9:53","nodeType":"VariableDeclaration","scope":8396,"src":"6513:17:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8369,"name":"uint128","nodeType":"ElementaryTypeName","src":"6513:7:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":8372,"mutability":"mutable","name":"amountIn","nameLocation":"6540:8:53","nodeType":"VariableDeclaration","scope":8396,"src":"6532:16:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8371,"name":"uint256","nodeType":"ElementaryTypeName","src":"6532:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8374,"mutability":"mutable","name":"zeroForOne","nameLocation":"6555:10:53","nodeType":"VariableDeclaration","scope":8396,"src":"6550:15:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8373,"name":"bool","nodeType":"ElementaryTypeName","src":"6550:4:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"6494:72:53"},"returnParameters":{"id":8378,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8377,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8396,"src":"6614:7:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8376,"name":"uint160","nodeType":"ElementaryTypeName","src":"6614:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"6613:9:53"},"scope":8636,"src":"6460:909:53","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8426,"nodeType":"Block","src":"8107:740:53","statements":[{"AST":{"nativeSrc":"8236:333:53","nodeType":"YulBlock","src":"8236:333:53","statements":[{"body":{"nativeSrc":"8429:130:53","nodeType":"YulBlock","src":"8429:130:53","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"8454:1:53","nodeType":"YulLiteral","src":"8454:1:53","type":"","value":"0"},{"kind":"number","nativeSrc":"8457:10:53","nodeType":"YulLiteral","src":"8457:10:53","type":"","value":"0x4f2461b8"}],"functionName":{"name":"mstore","nativeSrc":"8447:6:53","nodeType":"YulIdentifier","src":"8447:6:53"},"nativeSrc":"8447:21:53","nodeType":"YulFunctionCall","src":"8447:21:53"},"nativeSrc":"8447:21:53","nodeType":"YulExpressionStatement","src":"8447:21:53"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"8534:4:53","nodeType":"YulLiteral","src":"8534:4:53","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"8540:4:53","nodeType":"YulLiteral","src":"8540:4:53","type":"","value":"0x04"}],"functionName":{"name":"revert","nativeSrc":"8527:6:53","nodeType":"YulIdentifier","src":"8527:6:53"},"nativeSrc":"8527:18:53","nodeType":"YulFunctionCall","src":"8527:18:53"},"nativeSrc":"8527:18:53","nodeType":"YulExpressionStatement","src":"8527:18:53"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"sqrtPX96","nativeSrc":"8284:8:53","nodeType":"YulIdentifier","src":"8284:8:53"},{"kind":"number","nativeSrc":"8294:42:53","nodeType":"YulLiteral","src":"8294:42:53","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"8280:3:53","nodeType":"YulIdentifier","src":"8280:3:53"},"nativeSrc":"8280:57:53","nodeType":"YulFunctionCall","src":"8280:57:53"}],"functionName":{"name":"iszero","nativeSrc":"8273:6:53","nodeType":"YulIdentifier","src":"8273:6:53"},"nativeSrc":"8273:65:53","nodeType":"YulFunctionCall","src":"8273:65:53"},{"arguments":[{"arguments":[{"name":"liquidity","nativeSrc":"8367:9:53","nodeType":"YulIdentifier","src":"8367:9:53"},{"kind":"number","nativeSrc":"8378:34:53","nodeType":"YulLiteral","src":"8378:34:53","type":"","value":"0xffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"8363:3:53","nodeType":"YulIdentifier","src":"8363:3:53"},"nativeSrc":"8363:50:53","nodeType":"YulFunctionCall","src":"8363:50:53"}],"functionName":{"name":"iszero","nativeSrc":"8356:6:53","nodeType":"YulIdentifier","src":"8356:6:53"},"nativeSrc":"8356:58:53","nodeType":"YulFunctionCall","src":"8356:58:53"}],"functionName":{"name":"or","nativeSrc":"8253:2:53","nodeType":"YulIdentifier","src":"8253:2:53"},"nativeSrc":"8253:175:53","nodeType":"YulFunctionCall","src":"8253:175:53"},"nativeSrc":"8250:309:53","nodeType":"YulIf","src":"8250:309:53"}]},"evmVersion":"cancun","externalReferences":[{"declaration":8401,"isOffset":false,"isSlot":false,"src":"8367:9:53","valueSize":1},{"declaration":8399,"isOffset":false,"isSlot":false,"src":"8284:8:53","valueSize":1}],"flags":["memory-safe"],"id":8410,"nodeType":"InlineAssembly","src":"8211:358:53"},{"expression":{"condition":{"id":8411,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8405,"src":"8646:10:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":8419,"name":"sqrtPX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8399,"src":"8802:8:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":8420,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8401,"src":"8812:9:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":8421,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8403,"src":"8823:9:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"66616c7365","id":8422,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"8834:5:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":8418,"name":"getNextSqrtPriceFromAmount0RoundingUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8274,"src":"8764:37:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint128_$_t_uint256_$_t_bool_$returns$_t_uint160_$","typeString":"function (uint160,uint128,uint256,bool) pure returns (uint160)"}},"id":8423,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8764:76:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":8424,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"8646:194:53","trueExpression":{"arguments":[{"id":8413,"name":"sqrtPX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8399,"src":"8711:8:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":8414,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8401,"src":"8721:9:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":8415,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8403,"src":"8732:9:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"66616c7365","id":8416,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"8743:5:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":8412,"name":"getNextSqrtPriceFromAmount1RoundingDown","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8365,"src":"8671:39:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint128_$_t_uint256_$_t_bool_$returns$_t_uint160_$","typeString":"function (uint160,uint128,uint256,bool) pure returns (uint160)"}},"id":8417,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8671:78:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"functionReturnParameters":8409,"id":8425,"nodeType":"Return","src":"8639:201:53"}]},"documentation":{"id":8397,"nodeType":"StructuredDocumentation","src":"7375:558:53","text":"@notice Gets the next sqrt price given an output amount of currency0 or currency1\n @dev Throws if price or liquidity are 0 or the next price is out of bounds\n @param sqrtPX96 The starting price before accounting for the output amount\n @param liquidity The amount of usable liquidity\n @param amountOut How much of currency0, or currency1, is being swapped out\n @param zeroForOne Whether the amount out is currency1 or currency0\n @return uint160 The price after removing the output amount of currency0 or currency1"},"id":8427,"implemented":true,"kind":"function","modifiers":[],"name":"getNextSqrtPriceFromOutput","nameLocation":"7947:26:53","nodeType":"FunctionDefinition","parameters":{"id":8406,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8399,"mutability":"mutable","name":"sqrtPX96","nameLocation":"7982:8:53","nodeType":"VariableDeclaration","scope":8427,"src":"7974:16:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8398,"name":"uint160","nodeType":"ElementaryTypeName","src":"7974:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8401,"mutability":"mutable","name":"liquidity","nameLocation":"8000:9:53","nodeType":"VariableDeclaration","scope":8427,"src":"7992:17:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8400,"name":"uint128","nodeType":"ElementaryTypeName","src":"7992:7:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":8403,"mutability":"mutable","name":"amountOut","nameLocation":"8019:9:53","nodeType":"VariableDeclaration","scope":8427,"src":"8011:17:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8402,"name":"uint256","nodeType":"ElementaryTypeName","src":"8011:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8405,"mutability":"mutable","name":"zeroForOne","nameLocation":"8035:10:53","nodeType":"VariableDeclaration","scope":8427,"src":"8030:15:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8404,"name":"bool","nodeType":"ElementaryTypeName","src":"8030:4:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"7973:73:53"},"returnParameters":{"id":8409,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8408,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8427,"src":"8094:7:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8407,"name":"uint160","nodeType":"ElementaryTypeName","src":"8094:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"8093:9:53"},"scope":8636,"src":"7938:909:53","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8492,"nodeType":"Block","src":"9562:886:53","statements":[{"id":8491,"nodeType":"UncheckedBlock","src":"9572:870:53","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":8443,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8441,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8430,"src":"9600:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":8442,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8432,"src":"9616:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"9600:29:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8452,"nodeType":"IfStatement","src":"9596:98:53","trueBody":{"expression":{"id":8450,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":8444,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8430,"src":"9632:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":8445,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8432,"src":"9647:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":8446,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"9631:30:53","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_uint160_$","typeString":"tuple(uint160,uint160)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":8447,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8432,"src":"9665:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":8448,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8430,"src":"9680:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":8449,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9664:30:53","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_uint160_$","typeString":"tuple(uint160,uint160)"}},"src":"9631:63:53","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8451,"nodeType":"ExpressionStatement","src":"9631:63:53"}},{"AST":{"nativeSrc":"9808:237:53","nodeType":"YulBlock","src":"9808:237:53","statements":[{"body":{"nativeSrc":"9900:131:53","nodeType":"YulBlock","src":"9900:131:53","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"9929:1:53","nodeType":"YulLiteral","src":"9929:1:53","type":"","value":"0"},{"kind":"number","nativeSrc":"9932:10:53","nodeType":"YulLiteral","src":"9932:10:53","type":"","value":"0x00bfc921"}],"functionName":{"name":"mstore","nativeSrc":"9922:6:53","nodeType":"YulIdentifier","src":"9922:6:53"},"nativeSrc":"9922:21:53","nodeType":"YulFunctionCall","src":"9922:21:53"},"nativeSrc":"9922:21:53","nodeType":"YulExpressionStatement","src":"9922:21:53"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"10002:4:53","nodeType":"YulLiteral","src":"10002:4:53","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"10008:4:53","nodeType":"YulLiteral","src":"10008:4:53","type":"","value":"0x04"}],"functionName":{"name":"revert","nativeSrc":"9995:6:53","nodeType":"YulIdentifier","src":"9995:6:53"},"nativeSrc":"9995:18:53","nodeType":"YulFunctionCall","src":"9995:18:53"},"nativeSrc":"9995:18:53","nodeType":"YulExpressionStatement","src":"9995:18:53"}]},"condition":{"arguments":[{"arguments":[{"name":"sqrtPriceAX96","nativeSrc":"9840:13:53","nodeType":"YulIdentifier","src":"9840:13:53"},{"kind":"number","nativeSrc":"9855:42:53","nodeType":"YulLiteral","src":"9855:42:53","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"9836:3:53","nodeType":"YulIdentifier","src":"9836:3:53"},"nativeSrc":"9836:62:53","nodeType":"YulFunctionCall","src":"9836:62:53"}],"functionName":{"name":"iszero","nativeSrc":"9829:6:53","nodeType":"YulIdentifier","src":"9829:6:53"},"nativeSrc":"9829:70:53","nodeType":"YulFunctionCall","src":"9829:70:53"},"nativeSrc":"9826:205:53","nodeType":"YulIf","src":"9826:205:53"}]},"evmVersion":"cancun","externalReferences":[{"declaration":8430,"isOffset":false,"isSlot":false,"src":"9840:13:53","valueSize":1}],"flags":["memory-safe"],"id":8453,"nodeType":"InlineAssembly","src":"9783:262:53"},{"assignments":[8455],"declarations":[{"constant":false,"id":8455,"mutability":"mutable","name":"numerator1","nameLocation":"10067:10:53","nodeType":"VariableDeclaration","scope":8491,"src":"10059:18:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8454,"name":"uint256","nodeType":"ElementaryTypeName","src":"10059:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8463,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8462,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":8458,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8434,"src":"10088:9:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":8457,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10080:7:53","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8456,"name":"uint256","nodeType":"ElementaryTypeName","src":"10080:7:53","typeDescriptions":{}}},"id":8459,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10080:18:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"expression":{"id":8460,"name":"FixedPoint96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4468,"src":"10102:12:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint96_$4468_$","typeString":"type(library FixedPoint96)"}},"id":8461,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10115:10:53","memberName":"RESOLUTION","nodeType":"MemberAccess","referencedDeclaration":4464,"src":"10102:23:53","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"10080:45:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"10059:66:53"},{"assignments":[8465],"declarations":[{"constant":false,"id":8465,"mutability":"mutable","name":"numerator2","nameLocation":"10147:10:53","nodeType":"VariableDeclaration","scope":8491,"src":"10139:18:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8464,"name":"uint256","nodeType":"ElementaryTypeName","src":"10139:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8469,"initialValue":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":8468,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8466,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8432,"src":"10160:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":8467,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8430,"src":"10176:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"10160:29:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"VariableDeclarationStatement","src":"10139:50:53"},{"expression":{"condition":{"id":8470,"name":"roundUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8436,"src":"10211:7:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8488,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":8483,"name":"numerator1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8455,"src":"10377:10:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8484,"name":"numerator2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8465,"src":"10389:10:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8485,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8432,"src":"10401:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":8481,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"10361:8:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":8482,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10370:6:53","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":4597,"src":"10361:15:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":8486,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10361:54:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":8487,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8430,"src":"10418:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"10361:70:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8489,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"10211:220:53","trueExpression":{"arguments":[{"arguments":[{"id":8475,"name":"numerator1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8455,"src":"10288:10:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8476,"name":"numerator2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8465,"src":"10300:10:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8477,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8432,"src":"10312:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":8473,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"10262:8:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":8474,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10271:16:53","memberName":"mulDivRoundingUp","nodeType":"MemberAccess","referencedDeclaration":4635,"src":"10262:25:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":8478,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10262:64:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8479,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8430,"src":"10328:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":8471,"name":"UnsafeMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10497,"src":"10237:10:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UnsafeMath_$10497_$","typeString":"type(library UnsafeMath)"}},"id":8472,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10248:13:53","memberName":"divRoundingUp","nodeType":"MemberAccess","referencedDeclaration":10482,"src":"10237:24:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":8480,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10237:105:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":8440,"id":8490,"nodeType":"Return","src":"10204:227:53"}]}]},"documentation":{"id":8428,"nodeType":"StructuredDocumentation","src":"8853:540:53","text":"@notice Gets the amount0 delta between two prices\n @dev Calculates liquidity / sqrt(lower) - liquidity / sqrt(upper),\n i.e. liquidity * (sqrt(upper) - sqrt(lower)) / (sqrt(upper) * sqrt(lower))\n @param sqrtPriceAX96 A sqrt price\n @param sqrtPriceBX96 Another sqrt price\n @param liquidity The amount of usable liquidity\n @param roundUp Whether to round the amount up or down\n @return uint256 Amount of currency0 required to cover a position of size liquidity between the two passed prices"},"id":8493,"implemented":true,"kind":"function","modifiers":[],"name":"getAmount0Delta","nameLocation":"9407:15:53","nodeType":"FunctionDefinition","parameters":{"id":8437,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8430,"mutability":"mutable","name":"sqrtPriceAX96","nameLocation":"9431:13:53","nodeType":"VariableDeclaration","scope":8493,"src":"9423:21:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8429,"name":"uint160","nodeType":"ElementaryTypeName","src":"9423:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8432,"mutability":"mutable","name":"sqrtPriceBX96","nameLocation":"9454:13:53","nodeType":"VariableDeclaration","scope":8493,"src":"9446:21:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8431,"name":"uint160","nodeType":"ElementaryTypeName","src":"9446:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8434,"mutability":"mutable","name":"liquidity","nameLocation":"9477:9:53","nodeType":"VariableDeclaration","scope":8493,"src":"9469:17:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8433,"name":"uint128","nodeType":"ElementaryTypeName","src":"9469:7:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":8436,"mutability":"mutable","name":"roundUp","nameLocation":"9493:7:53","nodeType":"VariableDeclaration","scope":8493,"src":"9488:12:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8435,"name":"bool","nodeType":"ElementaryTypeName","src":"9488:4:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"9422:79:53"},"returnParameters":{"id":8440,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8439,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8493,"src":"9549:7:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8438,"name":"uint256","nodeType":"ElementaryTypeName","src":"9549:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9548:9:53"},"scope":8636,"src":"9398:1050:53","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8504,"nodeType":"Block","src":"10585:546:53","statements":[{"AST":{"nativeSrc":"10620:505:53","nodeType":"YulBlock","src":"10620:505:53","statements":[{"nativeSrc":"10634:135:53","nodeType":"YulVariableDeclaration","src":"10634:135:53","value":{"arguments":[{"arguments":[{"name":"a","nativeSrc":"10670:1:53","nodeType":"YulIdentifier","src":"10670:1:53"},{"kind":"number","nativeSrc":"10673:42:53","nodeType":"YulLiteral","src":"10673:42:53","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"10666:3:53","nodeType":"YulIdentifier","src":"10666:3:53"},"nativeSrc":"10666:50:53","nodeType":"YulFunctionCall","src":"10666:50:53"},{"arguments":[{"name":"b","nativeSrc":"10722:1:53","nodeType":"YulIdentifier","src":"10722:1:53"},{"kind":"number","nativeSrc":"10725:42:53","nodeType":"YulLiteral","src":"10725:42:53","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"10718:3:53","nodeType":"YulIdentifier","src":"10718:3:53"},"nativeSrc":"10718:50:53","nodeType":"YulFunctionCall","src":"10718:50:53"}],"functionName":{"name":"sub","nativeSrc":"10662:3:53","nodeType":"YulIdentifier","src":"10662:3:53"},"nativeSrc":"10662:107:53","nodeType":"YulFunctionCall","src":"10662:107:53"},"variables":[{"name":"diff","nativeSrc":"10638:4:53","nodeType":"YulTypedName","src":"10638:4:53","type":""}]},{"nativeSrc":"10833:26:53","nodeType":"YulVariableDeclaration","src":"10833:26:53","value":{"arguments":[{"kind":"number","nativeSrc":"10849:3:53","nodeType":"YulLiteral","src":"10849:3:53","type":"","value":"255"},{"name":"diff","nativeSrc":"10854:4:53","nodeType":"YulIdentifier","src":"10854:4:53"}],"functionName":{"name":"sar","nativeSrc":"10845:3:53","nodeType":"YulIdentifier","src":"10845:3:53"},"nativeSrc":"10845:14:53","nodeType":"YulFunctionCall","src":"10845:14:53"},"variables":[{"name":"mask","nativeSrc":"10837:4:53","nodeType":"YulTypedName","src":"10837:4:53","type":""}]},{"nativeSrc":"11082:33:53","nodeType":"YulAssignment","src":"11082:33:53","value":{"arguments":[{"name":"mask","nativeSrc":"11093:4:53","nodeType":"YulIdentifier","src":"11093:4:53"},{"arguments":[{"name":"mask","nativeSrc":"11103:4:53","nodeType":"YulIdentifier","src":"11103:4:53"},{"name":"diff","nativeSrc":"11109:4:53","nodeType":"YulIdentifier","src":"11109:4:53"}],"functionName":{"name":"add","nativeSrc":"11099:3:53","nodeType":"YulIdentifier","src":"11099:3:53"},"nativeSrc":"11099:15:53","nodeType":"YulFunctionCall","src":"11099:15:53"}],"functionName":{"name":"xor","nativeSrc":"11089:3:53","nodeType":"YulIdentifier","src":"11089:3:53"},"nativeSrc":"11089:26:53","nodeType":"YulFunctionCall","src":"11089:26:53"},"variableNames":[{"name":"res","nativeSrc":"11082:3:53","nodeType":"YulIdentifier","src":"11082:3:53"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":8496,"isOffset":false,"isSlot":false,"src":"10670:1:53","valueSize":1},{"declaration":8498,"isOffset":false,"isSlot":false,"src":"10722:1:53","valueSize":1},{"declaration":8501,"isOffset":false,"isSlot":false,"src":"11082:3:53","valueSize":1}],"flags":["memory-safe"],"id":8503,"nodeType":"InlineAssembly","src":"10595:530:53"}]},"documentation":{"id":8494,"nodeType":"StructuredDocumentation","src":"10454:51:53","text":"@notice Equivalent to: `a >= b ? a - b : b - a`"},"id":8505,"implemented":true,"kind":"function","modifiers":[],"name":"absDiff","nameLocation":"10519:7:53","nodeType":"FunctionDefinition","parameters":{"id":8499,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8496,"mutability":"mutable","name":"a","nameLocation":"10535:1:53","nodeType":"VariableDeclaration","scope":8505,"src":"10527:9:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8495,"name":"uint160","nodeType":"ElementaryTypeName","src":"10527:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8498,"mutability":"mutable","name":"b","nameLocation":"10546:1:53","nodeType":"VariableDeclaration","scope":8505,"src":"10538:9:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8497,"name":"uint160","nodeType":"ElementaryTypeName","src":"10538:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"10526:22:53"},"returnParameters":{"id":8502,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8501,"mutability":"mutable","name":"res","nameLocation":"10580:3:53","nodeType":"VariableDeclaration","scope":8505,"src":"10572:11:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8500,"name":"uint256","nodeType":"ElementaryTypeName","src":"10572:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10571:13:53"},"scope":8636,"src":"10510:621:53","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8548,"nodeType":"Block","src":"11761:766:53","statements":[{"assignments":[8520],"declarations":[{"constant":false,"id":8520,"mutability":"mutable","name":"numerator","nameLocation":"11779:9:53","nodeType":"VariableDeclaration","scope":8548,"src":"11771:17:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8519,"name":"uint256","nodeType":"ElementaryTypeName","src":"11771:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8525,"initialValue":{"arguments":[{"id":8522,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8508,"src":"11799:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":8523,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8510,"src":"11814:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":8521,"name":"absDiff","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8505,"src":"11791:7:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$returns$_t_uint256_$","typeString":"function (uint160,uint160) pure returns (uint256)"}},"id":8524,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11791:37:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"11771:57:53"},{"assignments":[8527],"declarations":[{"constant":false,"id":8527,"mutability":"mutable","name":"denominator","nameLocation":"11846:11:53","nodeType":"VariableDeclaration","scope":8548,"src":"11838:19:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8526,"name":"uint256","nodeType":"ElementaryTypeName","src":"11838:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8530,"initialValue":{"expression":{"id":8528,"name":"FixedPoint96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4468,"src":"11860:12:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint96_$4468_$","typeString":"type(library FixedPoint96)"}},"id":8529,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11873:3:53","memberName":"Q96","nodeType":"MemberAccess","referencedDeclaration":4467,"src":"11860:16:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"11838:38:53"},{"assignments":[8532],"declarations":[{"constant":false,"id":8532,"mutability":"mutable","name":"_liquidity","nameLocation":"11894:10:53","nodeType":"VariableDeclaration","scope":8548,"src":"11886:18:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8531,"name":"uint256","nodeType":"ElementaryTypeName","src":"11886:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":8537,"initialValue":{"arguments":[{"id":8535,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8512,"src":"11915:9:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":8534,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11907:7:53","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8533,"name":"uint256","nodeType":"ElementaryTypeName","src":"11907:7:53","typeDescriptions":{}}},"id":8536,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11907:18:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"11886:39:53"},{"documentation":" Equivalent to:\n   amount1 = roundUp\n       ? FullMath.mulDivRoundingUp(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96)\n       : FullMath.mulDiv(liquidity, sqrtPriceBX96 - sqrtPriceAX96, FixedPoint96.Q96);\n Cannot overflow because `type(uint128).max * type(uint160).max >> 96 < (1 << 192)`.","expression":{"id":8545,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8538,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8517,"src":"12313:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8541,"name":"_liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8532,"src":"12339:10:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8542,"name":"numerator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8520,"src":"12351:9:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":8543,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8527,"src":"12362:11:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":8539,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"12323:8:53","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":8540,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12332:6:53","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":4597,"src":"12323:15:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":8544,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12323:51:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12313:61:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8546,"nodeType":"ExpressionStatement","src":"12313:61:53"},{"AST":{"nativeSrc":"12409:112:53","nodeType":"YulBlock","src":"12409:112:53","statements":[{"nativeSrc":"12423:88:53","nodeType":"YulAssignment","src":"12423:88:53","value":{"arguments":[{"name":"amount1","nativeSrc":"12438:7:53","nodeType":"YulIdentifier","src":"12438:7:53"},{"arguments":[{"arguments":[{"arguments":[{"name":"_liquidity","nativeSrc":"12461:10:53","nodeType":"YulIdentifier","src":"12461:10:53"},{"name":"numerator","nativeSrc":"12473:9:53","nodeType":"YulIdentifier","src":"12473:9:53"},{"name":"denominator","nativeSrc":"12484:11:53","nodeType":"YulIdentifier","src":"12484:11:53"}],"functionName":{"name":"mulmod","nativeSrc":"12454:6:53","nodeType":"YulIdentifier","src":"12454:6:53"},"nativeSrc":"12454:42:53","nodeType":"YulFunctionCall","src":"12454:42:53"},{"kind":"number","nativeSrc":"12498:1:53","nodeType":"YulLiteral","src":"12498:1:53","type":"","value":"0"}],"functionName":{"name":"gt","nativeSrc":"12451:2:53","nodeType":"YulIdentifier","src":"12451:2:53"},"nativeSrc":"12451:49:53","nodeType":"YulFunctionCall","src":"12451:49:53"},{"name":"roundUp","nativeSrc":"12502:7:53","nodeType":"YulIdentifier","src":"12502:7:53"}],"functionName":{"name":"and","nativeSrc":"12447:3:53","nodeType":"YulIdentifier","src":"12447:3:53"},"nativeSrc":"12447:63:53","nodeType":"YulFunctionCall","src":"12447:63:53"}],"functionName":{"name":"add","nativeSrc":"12434:3:53","nodeType":"YulIdentifier","src":"12434:3:53"},"nativeSrc":"12434:77:53","nodeType":"YulFunctionCall","src":"12434:77:53"},"variableNames":[{"name":"amount1","nativeSrc":"12423:7:53","nodeType":"YulIdentifier","src":"12423:7:53"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":8532,"isOffset":false,"isSlot":false,"src":"12461:10:53","valueSize":1},{"declaration":8517,"isOffset":false,"isSlot":false,"src":"12423:7:53","valueSize":1},{"declaration":8517,"isOffset":false,"isSlot":false,"src":"12438:7:53","valueSize":1},{"declaration":8527,"isOffset":false,"isSlot":false,"src":"12484:11:53","valueSize":1},{"declaration":8520,"isOffset":false,"isSlot":false,"src":"12473:9:53","valueSize":1},{"declaration":8514,"isOffset":false,"isSlot":false,"src":"12502:7:53","valueSize":1}],"flags":["memory-safe"],"id":8547,"nodeType":"InlineAssembly","src":"12384:137:53"}]},"documentation":{"id":8506,"nodeType":"StructuredDocumentation","src":"11137:447:53","text":"@notice Gets the amount1 delta between two prices\n @dev Calculates liquidity * (sqrt(upper) - sqrt(lower))\n @param sqrtPriceAX96 A sqrt price\n @param sqrtPriceBX96 Another sqrt price\n @param liquidity The amount of usable liquidity\n @param roundUp Whether to round the amount up, or down\n @return amount1 Amount of currency1 required to cover a position of size liquidity between the two passed prices"},"id":8549,"implemented":true,"kind":"function","modifiers":[],"name":"getAmount1Delta","nameLocation":"11598:15:53","nodeType":"FunctionDefinition","parameters":{"id":8515,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8508,"mutability":"mutable","name":"sqrtPriceAX96","nameLocation":"11622:13:53","nodeType":"VariableDeclaration","scope":8549,"src":"11614:21:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8507,"name":"uint160","nodeType":"ElementaryTypeName","src":"11614:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8510,"mutability":"mutable","name":"sqrtPriceBX96","nameLocation":"11645:13:53","nodeType":"VariableDeclaration","scope":8549,"src":"11637:21:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8509,"name":"uint160","nodeType":"ElementaryTypeName","src":"11637:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8512,"mutability":"mutable","name":"liquidity","nameLocation":"11668:9:53","nodeType":"VariableDeclaration","scope":8549,"src":"11660:17:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8511,"name":"uint128","nodeType":"ElementaryTypeName","src":"11660:7:53","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":8514,"mutability":"mutable","name":"roundUp","nameLocation":"11684:7:53","nodeType":"VariableDeclaration","scope":8549,"src":"11679:12:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8513,"name":"bool","nodeType":"ElementaryTypeName","src":"11679:4:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"11613:79:53"},"returnParameters":{"id":8518,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8517,"mutability":"mutable","name":"amount1","nameLocation":"11748:7:53","nodeType":"VariableDeclaration","scope":8549,"src":"11740:15:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8516,"name":"uint256","nodeType":"ElementaryTypeName","src":"11740:7:53","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11739:17:53"},"scope":8636,"src":"11589:938:53","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8591,"nodeType":"Block","src":"13024:276:53","statements":[{"id":8590,"nodeType":"UncheckedBlock","src":"13034:260:53","statements":[{"expression":{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":8563,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8561,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8556,"src":"13065:9:53","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":8562,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13077:1:53","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"13065:13:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":8587,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"13200:83:53","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":8577,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8552,"src":"13217:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":8578,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8554,"src":"13232:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":8581,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8556,"src":"13255:9:53","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":8580,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13247:7:53","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":8579,"name":"uint128","nodeType":"ElementaryTypeName","src":"13247:7:53","typeDescriptions":{}}},"id":8582,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13247:18:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"74727565","id":8583,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"13267:4:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":8576,"name":"getAmount0Delta","nodeType":"Identifier","overloadedDeclarations":[8493,8592],"referencedDeclaration":8493,"src":"13201:15:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":8584,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13201:71:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8585,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13273:8:53","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":8114,"src":"13201:80:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":8586,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13201:82:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":8588,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"13065:218:53","trueExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":8565,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8552,"src":"13113:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":8566,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8554,"src":"13128:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":8570,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"13151:10:53","subExpression":{"id":8569,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8556,"src":"13152:9:53","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":8568,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13143:7:53","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":8567,"name":"uint128","nodeType":"ElementaryTypeName","src":"13143:7:53","typeDescriptions":{}}},"id":8571,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13143:19:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"66616c7365","id":8572,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"13164:5:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":8564,"name":"getAmount0Delta","nodeType":"Identifier","overloadedDeclarations":[8493,8592],"referencedDeclaration":8493,"src":"13097:15:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":8573,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13097:73:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8574,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13171:8:53","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":8114,"src":"13097:82:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":8575,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13097:84:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"functionReturnParameters":8560,"id":8589,"nodeType":"Return","src":"13058:225:53"}]}]},"documentation":{"id":8550,"nodeType":"StructuredDocumentation","src":"12533:338:53","text":"@notice Helper that gets signed currency0 delta\n @param sqrtPriceAX96 A sqrt price\n @param sqrtPriceBX96 Another sqrt price\n @param liquidity The change in liquidity for which to compute the amount0 delta\n @return int256 Amount of currency0 corresponding to the passed liquidityDelta between the two prices"},"id":8592,"implemented":true,"kind":"function","modifiers":[],"name":"getAmount0Delta","nameLocation":"12885:15:53","nodeType":"FunctionDefinition","parameters":{"id":8557,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8552,"mutability":"mutable","name":"sqrtPriceAX96","nameLocation":"12909:13:53","nodeType":"VariableDeclaration","scope":8592,"src":"12901:21:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8551,"name":"uint160","nodeType":"ElementaryTypeName","src":"12901:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8554,"mutability":"mutable","name":"sqrtPriceBX96","nameLocation":"12932:13:53","nodeType":"VariableDeclaration","scope":8592,"src":"12924:21:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8553,"name":"uint160","nodeType":"ElementaryTypeName","src":"12924:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8556,"mutability":"mutable","name":"liquidity","nameLocation":"12954:9:53","nodeType":"VariableDeclaration","scope":8592,"src":"12947:16:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":8555,"name":"int128","nodeType":"ElementaryTypeName","src":"12947:6:53","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"12900:64:53"},"returnParameters":{"id":8560,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8559,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8592,"src":"13012:6:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8558,"name":"int256","nodeType":"ElementaryTypeName","src":"13012:6:53","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"13011:8:53"},"scope":8636,"src":"12876:424:53","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8634,"nodeType":"Block","src":"13797:276:53","statements":[{"id":8633,"nodeType":"UncheckedBlock","src":"13807:260:53","statements":[{"expression":{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":8606,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8604,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8599,"src":"13838:9:53","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":8605,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13850:1:53","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"13838:13:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":8630,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"13973:83:53","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":8620,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8595,"src":"13990:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":8621,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8597,"src":"14005:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":8624,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8599,"src":"14028:9:53","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":8623,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14020:7:53","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":8622,"name":"uint128","nodeType":"ElementaryTypeName","src":"14020:7:53","typeDescriptions":{}}},"id":8625,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14020:18:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"74727565","id":8626,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"14040:4:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":8619,"name":"getAmount1Delta","nodeType":"Identifier","overloadedDeclarations":[8549,8635],"referencedDeclaration":8549,"src":"13974:15:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":8627,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13974:71:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8628,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14046:8:53","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":8114,"src":"13974:80:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":8629,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13974:82:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":8631,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"13838:218:53","trueExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":8608,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8595,"src":"13886:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":8609,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8597,"src":"13901:13:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":8613,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"13924:10:53","subExpression":{"id":8612,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8599,"src":"13925:9:53","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":8611,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13916:7:53","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":8610,"name":"uint128","nodeType":"ElementaryTypeName","src":"13916:7:53","typeDescriptions":{}}},"id":8614,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13916:19:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"66616c7365","id":8615,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"13937:5:53","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":8607,"name":"getAmount1Delta","nodeType":"Identifier","overloadedDeclarations":[8549,8635],"referencedDeclaration":8549,"src":"13870:15:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":8616,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13870:73:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8617,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13944:8:53","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":8114,"src":"13870:82:53","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":8618,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13870:84:53","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"functionReturnParameters":8603,"id":8632,"nodeType":"Return","src":"13831:225:53"}]}]},"documentation":{"id":8593,"nodeType":"StructuredDocumentation","src":"13306:338:53","text":"@notice Helper that gets signed currency1 delta\n @param sqrtPriceAX96 A sqrt price\n @param sqrtPriceBX96 Another sqrt price\n @param liquidity The change in liquidity for which to compute the amount1 delta\n @return int256 Amount of currency1 corresponding to the passed liquidityDelta between the two prices"},"id":8635,"implemented":true,"kind":"function","modifiers":[],"name":"getAmount1Delta","nameLocation":"13658:15:53","nodeType":"FunctionDefinition","parameters":{"id":8600,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8595,"mutability":"mutable","name":"sqrtPriceAX96","nameLocation":"13682:13:53","nodeType":"VariableDeclaration","scope":8635,"src":"13674:21:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8594,"name":"uint160","nodeType":"ElementaryTypeName","src":"13674:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8597,"mutability":"mutable","name":"sqrtPriceBX96","nameLocation":"13705:13:53","nodeType":"VariableDeclaration","scope":8635,"src":"13697:21:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8596,"name":"uint160","nodeType":"ElementaryTypeName","src":"13697:7:53","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8599,"mutability":"mutable","name":"liquidity","nameLocation":"13727:9:53","nodeType":"VariableDeclaration","scope":8635,"src":"13720:16:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":8598,"name":"int128","nodeType":"ElementaryTypeName","src":"13720:6:53","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"13673:64:53"},"returnParameters":{"id":8603,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8602,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8635,"src":"13785:6:53","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8601,"name":"int256","nodeType":"ElementaryTypeName","src":"13785:6:53","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"13784:8:53"},"scope":8636,"src":"13649:424:53","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":8637,"src":"402:13673:53","usedErrors":[8161,8163,8165,8167],"usedEvents":[]}],"src":"32:14044:53"},"id":53},"@uniswap/v4-core/src/libraries/StateLibrary.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/StateLibrary.sol","exportedSymbols":{"IPoolManager":[3917],"PoolId":[11017],"Position":[7897],"StateLibrary":[9293]},"id":9294,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":8638,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:54"},{"absolutePath":"@uniswap/v4-core/src/types/PoolId.sol","file":"../types/PoolId.sol","id":8640,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":9294,"sourceUnit":11032,"src":"57:43:54","symbolAliases":[{"foreign":{"id":8639,"name":"PoolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11017,"src":"65:6:54","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"../interfaces/IPoolManager.sol","id":8642,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":9294,"sourceUnit":3918,"src":"101:60:54","symbolAliases":[{"foreign":{"id":8641,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"109:12:54","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/Position.sol","file":"./Position.sol","id":8644,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":9294,"sourceUnit":7898,"src":"162:40:54","symbolAliases":[{"foreign":{"id":8643,"name":"Position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7897,"src":"170:8:54","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"StateLibrary","contractDependencies":[],"contractKind":"library","documentation":{"id":8645,"nodeType":"StructuredDocumentation","src":"204:72:54","text":"@notice A helper library to provide state getters that use extsload"},"fullyImplemented":true,"id":9293,"linearizedBaseContracts":[9293],"name":"StateLibrary","nameLocation":"284:12:54","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":8646,"nodeType":"StructuredDocumentation","src":"303:53:54","text":"@notice index of pools mapping in the PoolManager"},"functionSelector":"57eb1da7","id":8655,"mutability":"constant","name":"POOLS_SLOT","nameLocation":"385:10:54","nodeType":"VariableDeclaration","scope":9293,"src":"361:56:54","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8647,"name":"bytes32","nodeType":"ElementaryTypeName","src":"361:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"arguments":[{"hexValue":"36","id":8652,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"414:1:54","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"}],"id":8651,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"406:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8650,"name":"uint256","nodeType":"ElementaryTypeName","src":"406:7:54","typeDescriptions":{}}},"id":8653,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"406:10:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8649,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"398:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":8648,"name":"bytes32","nodeType":"ElementaryTypeName","src":"398:7:54","typeDescriptions":{}}},"id":8654,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"398:19:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":true,"documentation":{"id":8656,"nodeType":"StructuredDocumentation","src":"424:55:54","text":"@notice index of feeGrowthGlobal0X128 in Pool.State"},"functionSelector":"ca24e3b5","id":8659,"mutability":"constant","name":"FEE_GROWTH_GLOBAL0_OFFSET","nameLocation":"508:25:54","nodeType":"VariableDeclaration","scope":9293,"src":"484:53:54","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8657,"name":"uint256","nodeType":"ElementaryTypeName","src":"484:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"31","id":8658,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"536:1:54","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"visibility":"public"},{"constant":true,"documentation":{"id":8660,"nodeType":"StructuredDocumentation","src":"598:44:54","text":"@notice index of liquidity in Pool.State"},"functionSelector":"b432004a","id":8663,"mutability":"constant","name":"LIQUIDITY_OFFSET","nameLocation":"671:16:54","nodeType":"VariableDeclaration","scope":9293,"src":"647:44:54","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8661,"name":"uint256","nodeType":"ElementaryTypeName","src":"647:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"33","id":8662,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"690:1:54","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"visibility":"public"},{"constant":true,"documentation":{"id":8664,"nodeType":"StructuredDocumentation","src":"698:87:54","text":"@notice index of TicksInfo mapping in Pool.State: mapping(int24 => TickInfo) ticks;"},"functionSelector":"769323e3","id":8667,"mutability":"constant","name":"TICKS_OFFSET","nameLocation":"814:12:54","nodeType":"VariableDeclaration","scope":9293,"src":"790:40:54","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8665,"name":"uint256","nodeType":"ElementaryTypeName","src":"790:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"34","id":8666,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"829:1:54","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"visibility":"public"},{"constant":true,"documentation":{"id":8668,"nodeType":"StructuredDocumentation","src":"837:53:54","text":"@notice index of tickBitmap mapping in Pool.State"},"functionSelector":"7d35604a","id":8671,"mutability":"constant","name":"TICK_BITMAP_OFFSET","nameLocation":"919:18:54","nodeType":"VariableDeclaration","scope":9293,"src":"895:46:54","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8669,"name":"uint256","nodeType":"ElementaryTypeName","src":"895:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"35","id":8670,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"940:1:54","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"visibility":"public"},{"constant":true,"documentation":{"id":8672,"nodeType":"StructuredDocumentation","src":"948:104:54","text":"@notice index of Position.State mapping in Pool.State: mapping(bytes32 => Position.State) positions;"},"functionSelector":"2ba31c53","id":8675,"mutability":"constant","name":"POSITIONS_OFFSET","nameLocation":"1081:16:54","nodeType":"VariableDeclaration","scope":9293,"src":"1057:44:54","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8673,"name":"uint256","nodeType":"ElementaryTypeName","src":"1057:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"36","id":8674,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1100:1:54","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"},"visibility":"public"},{"body":{"id":8707,"nodeType":"Block","src":"1754:822:54","statements":[{"assignments":[8694],"declarations":[{"constant":false,"id":8694,"mutability":"mutable","name":"stateSlot","nameLocation":"1829:9:54","nodeType":"VariableDeclaration","scope":8707,"src":"1821:17:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8693,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1821:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8698,"initialValue":{"arguments":[{"id":8696,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8682,"src":"1859:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"id":8695,"name":"_getPoolStateSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9215,"src":"1841:17:54","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_bytes32_$","typeString":"function (PoolId) pure returns (bytes32)"}},"id":8697,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1841:25:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"1821:45:54"},{"assignments":[8700],"declarations":[{"constant":false,"id":8700,"mutability":"mutable","name":"data","nameLocation":"1885:4:54","nodeType":"VariableDeclaration","scope":8707,"src":"1877:12:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8699,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1877:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8705,"initialValue":{"arguments":[{"id":8703,"name":"stateSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8694,"src":"1909:9:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":8701,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8679,"src":"1892:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":8702,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1900:8:54","memberName":"extsload","nodeType":"MemberAccess","referencedDeclaration":3376,"src":"1892:16:54","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view external returns (bytes32)"}},"id":8704,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1892:27:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"1877:42:54"},{"AST":{"nativeSrc":"2172:398:54","nodeType":"YulBlock","src":"2172:398:54","statements":[{"nativeSrc":"2225:69:54","nodeType":"YulAssignment","src":"2225:69:54","value":{"arguments":[{"name":"data","nativeSrc":"2245:4:54","nodeType":"YulIdentifier","src":"2245:4:54"},{"kind":"number","nativeSrc":"2251:42:54","nodeType":"YulLiteral","src":"2251:42:54","type":"","value":"0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"}],"functionName":{"name":"and","nativeSrc":"2241:3:54","nodeType":"YulIdentifier","src":"2241:3:54"},"nativeSrc":"2241:53:54","nodeType":"YulFunctionCall","src":"2241:53:54"},"variableNames":[{"name":"sqrtPriceX96","nativeSrc":"2225:12:54","nodeType":"YulIdentifier","src":"2225:12:54"}]},{"nativeSrc":"2343:37:54","nodeType":"YulAssignment","src":"2343:37:54","value":{"arguments":[{"kind":"number","nativeSrc":"2362:1:54","nodeType":"YulLiteral","src":"2362:1:54","type":"","value":"2"},{"arguments":[{"kind":"number","nativeSrc":"2369:3:54","nodeType":"YulLiteral","src":"2369:3:54","type":"","value":"160"},{"name":"data","nativeSrc":"2374:4:54","nodeType":"YulIdentifier","src":"2374:4:54"}],"functionName":{"name":"shr","nativeSrc":"2365:3:54","nodeType":"YulIdentifier","src":"2365:3:54"},"nativeSrc":"2365:14:54","nodeType":"YulFunctionCall","src":"2365:14:54"}],"functionName":{"name":"signextend","nativeSrc":"2351:10:54","nodeType":"YulIdentifier","src":"2351:10:54"},"nativeSrc":"2351:29:54","nodeType":"YulFunctionCall","src":"2351:29:54"},"variableNames":[{"name":"tick","nativeSrc":"2343:4:54","nodeType":"YulIdentifier","src":"2343:4:54"}]},{"nativeSrc":"2429:44:54","nodeType":"YulAssignment","src":"2429:44:54","value":{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"2452:3:54","nodeType":"YulLiteral","src":"2452:3:54","type":"","value":"184"},{"name":"data","nativeSrc":"2457:4:54","nodeType":"YulIdentifier","src":"2457:4:54"}],"functionName":{"name":"shr","nativeSrc":"2448:3:54","nodeType":"YulIdentifier","src":"2448:3:54"},"nativeSrc":"2448:14:54","nodeType":"YulFunctionCall","src":"2448:14:54"},{"kind":"number","nativeSrc":"2464:8:54","nodeType":"YulLiteral","src":"2464:8:54","type":"","value":"0xFFFFFF"}],"functionName":{"name":"and","nativeSrc":"2444:3:54","nodeType":"YulIdentifier","src":"2444:3:54"},"nativeSrc":"2444:29:54","nodeType":"YulFunctionCall","src":"2444:29:54"},"variableNames":[{"name":"protocolFee","nativeSrc":"2429:11:54","nodeType":"YulIdentifier","src":"2429:11:54"}]},{"nativeSrc":"2522:38:54","nodeType":"YulAssignment","src":"2522:38:54","value":{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"2539:3:54","nodeType":"YulLiteral","src":"2539:3:54","type":"","value":"208"},{"name":"data","nativeSrc":"2544:4:54","nodeType":"YulIdentifier","src":"2544:4:54"}],"functionName":{"name":"shr","nativeSrc":"2535:3:54","nodeType":"YulIdentifier","src":"2535:3:54"},"nativeSrc":"2535:14:54","nodeType":"YulFunctionCall","src":"2535:14:54"},{"kind":"number","nativeSrc":"2551:8:54","nodeType":"YulLiteral","src":"2551:8:54","type":"","value":"0xFFFFFF"}],"functionName":{"name":"and","nativeSrc":"2531:3:54","nodeType":"YulIdentifier","src":"2531:3:54"},"nativeSrc":"2531:29:54","nodeType":"YulFunctionCall","src":"2531:29:54"},"variableNames":[{"name":"lpFee","nativeSrc":"2522:5:54","nodeType":"YulIdentifier","src":"2522:5:54"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":8700,"isOffset":false,"isSlot":false,"src":"2245:4:54","valueSize":1},{"declaration":8700,"isOffset":false,"isSlot":false,"src":"2374:4:54","valueSize":1},{"declaration":8700,"isOffset":false,"isSlot":false,"src":"2457:4:54","valueSize":1},{"declaration":8700,"isOffset":false,"isSlot":false,"src":"2544:4:54","valueSize":1},{"declaration":8691,"isOffset":false,"isSlot":false,"src":"2522:5:54","valueSize":1},{"declaration":8689,"isOffset":false,"isSlot":false,"src":"2429:11:54","valueSize":1},{"declaration":8685,"isOffset":false,"isSlot":false,"src":"2225:12:54","valueSize":1},{"declaration":8687,"isOffset":false,"isSlot":false,"src":"2343:4:54","valueSize":1}],"flags":["memory-safe"],"id":8706,"nodeType":"InlineAssembly","src":"2147:423:54"}]},"documentation":{"id":8676,"nodeType":"StructuredDocumentation","src":"1108:467:54","text":" @notice Get Slot0 of the pool: sqrtPriceX96, tick, protocolFee, lpFee\n @dev Corresponds to pools[poolId].slot0\n @param manager The pool manager contract.\n @param poolId The ID of the pool.\n @return sqrtPriceX96 The square root of the price of the pool, in Q96 precision.\n @return tick The current tick of the pool.\n @return protocolFee The protocol fee of the pool.\n @return lpFee The swap fee of the pool."},"id":8708,"implemented":true,"kind":"function","modifiers":[],"name":"getSlot0","nameLocation":"1589:8:54","nodeType":"FunctionDefinition","parameters":{"id":8683,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8679,"mutability":"mutable","name":"manager","nameLocation":"1611:7:54","nodeType":"VariableDeclaration","scope":8708,"src":"1598:20:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":8678,"nodeType":"UserDefinedTypeName","pathNode":{"id":8677,"name":"IPoolManager","nameLocations":["1598:12:54"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"1598:12:54"},"referencedDeclaration":3917,"src":"1598:12:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"},{"constant":false,"id":8682,"mutability":"mutable","name":"poolId","nameLocation":"1627:6:54","nodeType":"VariableDeclaration","scope":8708,"src":"1620:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":8681,"nodeType":"UserDefinedTypeName","pathNode":{"id":8680,"name":"PoolId","nameLocations":["1620:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"1620:6:54"},"referencedDeclaration":11017,"src":"1620:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"}],"src":"1597:37:54"},"returnParameters":{"id":8692,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8685,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"1690:12:54","nodeType":"VariableDeclaration","scope":8708,"src":"1682:20:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":8684,"name":"uint160","nodeType":"ElementaryTypeName","src":"1682:7:54","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":8687,"mutability":"mutable","name":"tick","nameLocation":"1710:4:54","nodeType":"VariableDeclaration","scope":8708,"src":"1704:10:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":8686,"name":"int24","nodeType":"ElementaryTypeName","src":"1704:5:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":8689,"mutability":"mutable","name":"protocolFee","nameLocation":"1723:11:54","nodeType":"VariableDeclaration","scope":8708,"src":"1716:18:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":8688,"name":"uint24","nodeType":"ElementaryTypeName","src":"1716:6:54","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":8691,"mutability":"mutable","name":"lpFee","nameLocation":"1743:5:54","nodeType":"VariableDeclaration","scope":8708,"src":"1736:12:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":8690,"name":"uint24","nodeType":"ElementaryTypeName","src":"1736:6:54","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"1681:68:54"},"scope":9293,"src":"1580:996:54","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":8747,"nodeType":"Block","src":"3644:513:54","statements":[{"assignments":[8729],"declarations":[{"constant":false,"id":8729,"mutability":"mutable","name":"slot","nameLocation":"3662:4:54","nodeType":"VariableDeclaration","scope":8747,"src":"3654:12:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8728,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3654:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8734,"initialValue":{"arguments":[{"id":8731,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8715,"src":"3686:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"id":8732,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8717,"src":"3694:4:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_int24","typeString":"int24"}],"id":8730,"name":"_getTickInfoSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9255,"src":"3669:16:54","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PoolId_$11017_$_t_int24_$returns$_t_bytes32_$","typeString":"function (PoolId,int24) pure returns (bytes32)"}},"id":8733,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3669:30:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"3654:45:54"},{"assignments":[8739],"declarations":[{"constant":false,"id":8739,"mutability":"mutable","name":"data","nameLocation":"3778:4:54","nodeType":"VariableDeclaration","scope":8747,"src":"3761:21:54","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":8737,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3761:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":8738,"nodeType":"ArrayTypeName","src":"3761:9:54","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":8745,"initialValue":{"arguments":[{"id":8742,"name":"slot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8729,"src":"3802:4:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"hexValue":"33","id":8743,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3808:1:54","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"}],"expression":{"id":8740,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8712,"src":"3785:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":8741,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3793:8:54","memberName":"extsload","nodeType":"MemberAccess","referencedDeclaration":3387,"src":"3785:16:54","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$","typeString":"function (bytes32,uint256) view external returns (bytes32[] memory)"}},"id":8744,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3785:25:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"3761:49:54"},{"AST":{"nativeSrc":"3845:306:54","nodeType":"YulBlock","src":"3845:306:54","statements":[{"nativeSrc":"3859:37:54","nodeType":"YulVariableDeclaration","src":"3859:37:54","value":{"arguments":[{"arguments":[{"name":"data","nativeSrc":"3886:4:54","nodeType":"YulIdentifier","src":"3886:4:54"},{"kind":"number","nativeSrc":"3892:2:54","nodeType":"YulLiteral","src":"3892:2:54","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"3882:3:54","nodeType":"YulIdentifier","src":"3882:3:54"},"nativeSrc":"3882:13:54","nodeType":"YulFunctionCall","src":"3882:13:54"}],"functionName":{"name":"mload","nativeSrc":"3876:5:54","nodeType":"YulIdentifier","src":"3876:5:54"},"nativeSrc":"3876:20:54","nodeType":"YulFunctionCall","src":"3876:20:54"},"variables":[{"name":"firstWord","nativeSrc":"3863:9:54","nodeType":"YulTypedName","src":"3863:9:54","type":""}]},{"nativeSrc":"3909:35:54","nodeType":"YulAssignment","src":"3909:35:54","value":{"arguments":[{"kind":"number","nativeSrc":"3929:3:54","nodeType":"YulLiteral","src":"3929:3:54","type":"","value":"128"},{"name":"firstWord","nativeSrc":"3934:9:54","nodeType":"YulIdentifier","src":"3934:9:54"}],"functionName":{"name":"sar","nativeSrc":"3925:3:54","nodeType":"YulIdentifier","src":"3925:3:54"},"nativeSrc":"3925:19:54","nodeType":"YulFunctionCall","src":"3925:19:54"},"variableNames":[{"name":"liquidityNet","nativeSrc":"3909:12:54","nodeType":"YulIdentifier","src":"3909:12:54"}]},{"nativeSrc":"3957:68:54","nodeType":"YulAssignment","src":"3957:68:54","value":{"arguments":[{"name":"firstWord","nativeSrc":"3979:9:54","nodeType":"YulIdentifier","src":"3979:9:54"},{"kind":"number","nativeSrc":"3990:34:54","nodeType":"YulLiteral","src":"3990:34:54","type":"","value":"0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"}],"functionName":{"name":"and","nativeSrc":"3975:3:54","nodeType":"YulIdentifier","src":"3975:3:54"},"nativeSrc":"3975:50:54","nodeType":"YulFunctionCall","src":"3975:50:54"},"variableNames":[{"name":"liquidityGross","nativeSrc":"3957:14:54","nodeType":"YulIdentifier","src":"3957:14:54"}]},{"nativeSrc":"4038:45:54","nodeType":"YulAssignment","src":"4038:45:54","value":{"arguments":[{"arguments":[{"name":"data","nativeSrc":"4073:4:54","nodeType":"YulIdentifier","src":"4073:4:54"},{"kind":"number","nativeSrc":"4079:2:54","nodeType":"YulLiteral","src":"4079:2:54","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"4069:3:54","nodeType":"YulIdentifier","src":"4069:3:54"},"nativeSrc":"4069:13:54","nodeType":"YulFunctionCall","src":"4069:13:54"}],"functionName":{"name":"mload","nativeSrc":"4063:5:54","nodeType":"YulIdentifier","src":"4063:5:54"},"nativeSrc":"4063:20:54","nodeType":"YulFunctionCall","src":"4063:20:54"},"variableNames":[{"name":"feeGrowthOutside0X128","nativeSrc":"4038:21:54","nodeType":"YulIdentifier","src":"4038:21:54"}]},{"nativeSrc":"4096:45:54","nodeType":"YulAssignment","src":"4096:45:54","value":{"arguments":[{"arguments":[{"name":"data","nativeSrc":"4131:4:54","nodeType":"YulIdentifier","src":"4131:4:54"},{"kind":"number","nativeSrc":"4137:2:54","nodeType":"YulLiteral","src":"4137:2:54","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"4127:3:54","nodeType":"YulIdentifier","src":"4127:3:54"},"nativeSrc":"4127:13:54","nodeType":"YulFunctionCall","src":"4127:13:54"}],"functionName":{"name":"mload","nativeSrc":"4121:5:54","nodeType":"YulIdentifier","src":"4121:5:54"},"nativeSrc":"4121:20:54","nodeType":"YulFunctionCall","src":"4121:20:54"},"variableNames":[{"name":"feeGrowthOutside1X128","nativeSrc":"4096:21:54","nodeType":"YulIdentifier","src":"4096:21:54"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":8739,"isOffset":false,"isSlot":false,"src":"3886:4:54","valueSize":1},{"declaration":8739,"isOffset":false,"isSlot":false,"src":"4073:4:54","valueSize":1},{"declaration":8739,"isOffset":false,"isSlot":false,"src":"4131:4:54","valueSize":1},{"declaration":8724,"isOffset":false,"isSlot":false,"src":"4038:21:54","valueSize":1},{"declaration":8726,"isOffset":false,"isSlot":false,"src":"4096:21:54","valueSize":1},{"declaration":8720,"isOffset":false,"isSlot":false,"src":"3957:14:54","valueSize":1},{"declaration":8722,"isOffset":false,"isSlot":false,"src":"3909:12:54","valueSize":1}],"flags":["memory-safe"],"id":8746,"nodeType":"InlineAssembly","src":"3820:331:54"}]},"documentation":{"id":8709,"nodeType":"StructuredDocumentation","src":"2582:771:54","text":" @notice Retrieves the tick information of a pool at a specific tick.\n @dev Corresponds to pools[poolId].ticks[tick]\n @param manager The pool manager contract.\n @param poolId The ID of the pool.\n @param tick The tick to retrieve information for.\n @return liquidityGross The total position liquidity that references this tick\n @return liquidityNet The amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left)\n @return feeGrowthOutside0X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n @return feeGrowthOutside1X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)"},"id":8748,"implemented":true,"kind":"function","modifiers":[],"name":"getTickInfo","nameLocation":"3367:11:54","nodeType":"FunctionDefinition","parameters":{"id":8718,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8712,"mutability":"mutable","name":"manager","nameLocation":"3392:7:54","nodeType":"VariableDeclaration","scope":8748,"src":"3379:20:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":8711,"nodeType":"UserDefinedTypeName","pathNode":{"id":8710,"name":"IPoolManager","nameLocations":["3379:12:54"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"3379:12:54"},"referencedDeclaration":3917,"src":"3379:12:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"},{"constant":false,"id":8715,"mutability":"mutable","name":"poolId","nameLocation":"3408:6:54","nodeType":"VariableDeclaration","scope":8748,"src":"3401:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":8714,"nodeType":"UserDefinedTypeName","pathNode":{"id":8713,"name":"PoolId","nameLocations":["3401:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"3401:6:54"},"referencedDeclaration":11017,"src":"3401:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":8717,"mutability":"mutable","name":"tick","nameLocation":"3422:4:54","nodeType":"VariableDeclaration","scope":8748,"src":"3416:10:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":8716,"name":"int24","nodeType":"ElementaryTypeName","src":"3416:5:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"3378:49:54"},"returnParameters":{"id":8727,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8720,"mutability":"mutable","name":"liquidityGross","nameLocation":"3496:14:54","nodeType":"VariableDeclaration","scope":8748,"src":"3488:22:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8719,"name":"uint128","nodeType":"ElementaryTypeName","src":"3488:7:54","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":8722,"mutability":"mutable","name":"liquidityNet","nameLocation":"3531:12:54","nodeType":"VariableDeclaration","scope":8748,"src":"3524:19:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":8721,"name":"int128","nodeType":"ElementaryTypeName","src":"3524:6:54","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":8724,"mutability":"mutable","name":"feeGrowthOutside0X128","nameLocation":"3565:21:54","nodeType":"VariableDeclaration","scope":8748,"src":"3557:29:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8723,"name":"uint256","nodeType":"ElementaryTypeName","src":"3557:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8726,"mutability":"mutable","name":"feeGrowthOutside1X128","nameLocation":"3608:21:54","nodeType":"VariableDeclaration","scope":8748,"src":"3600:29:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8725,"name":"uint256","nodeType":"ElementaryTypeName","src":"3600:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3474:165:54"},"scope":9293,"src":"3358:799:54","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":8779,"nodeType":"Block","src":"4948:277:54","statements":[{"assignments":[8765],"declarations":[{"constant":false,"id":8765,"mutability":"mutable","name":"slot","nameLocation":"4966:4:54","nodeType":"VariableDeclaration","scope":8779,"src":"4958:12:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8764,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4958:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8770,"initialValue":{"arguments":[{"id":8767,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8755,"src":"4990:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"id":8768,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8757,"src":"4998:4:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_int24","typeString":"int24"}],"id":8766,"name":"_getTickInfoSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9255,"src":"4973:16:54","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PoolId_$11017_$_t_int24_$returns$_t_bytes32_$","typeString":"function (PoolId,int24) pure returns (bytes32)"}},"id":8769,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4973:30:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"4958:45:54"},{"assignments":[8772],"declarations":[{"constant":false,"id":8772,"mutability":"mutable","name":"value","nameLocation":"5022:5:54","nodeType":"VariableDeclaration","scope":8779,"src":"5014:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8771,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5014:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8777,"initialValue":{"arguments":[{"id":8775,"name":"slot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8765,"src":"5047:4:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":8773,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8752,"src":"5030:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":8774,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5038:8:54","memberName":"extsload","nodeType":"MemberAccess","referencedDeclaration":3376,"src":"5030:16:54","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view external returns (bytes32)"}},"id":8776,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5030:22:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"5014:38:54"},{"AST":{"nativeSrc":"5087:132:54","nodeType":"YulBlock","src":"5087:132:54","statements":[{"nativeSrc":"5101:31:54","nodeType":"YulAssignment","src":"5101:31:54","value":{"arguments":[{"kind":"number","nativeSrc":"5121:3:54","nodeType":"YulLiteral","src":"5121:3:54","type":"","value":"128"},{"name":"value","nativeSrc":"5126:5:54","nodeType":"YulIdentifier","src":"5126:5:54"}],"functionName":{"name":"sar","nativeSrc":"5117:3:54","nodeType":"YulIdentifier","src":"5117:3:54"},"nativeSrc":"5117:15:54","nodeType":"YulFunctionCall","src":"5117:15:54"},"variableNames":[{"name":"liquidityNet","nativeSrc":"5101:12:54","nodeType":"YulIdentifier","src":"5101:12:54"}]},{"nativeSrc":"5145:64:54","nodeType":"YulAssignment","src":"5145:64:54","value":{"arguments":[{"name":"value","nativeSrc":"5167:5:54","nodeType":"YulIdentifier","src":"5167:5:54"},{"kind":"number","nativeSrc":"5174:34:54","nodeType":"YulLiteral","src":"5174:34:54","type":"","value":"0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"}],"functionName":{"name":"and","nativeSrc":"5163:3:54","nodeType":"YulIdentifier","src":"5163:3:54"},"nativeSrc":"5163:46:54","nodeType":"YulFunctionCall","src":"5163:46:54"},"variableNames":[{"name":"liquidityGross","nativeSrc":"5145:14:54","nodeType":"YulIdentifier","src":"5145:14:54"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":8760,"isOffset":false,"isSlot":false,"src":"5145:14:54","valueSize":1},{"declaration":8762,"isOffset":false,"isSlot":false,"src":"5101:12:54","valueSize":1},{"declaration":8772,"isOffset":false,"isSlot":false,"src":"5126:5:54","valueSize":1},{"declaration":8772,"isOffset":false,"isSlot":false,"src":"5167:5:54","valueSize":1}],"flags":["memory-safe"],"id":8778,"nodeType":"InlineAssembly","src":"5062:157:54"}]},"documentation":{"id":8749,"nodeType":"StructuredDocumentation","src":"4163:609:54","text":" @notice Retrieves the liquidity information of a pool at a specific tick.\n @dev Corresponds to pools[poolId].ticks[tick].liquidityGross and pools[poolId].ticks[tick].liquidityNet. A more gas efficient version of getTickInfo\n @param manager The pool manager contract.\n @param poolId The ID of the pool.\n @param tick The tick to retrieve liquidity for.\n @return liquidityGross The total position liquidity that references this tick\n @return liquidityNet The amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left)"},"id":8780,"implemented":true,"kind":"function","modifiers":[],"name":"getTickLiquidity","nameLocation":"4786:16:54","nodeType":"FunctionDefinition","parameters":{"id":8758,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8752,"mutability":"mutable","name":"manager","nameLocation":"4816:7:54","nodeType":"VariableDeclaration","scope":8780,"src":"4803:20:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":8751,"nodeType":"UserDefinedTypeName","pathNode":{"id":8750,"name":"IPoolManager","nameLocations":["4803:12:54"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"4803:12:54"},"referencedDeclaration":3917,"src":"4803:12:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"},{"constant":false,"id":8755,"mutability":"mutable","name":"poolId","nameLocation":"4832:6:54","nodeType":"VariableDeclaration","scope":8780,"src":"4825:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":8754,"nodeType":"UserDefinedTypeName","pathNode":{"id":8753,"name":"PoolId","nameLocations":["4825:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"4825:6:54"},"referencedDeclaration":11017,"src":"4825:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":8757,"mutability":"mutable","name":"tick","nameLocation":"4846:4:54","nodeType":"VariableDeclaration","scope":8780,"src":"4840:10:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":8756,"name":"int24","nodeType":"ElementaryTypeName","src":"4840:5:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"4802:49:54"},"returnParameters":{"id":8763,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8760,"mutability":"mutable","name":"liquidityGross","nameLocation":"4907:14:54","nodeType":"VariableDeclaration","scope":8780,"src":"4899:22:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8759,"name":"uint128","nodeType":"ElementaryTypeName","src":"4899:7:54","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":8762,"mutability":"mutable","name":"liquidityNet","nameLocation":"4930:12:54","nodeType":"VariableDeclaration","scope":8780,"src":"4923:19:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":8761,"name":"int128","nodeType":"ElementaryTypeName","src":"4923:6:54","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"4898:45:54"},"scope":9293,"src":"4777:448:54","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":8823,"nodeType":"Block","src":"6099:388:54","statements":[{"assignments":[8797],"declarations":[{"constant":false,"id":8797,"mutability":"mutable","name":"slot","nameLocation":"6117:4:54","nodeType":"VariableDeclaration","scope":8823,"src":"6109:12:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8796,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6109:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8802,"initialValue":{"arguments":[{"id":8799,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8787,"src":"6141:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"id":8800,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8789,"src":"6149:4:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_int24","typeString":"int24"}],"id":8798,"name":"_getTickInfoSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9255,"src":"6124:16:54","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PoolId_$11017_$_t_int24_$returns$_t_bytes32_$","typeString":"function (PoolId,int24) pure returns (bytes32)"}},"id":8801,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6124:30:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"6109:45:54"},{"assignments":[8807],"declarations":[{"constant":false,"id":8807,"mutability":"mutable","name":"data","nameLocation":"6265:4:54","nodeType":"VariableDeclaration","scope":8823,"src":"6248:21:54","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":8805,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6248:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":8806,"nodeType":"ArrayTypeName","src":"6248:9:54","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":8821,"initialValue":{"arguments":[{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8817,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":8814,"name":"slot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8797,"src":"6305:4:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":8813,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6297:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8812,"name":"uint256","nodeType":"ElementaryTypeName","src":"6297:7:54","typeDescriptions":{}}},"id":8815,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6297:13:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":8816,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6313:1:54","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6297:17:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8811,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6289:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":8810,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6289:7:54","typeDescriptions":{}}},"id":8818,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6289:26:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"hexValue":"32","id":8819,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6317:1:54","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"expression":{"id":8808,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8784,"src":"6272:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":8809,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6280:8:54","memberName":"extsload","nodeType":"MemberAccess","referencedDeclaration":3387,"src":"6272:16:54","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$","typeString":"function (bytes32,uint256) view external returns (bytes32[] memory)"}},"id":8820,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6272:47:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"6248:71:54"},{"AST":{"nativeSrc":"6354:127:54","nodeType":"YulBlock","src":"6354:127:54","statements":[{"nativeSrc":"6368:45:54","nodeType":"YulAssignment","src":"6368:45:54","value":{"arguments":[{"arguments":[{"name":"data","nativeSrc":"6403:4:54","nodeType":"YulIdentifier","src":"6403:4:54"},{"kind":"number","nativeSrc":"6409:2:54","nodeType":"YulLiteral","src":"6409:2:54","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"6399:3:54","nodeType":"YulIdentifier","src":"6399:3:54"},"nativeSrc":"6399:13:54","nodeType":"YulFunctionCall","src":"6399:13:54"}],"functionName":{"name":"mload","nativeSrc":"6393:5:54","nodeType":"YulIdentifier","src":"6393:5:54"},"nativeSrc":"6393:20:54","nodeType":"YulFunctionCall","src":"6393:20:54"},"variableNames":[{"name":"feeGrowthOutside0X128","nativeSrc":"6368:21:54","nodeType":"YulIdentifier","src":"6368:21:54"}]},{"nativeSrc":"6426:45:54","nodeType":"YulAssignment","src":"6426:45:54","value":{"arguments":[{"arguments":[{"name":"data","nativeSrc":"6461:4:54","nodeType":"YulIdentifier","src":"6461:4:54"},{"kind":"number","nativeSrc":"6467:2:54","nodeType":"YulLiteral","src":"6467:2:54","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"6457:3:54","nodeType":"YulIdentifier","src":"6457:3:54"},"nativeSrc":"6457:13:54","nodeType":"YulFunctionCall","src":"6457:13:54"}],"functionName":{"name":"mload","nativeSrc":"6451:5:54","nodeType":"YulIdentifier","src":"6451:5:54"},"nativeSrc":"6451:20:54","nodeType":"YulFunctionCall","src":"6451:20:54"},"variableNames":[{"name":"feeGrowthOutside1X128","nativeSrc":"6426:21:54","nodeType":"YulIdentifier","src":"6426:21:54"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":8807,"isOffset":false,"isSlot":false,"src":"6403:4:54","valueSize":1},{"declaration":8807,"isOffset":false,"isSlot":false,"src":"6461:4:54","valueSize":1},{"declaration":8792,"isOffset":false,"isSlot":false,"src":"6368:21:54","valueSize":1},{"declaration":8794,"isOffset":false,"isSlot":false,"src":"6426:21:54","valueSize":1}],"flags":["memory-safe"],"id":8822,"nodeType":"InlineAssembly","src":"6329:152:54"}]},"documentation":{"id":8781,"nodeType":"StructuredDocumentation","src":"5231:668:54","text":" @notice Retrieves the fee growth outside a tick range of a pool\n @dev Corresponds to pools[poolId].ticks[tick].feeGrowthOutside0X128 and pools[poolId].ticks[tick].feeGrowthOutside1X128. A more gas efficient version of getTickInfo\n @param manager The pool manager contract.\n @param poolId The ID of the pool.\n @param tick The tick to retrieve fee growth for.\n @return feeGrowthOutside0X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n @return feeGrowthOutside1X128 fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)"},"id":8824,"implemented":true,"kind":"function","modifiers":[],"name":"getTickFeeGrowthOutside","nameLocation":"5913:23:54","nodeType":"FunctionDefinition","parameters":{"id":8790,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8784,"mutability":"mutable","name":"manager","nameLocation":"5950:7:54","nodeType":"VariableDeclaration","scope":8824,"src":"5937:20:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":8783,"nodeType":"UserDefinedTypeName","pathNode":{"id":8782,"name":"IPoolManager","nameLocations":["5937:12:54"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"5937:12:54"},"referencedDeclaration":3917,"src":"5937:12:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"},{"constant":false,"id":8787,"mutability":"mutable","name":"poolId","nameLocation":"5966:6:54","nodeType":"VariableDeclaration","scope":8824,"src":"5959:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":8786,"nodeType":"UserDefinedTypeName","pathNode":{"id":8785,"name":"PoolId","nameLocations":["5959:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"5959:6:54"},"referencedDeclaration":11017,"src":"5959:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":8789,"mutability":"mutable","name":"tick","nameLocation":"5980:4:54","nodeType":"VariableDeclaration","scope":8824,"src":"5974:10:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":8788,"name":"int24","nodeType":"ElementaryTypeName","src":"5974:5:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"5936:49:54"},"returnParameters":{"id":8795,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8792,"mutability":"mutable","name":"feeGrowthOutside0X128","nameLocation":"6041:21:54","nodeType":"VariableDeclaration","scope":8824,"src":"6033:29:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8791,"name":"uint256","nodeType":"ElementaryTypeName","src":"6033:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8794,"mutability":"mutable","name":"feeGrowthOutside1X128","nameLocation":"6072:21:54","nodeType":"VariableDeclaration","scope":8824,"src":"6064:29:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8793,"name":"uint256","nodeType":"ElementaryTypeName","src":"6064:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6032:62:54"},"scope":9293,"src":"5904:583:54","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":8868,"nodeType":"Block","src":"7059:554:54","statements":[{"assignments":[8839],"declarations":[{"constant":false,"id":8839,"mutability":"mutable","name":"stateSlot","nameLocation":"7134:9:54","nodeType":"VariableDeclaration","scope":8868,"src":"7126:17:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8838,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7126:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8843,"initialValue":{"arguments":[{"id":8841,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8831,"src":"7164:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"id":8840,"name":"_getPoolStateSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9215,"src":"7146:17:54","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_bytes32_$","typeString":"function (PoolId) pure returns (bytes32)"}},"id":8842,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7146:25:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"7126:45:54"},{"assignments":[8845],"declarations":[{"constant":false,"id":8845,"mutability":"mutable","name":"slot_feeGrowthGlobal0X128","nameLocation":"7244:25:54","nodeType":"VariableDeclaration","scope":8868,"src":"7236:33:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8844,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7236:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8855,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8853,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":8850,"name":"stateSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8839,"src":"7288:9:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":8849,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7280:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8848,"name":"uint256","nodeType":"ElementaryTypeName","src":"7280:7:54","typeDescriptions":{}}},"id":8851,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7280:18:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":8852,"name":"FEE_GROWTH_GLOBAL0_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8659,"src":"7301:25:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7280:46:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8847,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7272:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":8846,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7272:7:54","typeDescriptions":{}}},"id":8854,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7272:55:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"7236:91:54"},{"assignments":[8860],"declarations":[{"constant":false,"id":8860,"mutability":"mutable","name":"data","nameLocation":"7402:4:54","nodeType":"VariableDeclaration","scope":8868,"src":"7385:21:54","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":8858,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7385:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":8859,"nodeType":"ArrayTypeName","src":"7385:9:54","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":8866,"initialValue":{"arguments":[{"id":8863,"name":"slot_feeGrowthGlobal0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8845,"src":"7426:25:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"hexValue":"32","id":8864,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7453:1:54","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"expression":{"id":8861,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8828,"src":"7409:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":8862,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7417:8:54","memberName":"extsload","nodeType":"MemberAccess","referencedDeclaration":3387,"src":"7409:16:54","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$","typeString":"function (bytes32,uint256) view external returns (bytes32[] memory)"}},"id":8865,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7409:46:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"7385:70:54"},{"AST":{"nativeSrc":"7490:117:54","nodeType":"YulBlock","src":"7490:117:54","statements":[{"nativeSrc":"7504:40:54","nodeType":"YulAssignment","src":"7504:40:54","value":{"arguments":[{"arguments":[{"name":"data","nativeSrc":"7534:4:54","nodeType":"YulIdentifier","src":"7534:4:54"},{"kind":"number","nativeSrc":"7540:2:54","nodeType":"YulLiteral","src":"7540:2:54","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"7530:3:54","nodeType":"YulIdentifier","src":"7530:3:54"},"nativeSrc":"7530:13:54","nodeType":"YulFunctionCall","src":"7530:13:54"}],"functionName":{"name":"mload","nativeSrc":"7524:5:54","nodeType":"YulIdentifier","src":"7524:5:54"},"nativeSrc":"7524:20:54","nodeType":"YulFunctionCall","src":"7524:20:54"},"variableNames":[{"name":"feeGrowthGlobal0","nativeSrc":"7504:16:54","nodeType":"YulIdentifier","src":"7504:16:54"}]},{"nativeSrc":"7557:40:54","nodeType":"YulAssignment","src":"7557:40:54","value":{"arguments":[{"arguments":[{"name":"data","nativeSrc":"7587:4:54","nodeType":"YulIdentifier","src":"7587:4:54"},{"kind":"number","nativeSrc":"7593:2:54","nodeType":"YulLiteral","src":"7593:2:54","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"7583:3:54","nodeType":"YulIdentifier","src":"7583:3:54"},"nativeSrc":"7583:13:54","nodeType":"YulFunctionCall","src":"7583:13:54"}],"functionName":{"name":"mload","nativeSrc":"7577:5:54","nodeType":"YulIdentifier","src":"7577:5:54"},"nativeSrc":"7577:20:54","nodeType":"YulFunctionCall","src":"7577:20:54"},"variableNames":[{"name":"feeGrowthGlobal1","nativeSrc":"7557:16:54","nodeType":"YulIdentifier","src":"7557:16:54"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":8860,"isOffset":false,"isSlot":false,"src":"7534:4:54","valueSize":1},{"declaration":8860,"isOffset":false,"isSlot":false,"src":"7587:4:54","valueSize":1},{"declaration":8834,"isOffset":false,"isSlot":false,"src":"7504:16:54","valueSize":1},{"declaration":8836,"isOffset":false,"isSlot":false,"src":"7557:16:54","valueSize":1}],"flags":["memory-safe"],"id":8867,"nodeType":"InlineAssembly","src":"7465:142:54"}]},"documentation":{"id":8825,"nodeType":"StructuredDocumentation","src":"6493:392:54","text":" @notice Retrieves the global fee growth of a pool.\n @dev Corresponds to pools[poolId].feeGrowthGlobal0X128 and pools[poolId].feeGrowthGlobal1X128\n @param manager The pool manager contract.\n @param poolId The ID of the pool.\n @return feeGrowthGlobal0 The global fee growth for token0.\n @return feeGrowthGlobal1 The global fee growth for token1."},"id":8869,"implemented":true,"kind":"function","modifiers":[],"name":"getFeeGrowthGlobals","nameLocation":"6899:19:54","nodeType":"FunctionDefinition","parameters":{"id":8832,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8828,"mutability":"mutable","name":"manager","nameLocation":"6932:7:54","nodeType":"VariableDeclaration","scope":8869,"src":"6919:20:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":8827,"nodeType":"UserDefinedTypeName","pathNode":{"id":8826,"name":"IPoolManager","nameLocations":["6919:12:54"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"6919:12:54"},"referencedDeclaration":3917,"src":"6919:12:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"},{"constant":false,"id":8831,"mutability":"mutable","name":"poolId","nameLocation":"6948:6:54","nodeType":"VariableDeclaration","scope":8869,"src":"6941:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":8830,"nodeType":"UserDefinedTypeName","pathNode":{"id":8829,"name":"PoolId","nameLocations":["6941:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"6941:6:54"},"referencedDeclaration":11017,"src":"6941:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"}],"src":"6918:37:54"},"returnParameters":{"id":8837,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8834,"mutability":"mutable","name":"feeGrowthGlobal0","nameLocation":"7011:16:54","nodeType":"VariableDeclaration","scope":8869,"src":"7003:24:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8833,"name":"uint256","nodeType":"ElementaryTypeName","src":"7003:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8836,"mutability":"mutable","name":"feeGrowthGlobal1","nameLocation":"7037:16:54","nodeType":"VariableDeclaration","scope":8869,"src":"7029:24:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8835,"name":"uint256","nodeType":"ElementaryTypeName","src":"7029:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7002:52:54"},"scope":9293,"src":"6890:723:54","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":8912,"nodeType":"Block","src":"7985:297:54","statements":[{"assignments":[8882],"declarations":[{"constant":false,"id":8882,"mutability":"mutable","name":"stateSlot","nameLocation":"8060:9:54","nodeType":"VariableDeclaration","scope":8912,"src":"8052:17:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8881,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8052:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8886,"initialValue":{"arguments":[{"id":8884,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8876,"src":"8090:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"id":8883,"name":"_getPoolStateSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9215,"src":"8072:17:54","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_bytes32_$","typeString":"function (PoolId) pure returns (bytes32)"}},"id":8885,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8072:25:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"8052:45:54"},{"assignments":[8888],"declarations":[{"constant":false,"id":8888,"mutability":"mutable","name":"slot","nameLocation":"8159:4:54","nodeType":"VariableDeclaration","scope":8912,"src":"8151:12:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8887,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8151:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8898,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8896,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":8893,"name":"stateSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8882,"src":"8182:9:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":8892,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8174:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8891,"name":"uint256","nodeType":"ElementaryTypeName","src":"8174:7:54","typeDescriptions":{}}},"id":8894,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8174:18:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":8895,"name":"LIQUIDITY_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8663,"src":"8195:16:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8174:37:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8890,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8166:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":8889,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8166:7:54","typeDescriptions":{}}},"id":8897,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8166:46:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"8151:61:54"},{"expression":{"id":8910,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8899,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8879,"src":"8223:9:54","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"arguments":[{"id":8906,"name":"slot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8888,"src":"8268:4:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":8904,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8873,"src":"8251:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":8905,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8259:8:54","memberName":"extsload","nodeType":"MemberAccess","referencedDeclaration":3376,"src":"8251:16:54","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view external returns (bytes32)"}},"id":8907,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8251:22:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":8903,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8243:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8902,"name":"uint256","nodeType":"ElementaryTypeName","src":"8243:7:54","typeDescriptions":{}}},"id":8908,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8243:31:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8901,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8235:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":8900,"name":"uint128","nodeType":"ElementaryTypeName","src":"8235:7:54","typeDescriptions":{}}},"id":8909,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8235:40:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"8223:52:54","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":8911,"nodeType":"ExpressionStatement","src":"8223:52:54"}]},"documentation":{"id":8870,"nodeType":"StructuredDocumentation","src":"7619:260:54","text":" @notice Retrieves total the liquidity of a pool.\n @dev Corresponds to pools[poolId].liquidity\n @param manager The pool manager contract.\n @param poolId The ID of the pool.\n @return liquidity The liquidity of the pool."},"id":8913,"implemented":true,"kind":"function","modifiers":[],"name":"getLiquidity","nameLocation":"7893:12:54","nodeType":"FunctionDefinition","parameters":{"id":8877,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8873,"mutability":"mutable","name":"manager","nameLocation":"7919:7:54","nodeType":"VariableDeclaration","scope":8913,"src":"7906:20:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":8872,"nodeType":"UserDefinedTypeName","pathNode":{"id":8871,"name":"IPoolManager","nameLocations":["7906:12:54"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"7906:12:54"},"referencedDeclaration":3917,"src":"7906:12:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"},{"constant":false,"id":8876,"mutability":"mutable","name":"poolId","nameLocation":"7935:6:54","nodeType":"VariableDeclaration","scope":8913,"src":"7928:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":8875,"nodeType":"UserDefinedTypeName","pathNode":{"id":8874,"name":"PoolId","nameLocations":["7928:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"7928:6:54"},"referencedDeclaration":11017,"src":"7928:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"}],"src":"7905:37:54"},"returnParameters":{"id":8880,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8879,"mutability":"mutable","name":"liquidity","nameLocation":"7974:9:54","nodeType":"VariableDeclaration","scope":8913,"src":"7966:17:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8878,"name":"uint128","nodeType":"ElementaryTypeName","src":"7966:7:54","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"7965:19:54"},"scope":9293,"src":"7884:398:54","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":8968,"nodeType":"Block","src":"8772:481:54","statements":[{"assignments":[8928],"declarations":[{"constant":false,"id":8928,"mutability":"mutable","name":"stateSlot","nameLocation":"8847:9:54","nodeType":"VariableDeclaration","scope":8968,"src":"8839:17:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8927,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8839:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8932,"initialValue":{"arguments":[{"id":8930,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8920,"src":"8877:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"id":8929,"name":"_getPoolStateSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9215,"src":"8859:17:54","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_bytes32_$","typeString":"function (PoolId) pure returns (bytes32)"}},"id":8931,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8859:25:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"8839:45:54"},{"assignments":[8934],"declarations":[{"constant":false,"id":8934,"mutability":"mutable","name":"tickBitmapMapping","nameLocation":"8966:17:54","nodeType":"VariableDeclaration","scope":8968,"src":"8958:25:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8933,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8958:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8944,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8942,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":8939,"name":"stateSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8928,"src":"9002:9:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":8938,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8994:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8937,"name":"uint256","nodeType":"ElementaryTypeName","src":"8994:7:54","typeDescriptions":{}}},"id":8940,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8994:18:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":8941,"name":"TICK_BITMAP_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8671,"src":"9015:18:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8994:39:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8936,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8986:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":8935,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8986:7:54","typeDescriptions":{}}},"id":8943,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8986:48:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"8958:76:54"},{"assignments":[8946],"declarations":[{"constant":false,"id":8946,"mutability":"mutable","name":"slot","nameLocation":"9124:4:54","nodeType":"VariableDeclaration","scope":8968,"src":"9116:12:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8945,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9116:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":8957,"initialValue":{"arguments":[{"arguments":[{"arguments":[{"id":8952,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8922,"src":"9165:4:54","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int16","typeString":"int16"}],"id":8951,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9158:6:54","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":8950,"name":"int256","nodeType":"ElementaryTypeName","src":"9158:6:54","typeDescriptions":{}}},"id":8953,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9158:12:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"id":8954,"name":"tickBitmapMapping","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8934,"src":"9172:17:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":8948,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"9141:3:54","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":8949,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9145:12:54","memberName":"encodePacked","nodeType":"MemberAccess","src":"9141:16:54","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":8955,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9141:49:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":8947,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"9131:9:54","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":8956,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9131:60:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"9116:75:54"},{"expression":{"id":8966,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8958,"name":"tickBitmap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8925,"src":"9202:10:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":8963,"name":"slot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8946,"src":"9240:4:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":8961,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8917,"src":"9223:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":8962,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9231:8:54","memberName":"extsload","nodeType":"MemberAccess","referencedDeclaration":3376,"src":"9223:16:54","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view external returns (bytes32)"}},"id":8964,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9223:22:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":8960,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9215:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8959,"name":"uint256","nodeType":"ElementaryTypeName","src":"9215:7:54","typeDescriptions":{}}},"id":8965,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9215:31:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9202:44:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":8967,"nodeType":"ExpressionStatement","src":"9202:44:54"}]},"documentation":{"id":8914,"nodeType":"StructuredDocumentation","src":"8288:336:54","text":" @notice Retrieves the tick bitmap of a pool at a specific tick.\n @dev Corresponds to pools[poolId].tickBitmap[tick]\n @param manager The pool manager contract.\n @param poolId The ID of the pool.\n @param tick The tick to retrieve the bitmap for.\n @return tickBitmap The bitmap of the tick."},"id":8969,"implemented":true,"kind":"function","modifiers":[],"name":"getTickBitmap","nameLocation":"8638:13:54","nodeType":"FunctionDefinition","parameters":{"id":8923,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8917,"mutability":"mutable","name":"manager","nameLocation":"8665:7:54","nodeType":"VariableDeclaration","scope":8969,"src":"8652:20:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":8916,"nodeType":"UserDefinedTypeName","pathNode":{"id":8915,"name":"IPoolManager","nameLocations":["8652:12:54"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"8652:12:54"},"referencedDeclaration":3917,"src":"8652:12:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"},{"constant":false,"id":8920,"mutability":"mutable","name":"poolId","nameLocation":"8681:6:54","nodeType":"VariableDeclaration","scope":8969,"src":"8674:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":8919,"nodeType":"UserDefinedTypeName","pathNode":{"id":8918,"name":"PoolId","nameLocations":["8674:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"8674:6:54"},"referencedDeclaration":11017,"src":"8674:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":8922,"mutability":"mutable","name":"tick","nameLocation":"8695:4:54","nodeType":"VariableDeclaration","scope":8969,"src":"8689:10:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"},"typeName":{"id":8921,"name":"int16","nodeType":"ElementaryTypeName","src":"8689:5:54","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"visibility":"internal"}],"src":"8651:49:54"},"returnParameters":{"id":8926,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8925,"mutability":"mutable","name":"tickBitmap","nameLocation":"8756:10:54","nodeType":"VariableDeclaration","scope":8969,"src":"8748:18:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8924,"name":"uint256","nodeType":"ElementaryTypeName","src":"8748:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8747:20:54"},"scope":9293,"src":"8629:624:54","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":9014,"nodeType":"Block","src":"10269:313:54","statements":[{"assignments":[8994],"declarations":[{"constant":false,"id":8994,"mutability":"mutable","name":"positionKey","nameLocation":"10375:11:54","nodeType":"VariableDeclaration","scope":9014,"src":"10367:19:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8993,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10367:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":9002,"initialValue":{"arguments":[{"id":8997,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8978,"src":"10419:5:54","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":8998,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8980,"src":"10426:9:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":8999,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8982,"src":"10437:9:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":9000,"name":"salt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8984,"src":"10448:4:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":8995,"name":"Position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7897,"src":"10389:8:54","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Position_$7897_$","typeString":"type(library Position)"}},"id":8996,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10398:20:54","memberName":"calculatePositionKey","nodeType":"MemberAccess","referencedDeclaration":7807,"src":"10389:29:54","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_int24_$_t_int24_$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (address,int24,int24,bytes32) pure returns (bytes32)"}},"id":9001,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10389:64:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"10367:86:54"},{"expression":{"id":9012,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":9003,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8987,"src":"10465:9:54","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":9004,"name":"feeGrowthInside0LastX128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8989,"src":"10476:24:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9005,"name":"feeGrowthInside1LastX128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8991,"src":"10502:24:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":9006,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"10464:63:54","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint128_$_t_uint256_$_t_uint256_$","typeString":"tuple(uint128,uint256,uint256)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":9008,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8973,"src":"10546:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},{"id":9009,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8976,"src":"10555:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"id":9010,"name":"positionKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8994,"src":"10563:11:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":9007,"name":"getPositionInfo","nodeType":"Identifier","overloadedDeclarations":[9015,9053],"referencedDeclaration":9053,"src":"10530:15:54","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_contract$_IPoolManager_$3917_$_t_userDefinedValueType$_PoolId_$11017_$_t_bytes32_$returns$_t_uint128_$_t_uint256_$_t_uint256_$","typeString":"function (contract IPoolManager,PoolId,bytes32) view returns (uint128,uint256,uint256)"}},"id":9011,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10530:45:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint128_$_t_uint256_$_t_uint256_$","typeString":"tuple(uint128,uint256,uint256)"}},"src":"10464:111:54","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9013,"nodeType":"ExpressionStatement","src":"10464:111:54"}]},"documentation":{"id":8970,"nodeType":"StructuredDocumentation","src":"9259:716:54","text":" @notice Retrieves the position information of a pool without needing to calculate the `positionId`.\n @dev Corresponds to pools[poolId].positions[positionId]\n @param poolId The ID of the pool.\n @param owner The owner of the liquidity position.\n @param tickLower The lower tick of the liquidity range.\n @param tickUpper The upper tick of the liquidity range.\n @param salt The bytes32 randomness to further distinguish position state.\n @return liquidity The liquidity of the position.\n @return feeGrowthInside0LastX128 The fee growth inside the position for token0.\n @return feeGrowthInside1LastX128 The fee growth inside the position for token1."},"id":9015,"implemented":true,"kind":"function","modifiers":[],"name":"getPositionInfo","nameLocation":"9989:15:54","nodeType":"FunctionDefinition","parameters":{"id":8985,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8973,"mutability":"mutable","name":"manager","nameLocation":"10027:7:54","nodeType":"VariableDeclaration","scope":9015,"src":"10014:20:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":8972,"nodeType":"UserDefinedTypeName","pathNode":{"id":8971,"name":"IPoolManager","nameLocations":["10014:12:54"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"10014:12:54"},"referencedDeclaration":3917,"src":"10014:12:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"},{"constant":false,"id":8976,"mutability":"mutable","name":"poolId","nameLocation":"10051:6:54","nodeType":"VariableDeclaration","scope":9015,"src":"10044:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":8975,"nodeType":"UserDefinedTypeName","pathNode":{"id":8974,"name":"PoolId","nameLocations":["10044:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"10044:6:54"},"referencedDeclaration":11017,"src":"10044:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":8978,"mutability":"mutable","name":"owner","nameLocation":"10075:5:54","nodeType":"VariableDeclaration","scope":9015,"src":"10067:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8977,"name":"address","nodeType":"ElementaryTypeName","src":"10067:7:54","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8980,"mutability":"mutable","name":"tickLower","nameLocation":"10096:9:54","nodeType":"VariableDeclaration","scope":9015,"src":"10090:15:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":8979,"name":"int24","nodeType":"ElementaryTypeName","src":"10090:5:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":8982,"mutability":"mutable","name":"tickUpper","nameLocation":"10121:9:54","nodeType":"VariableDeclaration","scope":9015,"src":"10115:15:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":8981,"name":"int24","nodeType":"ElementaryTypeName","src":"10115:5:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":8984,"mutability":"mutable","name":"salt","nameLocation":"10148:4:54","nodeType":"VariableDeclaration","scope":9015,"src":"10140:12:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8983,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10140:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"10004:154:54"},"returnParameters":{"id":8992,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8987,"mutability":"mutable","name":"liquidity","nameLocation":"10190:9:54","nodeType":"VariableDeclaration","scope":9015,"src":"10182:17:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":8986,"name":"uint128","nodeType":"ElementaryTypeName","src":"10182:7:54","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":8989,"mutability":"mutable","name":"feeGrowthInside0LastX128","nameLocation":"10209:24:54","nodeType":"VariableDeclaration","scope":9015,"src":"10201:32:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8988,"name":"uint256","nodeType":"ElementaryTypeName","src":"10201:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8991,"mutability":"mutable","name":"feeGrowthInside1LastX128","nameLocation":"10243:24:54","nodeType":"VariableDeclaration","scope":9015,"src":"10235:32:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8990,"name":"uint256","nodeType":"ElementaryTypeName","src":"10235:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10181:87:54"},"scope":9293,"src":"9980:602:54","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":9052,"nodeType":"Block","src":"11343:403:54","statements":[{"assignments":[9034],"declarations":[{"constant":false,"id":9034,"mutability":"mutable","name":"slot","nameLocation":"11361:4:54","nodeType":"VariableDeclaration","scope":9052,"src":"11353:12:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9033,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11353:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":9039,"initialValue":{"arguments":[{"id":9036,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9022,"src":"11389:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"id":9037,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9024,"src":"11397:10:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":9035,"name":"_getPositionInfoSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9292,"src":"11368:20:54","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PoolId_$11017_$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (PoolId,bytes32) pure returns (bytes32)"}},"id":9038,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11368:40:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"11353:55:54"},{"assignments":[9044],"declarations":[{"constant":false,"id":9044,"mutability":"mutable","name":"data","nameLocation":"11493:4:54","nodeType":"VariableDeclaration","scope":9052,"src":"11476:21:54","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":9042,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11476:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":9043,"nodeType":"ArrayTypeName","src":"11476:9:54","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":9050,"initialValue":{"arguments":[{"id":9047,"name":"slot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"11517:4:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"hexValue":"33","id":9048,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11523:1:54","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"}],"expression":{"id":9045,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9019,"src":"11500:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":9046,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11508:8:54","memberName":"extsload","nodeType":"MemberAccess","referencedDeclaration":3387,"src":"11500:16:54","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$","typeString":"function (bytes32,uint256) view external returns (bytes32[] memory)"}},"id":9049,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11500:25:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"11476:49:54"},{"AST":{"nativeSrc":"11561:179:54","nodeType":"YulBlock","src":"11561:179:54","statements":[{"nativeSrc":"11575:33:54","nodeType":"YulAssignment","src":"11575:33:54","value":{"arguments":[{"arguments":[{"name":"data","nativeSrc":"11598:4:54","nodeType":"YulIdentifier","src":"11598:4:54"},{"kind":"number","nativeSrc":"11604:2:54","nodeType":"YulLiteral","src":"11604:2:54","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"11594:3:54","nodeType":"YulIdentifier","src":"11594:3:54"},"nativeSrc":"11594:13:54","nodeType":"YulFunctionCall","src":"11594:13:54"}],"functionName":{"name":"mload","nativeSrc":"11588:5:54","nodeType":"YulIdentifier","src":"11588:5:54"},"nativeSrc":"11588:20:54","nodeType":"YulFunctionCall","src":"11588:20:54"},"variableNames":[{"name":"liquidity","nativeSrc":"11575:9:54","nodeType":"YulIdentifier","src":"11575:9:54"}]},{"nativeSrc":"11621:48:54","nodeType":"YulAssignment","src":"11621:48:54","value":{"arguments":[{"arguments":[{"name":"data","nativeSrc":"11659:4:54","nodeType":"YulIdentifier","src":"11659:4:54"},{"kind":"number","nativeSrc":"11665:2:54","nodeType":"YulLiteral","src":"11665:2:54","type":"","value":"64"}],"functionName":{"name":"add","nativeSrc":"11655:3:54","nodeType":"YulIdentifier","src":"11655:3:54"},"nativeSrc":"11655:13:54","nodeType":"YulFunctionCall","src":"11655:13:54"}],"functionName":{"name":"mload","nativeSrc":"11649:5:54","nodeType":"YulIdentifier","src":"11649:5:54"},"nativeSrc":"11649:20:54","nodeType":"YulFunctionCall","src":"11649:20:54"},"variableNames":[{"name":"feeGrowthInside0LastX128","nativeSrc":"11621:24:54","nodeType":"YulIdentifier","src":"11621:24:54"}]},{"nativeSrc":"11682:48:54","nodeType":"YulAssignment","src":"11682:48:54","value":{"arguments":[{"arguments":[{"name":"data","nativeSrc":"11720:4:54","nodeType":"YulIdentifier","src":"11720:4:54"},{"kind":"number","nativeSrc":"11726:2:54","nodeType":"YulLiteral","src":"11726:2:54","type":"","value":"96"}],"functionName":{"name":"add","nativeSrc":"11716:3:54","nodeType":"YulIdentifier","src":"11716:3:54"},"nativeSrc":"11716:13:54","nodeType":"YulFunctionCall","src":"11716:13:54"}],"functionName":{"name":"mload","nativeSrc":"11710:5:54","nodeType":"YulIdentifier","src":"11710:5:54"},"nativeSrc":"11710:20:54","nodeType":"YulFunctionCall","src":"11710:20:54"},"variableNames":[{"name":"feeGrowthInside1LastX128","nativeSrc":"11682:24:54","nodeType":"YulIdentifier","src":"11682:24:54"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":9044,"isOffset":false,"isSlot":false,"src":"11598:4:54","valueSize":1},{"declaration":9044,"isOffset":false,"isSlot":false,"src":"11659:4:54","valueSize":1},{"declaration":9044,"isOffset":false,"isSlot":false,"src":"11720:4:54","valueSize":1},{"declaration":9029,"isOffset":false,"isSlot":false,"src":"11621:24:54","valueSize":1},{"declaration":9031,"isOffset":false,"isSlot":false,"src":"11682:24:54","valueSize":1},{"declaration":9027,"isOffset":false,"isSlot":false,"src":"11575:9:54","valueSize":1}],"flags":["memory-safe"],"id":9051,"nodeType":"InlineAssembly","src":"11536:204:54"}]},"documentation":{"id":9016,"nodeType":"StructuredDocumentation","src":"10588:530:54","text":" @notice Retrieves the position information of a pool at a specific position ID.\n @dev Corresponds to pools[poolId].positions[positionId]\n @param manager The pool manager contract.\n @param poolId The ID of the pool.\n @param positionId The ID of the position.\n @return liquidity The liquidity of the position.\n @return feeGrowthInside0LastX128 The fee growth inside the position for token0.\n @return feeGrowthInside1LastX128 The fee growth inside the position for token1."},"id":9053,"implemented":true,"kind":"function","modifiers":[],"name":"getPositionInfo","nameLocation":"11132:15:54","nodeType":"FunctionDefinition","parameters":{"id":9025,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9019,"mutability":"mutable","name":"manager","nameLocation":"11161:7:54","nodeType":"VariableDeclaration","scope":9053,"src":"11148:20:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":9018,"nodeType":"UserDefinedTypeName","pathNode":{"id":9017,"name":"IPoolManager","nameLocations":["11148:12:54"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"11148:12:54"},"referencedDeclaration":3917,"src":"11148:12:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"},{"constant":false,"id":9022,"mutability":"mutable","name":"poolId","nameLocation":"11177:6:54","nodeType":"VariableDeclaration","scope":9053,"src":"11170:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":9021,"nodeType":"UserDefinedTypeName","pathNode":{"id":9020,"name":"PoolId","nameLocations":["11170:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"11170:6:54"},"referencedDeclaration":11017,"src":"11170:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":9024,"mutability":"mutable","name":"positionId","nameLocation":"11193:10:54","nodeType":"VariableDeclaration","scope":9053,"src":"11185:18:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9023,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11185:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"11147:57:54"},"returnParameters":{"id":9032,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9027,"mutability":"mutable","name":"liquidity","nameLocation":"11260:9:54","nodeType":"VariableDeclaration","scope":9053,"src":"11252:17:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":9026,"name":"uint128","nodeType":"ElementaryTypeName","src":"11252:7:54","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":9029,"mutability":"mutable","name":"feeGrowthInside0LastX128","nameLocation":"11279:24:54","nodeType":"VariableDeclaration","scope":9053,"src":"11271:32:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9028,"name":"uint256","nodeType":"ElementaryTypeName","src":"11271:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9031,"mutability":"mutable","name":"feeGrowthInside1LastX128","nameLocation":"11313:24:54","nodeType":"VariableDeclaration","scope":9053,"src":"11305:32:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9030,"name":"uint256","nodeType":"ElementaryTypeName","src":"11305:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11251:87:54"},"scope":9293,"src":"11123:623:54","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":9087,"nodeType":"Block","src":"12329:134:54","statements":[{"assignments":[9068],"declarations":[{"constant":false,"id":9068,"mutability":"mutable","name":"slot","nameLocation":"12347:4:54","nodeType":"VariableDeclaration","scope":9087,"src":"12339:12:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9067,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12339:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":9073,"initialValue":{"arguments":[{"id":9070,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9060,"src":"12375:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"id":9071,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9062,"src":"12383:10:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":9069,"name":"_getPositionInfoSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9292,"src":"12354:20:54","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PoolId_$11017_$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (PoolId,bytes32) pure returns (bytes32)"}},"id":9072,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12354:40:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"12339:55:54"},{"expression":{"id":9085,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9074,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9065,"src":"12404:9:54","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"arguments":[{"id":9081,"name":"slot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9068,"src":"12449:4:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":9079,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9057,"src":"12432:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":9080,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12440:8:54","memberName":"extsload","nodeType":"MemberAccess","referencedDeclaration":3376,"src":"12432:16:54","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view external returns (bytes32)"}},"id":9082,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12432:22:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":9078,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12424:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":9077,"name":"uint256","nodeType":"ElementaryTypeName","src":"12424:7:54","typeDescriptions":{}}},"id":9083,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12424:31:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":9076,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12416:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":9075,"name":"uint128","nodeType":"ElementaryTypeName","src":"12416:7:54","typeDescriptions":{}}},"id":9084,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12416:40:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"12404:52:54","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":9086,"nodeType":"ExpressionStatement","src":"12404:52:54"}]},"documentation":{"id":9054,"nodeType":"StructuredDocumentation","src":"11752:415:54","text":" @notice Retrieves the liquidity of a position.\n @dev Corresponds to pools[poolId].positions[positionId].liquidity. More gas efficient for just retrieiving liquidity as compared to getPositionInfo\n @param manager The pool manager contract.\n @param poolId The ID of the pool.\n @param positionId The ID of the position.\n @return liquidity The liquidity of the position."},"id":9088,"implemented":true,"kind":"function","modifiers":[],"name":"getPositionLiquidity","nameLocation":"12181:20:54","nodeType":"FunctionDefinition","parameters":{"id":9063,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9057,"mutability":"mutable","name":"manager","nameLocation":"12215:7:54","nodeType":"VariableDeclaration","scope":9088,"src":"12202:20:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":9056,"nodeType":"UserDefinedTypeName","pathNode":{"id":9055,"name":"IPoolManager","nameLocations":["12202:12:54"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"12202:12:54"},"referencedDeclaration":3917,"src":"12202:12:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"},{"constant":false,"id":9060,"mutability":"mutable","name":"poolId","nameLocation":"12231:6:54","nodeType":"VariableDeclaration","scope":9088,"src":"12224:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":9059,"nodeType":"UserDefinedTypeName","pathNode":{"id":9058,"name":"PoolId","nameLocations":["12224:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"12224:6:54"},"referencedDeclaration":11017,"src":"12224:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":9062,"mutability":"mutable","name":"positionId","nameLocation":"12247:10:54","nodeType":"VariableDeclaration","scope":9088,"src":"12239:18:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9061,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12239:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"12201:57:54"},"returnParameters":{"id":9066,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9065,"mutability":"mutable","name":"liquidity","nameLocation":"12314:9:54","nodeType":"VariableDeclaration","scope":9088,"src":"12306:17:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":9064,"name":"uint128","nodeType":"ElementaryTypeName","src":"12306:7:54","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"12305:19:54"},"scope":9293,"src":"12172:291:54","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":9194,"nodeType":"Block","src":"13292:1255:54","statements":[{"assignments":[9107,9109],"declarations":[{"constant":false,"id":9107,"mutability":"mutable","name":"feeGrowthGlobal0X128","nameLocation":"13311:20:54","nodeType":"VariableDeclaration","scope":9194,"src":"13303:28:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9106,"name":"uint256","nodeType":"ElementaryTypeName","src":"13303:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9109,"mutability":"mutable","name":"feeGrowthGlobal1X128","nameLocation":"13341:20:54","nodeType":"VariableDeclaration","scope":9194,"src":"13333:28:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9108,"name":"uint256","nodeType":"ElementaryTypeName","src":"13333:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9114,"initialValue":{"arguments":[{"id":9111,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9092,"src":"13385:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},{"id":9112,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9095,"src":"13394:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"id":9110,"name":"getFeeGrowthGlobals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8869,"src":"13365:19:54","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_contract$_IPoolManager_$3917_$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_uint256_$_t_uint256_$","typeString":"function (contract IPoolManager,PoolId) view returns (uint256,uint256)"}},"id":9113,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13365:36:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"13302:99:54"},{"assignments":[9116,9118],"declarations":[{"constant":false,"id":9116,"mutability":"mutable","name":"lowerFeeGrowthOutside0X128","nameLocation":"13421:26:54","nodeType":"VariableDeclaration","scope":9194,"src":"13413:34:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9115,"name":"uint256","nodeType":"ElementaryTypeName","src":"13413:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9118,"mutability":"mutable","name":"lowerFeeGrowthOutside1X128","nameLocation":"13457:26:54","nodeType":"VariableDeclaration","scope":9194,"src":"13449:34:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9117,"name":"uint256","nodeType":"ElementaryTypeName","src":"13449:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9124,"initialValue":{"arguments":[{"id":9120,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9092,"src":"13523:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},{"id":9121,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9095,"src":"13532:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"id":9122,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9097,"src":"13540:9:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_int24","typeString":"int24"}],"id":9119,"name":"getTickFeeGrowthOutside","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8824,"src":"13499:23:54","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_contract$_IPoolManager_$3917_$_t_userDefinedValueType$_PoolId_$11017_$_t_int24_$returns$_t_uint256_$_t_uint256_$","typeString":"function (contract IPoolManager,PoolId,int24) view returns (uint256,uint256)"}},"id":9123,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13499:51:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"13412:138:54"},{"assignments":[9126,9128],"declarations":[{"constant":false,"id":9126,"mutability":"mutable","name":"upperFeeGrowthOutside0X128","nameLocation":"13569:26:54","nodeType":"VariableDeclaration","scope":9194,"src":"13561:34:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9125,"name":"uint256","nodeType":"ElementaryTypeName","src":"13561:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9128,"mutability":"mutable","name":"upperFeeGrowthOutside1X128","nameLocation":"13605:26:54","nodeType":"VariableDeclaration","scope":9194,"src":"13597:34:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9127,"name":"uint256","nodeType":"ElementaryTypeName","src":"13597:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9134,"initialValue":{"arguments":[{"id":9130,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9092,"src":"13671:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},{"id":9131,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9095,"src":"13680:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"id":9132,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9099,"src":"13688:9:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_int24","typeString":"int24"}],"id":9129,"name":"getTickFeeGrowthOutside","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8824,"src":"13647:23:54","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_contract$_IPoolManager_$3917_$_t_userDefinedValueType$_PoolId_$11017_$_t_int24_$returns$_t_uint256_$_t_uint256_$","typeString":"function (contract IPoolManager,PoolId,int24) view returns (uint256,uint256)"}},"id":9133,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13647:51:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"13560:138:54"},{"assignments":[null,9136,null,null],"declarations":[null,{"constant":false,"id":9136,"mutability":"mutable","name":"tickCurrent","nameLocation":"13717:11:54","nodeType":"VariableDeclaration","scope":9194,"src":"13711:17:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9135,"name":"int24","nodeType":"ElementaryTypeName","src":"13711:5:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},null,null],"id":9141,"initialValue":{"arguments":[{"id":9138,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9092,"src":"13743:7:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},{"id":9139,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9095,"src":"13752:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"id":9137,"name":"getSlot0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8708,"src":"13734:8:54","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_contract$_IPoolManager_$3917_$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_uint160_$_t_int24_$_t_uint24_$_t_uint24_$","typeString":"function (contract IPoolManager,PoolId) view returns (uint160,int24,uint24,uint24)"}},"id":9140,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13734:25:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint24_$_t_uint24_$","typeString":"tuple(uint160,int24,uint24,uint24)"}},"nodeType":"VariableDeclarationStatement","src":"13708:51:54"},{"id":9193,"nodeType":"UncheckedBlock","src":"13769:772:54","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9144,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9142,"name":"tickCurrent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9136,"src":"13797:11:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":9143,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9097,"src":"13811:9:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"13797:23:54","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9160,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9158,"name":"tickCurrent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9136,"src":"14039:11:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":9159,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9099,"src":"14054:9:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"14039:24:54","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":9190,"nodeType":"Block","src":"14278:253:54","statements":[{"expression":{"id":9180,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9174,"name":"feeGrowthInside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9102,"src":"14296:20:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9179,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9177,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9175,"name":"feeGrowthGlobal0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9107,"src":"14319:20:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9176,"name":"lowerFeeGrowthOutside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9116,"src":"14342:26:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14319:49:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9178,"name":"upperFeeGrowthOutside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9126,"src":"14371:26:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14319:78:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14296:101:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9181,"nodeType":"ExpressionStatement","src":"14296:101:54"},{"expression":{"id":9188,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9182,"name":"feeGrowthInside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9104,"src":"14415:20:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9187,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9185,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9183,"name":"feeGrowthGlobal1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9109,"src":"14438:20:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9184,"name":"lowerFeeGrowthOutside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9118,"src":"14461:26:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14438:49:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9186,"name":"upperFeeGrowthOutside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9128,"src":"14490:26:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14438:78:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14415:101:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9189,"nodeType":"ExpressionStatement","src":"14415:101:54"}]},"id":9191,"nodeType":"IfStatement","src":"14035:496:54","trueBody":{"id":9173,"nodeType":"Block","src":"14065:207:54","statements":[{"expression":{"id":9165,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9161,"name":"feeGrowthInside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9102,"src":"14083:20:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9164,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9162,"name":"upperFeeGrowthOutside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9126,"src":"14106:26:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9163,"name":"lowerFeeGrowthOutside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9116,"src":"14135:26:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14106:55:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14083:78:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9166,"nodeType":"ExpressionStatement","src":"14083:78:54"},{"expression":{"id":9171,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9167,"name":"feeGrowthInside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9104,"src":"14179:20:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9170,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9168,"name":"upperFeeGrowthOutside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9128,"src":"14202:26:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9169,"name":"lowerFeeGrowthOutside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9118,"src":"14231:26:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14202:55:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14179:78:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9172,"nodeType":"ExpressionStatement","src":"14179:78:54"}]}},"id":9192,"nodeType":"IfStatement","src":"13793:738:54","trueBody":{"id":9157,"nodeType":"Block","src":"13822:207:54","statements":[{"expression":{"id":9149,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9145,"name":"feeGrowthInside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9102,"src":"13840:20:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9148,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9146,"name":"lowerFeeGrowthOutside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9116,"src":"13863:26:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9147,"name":"upperFeeGrowthOutside0X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9126,"src":"13892:26:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13863:55:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13840:78:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9150,"nodeType":"ExpressionStatement","src":"13840:78:54"},{"expression":{"id":9155,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9151,"name":"feeGrowthInside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9104,"src":"13936:20:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9154,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9152,"name":"lowerFeeGrowthOutside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9118,"src":"13959:26:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9153,"name":"upperFeeGrowthOutside1X128","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9128,"src":"13988:26:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13959:55:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13936:78:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9156,"nodeType":"ExpressionStatement","src":"13936:78:54"}]}}]}]},"documentation":{"id":9089,"nodeType":"StructuredDocumentation","src":"12469:608:54","text":" @notice Calculate the fee growth inside a tick range of a pool\n @dev pools[poolId].feeGrowthInside0LastX128 in Position.State is cached and can become stale. This function will calculate the up to date feeGrowthInside\n @param manager The pool manager contract.\n @param poolId The ID of the pool.\n @param tickLower The lower tick of the range.\n @param tickUpper The upper tick of the range.\n @return feeGrowthInside0X128 The fee growth inside the tick range for token0.\n @return feeGrowthInside1X128 The fee growth inside the tick range for token1."},"id":9195,"implemented":true,"kind":"function","modifiers":[],"name":"getFeeGrowthInside","nameLocation":"13091:18:54","nodeType":"FunctionDefinition","parameters":{"id":9100,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9092,"mutability":"mutable","name":"manager","nameLocation":"13123:7:54","nodeType":"VariableDeclaration","scope":9195,"src":"13110:20:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":9091,"nodeType":"UserDefinedTypeName","pathNode":{"id":9090,"name":"IPoolManager","nameLocations":["13110:12:54"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"13110:12:54"},"referencedDeclaration":3917,"src":"13110:12:54","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"},{"constant":false,"id":9095,"mutability":"mutable","name":"poolId","nameLocation":"13139:6:54","nodeType":"VariableDeclaration","scope":9195,"src":"13132:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":9094,"nodeType":"UserDefinedTypeName","pathNode":{"id":9093,"name":"PoolId","nameLocations":["13132:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"13132:6:54"},"referencedDeclaration":11017,"src":"13132:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":9097,"mutability":"mutable","name":"tickLower","nameLocation":"13153:9:54","nodeType":"VariableDeclaration","scope":9195,"src":"13147:15:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9096,"name":"int24","nodeType":"ElementaryTypeName","src":"13147:5:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":9099,"mutability":"mutable","name":"tickUpper","nameLocation":"13170:9:54","nodeType":"VariableDeclaration","scope":9195,"src":"13164:15:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9098,"name":"int24","nodeType":"ElementaryTypeName","src":"13164:5:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"13109:71:54"},"returnParameters":{"id":9105,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9102,"mutability":"mutable","name":"feeGrowthInside0X128","nameLocation":"13236:20:54","nodeType":"VariableDeclaration","scope":9195,"src":"13228:28:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9101,"name":"uint256","nodeType":"ElementaryTypeName","src":"13228:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9104,"mutability":"mutable","name":"feeGrowthInside1X128","nameLocation":"13266:20:54","nodeType":"VariableDeclaration","scope":9195,"src":"13258:28:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9103,"name":"uint256","nodeType":"ElementaryTypeName","src":"13258:7:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13227:60:54"},"scope":9293,"src":"13082:1465:54","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":9214,"nodeType":"Block","src":"14627:86:54","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[{"id":9208,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9198,"src":"14685:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"expression":{"id":9206,"name":"PoolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11017,"src":"14671:6:54","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_PoolId_$11017_$","typeString":"type(PoolId)"}},"id":9207,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14678:6:54","memberName":"unwrap","nodeType":"MemberAccess","src":"14671:13:54","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_bytes32_$","typeString":"function (PoolId) pure returns (bytes32)"}},"id":9209,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14671:21:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9210,"name":"POOLS_SLOT","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8655,"src":"14694:10:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":9204,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"14654:3:54","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":9205,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14658:12:54","memberName":"encodePacked","nodeType":"MemberAccess","src":"14654:16:54","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":9211,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14654:51:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":9203,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"14644:9:54","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":9212,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14644:62:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":9202,"id":9213,"nodeType":"Return","src":"14637:69:54"}]},"id":9215,"implemented":true,"kind":"function","modifiers":[],"name":"_getPoolStateSlot","nameLocation":"14562:17:54","nodeType":"FunctionDefinition","parameters":{"id":9199,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9198,"mutability":"mutable","name":"poolId","nameLocation":"14587:6:54","nodeType":"VariableDeclaration","scope":9215,"src":"14580:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":9197,"nodeType":"UserDefinedTypeName","pathNode":{"id":9196,"name":"PoolId","nameLocations":["14580:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"14580:6:54"},"referencedDeclaration":11017,"src":"14580:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"}],"src":"14579:15:54"},"returnParameters":{"id":9202,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9201,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":9215,"src":"14618:7:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9200,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14618:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"14617:9:54"},"scope":9293,"src":"14553:160:54","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":9254,"nodeType":"Block","src":"14804:398:54","statements":[{"assignments":[9226],"declarations":[{"constant":false,"id":9226,"mutability":"mutable","name":"stateSlot","nameLocation":"14879:9:54","nodeType":"VariableDeclaration","scope":9254,"src":"14871:17:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9225,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14871:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":9230,"initialValue":{"arguments":[{"id":9228,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9218,"src":"14909:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"id":9227,"name":"_getPoolStateSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9215,"src":"14891:17:54","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_bytes32_$","typeString":"function (PoolId) pure returns (bytes32)"}},"id":9229,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14891:25:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"14871:45:54"},{"assignments":[9232],"declarations":[{"constant":false,"id":9232,"mutability":"mutable","name":"ticksMappingSlot","nameLocation":"14993:16:54","nodeType":"VariableDeclaration","scope":9254,"src":"14985:24:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9231,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14985:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":9242,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9240,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":9237,"name":"stateSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9226,"src":"15028:9:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":9236,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15020:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":9235,"name":"uint256","nodeType":"ElementaryTypeName","src":"15020:7:54","typeDescriptions":{}}},"id":9238,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15020:18:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":9239,"name":"TICKS_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8667,"src":"15041:12:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15020:33:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":9234,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15012:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":9233,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15012:7:54","typeDescriptions":{}}},"id":9241,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15012:42:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"14985:69:54"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"id":9248,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9220,"src":"15170:4:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"id":9247,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15163:6:54","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":9246,"name":"int256","nodeType":"ElementaryTypeName","src":"15163:6:54","typeDescriptions":{}}},"id":9249,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15163:12:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"id":9250,"name":"ticksMappingSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"15177:16:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":9244,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"15146:3:54","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":9245,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15150:12:54","memberName":"encodePacked","nodeType":"MemberAccess","src":"15146:16:54","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":9251,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15146:48:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":9243,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"15136:9:54","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":9252,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15136:59:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":9224,"id":9253,"nodeType":"Return","src":"15129:66:54"}]},"id":9255,"implemented":true,"kind":"function","modifiers":[],"name":"_getTickInfoSlot","nameLocation":"14728:16:54","nodeType":"FunctionDefinition","parameters":{"id":9221,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9218,"mutability":"mutable","name":"poolId","nameLocation":"14752:6:54","nodeType":"VariableDeclaration","scope":9255,"src":"14745:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":9217,"nodeType":"UserDefinedTypeName","pathNode":{"id":9216,"name":"PoolId","nameLocations":["14745:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"14745:6:54"},"referencedDeclaration":11017,"src":"14745:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":9220,"mutability":"mutable","name":"tick","nameLocation":"14766:4:54","nodeType":"VariableDeclaration","scope":9255,"src":"14760:10:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9219,"name":"int24","nodeType":"ElementaryTypeName","src":"14760:5:54","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"14744:27:54"},"returnParameters":{"id":9224,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9223,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":9255,"src":"14795:7:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9222,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14795:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"14794:9:54"},"scope":9293,"src":"14719:483:54","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":9291,"nodeType":"Block","src":"15305:420:54","statements":[{"assignments":[9266],"declarations":[{"constant":false,"id":9266,"mutability":"mutable","name":"stateSlot","nameLocation":"15380:9:54","nodeType":"VariableDeclaration","scope":9291,"src":"15372:17:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9265,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15372:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":9270,"initialValue":{"arguments":[{"id":9268,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9258,"src":"15410:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"id":9267,"name":"_getPoolStateSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9215,"src":"15392:17:54","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_bytes32_$","typeString":"function (PoolId) pure returns (bytes32)"}},"id":9269,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15392:25:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"15372:45:54"},{"assignments":[9272],"declarations":[{"constant":false,"id":9272,"mutability":"mutable","name":"positionMapping","nameLocation":"15507:15:54","nodeType":"VariableDeclaration","scope":9291,"src":"15499:23:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9271,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15499:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":9282,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9280,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":9277,"name":"stateSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9266,"src":"15541:9:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":9276,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15533:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":9275,"name":"uint256","nodeType":"ElementaryTypeName","src":"15533:7:54","typeDescriptions":{}}},"id":9278,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15533:18:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":9279,"name":"POSITIONS_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8675,"src":"15554:16:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15533:37:54","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":9274,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15525:7:54","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":9273,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15525:7:54","typeDescriptions":{}}},"id":9281,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15525:46:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"15499:72:54"},{"expression":{"arguments":[{"arguments":[{"id":9286,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9260,"src":"15689:10:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9287,"name":"positionMapping","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9272,"src":"15701:15:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":9284,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"15672:3:54","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":9285,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15676:12:54","memberName":"encodePacked","nodeType":"MemberAccess","src":"15672:16:54","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":9288,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15672:45:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":9283,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"15662:9:54","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":9289,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15662:56:54","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":9264,"id":9290,"nodeType":"Return","src":"15655:63:54"}]},"id":9292,"implemented":true,"kind":"function","modifiers":[],"name":"_getPositionInfoSlot","nameLocation":"15217:20:54","nodeType":"FunctionDefinition","parameters":{"id":9261,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9258,"mutability":"mutable","name":"poolId","nameLocation":"15245:6:54","nodeType":"VariableDeclaration","scope":9292,"src":"15238:13:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":9257,"nodeType":"UserDefinedTypeName","pathNode":{"id":9256,"name":"PoolId","nameLocations":["15238:6:54"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"15238:6:54"},"referencedDeclaration":11017,"src":"15238:6:54","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"},{"constant":false,"id":9260,"mutability":"mutable","name":"positionId","nameLocation":"15261:10:54","nodeType":"VariableDeclaration","scope":9292,"src":"15253:18:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9259,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15253:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"15237:35:54"},"returnParameters":{"id":9264,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9263,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":9292,"src":"15296:7:54","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9262,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15296:7:54","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"15295:9:54"},"scope":9293,"src":"15208:517:54","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":9294,"src":"276:15451:54","usedErrors":[],"usedEvents":[]}],"src":"32:15696:54"},"id":54},"@uniswap/v4-core/src/libraries/SwapMath.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/SwapMath.sol","exportedSymbols":{"FullMath":[4636],"SqrtPriceMath":[8636],"SwapMath":[9545]},"id":9546,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":9295,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:55"},{"absolutePath":"@uniswap/v4-core/src/libraries/FullMath.sol","file":"./FullMath.sol","id":9297,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":9546,"sourceUnit":4637,"src":"57:40:55","symbolAliases":[{"foreign":{"id":9296,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"65:8:55","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol","file":"./SqrtPriceMath.sol","id":9299,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":9546,"sourceUnit":8637,"src":"98:50:55","symbolAliases":[{"foreign":{"id":9298,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"106:13:55","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"SwapMath","contractDependencies":[],"contractKind":"library","documentation":{"id":9300,"nodeType":"StructuredDocumentation","src":"150:173:55","text":"@title Computes the result of a swap within ticks\n @notice Contains methods for computing the result of a swap within a single tick price range, i.e., a single tick."},"fullyImplemented":true,"id":9545,"linearizedBaseContracts":[9545],"name":"SwapMath","nameLocation":"331:8:55","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":9301,"nodeType":"StructuredDocumentation","src":"346:171:55","text":"@notice the swap fee is represented in hundredths of a bip, so the max is 100%\n @dev the swap fee is the total fee on a swap, including both LP and Protocol fee"},"id":9304,"mutability":"constant","name":"MAX_SWAP_FEE","nameLocation":"548:12:55","nodeType":"VariableDeclaration","scope":9545,"src":"522:44:55","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9302,"name":"uint256","nodeType":"ElementaryTypeName","src":"522:7:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"316536","id":9303,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"563:3:55","typeDescriptions":{"typeIdentifier":"t_rational_1000000_by_1","typeString":"int_const 1000000"},"value":"1e6"},"visibility":"internal"},{"body":{"id":9317,"nodeType":"Block","src":"1318:935:55","statements":[{"AST":{"nativeSrc":"1353:894:55","nodeType":"YulBlock","src":"1353:894:55","statements":[{"nativeSrc":"1802:85:55","nodeType":"YulAssignment","src":"1802:85:55","value":{"arguments":[{"name":"sqrtPriceNextX96","nativeSrc":"1826:16:55","nodeType":"YulIdentifier","src":"1826:16:55"},{"kind":"number","nativeSrc":"1844:42:55","nodeType":"YulLiteral","src":"1844:42:55","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"1822:3:55","nodeType":"YulIdentifier","src":"1822:3:55"},"nativeSrc":"1822:65:55","nodeType":"YulFunctionCall","src":"1822:65:55"},"variableNames":[{"name":"sqrtPriceNextX96","nativeSrc":"1802:16:55","nodeType":"YulIdentifier","src":"1802:16:55"}]},{"nativeSrc":"1900:87:55","nodeType":"YulAssignment","src":"1900:87:55","value":{"arguments":[{"name":"sqrtPriceLimitX96","nativeSrc":"1925:17:55","nodeType":"YulIdentifier","src":"1925:17:55"},{"kind":"number","nativeSrc":"1944:42:55","nodeType":"YulLiteral","src":"1944:42:55","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"1921:3:55","nodeType":"YulIdentifier","src":"1921:3:55"},"nativeSrc":"1921:66:55","nodeType":"YulFunctionCall","src":"1921:66:55"},"variableNames":[{"name":"sqrtPriceLimitX96","nativeSrc":"1900:17:55","nodeType":"YulIdentifier","src":"1900:17:55"}]},{"nativeSrc":"2000:85:55","nodeType":"YulVariableDeclaration","src":"2000:85:55","value":{"arguments":[{"arguments":[{"name":"sqrtPriceNextX96","nativeSrc":"2026:16:55","nodeType":"YulIdentifier","src":"2026:16:55"},{"name":"sqrtPriceLimitX96","nativeSrc":"2044:17:55","nodeType":"YulIdentifier","src":"2044:17:55"}],"functionName":{"name":"lt","nativeSrc":"2023:2:55","nodeType":"YulIdentifier","src":"2023:2:55"},"nativeSrc":"2023:39:55","nodeType":"YulFunctionCall","src":"2023:39:55"},{"arguments":[{"name":"zeroForOne","nativeSrc":"2068:10:55","nodeType":"YulIdentifier","src":"2068:10:55"},{"kind":"number","nativeSrc":"2080:3:55","nodeType":"YulLiteral","src":"2080:3:55","type":"","value":"0x1"}],"functionName":{"name":"and","nativeSrc":"2064:3:55","nodeType":"YulIdentifier","src":"2064:3:55"},"nativeSrc":"2064:20:55","nodeType":"YulFunctionCall","src":"2064:20:55"}],"functionName":{"name":"xor","nativeSrc":"2019:3:55","nodeType":"YulIdentifier","src":"2019:3:55"},"nativeSrc":"2019:66:55","nodeType":"YulFunctionCall","src":"2019:66:55"},"variables":[{"name":"nextOrLimit","nativeSrc":"2004:11:55","nodeType":"YulTypedName","src":"2004:11:55","type":""}]},{"nativeSrc":"2098:55:55","nodeType":"YulVariableDeclaration","src":"2098:55:55","value":{"arguments":[{"name":"sqrtPriceNextX96","nativeSrc":"2117:16:55","nodeType":"YulIdentifier","src":"2117:16:55"},{"name":"sqrtPriceLimitX96","nativeSrc":"2135:17:55","nodeType":"YulIdentifier","src":"2135:17:55"}],"functionName":{"name":"xor","nativeSrc":"2113:3:55","nodeType":"YulIdentifier","src":"2113:3:55"},"nativeSrc":"2113:40:55","nodeType":"YulFunctionCall","src":"2113:40:55"},"variables":[{"name":"symDiff","nativeSrc":"2102:7:55","nodeType":"YulTypedName","src":"2102:7:55","type":""}]},{"nativeSrc":"2166:71:55","nodeType":"YulAssignment","src":"2166:71:55","value":{"arguments":[{"name":"sqrtPriceLimitX96","nativeSrc":"2192:17:55","nodeType":"YulIdentifier","src":"2192:17:55"},{"arguments":[{"name":"symDiff","nativeSrc":"2215:7:55","nodeType":"YulIdentifier","src":"2215:7:55"},{"name":"nextOrLimit","nativeSrc":"2224:11:55","nodeType":"YulIdentifier","src":"2224:11:55"}],"functionName":{"name":"mul","nativeSrc":"2211:3:55","nodeType":"YulIdentifier","src":"2211:3:55"},"nativeSrc":"2211:25:55","nodeType":"YulFunctionCall","src":"2211:25:55"}],"functionName":{"name":"xor","nativeSrc":"2188:3:55","nodeType":"YulIdentifier","src":"2188:3:55"},"nativeSrc":"2188:49:55","nodeType":"YulFunctionCall","src":"2188:49:55"},"variableNames":[{"name":"sqrtPriceTargetX96","nativeSrc":"2166:18:55","nodeType":"YulIdentifier","src":"2166:18:55"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":9311,"isOffset":false,"isSlot":false,"src":"1900:17:55","valueSize":1},{"declaration":9311,"isOffset":false,"isSlot":false,"src":"1925:17:55","valueSize":1},{"declaration":9311,"isOffset":false,"isSlot":false,"src":"2044:17:55","valueSize":1},{"declaration":9311,"isOffset":false,"isSlot":false,"src":"2135:17:55","valueSize":1},{"declaration":9311,"isOffset":false,"isSlot":false,"src":"2192:17:55","valueSize":1},{"declaration":9309,"isOffset":false,"isSlot":false,"src":"1802:16:55","valueSize":1},{"declaration":9309,"isOffset":false,"isSlot":false,"src":"1826:16:55","valueSize":1},{"declaration":9309,"isOffset":false,"isSlot":false,"src":"2026:16:55","valueSize":1},{"declaration":9309,"isOffset":false,"isSlot":false,"src":"2117:16:55","valueSize":1},{"declaration":9314,"isOffset":false,"isSlot":false,"src":"2166:18:55","valueSize":1},{"declaration":9307,"isOffset":false,"isSlot":false,"src":"2068:10:55","valueSize":1}],"flags":["memory-safe"],"id":9316,"nodeType":"InlineAssembly","src":"1328:919:55"}]},"documentation":{"id":9305,"nodeType":"StructuredDocumentation","src":"573:563:55","text":"@notice Computes the sqrt price target for the next swap step\n @param zeroForOne The direction of the swap, true for currency0 to currency1, false for currency1 to currency0\n @param sqrtPriceNextX96 The Q64.96 sqrt price for the next initialized tick\n @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value\n after the swap. If one for zero, the price cannot be greater than this value after the swap\n @return sqrtPriceTargetX96 The price target for the next swap step"},"id":9318,"implemented":true,"kind":"function","modifiers":[],"name":"getSqrtPriceTarget","nameLocation":"1150:18:55","nodeType":"FunctionDefinition","parameters":{"id":9312,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9307,"mutability":"mutable","name":"zeroForOne","nameLocation":"1174:10:55","nodeType":"VariableDeclaration","scope":9318,"src":"1169:15:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":9306,"name":"bool","nodeType":"ElementaryTypeName","src":"1169:4:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":9309,"mutability":"mutable","name":"sqrtPriceNextX96","nameLocation":"1194:16:55","nodeType":"VariableDeclaration","scope":9318,"src":"1186:24:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":9308,"name":"uint160","nodeType":"ElementaryTypeName","src":"1186:7:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":9311,"mutability":"mutable","name":"sqrtPriceLimitX96","nameLocation":"1220:17:55","nodeType":"VariableDeclaration","scope":9318,"src":"1212:25:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":9310,"name":"uint160","nodeType":"ElementaryTypeName","src":"1212:7:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"1168:70:55"},"returnParameters":{"id":9315,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9314,"mutability":"mutable","name":"sqrtPriceTargetX96","nameLocation":"1294:18:55","nodeType":"VariableDeclaration","scope":9318,"src":"1286:26:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":9313,"name":"uint160","nodeType":"ElementaryTypeName","src":"1286:7:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"1285:28:55"},"scope":9545,"src":"1141:1112:55","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":9543,"nodeType":"Block","src":"3806:3159:55","statements":[{"id":9542,"nodeType":"UncheckedBlock","src":"3816:3143:55","statements":[{"assignments":[9341],"declarations":[{"constant":false,"id":9341,"mutability":"mutable","name":"_feePips","nameLocation":"3848:8:55","nodeType":"VariableDeclaration","scope":9542,"src":"3840:16:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9340,"name":"uint256","nodeType":"ElementaryTypeName","src":"3840:7:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9343,"initialValue":{"id":9342,"name":"feePips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9329,"src":"3859:7:55","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"VariableDeclarationStatement","src":"3840:26:55"},{"assignments":[9345],"declarations":[{"constant":false,"id":9345,"mutability":"mutable","name":"zeroForOne","nameLocation":"3910:10:55","nodeType":"VariableDeclaration","scope":9542,"src":"3905:15:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":9344,"name":"bool","nodeType":"ElementaryTypeName","src":"3905:4:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":9349,"initialValue":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":9348,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9346,"name":"sqrtPriceCurrentX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9321,"src":"3923:19:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":9347,"name":"sqrtPriceTargetX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9323,"src":"3946:18:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"3923:41:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"3905:59:55"},{"assignments":[9351],"declarations":[{"constant":false,"id":9351,"mutability":"mutable","name":"exactIn","nameLocation":"3983:7:55","nodeType":"VariableDeclaration","scope":9542,"src":"3978:12:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":9350,"name":"bool","nodeType":"ElementaryTypeName","src":"3978:4:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":9355,"initialValue":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":9354,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9352,"name":"amountRemaining","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9327,"src":"3993:15:55","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":9353,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4011:1:55","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3993:19:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"3978:34:55"},{"condition":{"id":9356,"name":"exactIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9351,"src":"4031:7:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":9540,"nodeType":"Block","src":"5716:1233:55","statements":[{"expression":{"id":9478,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9461,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9336,"src":"5734:9:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"id":9462,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9345,"src":"5746:10:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":9472,"name":"sqrtPriceCurrentX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9321,"src":"5920:19:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9473,"name":"sqrtPriceTargetX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9323,"src":"5941:18:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9474,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9325,"src":"5961:9:55","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"66616c7365","id":9475,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5972:5:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":9470,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"5890:13:55","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":9471,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5904:15:55","memberName":"getAmount0Delta","nodeType":"MemberAccess","referencedDeclaration":8493,"src":"5890:29:55","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":9476,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5890:88:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9477,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"5746:232:55","trueExpression":{"arguments":[{"id":9465,"name":"sqrtPriceTargetX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9323,"src":"5809:18:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9466,"name":"sqrtPriceCurrentX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9321,"src":"5829:19:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9467,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9325,"src":"5850:9:55","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"66616c7365","id":9468,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5861:5:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":9463,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"5779:13:55","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":9464,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5793:15:55","memberName":"getAmount1Delta","nodeType":"MemberAccess","referencedDeclaration":8549,"src":"5779:29:55","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":9469,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5779:88:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5734:244:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9479,"nodeType":"ExpressionStatement","src":"5734:244:55"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9485,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":9482,"name":"amountRemaining","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9327,"src":"6008:15:55","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":9481,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6000:7:55","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":9480,"name":"uint256","nodeType":"ElementaryTypeName","src":"6000:7:55","typeDescriptions":{}}},"id":9483,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6000:24:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":9484,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9336,"src":"6028:9:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6000:37:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":9508,"nodeType":"Block","src":"6188:324:55","statements":[{"expression":{"id":9496,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9491,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9336,"src":"6297:9:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":9494,"name":"amountRemaining","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9327,"src":"6317:15:55","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":9493,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6309:7:55","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":9492,"name":"uint256","nodeType":"ElementaryTypeName","src":"6309:7:55","typeDescriptions":{}}},"id":9495,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6309:24:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6297:36:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9497,"nodeType":"ExpressionStatement","src":"6297:36:55"},{"expression":{"id":9506,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9498,"name":"sqrtPriceNextX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9332,"src":"6355:16:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":9501,"name":"sqrtPriceCurrentX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9321,"src":"6439:19:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9502,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9325,"src":"6460:9:55","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":9503,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9336,"src":"6471:9:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9504,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9345,"src":"6482:10:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":9499,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"6398:13:55","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":9500,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6412:26:55","memberName":"getNextSqrtPriceFromOutput","nodeType":"MemberAccess","referencedDeclaration":8427,"src":"6398:40:55","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint128_$_t_uint256_$_t_bool_$returns$_t_uint160_$","typeString":"function (uint160,uint128,uint256,bool) pure returns (uint160)"}},"id":9505,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6398:95:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"6355:138:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":9507,"nodeType":"ExpressionStatement","src":"6355:138:55"}]},"id":9509,"nodeType":"IfStatement","src":"5996:516:55","trueBody":{"id":9490,"nodeType":"Block","src":"6039:143:55","statements":[{"expression":{"id":9488,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9486,"name":"sqrtPriceNextX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9332,"src":"6126:16:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9487,"name":"sqrtPriceTargetX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9323,"src":"6145:18:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"6126:37:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":9489,"nodeType":"ExpressionStatement","src":"6126:37:55"}]}},{"expression":{"id":9527,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9510,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9334,"src":"6529:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"id":9511,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9345,"src":"6540:10:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":9521,"name":"sqrtPriceCurrentX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9321,"src":"6711:19:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9522,"name":"sqrtPriceNextX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9332,"src":"6732:16:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9523,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9325,"src":"6750:9:55","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"74727565","id":9524,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6761:4:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":9519,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"6681:13:55","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":9520,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6695:15:55","memberName":"getAmount1Delta","nodeType":"MemberAccess","referencedDeclaration":8549,"src":"6681:29:55","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":9525,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6681:85:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9526,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"6540:226:55","trueExpression":{"arguments":[{"id":9514,"name":"sqrtPriceNextX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9332,"src":"6603:16:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9515,"name":"sqrtPriceCurrentX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9321,"src":"6621:19:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9516,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9325,"src":"6642:9:55","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"74727565","id":9517,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6653:4:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":9512,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"6573:13:55","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":9513,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6587:15:55","memberName":"getAmount0Delta","nodeType":"MemberAccess","referencedDeclaration":8493,"src":"6573:29:55","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":9518,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6573:85:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6529:237:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9528,"nodeType":"ExpressionStatement","src":"6529:237:55"},{"expression":{"id":9538,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9529,"name":"feeAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9338,"src":"6852:9:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":9532,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9334,"src":"6890:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9533,"name":"_feePips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9341,"src":"6900:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9536,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9534,"name":"MAX_SWAP_FEE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9304,"src":"6910:12:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9535,"name":"_feePips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9341,"src":"6925:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6910:23:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":9530,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"6864:8:55","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":9531,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6873:16:55","memberName":"mulDivRoundingUp","nodeType":"MemberAccess","referencedDeclaration":4635,"src":"6864:25:55","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":9537,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6864:70:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6852:82:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9539,"nodeType":"ExpressionStatement","src":"6852:82:55"}]},"id":9541,"nodeType":"IfStatement","src":"4027:2922:55","trueBody":{"id":9460,"nodeType":"Block","src":"4040:1670:55","statements":[{"assignments":[9358],"declarations":[{"constant":false,"id":9358,"mutability":"mutable","name":"amountRemainingLessFee","nameLocation":"4066:22:55","nodeType":"VariableDeclaration","scope":9460,"src":"4058:30:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9357,"name":"uint256","nodeType":"ElementaryTypeName","src":"4058:7:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9371,"initialValue":{"arguments":[{"arguments":[{"id":9364,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"4135:16:55","subExpression":{"id":9363,"name":"amountRemaining","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9327,"src":"4136:15:55","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":9362,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4127:7:55","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":9361,"name":"uint256","nodeType":"ElementaryTypeName","src":"4127:7:55","typeDescriptions":{}}},"id":9365,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4127:25:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9368,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9366,"name":"MAX_SWAP_FEE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9304,"src":"4154:12:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9367,"name":"_feePips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9341,"src":"4169:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4154:23:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9369,"name":"MAX_SWAP_FEE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9304,"src":"4179:12:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":9359,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"4111:8:55","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":9360,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4120:6:55","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":4597,"src":"4111:15:55","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":9370,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4111:81:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4058:134:55"},{"expression":{"id":9389,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9372,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9334,"src":"4210:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"id":9373,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9345,"src":"4221:10:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":9383,"name":"sqrtPriceCurrentX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9321,"src":"4394:19:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9384,"name":"sqrtPriceTargetX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9323,"src":"4415:18:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9385,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9325,"src":"4435:9:55","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"74727565","id":9386,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4446:4:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":9381,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"4364:13:55","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":9382,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4378:15:55","memberName":"getAmount1Delta","nodeType":"MemberAccess","referencedDeclaration":8549,"src":"4364:29:55","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":9387,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4364:87:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9388,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"4221:230:55","trueExpression":{"arguments":[{"id":9376,"name":"sqrtPriceTargetX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9323,"src":"4284:18:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9377,"name":"sqrtPriceCurrentX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9321,"src":"4304:19:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9378,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9325,"src":"4325:9:55","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"74727565","id":9379,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4336:4:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":9374,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"4254:13:55","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":9375,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4268:15:55","memberName":"getAmount0Delta","nodeType":"MemberAccess","referencedDeclaration":8493,"src":"4254:29:55","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":9380,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4254:87:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4210:241:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9390,"nodeType":"ExpressionStatement","src":"4210:241:55"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9393,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9391,"name":"amountRemainingLessFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9358,"src":"4473:22:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":9392,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9334,"src":"4499:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4473:34:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":9439,"nodeType":"Block","src":"4947:491:55","statements":[{"expression":{"id":9417,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9415,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9334,"src":"5021:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9416,"name":"amountRemainingLessFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9358,"src":"5032:22:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5021:33:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9418,"nodeType":"ExpressionStatement","src":"5021:33:55"},{"expression":{"id":9427,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9419,"name":"sqrtPriceNextX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9332,"src":"5076:16:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":9422,"name":"sqrtPriceCurrentX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9321,"src":"5160:19:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9423,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9325,"src":"5181:9:55","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":9424,"name":"amountRemainingLessFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9358,"src":"5192:22:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9425,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9345,"src":"5216:10:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":9420,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"5095:13:55","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":9421,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5109:25:55","memberName":"getNextSqrtPriceFromInput","nodeType":"MemberAccess","referencedDeclaration":8396,"src":"5095:39:55","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint128_$_t_uint256_$_t_bool_$returns$_t_uint160_$","typeString":"function (uint160,uint128,uint256,bool) pure returns (uint160)"}},"id":9426,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5095:153:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"5076:172:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":9428,"nodeType":"ExpressionStatement","src":"5076:172:55"},{"expression":{"id":9437,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9429,"name":"feeAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9338,"src":"5371:9:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9436,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":9433,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"5391:16:55","subExpression":{"id":9432,"name":"amountRemaining","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9327,"src":"5392:15:55","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":9431,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5383:7:55","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":9430,"name":"uint256","nodeType":"ElementaryTypeName","src":"5383:7:55","typeDescriptions":{}}},"id":9434,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5383:25:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9435,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9334,"src":"5411:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5383:36:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5371:48:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9438,"nodeType":"ExpressionStatement","src":"5371:48:55"}]},"id":9440,"nodeType":"IfStatement","src":"4469:969:55","trueBody":{"id":9414,"nodeType":"Block","src":"4509:432:55","statements":[{"expression":{"id":9396,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9394,"name":"sqrtPriceNextX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9332,"src":"4595:16:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9395,"name":"sqrtPriceTargetX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9323,"src":"4614:18:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"4595:37:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":9397,"nodeType":"ExpressionStatement","src":"4595:37:55"},{"expression":{"id":9412,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9398,"name":"feeAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9338,"src":"4654:9:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9401,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9399,"name":"_feePips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9341,"src":"4666:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":9400,"name":"MAX_SWAP_FEE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9304,"src":"4678:12:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4666:24:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":9405,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9334,"src":"4878:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9406,"name":"_feePips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9341,"src":"4888:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9409,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9407,"name":"MAX_SWAP_FEE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9304,"src":"4898:12:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9408,"name":"_feePips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9341,"src":"4913:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4898:23:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":9403,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"4852:8:55","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":9404,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4861:16:55","memberName":"mulDivRoundingUp","nodeType":"MemberAccess","referencedDeclaration":4635,"src":"4852:25:55","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":9410,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4852:70:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9411,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"4666:256:55","trueExpression":{"id":9402,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9334,"src":"4717:8:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4654:268:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9413,"nodeType":"ExpressionStatement","src":"4654:268:55"}]}},{"expression":{"id":9458,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9441,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9336,"src":"5455:9:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"id":9442,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9345,"src":"5467:10:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":9452,"name":"sqrtPriceCurrentX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9321,"src":"5639:19:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9453,"name":"sqrtPriceNextX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9332,"src":"5660:16:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9454,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9325,"src":"5678:9:55","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"66616c7365","id":9455,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5689:5:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":9450,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"5609:13:55","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":9451,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5623:15:55","memberName":"getAmount0Delta","nodeType":"MemberAccess","referencedDeclaration":8493,"src":"5609:29:55","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":9456,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5609:86:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9457,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"5467:228:55","trueExpression":{"arguments":[{"id":9445,"name":"sqrtPriceNextX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9332,"src":"5530:16:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9446,"name":"sqrtPriceCurrentX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9321,"src":"5548:19:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":9447,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9325,"src":"5569:9:55","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"66616c7365","id":9448,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5580:5:55","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":9443,"name":"SqrtPriceMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8636,"src":"5500:13:55","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SqrtPriceMath_$8636_$","typeString":"type(library SqrtPriceMath)"}},"id":9444,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5514:15:55","memberName":"getAmount1Delta","nodeType":"MemberAccess","referencedDeclaration":8549,"src":"5500:29:55","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":9449,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5500:86:55","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5455:240:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9459,"nodeType":"ExpressionStatement","src":"5455:240:55"}]}}]}]},"documentation":{"id":9319,"nodeType":"StructuredDocumentation","src":"2259:1250:55","text":"@notice Computes the result of swapping some amount in, or amount out, given the parameters of the swap\n @dev If the swap's amountSpecified is negative, the combined fee and input amount will never exceed the absolute value of the remaining amount.\n @param sqrtPriceCurrentX96 The current sqrt price of the pool\n @param sqrtPriceTargetX96 The price that cannot be exceeded, from which the direction of the swap is inferred\n @param liquidity The usable liquidity\n @param amountRemaining How much input or output amount is remaining to be swapped in/out\n @param feePips The fee taken from the input amount, expressed in hundredths of a bip\n @return sqrtPriceNextX96 The price after swapping the amount in/out, not to exceed the price target\n @return amountIn The amount to be swapped in, of either currency0 or currency1, based on the direction of the swap\n @return amountOut The amount to be received, of either currency0 or currency1, based on the direction of the swap\n @return feeAmount The amount of input that will be taken as a fee\n @dev feePips must be no larger than MAX_SWAP_FEE for this function. We ensure that before setting a fee using LPFeeLibrary.isValid."},"id":9544,"implemented":true,"kind":"function","modifiers":[],"name":"computeSwapStep","nameLocation":"3523:15:55","nodeType":"FunctionDefinition","parameters":{"id":9330,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9321,"mutability":"mutable","name":"sqrtPriceCurrentX96","nameLocation":"3556:19:55","nodeType":"VariableDeclaration","scope":9544,"src":"3548:27:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":9320,"name":"uint160","nodeType":"ElementaryTypeName","src":"3548:7:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":9323,"mutability":"mutable","name":"sqrtPriceTargetX96","nameLocation":"3593:18:55","nodeType":"VariableDeclaration","scope":9544,"src":"3585:26:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":9322,"name":"uint160","nodeType":"ElementaryTypeName","src":"3585:7:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":9325,"mutability":"mutable","name":"liquidity","nameLocation":"3629:9:55","nodeType":"VariableDeclaration","scope":9544,"src":"3621:17:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":9324,"name":"uint128","nodeType":"ElementaryTypeName","src":"3621:7:55","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":9327,"mutability":"mutable","name":"amountRemaining","nameLocation":"3655:15:55","nodeType":"VariableDeclaration","scope":9544,"src":"3648:22:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":9326,"name":"int256","nodeType":"ElementaryTypeName","src":"3648:6:55","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":9329,"mutability":"mutable","name":"feePips","nameLocation":"3687:7:55","nodeType":"VariableDeclaration","scope":9544,"src":"3680:14:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":9328,"name":"uint24","nodeType":"ElementaryTypeName","src":"3680:6:55","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"3538:162:55"},"returnParameters":{"id":9339,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9332,"mutability":"mutable","name":"sqrtPriceNextX96","nameLocation":"3732:16:55","nodeType":"VariableDeclaration","scope":9544,"src":"3724:24:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":9331,"name":"uint160","nodeType":"ElementaryTypeName","src":"3724:7:55","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":9334,"mutability":"mutable","name":"amountIn","nameLocation":"3758:8:55","nodeType":"VariableDeclaration","scope":9544,"src":"3750:16:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9333,"name":"uint256","nodeType":"ElementaryTypeName","src":"3750:7:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9336,"mutability":"mutable","name":"amountOut","nameLocation":"3776:9:55","nodeType":"VariableDeclaration","scope":9544,"src":"3768:17:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9335,"name":"uint256","nodeType":"ElementaryTypeName","src":"3768:7:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9338,"mutability":"mutable","name":"feeAmount","nameLocation":"3795:9:55","nodeType":"VariableDeclaration","scope":9544,"src":"3787:17:55","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9337,"name":"uint256","nodeType":"ElementaryTypeName","src":"3787:7:55","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3723:82:55"},"scope":9545,"src":"3514:3451:55","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":9546,"src":"323:6644:55","usedErrors":[],"usedEvents":[]}],"src":"32:6936:55"},"id":55},"@uniswap/v4-core/src/libraries/TickBitmap.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/TickBitmap.sol","exportedSymbols":{"BitMath":[4228],"TickBitmap":[9777]},"id":9778,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":9547,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:56"},{"absolutePath":"@uniswap/v4-core/src/libraries/BitMath.sol","file":"./BitMath.sol","id":9549,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":9778,"sourceUnit":4229,"src":"57:38:56","symbolAliases":[{"foreign":{"id":9548,"name":"BitMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4228,"src":"65:7:56","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"TickBitmap","contractDependencies":[],"contractKind":"library","documentation":{"id":9550,"nodeType":"StructuredDocumentation","src":"97:243:56","text":"@title Packed tick initialized state library\n @notice Stores a packed mapping of tick index to its initialized state\n @dev The mapping uses int16 for keys since ticks are represented as int24 and there are 256 (2^8) values per word."},"fullyImplemented":true,"id":9777,"linearizedBaseContracts":[9777],"name":"TickBitmap","nameLocation":"348:10:56","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":9551,"nodeType":"StructuredDocumentation","src":"365:163:56","text":"@notice Thrown when the tick is not enumerated by the tick spacing\n @param tick the invalid tick\n @param tickSpacing The tick spacing of the pool"},"errorSelector":"d4d8f3e6","id":9557,"name":"TickMisaligned","nameLocation":"539:14:56","nodeType":"ErrorDefinition","parameters":{"id":9556,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9553,"mutability":"mutable","name":"tick","nameLocation":"560:4:56","nodeType":"VariableDeclaration","scope":9557,"src":"554:10:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9552,"name":"int24","nodeType":"ElementaryTypeName","src":"554:5:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":9555,"mutability":"mutable","name":"tickSpacing","nameLocation":"572:11:56","nodeType":"VariableDeclaration","scope":9557,"src":"566:17:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9554,"name":"int24","nodeType":"ElementaryTypeName","src":"566:5:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"553:31:56"},"src":"533:52:56"},{"body":{"id":9568,"nodeType":"Block","src":"726:522:56","statements":[{"AST":{"nativeSrc":"871:371:56","nodeType":"YulBlock","src":"871:371:56","statements":[{"nativeSrc":"885:27:56","nodeType":"YulAssignment","src":"885:27:56","value":{"arguments":[{"kind":"number","nativeSrc":"904:1:56","nodeType":"YulLiteral","src":"904:1:56","type":"","value":"2"},{"name":"tick","nativeSrc":"907:4:56","nodeType":"YulIdentifier","src":"907:4:56"}],"functionName":{"name":"signextend","nativeSrc":"893:10:56","nodeType":"YulIdentifier","src":"893:10:56"},"nativeSrc":"893:19:56","nodeType":"YulFunctionCall","src":"893:19:56"},"variableNames":[{"name":"tick","nativeSrc":"885:4:56","nodeType":"YulIdentifier","src":"885:4:56"}]},{"nativeSrc":"925:41:56","nodeType":"YulAssignment","src":"925:41:56","value":{"arguments":[{"kind":"number","nativeSrc":"951:1:56","nodeType":"YulLiteral","src":"951:1:56","type":"","value":"2"},{"name":"tickSpacing","nativeSrc":"954:11:56","nodeType":"YulIdentifier","src":"954:11:56"}],"functionName":{"name":"signextend","nativeSrc":"940:10:56","nodeType":"YulIdentifier","src":"940:10:56"},"nativeSrc":"940:26:56","nodeType":"YulFunctionCall","src":"940:26:56"},"variableNames":[{"name":"tickSpacing","nativeSrc":"925:11:56","nodeType":"YulIdentifier","src":"925:11:56"}]},{"nativeSrc":"979:253:56","nodeType":"YulAssignment","src":"979:253:56","value":{"arguments":[{"arguments":[{"name":"tick","nativeSrc":"1039:4:56","nodeType":"YulIdentifier","src":"1039:4:56"},{"name":"tickSpacing","nativeSrc":"1045:11:56","nodeType":"YulIdentifier","src":"1045:11:56"}],"functionName":{"name":"sdiv","nativeSrc":"1034:4:56","nodeType":"YulIdentifier","src":"1034:4:56"},"nativeSrc":"1034:23:56","nodeType":"YulFunctionCall","src":"1034:23:56"},{"arguments":[{"arguments":[{"name":"tick","nativeSrc":"1192:4:56","nodeType":"YulIdentifier","src":"1192:4:56"},{"name":"tickSpacing","nativeSrc":"1198:11:56","nodeType":"YulIdentifier","src":"1198:11:56"}],"functionName":{"name":"smod","nativeSrc":"1187:4:56","nodeType":"YulIdentifier","src":"1187:4:56"},"nativeSrc":"1187:23:56","nodeType":"YulFunctionCall","src":"1187:23:56"},{"kind":"number","nativeSrc":"1212:1:56","nodeType":"YulLiteral","src":"1212:1:56","type":"","value":"0"}],"functionName":{"name":"slt","nativeSrc":"1183:3:56","nodeType":"YulIdentifier","src":"1183:3:56"},"nativeSrc":"1183:31:56","nodeType":"YulFunctionCall","src":"1183:31:56"}],"functionName":{"name":"sub","nativeSrc":"1009:3:56","nodeType":"YulIdentifier","src":"1009:3:56"},"nativeSrc":"1009:223:56","nodeType":"YulFunctionCall","src":"1009:223:56"},"variableNames":[{"name":"compressed","nativeSrc":"979:10:56","nodeType":"YulIdentifier","src":"979:10:56"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":9565,"isOffset":false,"isSlot":false,"src":"979:10:56","valueSize":1},{"declaration":9560,"isOffset":false,"isSlot":false,"src":"1039:4:56","valueSize":1},{"declaration":9560,"isOffset":false,"isSlot":false,"src":"1192:4:56","valueSize":1},{"declaration":9560,"isOffset":false,"isSlot":false,"src":"885:4:56","valueSize":1},{"declaration":9560,"isOffset":false,"isSlot":false,"src":"907:4:56","valueSize":1},{"declaration":9562,"isOffset":false,"isSlot":false,"src":"1045:11:56","valueSize":1},{"declaration":9562,"isOffset":false,"isSlot":false,"src":"1198:11:56","valueSize":1},{"declaration":9562,"isOffset":false,"isSlot":false,"src":"925:11:56","valueSize":1},{"declaration":9562,"isOffset":false,"isSlot":false,"src":"954:11:56","valueSize":1}],"flags":["memory-safe"],"id":9567,"nodeType":"InlineAssembly","src":"846:396:56"}]},"documentation":{"id":9558,"nodeType":"StructuredDocumentation","src":"591:40:56","text":"@dev round towards negative infinity"},"id":9569,"implemented":true,"kind":"function","modifiers":[],"name":"compress","nameLocation":"645:8:56","nodeType":"FunctionDefinition","parameters":{"id":9563,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9560,"mutability":"mutable","name":"tick","nameLocation":"660:4:56","nodeType":"VariableDeclaration","scope":9569,"src":"654:10:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9559,"name":"int24","nodeType":"ElementaryTypeName","src":"654:5:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":9562,"mutability":"mutable","name":"tickSpacing","nameLocation":"672:11:56","nodeType":"VariableDeclaration","scope":9569,"src":"666:17:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9561,"name":"int24","nodeType":"ElementaryTypeName","src":"666:5:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"653:31:56"},"returnParameters":{"id":9566,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9565,"mutability":"mutable","name":"compressed","nameLocation":"714:10:56","nodeType":"VariableDeclaration","scope":9569,"src":"708:16:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9564,"name":"int24","nodeType":"ElementaryTypeName","src":"708:5:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"707:18:56"},"scope":9777,"src":"636:612:56","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":9580,"nodeType":"Block","src":"1666:186:56","statements":[{"AST":{"nativeSrc":"1701:145:56","nodeType":"YulBlock","src":"1701:145:56","statements":[{"nativeSrc":"1760:38:56","nodeType":"YulAssignment","src":"1760:38:56","value":{"arguments":[{"kind":"number","nativeSrc":"1775:1:56","nodeType":"YulLiteral","src":"1775:1:56","type":"","value":"8"},{"arguments":[{"kind":"number","nativeSrc":"1789:1:56","nodeType":"YulLiteral","src":"1789:1:56","type":"","value":"2"},{"name":"tick","nativeSrc":"1792:4:56","nodeType":"YulIdentifier","src":"1792:4:56"}],"functionName":{"name":"signextend","nativeSrc":"1778:10:56","nodeType":"YulIdentifier","src":"1778:10:56"},"nativeSrc":"1778:19:56","nodeType":"YulFunctionCall","src":"1778:19:56"}],"functionName":{"name":"sar","nativeSrc":"1771:3:56","nodeType":"YulIdentifier","src":"1771:3:56"},"nativeSrc":"1771:27:56","nodeType":"YulFunctionCall","src":"1771:27:56"},"variableNames":[{"name":"wordPos","nativeSrc":"1760:7:56","nodeType":"YulIdentifier","src":"1760:7:56"}]},{"nativeSrc":"1811:25:56","nodeType":"YulAssignment","src":"1811:25:56","value":{"arguments":[{"name":"tick","nativeSrc":"1825:4:56","nodeType":"YulIdentifier","src":"1825:4:56"},{"kind":"number","nativeSrc":"1831:4:56","nodeType":"YulLiteral","src":"1831:4:56","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"1821:3:56","nodeType":"YulIdentifier","src":"1821:3:56"},"nativeSrc":"1821:15:56","nodeType":"YulFunctionCall","src":"1821:15:56"},"variableNames":[{"name":"bitPos","nativeSrc":"1811:6:56","nodeType":"YulIdentifier","src":"1811:6:56"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":9577,"isOffset":false,"isSlot":false,"src":"1811:6:56","valueSize":1},{"declaration":9572,"isOffset":false,"isSlot":false,"src":"1792:4:56","valueSize":1},{"declaration":9572,"isOffset":false,"isSlot":false,"src":"1825:4:56","valueSize":1},{"declaration":9575,"isOffset":false,"isSlot":false,"src":"1760:7:56","valueSize":1}],"flags":["memory-safe"],"id":9579,"nodeType":"InlineAssembly","src":"1676:170:56"}]},"documentation":{"id":9570,"nodeType":"StructuredDocumentation","src":"1254:325:56","text":"@notice Computes the position in the mapping where the initialized bit for a tick lives\n @param tick The tick for which to compute the position\n @return wordPos The key in the mapping containing the word in which the bit is stored\n @return bitPos The bit position in the word where the flag is stored"},"id":9581,"implemented":true,"kind":"function","modifiers":[],"name":"position","nameLocation":"1593:8:56","nodeType":"FunctionDefinition","parameters":{"id":9573,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9572,"mutability":"mutable","name":"tick","nameLocation":"1608:4:56","nodeType":"VariableDeclaration","scope":9581,"src":"1602:10:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9571,"name":"int24","nodeType":"ElementaryTypeName","src":"1602:5:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1601:12:56"},"returnParameters":{"id":9578,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9575,"mutability":"mutable","name":"wordPos","nameLocation":"1643:7:56","nodeType":"VariableDeclaration","scope":9581,"src":"1637:13:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"},"typeName":{"id":9574,"name":"int16","nodeType":"ElementaryTypeName","src":"1637:5:56","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"visibility":"internal"},{"constant":false,"id":9577,"mutability":"mutable","name":"bitPos","nameLocation":"1658:6:56","nodeType":"VariableDeclaration","scope":9581,"src":"1652:12:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":9576,"name":"uint8","nodeType":"ElementaryTypeName","src":"1652:5:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"1636:29:56"},"scope":9777,"src":"1584:268:56","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":9594,"nodeType":"Block","src":"2206:1312:56","statements":[{"AST":{"nativeSrc":"2534:978:56","nodeType":"YulBlock","src":"2534:978:56","statements":[{"nativeSrc":"2548:27:56","nodeType":"YulAssignment","src":"2548:27:56","value":{"arguments":[{"kind":"number","nativeSrc":"2567:1:56","nodeType":"YulLiteral","src":"2567:1:56","type":"","value":"2"},{"name":"tick","nativeSrc":"2570:4:56","nodeType":"YulIdentifier","src":"2570:4:56"}],"functionName":{"name":"signextend","nativeSrc":"2556:10:56","nodeType":"YulIdentifier","src":"2556:10:56"},"nativeSrc":"2556:19:56","nodeType":"YulFunctionCall","src":"2556:19:56"},"variableNames":[{"name":"tick","nativeSrc":"2548:4:56","nodeType":"YulIdentifier","src":"2548:4:56"}]},{"nativeSrc":"2588:41:56","nodeType":"YulAssignment","src":"2588:41:56","value":{"arguments":[{"kind":"number","nativeSrc":"2614:1:56","nodeType":"YulLiteral","src":"2614:1:56","type":"","value":"2"},{"name":"tickSpacing","nativeSrc":"2617:11:56","nodeType":"YulIdentifier","src":"2617:11:56"}],"functionName":{"name":"signextend","nativeSrc":"2603:10:56","nodeType":"YulIdentifier","src":"2603:10:56"},"nativeSrc":"2603:26:56","nodeType":"YulFunctionCall","src":"2603:26:56"},"variableNames":[{"name":"tickSpacing","nativeSrc":"2588:11:56","nodeType":"YulIdentifier","src":"2588:11:56"}]},{"body":{"nativeSrc":"2715:280:56","nodeType":"YulBlock","src":"2715:280:56","statements":[{"nativeSrc":"2733:22:56","nodeType":"YulVariableDeclaration","src":"2733:22:56","value":{"arguments":[{"kind":"number","nativeSrc":"2750:4:56","nodeType":"YulLiteral","src":"2750:4:56","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"2744:5:56","nodeType":"YulIdentifier","src":"2744:5:56"},"nativeSrc":"2744:11:56","nodeType":"YulFunctionCall","src":"2744:11:56"},"variables":[{"name":"fmp","nativeSrc":"2737:3:56","nodeType":"YulTypedName","src":"2737:3:56","type":""}]},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"2779:3:56","nodeType":"YulIdentifier","src":"2779:3:56"},{"kind":"number","nativeSrc":"2784:10:56","nodeType":"YulLiteral","src":"2784:10:56","type":"","value":"0xd4d8f3e6"}],"functionName":{"name":"mstore","nativeSrc":"2772:6:56","nodeType":"YulIdentifier","src":"2772:6:56"},"nativeSrc":"2772:23:56","nodeType":"YulFunctionCall","src":"2772:23:56"},"nativeSrc":"2772:23:56","nodeType":"YulExpressionStatement","src":"2772:23:56"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2867:3:56","nodeType":"YulIdentifier","src":"2867:3:56"},{"kind":"number","nativeSrc":"2872:4:56","nodeType":"YulLiteral","src":"2872:4:56","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2863:3:56","nodeType":"YulIdentifier","src":"2863:3:56"},"nativeSrc":"2863:14:56","nodeType":"YulFunctionCall","src":"2863:14:56"},{"name":"tick","nativeSrc":"2879:4:56","nodeType":"YulIdentifier","src":"2879:4:56"}],"functionName":{"name":"mstore","nativeSrc":"2856:6:56","nodeType":"YulIdentifier","src":"2856:6:56"},"nativeSrc":"2856:28:56","nodeType":"YulFunctionCall","src":"2856:28:56"},"nativeSrc":"2856:28:56","nodeType":"YulExpressionStatement","src":"2856:28:56"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2912:3:56","nodeType":"YulIdentifier","src":"2912:3:56"},{"kind":"number","nativeSrc":"2917:4:56","nodeType":"YulLiteral","src":"2917:4:56","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"2908:3:56","nodeType":"YulIdentifier","src":"2908:3:56"},"nativeSrc":"2908:14:56","nodeType":"YulFunctionCall","src":"2908:14:56"},{"name":"tickSpacing","nativeSrc":"2924:11:56","nodeType":"YulIdentifier","src":"2924:11:56"}],"functionName":{"name":"mstore","nativeSrc":"2901:6:56","nodeType":"YulIdentifier","src":"2901:6:56"},"nativeSrc":"2901:35:56","nodeType":"YulFunctionCall","src":"2901:35:56"},"nativeSrc":"2901:35:56","nodeType":"YulExpressionStatement","src":"2901:35:56"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2964:3:56","nodeType":"YulIdentifier","src":"2964:3:56"},{"kind":"number","nativeSrc":"2969:4:56","nodeType":"YulLiteral","src":"2969:4:56","type":"","value":"0x1c"}],"functionName":{"name":"add","nativeSrc":"2960:3:56","nodeType":"YulIdentifier","src":"2960:3:56"},"nativeSrc":"2960:14:56","nodeType":"YulFunctionCall","src":"2960:14:56"},{"kind":"number","nativeSrc":"2976:4:56","nodeType":"YulLiteral","src":"2976:4:56","type":"","value":"0x44"}],"functionName":{"name":"revert","nativeSrc":"2953:6:56","nodeType":"YulIdentifier","src":"2953:6:56"},"nativeSrc":"2953:28:56","nodeType":"YulFunctionCall","src":"2953:28:56"},"nativeSrc":"2953:28:56","nodeType":"YulExpressionStatement","src":"2953:28:56"}]},"condition":{"arguments":[{"name":"tick","nativeSrc":"2696:4:56","nodeType":"YulIdentifier","src":"2696:4:56"},{"name":"tickSpacing","nativeSrc":"2702:11:56","nodeType":"YulIdentifier","src":"2702:11:56"}],"functionName":{"name":"smod","nativeSrc":"2691:4:56","nodeType":"YulIdentifier","src":"2691:4:56"},"nativeSrc":"2691:23:56","nodeType":"YulFunctionCall","src":"2691:23:56"},"nativeSrc":"2688:307:56","nodeType":"YulIf","src":"2688:307:56"},{"nativeSrc":"3008:31:56","nodeType":"YulAssignment","src":"3008:31:56","value":{"arguments":[{"name":"tick","nativeSrc":"3021:4:56","nodeType":"YulIdentifier","src":"3021:4:56"},{"name":"tickSpacing","nativeSrc":"3027:11:56","nodeType":"YulIdentifier","src":"3027:11:56"}],"functionName":{"name":"sdiv","nativeSrc":"3016:4:56","nodeType":"YulIdentifier","src":"3016:4:56"},"nativeSrc":"3016:23:56","nodeType":"YulFunctionCall","src":"3016:23:56"},"variableNames":[{"name":"tick","nativeSrc":"3008:4:56","nodeType":"YulIdentifier","src":"3008:4:56"}]},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3162:1:56","nodeType":"YulLiteral","src":"3162:1:56","type":"","value":"0"},{"arguments":[{"kind":"number","nativeSrc":"3169:1:56","nodeType":"YulLiteral","src":"3169:1:56","type":"","value":"8"},{"name":"tick","nativeSrc":"3172:4:56","nodeType":"YulIdentifier","src":"3172:4:56"}],"functionName":{"name":"sar","nativeSrc":"3165:3:56","nodeType":"YulIdentifier","src":"3165:3:56"},"nativeSrc":"3165:12:56","nodeType":"YulFunctionCall","src":"3165:12:56"}],"functionName":{"name":"mstore","nativeSrc":"3155:6:56","nodeType":"YulIdentifier","src":"3155:6:56"},"nativeSrc":"3155:23:56","nodeType":"YulFunctionCall","src":"3155:23:56"},"nativeSrc":"3155:23:56","nodeType":"YulExpressionStatement","src":"3155:23:56"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3198:4:56","nodeType":"YulLiteral","src":"3198:4:56","type":"","value":"0x20"},{"name":"self.slot","nativeSrc":"3204:9:56","nodeType":"YulIdentifier","src":"3204:9:56"}],"functionName":{"name":"mstore","nativeSrc":"3191:6:56","nodeType":"YulIdentifier","src":"3191:6:56"},"nativeSrc":"3191:23:56","nodeType":"YulFunctionCall","src":"3191:23:56"},"nativeSrc":"3191:23:56","nodeType":"YulExpressionStatement","src":"3191:23:56"},{"nativeSrc":"3313:30:56","nodeType":"YulVariableDeclaration","src":"3313:30:56","value":{"arguments":[{"kind":"number","nativeSrc":"3335:1:56","nodeType":"YulLiteral","src":"3335:1:56","type":"","value":"0"},{"kind":"number","nativeSrc":"3338:4:56","nodeType":"YulLiteral","src":"3338:4:56","type":"","value":"0x40"}],"functionName":{"name":"keccak256","nativeSrc":"3325:9:56","nodeType":"YulIdentifier","src":"3325:9:56"},"nativeSrc":"3325:18:56","nodeType":"YulFunctionCall","src":"3325:18:56"},"variables":[{"name":"slot","nativeSrc":"3317:4:56","nodeType":"YulTypedName","src":"3317:4:56","type":""}]},{"expression":{"arguments":[{"name":"slot","nativeSrc":"3454:4:56","nodeType":"YulIdentifier","src":"3454:4:56"},{"arguments":[{"arguments":[{"name":"slot","nativeSrc":"3470:4:56","nodeType":"YulIdentifier","src":"3470:4:56"}],"functionName":{"name":"sload","nativeSrc":"3464:5:56","nodeType":"YulIdentifier","src":"3464:5:56"},"nativeSrc":"3464:11:56","nodeType":"YulFunctionCall","src":"3464:11:56"},{"arguments":[{"arguments":[{"name":"tick","nativeSrc":"3485:4:56","nodeType":"YulIdentifier","src":"3485:4:56"},{"kind":"number","nativeSrc":"3491:4:56","nodeType":"YulLiteral","src":"3491:4:56","type":"","value":"0xff"}],"functionName":{"name":"and","nativeSrc":"3481:3:56","nodeType":"YulIdentifier","src":"3481:3:56"},"nativeSrc":"3481:15:56","nodeType":"YulFunctionCall","src":"3481:15:56"},{"kind":"number","nativeSrc":"3498:1:56","nodeType":"YulLiteral","src":"3498:1:56","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"3477:3:56","nodeType":"YulIdentifier","src":"3477:3:56"},"nativeSrc":"3477:23:56","nodeType":"YulFunctionCall","src":"3477:23:56"}],"functionName":{"name":"xor","nativeSrc":"3460:3:56","nodeType":"YulIdentifier","src":"3460:3:56"},"nativeSrc":"3460:41:56","nodeType":"YulFunctionCall","src":"3460:41:56"}],"functionName":{"name":"sstore","nativeSrc":"3447:6:56","nodeType":"YulIdentifier","src":"3447:6:56"},"nativeSrc":"3447:55:56","nodeType":"YulFunctionCall","src":"3447:55:56"},"nativeSrc":"3447:55:56","nodeType":"YulExpressionStatement","src":"3447:55:56"}]},"evmVersion":"cancun","externalReferences":[{"declaration":9586,"isOffset":false,"isSlot":true,"src":"3204:9:56","suffix":"slot","valueSize":1},{"declaration":9588,"isOffset":false,"isSlot":false,"src":"2548:4:56","valueSize":1},{"declaration":9588,"isOffset":false,"isSlot":false,"src":"2570:4:56","valueSize":1},{"declaration":9588,"isOffset":false,"isSlot":false,"src":"2696:4:56","valueSize":1},{"declaration":9588,"isOffset":false,"isSlot":false,"src":"2879:4:56","valueSize":1},{"declaration":9588,"isOffset":false,"isSlot":false,"src":"3008:4:56","valueSize":1},{"declaration":9588,"isOffset":false,"isSlot":false,"src":"3021:4:56","valueSize":1},{"declaration":9588,"isOffset":false,"isSlot":false,"src":"3172:4:56","valueSize":1},{"declaration":9588,"isOffset":false,"isSlot":false,"src":"3485:4:56","valueSize":1},{"declaration":9590,"isOffset":false,"isSlot":false,"src":"2588:11:56","valueSize":1},{"declaration":9590,"isOffset":false,"isSlot":false,"src":"2617:11:56","valueSize":1},{"declaration":9590,"isOffset":false,"isSlot":false,"src":"2702:11:56","valueSize":1},{"declaration":9590,"isOffset":false,"isSlot":false,"src":"2924:11:56","valueSize":1},{"declaration":9590,"isOffset":false,"isSlot":false,"src":"3027:11:56","valueSize":1}],"flags":["memory-safe"],"id":9593,"nodeType":"InlineAssembly","src":"2509:1003:56"}]},"documentation":{"id":9582,"nodeType":"StructuredDocumentation","src":"1858:245:56","text":"@notice Flips the initialized state for a given tick from false to true, or vice versa\n @param self The mapping in which to flip the tick\n @param tick The tick to flip\n @param tickSpacing The spacing between usable ticks"},"id":9595,"implemented":true,"kind":"function","modifiers":[],"name":"flipTick","nameLocation":"2117:8:56","nodeType":"FunctionDefinition","parameters":{"id":9591,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9586,"mutability":"mutable","name":"self","nameLocation":"2160:4:56","nodeType":"VariableDeclaration","scope":9595,"src":"2126:38:56","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"},"typeName":{"id":9585,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":9583,"name":"int16","nodeType":"ElementaryTypeName","src":"2134:5:56","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"nodeType":"Mapping","src":"2126:25:56","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":9584,"name":"uint256","nodeType":"ElementaryTypeName","src":"2143:7:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"internal"},{"constant":false,"id":9588,"mutability":"mutable","name":"tick","nameLocation":"2172:4:56","nodeType":"VariableDeclaration","scope":9595,"src":"2166:10:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9587,"name":"int24","nodeType":"ElementaryTypeName","src":"2166:5:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":9590,"mutability":"mutable","name":"tickSpacing","nameLocation":"2184:11:56","nodeType":"VariableDeclaration","scope":9595,"src":"2178:17:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9589,"name":"int24","nodeType":"ElementaryTypeName","src":"2178:5:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2125:71:56"},"returnParameters":{"id":9592,"nodeType":"ParameterList","parameters":[],"src":"2206:0:56"},"scope":9777,"src":"2108:1410:56","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":9775,"nodeType":"Block","src":"4470:1793:56","statements":[{"id":9774,"nodeType":"UncheckedBlock","src":"4480:1777:56","statements":[{"assignments":[9614],"declarations":[{"constant":false,"id":9614,"mutability":"mutable","name":"compressed","nameLocation":"4510:10:56","nodeType":"VariableDeclaration","scope":9774,"src":"4504:16:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9613,"name":"int24","nodeType":"ElementaryTypeName","src":"4504:5:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"id":9619,"initialValue":{"arguments":[{"id":9616,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9602,"src":"4532:4:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":9617,"name":"tickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9604,"src":"4538:11:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"}],"id":9615,"name":"compress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9569,"src":"4523:8:56","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$_t_int24_$returns$_t_int24_$","typeString":"function (int24,int24) pure returns (int24)"}},"id":9618,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4523:27:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"VariableDeclarationStatement","src":"4504:46:56"},{"condition":{"id":9620,"name":"lte","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9606,"src":"4569:3:56","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":9772,"nodeType":"Block","src":"5379:868:56","statements":[{"assignments":[9699,9701],"declarations":[{"constant":false,"id":9699,"mutability":"mutable","name":"wordPos","nameLocation":"5505:7:56","nodeType":"VariableDeclaration","scope":9772,"src":"5499:13:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"},"typeName":{"id":9698,"name":"int16","nodeType":"ElementaryTypeName","src":"5499:5:56","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"visibility":"internal"},{"constant":false,"id":9701,"mutability":"mutable","name":"bitPos","nameLocation":"5520:6:56","nodeType":"VariableDeclaration","scope":9772,"src":"5514:12:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":9700,"name":"uint8","nodeType":"ElementaryTypeName","src":"5514:5:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":9706,"initialValue":{"arguments":[{"id":9704,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":true,"src":"5539:12:56","subExpression":{"id":9703,"name":"compressed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9614,"src":"5541:10:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"id":9702,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"5530:8:56","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_int16_$_t_uint8_$","typeString":"function (int24) pure returns (int16,uint8)"}},"id":9705,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5530:22:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_int16_$_t_uint8_$","typeString":"tuple(int16,uint8)"}},"nodeType":"VariableDeclarationStatement","src":"5498:54:56"},{"assignments":[9708],"declarations":[{"constant":false,"id":9708,"mutability":"mutable","name":"mask","nameLocation":"5640:4:56","nodeType":"VariableDeclaration","scope":9772,"src":"5632:12:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9707,"name":"uint256","nodeType":"ElementaryTypeName","src":"5632:7:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9717,"initialValue":{"id":9716,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"~","prefix":true,"src":"5647:20:56","subExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9714,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9711,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":9709,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5650:1:56","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"id":9710,"name":"bitPos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9701,"src":"5655:6:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"5650:11:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":9712,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5649:13:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":9713,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5665:1:56","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"5649:17:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":9715,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5648:19:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5632:35:56"},{"assignments":[9719],"declarations":[{"constant":false,"id":9719,"mutability":"mutable","name":"masked","nameLocation":"5693:6:56","nodeType":"VariableDeclaration","scope":9772,"src":"5685:14:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9718,"name":"uint256","nodeType":"ElementaryTypeName","src":"5685:7:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9725,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9724,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":9720,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9600,"src":"5702:4:56","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"}},"id":9722,"indexExpression":{"id":9721,"name":"wordPos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9699,"src":"5707:7:56","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5702:13:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":9723,"name":"mask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9708,"src":"5718:4:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5702:20:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5685:37:56"},{"expression":{"id":9730,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9726,"name":"initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9611,"src":"5855:11:56","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9729,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9727,"name":"masked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9719,"src":"5869:6:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":9728,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5879:1:56","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5869:11:56","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5855:25:56","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9731,"nodeType":"ExpressionStatement","src":"5855:25:56"},{"expression":{"id":9770,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9732,"name":"next","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9609,"src":"6012:4:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"id":9733,"name":"initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9611,"src":"6019:11:56","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9768,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9765,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9751,"name":"compressed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9614,"src":"6165:10:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"arguments":[{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":9762,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":9758,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6196:5:56","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":9757,"name":"uint8","nodeType":"ElementaryTypeName","src":"6196:5:56","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":9756,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"6191:4:56","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":9759,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6191:11:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":9760,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6203:3:56","memberName":"max","nodeType":"MemberAccess","src":"6191:15:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9761,"name":"bitPos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9701,"src":"6209:6:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"6191:24:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":9755,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6184:6:56","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":9754,"name":"uint24","nodeType":"ElementaryTypeName","src":"6184:6:56","typeDescriptions":{}}},"id":9763,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6184:32:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":9753,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6178:5:56","typeDescriptions":{"typeIdentifier":"t_type$_t_int24_$","typeString":"type(int24)"},"typeName":{"id":9752,"name":"int24","nodeType":"ElementaryTypeName","src":"6178:5:56","typeDescriptions":{}}},"id":9764,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6178:39:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"6165:52:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":9766,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6164:54:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":9767,"name":"tickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9604,"src":"6221:11:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"6164:68:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":9769,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"6019:213:56","trueExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9750,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9747,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9734,"name":"compressed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9614,"src":"6054:10:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"arguments":[{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":9744,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":9741,"name":"masked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9719,"src":"6108:6:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":9739,"name":"BitMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4228,"src":"6080:7:56","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_BitMath_$4228_$","typeString":"type(library BitMath)"}},"id":9740,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6088:19:56","memberName":"leastSignificantBit","nodeType":"MemberAccess","referencedDeclaration":4227,"src":"6080:27:56","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint8_$","typeString":"function (uint256) pure returns (uint8)"}},"id":9742,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6080:35:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9743,"name":"bitPos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9701,"src":"6118:6:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"6080:44:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":9738,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6073:6:56","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":9737,"name":"uint24","nodeType":"ElementaryTypeName","src":"6073:6:56","typeDescriptions":{}}},"id":9745,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6073:52:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":9736,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6067:5:56","typeDescriptions":{"typeIdentifier":"t_type$_t_int24_$","typeString":"type(int24)"},"typeName":{"id":9735,"name":"int24","nodeType":"ElementaryTypeName","src":"6067:5:56","typeDescriptions":{}}},"id":9746,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6067:59:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"6054:72:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":9748,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6053:74:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":9749,"name":"tickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9604,"src":"6130:11:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"6053:88:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"6012:220:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":9771,"nodeType":"ExpressionStatement","src":"6012:220:56"}]},"id":9773,"nodeType":"IfStatement","src":"4565:1682:56","trueBody":{"id":9697,"nodeType":"Block","src":"4574:799:56","statements":[{"assignments":[9622,9624],"declarations":[{"constant":false,"id":9622,"mutability":"mutable","name":"wordPos","nameLocation":"4599:7:56","nodeType":"VariableDeclaration","scope":9697,"src":"4593:13:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"},"typeName":{"id":9621,"name":"int16","nodeType":"ElementaryTypeName","src":"4593:5:56","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"visibility":"internal"},{"constant":false,"id":9624,"mutability":"mutable","name":"bitPos","nameLocation":"4614:6:56","nodeType":"VariableDeclaration","scope":9697,"src":"4608:12:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":9623,"name":"uint8","nodeType":"ElementaryTypeName","src":"4608:5:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":9628,"initialValue":{"arguments":[{"id":9626,"name":"compressed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9614,"src":"4633:10:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"id":9625,"name":"position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"4624:8:56","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_int16_$_t_uint8_$","typeString":"function (int24) pure returns (int16,uint8)"}},"id":9627,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4624:20:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_int16_$_t_uint8_$","typeString":"tuple(int16,uint8)"}},"nodeType":"VariableDeclarationStatement","src":"4592:52:56"},{"assignments":[9630],"declarations":[{"constant":false,"id":9630,"mutability":"mutable","name":"mask","nameLocation":"4741:4:56","nodeType":"VariableDeclaration","scope":9697,"src":"4733:12:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9629,"name":"uint256","nodeType":"ElementaryTypeName","src":"4733:7:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9648,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9647,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":9633,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4753:7:56","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":9632,"name":"uint256","nodeType":"ElementaryTypeName","src":"4753:7:56","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"}],"id":9631,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"4748:4:56","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":9634,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4748:13:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint256","typeString":"type(uint256)"}},"id":9635,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4762:3:56","memberName":"max","nodeType":"MemberAccess","src":"4748:17:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9645,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"expression":{"arguments":[{"id":9640,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4783:5:56","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":9639,"name":"uint8","nodeType":"ElementaryTypeName","src":"4783:5:56","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":9638,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"4778:4:56","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":9641,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4778:11:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":9642,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4790:3:56","memberName":"max","nodeType":"MemberAccess","src":"4778:15:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":9637,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4770:7:56","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":9636,"name":"uint256","nodeType":"ElementaryTypeName","src":"4770:7:56","typeDescriptions":{}}},"id":9643,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4770:24:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":9644,"name":"bitPos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9624,"src":"4797:6:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4770:33:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":9646,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4769:35:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4748:56:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4733:71:56"},{"assignments":[9650],"declarations":[{"constant":false,"id":9650,"mutability":"mutable","name":"masked","nameLocation":"4830:6:56","nodeType":"VariableDeclaration","scope":9697,"src":"4822:14:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9649,"name":"uint256","nodeType":"ElementaryTypeName","src":"4822:7:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9656,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9655,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":9651,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9600,"src":"4839:4:56","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"}},"id":9653,"indexExpression":{"id":9652,"name":"wordPos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9622,"src":"4844:7:56","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4839:13:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":9654,"name":"mask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9630,"src":"4855:4:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4839:20:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4822:37:56"},{"expression":{"id":9661,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9657,"name":"initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9611,"src":"5000:11:56","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9660,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9658,"name":"masked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9650,"src":"5014:6:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":9659,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5024:1:56","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5014:11:56","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5000:25:56","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9662,"nodeType":"ExpressionStatement","src":"5000:25:56"},{"expression":{"id":9695,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9663,"name":"next","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9609,"src":"5157:4:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"id":9664,"name":"initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9611,"src":"5164:11:56","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9693,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9690,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9682,"name":"compressed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9614,"src":"5309:10:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"arguments":[{"arguments":[{"id":9687,"name":"bitPos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9624,"src":"5335:6:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":9686,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5328:6:56","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":9685,"name":"uint24","nodeType":"ElementaryTypeName","src":"5328:6:56","typeDescriptions":{}}},"id":9688,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5328:14:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":9684,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5322:5:56","typeDescriptions":{"typeIdentifier":"t_type$_t_int24_$","typeString":"type(int24)"},"typeName":{"id":9683,"name":"int24","nodeType":"ElementaryTypeName","src":"5322:5:56","typeDescriptions":{}}},"id":9689,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5322:21:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"5309:34:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":9691,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5308:36:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":9692,"name":"tickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9604,"src":"5347:11:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"5308:50:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":9694,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"5164:194:56","trueExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9681,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9678,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9665,"name":"compressed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9614,"src":"5199:10:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"arguments":[{"arguments":[{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":9675,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9670,"name":"bitPos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9624,"src":"5225:6:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"arguments":[{"id":9673,"name":"masked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9650,"src":"5261:6:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":9671,"name":"BitMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4228,"src":"5234:7:56","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_BitMath_$4228_$","typeString":"type(library BitMath)"}},"id":9672,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5242:18:56","memberName":"mostSignificantBit","nodeType":"MemberAccess","referencedDeclaration":4211,"src":"5234:26:56","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint8_$","typeString":"function (uint256) pure returns (uint8)"}},"id":9674,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5234:34:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"5225:43:56","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":9669,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5218:6:56","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":9668,"name":"uint24","nodeType":"ElementaryTypeName","src":"5218:6:56","typeDescriptions":{}}},"id":9676,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5218:51:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":9667,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5212:5:56","typeDescriptions":{"typeIdentifier":"t_type$_t_int24_$","typeString":"type(int24)"},"typeName":{"id":9666,"name":"int24","nodeType":"ElementaryTypeName","src":"5212:5:56","typeDescriptions":{}}},"id":9677,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5212:58:56","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"5199:71:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":9679,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5198:73:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":9680,"name":"tickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9604,"src":"5274:11:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"5198:87:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"5157:201:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":9696,"nodeType":"ExpressionStatement","src":"5157:201:56"}]}}]}]},"documentation":{"id":9596,"nodeType":"StructuredDocumentation","src":"3524:727:56","text":"@notice Returns the next initialized tick contained in the same word (or adjacent word) as the tick that is either\n to the left (less than or equal to) or right (greater than) of the given tick\n @param self The mapping in which to compute the next initialized tick\n @param tick The starting tick\n @param tickSpacing The spacing between usable ticks\n @param lte Whether to search for the next initialized tick to the left (less than or equal to the starting tick)\n @return next The next initialized or uninitialized tick up to 256 ticks away from the current tick\n @return initialized Whether the next tick is initialized, as the function only searches within up to 256 ticks"},"id":9776,"implemented":true,"kind":"function","modifiers":[],"name":"nextInitializedTickWithinOneWord","nameLocation":"4265:32:56","nodeType":"FunctionDefinition","parameters":{"id":9607,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9600,"mutability":"mutable","name":"self","nameLocation":"4341:4:56","nodeType":"VariableDeclaration","scope":9776,"src":"4307:38:56","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"},"typeName":{"id":9599,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":9597,"name":"int16","nodeType":"ElementaryTypeName","src":"4315:5:56","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"nodeType":"Mapping","src":"4307:25:56","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":9598,"name":"uint256","nodeType":"ElementaryTypeName","src":"4324:7:56","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"internal"},{"constant":false,"id":9602,"mutability":"mutable","name":"tick","nameLocation":"4361:4:56","nodeType":"VariableDeclaration","scope":9776,"src":"4355:10:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9601,"name":"int24","nodeType":"ElementaryTypeName","src":"4355:5:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":9604,"mutability":"mutable","name":"tickSpacing","nameLocation":"4381:11:56","nodeType":"VariableDeclaration","scope":9776,"src":"4375:17:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9603,"name":"int24","nodeType":"ElementaryTypeName","src":"4375:5:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":9606,"mutability":"mutable","name":"lte","nameLocation":"4407:3:56","nodeType":"VariableDeclaration","scope":9776,"src":"4402:8:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":9605,"name":"bool","nodeType":"ElementaryTypeName","src":"4402:4:56","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4297:119:56"},"returnParameters":{"id":9612,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9609,"mutability":"mutable","name":"next","nameLocation":"4446:4:56","nodeType":"VariableDeclaration","scope":9776,"src":"4440:10:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9608,"name":"int24","nodeType":"ElementaryTypeName","src":"4440:5:56","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":9611,"mutability":"mutable","name":"initialized","nameLocation":"4457:11:56","nodeType":"VariableDeclaration","scope":9776,"src":"4452:16:56","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":9610,"name":"bool","nodeType":"ElementaryTypeName","src":"4452:4:56","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4439:30:56"},"scope":9777,"src":"4256:2007:56","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":9778,"src":"340:5925:56","usedErrors":[9557],"usedEvents":[]}],"src":"32:6234:56"},"id":56},"@uniswap/v4-core/src/libraries/TickMath.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/TickMath.sol","exportedSymbols":{"BitMath":[4228],"CustomRevert":[4451],"TickMath":[10331]},"id":10332,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":9779,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:57"},{"absolutePath":"@uniswap/v4-core/src/libraries/BitMath.sol","file":"./BitMath.sol","id":9781,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":10332,"sourceUnit":4229,"src":"57:38:57","symbolAliases":[{"foreign":{"id":9780,"name":"BitMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4228,"src":"65:7:57","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/CustomRevert.sol","file":"./CustomRevert.sol","id":9783,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":10332,"sourceUnit":4452,"src":"96:48:57","symbolAliases":[{"foreign":{"id":9782,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"104:12:57","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"TickMath","contractDependencies":[],"contractKind":"library","documentation":{"id":9784,"nodeType":"StructuredDocumentation","src":"146:235:57","text":"@title Math library for computing sqrt prices from ticks and vice versa\n @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports\n prices between 2**-128 and 2**128"},"fullyImplemented":true,"id":10331,"linearizedBaseContracts":[10331],"name":"TickMath","nameLocation":"389:8:57","nodeType":"ContractDefinition","nodes":[{"global":false,"id":9787,"libraryName":{"id":9785,"name":"CustomRevert","nameLocations":["410:12:57"],"nodeType":"IdentifierPath","referencedDeclaration":4451,"src":"410:12:57"},"nodeType":"UsingForDirective","src":"404:30:57","typeName":{"id":9786,"name":"bytes4","nodeType":"ElementaryTypeName","src":"427:6:57","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}},{"documentation":{"id":9788,"nodeType":"StructuredDocumentation","src":"440:99:57","text":"@notice Thrown when the tick passed to #getSqrtPriceAtTick is not between MIN_TICK and MAX_TICK"},"errorSelector":"8b86327a","id":9792,"name":"InvalidTick","nameLocation":"550:11:57","nodeType":"ErrorDefinition","parameters":{"id":9791,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9790,"mutability":"mutable","name":"tick","nameLocation":"568:4:57","nodeType":"VariableDeclaration","scope":9792,"src":"562:10:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9789,"name":"int24","nodeType":"ElementaryTypeName","src":"562:5:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"561:12:57"},"src":"544:30:57"},{"documentation":{"id":9793,"nodeType":"StructuredDocumentation","src":"579:124:57","text":"@notice Thrown when the price passed to #getTickAtSqrtPrice does not correspond to a price between MIN_TICK and MAX_TICK"},"errorSelector":"61487524","id":9797,"name":"InvalidSqrtPrice","nameLocation":"714:16:57","nodeType":"ErrorDefinition","parameters":{"id":9796,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9795,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"739:12:57","nodeType":"VariableDeclaration","scope":9797,"src":"731:20:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":9794,"name":"uint160","nodeType":"ElementaryTypeName","src":"731:7:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"730:22:57"},"src":"708:45:57"},{"constant":true,"documentation":{"id":9798,"nodeType":"StructuredDocumentation","src":"759:233:57","text":"@dev The minimum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**-128\n @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used"},"id":9802,"mutability":"constant","name":"MIN_TICK","nameLocation":"1021:8:57","nodeType":"VariableDeclaration","scope":10331,"src":"997:42:57","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9799,"name":"int24","nodeType":"ElementaryTypeName","src":"997:5:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"value":{"id":9801,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"1032:7:57","subExpression":{"hexValue":"383837323732","id":9800,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1033:6:57","typeDescriptions":{"typeIdentifier":"t_rational_887272_by_1","typeString":"int_const 887272"},"value":"887272"},"typeDescriptions":{"typeIdentifier":"t_rational_minus_887272_by_1","typeString":"int_const -887272"}},"visibility":"internal"},{"constant":true,"documentation":{"id":9803,"nodeType":"StructuredDocumentation","src":"1045:232:57","text":"@dev The maximum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**128\n @dev If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used"},"id":9806,"mutability":"constant","name":"MAX_TICK","nameLocation":"1306:8:57","nodeType":"VariableDeclaration","scope":10331,"src":"1282:41:57","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9804,"name":"int24","nodeType":"ElementaryTypeName","src":"1282:5:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"value":{"hexValue":"383837323732","id":9805,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1317:6:57","typeDescriptions":{"typeIdentifier":"t_rational_887272_by_1","typeString":"int_const 887272"},"value":"887272"},"visibility":"internal"},{"constant":true,"documentation":{"id":9807,"nodeType":"StructuredDocumentation","src":"1330:133:57","text":"@dev The minimum tick spacing value drawn from the range of type int16 that is greater than 0, i.e. min from the range [1, 32767]"},"id":9810,"mutability":"constant","name":"MIN_TICK_SPACING","nameLocation":"1492:16:57","nodeType":"VariableDeclaration","scope":10331,"src":"1468:44:57","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9808,"name":"int24","nodeType":"ElementaryTypeName","src":"1468:5:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"value":{"hexValue":"31","id":9809,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1511:1:57","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"visibility":"internal"},{"constant":true,"documentation":{"id":9811,"nodeType":"StructuredDocumentation","src":"1518:110:57","text":"@dev The maximum tick spacing value drawn from the range of type int16, i.e. max from the range [1, 32767]"},"id":9818,"mutability":"constant","name":"MAX_TICK_SPACING","nameLocation":"1657:16:57","nodeType":"VariableDeclaration","scope":10331,"src":"1633:58:57","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9812,"name":"int24","nodeType":"ElementaryTypeName","src":"1633:5:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"value":{"expression":{"arguments":[{"id":9815,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1681:5:57","typeDescriptions":{"typeIdentifier":"t_type$_t_int16_$","typeString":"type(int16)"},"typeName":{"id":9814,"name":"int16","nodeType":"ElementaryTypeName","src":"1681:5:57","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_int16_$","typeString":"type(int16)"}],"id":9813,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"1676:4:57","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":9816,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1676:11:57","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_int16","typeString":"type(int16)"}},"id":9817,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1688:3:57","memberName":"max","nodeType":"MemberAccess","src":"1676:15:57","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"visibility":"internal"},{"constant":true,"documentation":{"id":9819,"nodeType":"StructuredDocumentation","src":"1698:116:57","text":"@dev The minimum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MIN_TICK)"},"id":9822,"mutability":"constant","name":"MIN_SQRT_PRICE","nameLocation":"1845:14:57","nodeType":"VariableDeclaration","scope":10331,"src":"1819:53:57","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":9820,"name":"uint160","nodeType":"ElementaryTypeName","src":"1819:7:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"hexValue":"34323935313238373339","id":9821,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1862:10:57","typeDescriptions":{"typeIdentifier":"t_rational_4295128739_by_1","typeString":"int_const 4295128739"},"value":"4295128739"},"visibility":"internal"},{"constant":true,"documentation":{"id":9823,"nodeType":"StructuredDocumentation","src":"1878:116:57","text":"@dev The maximum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MAX_TICK)"},"id":9826,"mutability":"constant","name":"MAX_SQRT_PRICE","nameLocation":"2025:14:57","nodeType":"VariableDeclaration","scope":10331,"src":"1999:92:57","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":9824,"name":"uint160","nodeType":"ElementaryTypeName","src":"1999:7:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"hexValue":"31343631343436373033343835323130313033323837323733303532323033393838383232333738373233393730333432","id":9825,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2042:49:57","typeDescriptions":{"typeIdentifier":"t_rational_1461446703485210103287273052203988822378723970342_by_1","typeString":"int_const 1461...(41 digits omitted)...0342"},"value":"1461446703485210103287273052203988822378723970342"},"visibility":"internal"},{"constant":true,"documentation":{"id":9827,"nodeType":"StructuredDocumentation","src":"2097:98:57","text":"@dev A threshold used for optimized bounds check, equals `MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1`"},"id":9834,"mutability":"constant","name":"MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE","nameLocation":"2226:45:57","nodeType":"VariableDeclaration","scope":10331,"src":"2200:148:57","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":9828,"name":"uint160","nodeType":"ElementaryTypeName","src":"2200:7:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"commonType":{"typeIdentifier":"t_rational_1461446703485210103287273052203988822374428841602_by_1","typeString":"int_const 1461...(41 digits omitted)...1602"},"id":9833,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_rational_1461446703485210103287273052203988822374428841603_by_1","typeString":"int_const 1461...(41 digits omitted)...1603"},"id":9831,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31343631343436373033343835323130313033323837323733303532323033393838383232333738373233393730333432","id":9829,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2282:49:57","typeDescriptions":{"typeIdentifier":"t_rational_1461446703485210103287273052203988822378723970342_by_1","typeString":"int_const 1461...(41 digits omitted)...0342"},"value":"1461446703485210103287273052203988822378723970342"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"34323935313238373339","id":9830,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2334:10:57","typeDescriptions":{"typeIdentifier":"t_rational_4295128739_by_1","typeString":"int_const 4295128739"},"value":"4295128739"},"src":"2282:62:57","typeDescriptions":{"typeIdentifier":"t_rational_1461446703485210103287273052203988822374428841603_by_1","typeString":"int_const 1461...(41 digits omitted)...1603"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":9832,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2347:1:57","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"2282:66:57","typeDescriptions":{"typeIdentifier":"t_rational_1461446703485210103287273052203988822374428841602_by_1","typeString":"int_const 1461...(41 digits omitted)...1602"}},"visibility":"internal"},{"body":{"id":9850,"nodeType":"Block","src":"2496:96:57","statements":[{"id":9849,"nodeType":"UncheckedBlock","src":"2506:80:57","statements":[{"expression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9847,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9844,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9842,"name":"MAX_TICK","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9806,"src":"2538:8:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":9843,"name":"tickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9837,"src":"2549:11:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"2538:22:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":9845,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2537:24:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":9846,"name":"tickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9837,"src":"2564:11:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"2537:38:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"functionReturnParameters":9841,"id":9848,"nodeType":"Return","src":"2530:45:57"}]}]},"documentation":{"id":9835,"nodeType":"StructuredDocumentation","src":"2355:64:57","text":"@notice Given a tickSpacing, compute the maximum usable tick"},"id":9851,"implemented":true,"kind":"function","modifiers":[],"name":"maxUsableTick","nameLocation":"2433:13:57","nodeType":"FunctionDefinition","parameters":{"id":9838,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9837,"mutability":"mutable","name":"tickSpacing","nameLocation":"2453:11:57","nodeType":"VariableDeclaration","scope":9851,"src":"2447:17:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9836,"name":"int24","nodeType":"ElementaryTypeName","src":"2447:5:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2446:19:57"},"returnParameters":{"id":9841,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9840,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":9851,"src":"2489:5:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9839,"name":"int24","nodeType":"ElementaryTypeName","src":"2489:5:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2488:7:57"},"scope":10331,"src":"2424:168:57","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":9867,"nodeType":"Block","src":"2739:96:57","statements":[{"id":9866,"nodeType":"UncheckedBlock","src":"2749:80:57","statements":[{"expression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9864,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":9861,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9859,"name":"MIN_TICK","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9802,"src":"2781:8:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":9860,"name":"tickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9854,"src":"2792:11:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"2781:22:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":9862,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2780:24:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":9863,"name":"tickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9854,"src":"2807:11:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"2780:38:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"functionReturnParameters":9858,"id":9865,"nodeType":"Return","src":"2773:45:57"}]}]},"documentation":{"id":9852,"nodeType":"StructuredDocumentation","src":"2598:64:57","text":"@notice Given a tickSpacing, compute the minimum usable tick"},"id":9868,"implemented":true,"kind":"function","modifiers":[],"name":"minUsableTick","nameLocation":"2676:13:57","nodeType":"FunctionDefinition","parameters":{"id":9855,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9854,"mutability":"mutable","name":"tickSpacing","nameLocation":"2696:11:57","nodeType":"VariableDeclaration","scope":9868,"src":"2690:17:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9853,"name":"int24","nodeType":"ElementaryTypeName","src":"2690:5:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2689:19:57"},"returnParameters":{"id":9858,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9857,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":9868,"src":"2732:5:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9856,"name":"int24","nodeType":"ElementaryTypeName","src":"2732:5:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2731:7:57"},"scope":10331,"src":"2667:168:57","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10189,"nodeType":"Block","src":"3234:3933:57","statements":[{"id":10188,"nodeType":"UncheckedBlock","src":"3244:3917:57","statements":[{"assignments":[9877],"declarations":[{"constant":false,"id":9877,"mutability":"mutable","name":"absTick","nameLocation":"3276:7:57","nodeType":"VariableDeclaration","scope":10188,"src":"3268:15:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9876,"name":"uint256","nodeType":"ElementaryTypeName","src":"3268:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9878,"nodeType":"VariableDeclarationStatement","src":"3268:15:57"},{"AST":{"nativeSrc":"3322:434:57","nodeType":"YulBlock","src":"3322:434:57","statements":[{"nativeSrc":"3340:27:57","nodeType":"YulAssignment","src":"3340:27:57","value":{"arguments":[{"kind":"number","nativeSrc":"3359:1:57","nodeType":"YulLiteral","src":"3359:1:57","type":"","value":"2"},{"name":"tick","nativeSrc":"3362:4:57","nodeType":"YulIdentifier","src":"3362:4:57"}],"functionName":{"name":"signextend","nativeSrc":"3348:10:57","nodeType":"YulIdentifier","src":"3348:10:57"},"nativeSrc":"3348:19:57","nodeType":"YulFunctionCall","src":"3348:19:57"},"variableNames":[{"name":"tick","nativeSrc":"3340:4:57","nodeType":"YulIdentifier","src":"3340:4:57"}]},{"nativeSrc":"3442:26:57","nodeType":"YulVariableDeclaration","src":"3442:26:57","value":{"arguments":[{"kind":"number","nativeSrc":"3458:3:57","nodeType":"YulLiteral","src":"3458:3:57","type":"","value":"255"},{"name":"tick","nativeSrc":"3463:4:57","nodeType":"YulIdentifier","src":"3463:4:57"}],"functionName":{"name":"sar","nativeSrc":"3454:3:57","nodeType":"YulIdentifier","src":"3454:3:57"},"nativeSrc":"3454:14:57","nodeType":"YulFunctionCall","src":"3454:14:57"},"variables":[{"name":"mask","nativeSrc":"3446:4:57","nodeType":"YulTypedName","src":"3446:4:57","type":""}]},{"nativeSrc":"3705:37:57","nodeType":"YulAssignment","src":"3705:37:57","value":{"arguments":[{"name":"mask","nativeSrc":"3720:4:57","nodeType":"YulIdentifier","src":"3720:4:57"},{"arguments":[{"name":"mask","nativeSrc":"3730:4:57","nodeType":"YulIdentifier","src":"3730:4:57"},{"name":"tick","nativeSrc":"3736:4:57","nodeType":"YulIdentifier","src":"3736:4:57"}],"functionName":{"name":"add","nativeSrc":"3726:3:57","nodeType":"YulIdentifier","src":"3726:3:57"},"nativeSrc":"3726:15:57","nodeType":"YulFunctionCall","src":"3726:15:57"}],"functionName":{"name":"xor","nativeSrc":"3716:3:57","nodeType":"YulIdentifier","src":"3716:3:57"},"nativeSrc":"3716:26:57","nodeType":"YulFunctionCall","src":"3716:26:57"},"variableNames":[{"name":"absTick","nativeSrc":"3705:7:57","nodeType":"YulIdentifier","src":"3705:7:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":9877,"isOffset":false,"isSlot":false,"src":"3705:7:57","valueSize":1},{"declaration":9871,"isOffset":false,"isSlot":false,"src":"3340:4:57","valueSize":1},{"declaration":9871,"isOffset":false,"isSlot":false,"src":"3362:4:57","valueSize":1},{"declaration":9871,"isOffset":false,"isSlot":false,"src":"3463:4:57","valueSize":1},{"declaration":9871,"isOffset":false,"isSlot":false,"src":"3736:4:57","valueSize":1}],"flags":["memory-safe"],"id":9879,"nodeType":"InlineAssembly","src":"3297:459:57"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9888,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9880,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"3774:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"arguments":[{"arguments":[{"id":9885,"name":"MAX_TICK","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9806,"src":"3799:8:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"id":9884,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3792:6:57","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":9883,"name":"int256","nodeType":"ElementaryTypeName","src":"3792:6:57","typeDescriptions":{}}},"id":9886,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3792:16:57","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":9882,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3784:7:57","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":9881,"name":"uint256","nodeType":"ElementaryTypeName","src":"3784:7:57","typeDescriptions":{}}},"id":9887,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3784:25:57","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3774:35:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9897,"nodeType":"IfStatement","src":"3770:78:57","trueBody":{"expression":{"arguments":[{"id":9894,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9871,"src":"3843:4:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"expression":{"id":9889,"name":"InvalidTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9792,"src":"3811:11:57","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_int24_$returns$_t_error_$","typeString":"function (int24) pure returns (error)"}},"id":9892,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3823:8:57","memberName":"selector","nodeType":"MemberAccess","src":"3811:20:57","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":9893,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3832:10:57","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4387,"src":"3811:31:57","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_int24_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,int24) pure"}},"id":9895,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3811:37:57","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9896,"nodeType":"ExpressionStatement","src":"3811:37:57"}},{"assignments":[9899],"declarations":[{"constant":false,"id":9899,"mutability":"mutable","name":"price","nameLocation":"4364:5:57","nodeType":"VariableDeclaration","scope":10188,"src":"4356:13:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9898,"name":"uint256","nodeType":"ElementaryTypeName","src":"4356:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9900,"nodeType":"VariableDeclarationStatement","src":"4356:13:57"},{"AST":{"nativeSrc":"4408:135:57","nodeType":"YulBlock","src":"4408:135:57","statements":[{"nativeSrc":"4426:103:57","nodeType":"YulAssignment","src":"4426:103:57","value":{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"4443:3:57","nodeType":"YulLiteral","src":"4443:3:57","type":"","value":"128"},{"kind":"number","nativeSrc":"4448:1:57","nodeType":"YulLiteral","src":"4448:1:57","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"4439:3:57","nodeType":"YulIdentifier","src":"4439:3:57"},"nativeSrc":"4439:11:57","nodeType":"YulFunctionCall","src":"4439:11:57"},{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"4464:3:57","nodeType":"YulLiteral","src":"4464:3:57","type":"","value":"128"},{"kind":"number","nativeSrc":"4469:1:57","nodeType":"YulLiteral","src":"4469:1:57","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"4460:3:57","nodeType":"YulIdentifier","src":"4460:3:57"},"nativeSrc":"4460:11:57","nodeType":"YulFunctionCall","src":"4460:11:57"},{"kind":"number","nativeSrc":"4473:34:57","nodeType":"YulLiteral","src":"4473:34:57","type":"","value":"0xfffcb933bd6fad37aa2d162d1a594001"}],"functionName":{"name":"xor","nativeSrc":"4456:3:57","nodeType":"YulIdentifier","src":"4456:3:57"},"nativeSrc":"4456:52:57","nodeType":"YulFunctionCall","src":"4456:52:57"},{"arguments":[{"name":"absTick","nativeSrc":"4514:7:57","nodeType":"YulIdentifier","src":"4514:7:57"},{"kind":"number","nativeSrc":"4523:3:57","nodeType":"YulLiteral","src":"4523:3:57","type":"","value":"0x1"}],"functionName":{"name":"and","nativeSrc":"4510:3:57","nodeType":"YulIdentifier","src":"4510:3:57"},"nativeSrc":"4510:17:57","nodeType":"YulFunctionCall","src":"4510:17:57"}],"functionName":{"name":"mul","nativeSrc":"4452:3:57","nodeType":"YulIdentifier","src":"4452:3:57"},"nativeSrc":"4452:76:57","nodeType":"YulFunctionCall","src":"4452:76:57"}],"functionName":{"name":"xor","nativeSrc":"4435:3:57","nodeType":"YulIdentifier","src":"4435:3:57"},"nativeSrc":"4435:94:57","nodeType":"YulFunctionCall","src":"4435:94:57"},"variableNames":[{"name":"price","nativeSrc":"4426:5:57","nodeType":"YulIdentifier","src":"4426:5:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":9877,"isOffset":false,"isSlot":false,"src":"4514:7:57","valueSize":1},{"declaration":9899,"isOffset":false,"isSlot":false,"src":"4426:5:57","valueSize":1}],"flags":["memory-safe"],"id":9901,"nodeType":"InlineAssembly","src":"4383:160:57"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9906,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9904,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9902,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"4560:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307832","id":9903,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4570:3:57","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"0x2"},"src":"4560:13:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":9905,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4577:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4560:18:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9916,"nodeType":"IfStatement","src":"4556:83:57","trueBody":{"expression":{"id":9914,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9907,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"4580:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9913,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9910,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9908,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"4589:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786666663937323732333733643431333235396134363939303538306532313361","id":9909,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4597:34:57","typeDescriptions":{"typeIdentifier":"t_rational_340248342086729790484326174814286782778_by_1","typeString":"int_const 3402...(31 digits omitted)...2778"},"value":"0xfff97272373d413259a46990580e213a"},"src":"4589:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":9911,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4588:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":9912,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4636:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"4588:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4580:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9915,"nodeType":"ExpressionStatement","src":"4580:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9921,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9919,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9917,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"4657:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307834","id":9918,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4667:3:57","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"0x4"},"src":"4657:13:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":9920,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4674:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4657:18:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9931,"nodeType":"IfStatement","src":"4653:83:57","trueBody":{"expression":{"id":9929,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9922,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"4677:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9928,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9925,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9923,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"4686:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786666663265353066356636353639333265663132333537636633633766646363","id":9924,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4694:34:57","typeDescriptions":{"typeIdentifier":"t_rational_340214320654664324051920982716015181260_by_1","typeString":"int_const 3402...(31 digits omitted)...1260"},"value":"0xfff2e50f5f656932ef12357cf3c7fdcc"},"src":"4686:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":9926,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4685:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":9927,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4733:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"4685:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4677:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9930,"nodeType":"ExpressionStatement","src":"4677:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9936,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9934,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9932,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"4754:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307838","id":9933,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4764:3:57","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"0x8"},"src":"4754:13:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":9935,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4771:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4754:18:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9946,"nodeType":"IfStatement","src":"4750:83:57","trueBody":{"expression":{"id":9944,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9937,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"4774:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9943,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9940,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9938,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"4783:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786666653563616361376531306534653631633336323465616130393431636430","id":9939,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4791:34:57","typeDescriptions":{"typeIdentifier":"t_rational_340146287995602323631171512101879684304_by_1","typeString":"int_const 3401...(31 digits omitted)...4304"},"value":"0xffe5caca7e10e4e61c3624eaa0941cd0"},"src":"4783:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":9941,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4782:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":9942,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4830:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"4782:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4774:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9945,"nodeType":"ExpressionStatement","src":"4774:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9951,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9949,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9947,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"4851:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783130","id":9948,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4861:4:57","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"0x10"},"src":"4851:14:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":9950,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4869:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4851:19:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9961,"nodeType":"IfStatement","src":"4847:84:57","trueBody":{"expression":{"id":9959,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9952,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"4872:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9958,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9955,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9953,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"4881:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786666636239383433643630663631353963396462353838333563393236363434","id":9954,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4889:34:57","typeDescriptions":{"typeIdentifier":"t_rational_340010263488231146823593991679159461444_by_1","typeString":"int_const 3400...(31 digits omitted)...1444"},"value":"0xffcb9843d60f6159c9db58835c926644"},"src":"4881:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":9956,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4880:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":9957,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4928:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"4880:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4872:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9960,"nodeType":"ExpressionStatement","src":"4872:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9966,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9964,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9962,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"4949:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783230","id":9963,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4959:4:57","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"0x20"},"src":"4949:14:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":9965,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4967:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4949:19:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9976,"nodeType":"IfStatement","src":"4945:84:57","trueBody":{"expression":{"id":9974,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9967,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"4970:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9973,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9970,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9968,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"4979:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786666393733623431666139386330383134373265363839366466623235346330","id":9969,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4987:34:57","typeDescriptions":{"typeIdentifier":"t_rational_339738377640345403697157401104375502016_by_1","typeString":"int_const 3397...(31 digits omitted)...2016"},"value":"0xff973b41fa98c081472e6896dfb254c0"},"src":"4979:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":9971,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4978:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":9972,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5026:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"4978:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4970:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9975,"nodeType":"ExpressionStatement","src":"4970:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9981,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9979,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9977,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"5047:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783430","id":9978,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5057:4:57","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"0x40"},"src":"5047:14:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":9980,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5065:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5047:19:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9991,"nodeType":"IfStatement","src":"5043:84:57","trueBody":{"expression":{"id":9989,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9982,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5068:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9988,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9985,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9983,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5077:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786666326561313634363663393661333834336563373862333236623532383631","id":9984,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5085:34:57","typeDescriptions":{"typeIdentifier":"t_rational_339195258003219555707034227454543997025_by_1","typeString":"int_const 3391...(31 digits omitted)...7025"},"value":"0xff2ea16466c96a3843ec78b326b52861"},"src":"5077:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":9986,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5076:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":9987,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5124:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"5076:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5068:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9990,"nodeType":"ExpressionStatement","src":"5068:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9996,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9994,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9992,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"5145:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783830","id":9993,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5155:4:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"0x80"},"src":"5145:14:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":9995,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5163:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5145:19:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10006,"nodeType":"IfStatement","src":"5141:84:57","trueBody":{"expression":{"id":10004,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9997,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5166:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10003,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10000,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9998,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5175:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786665356465653034366139396132613831316334363166313936396333303533","id":9999,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5183:34:57","typeDescriptions":{"typeIdentifier":"t_rational_338111622100601834656805679988414885971_by_1","typeString":"int_const 3381...(31 digits omitted)...5971"},"value":"0xfe5dee046a99a2a811c461f1969c3053"},"src":"5175:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10001,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5174:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10002,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5222:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"5174:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5166:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10005,"nodeType":"ExpressionStatement","src":"5166:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10011,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10009,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10007,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"5243:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"3078313030","id":10008,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5253:5:57","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"},"value":"0x100"},"src":"5243:15:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":10010,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5262:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5243:20:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10021,"nodeType":"IfStatement","src":"5239:85:57","trueBody":{"expression":{"id":10019,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10012,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5265:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10018,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10015,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10013,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5274:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786663626538366337393030613838616564636666633833623437396161336134","id":10014,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5282:34:57","typeDescriptions":{"typeIdentifier":"t_rational_335954724994790223023589805789778977700_by_1","typeString":"int_const 3359...(31 digits omitted)...7700"},"value":"0xfcbe86c7900a88aedcffc83b479aa3a4"},"src":"5274:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10016,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5273:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10017,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5321:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"5273:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5265:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10020,"nodeType":"ExpressionStatement","src":"5265:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10026,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10024,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10022,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"5342:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"3078323030","id":10023,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5352:5:57","typeDescriptions":{"typeIdentifier":"t_rational_512_by_1","typeString":"int_const 512"},"value":"0x200"},"src":"5342:15:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":10025,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5361:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5342:20:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10036,"nodeType":"IfStatement","src":"5338:85:57","trueBody":{"expression":{"id":10034,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10027,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5364:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10033,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10030,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10028,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5373:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786639383761373235336163343133313736663262303734636637383135653534","id":10029,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5381:34:57","typeDescriptions":{"typeIdentifier":"t_rational_331682121138379247127172139078559817300_by_1","typeString":"int_const 3316...(31 digits omitted)...7300"},"value":"0xf987a7253ac413176f2b074cf7815e54"},"src":"5373:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10031,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5372:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10032,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5420:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"5372:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5364:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10035,"nodeType":"ExpressionStatement","src":"5364:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10041,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10039,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10037,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"5441:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"3078343030","id":10038,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5451:5:57","typeDescriptions":{"typeIdentifier":"t_rational_1024_by_1","typeString":"int_const 1024"},"value":"0x400"},"src":"5441:15:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":10040,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5460:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5441:20:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10051,"nodeType":"IfStatement","src":"5437:85:57","trueBody":{"expression":{"id":10049,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10042,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5463:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10048,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10045,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10043,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5472:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786633333932623038323262373030303539343063376133393865346237306633","id":10044,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5480:34:57","typeDescriptions":{"typeIdentifier":"t_rational_323299236684853023288211250268160618739_by_1","typeString":"int_const 3232...(31 digits omitted)...8739"},"value":"0xf3392b0822b70005940c7a398e4b70f3"},"src":"5472:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10046,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5471:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10047,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5519:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"5471:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5463:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10050,"nodeType":"ExpressionStatement","src":"5463:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10056,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10054,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10052,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"5540:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"3078383030","id":10053,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5550:5:57","typeDescriptions":{"typeIdentifier":"t_rational_2048_by_1","typeString":"int_const 2048"},"value":"0x800"},"src":"5540:15:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":10055,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5559:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5540:20:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10066,"nodeType":"IfStatement","src":"5536:85:57","trueBody":{"expression":{"id":10064,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10057,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5562:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10063,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10060,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10058,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5571:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786537313539343735613263323962373434336232396337666136653838396439","id":10059,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5579:34:57","typeDescriptions":{"typeIdentifier":"t_rational_307163716377032989948697243942600083929_by_1","typeString":"int_const 3071...(31 digits omitted)...3929"},"value":"0xe7159475a2c29b7443b29c7fa6e889d9"},"src":"5571:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10061,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5570:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10062,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5618:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"5570:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5562:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10065,"nodeType":"ExpressionStatement","src":"5562:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10071,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10069,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10067,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"5639:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307831303030","id":10068,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5649:6:57","typeDescriptions":{"typeIdentifier":"t_rational_4096_by_1","typeString":"int_const 4096"},"value":"0x1000"},"src":"5639:16:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":10070,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5659:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5639:21:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10081,"nodeType":"IfStatement","src":"5635:86:57","trueBody":{"expression":{"id":10079,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10072,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5662:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10078,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10075,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10073,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5671:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786430393766336264666432303232623838343561643866373932616135383235","id":10074,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5679:34:57","typeDescriptions":{"typeIdentifier":"t_rational_277268403626896220162999269216087595045_by_1","typeString":"int_const 2772...(31 digits omitted)...5045"},"value":"0xd097f3bdfd2022b8845ad8f792aa5825"},"src":"5671:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10076,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5670:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10077,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5718:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"5670:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5662:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10080,"nodeType":"ExpressionStatement","src":"5662:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10086,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10084,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10082,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"5739:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307832303030","id":10083,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5749:6:57","typeDescriptions":{"typeIdentifier":"t_rational_8192_by_1","typeString":"int_const 8192"},"value":"0x2000"},"src":"5739:16:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":10085,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5759:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5739:21:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10096,"nodeType":"IfStatement","src":"5735:86:57","trueBody":{"expression":{"id":10094,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10087,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5762:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10093,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10090,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10088,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5771:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786139663734363436326438373066646638613635646331663930653036316535","id":10089,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5779:34:57","typeDescriptions":{"typeIdentifier":"t_rational_225923453940442621947126027127485391333_by_1","typeString":"int_const 2259...(31 digits omitted)...1333"},"value":"0xa9f746462d870fdf8a65dc1f90e061e5"},"src":"5771:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10091,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5770:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10092,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5818:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"5770:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5762:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10095,"nodeType":"ExpressionStatement","src":"5762:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10101,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10099,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10097,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"5839:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307834303030","id":10098,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5849:6:57","typeDescriptions":{"typeIdentifier":"t_rational_16384_by_1","typeString":"int_const 16384"},"value":"0x4000"},"src":"5839:16:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":10100,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5859:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5839:21:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10111,"nodeType":"IfStatement","src":"5835:86:57","trueBody":{"expression":{"id":10109,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10102,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5862:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10108,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10105,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10103,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5871:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30783730643836396131353664326131623839306262336466363262616633326637","id":10104,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5879:34:57","typeDescriptions":{"typeIdentifier":"t_rational_149997214084966997727330242082538205943_by_1","typeString":"int_const 1499...(31 digits omitted)...5943"},"value":"0x70d869a156d2a1b890bb3df62baf32f7"},"src":"5871:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10106,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5870:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10107,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5918:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"5870:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5862:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10110,"nodeType":"ExpressionStatement","src":"5862:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10116,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10114,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10112,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"5939:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307838303030","id":10113,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5949:6:57","typeDescriptions":{"typeIdentifier":"t_rational_32768_by_1","typeString":"int_const 32768"},"value":"0x8000"},"src":"5939:16:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":10115,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5959:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5939:21:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10126,"nodeType":"IfStatement","src":"5935:86:57","trueBody":{"expression":{"id":10124,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10117,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5962:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10123,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10120,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10118,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"5971:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30783331626531333566393764303866643938313233313530353534326663666136","id":10119,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5979:34:57","typeDescriptions":{"typeIdentifier":"t_rational_66119101136024775622716233608466517926_by_1","typeString":"int_const 6611...(30 digits omitted)...7926"},"value":"0x31be135f97d08fd981231505542fcfa6"},"src":"5971:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10121,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5970:44:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10122,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6018:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"5970:51:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5962:59:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10125,"nodeType":"ExpressionStatement","src":"5962:59:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10131,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10129,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10127,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"6039:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783130303030","id":10128,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6049:7:57","typeDescriptions":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"},"value":"0x10000"},"src":"6039:17:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":10130,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6060:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6039:22:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10141,"nodeType":"IfStatement","src":"6035:86:57","trueBody":{"expression":{"id":10139,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10132,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"6063:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10138,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10135,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10133,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"6072:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"307839616135303862356237613834653163363737646535346633653939626339","id":10134,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6080:33:57","typeDescriptions":{"typeIdentifier":"t_rational_12847376061809297530290974190478138313_by_1","typeString":"int_const 1284...(30 digits omitted)...8313"},"value":"0x9aa508b5b7a84e1c677de54f3e99bc9"},"src":"6072:41:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10136,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6071:43:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10137,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6118:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"6071:50:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6063:58:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10140,"nodeType":"ExpressionStatement","src":"6063:58:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10146,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10144,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10142,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"6139:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783230303030","id":10143,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6149:7:57","typeDescriptions":{"typeIdentifier":"t_rational_131072_by_1","typeString":"int_const 131072"},"value":"0x20000"},"src":"6139:17:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":10145,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6160:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6139:22:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10156,"nodeType":"IfStatement","src":"6135:85:57","trueBody":{"expression":{"id":10154,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10147,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"6163:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10153,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10150,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10148,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"6172:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3078356436616638646564623831313936363939633332393232356565363034","id":10149,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6180:32:57","typeDescriptions":{"typeIdentifier":"t_rational_485053260817066172746253684029974020_by_1","typeString":"int_const 4850...(28 digits omitted)...4020"},"value":"0x5d6af8dedb81196699c329225ee604"},"src":"6172:40:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10151,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6171:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10152,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6217:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"6171:49:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6163:57:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10155,"nodeType":"ExpressionStatement","src":"6163:57:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10161,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10159,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10157,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"6238:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783430303030","id":10158,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6248:7:57","typeDescriptions":{"typeIdentifier":"t_rational_262144_by_1","typeString":"int_const 262144"},"value":"0x40000"},"src":"6238:17:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":10160,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6259:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6238:22:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10171,"nodeType":"IfStatement","src":"6234:83:57","trueBody":{"expression":{"id":10169,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10162,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"6262:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10168,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10165,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10163,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"6271:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"307832323136653538346635666131656139323630343162656466653938","id":10164,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6279:30:57","typeDescriptions":{"typeIdentifier":"t_rational_691415978906521570653435304214168_by_1","typeString":"int_const 6914...(25 digits omitted)...4168"},"value":"0x2216e584f5fa1ea926041bedfe98"},"src":"6271:38:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10166,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6270:40:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10167,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6314:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"6270:47:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6262:55:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10170,"nodeType":"ExpressionStatement","src":"6262:55:57"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10176,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10174,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10172,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9877,"src":"6335:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783830303030","id":10173,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6345:7:57","typeDescriptions":{"typeIdentifier":"t_rational_524288_by_1","typeString":"int_const 524288"},"value":"0x80000"},"src":"6335:17:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":10175,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6356:1:57","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6335:22:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10186,"nodeType":"IfStatement","src":"6331:78:57","trueBody":{"expression":{"id":10184,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10177,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"6359:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10183,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10180,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10178,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9899,"src":"6368:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30783438613137303339316637646334323434346538666132","id":10179,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6376:25:57","typeDescriptions":{"typeIdentifier":"t_rational_1404880482679654955896180642_by_1","typeString":"int_const 1404880482679654955896180642"},"value":"0x48a170391f7dc42444e8fa2"},"src":"6368:33:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10181,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6367:35:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10182,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6406:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"6367:42:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6359:50:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10185,"nodeType":"ExpressionStatement","src":"6359:50:57"}},{"AST":{"nativeSrc":"6449:702:57","nodeType":"YulBlock","src":"6449:702:57","statements":[{"body":{"nativeSrc":"6551:31:57","nodeType":"YulBlock","src":"6551:31:57","statements":[{"nativeSrc":"6553:27:57","nodeType":"YulAssignment","src":"6553:27:57","value":{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"6570:1:57","nodeType":"YulLiteral","src":"6570:1:57","type":"","value":"0"}],"functionName":{"name":"not","nativeSrc":"6566:3:57","nodeType":"YulIdentifier","src":"6566:3:57"},"nativeSrc":"6566:6:57","nodeType":"YulFunctionCall","src":"6566:6:57"},{"name":"price","nativeSrc":"6574:5:57","nodeType":"YulIdentifier","src":"6574:5:57"}],"functionName":{"name":"div","nativeSrc":"6562:3:57","nodeType":"YulIdentifier","src":"6562:3:57"},"nativeSrc":"6562:18:57","nodeType":"YulFunctionCall","src":"6562:18:57"},"variableNames":[{"name":"price","nativeSrc":"6553:5:57","nodeType":"YulIdentifier","src":"6553:5:57"}]}]},"condition":{"arguments":[{"name":"tick","nativeSrc":"6542:4:57","nodeType":"YulIdentifier","src":"6542:4:57"},{"kind":"number","nativeSrc":"6548:1:57","nodeType":"YulLiteral","src":"6548:1:57","type":"","value":"0"}],"functionName":{"name":"sgt","nativeSrc":"6538:3:57","nodeType":"YulIdentifier","src":"6538:3:57"},"nativeSrc":"6538:12:57","nodeType":"YulFunctionCall","src":"6538:12:57"},"nativeSrc":"6535:47:57","nodeType":"YulIf","src":"6535:47:57"},{"nativeSrc":"7082:55:57","nodeType":"YulAssignment","src":"7082:55:57","value":{"arguments":[{"kind":"number","nativeSrc":"7102:2:57","nodeType":"YulLiteral","src":"7102:2:57","type":"","value":"32"},{"arguments":[{"name":"price","nativeSrc":"7110:5:57","nodeType":"YulIdentifier","src":"7110:5:57"},{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"7125:2:57","nodeType":"YulLiteral","src":"7125:2:57","type":"","value":"32"},{"kind":"number","nativeSrc":"7129:1:57","nodeType":"YulLiteral","src":"7129:1:57","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"7121:3:57","nodeType":"YulIdentifier","src":"7121:3:57"},"nativeSrc":"7121:10:57","nodeType":"YulFunctionCall","src":"7121:10:57"},{"kind":"number","nativeSrc":"7133:1:57","nodeType":"YulLiteral","src":"7133:1:57","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"7117:3:57","nodeType":"YulIdentifier","src":"7117:3:57"},"nativeSrc":"7117:18:57","nodeType":"YulFunctionCall","src":"7117:18:57"}],"functionName":{"name":"add","nativeSrc":"7106:3:57","nodeType":"YulIdentifier","src":"7106:3:57"},"nativeSrc":"7106:30:57","nodeType":"YulFunctionCall","src":"7106:30:57"}],"functionName":{"name":"shr","nativeSrc":"7098:3:57","nodeType":"YulIdentifier","src":"7098:3:57"},"nativeSrc":"7098:39:57","nodeType":"YulFunctionCall","src":"7098:39:57"},"variableNames":[{"name":"sqrtPriceX96","nativeSrc":"7082:12:57","nodeType":"YulIdentifier","src":"7082:12:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":9899,"isOffset":false,"isSlot":false,"src":"6553:5:57","valueSize":1},{"declaration":9899,"isOffset":false,"isSlot":false,"src":"6574:5:57","valueSize":1},{"declaration":9899,"isOffset":false,"isSlot":false,"src":"7110:5:57","valueSize":1},{"declaration":9874,"isOffset":false,"isSlot":false,"src":"7082:12:57","valueSize":1},{"declaration":9871,"isOffset":false,"isSlot":false,"src":"6542:4:57","valueSize":1}],"flags":["memory-safe"],"id":10187,"nodeType":"InlineAssembly","src":"6424:727:57"}]}]},"documentation":{"id":9869,"nodeType":"StructuredDocumentation","src":"2841:303:57","text":"@notice Calculates sqrt(1.0001^tick) * 2^96\n @dev Throws if |tick| > max tick\n @param tick The input tick for the above formula\n @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the price of the two assets (currency1/currency0)\n at the given tick"},"id":10190,"implemented":true,"kind":"function","modifiers":[],"name":"getSqrtPriceAtTick","nameLocation":"3158:18:57","nodeType":"FunctionDefinition","parameters":{"id":9872,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9871,"mutability":"mutable","name":"tick","nameLocation":"3183:4:57","nodeType":"VariableDeclaration","scope":10190,"src":"3177:10:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":9870,"name":"int24","nodeType":"ElementaryTypeName","src":"3177:5:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"3176:12:57"},"returnParameters":{"id":9875,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9874,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"3220:12:57","nodeType":"VariableDeclaration","scope":10190,"src":"3212:20:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":9873,"name":"uint160","nodeType":"ElementaryTypeName","src":"3212:7:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"3211:22:57"},"scope":10331,"src":"3149:4018:57","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10329,"nodeType":"Block","src":"7712:4667:57","statements":[{"id":10328,"nodeType":"UncheckedBlock","src":"7722:4651:57","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":10203,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":10200,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10198,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10193,"src":"8183:12:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":10199,"name":"MIN_SQRT_PRICE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9822,"src":"8198:14:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"8183:29:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":10201,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8182:31:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":10202,"name":"MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9834,"src":"8216:45:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"8182:79:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10213,"nodeType":"IfStatement","src":"8178:168:57","trueBody":{"id":10212,"nodeType":"Block","src":"8263:83:57","statements":[{"expression":{"arguments":[{"id":10209,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10193,"src":"8318:12:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"expression":{"id":10204,"name":"InvalidSqrtPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9797,"src":"8281:16:57","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint160_$returns$_t_error_$","typeString":"function (uint160) pure returns (error)"}},"id":10207,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8298:8:57","memberName":"selector","nodeType":"MemberAccess","src":"8281:25:57","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":10208,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8307:10:57","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4397,"src":"8281:36:57","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$_t_uint160_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4,uint160) pure"}},"id":10210,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8281:50:57","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10211,"nodeType":"ExpressionStatement","src":"8281:50:57"}]}},{"assignments":[10215],"declarations":[{"constant":false,"id":10215,"mutability":"mutable","name":"price","nameLocation":"8368:5:57","nodeType":"VariableDeclaration","scope":10328,"src":"8360:13:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10214,"name":"uint256","nodeType":"ElementaryTypeName","src":"8360:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":10222,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10221,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":10218,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10193,"src":"8384:12:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":10217,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8376:7:57","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":10216,"name":"uint256","nodeType":"ElementaryTypeName","src":"8376:7:57","typeDescriptions":{}}},"id":10219,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8376:21:57","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3332","id":10220,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8401:2:57","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"8376:27:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"8360:43:57"},{"assignments":[10224],"declarations":[{"constant":false,"id":10224,"mutability":"mutable","name":"r","nameLocation":"8426:1:57","nodeType":"VariableDeclaration","scope":10328,"src":"8418:9:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10223,"name":"uint256","nodeType":"ElementaryTypeName","src":"8418:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":10226,"initialValue":{"id":10225,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10215,"src":"8430:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"8418:17:57"},{"assignments":[10228],"declarations":[{"constant":false,"id":10228,"mutability":"mutable","name":"msb","nameLocation":"8457:3:57","nodeType":"VariableDeclaration","scope":10328,"src":"8449:11:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10227,"name":"uint256","nodeType":"ElementaryTypeName","src":"8449:7:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":10233,"initialValue":{"arguments":[{"id":10231,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10224,"src":"8490:1:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":10229,"name":"BitMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4228,"src":"8463:7:57","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_BitMath_$4228_$","typeString":"type(library BitMath)"}},"id":10230,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8471:18:57","memberName":"mostSignificantBit","nodeType":"MemberAccess","referencedDeclaration":4211,"src":"8463:26:57","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint8_$","typeString":"function (uint256) pure returns (uint8)"}},"id":10232,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8463:29:57","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"8449:43:57"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10236,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10234,"name":"msb","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10228,"src":"8511:3:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"hexValue":"313238","id":10235,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8518:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"8511:10:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"expression":{"id":10253,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10246,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10224,"src":"8566:1:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10252,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10247,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10215,"src":"8570:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10250,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"313237","id":10248,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8580:3:57","typeDescriptions":{"typeIdentifier":"t_rational_127_by_1","typeString":"int_const 127"},"value":"127"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":10249,"name":"msb","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10228,"src":"8586:3:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8580:9:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10251,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8579:11:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8570:20:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8566:24:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10254,"nodeType":"ExpressionStatement","src":"8566:24:57"},"id":10255,"nodeType":"IfStatement","src":"8507:83:57","trueBody":{"expression":{"id":10244,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10237,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10224,"src":"8523:1:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10243,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10238,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10215,"src":"8527:5:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10241,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10239,"name":"msb","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10228,"src":"8537:3:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"313237","id":10240,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8543:3:57","typeDescriptions":{"typeIdentifier":"t_rational_127_by_1","typeString":"int_const 127"},"value":"127"},"src":"8537:9:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10242,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8536:11:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8527:20:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8523:24:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10245,"nodeType":"ExpressionStatement","src":"8523:24:57"}},{"assignments":[10257],"declarations":[{"constant":false,"id":10257,"mutability":"mutable","name":"log_2","nameLocation":"8612:5:57","nodeType":"VariableDeclaration","scope":10328,"src":"8605:12:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":10256,"name":"int256","nodeType":"ElementaryTypeName","src":"8605:6:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":10267,"initialValue":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":10266,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":10263,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":10260,"name":"msb","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10228,"src":"8628:3:57","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10259,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8621:6:57","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":10258,"name":"int256","nodeType":"ElementaryTypeName","src":"8621:6:57","typeDescriptions":{}}},"id":10261,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8621:11:57","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"313238","id":10262,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8635:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"8621:17:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":10264,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8620:19:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3634","id":10265,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8643:2:57","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"8620:25:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"VariableDeclarationStatement","src":"8605:40:57"},{"AST":{"nativeSrc":"8685:171:57","nodeType":"YulBlock","src":"8685:171:57","statements":[{"nativeSrc":"8703:24:57","nodeType":"YulAssignment","src":"8703:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"8712:3:57","nodeType":"YulLiteral","src":"8712:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"8721:1:57","nodeType":"YulIdentifier","src":"8721:1:57"},{"name":"r","nativeSrc":"8724:1:57","nodeType":"YulIdentifier","src":"8724:1:57"}],"functionName":{"name":"mul","nativeSrc":"8717:3:57","nodeType":"YulIdentifier","src":"8717:3:57"},"nativeSrc":"8717:9:57","nodeType":"YulFunctionCall","src":"8717:9:57"}],"functionName":{"name":"shr","nativeSrc":"8708:3:57","nodeType":"YulIdentifier","src":"8708:3:57"},"nativeSrc":"8708:19:57","nodeType":"YulFunctionCall","src":"8708:19:57"},"variableNames":[{"name":"r","nativeSrc":"8703:1:57","nodeType":"YulIdentifier","src":"8703:1:57"}]},{"nativeSrc":"8744:20:57","nodeType":"YulVariableDeclaration","src":"8744:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"8757:3:57","nodeType":"YulLiteral","src":"8757:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"8762:1:57","nodeType":"YulIdentifier","src":"8762:1:57"}],"functionName":{"name":"shr","nativeSrc":"8753:3:57","nodeType":"YulIdentifier","src":"8753:3:57"},"nativeSrc":"8753:11:57","nodeType":"YulFunctionCall","src":"8753:11:57"},"variables":[{"name":"f","nativeSrc":"8748:1:57","nodeType":"YulTypedName","src":"8748:1:57","type":""}]},{"nativeSrc":"8781:30:57","nodeType":"YulAssignment","src":"8781:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"8793:5:57","nodeType":"YulIdentifier","src":"8793:5:57"},{"arguments":[{"kind":"number","nativeSrc":"8804:2:57","nodeType":"YulLiteral","src":"8804:2:57","type":"","value":"63"},{"name":"f","nativeSrc":"8808:1:57","nodeType":"YulIdentifier","src":"8808:1:57"}],"functionName":{"name":"shl","nativeSrc":"8800:3:57","nodeType":"YulIdentifier","src":"8800:3:57"},"nativeSrc":"8800:10:57","nodeType":"YulFunctionCall","src":"8800:10:57"}],"functionName":{"name":"or","nativeSrc":"8790:2:57","nodeType":"YulIdentifier","src":"8790:2:57"},"nativeSrc":"8790:21:57","nodeType":"YulFunctionCall","src":"8790:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"8781:5:57","nodeType":"YulIdentifier","src":"8781:5:57"}]},{"nativeSrc":"8828:14:57","nodeType":"YulAssignment","src":"8828:14:57","value":{"arguments":[{"name":"f","nativeSrc":"8837:1:57","nodeType":"YulIdentifier","src":"8837:1:57"},{"name":"r","nativeSrc":"8840:1:57","nodeType":"YulIdentifier","src":"8840:1:57"}],"functionName":{"name":"shr","nativeSrc":"8833:3:57","nodeType":"YulIdentifier","src":"8833:3:57"},"nativeSrc":"8833:9:57","nodeType":"YulFunctionCall","src":"8833:9:57"},"variableNames":[{"name":"r","nativeSrc":"8828:1:57","nodeType":"YulIdentifier","src":"8828:1:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"8781:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"8793:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"8703:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"8721:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"8724:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"8762:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"8828:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"8840:1:57","valueSize":1}],"flags":["memory-safe"],"id":10268,"nodeType":"InlineAssembly","src":"8660:196:57"},{"AST":{"nativeSrc":"8894:171:57","nodeType":"YulBlock","src":"8894:171:57","statements":[{"nativeSrc":"8912:24:57","nodeType":"YulAssignment","src":"8912:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"8921:3:57","nodeType":"YulLiteral","src":"8921:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"8930:1:57","nodeType":"YulIdentifier","src":"8930:1:57"},{"name":"r","nativeSrc":"8933:1:57","nodeType":"YulIdentifier","src":"8933:1:57"}],"functionName":{"name":"mul","nativeSrc":"8926:3:57","nodeType":"YulIdentifier","src":"8926:3:57"},"nativeSrc":"8926:9:57","nodeType":"YulFunctionCall","src":"8926:9:57"}],"functionName":{"name":"shr","nativeSrc":"8917:3:57","nodeType":"YulIdentifier","src":"8917:3:57"},"nativeSrc":"8917:19:57","nodeType":"YulFunctionCall","src":"8917:19:57"},"variableNames":[{"name":"r","nativeSrc":"8912:1:57","nodeType":"YulIdentifier","src":"8912:1:57"}]},{"nativeSrc":"8953:20:57","nodeType":"YulVariableDeclaration","src":"8953:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"8966:3:57","nodeType":"YulLiteral","src":"8966:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"8971:1:57","nodeType":"YulIdentifier","src":"8971:1:57"}],"functionName":{"name":"shr","nativeSrc":"8962:3:57","nodeType":"YulIdentifier","src":"8962:3:57"},"nativeSrc":"8962:11:57","nodeType":"YulFunctionCall","src":"8962:11:57"},"variables":[{"name":"f","nativeSrc":"8957:1:57","nodeType":"YulTypedName","src":"8957:1:57","type":""}]},{"nativeSrc":"8990:30:57","nodeType":"YulAssignment","src":"8990:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"9002:5:57","nodeType":"YulIdentifier","src":"9002:5:57"},{"arguments":[{"kind":"number","nativeSrc":"9013:2:57","nodeType":"YulLiteral","src":"9013:2:57","type":"","value":"62"},{"name":"f","nativeSrc":"9017:1:57","nodeType":"YulIdentifier","src":"9017:1:57"}],"functionName":{"name":"shl","nativeSrc":"9009:3:57","nodeType":"YulIdentifier","src":"9009:3:57"},"nativeSrc":"9009:10:57","nodeType":"YulFunctionCall","src":"9009:10:57"}],"functionName":{"name":"or","nativeSrc":"8999:2:57","nodeType":"YulIdentifier","src":"8999:2:57"},"nativeSrc":"8999:21:57","nodeType":"YulFunctionCall","src":"8999:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"8990:5:57","nodeType":"YulIdentifier","src":"8990:5:57"}]},{"nativeSrc":"9037:14:57","nodeType":"YulAssignment","src":"9037:14:57","value":{"arguments":[{"name":"f","nativeSrc":"9046:1:57","nodeType":"YulIdentifier","src":"9046:1:57"},{"name":"r","nativeSrc":"9049:1:57","nodeType":"YulIdentifier","src":"9049:1:57"}],"functionName":{"name":"shr","nativeSrc":"9042:3:57","nodeType":"YulIdentifier","src":"9042:3:57"},"nativeSrc":"9042:9:57","nodeType":"YulFunctionCall","src":"9042:9:57"},"variableNames":[{"name":"r","nativeSrc":"9037:1:57","nodeType":"YulIdentifier","src":"9037:1:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"8990:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"9002:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"8912:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"8930:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"8933:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"8971:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9037:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9049:1:57","valueSize":1}],"flags":["memory-safe"],"id":10269,"nodeType":"InlineAssembly","src":"8869:196:57"},{"AST":{"nativeSrc":"9103:171:57","nodeType":"YulBlock","src":"9103:171:57","statements":[{"nativeSrc":"9121:24:57","nodeType":"YulAssignment","src":"9121:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"9130:3:57","nodeType":"YulLiteral","src":"9130:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"9139:1:57","nodeType":"YulIdentifier","src":"9139:1:57"},{"name":"r","nativeSrc":"9142:1:57","nodeType":"YulIdentifier","src":"9142:1:57"}],"functionName":{"name":"mul","nativeSrc":"9135:3:57","nodeType":"YulIdentifier","src":"9135:3:57"},"nativeSrc":"9135:9:57","nodeType":"YulFunctionCall","src":"9135:9:57"}],"functionName":{"name":"shr","nativeSrc":"9126:3:57","nodeType":"YulIdentifier","src":"9126:3:57"},"nativeSrc":"9126:19:57","nodeType":"YulFunctionCall","src":"9126:19:57"},"variableNames":[{"name":"r","nativeSrc":"9121:1:57","nodeType":"YulIdentifier","src":"9121:1:57"}]},{"nativeSrc":"9162:20:57","nodeType":"YulVariableDeclaration","src":"9162:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"9175:3:57","nodeType":"YulLiteral","src":"9175:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"9180:1:57","nodeType":"YulIdentifier","src":"9180:1:57"}],"functionName":{"name":"shr","nativeSrc":"9171:3:57","nodeType":"YulIdentifier","src":"9171:3:57"},"nativeSrc":"9171:11:57","nodeType":"YulFunctionCall","src":"9171:11:57"},"variables":[{"name":"f","nativeSrc":"9166:1:57","nodeType":"YulTypedName","src":"9166:1:57","type":""}]},{"nativeSrc":"9199:30:57","nodeType":"YulAssignment","src":"9199:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"9211:5:57","nodeType":"YulIdentifier","src":"9211:5:57"},{"arguments":[{"kind":"number","nativeSrc":"9222:2:57","nodeType":"YulLiteral","src":"9222:2:57","type":"","value":"61"},{"name":"f","nativeSrc":"9226:1:57","nodeType":"YulIdentifier","src":"9226:1:57"}],"functionName":{"name":"shl","nativeSrc":"9218:3:57","nodeType":"YulIdentifier","src":"9218:3:57"},"nativeSrc":"9218:10:57","nodeType":"YulFunctionCall","src":"9218:10:57"}],"functionName":{"name":"or","nativeSrc":"9208:2:57","nodeType":"YulIdentifier","src":"9208:2:57"},"nativeSrc":"9208:21:57","nodeType":"YulFunctionCall","src":"9208:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"9199:5:57","nodeType":"YulIdentifier","src":"9199:5:57"}]},{"nativeSrc":"9246:14:57","nodeType":"YulAssignment","src":"9246:14:57","value":{"arguments":[{"name":"f","nativeSrc":"9255:1:57","nodeType":"YulIdentifier","src":"9255:1:57"},{"name":"r","nativeSrc":"9258:1:57","nodeType":"YulIdentifier","src":"9258:1:57"}],"functionName":{"name":"shr","nativeSrc":"9251:3:57","nodeType":"YulIdentifier","src":"9251:3:57"},"nativeSrc":"9251:9:57","nodeType":"YulFunctionCall","src":"9251:9:57"},"variableNames":[{"name":"r","nativeSrc":"9246:1:57","nodeType":"YulIdentifier","src":"9246:1:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"9199:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"9211:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9121:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9139:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9142:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9180:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9246:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9258:1:57","valueSize":1}],"flags":["memory-safe"],"id":10270,"nodeType":"InlineAssembly","src":"9078:196:57"},{"AST":{"nativeSrc":"9312:171:57","nodeType":"YulBlock","src":"9312:171:57","statements":[{"nativeSrc":"9330:24:57","nodeType":"YulAssignment","src":"9330:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"9339:3:57","nodeType":"YulLiteral","src":"9339:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"9348:1:57","nodeType":"YulIdentifier","src":"9348:1:57"},{"name":"r","nativeSrc":"9351:1:57","nodeType":"YulIdentifier","src":"9351:1:57"}],"functionName":{"name":"mul","nativeSrc":"9344:3:57","nodeType":"YulIdentifier","src":"9344:3:57"},"nativeSrc":"9344:9:57","nodeType":"YulFunctionCall","src":"9344:9:57"}],"functionName":{"name":"shr","nativeSrc":"9335:3:57","nodeType":"YulIdentifier","src":"9335:3:57"},"nativeSrc":"9335:19:57","nodeType":"YulFunctionCall","src":"9335:19:57"},"variableNames":[{"name":"r","nativeSrc":"9330:1:57","nodeType":"YulIdentifier","src":"9330:1:57"}]},{"nativeSrc":"9371:20:57","nodeType":"YulVariableDeclaration","src":"9371:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"9384:3:57","nodeType":"YulLiteral","src":"9384:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"9389:1:57","nodeType":"YulIdentifier","src":"9389:1:57"}],"functionName":{"name":"shr","nativeSrc":"9380:3:57","nodeType":"YulIdentifier","src":"9380:3:57"},"nativeSrc":"9380:11:57","nodeType":"YulFunctionCall","src":"9380:11:57"},"variables":[{"name":"f","nativeSrc":"9375:1:57","nodeType":"YulTypedName","src":"9375:1:57","type":""}]},{"nativeSrc":"9408:30:57","nodeType":"YulAssignment","src":"9408:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"9420:5:57","nodeType":"YulIdentifier","src":"9420:5:57"},{"arguments":[{"kind":"number","nativeSrc":"9431:2:57","nodeType":"YulLiteral","src":"9431:2:57","type":"","value":"60"},{"name":"f","nativeSrc":"9435:1:57","nodeType":"YulIdentifier","src":"9435:1:57"}],"functionName":{"name":"shl","nativeSrc":"9427:3:57","nodeType":"YulIdentifier","src":"9427:3:57"},"nativeSrc":"9427:10:57","nodeType":"YulFunctionCall","src":"9427:10:57"}],"functionName":{"name":"or","nativeSrc":"9417:2:57","nodeType":"YulIdentifier","src":"9417:2:57"},"nativeSrc":"9417:21:57","nodeType":"YulFunctionCall","src":"9417:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"9408:5:57","nodeType":"YulIdentifier","src":"9408:5:57"}]},{"nativeSrc":"9455:14:57","nodeType":"YulAssignment","src":"9455:14:57","value":{"arguments":[{"name":"f","nativeSrc":"9464:1:57","nodeType":"YulIdentifier","src":"9464:1:57"},{"name":"r","nativeSrc":"9467:1:57","nodeType":"YulIdentifier","src":"9467:1:57"}],"functionName":{"name":"shr","nativeSrc":"9460:3:57","nodeType":"YulIdentifier","src":"9460:3:57"},"nativeSrc":"9460:9:57","nodeType":"YulFunctionCall","src":"9460:9:57"},"variableNames":[{"name":"r","nativeSrc":"9455:1:57","nodeType":"YulIdentifier","src":"9455:1:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"9408:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"9420:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9330:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9348:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9351:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9389:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9455:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9467:1:57","valueSize":1}],"flags":["memory-safe"],"id":10271,"nodeType":"InlineAssembly","src":"9287:196:57"},{"AST":{"nativeSrc":"9521:171:57","nodeType":"YulBlock","src":"9521:171:57","statements":[{"nativeSrc":"9539:24:57","nodeType":"YulAssignment","src":"9539:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"9548:3:57","nodeType":"YulLiteral","src":"9548:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"9557:1:57","nodeType":"YulIdentifier","src":"9557:1:57"},{"name":"r","nativeSrc":"9560:1:57","nodeType":"YulIdentifier","src":"9560:1:57"}],"functionName":{"name":"mul","nativeSrc":"9553:3:57","nodeType":"YulIdentifier","src":"9553:3:57"},"nativeSrc":"9553:9:57","nodeType":"YulFunctionCall","src":"9553:9:57"}],"functionName":{"name":"shr","nativeSrc":"9544:3:57","nodeType":"YulIdentifier","src":"9544:3:57"},"nativeSrc":"9544:19:57","nodeType":"YulFunctionCall","src":"9544:19:57"},"variableNames":[{"name":"r","nativeSrc":"9539:1:57","nodeType":"YulIdentifier","src":"9539:1:57"}]},{"nativeSrc":"9580:20:57","nodeType":"YulVariableDeclaration","src":"9580:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"9593:3:57","nodeType":"YulLiteral","src":"9593:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"9598:1:57","nodeType":"YulIdentifier","src":"9598:1:57"}],"functionName":{"name":"shr","nativeSrc":"9589:3:57","nodeType":"YulIdentifier","src":"9589:3:57"},"nativeSrc":"9589:11:57","nodeType":"YulFunctionCall","src":"9589:11:57"},"variables":[{"name":"f","nativeSrc":"9584:1:57","nodeType":"YulTypedName","src":"9584:1:57","type":""}]},{"nativeSrc":"9617:30:57","nodeType":"YulAssignment","src":"9617:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"9629:5:57","nodeType":"YulIdentifier","src":"9629:5:57"},{"arguments":[{"kind":"number","nativeSrc":"9640:2:57","nodeType":"YulLiteral","src":"9640:2:57","type":"","value":"59"},{"name":"f","nativeSrc":"9644:1:57","nodeType":"YulIdentifier","src":"9644:1:57"}],"functionName":{"name":"shl","nativeSrc":"9636:3:57","nodeType":"YulIdentifier","src":"9636:3:57"},"nativeSrc":"9636:10:57","nodeType":"YulFunctionCall","src":"9636:10:57"}],"functionName":{"name":"or","nativeSrc":"9626:2:57","nodeType":"YulIdentifier","src":"9626:2:57"},"nativeSrc":"9626:21:57","nodeType":"YulFunctionCall","src":"9626:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"9617:5:57","nodeType":"YulIdentifier","src":"9617:5:57"}]},{"nativeSrc":"9664:14:57","nodeType":"YulAssignment","src":"9664:14:57","value":{"arguments":[{"name":"f","nativeSrc":"9673:1:57","nodeType":"YulIdentifier","src":"9673:1:57"},{"name":"r","nativeSrc":"9676:1:57","nodeType":"YulIdentifier","src":"9676:1:57"}],"functionName":{"name":"shr","nativeSrc":"9669:3:57","nodeType":"YulIdentifier","src":"9669:3:57"},"nativeSrc":"9669:9:57","nodeType":"YulFunctionCall","src":"9669:9:57"},"variableNames":[{"name":"r","nativeSrc":"9664:1:57","nodeType":"YulIdentifier","src":"9664:1:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"9617:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"9629:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9539:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9557:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9560:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9598:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9664:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9676:1:57","valueSize":1}],"flags":["memory-safe"],"id":10272,"nodeType":"InlineAssembly","src":"9496:196:57"},{"AST":{"nativeSrc":"9730:171:57","nodeType":"YulBlock","src":"9730:171:57","statements":[{"nativeSrc":"9748:24:57","nodeType":"YulAssignment","src":"9748:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"9757:3:57","nodeType":"YulLiteral","src":"9757:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"9766:1:57","nodeType":"YulIdentifier","src":"9766:1:57"},{"name":"r","nativeSrc":"9769:1:57","nodeType":"YulIdentifier","src":"9769:1:57"}],"functionName":{"name":"mul","nativeSrc":"9762:3:57","nodeType":"YulIdentifier","src":"9762:3:57"},"nativeSrc":"9762:9:57","nodeType":"YulFunctionCall","src":"9762:9:57"}],"functionName":{"name":"shr","nativeSrc":"9753:3:57","nodeType":"YulIdentifier","src":"9753:3:57"},"nativeSrc":"9753:19:57","nodeType":"YulFunctionCall","src":"9753:19:57"},"variableNames":[{"name":"r","nativeSrc":"9748:1:57","nodeType":"YulIdentifier","src":"9748:1:57"}]},{"nativeSrc":"9789:20:57","nodeType":"YulVariableDeclaration","src":"9789:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"9802:3:57","nodeType":"YulLiteral","src":"9802:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"9807:1:57","nodeType":"YulIdentifier","src":"9807:1:57"}],"functionName":{"name":"shr","nativeSrc":"9798:3:57","nodeType":"YulIdentifier","src":"9798:3:57"},"nativeSrc":"9798:11:57","nodeType":"YulFunctionCall","src":"9798:11:57"},"variables":[{"name":"f","nativeSrc":"9793:1:57","nodeType":"YulTypedName","src":"9793:1:57","type":""}]},{"nativeSrc":"9826:30:57","nodeType":"YulAssignment","src":"9826:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"9838:5:57","nodeType":"YulIdentifier","src":"9838:5:57"},{"arguments":[{"kind":"number","nativeSrc":"9849:2:57","nodeType":"YulLiteral","src":"9849:2:57","type":"","value":"58"},{"name":"f","nativeSrc":"9853:1:57","nodeType":"YulIdentifier","src":"9853:1:57"}],"functionName":{"name":"shl","nativeSrc":"9845:3:57","nodeType":"YulIdentifier","src":"9845:3:57"},"nativeSrc":"9845:10:57","nodeType":"YulFunctionCall","src":"9845:10:57"}],"functionName":{"name":"or","nativeSrc":"9835:2:57","nodeType":"YulIdentifier","src":"9835:2:57"},"nativeSrc":"9835:21:57","nodeType":"YulFunctionCall","src":"9835:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"9826:5:57","nodeType":"YulIdentifier","src":"9826:5:57"}]},{"nativeSrc":"9873:14:57","nodeType":"YulAssignment","src":"9873:14:57","value":{"arguments":[{"name":"f","nativeSrc":"9882:1:57","nodeType":"YulIdentifier","src":"9882:1:57"},{"name":"r","nativeSrc":"9885:1:57","nodeType":"YulIdentifier","src":"9885:1:57"}],"functionName":{"name":"shr","nativeSrc":"9878:3:57","nodeType":"YulIdentifier","src":"9878:3:57"},"nativeSrc":"9878:9:57","nodeType":"YulFunctionCall","src":"9878:9:57"},"variableNames":[{"name":"r","nativeSrc":"9873:1:57","nodeType":"YulIdentifier","src":"9873:1:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"9826:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"9838:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9748:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9766:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9769:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9807:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9873:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9885:1:57","valueSize":1}],"flags":["memory-safe"],"id":10273,"nodeType":"InlineAssembly","src":"9705:196:57"},{"AST":{"nativeSrc":"9939:171:57","nodeType":"YulBlock","src":"9939:171:57","statements":[{"nativeSrc":"9957:24:57","nodeType":"YulAssignment","src":"9957:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"9966:3:57","nodeType":"YulLiteral","src":"9966:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"9975:1:57","nodeType":"YulIdentifier","src":"9975:1:57"},{"name":"r","nativeSrc":"9978:1:57","nodeType":"YulIdentifier","src":"9978:1:57"}],"functionName":{"name":"mul","nativeSrc":"9971:3:57","nodeType":"YulIdentifier","src":"9971:3:57"},"nativeSrc":"9971:9:57","nodeType":"YulFunctionCall","src":"9971:9:57"}],"functionName":{"name":"shr","nativeSrc":"9962:3:57","nodeType":"YulIdentifier","src":"9962:3:57"},"nativeSrc":"9962:19:57","nodeType":"YulFunctionCall","src":"9962:19:57"},"variableNames":[{"name":"r","nativeSrc":"9957:1:57","nodeType":"YulIdentifier","src":"9957:1:57"}]},{"nativeSrc":"9998:20:57","nodeType":"YulVariableDeclaration","src":"9998:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"10011:3:57","nodeType":"YulLiteral","src":"10011:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"10016:1:57","nodeType":"YulIdentifier","src":"10016:1:57"}],"functionName":{"name":"shr","nativeSrc":"10007:3:57","nodeType":"YulIdentifier","src":"10007:3:57"},"nativeSrc":"10007:11:57","nodeType":"YulFunctionCall","src":"10007:11:57"},"variables":[{"name":"f","nativeSrc":"10002:1:57","nodeType":"YulTypedName","src":"10002:1:57","type":""}]},{"nativeSrc":"10035:30:57","nodeType":"YulAssignment","src":"10035:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"10047:5:57","nodeType":"YulIdentifier","src":"10047:5:57"},{"arguments":[{"kind":"number","nativeSrc":"10058:2:57","nodeType":"YulLiteral","src":"10058:2:57","type":"","value":"57"},{"name":"f","nativeSrc":"10062:1:57","nodeType":"YulIdentifier","src":"10062:1:57"}],"functionName":{"name":"shl","nativeSrc":"10054:3:57","nodeType":"YulIdentifier","src":"10054:3:57"},"nativeSrc":"10054:10:57","nodeType":"YulFunctionCall","src":"10054:10:57"}],"functionName":{"name":"or","nativeSrc":"10044:2:57","nodeType":"YulIdentifier","src":"10044:2:57"},"nativeSrc":"10044:21:57","nodeType":"YulFunctionCall","src":"10044:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"10035:5:57","nodeType":"YulIdentifier","src":"10035:5:57"}]},{"nativeSrc":"10082:14:57","nodeType":"YulAssignment","src":"10082:14:57","value":{"arguments":[{"name":"f","nativeSrc":"10091:1:57","nodeType":"YulIdentifier","src":"10091:1:57"},{"name":"r","nativeSrc":"10094:1:57","nodeType":"YulIdentifier","src":"10094:1:57"}],"functionName":{"name":"shr","nativeSrc":"10087:3:57","nodeType":"YulIdentifier","src":"10087:3:57"},"nativeSrc":"10087:9:57","nodeType":"YulFunctionCall","src":"10087:9:57"},"variableNames":[{"name":"r","nativeSrc":"10082:1:57","nodeType":"YulIdentifier","src":"10082:1:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"10035:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"10047:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10016:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10082:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10094:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9957:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9975:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"9978:1:57","valueSize":1}],"flags":["memory-safe"],"id":10274,"nodeType":"InlineAssembly","src":"9914:196:57"},{"AST":{"nativeSrc":"10148:171:57","nodeType":"YulBlock","src":"10148:171:57","statements":[{"nativeSrc":"10166:24:57","nodeType":"YulAssignment","src":"10166:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"10175:3:57","nodeType":"YulLiteral","src":"10175:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"10184:1:57","nodeType":"YulIdentifier","src":"10184:1:57"},{"name":"r","nativeSrc":"10187:1:57","nodeType":"YulIdentifier","src":"10187:1:57"}],"functionName":{"name":"mul","nativeSrc":"10180:3:57","nodeType":"YulIdentifier","src":"10180:3:57"},"nativeSrc":"10180:9:57","nodeType":"YulFunctionCall","src":"10180:9:57"}],"functionName":{"name":"shr","nativeSrc":"10171:3:57","nodeType":"YulIdentifier","src":"10171:3:57"},"nativeSrc":"10171:19:57","nodeType":"YulFunctionCall","src":"10171:19:57"},"variableNames":[{"name":"r","nativeSrc":"10166:1:57","nodeType":"YulIdentifier","src":"10166:1:57"}]},{"nativeSrc":"10207:20:57","nodeType":"YulVariableDeclaration","src":"10207:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"10220:3:57","nodeType":"YulLiteral","src":"10220:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"10225:1:57","nodeType":"YulIdentifier","src":"10225:1:57"}],"functionName":{"name":"shr","nativeSrc":"10216:3:57","nodeType":"YulIdentifier","src":"10216:3:57"},"nativeSrc":"10216:11:57","nodeType":"YulFunctionCall","src":"10216:11:57"},"variables":[{"name":"f","nativeSrc":"10211:1:57","nodeType":"YulTypedName","src":"10211:1:57","type":""}]},{"nativeSrc":"10244:30:57","nodeType":"YulAssignment","src":"10244:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"10256:5:57","nodeType":"YulIdentifier","src":"10256:5:57"},{"arguments":[{"kind":"number","nativeSrc":"10267:2:57","nodeType":"YulLiteral","src":"10267:2:57","type":"","value":"56"},{"name":"f","nativeSrc":"10271:1:57","nodeType":"YulIdentifier","src":"10271:1:57"}],"functionName":{"name":"shl","nativeSrc":"10263:3:57","nodeType":"YulIdentifier","src":"10263:3:57"},"nativeSrc":"10263:10:57","nodeType":"YulFunctionCall","src":"10263:10:57"}],"functionName":{"name":"or","nativeSrc":"10253:2:57","nodeType":"YulIdentifier","src":"10253:2:57"},"nativeSrc":"10253:21:57","nodeType":"YulFunctionCall","src":"10253:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"10244:5:57","nodeType":"YulIdentifier","src":"10244:5:57"}]},{"nativeSrc":"10291:14:57","nodeType":"YulAssignment","src":"10291:14:57","value":{"arguments":[{"name":"f","nativeSrc":"10300:1:57","nodeType":"YulIdentifier","src":"10300:1:57"},{"name":"r","nativeSrc":"10303:1:57","nodeType":"YulIdentifier","src":"10303:1:57"}],"functionName":{"name":"shr","nativeSrc":"10296:3:57","nodeType":"YulIdentifier","src":"10296:3:57"},"nativeSrc":"10296:9:57","nodeType":"YulFunctionCall","src":"10296:9:57"},"variableNames":[{"name":"r","nativeSrc":"10291:1:57","nodeType":"YulIdentifier","src":"10291:1:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"10244:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"10256:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10166:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10184:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10187:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10225:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10291:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10303:1:57","valueSize":1}],"flags":["memory-safe"],"id":10275,"nodeType":"InlineAssembly","src":"10123:196:57"},{"AST":{"nativeSrc":"10357:171:57","nodeType":"YulBlock","src":"10357:171:57","statements":[{"nativeSrc":"10375:24:57","nodeType":"YulAssignment","src":"10375:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"10384:3:57","nodeType":"YulLiteral","src":"10384:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"10393:1:57","nodeType":"YulIdentifier","src":"10393:1:57"},{"name":"r","nativeSrc":"10396:1:57","nodeType":"YulIdentifier","src":"10396:1:57"}],"functionName":{"name":"mul","nativeSrc":"10389:3:57","nodeType":"YulIdentifier","src":"10389:3:57"},"nativeSrc":"10389:9:57","nodeType":"YulFunctionCall","src":"10389:9:57"}],"functionName":{"name":"shr","nativeSrc":"10380:3:57","nodeType":"YulIdentifier","src":"10380:3:57"},"nativeSrc":"10380:19:57","nodeType":"YulFunctionCall","src":"10380:19:57"},"variableNames":[{"name":"r","nativeSrc":"10375:1:57","nodeType":"YulIdentifier","src":"10375:1:57"}]},{"nativeSrc":"10416:20:57","nodeType":"YulVariableDeclaration","src":"10416:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"10429:3:57","nodeType":"YulLiteral","src":"10429:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"10434:1:57","nodeType":"YulIdentifier","src":"10434:1:57"}],"functionName":{"name":"shr","nativeSrc":"10425:3:57","nodeType":"YulIdentifier","src":"10425:3:57"},"nativeSrc":"10425:11:57","nodeType":"YulFunctionCall","src":"10425:11:57"},"variables":[{"name":"f","nativeSrc":"10420:1:57","nodeType":"YulTypedName","src":"10420:1:57","type":""}]},{"nativeSrc":"10453:30:57","nodeType":"YulAssignment","src":"10453:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"10465:5:57","nodeType":"YulIdentifier","src":"10465:5:57"},{"arguments":[{"kind":"number","nativeSrc":"10476:2:57","nodeType":"YulLiteral","src":"10476:2:57","type":"","value":"55"},{"name":"f","nativeSrc":"10480:1:57","nodeType":"YulIdentifier","src":"10480:1:57"}],"functionName":{"name":"shl","nativeSrc":"10472:3:57","nodeType":"YulIdentifier","src":"10472:3:57"},"nativeSrc":"10472:10:57","nodeType":"YulFunctionCall","src":"10472:10:57"}],"functionName":{"name":"or","nativeSrc":"10462:2:57","nodeType":"YulIdentifier","src":"10462:2:57"},"nativeSrc":"10462:21:57","nodeType":"YulFunctionCall","src":"10462:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"10453:5:57","nodeType":"YulIdentifier","src":"10453:5:57"}]},{"nativeSrc":"10500:14:57","nodeType":"YulAssignment","src":"10500:14:57","value":{"arguments":[{"name":"f","nativeSrc":"10509:1:57","nodeType":"YulIdentifier","src":"10509:1:57"},{"name":"r","nativeSrc":"10512:1:57","nodeType":"YulIdentifier","src":"10512:1:57"}],"functionName":{"name":"shr","nativeSrc":"10505:3:57","nodeType":"YulIdentifier","src":"10505:3:57"},"nativeSrc":"10505:9:57","nodeType":"YulFunctionCall","src":"10505:9:57"},"variableNames":[{"name":"r","nativeSrc":"10500:1:57","nodeType":"YulIdentifier","src":"10500:1:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"10453:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"10465:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10375:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10393:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10396:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10434:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10500:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10512:1:57","valueSize":1}],"flags":["memory-safe"],"id":10276,"nodeType":"InlineAssembly","src":"10332:196:57"},{"AST":{"nativeSrc":"10566:171:57","nodeType":"YulBlock","src":"10566:171:57","statements":[{"nativeSrc":"10584:24:57","nodeType":"YulAssignment","src":"10584:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"10593:3:57","nodeType":"YulLiteral","src":"10593:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"10602:1:57","nodeType":"YulIdentifier","src":"10602:1:57"},{"name":"r","nativeSrc":"10605:1:57","nodeType":"YulIdentifier","src":"10605:1:57"}],"functionName":{"name":"mul","nativeSrc":"10598:3:57","nodeType":"YulIdentifier","src":"10598:3:57"},"nativeSrc":"10598:9:57","nodeType":"YulFunctionCall","src":"10598:9:57"}],"functionName":{"name":"shr","nativeSrc":"10589:3:57","nodeType":"YulIdentifier","src":"10589:3:57"},"nativeSrc":"10589:19:57","nodeType":"YulFunctionCall","src":"10589:19:57"},"variableNames":[{"name":"r","nativeSrc":"10584:1:57","nodeType":"YulIdentifier","src":"10584:1:57"}]},{"nativeSrc":"10625:20:57","nodeType":"YulVariableDeclaration","src":"10625:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"10638:3:57","nodeType":"YulLiteral","src":"10638:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"10643:1:57","nodeType":"YulIdentifier","src":"10643:1:57"}],"functionName":{"name":"shr","nativeSrc":"10634:3:57","nodeType":"YulIdentifier","src":"10634:3:57"},"nativeSrc":"10634:11:57","nodeType":"YulFunctionCall","src":"10634:11:57"},"variables":[{"name":"f","nativeSrc":"10629:1:57","nodeType":"YulTypedName","src":"10629:1:57","type":""}]},{"nativeSrc":"10662:30:57","nodeType":"YulAssignment","src":"10662:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"10674:5:57","nodeType":"YulIdentifier","src":"10674:5:57"},{"arguments":[{"kind":"number","nativeSrc":"10685:2:57","nodeType":"YulLiteral","src":"10685:2:57","type":"","value":"54"},{"name":"f","nativeSrc":"10689:1:57","nodeType":"YulIdentifier","src":"10689:1:57"}],"functionName":{"name":"shl","nativeSrc":"10681:3:57","nodeType":"YulIdentifier","src":"10681:3:57"},"nativeSrc":"10681:10:57","nodeType":"YulFunctionCall","src":"10681:10:57"}],"functionName":{"name":"or","nativeSrc":"10671:2:57","nodeType":"YulIdentifier","src":"10671:2:57"},"nativeSrc":"10671:21:57","nodeType":"YulFunctionCall","src":"10671:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"10662:5:57","nodeType":"YulIdentifier","src":"10662:5:57"}]},{"nativeSrc":"10709:14:57","nodeType":"YulAssignment","src":"10709:14:57","value":{"arguments":[{"name":"f","nativeSrc":"10718:1:57","nodeType":"YulIdentifier","src":"10718:1:57"},{"name":"r","nativeSrc":"10721:1:57","nodeType":"YulIdentifier","src":"10721:1:57"}],"functionName":{"name":"shr","nativeSrc":"10714:3:57","nodeType":"YulIdentifier","src":"10714:3:57"},"nativeSrc":"10714:9:57","nodeType":"YulFunctionCall","src":"10714:9:57"},"variableNames":[{"name":"r","nativeSrc":"10709:1:57","nodeType":"YulIdentifier","src":"10709:1:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"10662:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"10674:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10584:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10602:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10605:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10643:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10709:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10721:1:57","valueSize":1}],"flags":["memory-safe"],"id":10277,"nodeType":"InlineAssembly","src":"10541:196:57"},{"AST":{"nativeSrc":"10775:171:57","nodeType":"YulBlock","src":"10775:171:57","statements":[{"nativeSrc":"10793:24:57","nodeType":"YulAssignment","src":"10793:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"10802:3:57","nodeType":"YulLiteral","src":"10802:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"10811:1:57","nodeType":"YulIdentifier","src":"10811:1:57"},{"name":"r","nativeSrc":"10814:1:57","nodeType":"YulIdentifier","src":"10814:1:57"}],"functionName":{"name":"mul","nativeSrc":"10807:3:57","nodeType":"YulIdentifier","src":"10807:3:57"},"nativeSrc":"10807:9:57","nodeType":"YulFunctionCall","src":"10807:9:57"}],"functionName":{"name":"shr","nativeSrc":"10798:3:57","nodeType":"YulIdentifier","src":"10798:3:57"},"nativeSrc":"10798:19:57","nodeType":"YulFunctionCall","src":"10798:19:57"},"variableNames":[{"name":"r","nativeSrc":"10793:1:57","nodeType":"YulIdentifier","src":"10793:1:57"}]},{"nativeSrc":"10834:20:57","nodeType":"YulVariableDeclaration","src":"10834:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"10847:3:57","nodeType":"YulLiteral","src":"10847:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"10852:1:57","nodeType":"YulIdentifier","src":"10852:1:57"}],"functionName":{"name":"shr","nativeSrc":"10843:3:57","nodeType":"YulIdentifier","src":"10843:3:57"},"nativeSrc":"10843:11:57","nodeType":"YulFunctionCall","src":"10843:11:57"},"variables":[{"name":"f","nativeSrc":"10838:1:57","nodeType":"YulTypedName","src":"10838:1:57","type":""}]},{"nativeSrc":"10871:30:57","nodeType":"YulAssignment","src":"10871:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"10883:5:57","nodeType":"YulIdentifier","src":"10883:5:57"},{"arguments":[{"kind":"number","nativeSrc":"10894:2:57","nodeType":"YulLiteral","src":"10894:2:57","type":"","value":"53"},{"name":"f","nativeSrc":"10898:1:57","nodeType":"YulIdentifier","src":"10898:1:57"}],"functionName":{"name":"shl","nativeSrc":"10890:3:57","nodeType":"YulIdentifier","src":"10890:3:57"},"nativeSrc":"10890:10:57","nodeType":"YulFunctionCall","src":"10890:10:57"}],"functionName":{"name":"or","nativeSrc":"10880:2:57","nodeType":"YulIdentifier","src":"10880:2:57"},"nativeSrc":"10880:21:57","nodeType":"YulFunctionCall","src":"10880:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"10871:5:57","nodeType":"YulIdentifier","src":"10871:5:57"}]},{"nativeSrc":"10918:14:57","nodeType":"YulAssignment","src":"10918:14:57","value":{"arguments":[{"name":"f","nativeSrc":"10927:1:57","nodeType":"YulIdentifier","src":"10927:1:57"},{"name":"r","nativeSrc":"10930:1:57","nodeType":"YulIdentifier","src":"10930:1:57"}],"functionName":{"name":"shr","nativeSrc":"10923:3:57","nodeType":"YulIdentifier","src":"10923:3:57"},"nativeSrc":"10923:9:57","nodeType":"YulFunctionCall","src":"10923:9:57"},"variableNames":[{"name":"r","nativeSrc":"10918:1:57","nodeType":"YulIdentifier","src":"10918:1:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"10871:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"10883:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10793:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10811:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10814:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10852:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10918:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"10930:1:57","valueSize":1}],"flags":["memory-safe"],"id":10278,"nodeType":"InlineAssembly","src":"10750:196:57"},{"AST":{"nativeSrc":"10984:171:57","nodeType":"YulBlock","src":"10984:171:57","statements":[{"nativeSrc":"11002:24:57","nodeType":"YulAssignment","src":"11002:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"11011:3:57","nodeType":"YulLiteral","src":"11011:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"11020:1:57","nodeType":"YulIdentifier","src":"11020:1:57"},{"name":"r","nativeSrc":"11023:1:57","nodeType":"YulIdentifier","src":"11023:1:57"}],"functionName":{"name":"mul","nativeSrc":"11016:3:57","nodeType":"YulIdentifier","src":"11016:3:57"},"nativeSrc":"11016:9:57","nodeType":"YulFunctionCall","src":"11016:9:57"}],"functionName":{"name":"shr","nativeSrc":"11007:3:57","nodeType":"YulIdentifier","src":"11007:3:57"},"nativeSrc":"11007:19:57","nodeType":"YulFunctionCall","src":"11007:19:57"},"variableNames":[{"name":"r","nativeSrc":"11002:1:57","nodeType":"YulIdentifier","src":"11002:1:57"}]},{"nativeSrc":"11043:20:57","nodeType":"YulVariableDeclaration","src":"11043:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"11056:3:57","nodeType":"YulLiteral","src":"11056:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"11061:1:57","nodeType":"YulIdentifier","src":"11061:1:57"}],"functionName":{"name":"shr","nativeSrc":"11052:3:57","nodeType":"YulIdentifier","src":"11052:3:57"},"nativeSrc":"11052:11:57","nodeType":"YulFunctionCall","src":"11052:11:57"},"variables":[{"name":"f","nativeSrc":"11047:1:57","nodeType":"YulTypedName","src":"11047:1:57","type":""}]},{"nativeSrc":"11080:30:57","nodeType":"YulAssignment","src":"11080:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"11092:5:57","nodeType":"YulIdentifier","src":"11092:5:57"},{"arguments":[{"kind":"number","nativeSrc":"11103:2:57","nodeType":"YulLiteral","src":"11103:2:57","type":"","value":"52"},{"name":"f","nativeSrc":"11107:1:57","nodeType":"YulIdentifier","src":"11107:1:57"}],"functionName":{"name":"shl","nativeSrc":"11099:3:57","nodeType":"YulIdentifier","src":"11099:3:57"},"nativeSrc":"11099:10:57","nodeType":"YulFunctionCall","src":"11099:10:57"}],"functionName":{"name":"or","nativeSrc":"11089:2:57","nodeType":"YulIdentifier","src":"11089:2:57"},"nativeSrc":"11089:21:57","nodeType":"YulFunctionCall","src":"11089:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"11080:5:57","nodeType":"YulIdentifier","src":"11080:5:57"}]},{"nativeSrc":"11127:14:57","nodeType":"YulAssignment","src":"11127:14:57","value":{"arguments":[{"name":"f","nativeSrc":"11136:1:57","nodeType":"YulIdentifier","src":"11136:1:57"},{"name":"r","nativeSrc":"11139:1:57","nodeType":"YulIdentifier","src":"11139:1:57"}],"functionName":{"name":"shr","nativeSrc":"11132:3:57","nodeType":"YulIdentifier","src":"11132:3:57"},"nativeSrc":"11132:9:57","nodeType":"YulFunctionCall","src":"11132:9:57"},"variableNames":[{"name":"r","nativeSrc":"11127:1:57","nodeType":"YulIdentifier","src":"11127:1:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"11080:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"11092:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11002:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11020:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11023:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11061:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11127:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11139:1:57","valueSize":1}],"flags":["memory-safe"],"id":10279,"nodeType":"InlineAssembly","src":"10959:196:57"},{"AST":{"nativeSrc":"11193:171:57","nodeType":"YulBlock","src":"11193:171:57","statements":[{"nativeSrc":"11211:24:57","nodeType":"YulAssignment","src":"11211:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"11220:3:57","nodeType":"YulLiteral","src":"11220:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"11229:1:57","nodeType":"YulIdentifier","src":"11229:1:57"},{"name":"r","nativeSrc":"11232:1:57","nodeType":"YulIdentifier","src":"11232:1:57"}],"functionName":{"name":"mul","nativeSrc":"11225:3:57","nodeType":"YulIdentifier","src":"11225:3:57"},"nativeSrc":"11225:9:57","nodeType":"YulFunctionCall","src":"11225:9:57"}],"functionName":{"name":"shr","nativeSrc":"11216:3:57","nodeType":"YulIdentifier","src":"11216:3:57"},"nativeSrc":"11216:19:57","nodeType":"YulFunctionCall","src":"11216:19:57"},"variableNames":[{"name":"r","nativeSrc":"11211:1:57","nodeType":"YulIdentifier","src":"11211:1:57"}]},{"nativeSrc":"11252:20:57","nodeType":"YulVariableDeclaration","src":"11252:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"11265:3:57","nodeType":"YulLiteral","src":"11265:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"11270:1:57","nodeType":"YulIdentifier","src":"11270:1:57"}],"functionName":{"name":"shr","nativeSrc":"11261:3:57","nodeType":"YulIdentifier","src":"11261:3:57"},"nativeSrc":"11261:11:57","nodeType":"YulFunctionCall","src":"11261:11:57"},"variables":[{"name":"f","nativeSrc":"11256:1:57","nodeType":"YulTypedName","src":"11256:1:57","type":""}]},{"nativeSrc":"11289:30:57","nodeType":"YulAssignment","src":"11289:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"11301:5:57","nodeType":"YulIdentifier","src":"11301:5:57"},{"arguments":[{"kind":"number","nativeSrc":"11312:2:57","nodeType":"YulLiteral","src":"11312:2:57","type":"","value":"51"},{"name":"f","nativeSrc":"11316:1:57","nodeType":"YulIdentifier","src":"11316:1:57"}],"functionName":{"name":"shl","nativeSrc":"11308:3:57","nodeType":"YulIdentifier","src":"11308:3:57"},"nativeSrc":"11308:10:57","nodeType":"YulFunctionCall","src":"11308:10:57"}],"functionName":{"name":"or","nativeSrc":"11298:2:57","nodeType":"YulIdentifier","src":"11298:2:57"},"nativeSrc":"11298:21:57","nodeType":"YulFunctionCall","src":"11298:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"11289:5:57","nodeType":"YulIdentifier","src":"11289:5:57"}]},{"nativeSrc":"11336:14:57","nodeType":"YulAssignment","src":"11336:14:57","value":{"arguments":[{"name":"f","nativeSrc":"11345:1:57","nodeType":"YulIdentifier","src":"11345:1:57"},{"name":"r","nativeSrc":"11348:1:57","nodeType":"YulIdentifier","src":"11348:1:57"}],"functionName":{"name":"shr","nativeSrc":"11341:3:57","nodeType":"YulIdentifier","src":"11341:3:57"},"nativeSrc":"11341:9:57","nodeType":"YulFunctionCall","src":"11341:9:57"},"variableNames":[{"name":"r","nativeSrc":"11336:1:57","nodeType":"YulIdentifier","src":"11336:1:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"11289:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"11301:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11211:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11229:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11232:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11270:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11336:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11348:1:57","valueSize":1}],"flags":["memory-safe"],"id":10280,"nodeType":"InlineAssembly","src":"11168:196:57"},{"AST":{"nativeSrc":"11402:140:57","nodeType":"YulBlock","src":"11402:140:57","statements":[{"nativeSrc":"11420:24:57","nodeType":"YulAssignment","src":"11420:24:57","value":{"arguments":[{"kind":"number","nativeSrc":"11429:3:57","nodeType":"YulLiteral","src":"11429:3:57","type":"","value":"127"},{"arguments":[{"name":"r","nativeSrc":"11438:1:57","nodeType":"YulIdentifier","src":"11438:1:57"},{"name":"r","nativeSrc":"11441:1:57","nodeType":"YulIdentifier","src":"11441:1:57"}],"functionName":{"name":"mul","nativeSrc":"11434:3:57","nodeType":"YulIdentifier","src":"11434:3:57"},"nativeSrc":"11434:9:57","nodeType":"YulFunctionCall","src":"11434:9:57"}],"functionName":{"name":"shr","nativeSrc":"11425:3:57","nodeType":"YulIdentifier","src":"11425:3:57"},"nativeSrc":"11425:19:57","nodeType":"YulFunctionCall","src":"11425:19:57"},"variableNames":[{"name":"r","nativeSrc":"11420:1:57","nodeType":"YulIdentifier","src":"11420:1:57"}]},{"nativeSrc":"11461:20:57","nodeType":"YulVariableDeclaration","src":"11461:20:57","value":{"arguments":[{"kind":"number","nativeSrc":"11474:3:57","nodeType":"YulLiteral","src":"11474:3:57","type":"","value":"128"},{"name":"r","nativeSrc":"11479:1:57","nodeType":"YulIdentifier","src":"11479:1:57"}],"functionName":{"name":"shr","nativeSrc":"11470:3:57","nodeType":"YulIdentifier","src":"11470:3:57"},"nativeSrc":"11470:11:57","nodeType":"YulFunctionCall","src":"11470:11:57"},"variables":[{"name":"f","nativeSrc":"11465:1:57","nodeType":"YulTypedName","src":"11465:1:57","type":""}]},{"nativeSrc":"11498:30:57","nodeType":"YulAssignment","src":"11498:30:57","value":{"arguments":[{"name":"log_2","nativeSrc":"11510:5:57","nodeType":"YulIdentifier","src":"11510:5:57"},{"arguments":[{"kind":"number","nativeSrc":"11521:2:57","nodeType":"YulLiteral","src":"11521:2:57","type":"","value":"50"},{"name":"f","nativeSrc":"11525:1:57","nodeType":"YulIdentifier","src":"11525:1:57"}],"functionName":{"name":"shl","nativeSrc":"11517:3:57","nodeType":"YulIdentifier","src":"11517:3:57"},"nativeSrc":"11517:10:57","nodeType":"YulFunctionCall","src":"11517:10:57"}],"functionName":{"name":"or","nativeSrc":"11507:2:57","nodeType":"YulIdentifier","src":"11507:2:57"},"nativeSrc":"11507:21:57","nodeType":"YulFunctionCall","src":"11507:21:57"},"variableNames":[{"name":"log_2","nativeSrc":"11498:5:57","nodeType":"YulIdentifier","src":"11498:5:57"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10257,"isOffset":false,"isSlot":false,"src":"11498:5:57","valueSize":1},{"declaration":10257,"isOffset":false,"isSlot":false,"src":"11510:5:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11420:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11438:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11441:1:57","valueSize":1},{"declaration":10224,"isOffset":false,"isSlot":false,"src":"11479:1:57","valueSize":1}],"flags":["memory-safe"],"id":10281,"nodeType":"InlineAssembly","src":"11377:165:57"},{"assignments":[10283],"declarations":[{"constant":false,"id":10283,"mutability":"mutable","name":"log_sqrt10001","nameLocation":"11563:13:57","nodeType":"VariableDeclaration","scope":10328,"src":"11556:20:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":10282,"name":"int256","nodeType":"ElementaryTypeName","src":"11556:6:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":10287,"initialValue":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":10286,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10284,"name":"log_2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10257,"src":"11579:5:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"323535373338393538393939363033383236333437313431","id":10285,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11587:24:57","typeDescriptions":{"typeIdentifier":"t_rational_255738958999603826347141_by_1","typeString":"int_const 255738958999603826347141"},"value":"255738958999603826347141"},"src":"11579:32:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"VariableDeclarationStatement","src":"11556:55:57"},{"assignments":[10289],"declarations":[{"constant":false,"id":10289,"mutability":"mutable","name":"tickLow","nameLocation":"11771:7:57","nodeType":"VariableDeclaration","scope":10328,"src":"11765:13:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":10288,"name":"int24","nodeType":"ElementaryTypeName","src":"11765:5:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"id":10299,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":10297,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":10294,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10292,"name":"log_sqrt10001","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10283,"src":"11788:13:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"33343032393932393536383039313332343138353936313430313030363630323437323130","id":10293,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11804:37:57","typeDescriptions":{"typeIdentifier":"t_rational_3402992956809132418596140100660247210_by_1","typeString":"int_const 3402...(29 digits omitted)...7210"},"value":"3402992956809132418596140100660247210"},"src":"11788:53:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":10295,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11787:55:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10296,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11846:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"11787:62:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":10291,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11781:5:57","typeDescriptions":{"typeIdentifier":"t_type$_t_int24_$","typeString":"type(int24)"},"typeName":{"id":10290,"name":"int24","nodeType":"ElementaryTypeName","src":"11781:5:57","typeDescriptions":{}}},"id":10298,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11781:69:57","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"VariableDeclarationStatement","src":"11765:85:57"},{"assignments":[10301],"declarations":[{"constant":false,"id":10301,"mutability":"mutable","name":"tickHi","nameLocation":"12169:6:57","nodeType":"VariableDeclaration","scope":10328,"src":"12163:12:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":10300,"name":"int24","nodeType":"ElementaryTypeName","src":"12163:5:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"id":10311,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":10309,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":10306,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10304,"name":"log_sqrt10001","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10283,"src":"12185:13:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"323931333339343634373731393839363232393037303237363231313533333938303838343935","id":10305,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12201:39:57","typeDescriptions":{"typeIdentifier":"t_rational_291339464771989622907027621153398088495_by_1","typeString":"int_const 2913...(31 digits omitted)...8495"},"value":"291339464771989622907027621153398088495"},"src":"12185:55:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":10307,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"12184:57:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":10308,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12245:3:57","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"12184:64:57","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":10303,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12178:5:57","typeDescriptions":{"typeIdentifier":"t_type$_t_int24_$","typeString":"type(int24)"},"typeName":{"id":10302,"name":"int24","nodeType":"ElementaryTypeName","src":"12178:5:57","typeDescriptions":{}}},"id":10310,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12178:71:57","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"VariableDeclarationStatement","src":"12163:86:57"},{"expression":{"id":10326,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10312,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10196,"src":"12264:4:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":10315,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10313,"name":"tickLow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10289,"src":"12271:7:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":10314,"name":"tickHi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10301,"src":"12282:6:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"12271:17:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":10321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":10318,"name":"tickHi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10301,"src":"12320:6:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"id":10317,"name":"getSqrtPriceAtTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10190,"src":"12301:18:57","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":10319,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12301:26:57","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":10320,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10193,"src":"12331:12:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"12301:42:57","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":10323,"name":"tickLow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10289,"src":"12355:7:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":10324,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"12301:61:57","trueExpression":{"id":10322,"name":"tickHi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10301,"src":"12346:6:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":10325,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"12271:91:57","trueExpression":{"id":10316,"name":"tickLow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10289,"src":"12291:7:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"12264:98:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":10327,"nodeType":"ExpressionStatement","src":"12264:98:57"}]}]},"documentation":{"id":10191,"nodeType":"StructuredDocumentation","src":"7173:449:57","text":"@notice Calculates the greatest tick value such that getSqrtPriceAtTick(tick) <= sqrtPriceX96\n @dev Throws in case sqrtPriceX96 < MIN_SQRT_PRICE, as MIN_SQRT_PRICE is the lowest value getSqrtPriceAtTick may\n ever return.\n @param sqrtPriceX96 The sqrt price for which to compute the tick as a Q64.96\n @return tick The greatest tick for which the getSqrtPriceAtTick(tick) is less than or equal to the input sqrtPriceX96"},"id":10330,"implemented":true,"kind":"function","modifiers":[],"name":"getTickAtSqrtPrice","nameLocation":"7636:18:57","nodeType":"FunctionDefinition","parameters":{"id":10194,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10193,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"7663:12:57","nodeType":"VariableDeclaration","scope":10330,"src":"7655:20:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":10192,"name":"uint160","nodeType":"ElementaryTypeName","src":"7655:7:57","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"7654:22:57"},"returnParameters":{"id":10197,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10196,"mutability":"mutable","name":"tick","nameLocation":"7706:4:57","nodeType":"VariableDeclaration","scope":10330,"src":"7700:10:57","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":10195,"name":"int24","nodeType":"ElementaryTypeName","src":"7700:5:57","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"7699:12:57"},"scope":10331,"src":"7627:4752:57","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":10332,"src":"381:12000:57","usedErrors":[9792,9797],"usedEvents":[]}],"src":"32:12350:57"},"id":57},"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol","exportedSymbols":{"Currency":[10717],"CurrencyReserves":[4345],"IPoolManager":[3917],"Lock":[5994],"NonzeroDeltaCount":[6019],"TransientStateLibrary":[10467]},"id":10468,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":10333,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"32:24:58"},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"../interfaces/IPoolManager.sol","id":10335,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":10468,"sourceUnit":3918,"src":"58:60:58","symbolAliases":[{"foreign":{"id":10334,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"66:12:58","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"../types/Currency.sol","id":10337,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":10468,"sourceUnit":11012,"src":"119:47:58","symbolAliases":[{"foreign":{"id":10336,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"127:8:58","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/CurrencyReserves.sol","file":"./CurrencyReserves.sol","id":10339,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":10468,"sourceUnit":4346,"src":"167:56:58","symbolAliases":[{"foreign":{"id":10338,"name":"CurrencyReserves","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"175:16:58","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol","file":"./NonzeroDeltaCount.sol","id":10341,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":10468,"sourceUnit":6020,"src":"224:58:58","symbolAliases":[{"foreign":{"id":10340,"name":"NonzeroDeltaCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6019,"src":"232:17:58","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/Lock.sol","file":"./Lock.sol","id":10343,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":10468,"sourceUnit":5995,"src":"283:32:58","symbolAliases":[{"foreign":{"id":10342,"name":"Lock","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5994,"src":"291:4:58","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"TransientStateLibrary","contractDependencies":[],"contractKind":"library","documentation":{"id":10344,"nodeType":"StructuredDocumentation","src":"317:72:58","text":"@notice A helper library to provide state getters that use exttload"},"fullyImplemented":true,"id":10467,"linearizedBaseContracts":[10467],"name":"TransientStateLibrary","nameLocation":"397:21:58","nodeType":"ContractDefinition","nodes":[{"body":{"id":10370,"nodeType":"Block","src":"848:150:58","statements":[{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":10354,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10348,"src":"880:7:58","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}],"id":10353,"name":"getSyncedCurrency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10399,"src":"862:17:58","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_contract$_IPoolManager_$3917_$returns$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (contract IPoolManager) view returns (Currency)"}},"id":10355,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"862:26:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":10356,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"889:13:58","memberName":"isAddressZero","nodeType":"MemberAccess","referencedDeclaration":10973,"src":"862:40:58","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_bool_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) pure returns (bool)"}},"id":10357,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"862:42:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10360,"nodeType":"IfStatement","src":"858:56:58","trueBody":{"expression":{"hexValue":"30","id":10358,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"913:1:58","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"functionReturnParameters":10352,"id":10359,"nodeType":"Return","src":"906:8:58"}},{"expression":{"arguments":[{"arguments":[{"expression":{"id":10365,"name":"CurrencyReserves","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"956:16:58","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurrencyReserves_$4345_$","typeString":"type(library CurrencyReserves)"}},"id":10366,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"973:16:58","memberName":"RESERVES_OF_SLOT","nodeType":"MemberAccess","referencedDeclaration":4310,"src":"956:33:58","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":10363,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10348,"src":"939:7:58","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":10364,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"947:8:58","memberName":"exttload","nodeType":"MemberAccess","referencedDeclaration":3409,"src":"939:16:58","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view external returns (bytes32)"}},"id":10367,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"939:51:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":10362,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"931:7:58","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":10361,"name":"uint256","nodeType":"ElementaryTypeName","src":"931:7:58","typeDescriptions":{}}},"id":10368,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"931:60:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":10352,"id":10369,"nodeType":"Return","src":"924:67:58"}]},"documentation":{"id":10345,"nodeType":"StructuredDocumentation","src":"537:225:58","text":"@return uint256 The reserves of the currency.\n @dev returns 0 if the reserves are not synced or value is 0.\n Checks the synced currency to only return valid reserve values (after a sync and before a settle)."},"id":10371,"implemented":true,"kind":"function","modifiers":[],"name":"getSyncedReserves","nameLocation":"776:17:58","nodeType":"FunctionDefinition","parameters":{"id":10349,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10348,"mutability":"mutable","name":"manager","nameLocation":"807:7:58","nodeType":"VariableDeclaration","scope":10371,"src":"794:20:58","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":10347,"nodeType":"UserDefinedTypeName","pathNode":{"id":10346,"name":"IPoolManager","nameLocations":["794:12:58"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"794:12:58"},"referencedDeclaration":3917,"src":"794:12:58","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"}],"src":"793:22:58"},"returnParameters":{"id":10352,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10351,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10371,"src":"839:7:58","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10350,"name":"uint256","nodeType":"ElementaryTypeName","src":"839:7:58","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"838:9:58"},"scope":10467,"src":"767:231:58","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":10398,"nodeType":"Block","src":"1086:114:58","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"expression":{"id":10390,"name":"CurrencyReserves","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"1158:16:58","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurrencyReserves_$4345_$","typeString":"type(library CurrencyReserves)"}},"id":10391,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1175:13:58","memberName":"CURRENCY_SLOT","nodeType":"MemberAccess","referencedDeclaration":4314,"src":"1158:30:58","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":10388,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10374,"src":"1141:7:58","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":10389,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1149:8:58","memberName":"exttload","nodeType":"MemberAccess","referencedDeclaration":3409,"src":"1141:16:58","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view external returns (bytes32)"}},"id":10392,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1141:48:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":10387,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1133:7:58","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":10386,"name":"uint256","nodeType":"ElementaryTypeName","src":"1133:7:58","typeDescriptions":{}}},"id":10393,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1133:57:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10385,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1125:7:58","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":10384,"name":"uint160","nodeType":"ElementaryTypeName","src":"1125:7:58","typeDescriptions":{}}},"id":10394,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1125:66:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":10383,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1117:7:58","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":10382,"name":"address","nodeType":"ElementaryTypeName","src":"1117:7:58","typeDescriptions":{}}},"id":10395,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1117:75:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":10380,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"1103:8:58","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10381,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1112:4:58","memberName":"wrap","nodeType":"MemberAccess","src":"1103:13:58","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_address_$returns$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (address) pure returns (Currency)"}},"id":10396,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1103:90:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"functionReturnParameters":10379,"id":10397,"nodeType":"Return","src":"1096:97:58"}]},"id":10399,"implemented":true,"kind":"function","modifiers":[],"name":"getSyncedCurrency","nameLocation":"1013:17:58","nodeType":"FunctionDefinition","parameters":{"id":10375,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10374,"mutability":"mutable","name":"manager","nameLocation":"1044:7:58","nodeType":"VariableDeclaration","scope":10399,"src":"1031:20:58","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":10373,"nodeType":"UserDefinedTypeName","pathNode":{"id":10372,"name":"IPoolManager","nameLocations":["1031:12:58"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"1031:12:58"},"referencedDeclaration":3917,"src":"1031:12:58","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"}],"src":"1030:22:58"},"returnParameters":{"id":10379,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10378,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10399,"src":"1076:8:58","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10377,"nodeType":"UserDefinedTypeName","pathNode":{"id":10376,"name":"Currency","nameLocations":["1076:8:58"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1076:8:58"},"referencedDeclaration":10717,"src":"1076:8:58","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"1075:10:58"},"scope":10467,"src":"1004:196:58","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":10417,"nodeType":"Block","src":"1421:93:58","statements":[{"expression":{"arguments":[{"arguments":[{"expression":{"id":10412,"name":"NonzeroDeltaCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6019,"src":"1463:17:58","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_NonzeroDeltaCount_$6019_$","typeString":"type(library NonzeroDeltaCount)"}},"id":10413,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1481:24:58","memberName":"NONZERO_DELTA_COUNT_SLOT","nodeType":"MemberAccess","referencedDeclaration":6000,"src":"1463:42:58","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":10410,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10403,"src":"1446:7:58","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":10411,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1454:8:58","memberName":"exttload","nodeType":"MemberAccess","referencedDeclaration":3409,"src":"1446:16:58","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view external returns (bytes32)"}},"id":10414,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1446:60:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":10409,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1438:7:58","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":10408,"name":"uint256","nodeType":"ElementaryTypeName","src":"1438:7:58","typeDescriptions":{}}},"id":10415,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1438:69:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":10407,"id":10416,"nodeType":"Return","src":"1431:76:58"}]},"documentation":{"id":10400,"nodeType":"StructuredDocumentation","src":"1206:126:58","text":"@notice Returns the number of nonzero deltas open on the PoolManager that must be zeroed out before the contract is locked"},"id":10418,"implemented":true,"kind":"function","modifiers":[],"name":"getNonzeroDeltaCount","nameLocation":"1346:20:58","nodeType":"FunctionDefinition","parameters":{"id":10404,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10403,"mutability":"mutable","name":"manager","nameLocation":"1380:7:58","nodeType":"VariableDeclaration","scope":10418,"src":"1367:20:58","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":10402,"nodeType":"UserDefinedTypeName","pathNode":{"id":10401,"name":"IPoolManager","nameLocations":["1367:12:58"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"1367:12:58"},"referencedDeclaration":3917,"src":"1367:12:58","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"}],"src":"1366:22:58"},"returnParameters":{"id":10407,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10406,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10418,"src":"1412:7:58","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10405,"name":"uint256","nodeType":"ElementaryTypeName","src":"1412:7:58","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1411:9:58"},"scope":10467,"src":"1337:177:58","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":10447,"nodeType":"Block","src":"1822:325:58","statements":[{"assignments":[10433],"declarations":[{"constant":false,"id":10433,"mutability":"mutable","name":"key","nameLocation":"1840:3:58","nodeType":"VariableDeclaration","scope":10447,"src":"1832:11:58","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":10432,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1832:7:58","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":10434,"nodeType":"VariableDeclarationStatement","src":"1832:11:58"},{"AST":{"nativeSrc":"1878:208:58","nodeType":"YulBlock","src":"1878:208:58","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1899:1:58","nodeType":"YulLiteral","src":"1899:1:58","type":"","value":"0"},{"arguments":[{"name":"target","nativeSrc":"1906:6:58","nodeType":"YulIdentifier","src":"1906:6:58"},{"kind":"number","nativeSrc":"1914:42:58","nodeType":"YulLiteral","src":"1914:42:58","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"1902:3:58","nodeType":"YulIdentifier","src":"1902:3:58"},"nativeSrc":"1902:55:58","nodeType":"YulFunctionCall","src":"1902:55:58"}],"functionName":{"name":"mstore","nativeSrc":"1892:6:58","nodeType":"YulIdentifier","src":"1892:6:58"},"nativeSrc":"1892:66:58","nodeType":"YulFunctionCall","src":"1892:66:58"},"nativeSrc":"1892:66:58","nodeType":"YulExpressionStatement","src":"1892:66:58"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1978:2:58","nodeType":"YulLiteral","src":"1978:2:58","type":"","value":"32"},{"arguments":[{"name":"currency","nativeSrc":"1986:8:58","nodeType":"YulIdentifier","src":"1986:8:58"},{"kind":"number","nativeSrc":"1996:42:58","nodeType":"YulLiteral","src":"1996:42:58","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"1982:3:58","nodeType":"YulIdentifier","src":"1982:3:58"},"nativeSrc":"1982:57:58","nodeType":"YulFunctionCall","src":"1982:57:58"}],"functionName":{"name":"mstore","nativeSrc":"1971:6:58","nodeType":"YulIdentifier","src":"1971:6:58"},"nativeSrc":"1971:69:58","nodeType":"YulFunctionCall","src":"1971:69:58"},"nativeSrc":"1971:69:58","nodeType":"YulExpressionStatement","src":"1971:69:58"},{"nativeSrc":"2053:23:58","nodeType":"YulAssignment","src":"2053:23:58","value":{"arguments":[{"kind":"number","nativeSrc":"2070:1:58","nodeType":"YulLiteral","src":"2070:1:58","type":"","value":"0"},{"kind":"number","nativeSrc":"2073:2:58","nodeType":"YulLiteral","src":"2073:2:58","type":"","value":"64"}],"functionName":{"name":"keccak256","nativeSrc":"2060:9:58","nodeType":"YulIdentifier","src":"2060:9:58"},"nativeSrc":"2060:16:58","nodeType":"YulFunctionCall","src":"2060:16:58"},"variableNames":[{"name":"key","nativeSrc":"2053:3:58","nodeType":"YulIdentifier","src":"2053:3:58"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10427,"isOffset":false,"isSlot":false,"src":"1986:8:58","valueSize":1},{"declaration":10433,"isOffset":false,"isSlot":false,"src":"2053:3:58","valueSize":1},{"declaration":10424,"isOffset":false,"isSlot":false,"src":"1906:6:58","valueSize":1}],"flags":["memory-safe"],"id":10435,"nodeType":"InlineAssembly","src":"1853:233:58"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"id":10442,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10433,"src":"2134:3:58","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":10440,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10422,"src":"2117:7:58","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":10441,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2125:8:58","memberName":"exttload","nodeType":"MemberAccess","referencedDeclaration":3409,"src":"2117:16:58","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view external returns (bytes32)"}},"id":10443,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2117:21:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":10439,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2109:7:58","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":10438,"name":"uint256","nodeType":"ElementaryTypeName","src":"2109:7:58","typeDescriptions":{}}},"id":10444,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2109:30:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10437,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2102:6:58","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":10436,"name":"int256","nodeType":"ElementaryTypeName","src":"2102:6:58","typeDescriptions":{}}},"id":10445,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2102:38:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"functionReturnParameters":10431,"id":10446,"nodeType":"Return","src":"2095:45:58"}]},"documentation":{"id":10419,"nodeType":"StructuredDocumentation","src":"1520:186:58","text":"@notice Get the current delta for a caller in the given currency\n @param target The credited account address\n @param currency The currency for which to lookup the delta"},"id":10448,"implemented":true,"kind":"function","modifiers":[],"name":"currencyDelta","nameLocation":"1720:13:58","nodeType":"FunctionDefinition","parameters":{"id":10428,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10422,"mutability":"mutable","name":"manager","nameLocation":"1747:7:58","nodeType":"VariableDeclaration","scope":10448,"src":"1734:20:58","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":10421,"nodeType":"UserDefinedTypeName","pathNode":{"id":10420,"name":"IPoolManager","nameLocations":["1734:12:58"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"1734:12:58"},"referencedDeclaration":3917,"src":"1734:12:58","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"},{"constant":false,"id":10424,"mutability":"mutable","name":"target","nameLocation":"1764:6:58","nodeType":"VariableDeclaration","scope":10448,"src":"1756:14:58","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":10423,"name":"address","nodeType":"ElementaryTypeName","src":"1756:7:58","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":10427,"mutability":"mutable","name":"currency","nameLocation":"1781:8:58","nodeType":"VariableDeclaration","scope":10448,"src":"1772:17:58","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10426,"nodeType":"UserDefinedTypeName","pathNode":{"id":10425,"name":"Currency","nameLocations":["1772:8:58"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1772:8:58"},"referencedDeclaration":10717,"src":"1772:8:58","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"1733:57:58"},"returnParameters":{"id":10431,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10430,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10448,"src":"1814:6:58","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":10429,"name":"int256","nodeType":"ElementaryTypeName","src":"1814:6:58","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1813:8:58"},"scope":10467,"src":"1711:436:58","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":10465,"nodeType":"Block","src":"2288:70:58","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"id":10463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"expression":{"id":10459,"name":"Lock","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5994,"src":"2322:4:58","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Lock_$5994_$","typeString":"type(library Lock)"}},"id":10460,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2327:16:58","memberName":"IS_UNLOCKED_SLOT","nodeType":"MemberAccess","referencedDeclaration":5976,"src":"2322:21:58","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":10457,"name":"manager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10452,"src":"2305:7:58","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":10458,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2313:8:58","memberName":"exttload","nodeType":"MemberAccess","referencedDeclaration":3409,"src":"2305:16:58","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view external returns (bytes32)"}},"id":10461,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2305:39:58","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"307830","id":10462,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2348:3:58","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0x0"},"src":"2305:46:58","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":10456,"id":10464,"nodeType":"Return","src":"2298:53:58"}]},"documentation":{"id":10449,"nodeType":"StructuredDocumentation","src":"2153:59:58","text":"@notice Returns whether the contract is unlocked or not"},"id":10466,"implemented":true,"kind":"function","modifiers":[],"name":"isUnlocked","nameLocation":"2226:10:58","nodeType":"FunctionDefinition","parameters":{"id":10453,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10452,"mutability":"mutable","name":"manager","nameLocation":"2250:7:58","nodeType":"VariableDeclaration","scope":10466,"src":"2237:20:58","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":10451,"nodeType":"UserDefinedTypeName","pathNode":{"id":10450,"name":"IPoolManager","nameLocations":["2237:12:58"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"2237:12:58"},"referencedDeclaration":3917,"src":"2237:12:58","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"}],"src":"2236:22:58"},"returnParameters":{"id":10456,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10455,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10466,"src":"2282:4:58","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":10454,"name":"bool","nodeType":"ElementaryTypeName","src":"2282:4:58","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2281:6:58"},"scope":10467,"src":"2217:141:58","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":10468,"src":"389:1971:58","usedErrors":[],"usedEvents":[]}],"src":"32:2329:58"},"id":58},"@uniswap/v4-core/src/libraries/UnsafeMath.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/libraries/UnsafeMath.sol","exportedSymbols":{"UnsafeMath":[10497]},"id":10498,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":10469,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:59"},{"abstract":false,"baseContracts":[],"canonicalName":"UnsafeMath","contractDependencies":[],"contractKind":"library","documentation":{"id":10470,"nodeType":"StructuredDocumentation","src":"57:173:59","text":"@title Math functions that do not check inputs or outputs\n @notice Contains methods that perform common math functions but do not do any overflow or underflow checks"},"fullyImplemented":true,"id":10497,"linearizedBaseContracts":[10497],"name":"UnsafeMath","nameLocation":"238:10:59","nodeType":"ContractDefinition","nodes":[{"body":{"id":10481,"nodeType":"Block","src":"548:102:59","statements":[{"AST":{"nativeSrc":"583:61:59","nodeType":"YulBlock","src":"583:61:59","statements":[{"nativeSrc":"597:37:59","nodeType":"YulAssignment","src":"597:37:59","value":{"arguments":[{"arguments":[{"name":"x","nativeSrc":"610:1:59","nodeType":"YulIdentifier","src":"610:1:59"},{"name":"y","nativeSrc":"613:1:59","nodeType":"YulIdentifier","src":"613:1:59"}],"functionName":{"name":"div","nativeSrc":"606:3:59","nodeType":"YulIdentifier","src":"606:3:59"},"nativeSrc":"606:9:59","nodeType":"YulFunctionCall","src":"606:9:59"},{"arguments":[{"arguments":[{"name":"x","nativeSrc":"624:1:59","nodeType":"YulIdentifier","src":"624:1:59"},{"name":"y","nativeSrc":"627:1:59","nodeType":"YulIdentifier","src":"627:1:59"}],"functionName":{"name":"mod","nativeSrc":"620:3:59","nodeType":"YulIdentifier","src":"620:3:59"},"nativeSrc":"620:9:59","nodeType":"YulFunctionCall","src":"620:9:59"},{"kind":"number","nativeSrc":"631:1:59","nodeType":"YulLiteral","src":"631:1:59","type":"","value":"0"}],"functionName":{"name":"gt","nativeSrc":"617:2:59","nodeType":"YulIdentifier","src":"617:2:59"},"nativeSrc":"617:16:59","nodeType":"YulFunctionCall","src":"617:16:59"}],"functionName":{"name":"add","nativeSrc":"602:3:59","nodeType":"YulIdentifier","src":"602:3:59"},"nativeSrc":"602:32:59","nodeType":"YulFunctionCall","src":"602:32:59"},"variableNames":[{"name":"z","nativeSrc":"597:1:59","nodeType":"YulIdentifier","src":"597:1:59"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10473,"isOffset":false,"isSlot":false,"src":"610:1:59","valueSize":1},{"declaration":10473,"isOffset":false,"isSlot":false,"src":"624:1:59","valueSize":1},{"declaration":10475,"isOffset":false,"isSlot":false,"src":"613:1:59","valueSize":1},{"declaration":10475,"isOffset":false,"isSlot":false,"src":"627:1:59","valueSize":1},{"declaration":10478,"isOffset":false,"isSlot":false,"src":"597:1:59","valueSize":1}],"flags":["memory-safe"],"id":10480,"nodeType":"InlineAssembly","src":"558:86:59"}]},"documentation":{"id":10471,"nodeType":"StructuredDocumentation","src":"255:209:59","text":"@notice Returns ceil(x / y)\n @dev division by 0 will return 0, and should be checked externally\n @param x The dividend\n @param y The divisor\n @return z The quotient, ceil(x / y)"},"id":10482,"implemented":true,"kind":"function","modifiers":[],"name":"divRoundingUp","nameLocation":"478:13:59","nodeType":"FunctionDefinition","parameters":{"id":10476,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10473,"mutability":"mutable","name":"x","nameLocation":"500:1:59","nodeType":"VariableDeclaration","scope":10482,"src":"492:9:59","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10472,"name":"uint256","nodeType":"ElementaryTypeName","src":"492:7:59","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10475,"mutability":"mutable","name":"y","nameLocation":"511:1:59","nodeType":"VariableDeclaration","scope":10482,"src":"503:9:59","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10474,"name":"uint256","nodeType":"ElementaryTypeName","src":"503:7:59","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"491:22:59"},"returnParameters":{"id":10479,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10478,"mutability":"mutable","name":"z","nameLocation":"545:1:59","nodeType":"VariableDeclaration","scope":10482,"src":"537:9:59","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10477,"name":"uint256","nodeType":"ElementaryTypeName","src":"537:7:59","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"536:11:59"},"scope":10497,"src":"469:181:59","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10495,"nodeType":"Block","src":"1060:102:59","statements":[{"AST":{"nativeSrc":"1095:61:59","nodeType":"YulBlock","src":"1095:61:59","statements":[{"nativeSrc":"1109:37:59","nodeType":"YulAssignment","src":"1109:37:59","value":{"arguments":[{"arguments":[{"name":"a","nativeSrc":"1127:1:59","nodeType":"YulIdentifier","src":"1127:1:59"},{"name":"b","nativeSrc":"1130:1:59","nodeType":"YulIdentifier","src":"1130:1:59"}],"functionName":{"name":"mul","nativeSrc":"1123:3:59","nodeType":"YulIdentifier","src":"1123:3:59"},"nativeSrc":"1123:9:59","nodeType":"YulFunctionCall","src":"1123:9:59"},{"name":"denominator","nativeSrc":"1134:11:59","nodeType":"YulIdentifier","src":"1134:11:59"}],"functionName":{"name":"div","nativeSrc":"1119:3:59","nodeType":"YulIdentifier","src":"1119:3:59"},"nativeSrc":"1119:27:59","nodeType":"YulFunctionCall","src":"1119:27:59"},"variableNames":[{"name":"result","nativeSrc":"1109:6:59","nodeType":"YulIdentifier","src":"1109:6:59"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10485,"isOffset":false,"isSlot":false,"src":"1127:1:59","valueSize":1},{"declaration":10487,"isOffset":false,"isSlot":false,"src":"1130:1:59","valueSize":1},{"declaration":10489,"isOffset":false,"isSlot":false,"src":"1134:11:59","valueSize":1},{"declaration":10492,"isOffset":false,"isSlot":false,"src":"1109:6:59","valueSize":1}],"flags":["memory-safe"],"id":10494,"nodeType":"InlineAssembly","src":"1070:86:59"}]},"documentation":{"id":10483,"nodeType":"StructuredDocumentation","src":"656:295:59","text":"@notice Calculates floor(a×b÷denominator)\n @dev division by 0 will return 0, and should be checked externally\n @param a The multiplicand\n @param b The multiplier\n @param denominator The divisor\n @return result The 256-bit result, floor(a×b÷denominator)"},"id":10496,"implemented":true,"kind":"function","modifiers":[],"name":"simpleMulDiv","nameLocation":"965:12:59","nodeType":"FunctionDefinition","parameters":{"id":10490,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10485,"mutability":"mutable","name":"a","nameLocation":"986:1:59","nodeType":"VariableDeclaration","scope":10496,"src":"978:9:59","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10484,"name":"uint256","nodeType":"ElementaryTypeName","src":"978:7:59","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10487,"mutability":"mutable","name":"b","nameLocation":"997:1:59","nodeType":"VariableDeclaration","scope":10496,"src":"989:9:59","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10486,"name":"uint256","nodeType":"ElementaryTypeName","src":"989:7:59","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10489,"mutability":"mutable","name":"denominator","nameLocation":"1008:11:59","nodeType":"VariableDeclaration","scope":10496,"src":"1000:19:59","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10488,"name":"uint256","nodeType":"ElementaryTypeName","src":"1000:7:59","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"977:43:59"},"returnParameters":{"id":10493,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10492,"mutability":"mutable","name":"result","nameLocation":"1052:6:59","nodeType":"VariableDeclaration","scope":10496,"src":"1044:14:59","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10491,"name":"uint256","nodeType":"ElementaryTypeName","src":"1044:7:59","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1043:16:59"},"scope":10497,"src":"956:206:59","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":10498,"src":"230:934:59","usedErrors":[],"usedEvents":[]}],"src":"32:1133:59"},"id":59},"@uniswap/v4-core/src/types/BalanceDelta.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/types/BalanceDelta.sol","exportedSymbols":{"BalanceDelta":[10503],"BalanceDeltaLibrary":[10661],"SafeCast":[8145],"add":[10558],"eq":[10609],"neq":[10631],"sub":[10587],"toBalanceDelta":[10529]},"id":10662,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":10499,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:60"},{"absolutePath":"@uniswap/v4-core/src/libraries/SafeCast.sol","file":"../libraries/SafeCast.sol","id":10501,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":10662,"sourceUnit":8146,"src":"57:51:60","symbolAliases":[{"foreign":{"id":10500,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8145,"src":"65:8:60","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"canonicalName":"BalanceDelta","id":10503,"name":"BalanceDelta","nameLocation":"271:12:60","nodeType":"UserDefinedValueTypeDefinition","src":"266:28:60","underlyingType":{"id":10502,"name":"int256","nodeType":"ElementaryTypeName","src":"287:6:60","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}},{"functionList":[{"definition":{"id":10504,"name":"add","nameLocations":["303:3:60"],"nodeType":"IdentifierPath","referencedDeclaration":10558,"src":"303:3:60"},"operator":"+"},{"definition":{"id":10505,"name":"sub","nameLocations":["313:3:60"],"nodeType":"IdentifierPath","referencedDeclaration":10587,"src":"313:3:60"},"operator":"-"},{"definition":{"id":10506,"name":"eq","nameLocations":["323:2:60"],"nodeType":"IdentifierPath","referencedDeclaration":10609,"src":"323:2:60"},"operator":"=="},{"definition":{"id":10507,"name":"neq","nameLocations":["333:3:60"],"nodeType":"IdentifierPath","referencedDeclaration":10631,"src":"333:3:60"},"operator":"!="}],"global":true,"id":10510,"nodeType":"UsingForDirective","src":"296:72:60","typeName":{"id":10509,"nodeType":"UserDefinedTypeName","pathNode":{"id":10508,"name":"BalanceDelta","nameLocations":["348:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"348:12:60"},"referencedDeclaration":10503,"src":"348:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}},{"global":true,"id":10514,"libraryName":{"id":10511,"name":"BalanceDeltaLibrary","nameLocations":["375:19:60"],"nodeType":"IdentifierPath","referencedDeclaration":10661,"src":"375:19:60"},"nodeType":"UsingForDirective","src":"369:50:60","typeName":{"id":10513,"nodeType":"UserDefinedTypeName","pathNode":{"id":10512,"name":"BalanceDelta","nameLocations":["399:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"399:12:60"},"referencedDeclaration":10503,"src":"399:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}},{"global":false,"id":10517,"libraryName":{"id":10515,"name":"SafeCast","nameLocations":["426:8:60"],"nodeType":"IdentifierPath","referencedDeclaration":8145,"src":"426:8:60"},"nodeType":"UsingForDirective","src":"420:26:60","typeName":{"id":10516,"name":"int256","nodeType":"ElementaryTypeName","src":"439:6:60","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}},{"body":{"id":10528,"nodeType":"Block","src":"547:123:60","statements":[{"AST":{"nativeSrc":"578:90:60","nodeType":"YulBlock","src":"578:90:60","statements":[{"nativeSrc":"588:74:60","nodeType":"YulAssignment","src":"588:74:60","value":{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"611:3:60","nodeType":"YulLiteral","src":"611:3:60","type":"","value":"128"},{"name":"_amount0","nativeSrc":"616:8:60","nodeType":"YulIdentifier","src":"616:8:60"}],"functionName":{"name":"shl","nativeSrc":"607:3:60","nodeType":"YulIdentifier","src":"607:3:60"},"nativeSrc":"607:18:60","nodeType":"YulFunctionCall","src":"607:18:60"},{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"639:3:60","nodeType":"YulLiteral","src":"639:3:60","type":"","value":"128"},{"kind":"number","nativeSrc":"644:1:60","nodeType":"YulLiteral","src":"644:1:60","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"635:3:60","nodeType":"YulIdentifier","src":"635:3:60"},"nativeSrc":"635:11:60","nodeType":"YulFunctionCall","src":"635:11:60"},{"kind":"number","nativeSrc":"648:1:60","nodeType":"YulLiteral","src":"648:1:60","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"631:3:60","nodeType":"YulIdentifier","src":"631:3:60"},"nativeSrc":"631:19:60","nodeType":"YulFunctionCall","src":"631:19:60"},{"name":"_amount1","nativeSrc":"652:8:60","nodeType":"YulIdentifier","src":"652:8:60"}],"functionName":{"name":"and","nativeSrc":"627:3:60","nodeType":"YulIdentifier","src":"627:3:60"},"nativeSrc":"627:34:60","nodeType":"YulFunctionCall","src":"627:34:60"}],"functionName":{"name":"or","nativeSrc":"604:2:60","nodeType":"YulIdentifier","src":"604:2:60"},"nativeSrc":"604:58:60","nodeType":"YulFunctionCall","src":"604:58:60"},"variableNames":[{"name":"balanceDelta","nativeSrc":"588:12:60","nodeType":"YulIdentifier","src":"588:12:60"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10519,"isOffset":false,"isSlot":false,"src":"616:8:60","valueSize":1},{"declaration":10521,"isOffset":false,"isSlot":false,"src":"652:8:60","valueSize":1},{"declaration":10525,"isOffset":false,"isSlot":false,"src":"588:12:60","valueSize":1}],"flags":["memory-safe"],"id":10527,"nodeType":"InlineAssembly","src":"553:115:60"}]},"id":10529,"implemented":true,"kind":"freeFunction","modifiers":[],"name":"toBalanceDelta","nameLocation":"457:14:60","nodeType":"FunctionDefinition","parameters":{"id":10522,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10519,"mutability":"mutable","name":"_amount0","nameLocation":"479:8:60","nodeType":"VariableDeclaration","scope":10529,"src":"472:15:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":10518,"name":"int128","nodeType":"ElementaryTypeName","src":"472:6:60","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":10521,"mutability":"mutable","name":"_amount1","nameLocation":"496:8:60","nodeType":"VariableDeclaration","scope":10529,"src":"489:15:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":10520,"name":"int128","nodeType":"ElementaryTypeName","src":"489:6:60","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"471:34:60"},"returnParameters":{"id":10526,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10525,"mutability":"mutable","name":"balanceDelta","nameLocation":"533:12:60","nodeType":"VariableDeclaration","scope":10529,"src":"520:25:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10524,"nodeType":"UserDefinedTypeName","pathNode":{"id":10523,"name":"BalanceDelta","nameLocations":["520:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"520:12:60"},"referencedDeclaration":10503,"src":"520:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"519:27:60"},"scope":10662,"src":"448:222:60","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10557,"nodeType":"Block","src":"745:323:60","statements":[{"assignments":[10542],"declarations":[{"constant":false,"id":10542,"mutability":"mutable","name":"res0","nameLocation":"758:4:60","nodeType":"VariableDeclaration","scope":10557,"src":"751:11:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":10541,"name":"int256","nodeType":"ElementaryTypeName","src":"751:6:60","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":10543,"nodeType":"VariableDeclarationStatement","src":"751:11:60"},{"assignments":[10545],"declarations":[{"constant":false,"id":10545,"mutability":"mutable","name":"res1","nameLocation":"775:4:60","nodeType":"VariableDeclaration","scope":10557,"src":"768:11:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":10544,"name":"int256","nodeType":"ElementaryTypeName","src":"768:6:60","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":10546,"nodeType":"VariableDeclarationStatement","src":"768:11:60"},{"AST":{"nativeSrc":"810:195:60","nodeType":"YulBlock","src":"810:195:60","statements":[{"nativeSrc":"820:21:60","nodeType":"YulVariableDeclaration","src":"820:21:60","value":{"arguments":[{"kind":"number","nativeSrc":"834:3:60","nodeType":"YulLiteral","src":"834:3:60","type":"","value":"128"},{"name":"a","nativeSrc":"839:1:60","nodeType":"YulIdentifier","src":"839:1:60"}],"functionName":{"name":"sar","nativeSrc":"830:3:60","nodeType":"YulIdentifier","src":"830:3:60"},"nativeSrc":"830:11:60","nodeType":"YulFunctionCall","src":"830:11:60"},"variables":[{"name":"a0","nativeSrc":"824:2:60","nodeType":"YulTypedName","src":"824:2:60","type":""}]},{"nativeSrc":"850:27:60","nodeType":"YulVariableDeclaration","src":"850:27:60","value":{"arguments":[{"kind":"number","nativeSrc":"871:2:60","nodeType":"YulLiteral","src":"871:2:60","type":"","value":"15"},{"name":"a","nativeSrc":"875:1:60","nodeType":"YulIdentifier","src":"875:1:60"}],"functionName":{"name":"signextend","nativeSrc":"860:10:60","nodeType":"YulIdentifier","src":"860:10:60"},"nativeSrc":"860:17:60","nodeType":"YulFunctionCall","src":"860:17:60"},"variables":[{"name":"a1","nativeSrc":"854:2:60","nodeType":"YulTypedName","src":"854:2:60","type":""}]},{"nativeSrc":"886:21:60","nodeType":"YulVariableDeclaration","src":"886:21:60","value":{"arguments":[{"kind":"number","nativeSrc":"900:3:60","nodeType":"YulLiteral","src":"900:3:60","type":"","value":"128"},{"name":"b","nativeSrc":"905:1:60","nodeType":"YulIdentifier","src":"905:1:60"}],"functionName":{"name":"sar","nativeSrc":"896:3:60","nodeType":"YulIdentifier","src":"896:3:60"},"nativeSrc":"896:11:60","nodeType":"YulFunctionCall","src":"896:11:60"},"variables":[{"name":"b0","nativeSrc":"890:2:60","nodeType":"YulTypedName","src":"890:2:60","type":""}]},{"nativeSrc":"916:27:60","nodeType":"YulVariableDeclaration","src":"916:27:60","value":{"arguments":[{"kind":"number","nativeSrc":"937:2:60","nodeType":"YulLiteral","src":"937:2:60","type":"","value":"15"},{"name":"b","nativeSrc":"941:1:60","nodeType":"YulIdentifier","src":"941:1:60"}],"functionName":{"name":"signextend","nativeSrc":"926:10:60","nodeType":"YulIdentifier","src":"926:10:60"},"nativeSrc":"926:17:60","nodeType":"YulFunctionCall","src":"926:17:60"},"variables":[{"name":"b1","nativeSrc":"920:2:60","nodeType":"YulTypedName","src":"920:2:60","type":""}]},{"nativeSrc":"952:19:60","nodeType":"YulAssignment","src":"952:19:60","value":{"arguments":[{"name":"a0","nativeSrc":"964:2:60","nodeType":"YulIdentifier","src":"964:2:60"},{"name":"b0","nativeSrc":"968:2:60","nodeType":"YulIdentifier","src":"968:2:60"}],"functionName":{"name":"add","nativeSrc":"960:3:60","nodeType":"YulIdentifier","src":"960:3:60"},"nativeSrc":"960:11:60","nodeType":"YulFunctionCall","src":"960:11:60"},"variableNames":[{"name":"res0","nativeSrc":"952:4:60","nodeType":"YulIdentifier","src":"952:4:60"}]},{"nativeSrc":"980:19:60","nodeType":"YulAssignment","src":"980:19:60","value":{"arguments":[{"name":"a1","nativeSrc":"992:2:60","nodeType":"YulIdentifier","src":"992:2:60"},{"name":"b1","nativeSrc":"996:2:60","nodeType":"YulIdentifier","src":"996:2:60"}],"functionName":{"name":"add","nativeSrc":"988:3:60","nodeType":"YulIdentifier","src":"988:3:60"},"nativeSrc":"988:11:60","nodeType":"YulFunctionCall","src":"988:11:60"},"variableNames":[{"name":"res1","nativeSrc":"980:4:60","nodeType":"YulIdentifier","src":"980:4:60"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10532,"isOffset":false,"isSlot":false,"src":"839:1:60","valueSize":1},{"declaration":10532,"isOffset":false,"isSlot":false,"src":"875:1:60","valueSize":1},{"declaration":10535,"isOffset":false,"isSlot":false,"src":"905:1:60","valueSize":1},{"declaration":10535,"isOffset":false,"isSlot":false,"src":"941:1:60","valueSize":1},{"declaration":10542,"isOffset":false,"isSlot":false,"src":"952:4:60","valueSize":1},{"declaration":10545,"isOffset":false,"isSlot":false,"src":"980:4:60","valueSize":1}],"flags":["memory-safe"],"id":10547,"nodeType":"InlineAssembly","src":"785:220:60"},{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":10549,"name":"res0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10542,"src":"1032:4:60","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":10550,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1037:8:60","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"1032:13:60","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":10551,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1032:15:60","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":10552,"name":"res1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10545,"src":"1049:4:60","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":10553,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1054:8:60","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"1049:13:60","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":10554,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1049:15:60","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"id":10548,"name":"toBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10529,"src":"1017:14:60","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$_t_int128_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int128,int128) pure returns (BalanceDelta)"}},"id":10555,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1017:48:60","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"functionReturnParameters":10540,"id":10556,"nodeType":"Return","src":"1010:55:60"}]},"id":10558,"implemented":true,"kind":"freeFunction","modifiers":[],"name":"add","nameLocation":"681:3:60","nodeType":"FunctionDefinition","parameters":{"id":10536,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10532,"mutability":"mutable","name":"a","nameLocation":"698:1:60","nodeType":"VariableDeclaration","scope":10558,"src":"685:14:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10531,"nodeType":"UserDefinedTypeName","pathNode":{"id":10530,"name":"BalanceDelta","nameLocations":["685:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"685:12:60"},"referencedDeclaration":10503,"src":"685:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":10535,"mutability":"mutable","name":"b","nameLocation":"714:1:60","nodeType":"VariableDeclaration","scope":10558,"src":"701:14:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10534,"nodeType":"UserDefinedTypeName","pathNode":{"id":10533,"name":"BalanceDelta","nameLocations":["701:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"701:12:60"},"referencedDeclaration":10503,"src":"701:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"684:32:60"},"returnParameters":{"id":10540,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10539,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10558,"src":"731:12:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10538,"nodeType":"UserDefinedTypeName","pathNode":{"id":10537,"name":"BalanceDelta","nameLocations":["731:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"731:12:60"},"referencedDeclaration":10503,"src":"731:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"730:14:60"},"scope":10662,"src":"672:396:60","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10586,"nodeType":"Block","src":"1143:323:60","statements":[{"assignments":[10571],"declarations":[{"constant":false,"id":10571,"mutability":"mutable","name":"res0","nameLocation":"1156:4:60","nodeType":"VariableDeclaration","scope":10586,"src":"1149:11:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":10570,"name":"int256","nodeType":"ElementaryTypeName","src":"1149:6:60","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":10572,"nodeType":"VariableDeclarationStatement","src":"1149:11:60"},{"assignments":[10574],"declarations":[{"constant":false,"id":10574,"mutability":"mutable","name":"res1","nameLocation":"1173:4:60","nodeType":"VariableDeclaration","scope":10586,"src":"1166:11:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":10573,"name":"int256","nodeType":"ElementaryTypeName","src":"1166:6:60","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":10575,"nodeType":"VariableDeclarationStatement","src":"1166:11:60"},{"AST":{"nativeSrc":"1208:195:60","nodeType":"YulBlock","src":"1208:195:60","statements":[{"nativeSrc":"1218:21:60","nodeType":"YulVariableDeclaration","src":"1218:21:60","value":{"arguments":[{"kind":"number","nativeSrc":"1232:3:60","nodeType":"YulLiteral","src":"1232:3:60","type":"","value":"128"},{"name":"a","nativeSrc":"1237:1:60","nodeType":"YulIdentifier","src":"1237:1:60"}],"functionName":{"name":"sar","nativeSrc":"1228:3:60","nodeType":"YulIdentifier","src":"1228:3:60"},"nativeSrc":"1228:11:60","nodeType":"YulFunctionCall","src":"1228:11:60"},"variables":[{"name":"a0","nativeSrc":"1222:2:60","nodeType":"YulTypedName","src":"1222:2:60","type":""}]},{"nativeSrc":"1248:27:60","nodeType":"YulVariableDeclaration","src":"1248:27:60","value":{"arguments":[{"kind":"number","nativeSrc":"1269:2:60","nodeType":"YulLiteral","src":"1269:2:60","type":"","value":"15"},{"name":"a","nativeSrc":"1273:1:60","nodeType":"YulIdentifier","src":"1273:1:60"}],"functionName":{"name":"signextend","nativeSrc":"1258:10:60","nodeType":"YulIdentifier","src":"1258:10:60"},"nativeSrc":"1258:17:60","nodeType":"YulFunctionCall","src":"1258:17:60"},"variables":[{"name":"a1","nativeSrc":"1252:2:60","nodeType":"YulTypedName","src":"1252:2:60","type":""}]},{"nativeSrc":"1284:21:60","nodeType":"YulVariableDeclaration","src":"1284:21:60","value":{"arguments":[{"kind":"number","nativeSrc":"1298:3:60","nodeType":"YulLiteral","src":"1298:3:60","type":"","value":"128"},{"name":"b","nativeSrc":"1303:1:60","nodeType":"YulIdentifier","src":"1303:1:60"}],"functionName":{"name":"sar","nativeSrc":"1294:3:60","nodeType":"YulIdentifier","src":"1294:3:60"},"nativeSrc":"1294:11:60","nodeType":"YulFunctionCall","src":"1294:11:60"},"variables":[{"name":"b0","nativeSrc":"1288:2:60","nodeType":"YulTypedName","src":"1288:2:60","type":""}]},{"nativeSrc":"1314:27:60","nodeType":"YulVariableDeclaration","src":"1314:27:60","value":{"arguments":[{"kind":"number","nativeSrc":"1335:2:60","nodeType":"YulLiteral","src":"1335:2:60","type":"","value":"15"},{"name":"b","nativeSrc":"1339:1:60","nodeType":"YulIdentifier","src":"1339:1:60"}],"functionName":{"name":"signextend","nativeSrc":"1324:10:60","nodeType":"YulIdentifier","src":"1324:10:60"},"nativeSrc":"1324:17:60","nodeType":"YulFunctionCall","src":"1324:17:60"},"variables":[{"name":"b1","nativeSrc":"1318:2:60","nodeType":"YulTypedName","src":"1318:2:60","type":""}]},{"nativeSrc":"1350:19:60","nodeType":"YulAssignment","src":"1350:19:60","value":{"arguments":[{"name":"a0","nativeSrc":"1362:2:60","nodeType":"YulIdentifier","src":"1362:2:60"},{"name":"b0","nativeSrc":"1366:2:60","nodeType":"YulIdentifier","src":"1366:2:60"}],"functionName":{"name":"sub","nativeSrc":"1358:3:60","nodeType":"YulIdentifier","src":"1358:3:60"},"nativeSrc":"1358:11:60","nodeType":"YulFunctionCall","src":"1358:11:60"},"variableNames":[{"name":"res0","nativeSrc":"1350:4:60","nodeType":"YulIdentifier","src":"1350:4:60"}]},{"nativeSrc":"1378:19:60","nodeType":"YulAssignment","src":"1378:19:60","value":{"arguments":[{"name":"a1","nativeSrc":"1390:2:60","nodeType":"YulIdentifier","src":"1390:2:60"},{"name":"b1","nativeSrc":"1394:2:60","nodeType":"YulIdentifier","src":"1394:2:60"}],"functionName":{"name":"sub","nativeSrc":"1386:3:60","nodeType":"YulIdentifier","src":"1386:3:60"},"nativeSrc":"1386:11:60","nodeType":"YulFunctionCall","src":"1386:11:60"},"variableNames":[{"name":"res1","nativeSrc":"1378:4:60","nodeType":"YulIdentifier","src":"1378:4:60"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10561,"isOffset":false,"isSlot":false,"src":"1237:1:60","valueSize":1},{"declaration":10561,"isOffset":false,"isSlot":false,"src":"1273:1:60","valueSize":1},{"declaration":10564,"isOffset":false,"isSlot":false,"src":"1303:1:60","valueSize":1},{"declaration":10564,"isOffset":false,"isSlot":false,"src":"1339:1:60","valueSize":1},{"declaration":10571,"isOffset":false,"isSlot":false,"src":"1350:4:60","valueSize":1},{"declaration":10574,"isOffset":false,"isSlot":false,"src":"1378:4:60","valueSize":1}],"flags":["memory-safe"],"id":10576,"nodeType":"InlineAssembly","src":"1183:220:60"},{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":10578,"name":"res0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10571,"src":"1430:4:60","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":10579,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1435:8:60","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"1430:13:60","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":10580,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1430:15:60","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":10581,"name":"res1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10574,"src":"1447:4:60","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":10582,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1452:8:60","memberName":"toInt128","nodeType":"MemberAccess","referencedDeclaration":8087,"src":"1447:13:60","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_int128_$attached_to$_t_int256_$","typeString":"function (int256) pure returns (int128)"}},"id":10583,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1447:15:60","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"id":10577,"name":"toBalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10529,"src":"1415:14:60","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$_t_int128_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int128,int128) pure returns (BalanceDelta)"}},"id":10584,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1415:48:60","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"functionReturnParameters":10569,"id":10585,"nodeType":"Return","src":"1408:55:60"}]},"id":10587,"implemented":true,"kind":"freeFunction","modifiers":[],"name":"sub","nameLocation":"1079:3:60","nodeType":"FunctionDefinition","parameters":{"id":10565,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10561,"mutability":"mutable","name":"a","nameLocation":"1096:1:60","nodeType":"VariableDeclaration","scope":10587,"src":"1083:14:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10560,"nodeType":"UserDefinedTypeName","pathNode":{"id":10559,"name":"BalanceDelta","nameLocations":["1083:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"1083:12:60"},"referencedDeclaration":10503,"src":"1083:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":10564,"mutability":"mutable","name":"b","nameLocation":"1112:1:60","nodeType":"VariableDeclaration","scope":10587,"src":"1099:14:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10563,"nodeType":"UserDefinedTypeName","pathNode":{"id":10562,"name":"BalanceDelta","nameLocations":["1099:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"1099:12:60"},"referencedDeclaration":10503,"src":"1099:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"1082:32:60"},"returnParameters":{"id":10569,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10568,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10587,"src":"1129:12:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10567,"nodeType":"UserDefinedTypeName","pathNode":{"id":10566,"name":"BalanceDelta","nameLocations":["1129:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"1129:12:60"},"referencedDeclaration":10503,"src":"1129:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"1128:14:60"},"scope":10662,"src":"1070:396:60","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10608,"nodeType":"Block","src":"1532:64:60","statements":[{"expression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":10606,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":10600,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10590,"src":"1565:1:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}],"expression":{"id":10598,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"1545:12:60","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"type(BalanceDelta)"}},"id":10599,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1558:6:60","memberName":"unwrap","nodeType":"MemberAccess","src":"1545:19:60","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int256_$","typeString":"function (BalanceDelta) pure returns (int256)"}},"id":10601,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1545:22:60","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"id":10604,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10593,"src":"1591:1:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}],"expression":{"id":10602,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"1571:12:60","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"type(BalanceDelta)"}},"id":10603,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1584:6:60","memberName":"unwrap","nodeType":"MemberAccess","src":"1571:19:60","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int256_$","typeString":"function (BalanceDelta) pure returns (int256)"}},"id":10605,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1571:22:60","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1545:48:60","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":10597,"id":10607,"nodeType":"Return","src":"1538:55:60"}]},"id":10609,"implemented":true,"kind":"freeFunction","modifiers":[],"name":"eq","nameLocation":"1477:2:60","nodeType":"FunctionDefinition","parameters":{"id":10594,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10590,"mutability":"mutable","name":"a","nameLocation":"1493:1:60","nodeType":"VariableDeclaration","scope":10609,"src":"1480:14:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10589,"nodeType":"UserDefinedTypeName","pathNode":{"id":10588,"name":"BalanceDelta","nameLocations":["1480:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"1480:12:60"},"referencedDeclaration":10503,"src":"1480:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":10593,"mutability":"mutable","name":"b","nameLocation":"1509:1:60","nodeType":"VariableDeclaration","scope":10609,"src":"1496:14:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10592,"nodeType":"UserDefinedTypeName","pathNode":{"id":10591,"name":"BalanceDelta","nameLocations":["1496:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"1496:12:60"},"referencedDeclaration":10503,"src":"1496:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"1479:32:60"},"returnParameters":{"id":10597,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10596,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10609,"src":"1526:4:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":10595,"name":"bool","nodeType":"ElementaryTypeName","src":"1526:4:60","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1525:6:60"},"scope":10662,"src":"1468:128:60","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10630,"nodeType":"Block","src":"1663:64:60","statements":[{"expression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":10628,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":10622,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10612,"src":"1696:1:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}],"expression":{"id":10620,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"1676:12:60","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"type(BalanceDelta)"}},"id":10621,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1689:6:60","memberName":"unwrap","nodeType":"MemberAccess","src":"1676:19:60","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int256_$","typeString":"function (BalanceDelta) pure returns (int256)"}},"id":10623,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1676:22:60","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":10626,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10615,"src":"1722:1:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}],"expression":{"id":10624,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"1702:12:60","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"type(BalanceDelta)"}},"id":10625,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1715:6:60","memberName":"unwrap","nodeType":"MemberAccess","src":"1702:19:60","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int256_$","typeString":"function (BalanceDelta) pure returns (int256)"}},"id":10627,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1702:22:60","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1676:48:60","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":10619,"id":10629,"nodeType":"Return","src":"1669:55:60"}]},"id":10631,"implemented":true,"kind":"freeFunction","modifiers":[],"name":"neq","nameLocation":"1607:3:60","nodeType":"FunctionDefinition","parameters":{"id":10616,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10612,"mutability":"mutable","name":"a","nameLocation":"1624:1:60","nodeType":"VariableDeclaration","scope":10631,"src":"1611:14:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10611,"nodeType":"UserDefinedTypeName","pathNode":{"id":10610,"name":"BalanceDelta","nameLocations":["1611:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"1611:12:60"},"referencedDeclaration":10503,"src":"1611:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":10615,"mutability":"mutable","name":"b","nameLocation":"1640:1:60","nodeType":"VariableDeclaration","scope":10631,"src":"1627:14:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10614,"nodeType":"UserDefinedTypeName","pathNode":{"id":10613,"name":"BalanceDelta","nameLocations":["1627:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"1627:12:60"},"referencedDeclaration":10503,"src":"1627:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"1610:32:60"},"returnParameters":{"id":10619,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10618,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10631,"src":"1657:4:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":10617,"name":"bool","nodeType":"ElementaryTypeName","src":"1657:4:60","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1656:6:60"},"scope":10662,"src":"1598:129:60","stateMutability":"pure","virtual":false,"visibility":"internal"},{"abstract":false,"baseContracts":[],"canonicalName":"BalanceDeltaLibrary","contractDependencies":[],"contractKind":"library","documentation":{"id":10632,"nodeType":"StructuredDocumentation","src":"1729:90:60","text":"@notice Library for getting the amount0 and amount1 deltas from the BalanceDelta type"},"fullyImplemented":true,"id":10661,"linearizedBaseContracts":[10661],"name":"BalanceDeltaLibrary","nameLocation":"1827:19:60","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":10633,"nodeType":"StructuredDocumentation","src":"1853:31:60","text":"@notice A BalanceDelta of 0"},"functionSelector":"91cb4669","id":10640,"mutability":"constant","name":"ZERO_DELTA","nameLocation":"1918:10:60","nodeType":"VariableDeclaration","scope":10661,"src":"1889:62:60","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10635,"nodeType":"UserDefinedTypeName","pathNode":{"id":10634,"name":"BalanceDelta","nameLocations":["1889:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"1889:12:60"},"referencedDeclaration":10503,"src":"1889:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"value":{"arguments":[{"hexValue":"30","id":10638,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1949:1:60","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"id":10636,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"1931:12:60","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"type(BalanceDelta)"}},"id":10637,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1944:4:60","memberName":"wrap","nodeType":"MemberAccess","src":"1931:17:60","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_int256_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (int256) pure returns (BalanceDelta)"}},"id":10639,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1931:20:60","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"public"},{"body":{"id":10649,"nodeType":"Block","src":"2042:99:60","statements":[{"AST":{"nativeSrc":"2077:58:60","nodeType":"YulBlock","src":"2077:58:60","statements":[{"nativeSrc":"2091:34:60","nodeType":"YulAssignment","src":"2091:34:60","value":{"arguments":[{"kind":"number","nativeSrc":"2107:3:60","nodeType":"YulLiteral","src":"2107:3:60","type":"","value":"128"},{"name":"balanceDelta","nativeSrc":"2112:12:60","nodeType":"YulIdentifier","src":"2112:12:60"}],"functionName":{"name":"sar","nativeSrc":"2103:3:60","nodeType":"YulIdentifier","src":"2103:3:60"},"nativeSrc":"2103:22:60","nodeType":"YulFunctionCall","src":"2103:22:60"},"variableNames":[{"name":"_amount0","nativeSrc":"2091:8:60","nodeType":"YulIdentifier","src":"2091:8:60"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10646,"isOffset":false,"isSlot":false,"src":"2091:8:60","valueSize":1},{"declaration":10643,"isOffset":false,"isSlot":false,"src":"2112:12:60","valueSize":1}],"flags":["memory-safe"],"id":10648,"nodeType":"InlineAssembly","src":"2052:83:60"}]},"id":10650,"implemented":true,"kind":"function","modifiers":[],"name":"amount0","nameLocation":"1967:7:60","nodeType":"FunctionDefinition","parameters":{"id":10644,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10643,"mutability":"mutable","name":"balanceDelta","nameLocation":"1988:12:60","nodeType":"VariableDeclaration","scope":10650,"src":"1975:25:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10642,"nodeType":"UserDefinedTypeName","pathNode":{"id":10641,"name":"BalanceDelta","nameLocations":["1975:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"1975:12:60"},"referencedDeclaration":10503,"src":"1975:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"1974:27:60"},"returnParameters":{"id":10647,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10646,"mutability":"mutable","name":"_amount0","nameLocation":"2032:8:60","nodeType":"VariableDeclaration","scope":10650,"src":"2025:15:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":10645,"name":"int128","nodeType":"ElementaryTypeName","src":"2025:6:60","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"2024:17:60"},"scope":10661,"src":"1958:183:60","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10659,"nodeType":"Block","src":"2231:105:60","statements":[{"AST":{"nativeSrc":"2266:64:60","nodeType":"YulBlock","src":"2266:64:60","statements":[{"nativeSrc":"2280:40:60","nodeType":"YulAssignment","src":"2280:40:60","value":{"arguments":[{"kind":"number","nativeSrc":"2303:2:60","nodeType":"YulLiteral","src":"2303:2:60","type":"","value":"15"},{"name":"balanceDelta","nativeSrc":"2307:12:60","nodeType":"YulIdentifier","src":"2307:12:60"}],"functionName":{"name":"signextend","nativeSrc":"2292:10:60","nodeType":"YulIdentifier","src":"2292:10:60"},"nativeSrc":"2292:28:60","nodeType":"YulFunctionCall","src":"2292:28:60"},"variableNames":[{"name":"_amount1","nativeSrc":"2280:8:60","nodeType":"YulIdentifier","src":"2280:8:60"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10656,"isOffset":false,"isSlot":false,"src":"2280:8:60","valueSize":1},{"declaration":10653,"isOffset":false,"isSlot":false,"src":"2307:12:60","valueSize":1}],"flags":["memory-safe"],"id":10658,"nodeType":"InlineAssembly","src":"2241:89:60"}]},"id":10660,"implemented":true,"kind":"function","modifiers":[],"name":"amount1","nameLocation":"2156:7:60","nodeType":"FunctionDefinition","parameters":{"id":10654,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10653,"mutability":"mutable","name":"balanceDelta","nameLocation":"2177:12:60","nodeType":"VariableDeclaration","scope":10660,"src":"2164:25:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":10652,"nodeType":"UserDefinedTypeName","pathNode":{"id":10651,"name":"BalanceDelta","nameLocations":["2164:12:60"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"2164:12:60"},"referencedDeclaration":10503,"src":"2164:12:60","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"2163:27:60"},"returnParameters":{"id":10657,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10656,"mutability":"mutable","name":"_amount1","nameLocation":"2221:8:60","nodeType":"VariableDeclaration","scope":10660,"src":"2214:15:60","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":10655,"name":"int128","nodeType":"ElementaryTypeName","src":"2214:6:60","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"2213:17:60"},"scope":10661,"src":"2147:189:60","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":10662,"src":"1819:519:60","usedErrors":[],"usedEvents":[]}],"src":"32:2307:60"},"id":60},"@uniswap/v4-core/src/types/BeforeSwapDelta.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/types/BeforeSwapDelta.sol","exportedSymbols":{"BeforeSwapDelta":[10665],"BeforeSwapDeltaLibrary":[10709],"toBeforeSwapDelta":[10677]},"id":10710,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":10663,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:61"},{"canonicalName":"BeforeSwapDelta","id":10665,"name":"BeforeSwapDelta","nameLocation":"229:15:61","nodeType":"UserDefinedValueTypeDefinition","src":"224:31:61","underlyingType":{"id":10664,"name":"int256","nodeType":"ElementaryTypeName","src":"248:6:61","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}},{"body":{"id":10676,"nodeType":"Block","src":"447:140:61","statements":[{"AST":{"nativeSrc":"478:107:61","nodeType":"YulBlock","src":"478:107:61","statements":[{"nativeSrc":"488:91:61","nodeType":"YulAssignment","src":"488:91:61","value":{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"514:3:61","nodeType":"YulLiteral","src":"514:3:61","type":"","value":"128"},{"name":"deltaSpecified","nativeSrc":"519:14:61","nodeType":"YulIdentifier","src":"519:14:61"}],"functionName":{"name":"shl","nativeSrc":"510:3:61","nodeType":"YulIdentifier","src":"510:3:61"},"nativeSrc":"510:24:61","nodeType":"YulFunctionCall","src":"510:24:61"},{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"548:3:61","nodeType":"YulLiteral","src":"548:3:61","type":"","value":"128"},{"kind":"number","nativeSrc":"553:1:61","nodeType":"YulLiteral","src":"553:1:61","type":"","value":"1"}],"functionName":{"name":"shl","nativeSrc":"544:3:61","nodeType":"YulIdentifier","src":"544:3:61"},"nativeSrc":"544:11:61","nodeType":"YulFunctionCall","src":"544:11:61"},{"kind":"number","nativeSrc":"557:1:61","nodeType":"YulLiteral","src":"557:1:61","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"540:3:61","nodeType":"YulIdentifier","src":"540:3:61"},"nativeSrc":"540:19:61","nodeType":"YulFunctionCall","src":"540:19:61"},{"name":"deltaUnspecified","nativeSrc":"561:16:61","nodeType":"YulIdentifier","src":"561:16:61"}],"functionName":{"name":"and","nativeSrc":"536:3:61","nodeType":"YulIdentifier","src":"536:3:61"},"nativeSrc":"536:42:61","nodeType":"YulFunctionCall","src":"536:42:61"}],"functionName":{"name":"or","nativeSrc":"507:2:61","nodeType":"YulIdentifier","src":"507:2:61"},"nativeSrc":"507:72:61","nodeType":"YulFunctionCall","src":"507:72:61"},"variableNames":[{"name":"beforeSwapDelta","nativeSrc":"488:15:61","nodeType":"YulIdentifier","src":"488:15:61"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10673,"isOffset":false,"isSlot":false,"src":"488:15:61","valueSize":1},{"declaration":10667,"isOffset":false,"isSlot":false,"src":"519:14:61","valueSize":1},{"declaration":10669,"isOffset":false,"isSlot":false,"src":"561:16:61","valueSize":1}],"flags":["memory-safe"],"id":10675,"nodeType":"InlineAssembly","src":"453:132:61"}]},"id":10677,"implemented":true,"kind":"freeFunction","modifiers":[],"name":"toBeforeSwapDelta","nameLocation":"326:17:61","nodeType":"FunctionDefinition","parameters":{"id":10670,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10667,"mutability":"mutable","name":"deltaSpecified","nameLocation":"351:14:61","nodeType":"VariableDeclaration","scope":10677,"src":"344:21:61","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":10666,"name":"int128","nodeType":"ElementaryTypeName","src":"344:6:61","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":10669,"mutability":"mutable","name":"deltaUnspecified","nameLocation":"374:16:61","nodeType":"VariableDeclaration","scope":10677,"src":"367:23:61","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":10668,"name":"int128","nodeType":"ElementaryTypeName","src":"367:6:61","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"343:48:61"},"returnParameters":{"id":10674,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10673,"mutability":"mutable","name":"beforeSwapDelta","nameLocation":"430:15:61","nodeType":"VariableDeclaration","scope":10677,"src":"414:31:61","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"},"typeName":{"id":10672,"nodeType":"UserDefinedTypeName","pathNode":{"id":10671,"name":"BeforeSwapDelta","nameLocations":["414:15:61"],"nodeType":"IdentifierPath","referencedDeclaration":10665,"src":"414:15:61"},"referencedDeclaration":10665,"src":"414:15:61","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"visibility":"internal"}],"src":"413:33:61"},"scope":10710,"src":"317:270:61","stateMutability":"pure","virtual":false,"visibility":"internal"},{"abstract":false,"baseContracts":[],"canonicalName":"BeforeSwapDeltaLibrary","contractDependencies":[],"contractKind":"library","documentation":{"id":10678,"nodeType":"StructuredDocumentation","src":"589:99:61","text":"@notice Library for getting the specified and unspecified deltas from the BeforeSwapDelta type"},"fullyImplemented":true,"id":10709,"linearizedBaseContracts":[10709],"name":"BeforeSwapDeltaLibrary","nameLocation":"696:22:61","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":10679,"nodeType":"StructuredDocumentation","src":"725:34:61","text":"@notice A BeforeSwapDelta of 0"},"functionSelector":"91cb4669","id":10686,"mutability":"constant","name":"ZERO_DELTA","nameLocation":"796:10:61","nodeType":"VariableDeclaration","scope":10709,"src":"764:68:61","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"},"typeName":{"id":10681,"nodeType":"UserDefinedTypeName","pathNode":{"id":10680,"name":"BeforeSwapDelta","nameLocations":["764:15:61"],"nodeType":"IdentifierPath","referencedDeclaration":10665,"src":"764:15:61"},"referencedDeclaration":10665,"src":"764:15:61","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"value":{"arguments":[{"hexValue":"30","id":10684,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"830:1:61","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"id":10682,"name":"BeforeSwapDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10665,"src":"809:15:61","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$","typeString":"type(BeforeSwapDelta)"}},"id":10683,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"825:4:61","memberName":"wrap","nodeType":"MemberAccess","src":"809:20:61","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_int256_$returns$_t_userDefinedValueType$_BeforeSwapDelta_$10665_$","typeString":"function (int256) pure returns (BeforeSwapDelta)"}},"id":10685,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"809:23:61","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"visibility":"public"},{"body":{"id":10696,"nodeType":"Block","src":"1037:98:61","statements":[{"AST":{"nativeSrc":"1072:57:61","nodeType":"YulBlock","src":"1072:57:61","statements":[{"nativeSrc":"1086:33:61","nodeType":"YulAssignment","src":"1086:33:61","value":{"arguments":[{"kind":"number","nativeSrc":"1108:3:61","nodeType":"YulLiteral","src":"1108:3:61","type":"","value":"128"},{"name":"delta","nativeSrc":"1113:5:61","nodeType":"YulIdentifier","src":"1113:5:61"}],"functionName":{"name":"sar","nativeSrc":"1104:3:61","nodeType":"YulIdentifier","src":"1104:3:61"},"nativeSrc":"1104:15:61","nodeType":"YulFunctionCall","src":"1104:15:61"},"variableNames":[{"name":"deltaSpecified","nativeSrc":"1086:14:61","nodeType":"YulIdentifier","src":"1086:14:61"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10690,"isOffset":false,"isSlot":false,"src":"1113:5:61","valueSize":1},{"declaration":10693,"isOffset":false,"isSlot":false,"src":"1086:14:61","valueSize":1}],"flags":["memory-safe"],"id":10695,"nodeType":"InlineAssembly","src":"1047:82:61"}]},"documentation":{"id":10687,"nodeType":"StructuredDocumentation","src":"839:97:61","text":"extracts int128 from the upper 128 bits of the BeforeSwapDelta\n returned by beforeSwap"},"id":10697,"implemented":true,"kind":"function","modifiers":[],"name":"getSpecifiedDelta","nameLocation":"950:17:61","nodeType":"FunctionDefinition","parameters":{"id":10691,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10690,"mutability":"mutable","name":"delta","nameLocation":"984:5:61","nodeType":"VariableDeclaration","scope":10697,"src":"968:21:61","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"},"typeName":{"id":10689,"nodeType":"UserDefinedTypeName","pathNode":{"id":10688,"name":"BeforeSwapDelta","nameLocations":["968:15:61"],"nodeType":"IdentifierPath","referencedDeclaration":10665,"src":"968:15:61"},"referencedDeclaration":10665,"src":"968:15:61","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"visibility":"internal"}],"src":"967:23:61"},"returnParameters":{"id":10694,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10693,"mutability":"mutable","name":"deltaSpecified","nameLocation":"1021:14:61","nodeType":"VariableDeclaration","scope":10697,"src":"1014:21:61","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":10692,"name":"int128","nodeType":"ElementaryTypeName","src":"1014:6:61","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"1013:23:61"},"scope":10709,"src":"941:194:61","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10707,"nodeType":"Block","src":"1357:106:61","statements":[{"AST":{"nativeSrc":"1392:65:61","nodeType":"YulBlock","src":"1392:65:61","statements":[{"nativeSrc":"1406:41:61","nodeType":"YulAssignment","src":"1406:41:61","value":{"arguments":[{"kind":"number","nativeSrc":"1437:2:61","nodeType":"YulLiteral","src":"1437:2:61","type":"","value":"15"},{"name":"delta","nativeSrc":"1441:5:61","nodeType":"YulIdentifier","src":"1441:5:61"}],"functionName":{"name":"signextend","nativeSrc":"1426:10:61","nodeType":"YulIdentifier","src":"1426:10:61"},"nativeSrc":"1426:21:61","nodeType":"YulFunctionCall","src":"1426:21:61"},"variableNames":[{"name":"deltaUnspecified","nativeSrc":"1406:16:61","nodeType":"YulIdentifier","src":"1406:16:61"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10701,"isOffset":false,"isSlot":false,"src":"1441:5:61","valueSize":1},{"declaration":10704,"isOffset":false,"isSlot":false,"src":"1406:16:61","valueSize":1}],"flags":["memory-safe"],"id":10706,"nodeType":"InlineAssembly","src":"1367:90:61"}]},"documentation":{"id":10698,"nodeType":"StructuredDocumentation","src":"1141:111:61","text":"extracts int128 from the lower 128 bits of the BeforeSwapDelta\n returned by beforeSwap and afterSwap"},"id":10708,"implemented":true,"kind":"function","modifiers":[],"name":"getUnspecifiedDelta","nameLocation":"1266:19:61","nodeType":"FunctionDefinition","parameters":{"id":10702,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10701,"mutability":"mutable","name":"delta","nameLocation":"1302:5:61","nodeType":"VariableDeclaration","scope":10708,"src":"1286:21:61","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"},"typeName":{"id":10700,"nodeType":"UserDefinedTypeName","pathNode":{"id":10699,"name":"BeforeSwapDelta","nameLocations":["1286:15:61"],"nodeType":"IdentifierPath","referencedDeclaration":10665,"src":"1286:15:61"},"referencedDeclaration":10665,"src":"1286:15:61","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BeforeSwapDelta_$10665","typeString":"BeforeSwapDelta"}},"visibility":"internal"}],"src":"1285:23:61"},"returnParameters":{"id":10705,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10704,"mutability":"mutable","name":"deltaUnspecified","nameLocation":"1339:16:61","nodeType":"VariableDeclaration","scope":10708,"src":"1332:23:61","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":10703,"name":"int128","nodeType":"ElementaryTypeName","src":"1332:6:61","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"1331:25:61"},"scope":10709,"src":"1257:206:61","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":10710,"src":"688:777:61","usedErrors":[],"usedEvents":[]}],"src":"32:1434:61"},"id":61},"@uniswap/v4-core/src/types/Currency.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","exportedSymbols":{"Currency":[10717],"CurrencyLibrary":[11011],"CustomRevert":[4451],"IERC20Minimal":[4078],"equals":[10750],"greaterThan":[10772],"greaterThanOrEqualTo":[10816],"lessThan":[10794]},"id":11012,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":10711,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:62"},{"absolutePath":"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol","file":"../interfaces/external/IERC20Minimal.sol","id":10713,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":11012,"sourceUnit":4079,"src":"57:71:62","symbolAliases":[{"foreign":{"id":10712,"name":"IERC20Minimal","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4078,"src":"65:13:62","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/CustomRevert.sol","file":"../libraries/CustomRevert.sol","id":10715,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":11012,"sourceUnit":4452,"src":"129:59:62","symbolAliases":[{"foreign":{"id":10714,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"137:12:62","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"canonicalName":"Currency","id":10717,"name":"Currency","nameLocation":"195:8:62","nodeType":"UserDefinedValueTypeDefinition","src":"190:25:62","underlyingType":{"id":10716,"name":"address","nodeType":"ElementaryTypeName","src":"207:7:62","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}},{"functionList":[{"definition":{"id":10718,"name":"greaterThan","nameLocations":["224:11:62"],"nodeType":"IdentifierPath","referencedDeclaration":10772,"src":"224:11:62"},"operator":">"},{"definition":{"id":10719,"name":"lessThan","nameLocations":["242:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10794,"src":"242:8:62"},"operator":"<"},{"definition":{"id":10720,"name":"greaterThanOrEqualTo","nameLocations":["257:20:62"],"nodeType":"IdentifierPath","referencedDeclaration":10816,"src":"257:20:62"},"operator":">="},{"definition":{"id":10721,"name":"equals","nameLocations":["285:6:62"],"nodeType":"IdentifierPath","referencedDeclaration":10750,"src":"285:6:62"},"operator":"=="}],"global":true,"id":10724,"nodeType":"UsingForDirective","src":"217:102:62","typeName":{"id":10723,"nodeType":"UserDefinedTypeName","pathNode":{"id":10722,"name":"Currency","nameLocations":["303:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"303:8:62"},"referencedDeclaration":10717,"src":"303:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}},{"global":true,"id":10728,"libraryName":{"id":10725,"name":"CurrencyLibrary","nameLocations":["326:15:62"],"nodeType":"IdentifierPath","referencedDeclaration":11011,"src":"326:15:62"},"nodeType":"UsingForDirective","src":"320:42:62","typeName":{"id":10727,"nodeType":"UserDefinedTypeName","pathNode":{"id":10726,"name":"Currency","nameLocations":["346:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"346:8:62"},"referencedDeclaration":10717,"src":"346:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}},{"body":{"id":10749,"nodeType":"Block","src":"435:67:62","statements":[{"expression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":10747,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":10741,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10731,"src":"464:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10739,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"448:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10740,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"457:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"448:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10742,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"448:25:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"id":10745,"name":"other","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10734,"src":"493:5:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10743,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"477:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10744,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"486:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"477:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10746,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"477:22:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"448:51:62","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":10738,"id":10748,"nodeType":"Return","src":"441:58:62"}]},"id":10750,"implemented":true,"kind":"freeFunction","modifiers":[],"name":"equals","nameLocation":"373:6:62","nodeType":"FunctionDefinition","parameters":{"id":10735,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10731,"mutability":"mutable","name":"currency","nameLocation":"389:8:62","nodeType":"VariableDeclaration","scope":10750,"src":"380:17:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10730,"nodeType":"UserDefinedTypeName","pathNode":{"id":10729,"name":"Currency","nameLocations":["380:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"380:8:62"},"referencedDeclaration":10717,"src":"380:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":10734,"mutability":"mutable","name":"other","nameLocation":"408:5:62","nodeType":"VariableDeclaration","scope":10750,"src":"399:14:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10733,"nodeType":"UserDefinedTypeName","pathNode":{"id":10732,"name":"Currency","nameLocations":["399:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"399:8:62"},"referencedDeclaration":10717,"src":"399:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"379:35:62"},"returnParameters":{"id":10738,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10737,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10750,"src":"429:4:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":10736,"name":"bool","nodeType":"ElementaryTypeName","src":"429:4:62","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"428:6:62"},"scope":11012,"src":"364:138:62","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10771,"nodeType":"Block","src":"580:66:62","statements":[{"expression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":10769,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":10763,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10753,"src":"609:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10761,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"593:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10762,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"602:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"593:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10764,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"593:25:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"arguments":[{"id":10767,"name":"other","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10756,"src":"637:5:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10765,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"621:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10766,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"630:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"621:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10768,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"621:22:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"593:50:62","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":10760,"id":10770,"nodeType":"Return","src":"586:57:62"}]},"id":10772,"implemented":true,"kind":"freeFunction","modifiers":[],"name":"greaterThan","nameLocation":"513:11:62","nodeType":"FunctionDefinition","parameters":{"id":10757,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10753,"mutability":"mutable","name":"currency","nameLocation":"534:8:62","nodeType":"VariableDeclaration","scope":10772,"src":"525:17:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10752,"nodeType":"UserDefinedTypeName","pathNode":{"id":10751,"name":"Currency","nameLocations":["525:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"525:8:62"},"referencedDeclaration":10717,"src":"525:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":10756,"mutability":"mutable","name":"other","nameLocation":"553:5:62","nodeType":"VariableDeclaration","scope":10772,"src":"544:14:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10755,"nodeType":"UserDefinedTypeName","pathNode":{"id":10754,"name":"Currency","nameLocations":["544:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"544:8:62"},"referencedDeclaration":10717,"src":"544:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"524:35:62"},"returnParameters":{"id":10760,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10759,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10772,"src":"574:4:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":10758,"name":"bool","nodeType":"ElementaryTypeName","src":"574:4:62","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"573:6:62"},"scope":11012,"src":"504:142:62","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10793,"nodeType":"Block","src":"721:66:62","statements":[{"expression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":10791,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":10785,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10775,"src":"750:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10783,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"734:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10784,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"743:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"734:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10786,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"734:25:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"arguments":[{"id":10789,"name":"other","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10778,"src":"778:5:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10787,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"762:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10788,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"771:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"762:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10790,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"762:22:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"734:50:62","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":10782,"id":10792,"nodeType":"Return","src":"727:57:62"}]},"id":10794,"implemented":true,"kind":"freeFunction","modifiers":[],"name":"lessThan","nameLocation":"657:8:62","nodeType":"FunctionDefinition","parameters":{"id":10779,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10775,"mutability":"mutable","name":"currency","nameLocation":"675:8:62","nodeType":"VariableDeclaration","scope":10794,"src":"666:17:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10774,"nodeType":"UserDefinedTypeName","pathNode":{"id":10773,"name":"Currency","nameLocations":["666:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"666:8:62"},"referencedDeclaration":10717,"src":"666:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":10778,"mutability":"mutable","name":"other","nameLocation":"694:5:62","nodeType":"VariableDeclaration","scope":10794,"src":"685:14:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10777,"nodeType":"UserDefinedTypeName","pathNode":{"id":10776,"name":"Currency","nameLocations":["685:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"685:8:62"},"referencedDeclaration":10717,"src":"685:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"665:35:62"},"returnParameters":{"id":10782,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10781,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10794,"src":"715:4:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":10780,"name":"bool","nodeType":"ElementaryTypeName","src":"715:4:62","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"714:6:62"},"scope":11012,"src":"648:139:62","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10815,"nodeType":"Block","src":"874:67:62","statements":[{"expression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":10813,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":10807,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10797,"src":"903:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10805,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"887:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10806,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"896:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"887:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10808,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"887:25:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"arguments":[{"id":10811,"name":"other","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10800,"src":"932:5:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10809,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"916:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10810,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"925:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"916:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10812,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"916:22:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"887:51:62","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":10804,"id":10814,"nodeType":"Return","src":"880:58:62"}]},"id":10816,"implemented":true,"kind":"freeFunction","modifiers":[],"name":"greaterThanOrEqualTo","nameLocation":"798:20:62","nodeType":"FunctionDefinition","parameters":{"id":10801,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10797,"mutability":"mutable","name":"currency","nameLocation":"828:8:62","nodeType":"VariableDeclaration","scope":10816,"src":"819:17:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10796,"nodeType":"UserDefinedTypeName","pathNode":{"id":10795,"name":"Currency","nameLocations":["819:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"819:8:62"},"referencedDeclaration":10717,"src":"819:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":10800,"mutability":"mutable","name":"other","nameLocation":"847:5:62","nodeType":"VariableDeclaration","scope":10816,"src":"838:14:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10799,"nodeType":"UserDefinedTypeName","pathNode":{"id":10798,"name":"Currency","nameLocations":["838:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"838:8:62"},"referencedDeclaration":10717,"src":"838:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"818:35:62"},"returnParameters":{"id":10804,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10803,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10816,"src":"868:4:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":10802,"name":"bool","nodeType":"ElementaryTypeName","src":"868:4:62","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"867:6:62"},"scope":11012,"src":"789:152:62","stateMutability":"pure","virtual":false,"visibility":"internal"},{"abstract":false,"baseContracts":[],"canonicalName":"CurrencyLibrary","contractDependencies":[],"contractKind":"library","documentation":{"id":10817,"nodeType":"StructuredDocumentation","src":"943:116:62","text":"@title CurrencyLibrary\n @dev This library allows for transferring and holding native tokens and ERC20 tokens"},"fullyImplemented":true,"id":11011,"linearizedBaseContracts":[11011],"name":"CurrencyLibrary","nameLocation":"1067:15:62","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":10818,"nodeType":"StructuredDocumentation","src":"1089:86:62","text":"@notice Additional context for ERC-7751 wrapped error when a native transfer fails"},"errorSelector":"f4b3b1bc","id":10820,"name":"NativeTransferFailed","nameLocation":"1186:20:62","nodeType":"ErrorDefinition","parameters":{"id":10819,"nodeType":"ParameterList","parameters":[],"src":"1206:2:62"},"src":"1180:29:62"},{"documentation":{"id":10821,"nodeType":"StructuredDocumentation","src":"1215:86:62","text":"@notice Additional context for ERC-7751 wrapped error when an ERC20 transfer fails"},"errorSelector":"f27f64e4","id":10823,"name":"ERC20TransferFailed","nameLocation":"1312:19:62","nodeType":"ErrorDefinition","parameters":{"id":10822,"nodeType":"ParameterList","parameters":[],"src":"1331:2:62"},"src":"1306:28:62"},{"constant":true,"documentation":{"id":10824,"nodeType":"StructuredDocumentation","src":"1340:55:62","text":"@notice A constant to represent the native currency"},"functionSelector":"66e79509","id":10834,"mutability":"constant","name":"ADDRESS_ZERO","nameLocation":"1425:12:62","nodeType":"VariableDeclaration","scope":11011,"src":"1400:65:62","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10826,"nodeType":"UserDefinedTypeName","pathNode":{"id":10825,"name":"Currency","nameLocations":["1400:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1400:8:62"},"referencedDeclaration":10717,"src":"1400:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"value":{"arguments":[{"arguments":[{"hexValue":"30","id":10831,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1462:1:62","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":10830,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1454:7:62","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":10829,"name":"address","nodeType":"ElementaryTypeName","src":"1454:7:62","typeDescriptions":{}}},"id":10832,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1454:10:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":10827,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"1440:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10828,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1449:4:62","memberName":"wrap","nodeType":"MemberAccess","src":"1440:13:62","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_address_$returns$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (address) pure returns (Currency)"}},"id":10833,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1440:25:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"public"},{"body":{"id":10889,"nodeType":"Block","src":"1546:2799:62","statements":[{"assignments":[10845],"declarations":[{"constant":false,"id":10845,"mutability":"mutable","name":"success","nameLocation":"1748:7:62","nodeType":"VariableDeclaration","scope":10889,"src":"1743:12:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":10844,"name":"bool","nodeType":"ElementaryTypeName","src":"1743:4:62","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":10846,"nodeType":"VariableDeclarationStatement","src":"1743:12:62"},{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":10847,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10837,"src":"1769:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":10848,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1778:13:62","memberName":"isAddressZero","nodeType":"MemberAccess","referencedDeclaration":10973,"src":"1769:22:62","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_bool_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) pure returns (bool)"}},"id":10849,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1769:24:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":10887,"nodeType":"Block","src":"2224:2115:62","statements":[{"AST":{"nativeSrc":"2263:1749:62","nodeType":"YulBlock","src":"2263:1749:62","statements":[{"nativeSrc":"2335:22:62","nodeType":"YulVariableDeclaration","src":"2335:22:62","value":{"arguments":[{"kind":"number","nativeSrc":"2352:4:62","nodeType":"YulLiteral","src":"2352:4:62","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"2346:5:62","nodeType":"YulIdentifier","src":"2346:5:62"},"nativeSrc":"2346:11:62","nodeType":"YulFunctionCall","src":"2346:11:62"},"variables":[{"name":"fmp","nativeSrc":"2339:3:62","nodeType":"YulTypedName","src":"2339:3:62","type":""}]},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"2483:3:62","nodeType":"YulIdentifier","src":"2483:3:62"},{"kind":"number","nativeSrc":"2488:66:62","nodeType":"YulLiteral","src":"2488:66:62","type":"","value":"0xa9059cbb00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"mstore","nativeSrc":"2476:6:62","nodeType":"YulIdentifier","src":"2476:6:62"},"nativeSrc":"2476:79:62","nodeType":"YulFunctionCall","src":"2476:79:62"},"nativeSrc":"2476:79:62","nodeType":"YulExpressionStatement","src":"2476:79:62"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2583:3:62","nodeType":"YulIdentifier","src":"2583:3:62"},{"kind":"number","nativeSrc":"2588:1:62","nodeType":"YulLiteral","src":"2588:1:62","type":"","value":"4"}],"functionName":{"name":"add","nativeSrc":"2579:3:62","nodeType":"YulIdentifier","src":"2579:3:62"},"nativeSrc":"2579:11:62","nodeType":"YulFunctionCall","src":"2579:11:62"},{"arguments":[{"name":"to","nativeSrc":"2596:2:62","nodeType":"YulIdentifier","src":"2596:2:62"},{"kind":"number","nativeSrc":"2600:42:62","nodeType":"YulLiteral","src":"2600:42:62","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"2592:3:62","nodeType":"YulIdentifier","src":"2592:3:62"},"nativeSrc":"2592:51:62","nodeType":"YulFunctionCall","src":"2592:51:62"}],"functionName":{"name":"mstore","nativeSrc":"2572:6:62","nodeType":"YulIdentifier","src":"2572:6:62"},"nativeSrc":"2572:72:62","nodeType":"YulFunctionCall","src":"2572:72:62"},"nativeSrc":"2572:72:62","nodeType":"YulExpressionStatement","src":"2572:72:62"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2710:3:62","nodeType":"YulIdentifier","src":"2710:3:62"},{"kind":"number","nativeSrc":"2715:2:62","nodeType":"YulLiteral","src":"2715:2:62","type":"","value":"36"}],"functionName":{"name":"add","nativeSrc":"2706:3:62","nodeType":"YulIdentifier","src":"2706:3:62"},"nativeSrc":"2706:12:62","nodeType":"YulFunctionCall","src":"2706:12:62"},{"name":"amount","nativeSrc":"2720:6:62","nodeType":"YulIdentifier","src":"2720:6:62"}],"functionName":{"name":"mstore","nativeSrc":"2699:6:62","nodeType":"YulIdentifier","src":"2699:6:62"},"nativeSrc":"2699:28:62","nodeType":"YulFunctionCall","src":"2699:28:62"},"nativeSrc":"2699:28:62","nodeType":"YulExpressionStatement","src":"2699:28:62"},{"nativeSrc":"2828:846:62","nodeType":"YulAssignment","src":"2828:846:62","value":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"3099:1:62","nodeType":"YulLiteral","src":"3099:1:62","type":"","value":"0"}],"functionName":{"name":"mload","nativeSrc":"3093:5:62","nodeType":"YulIdentifier","src":"3093:5:62"},"nativeSrc":"3093:8:62","nodeType":"YulFunctionCall","src":"3093:8:62"},{"kind":"number","nativeSrc":"3103:1:62","nodeType":"YulLiteral","src":"3103:1:62","type":"","value":"1"}],"functionName":{"name":"eq","nativeSrc":"3090:2:62","nodeType":"YulIdentifier","src":"3090:2:62"},"nativeSrc":"3090:15:62","nodeType":"YulFunctionCall","src":"3090:15:62"},{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"3110:14:62","nodeType":"YulIdentifier","src":"3110:14:62"},"nativeSrc":"3110:16:62","nodeType":"YulFunctionCall","src":"3110:16:62"},{"kind":"number","nativeSrc":"3128:2:62","nodeType":"YulLiteral","src":"3128:2:62","type":"","value":"31"}],"functionName":{"name":"gt","nativeSrc":"3107:2:62","nodeType":"YulIdentifier","src":"3107:2:62"},"nativeSrc":"3107:24:62","nodeType":"YulFunctionCall","src":"3107:24:62"}],"functionName":{"name":"and","nativeSrc":"3086:3:62","nodeType":"YulIdentifier","src":"3086:3:62"},"nativeSrc":"3086:46:62","nodeType":"YulFunctionCall","src":"3086:46:62"},{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"3141:14:62","nodeType":"YulIdentifier","src":"3141:14:62"},"nativeSrc":"3141:16:62","nodeType":"YulFunctionCall","src":"3141:16:62"}],"functionName":{"name":"iszero","nativeSrc":"3134:6:62","nodeType":"YulIdentifier","src":"3134:6:62"},"nativeSrc":"3134:24:62","nodeType":"YulFunctionCall","src":"3134:24:62"}],"functionName":{"name":"or","nativeSrc":"3083:2:62","nodeType":"YulIdentifier","src":"3083:2:62"},"nativeSrc":"3083:76:62","nodeType":"YulFunctionCall","src":"3083:76:62"},{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"3617:3:62","nodeType":"YulIdentifier","src":"3617:3:62"},"nativeSrc":"3617:5:62","nodeType":"YulFunctionCall","src":"3617:5:62"},{"name":"currency","nativeSrc":"3624:8:62","nodeType":"YulIdentifier","src":"3624:8:62"},{"kind":"number","nativeSrc":"3634:1:62","nodeType":"YulLiteral","src":"3634:1:62","type":"","value":"0"},{"name":"fmp","nativeSrc":"3637:3:62","nodeType":"YulIdentifier","src":"3637:3:62"},{"kind":"number","nativeSrc":"3642:2:62","nodeType":"YulLiteral","src":"3642:2:62","type":"","value":"68"},{"kind":"number","nativeSrc":"3646:1:62","nodeType":"YulLiteral","src":"3646:1:62","type":"","value":"0"},{"kind":"number","nativeSrc":"3649:2:62","nodeType":"YulLiteral","src":"3649:2:62","type":"","value":"32"}],"functionName":{"name":"call","nativeSrc":"3612:4:62","nodeType":"YulIdentifier","src":"3612:4:62"},"nativeSrc":"3612:40:62","nodeType":"YulFunctionCall","src":"3612:40:62"}],"functionName":{"name":"and","nativeSrc":"2859:3:62","nodeType":"YulIdentifier","src":"2859:3:62"},"nativeSrc":"2859:815:62","nodeType":"YulFunctionCall","src":"2859:815:62"},"variableNames":[{"name":"success","nativeSrc":"2828:7:62","nodeType":"YulIdentifier","src":"2828:7:62"}]},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"3747:3:62","nodeType":"YulIdentifier","src":"3747:3:62"},{"kind":"number","nativeSrc":"3752:1:62","nodeType":"YulLiteral","src":"3752:1:62","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"3740:6:62","nodeType":"YulIdentifier","src":"3740:6:62"},"nativeSrc":"3740:14:62","nodeType":"YulFunctionCall","src":"3740:14:62"},"nativeSrc":"3740:14:62","nodeType":"YulExpressionStatement","src":"3740:14:62"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"3841:3:62","nodeType":"YulIdentifier","src":"3841:3:62"},{"kind":"number","nativeSrc":"3846:4:62","nodeType":"YulLiteral","src":"3846:4:62","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"3837:3:62","nodeType":"YulIdentifier","src":"3837:3:62"},"nativeSrc":"3837:14:62","nodeType":"YulFunctionCall","src":"3837:14:62"},{"kind":"number","nativeSrc":"3853:1:62","nodeType":"YulLiteral","src":"3853:1:62","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"3830:6:62","nodeType":"YulIdentifier","src":"3830:6:62"},"nativeSrc":"3830:25:62","nodeType":"YulFunctionCall","src":"3830:25:62"},"nativeSrc":"3830:25:62","nodeType":"YulExpressionStatement","src":"3830:25:62"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"3944:3:62","nodeType":"YulIdentifier","src":"3944:3:62"},{"kind":"number","nativeSrc":"3949:4:62","nodeType":"YulLiteral","src":"3949:4:62","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"3940:3:62","nodeType":"YulIdentifier","src":"3940:3:62"},"nativeSrc":"3940:14:62","nodeType":"YulFunctionCall","src":"3940:14:62"},{"kind":"number","nativeSrc":"3956:1:62","nodeType":"YulLiteral","src":"3956:1:62","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"3933:6:62","nodeType":"YulIdentifier","src":"3933:6:62"},"nativeSrc":"3933:25:62","nodeType":"YulFunctionCall","src":"3933:25:62"},"nativeSrc":"3933:25:62","nodeType":"YulExpressionStatement","src":"3933:25:62"}]},"evmVersion":"cancun","externalReferences":[{"declaration":10841,"isOffset":false,"isSlot":false,"src":"2720:6:62","valueSize":1},{"declaration":10837,"isOffset":false,"isSlot":false,"src":"3624:8:62","valueSize":1},{"declaration":10845,"isOffset":false,"isSlot":false,"src":"2828:7:62","valueSize":1},{"declaration":10839,"isOffset":false,"isSlot":false,"src":"2596:2:62","valueSize":1}],"flags":["memory-safe"],"id":10868,"nodeType":"InlineAssembly","src":"2238:1774:62"},{"condition":{"id":10870,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"4124:8:62","subExpression":{"id":10869,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10845,"src":"4125:7:62","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10886,"nodeType":"IfStatement","src":"4120:209:62","trueBody":{"id":10885,"nodeType":"Block","src":"4134:195:62","statements":[{"expression":{"arguments":[{"arguments":[{"id":10876,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10837,"src":"4224:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10874,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"4208:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10875,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4217:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"4208:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10877,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4208:25:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"expression":{"id":10878,"name":"IERC20Minimal","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4078,"src":"4235:13:62","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Minimal_$4078_$","typeString":"type(contract IERC20Minimal)"}},"id":10879,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4249:8:62","memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":4027,"src":"4235:22:62","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function IERC20Minimal.transfer(address,uint256) returns (bool)"}},"id":10880,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4258:8:62","memberName":"selector","nodeType":"MemberAccess","src":"4235:31:62","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"expression":{"id":10881,"name":"ERC20TransferFailed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10823,"src":"4268:19:62","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":10882,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4288:8:62","memberName":"selector","nodeType":"MemberAccess","src":"4268:28:62","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes4","typeString":"bytes4"},{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":10871,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"4152:12:62","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CustomRevert_$4451_$","typeString":"type(library CustomRevert)"}},"id":10873,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4165:21:62","memberName":"bubbleUpAndRevertWith","nodeType":"MemberAccess","referencedDeclaration":4450,"src":"4152:34:62","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_bytes4_$_t_bytes4_$returns$__$","typeString":"function (address,bytes4,bytes4) pure"}},"id":10883,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4152:162:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10884,"nodeType":"ExpressionStatement","src":"4152:162:62"}]}}]},"id":10888,"nodeType":"IfStatement","src":"1765:2574:62","trueBody":{"id":10867,"nodeType":"Block","src":"1795:423:62","statements":[{"AST":{"nativeSrc":"1834:138:62","nodeType":"YulBlock","src":"1834:138:62","statements":[{"nativeSrc":"1912:46:62","nodeType":"YulAssignment","src":"1912:46:62","value":{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"1928:3:62","nodeType":"YulIdentifier","src":"1928:3:62"},"nativeSrc":"1928:5:62","nodeType":"YulFunctionCall","src":"1928:5:62"},{"name":"to","nativeSrc":"1935:2:62","nodeType":"YulIdentifier","src":"1935:2:62"},{"name":"amount","nativeSrc":"1939:6:62","nodeType":"YulIdentifier","src":"1939:6:62"},{"kind":"number","nativeSrc":"1947:1:62","nodeType":"YulLiteral","src":"1947:1:62","type":"","value":"0"},{"kind":"number","nativeSrc":"1950:1:62","nodeType":"YulLiteral","src":"1950:1:62","type":"","value":"0"},{"kind":"number","nativeSrc":"1953:1:62","nodeType":"YulLiteral","src":"1953:1:62","type":"","value":"0"},{"kind":"number","nativeSrc":"1956:1:62","nodeType":"YulLiteral","src":"1956:1:62","type":"","value":"0"}],"functionName":{"name":"call","nativeSrc":"1923:4:62","nodeType":"YulIdentifier","src":"1923:4:62"},"nativeSrc":"1923:35:62","nodeType":"YulFunctionCall","src":"1923:35:62"},"variableNames":[{"name":"success","nativeSrc":"1912:7:62","nodeType":"YulIdentifier","src":"1912:7:62"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":10841,"isOffset":false,"isSlot":false,"src":"1939:6:62","valueSize":1},{"declaration":10845,"isOffset":false,"isSlot":false,"src":"1912:7:62","valueSize":1},{"declaration":10839,"isOffset":false,"isSlot":false,"src":"1935:2:62","valueSize":1}],"flags":["memory-safe"],"id":10850,"nodeType":"InlineAssembly","src":"1809:163:62"},{"condition":{"id":10852,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"2085:8:62","subExpression":{"id":10851,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10845,"src":"2086:7:62","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10866,"nodeType":"IfStatement","src":"2081:127:62","trueBody":{"id":10865,"nodeType":"Block","src":"2095:113:62","statements":[{"expression":{"arguments":[{"id":10856,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10839,"src":"2148:2:62","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":10859,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2159:1:62","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":10858,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2152:6:62","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes4_$","typeString":"type(bytes4)"},"typeName":{"id":10857,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2152:6:62","typeDescriptions":{}}},"id":10860,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2152:9:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"expression":{"id":10861,"name":"NativeTransferFailed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10820,"src":"2163:20:62","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":10862,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2184:8:62","memberName":"selector","nodeType":"MemberAccess","src":"2163:29:62","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes4","typeString":"bytes4"},{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":10853,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"2113:12:62","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CustomRevert_$4451_$","typeString":"type(library CustomRevert)"}},"id":10855,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2126:21:62","memberName":"bubbleUpAndRevertWith","nodeType":"MemberAccess","referencedDeclaration":4450,"src":"2113:34:62","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_bytes4_$_t_bytes4_$returns$__$","typeString":"function (address,bytes4,bytes4) pure"}},"id":10863,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2113:80:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10864,"nodeType":"ExpressionStatement","src":"2113:80:62"}]}}]}}]},"id":10890,"implemented":true,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"1481:8:62","nodeType":"FunctionDefinition","parameters":{"id":10842,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10837,"mutability":"mutable","name":"currency","nameLocation":"1499:8:62","nodeType":"VariableDeclaration","scope":10890,"src":"1490:17:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10836,"nodeType":"UserDefinedTypeName","pathNode":{"id":10835,"name":"Currency","nameLocations":["1490:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1490:8:62"},"referencedDeclaration":10717,"src":"1490:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":10839,"mutability":"mutable","name":"to","nameLocation":"1517:2:62","nodeType":"VariableDeclaration","scope":10890,"src":"1509:10:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":10838,"name":"address","nodeType":"ElementaryTypeName","src":"1509:7:62","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":10841,"mutability":"mutable","name":"amount","nameLocation":"1529:6:62","nodeType":"VariableDeclaration","scope":10890,"src":"1521:14:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10840,"name":"uint256","nodeType":"ElementaryTypeName","src":"1521:7:62","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1489:47:62"},"returnParameters":{"id":10843,"nodeType":"ParameterList","parameters":[],"src":"1546:0:62"},"scope":11011,"src":"1472:2873:62","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":10923,"nodeType":"Block","src":"4425:202:62","statements":[{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":10898,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10893,"src":"4439:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":10899,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4448:13:62","memberName":"isAddressZero","nodeType":"MemberAccess","referencedDeclaration":10973,"src":"4439:22:62","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_bool_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) pure returns (bool)"}},"id":10900,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4439:24:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":10921,"nodeType":"Block","src":"4524:97:62","statements":[{"expression":{"arguments":[{"arguments":[{"id":10917,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"4604:4:62","typeDescriptions":{"typeIdentifier":"t_contract$_CurrencyLibrary_$11011","typeString":"library CurrencyLibrary"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_CurrencyLibrary_$11011","typeString":"library CurrencyLibrary"}],"id":10916,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4596:7:62","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":10915,"name":"address","nodeType":"ElementaryTypeName","src":"4596:7:62","typeDescriptions":{}}},"id":10918,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4596:13:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"arguments":[{"id":10911,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10893,"src":"4575:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10909,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"4559:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10910,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4568:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"4559:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10912,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4559:25:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":10908,"name":"IERC20Minimal","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4078,"src":"4545:13:62","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Minimal_$4078_$","typeString":"type(contract IERC20Minimal)"}},"id":10913,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4545:40:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Minimal_$4078","typeString":"contract IERC20Minimal"}},"id":10914,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4586:9:62","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":4017,"src":"4545:50:62","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":10919,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4545:65:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":10897,"id":10920,"nodeType":"Return","src":"4538:72:62"}]},"id":10922,"nodeType":"IfStatement","src":"4435:186:62","trueBody":{"id":10907,"nodeType":"Block","src":"4465:53:62","statements":[{"expression":{"expression":{"arguments":[{"id":10903,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"4494:4:62","typeDescriptions":{"typeIdentifier":"t_contract$_CurrencyLibrary_$11011","typeString":"library CurrencyLibrary"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_CurrencyLibrary_$11011","typeString":"library CurrencyLibrary"}],"id":10902,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4486:7:62","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":10901,"name":"address","nodeType":"ElementaryTypeName","src":"4486:7:62","typeDescriptions":{}}},"id":10904,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4486:13:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":10905,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4500:7:62","memberName":"balance","nodeType":"MemberAccess","src":"4486:21:62","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":10897,"id":10906,"nodeType":"Return","src":"4479:28:62"}]}}]},"id":10924,"implemented":true,"kind":"function","modifiers":[],"name":"balanceOfSelf","nameLocation":"4360:13:62","nodeType":"FunctionDefinition","parameters":{"id":10894,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10893,"mutability":"mutable","name":"currency","nameLocation":"4383:8:62","nodeType":"VariableDeclaration","scope":10924,"src":"4374:17:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10892,"nodeType":"UserDefinedTypeName","pathNode":{"id":10891,"name":"Currency","nameLocations":["4374:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"4374:8:62"},"referencedDeclaration":10717,"src":"4374:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"4373:19:62"},"returnParameters":{"id":10897,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10896,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10924,"src":"4416:7:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10895,"name":"uint256","nodeType":"ElementaryTypeName","src":"4416:7:62","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4415:9:62"},"scope":11011,"src":"4351:276:62","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":10953,"nodeType":"Block","src":"4718:186:62","statements":[{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":10934,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10927,"src":"4732:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":10935,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4741:13:62","memberName":"isAddressZero","nodeType":"MemberAccess","referencedDeclaration":10973,"src":"4732:22:62","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_bool_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) pure returns (bool)"}},"id":10936,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4732:24:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":10951,"nodeType":"Block","src":"4809:89:62","statements":[{"expression":{"arguments":[{"id":10948,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10929,"src":"4881:5:62","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"arguments":[{"id":10944,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10927,"src":"4860:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10942,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"4844:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10943,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4853:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"4844:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10945,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4844:25:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":10941,"name":"IERC20Minimal","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4078,"src":"4830:13:62","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20Minimal_$4078_$","typeString":"type(contract IERC20Minimal)"}},"id":10946,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4830:40:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20Minimal_$4078","typeString":"contract IERC20Minimal"}},"id":10947,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4871:9:62","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":4017,"src":"4830:50:62","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":10949,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4830:57:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":10933,"id":10950,"nodeType":"Return","src":"4823:64:62"}]},"id":10952,"nodeType":"IfStatement","src":"4728:170:62","trueBody":{"id":10940,"nodeType":"Block","src":"4758:45:62","statements":[{"expression":{"expression":{"id":10937,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10929,"src":"4779:5:62","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":10938,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4785:7:62","memberName":"balance","nodeType":"MemberAccess","src":"4779:13:62","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":10933,"id":10939,"nodeType":"Return","src":"4772:20:62"}]}}]},"id":10954,"implemented":true,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"4642:9:62","nodeType":"FunctionDefinition","parameters":{"id":10930,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10927,"mutability":"mutable","name":"currency","nameLocation":"4661:8:62","nodeType":"VariableDeclaration","scope":10954,"src":"4652:17:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10926,"nodeType":"UserDefinedTypeName","pathNode":{"id":10925,"name":"Currency","nameLocations":["4652:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"4652:8:62"},"referencedDeclaration":10717,"src":"4652:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":10929,"mutability":"mutable","name":"owner","nameLocation":"4679:5:62","nodeType":"VariableDeclaration","scope":10954,"src":"4671:13:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":10928,"name":"address","nodeType":"ElementaryTypeName","src":"4671:7:62","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4651:34:62"},"returnParameters":{"id":10933,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10932,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10954,"src":"4709:7:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10931,"name":"uint256","nodeType":"ElementaryTypeName","src":"4709:7:62","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4708:9:62"},"scope":11011,"src":"4633:271:62","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":10972,"nodeType":"Block","src":"4981:82:62","statements":[{"expression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":10970,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":10964,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10957,"src":"5014:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10962,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"4998:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10963,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5007:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"4998:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10965,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4998:25:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"id":10968,"name":"ADDRESS_ZERO","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10834,"src":"5043:12:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10966,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"5027:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10967,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5036:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"5027:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10969,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5027:29:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4998:58:62","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":10961,"id":10971,"nodeType":"Return","src":"4991:65:62"}]},"id":10973,"implemented":true,"kind":"function","modifiers":[],"name":"isAddressZero","nameLocation":"4919:13:62","nodeType":"FunctionDefinition","parameters":{"id":10958,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10957,"mutability":"mutable","name":"currency","nameLocation":"4942:8:62","nodeType":"VariableDeclaration","scope":10973,"src":"4933:17:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10956,"nodeType":"UserDefinedTypeName","pathNode":{"id":10955,"name":"Currency","nameLocations":["4933:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"4933:8:62"},"referencedDeclaration":10717,"src":"4933:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"4932:19:62"},"returnParameters":{"id":10961,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10960,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10973,"src":"4975:4:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":10959,"name":"bool","nodeType":"ElementaryTypeName","src":"4975:4:62","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4974:6:62"},"scope":11011,"src":"4910:153:62","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10989,"nodeType":"Block","src":"5134:58:62","statements":[{"expression":{"arguments":[{"arguments":[{"id":10985,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10976,"src":"5175:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":10983,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"5159:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10984,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5168:6:62","memberName":"unwrap","nodeType":"MemberAccess","src":"5159:15:62","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":10986,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5159:25:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":10982,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5151:7:62","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":10981,"name":"uint160","nodeType":"ElementaryTypeName","src":"5151:7:62","typeDescriptions":{}}},"id":10987,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5151:34:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"functionReturnParameters":10980,"id":10988,"nodeType":"Return","src":"5144:41:62"}]},"id":10990,"implemented":true,"kind":"function","modifiers":[],"name":"toId","nameLocation":"5078:4:62","nodeType":"FunctionDefinition","parameters":{"id":10977,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10976,"mutability":"mutable","name":"currency","nameLocation":"5092:8:62","nodeType":"VariableDeclaration","scope":10990,"src":"5083:17:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10975,"nodeType":"UserDefinedTypeName","pathNode":{"id":10974,"name":"Currency","nameLocations":["5083:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"5083:8:62"},"referencedDeclaration":10717,"src":"5083:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"5082:19:62"},"returnParameters":{"id":10980,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10979,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10990,"src":"5125:7:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10978,"name":"uint256","nodeType":"ElementaryTypeName","src":"5125:7:62","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5124:9:62"},"scope":11011,"src":"5069:123:62","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":11009,"nodeType":"Block","src":"5396:59:62","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[{"id":11004,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10992,"src":"5443:2:62","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11003,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5435:7:62","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":11002,"name":"uint160","nodeType":"ElementaryTypeName","src":"5435:7:62","typeDescriptions":{}}},"id":11005,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5435:11:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":11001,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5427:7:62","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":11000,"name":"address","nodeType":"ElementaryTypeName","src":"5427:7:62","typeDescriptions":{}}},"id":11006,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5427:20:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":10998,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"5413:8:62","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":10999,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5422:4:62","memberName":"wrap","nodeType":"MemberAccess","src":"5413:13:62","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_address_$returns$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (address) pure returns (Currency)"}},"id":11007,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5413:35:62","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"functionReturnParameters":10997,"id":11008,"nodeType":"Return","src":"5406:42:62"}]},"id":11010,"implemented":true,"kind":"function","modifiers":[],"name":"fromId","nameLocation":"5344:6:62","nodeType":"FunctionDefinition","parameters":{"id":10993,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10992,"mutability":"mutable","name":"id","nameLocation":"5359:2:62","nodeType":"VariableDeclaration","scope":11010,"src":"5351:10:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10991,"name":"uint256","nodeType":"ElementaryTypeName","src":"5351:7:62","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5350:12:62"},"returnParameters":{"id":10997,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10996,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":11010,"src":"5386:8:62","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":10995,"nodeType":"UserDefinedTypeName","pathNode":{"id":10994,"name":"Currency","nameLocations":["5386:8:62"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"5386:8:62"},"referencedDeclaration":10717,"src":"5386:8:62","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"5385:10:62"},"scope":11011,"src":"5335:120:62","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":11012,"src":"1059:4398:62","usedErrors":[10820,10823],"usedEvents":[]}],"src":"32:5426:62"},"id":62},"@uniswap/v4-core/src/types/PoolId.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/types/PoolId.sol","exportedSymbols":{"PoolId":[11017],"PoolIdLibrary":[11031],"PoolKey":[11063]},"id":11032,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":11013,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:63"},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"./PoolKey.sol","id":11015,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":11032,"sourceUnit":11064,"src":"57:38:63","symbolAliases":[{"foreign":{"id":11014,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"65:7:63","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"canonicalName":"PoolId","id":11017,"name":"PoolId","nameLocation":"102:6:63","nodeType":"UserDefinedValueTypeDefinition","src":"97:23:63","underlyingType":{"id":11016,"name":"bytes32","nodeType":"ElementaryTypeName","src":"112:7:63","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}},{"abstract":false,"baseContracts":[],"canonicalName":"PoolIdLibrary","contractDependencies":[],"contractKind":"library","documentation":{"id":11018,"nodeType":"StructuredDocumentation","src":"122:51:63","text":"@notice Library for computing the ID of a pool"},"fullyImplemented":true,"id":11031,"linearizedBaseContracts":[11031],"name":"PoolIdLibrary","nameLocation":"181:13:63","nodeType":"ContractDefinition","nodes":[{"body":{"id":11029,"nodeType":"Block","src":"347:189:63","statements":[{"AST":{"nativeSrc":"382:148:63","nodeType":"YulBlock","src":"382:148:63","statements":[{"nativeSrc":"486:34:63","nodeType":"YulAssignment","src":"486:34:63","value":{"arguments":[{"name":"poolKey","nativeSrc":"506:7:63","nodeType":"YulIdentifier","src":"506:7:63"},{"kind":"number","nativeSrc":"515:4:63","nodeType":"YulLiteral","src":"515:4:63","type":"","value":"0xa0"}],"functionName":{"name":"keccak256","nativeSrc":"496:9:63","nodeType":"YulIdentifier","src":"496:9:63"},"nativeSrc":"496:24:63","nodeType":"YulFunctionCall","src":"496:24:63"},"variableNames":[{"name":"poolId","nativeSrc":"486:6:63","nodeType":"YulIdentifier","src":"486:6:63"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":11026,"isOffset":false,"isSlot":false,"src":"486:6:63","valueSize":1},{"declaration":11022,"isOffset":false,"isSlot":false,"src":"506:7:63","valueSize":1}],"flags":["memory-safe"],"id":11028,"nodeType":"InlineAssembly","src":"357:173:63"}]},"documentation":{"id":11019,"nodeType":"StructuredDocumentation","src":"201:65:63","text":"@notice Returns value equal to keccak256(abi.encode(poolKey))"},"id":11030,"implemented":true,"kind":"function","modifiers":[],"name":"toId","nameLocation":"280:4:63","nodeType":"FunctionDefinition","parameters":{"id":11023,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11022,"mutability":"mutable","name":"poolKey","nameLocation":"300:7:63","nodeType":"VariableDeclaration","scope":11030,"src":"285:22:63","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":11021,"nodeType":"UserDefinedTypeName","pathNode":{"id":11020,"name":"PoolKey","nameLocations":["285:7:63"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"285:7:63"},"referencedDeclaration":11063,"src":"285:7:63","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"}],"src":"284:24:63"},"returnParameters":{"id":11027,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11026,"mutability":"mutable","name":"poolId","nameLocation":"339:6:63","nodeType":"VariableDeclaration","scope":11030,"src":"332:13:63","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},"typeName":{"id":11025,"nodeType":"UserDefinedTypeName","pathNode":{"id":11024,"name":"PoolId","nameLocations":["332:6:63"],"nodeType":"IdentifierPath","referencedDeclaration":11017,"src":"332:6:63"},"referencedDeclaration":11017,"src":"332:6:63","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},"visibility":"internal"}],"src":"331:15:63"},"scope":11031,"src":"271:265:63","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":11032,"src":"173:365:63","usedErrors":[],"usedEvents":[]}],"src":"32:507:63"},"id":63},"@uniswap/v4-core/src/types/PoolKey.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","exportedSymbols":{"Currency":[10717],"IHooks":[3618],"PoolIdLibrary":[11031],"PoolKey":[11063]},"id":11064,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":11033,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:64"},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"./Currency.sol","id":11035,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":11064,"sourceUnit":11012,"src":"57:40:64","symbolAliases":[{"foreign":{"id":11034,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"65:8:64","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IHooks.sol","file":"../interfaces/IHooks.sol","id":11037,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":11064,"sourceUnit":3619,"src":"98:48:64","symbolAliases":[{"foreign":{"id":11036,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"106:6:64","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolId.sol","file":"./PoolId.sol","id":11039,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":11064,"sourceUnit":11032,"src":"147:43:64","symbolAliases":[{"foreign":{"id":11038,"name":"PoolIdLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11031,"src":"155:13:64","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"global":true,"id":11043,"libraryName":{"id":11040,"name":"PoolIdLibrary","nameLocations":["198:13:64"],"nodeType":"IdentifierPath","referencedDeclaration":11031,"src":"198:13:64"},"nodeType":"UsingForDirective","src":"192:39:64","typeName":{"id":11042,"nodeType":"UserDefinedTypeName","pathNode":{"id":11041,"name":"PoolKey","nameLocations":["216:7:64"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"216:7:64"},"referencedDeclaration":11063,"src":"216:7:64","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}}},{"canonicalName":"PoolKey","documentation":{"id":11044,"nodeType":"StructuredDocumentation","src":"233:51:64","text":"@notice Returns the key for identifying a pool"},"id":11063,"members":[{"constant":false,"id":11048,"mutability":"mutable","name":"currency0","nameLocation":"381:9:64","nodeType":"VariableDeclaration","scope":11063,"src":"372:18:64","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":11047,"nodeType":"UserDefinedTypeName","pathNode":{"id":11046,"name":"Currency","nameLocations":["372:8:64"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"372:8:64"},"referencedDeclaration":10717,"src":"372:8:64","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":11052,"mutability":"mutable","name":"currency1","nameLocation":"473:9:64","nodeType":"VariableDeclaration","scope":11063,"src":"464:18:64","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":11051,"nodeType":"UserDefinedTypeName","pathNode":{"id":11050,"name":"Currency","nameLocations":["464:8:64"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"464:8:64"},"referencedDeclaration":10717,"src":"464:8:64","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":11055,"mutability":"mutable","name":"fee","nameLocation":"639:3:64","nodeType":"VariableDeclaration","scope":11063,"src":"632:10:64","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":11054,"name":"uint24","nodeType":"ElementaryTypeName","src":"632:6:64","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":11058,"mutability":"mutable","name":"tickSpacing","nameLocation":"734:11:64","nodeType":"VariableDeclaration","scope":11063,"src":"728:17:64","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":11057,"name":"int24","nodeType":"ElementaryTypeName","src":"728:5:64","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":11062,"mutability":"mutable","name":"hooks","nameLocation":"796:5:64","nodeType":"VariableDeclaration","scope":11063,"src":"789:12:64","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":11061,"nodeType":"UserDefinedTypeName","pathNode":{"id":11060,"name":"IHooks","nameLocations":["789:6:64"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"789:6:64"},"referencedDeclaration":3618,"src":"789:6:64","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"}],"name":"PoolKey","nameLocation":"291:7:64","nodeType":"StructDefinition","scope":11064,"src":"284:520:64","visibility":"public"}],"src":"32:773:64"},"id":64},"@uniswap/v4-core/src/types/Slot0.sol":{"ast":{"absolutePath":"@uniswap/v4-core/src/types/Slot0.sol","exportedSymbols":{"Slot0":[11067],"Slot0Library":[11180]},"id":11181,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":11065,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:65"},{"canonicalName":"Slot0","id":11067,"name":"Slot0","nameLocation":"932:5:65","nodeType":"UserDefinedValueTypeDefinition","src":"927:22:65","underlyingType":{"id":11066,"name":"bytes32","nodeType":"ElementaryTypeName","src":"941:7:65","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}},{"global":true,"id":11071,"libraryName":{"id":11068,"name":"Slot0Library","nameLocations":["957:12:65"],"nodeType":"IdentifierPath","referencedDeclaration":11180,"src":"957:12:65"},"nodeType":"UsingForDirective","src":"951:36:65","typeName":{"id":11070,"nodeType":"UserDefinedTypeName","pathNode":{"id":11069,"name":"Slot0","nameLocations":["974:5:65"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"974:5:65"},"referencedDeclaration":11067,"src":"974:5:65","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}}},{"abstract":false,"baseContracts":[],"canonicalName":"Slot0Library","contractDependencies":[],"contractKind":"library","documentation":{"id":11072,"nodeType":"StructuredDocumentation","src":"989:69:65","text":"@notice Library for getting and setting values in the Slot0 type"},"fullyImplemented":true,"id":11180,"linearizedBaseContracts":[11180],"name":"Slot0Library","nameLocation":"1066:12:65","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":11075,"mutability":"constant","name":"MASK_160_BITS","nameLocation":"1111:13:65","nodeType":"VariableDeclaration","scope":11180,"src":"1085:86:65","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":11073,"name":"uint160","nodeType":"ElementaryTypeName","src":"1085:7:65","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"hexValue":"3078303046464646464646464646464646464646464646464646464646464646464646464646464646464646","id":11074,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1127:44:65","typeDescriptions":{"typeIdentifier":"t_rational_1461501637330902918203684832716283019655932542975_by_1","typeString":"int_const 1461...(41 digits omitted)...2975"},"value":"0x00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"},"visibility":"internal"},{"constant":true,"id":11078,"mutability":"constant","name":"MASK_24_BITS","nameLocation":"1202:12:65","nodeType":"VariableDeclaration","scope":11180,"src":"1177:48:65","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":11076,"name":"uint24","nodeType":"ElementaryTypeName","src":"1177:6:65","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"value":{"hexValue":"3078464646464646","id":11077,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1217:8:65","typeDescriptions":{"typeIdentifier":"t_rational_16777215_by_1","typeString":"int_const 16777215"},"value":"0xFFFFFF"},"visibility":"internal"},{"constant":true,"id":11081,"mutability":"constant","name":"TICK_OFFSET","nameLocation":"1256:11:65","nodeType":"VariableDeclaration","scope":11180,"src":"1232:41:65","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":11079,"name":"uint8","nodeType":"ElementaryTypeName","src":"1232:5:65","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"value":{"hexValue":"313630","id":11080,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1270:3:65","typeDescriptions":{"typeIdentifier":"t_rational_160_by_1","typeString":"int_const 160"},"value":"160"},"visibility":"internal"},{"constant":true,"id":11084,"mutability":"constant","name":"PROTOCOL_FEE_OFFSET","nameLocation":"1303:19:65","nodeType":"VariableDeclaration","scope":11180,"src":"1279:49:65","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":11082,"name":"uint8","nodeType":"ElementaryTypeName","src":"1279:5:65","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"value":{"hexValue":"313834","id":11083,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1325:3:65","typeDescriptions":{"typeIdentifier":"t_rational_184_by_1","typeString":"int_const 184"},"value":"184"},"visibility":"internal"},{"constant":true,"id":11087,"mutability":"constant","name":"LP_FEE_OFFSET","nameLocation":"1358:13:65","nodeType":"VariableDeclaration","scope":11180,"src":"1334:43:65","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":11085,"name":"uint8","nodeType":"ElementaryTypeName","src":"1334:5:65","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"value":{"hexValue":"323038","id":11086,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1374:3:65","typeDescriptions":{"typeIdentifier":"t_rational_208_by_1","typeString":"int_const 208"},"value":"208"},"visibility":"internal"},{"body":{"id":11096,"nodeType":"Block","src":"1492:109:65","statements":[{"AST":{"nativeSrc":"1527:68:65","nodeType":"YulBlock","src":"1527:68:65","statements":[{"nativeSrc":"1541:44:65","nodeType":"YulAssignment","src":"1541:44:65","value":{"arguments":[{"name":"MASK_160_BITS","nativeSrc":"1562:13:65","nodeType":"YulIdentifier","src":"1562:13:65"},{"name":"_packed","nativeSrc":"1577:7:65","nodeType":"YulIdentifier","src":"1577:7:65"}],"functionName":{"name":"and","nativeSrc":"1558:3:65","nodeType":"YulIdentifier","src":"1558:3:65"},"nativeSrc":"1558:27:65","nodeType":"YulFunctionCall","src":"1558:27:65"},"variableNames":[{"name":"_sqrtPriceX96","nativeSrc":"1541:13:65","nodeType":"YulIdentifier","src":"1541:13:65"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":11075,"isOffset":false,"isSlot":false,"src":"1562:13:65","valueSize":1},{"declaration":11090,"isOffset":false,"isSlot":false,"src":"1577:7:65","valueSize":1},{"declaration":11093,"isOffset":false,"isSlot":false,"src":"1541:13:65","valueSize":1}],"flags":["memory-safe"],"id":11095,"nodeType":"InlineAssembly","src":"1502:93:65"}]},"id":11097,"implemented":true,"kind":"function","modifiers":[],"name":"sqrtPriceX96","nameLocation":"1418:12:65","nodeType":"FunctionDefinition","parameters":{"id":11091,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11090,"mutability":"mutable","name":"_packed","nameLocation":"1437:7:65","nodeType":"VariableDeclaration","scope":11097,"src":"1431:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":11089,"nodeType":"UserDefinedTypeName","pathNode":{"id":11088,"name":"Slot0","nameLocations":["1431:5:65"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"1431:5:65"},"referencedDeclaration":11067,"src":"1431:5:65","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"}],"src":"1430:15:65"},"returnParameters":{"id":11094,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11093,"mutability":"mutable","name":"_sqrtPriceX96","nameLocation":"1477:13:65","nodeType":"VariableDeclaration","scope":11097,"src":"1469:21:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":11092,"name":"uint160","nodeType":"ElementaryTypeName","src":"1469:7:65","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"1468:23:65"},"scope":11180,"src":"1409:192:65","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":11106,"nodeType":"Block","src":"1672:114:65","statements":[{"AST":{"nativeSrc":"1707:73:65","nodeType":"YulBlock","src":"1707:73:65","statements":[{"nativeSrc":"1721:49:65","nodeType":"YulAssignment","src":"1721:49:65","value":{"arguments":[{"kind":"number","nativeSrc":"1741:1:65","nodeType":"YulLiteral","src":"1741:1:65","type":"","value":"2"},{"arguments":[{"name":"TICK_OFFSET","nativeSrc":"1748:11:65","nodeType":"YulIdentifier","src":"1748:11:65"},{"name":"_packed","nativeSrc":"1761:7:65","nodeType":"YulIdentifier","src":"1761:7:65"}],"functionName":{"name":"shr","nativeSrc":"1744:3:65","nodeType":"YulIdentifier","src":"1744:3:65"},"nativeSrc":"1744:25:65","nodeType":"YulFunctionCall","src":"1744:25:65"}],"functionName":{"name":"signextend","nativeSrc":"1730:10:65","nodeType":"YulIdentifier","src":"1730:10:65"},"nativeSrc":"1730:40:65","nodeType":"YulFunctionCall","src":"1730:40:65"},"variableNames":[{"name":"_tick","nativeSrc":"1721:5:65","nodeType":"YulIdentifier","src":"1721:5:65"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":11081,"isOffset":false,"isSlot":false,"src":"1748:11:65","valueSize":1},{"declaration":11100,"isOffset":false,"isSlot":false,"src":"1761:7:65","valueSize":1},{"declaration":11103,"isOffset":false,"isSlot":false,"src":"1721:5:65","valueSize":1}],"flags":["memory-safe"],"id":11105,"nodeType":"InlineAssembly","src":"1682:98:65"}]},"id":11107,"implemented":true,"kind":"function","modifiers":[],"name":"tick","nameLocation":"1616:4:65","nodeType":"FunctionDefinition","parameters":{"id":11101,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11100,"mutability":"mutable","name":"_packed","nameLocation":"1627:7:65","nodeType":"VariableDeclaration","scope":11107,"src":"1621:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":11099,"nodeType":"UserDefinedTypeName","pathNode":{"id":11098,"name":"Slot0","nameLocations":["1621:5:65"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"1621:5:65"},"referencedDeclaration":11067,"src":"1621:5:65","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"}],"src":"1620:15:65"},"returnParameters":{"id":11104,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11103,"mutability":"mutable","name":"_tick","nameLocation":"1665:5:65","nodeType":"VariableDeclaration","scope":11107,"src":"1659:11:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":11102,"name":"int24","nodeType":"ElementaryTypeName","src":"1659:5:65","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1658:13:65"},"scope":11180,"src":"1607:179:65","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":11116,"nodeType":"Block","src":"1872:133:65","statements":[{"AST":{"nativeSrc":"1907:92:65","nodeType":"YulBlock","src":"1907:92:65","statements":[{"nativeSrc":"1921:68:65","nodeType":"YulAssignment","src":"1921:68:65","value":{"arguments":[{"name":"MASK_24_BITS","nativeSrc":"1941:12:65","nodeType":"YulIdentifier","src":"1941:12:65"},{"arguments":[{"name":"PROTOCOL_FEE_OFFSET","nativeSrc":"1959:19:65","nodeType":"YulIdentifier","src":"1959:19:65"},{"name":"_packed","nativeSrc":"1980:7:65","nodeType":"YulIdentifier","src":"1980:7:65"}],"functionName":{"name":"shr","nativeSrc":"1955:3:65","nodeType":"YulIdentifier","src":"1955:3:65"},"nativeSrc":"1955:33:65","nodeType":"YulFunctionCall","src":"1955:33:65"}],"functionName":{"name":"and","nativeSrc":"1937:3:65","nodeType":"YulIdentifier","src":"1937:3:65"},"nativeSrc":"1937:52:65","nodeType":"YulFunctionCall","src":"1937:52:65"},"variableNames":[{"name":"_protocolFee","nativeSrc":"1921:12:65","nodeType":"YulIdentifier","src":"1921:12:65"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":11078,"isOffset":false,"isSlot":false,"src":"1941:12:65","valueSize":1},{"declaration":11084,"isOffset":false,"isSlot":false,"src":"1959:19:65","valueSize":1},{"declaration":11110,"isOffset":false,"isSlot":false,"src":"1980:7:65","valueSize":1},{"declaration":11113,"isOffset":false,"isSlot":false,"src":"1921:12:65","valueSize":1}],"flags":["memory-safe"],"id":11115,"nodeType":"InlineAssembly","src":"1882:117:65"}]},"id":11117,"implemented":true,"kind":"function","modifiers":[],"name":"protocolFee","nameLocation":"1801:11:65","nodeType":"FunctionDefinition","parameters":{"id":11111,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11110,"mutability":"mutable","name":"_packed","nameLocation":"1819:7:65","nodeType":"VariableDeclaration","scope":11117,"src":"1813:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":11109,"nodeType":"UserDefinedTypeName","pathNode":{"id":11108,"name":"Slot0","nameLocations":["1813:5:65"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"1813:5:65"},"referencedDeclaration":11067,"src":"1813:5:65","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"}],"src":"1812:15:65"},"returnParameters":{"id":11114,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11113,"mutability":"mutable","name":"_protocolFee","nameLocation":"1858:12:65","nodeType":"VariableDeclaration","scope":11117,"src":"1851:19:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":11112,"name":"uint24","nodeType":"ElementaryTypeName","src":"1851:6:65","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"1850:21:65"},"scope":11180,"src":"1792:213:65","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":11126,"nodeType":"Block","src":"2079:121:65","statements":[{"AST":{"nativeSrc":"2114:80:65","nodeType":"YulBlock","src":"2114:80:65","statements":[{"nativeSrc":"2128:56:65","nodeType":"YulAssignment","src":"2128:56:65","value":{"arguments":[{"name":"MASK_24_BITS","nativeSrc":"2142:12:65","nodeType":"YulIdentifier","src":"2142:12:65"},{"arguments":[{"name":"LP_FEE_OFFSET","nativeSrc":"2160:13:65","nodeType":"YulIdentifier","src":"2160:13:65"},{"name":"_packed","nativeSrc":"2175:7:65","nodeType":"YulIdentifier","src":"2175:7:65"}],"functionName":{"name":"shr","nativeSrc":"2156:3:65","nodeType":"YulIdentifier","src":"2156:3:65"},"nativeSrc":"2156:27:65","nodeType":"YulFunctionCall","src":"2156:27:65"}],"functionName":{"name":"and","nativeSrc":"2138:3:65","nodeType":"YulIdentifier","src":"2138:3:65"},"nativeSrc":"2138:46:65","nodeType":"YulFunctionCall","src":"2138:46:65"},"variableNames":[{"name":"_lpFee","nativeSrc":"2128:6:65","nodeType":"YulIdentifier","src":"2128:6:65"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":11087,"isOffset":false,"isSlot":false,"src":"2160:13:65","valueSize":1},{"declaration":11078,"isOffset":false,"isSlot":false,"src":"2142:12:65","valueSize":1},{"declaration":11123,"isOffset":false,"isSlot":false,"src":"2128:6:65","valueSize":1},{"declaration":11120,"isOffset":false,"isSlot":false,"src":"2175:7:65","valueSize":1}],"flags":["memory-safe"],"id":11125,"nodeType":"InlineAssembly","src":"2089:105:65"}]},"id":11127,"implemented":true,"kind":"function","modifiers":[],"name":"lpFee","nameLocation":"2020:5:65","nodeType":"FunctionDefinition","parameters":{"id":11121,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11120,"mutability":"mutable","name":"_packed","nameLocation":"2032:7:65","nodeType":"VariableDeclaration","scope":11127,"src":"2026:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":11119,"nodeType":"UserDefinedTypeName","pathNode":{"id":11118,"name":"Slot0","nameLocations":["2026:5:65"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"2026:5:65"},"referencedDeclaration":11067,"src":"2026:5:65","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"}],"src":"2025:15:65"},"returnParameters":{"id":11124,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11123,"mutability":"mutable","name":"_lpFee","nameLocation":"2071:6:65","nodeType":"VariableDeclaration","scope":11127,"src":"2064:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":11122,"name":"uint24","nodeType":"ElementaryTypeName","src":"2064:6:65","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2063:15:65"},"scope":11180,"src":"2011:189:65","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":11139,"nodeType":"Block","src":"2332:147:65","statements":[{"AST":{"nativeSrc":"2367:106:65","nodeType":"YulBlock","src":"2367:106:65","statements":[{"nativeSrc":"2381:82:65","nodeType":"YulAssignment","src":"2381:82:65","value":{"arguments":[{"arguments":[{"arguments":[{"name":"MASK_160_BITS","nativeSrc":"2403:13:65","nodeType":"YulIdentifier","src":"2403:13:65"}],"functionName":{"name":"not","nativeSrc":"2399:3:65","nodeType":"YulIdentifier","src":"2399:3:65"},"nativeSrc":"2399:18:65","nodeType":"YulFunctionCall","src":"2399:18:65"},{"name":"_packed","nativeSrc":"2419:7:65","nodeType":"YulIdentifier","src":"2419:7:65"}],"functionName":{"name":"and","nativeSrc":"2395:3:65","nodeType":"YulIdentifier","src":"2395:3:65"},"nativeSrc":"2395:32:65","nodeType":"YulFunctionCall","src":"2395:32:65"},{"arguments":[{"name":"MASK_160_BITS","nativeSrc":"2433:13:65","nodeType":"YulIdentifier","src":"2433:13:65"},{"name":"_sqrtPriceX96","nativeSrc":"2448:13:65","nodeType":"YulIdentifier","src":"2448:13:65"}],"functionName":{"name":"and","nativeSrc":"2429:3:65","nodeType":"YulIdentifier","src":"2429:3:65"},"nativeSrc":"2429:33:65","nodeType":"YulFunctionCall","src":"2429:33:65"}],"functionName":{"name":"or","nativeSrc":"2392:2:65","nodeType":"YulIdentifier","src":"2392:2:65"},"nativeSrc":"2392:71:65","nodeType":"YulFunctionCall","src":"2392:71:65"},"variableNames":[{"name":"_result","nativeSrc":"2381:7:65","nodeType":"YulIdentifier","src":"2381:7:65"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":11075,"isOffset":false,"isSlot":false,"src":"2403:13:65","valueSize":1},{"declaration":11075,"isOffset":false,"isSlot":false,"src":"2433:13:65","valueSize":1},{"declaration":11130,"isOffset":false,"isSlot":false,"src":"2419:7:65","valueSize":1},{"declaration":11136,"isOffset":false,"isSlot":false,"src":"2381:7:65","valueSize":1},{"declaration":11132,"isOffset":false,"isSlot":false,"src":"2448:13:65","valueSize":1}],"flags":["memory-safe"],"id":11138,"nodeType":"InlineAssembly","src":"2342:131:65"}]},"id":11140,"implemented":true,"kind":"function","modifiers":[],"name":"setSqrtPriceX96","nameLocation":"2240:15:65","nodeType":"FunctionDefinition","parameters":{"id":11133,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11130,"mutability":"mutable","name":"_packed","nameLocation":"2262:7:65","nodeType":"VariableDeclaration","scope":11140,"src":"2256:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":11129,"nodeType":"UserDefinedTypeName","pathNode":{"id":11128,"name":"Slot0","nameLocations":["2256:5:65"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"2256:5:65"},"referencedDeclaration":11067,"src":"2256:5:65","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"},{"constant":false,"id":11132,"mutability":"mutable","name":"_sqrtPriceX96","nameLocation":"2279:13:65","nodeType":"VariableDeclaration","scope":11140,"src":"2271:21:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":11131,"name":"uint160","nodeType":"ElementaryTypeName","src":"2271:7:65","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"2255:38:65"},"returnParameters":{"id":11137,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11136,"mutability":"mutable","name":"_result","nameLocation":"2323:7:65","nodeType":"VariableDeclaration","scope":11140,"src":"2317:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":11135,"nodeType":"UserDefinedTypeName","pathNode":{"id":11134,"name":"Slot0","nameLocations":["2317:5:65"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"2317:5:65"},"referencedDeclaration":11067,"src":"2317:5:65","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"}],"src":"2316:15:65"},"scope":11180,"src":"2231:248:65","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":11152,"nodeType":"Block","src":"2568:173:65","statements":[{"AST":{"nativeSrc":"2603:132:65","nodeType":"YulBlock","src":"2603:132:65","statements":[{"nativeSrc":"2617:108:65","nodeType":"YulAssignment","src":"2617:108:65","value":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"TICK_OFFSET","nativeSrc":"2643:11:65","nodeType":"YulIdentifier","src":"2643:11:65"},{"name":"MASK_24_BITS","nativeSrc":"2656:12:65","nodeType":"YulIdentifier","src":"2656:12:65"}],"functionName":{"name":"shl","nativeSrc":"2639:3:65","nodeType":"YulIdentifier","src":"2639:3:65"},"nativeSrc":"2639:30:65","nodeType":"YulFunctionCall","src":"2639:30:65"}],"functionName":{"name":"not","nativeSrc":"2635:3:65","nodeType":"YulIdentifier","src":"2635:3:65"},"nativeSrc":"2635:35:65","nodeType":"YulFunctionCall","src":"2635:35:65"},{"name":"_packed","nativeSrc":"2672:7:65","nodeType":"YulIdentifier","src":"2672:7:65"}],"functionName":{"name":"and","nativeSrc":"2631:3:65","nodeType":"YulIdentifier","src":"2631:3:65"},"nativeSrc":"2631:49:65","nodeType":"YulFunctionCall","src":"2631:49:65"},{"arguments":[{"name":"TICK_OFFSET","nativeSrc":"2686:11:65","nodeType":"YulIdentifier","src":"2686:11:65"},{"arguments":[{"name":"MASK_24_BITS","nativeSrc":"2703:12:65","nodeType":"YulIdentifier","src":"2703:12:65"},{"name":"_tick","nativeSrc":"2717:5:65","nodeType":"YulIdentifier","src":"2717:5:65"}],"functionName":{"name":"and","nativeSrc":"2699:3:65","nodeType":"YulIdentifier","src":"2699:3:65"},"nativeSrc":"2699:24:65","nodeType":"YulFunctionCall","src":"2699:24:65"}],"functionName":{"name":"shl","nativeSrc":"2682:3:65","nodeType":"YulIdentifier","src":"2682:3:65"},"nativeSrc":"2682:42:65","nodeType":"YulFunctionCall","src":"2682:42:65"}],"functionName":{"name":"or","nativeSrc":"2628:2:65","nodeType":"YulIdentifier","src":"2628:2:65"},"nativeSrc":"2628:97:65","nodeType":"YulFunctionCall","src":"2628:97:65"},"variableNames":[{"name":"_result","nativeSrc":"2617:7:65","nodeType":"YulIdentifier","src":"2617:7:65"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":11078,"isOffset":false,"isSlot":false,"src":"2656:12:65","valueSize":1},{"declaration":11078,"isOffset":false,"isSlot":false,"src":"2703:12:65","valueSize":1},{"declaration":11081,"isOffset":false,"isSlot":false,"src":"2643:11:65","valueSize":1},{"declaration":11081,"isOffset":false,"isSlot":false,"src":"2686:11:65","valueSize":1},{"declaration":11143,"isOffset":false,"isSlot":false,"src":"2672:7:65","valueSize":1},{"declaration":11149,"isOffset":false,"isSlot":false,"src":"2617:7:65","valueSize":1},{"declaration":11145,"isOffset":false,"isSlot":false,"src":"2717:5:65","valueSize":1}],"flags":["memory-safe"],"id":11151,"nodeType":"InlineAssembly","src":"2578:157:65"}]},"id":11153,"implemented":true,"kind":"function","modifiers":[],"name":"setTick","nameLocation":"2494:7:65","nodeType":"FunctionDefinition","parameters":{"id":11146,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11143,"mutability":"mutable","name":"_packed","nameLocation":"2508:7:65","nodeType":"VariableDeclaration","scope":11153,"src":"2502:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":11142,"nodeType":"UserDefinedTypeName","pathNode":{"id":11141,"name":"Slot0","nameLocations":["2502:5:65"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"2502:5:65"},"referencedDeclaration":11067,"src":"2502:5:65","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"},{"constant":false,"id":11145,"mutability":"mutable","name":"_tick","nameLocation":"2523:5:65","nodeType":"VariableDeclaration","scope":11153,"src":"2517:11:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":11144,"name":"int24","nodeType":"ElementaryTypeName","src":"2517:5:65","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2501:28:65"},"returnParameters":{"id":11150,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11149,"mutability":"mutable","name":"_result","nameLocation":"2559:7:65","nodeType":"VariableDeclaration","scope":11153,"src":"2553:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":11148,"nodeType":"UserDefinedTypeName","pathNode":{"id":11147,"name":"Slot0","nameLocations":["2553:5:65"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"2553:5:65"},"referencedDeclaration":11067,"src":"2553:5:65","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"}],"src":"2552:15:65"},"scope":11180,"src":"2485:256:65","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":11165,"nodeType":"Block","src":"2845:270:65","statements":[{"AST":{"nativeSrc":"2880:229:65","nodeType":"YulBlock","src":"2880:229:65","statements":[{"nativeSrc":"2894:205:65","nodeType":"YulAssignment","src":"2894:205:65","value":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"PROTOCOL_FEE_OFFSET","nativeSrc":"2957:19:65","nodeType":"YulIdentifier","src":"2957:19:65"},{"name":"MASK_24_BITS","nativeSrc":"2978:12:65","nodeType":"YulIdentifier","src":"2978:12:65"}],"functionName":{"name":"shl","nativeSrc":"2953:3:65","nodeType":"YulIdentifier","src":"2953:3:65"},"nativeSrc":"2953:38:65","nodeType":"YulFunctionCall","src":"2953:38:65"}],"functionName":{"name":"not","nativeSrc":"2949:3:65","nodeType":"YulIdentifier","src":"2949:3:65"},"nativeSrc":"2949:43:65","nodeType":"YulFunctionCall","src":"2949:43:65"},{"name":"_packed","nativeSrc":"2994:7:65","nodeType":"YulIdentifier","src":"2994:7:65"}],"functionName":{"name":"and","nativeSrc":"2945:3:65","nodeType":"YulIdentifier","src":"2945:3:65"},"nativeSrc":"2945:57:65","nodeType":"YulFunctionCall","src":"2945:57:65"},{"arguments":[{"name":"PROTOCOL_FEE_OFFSET","nativeSrc":"3028:19:65","nodeType":"YulIdentifier","src":"3028:19:65"},{"arguments":[{"name":"MASK_24_BITS","nativeSrc":"3053:12:65","nodeType":"YulIdentifier","src":"3053:12:65"},{"name":"_protocolFee","nativeSrc":"3067:12:65","nodeType":"YulIdentifier","src":"3067:12:65"}],"functionName":{"name":"and","nativeSrc":"3049:3:65","nodeType":"YulIdentifier","src":"3049:3:65"},"nativeSrc":"3049:31:65","nodeType":"YulFunctionCall","src":"3049:31:65"}],"functionName":{"name":"shl","nativeSrc":"3024:3:65","nodeType":"YulIdentifier","src":"3024:3:65"},"nativeSrc":"3024:57:65","nodeType":"YulFunctionCall","src":"3024:57:65"}],"functionName":{"name":"or","nativeSrc":"2921:2:65","nodeType":"YulIdentifier","src":"2921:2:65"},"nativeSrc":"2921:178:65","nodeType":"YulFunctionCall","src":"2921:178:65"},"variableNames":[{"name":"_result","nativeSrc":"2894:7:65","nodeType":"YulIdentifier","src":"2894:7:65"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":11078,"isOffset":false,"isSlot":false,"src":"2978:12:65","valueSize":1},{"declaration":11078,"isOffset":false,"isSlot":false,"src":"3053:12:65","valueSize":1},{"declaration":11084,"isOffset":false,"isSlot":false,"src":"2957:19:65","valueSize":1},{"declaration":11084,"isOffset":false,"isSlot":false,"src":"3028:19:65","valueSize":1},{"declaration":11156,"isOffset":false,"isSlot":false,"src":"2994:7:65","valueSize":1},{"declaration":11158,"isOffset":false,"isSlot":false,"src":"3067:12:65","valueSize":1},{"declaration":11162,"isOffset":false,"isSlot":false,"src":"2894:7:65","valueSize":1}],"flags":["memory-safe"],"id":11164,"nodeType":"InlineAssembly","src":"2855:254:65"}]},"id":11166,"implemented":true,"kind":"function","modifiers":[],"name":"setProtocolFee","nameLocation":"2756:14:65","nodeType":"FunctionDefinition","parameters":{"id":11159,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11156,"mutability":"mutable","name":"_packed","nameLocation":"2777:7:65","nodeType":"VariableDeclaration","scope":11166,"src":"2771:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":11155,"nodeType":"UserDefinedTypeName","pathNode":{"id":11154,"name":"Slot0","nameLocations":["2771:5:65"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"2771:5:65"},"referencedDeclaration":11067,"src":"2771:5:65","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"},{"constant":false,"id":11158,"mutability":"mutable","name":"_protocolFee","nameLocation":"2793:12:65","nodeType":"VariableDeclaration","scope":11166,"src":"2786:19:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":11157,"name":"uint24","nodeType":"ElementaryTypeName","src":"2786:6:65","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2770:36:65"},"returnParameters":{"id":11163,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11162,"mutability":"mutable","name":"_result","nameLocation":"2836:7:65","nodeType":"VariableDeclaration","scope":11166,"src":"2830:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":11161,"nodeType":"UserDefinedTypeName","pathNode":{"id":11160,"name":"Slot0","nameLocations":["2830:5:65"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"2830:5:65"},"referencedDeclaration":11067,"src":"2830:5:65","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"}],"src":"2829:15:65"},"scope":11180,"src":"2747:368:65","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":11178,"nodeType":"Block","src":"3207:194:65","statements":[{"AST":{"nativeSrc":"3242:153:65","nodeType":"YulBlock","src":"3242:153:65","statements":[{"nativeSrc":"3256:129:65","nodeType":"YulAssignment","src":"3256:129:65","value":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"LP_FEE_OFFSET","nativeSrc":"3298:13:65","nodeType":"YulIdentifier","src":"3298:13:65"},{"name":"MASK_24_BITS","nativeSrc":"3313:12:65","nodeType":"YulIdentifier","src":"3313:12:65"}],"functionName":{"name":"shl","nativeSrc":"3294:3:65","nodeType":"YulIdentifier","src":"3294:3:65"},"nativeSrc":"3294:32:65","nodeType":"YulFunctionCall","src":"3294:32:65"}],"functionName":{"name":"not","nativeSrc":"3290:3:65","nodeType":"YulIdentifier","src":"3290:3:65"},"nativeSrc":"3290:37:65","nodeType":"YulFunctionCall","src":"3290:37:65"},{"name":"_packed","nativeSrc":"3329:7:65","nodeType":"YulIdentifier","src":"3329:7:65"}],"functionName":{"name":"and","nativeSrc":"3286:3:65","nodeType":"YulIdentifier","src":"3286:3:65"},"nativeSrc":"3286:51:65","nodeType":"YulFunctionCall","src":"3286:51:65"},{"arguments":[{"name":"LP_FEE_OFFSET","nativeSrc":"3343:13:65","nodeType":"YulIdentifier","src":"3343:13:65"},{"arguments":[{"name":"MASK_24_BITS","nativeSrc":"3362:12:65","nodeType":"YulIdentifier","src":"3362:12:65"},{"name":"_lpFee","nativeSrc":"3376:6:65","nodeType":"YulIdentifier","src":"3376:6:65"}],"functionName":{"name":"and","nativeSrc":"3358:3:65","nodeType":"YulIdentifier","src":"3358:3:65"},"nativeSrc":"3358:25:65","nodeType":"YulFunctionCall","src":"3358:25:65"}],"functionName":{"name":"shl","nativeSrc":"3339:3:65","nodeType":"YulIdentifier","src":"3339:3:65"},"nativeSrc":"3339:45:65","nodeType":"YulFunctionCall","src":"3339:45:65"}],"functionName":{"name":"or","nativeSrc":"3283:2:65","nodeType":"YulIdentifier","src":"3283:2:65"},"nativeSrc":"3283:102:65","nodeType":"YulFunctionCall","src":"3283:102:65"},"variableNames":[{"name":"_result","nativeSrc":"3256:7:65","nodeType":"YulIdentifier","src":"3256:7:65"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":11087,"isOffset":false,"isSlot":false,"src":"3298:13:65","valueSize":1},{"declaration":11087,"isOffset":false,"isSlot":false,"src":"3343:13:65","valueSize":1},{"declaration":11078,"isOffset":false,"isSlot":false,"src":"3313:12:65","valueSize":1},{"declaration":11078,"isOffset":false,"isSlot":false,"src":"3362:12:65","valueSize":1},{"declaration":11171,"isOffset":false,"isSlot":false,"src":"3376:6:65","valueSize":1},{"declaration":11169,"isOffset":false,"isSlot":false,"src":"3329:7:65","valueSize":1},{"declaration":11175,"isOffset":false,"isSlot":false,"src":"3256:7:65","valueSize":1}],"flags":["memory-safe"],"id":11177,"nodeType":"InlineAssembly","src":"3217:178:65"}]},"id":11179,"implemented":true,"kind":"function","modifiers":[],"name":"setLpFee","nameLocation":"3130:8:65","nodeType":"FunctionDefinition","parameters":{"id":11172,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11169,"mutability":"mutable","name":"_packed","nameLocation":"3145:7:65","nodeType":"VariableDeclaration","scope":11179,"src":"3139:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":11168,"nodeType":"UserDefinedTypeName","pathNode":{"id":11167,"name":"Slot0","nameLocations":["3139:5:65"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"3139:5:65"},"referencedDeclaration":11067,"src":"3139:5:65","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"},{"constant":false,"id":11171,"mutability":"mutable","name":"_lpFee","nameLocation":"3161:6:65","nodeType":"VariableDeclaration","scope":11179,"src":"3154:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":11170,"name":"uint24","nodeType":"ElementaryTypeName","src":"3154:6:65","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"3138:30:65"},"returnParameters":{"id":11176,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11175,"mutability":"mutable","name":"_result","nameLocation":"3198:7:65","nodeType":"VariableDeclaration","scope":11179,"src":"3192:13:65","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"},"typeName":{"id":11174,"nodeType":"UserDefinedTypeName","pathNode":{"id":11173,"name":"Slot0","nameLocations":["3192:5:65"],"nodeType":"IdentifierPath","referencedDeclaration":11067,"src":"3192:5:65"},"referencedDeclaration":11067,"src":"3192:5:65","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slot0_$11067","typeString":"Slot0"}},"visibility":"internal"}],"src":"3191:15:65"},"scope":11180,"src":"3121:280:65","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":11181,"src":"1058:2345:65","usedErrors":[],"usedEvents":[]}],"src":"32:3372:65"},"id":65},"@uniswap/v4-periphery/src/PositionManager.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/PositionManager.sol","exportedSymbols":{"Actions":[15995],"BalanceDelta":[10503],"BaseActionsRouter":[13773],"CalldataDecoder":[16368],"Currency":[10717],"CurrencyLibrary":[11011],"DeltaResolver":[14078],"ERC721Permit_v4":[14467],"IAllowanceTransfer":[21003],"IPoolManager":[3917],"IPositionDescriptor":[15616],"IPositionManager":[15721],"IWETH9":[15890],"LiquidityAmounts":[16590],"Multicall_v4":[14577],"NativeWrapper":[14665],"Notifier":[15036],"Permit2Forwarder":[15124],"PoolInitializer_v4":[15171],"PoolKey":[11063],"Position":[7897],"PositionInfo":[16704],"PositionInfoLibrary":[16830],"PositionManager":[12832],"ReentrancyLock":[15221],"SafeCast":[8145],"SlippageCheck":[16981],"StateLibrary":[9293],"TickMath":[10331],"TransientStateLibrary":[10467]},"id":12833,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":11182,"literals":["solidity","0.8",".26"],"nodeType":"PragmaDirective","src":"32:23:66"},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","id":11184,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":3918,"src":"57:78:66","symbolAliases":[{"foreign":{"id":11183,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"65:12:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"@uniswap/v4-core/src/types/PoolKey.sol","id":11186,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":11064,"src":"136:63:66","symbolAliases":[{"foreign":{"id":11185,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"144:7:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"@uniswap/v4-core/src/types/Currency.sol","id":11189,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":11012,"src":"200:82:66","symbolAliases":[{"foreign":{"id":11187,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"208:8:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":11188,"name":"CurrencyLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11011,"src":"218:15:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/BalanceDelta.sol","file":"@uniswap/v4-core/src/types/BalanceDelta.sol","id":11191,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":10662,"src":"283:73:66","symbolAliases":[{"foreign":{"id":11190,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"291:12:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/SafeCast.sol","file":"@uniswap/v4-core/src/libraries/SafeCast.sol","id":11193,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":8146,"src":"357:69:66","symbolAliases":[{"foreign":{"id":11192,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8145,"src":"365:8:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/Position.sol","file":"@uniswap/v4-core/src/libraries/Position.sol","id":11195,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":7898,"src":"427:69:66","symbolAliases":[{"foreign":{"id":11194,"name":"Position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7897,"src":"435:8:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/StateLibrary.sol","file":"@uniswap/v4-core/src/libraries/StateLibrary.sol","id":11197,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":9294,"src":"497:77:66","symbolAliases":[{"foreign":{"id":11196,"name":"StateLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9293,"src":"505:12:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol","file":"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol","id":11199,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":10468,"src":"575:95:66","symbolAliases":[{"foreign":{"id":11198,"name":"TransientStateLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10467,"src":"583:21:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"permit2/src/interfaces/IAllowanceTransfer.sol","file":"permit2/src/interfaces/IAllowanceTransfer.sol","id":11201,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":21004,"src":"671:81:66","symbolAliases":[{"foreign":{"id":11200,"name":"IAllowanceTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21003,"src":"679:18:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/TickMath.sol","file":"@uniswap/v4-core/src/libraries/TickMath.sol","id":11203,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":10332,"src":"753:69:66","symbolAliases":[{"foreign":{"id":11202,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"761:8:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IPositionDescriptor.sol","file":"./interfaces/IPositionDescriptor.sol","id":11205,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":15617,"src":"824:73:66","symbolAliases":[{"foreign":{"id":11204,"name":"IPositionDescriptor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15616,"src":"832:19:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/ERC721Permit_v4.sol","file":"./base/ERC721Permit_v4.sol","id":11207,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":14468,"src":"898:59:66","symbolAliases":[{"foreign":{"id":11206,"name":"ERC721Permit_v4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14467,"src":"906:15:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/ReentrancyLock.sol","file":"./base/ReentrancyLock.sol","id":11209,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":15222,"src":"958:57:66","symbolAliases":[{"foreign":{"id":11208,"name":"ReentrancyLock","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15221,"src":"966:14:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol","file":"./interfaces/IPositionManager.sol","id":11211,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":15722,"src":"1016:67:66","symbolAliases":[{"foreign":{"id":11210,"name":"IPositionManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15721,"src":"1024:16:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/Multicall_v4.sol","file":"./base/Multicall_v4.sol","id":11213,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":14578,"src":"1084:53:66","symbolAliases":[{"foreign":{"id":11212,"name":"Multicall_v4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14577,"src":"1092:12:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/PoolInitializer_v4.sol","file":"./base/PoolInitializer_v4.sol","id":11215,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":15172,"src":"1138:65:66","symbolAliases":[{"foreign":{"id":11214,"name":"PoolInitializer_v4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15171,"src":"1146:18:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/DeltaResolver.sol","file":"./base/DeltaResolver.sol","id":11217,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":14079,"src":"1204:55:66","symbolAliases":[{"foreign":{"id":11216,"name":"DeltaResolver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14078,"src":"1212:13:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol","file":"./base/BaseActionsRouter.sol","id":11219,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":13774,"src":"1260:63:66","symbolAliases":[{"foreign":{"id":11218,"name":"BaseActionsRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13773,"src":"1268:17:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/Actions.sol","file":"./libraries/Actions.sol","id":11221,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":15996,"src":"1324:48:66","symbolAliases":[{"foreign":{"id":11220,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"1332:7:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/Notifier.sol","file":"./base/Notifier.sol","id":11223,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":15037,"src":"1373:45:66","symbolAliases":[{"foreign":{"id":11222,"name":"Notifier","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15036,"src":"1381:8:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol","file":"./libraries/CalldataDecoder.sol","id":11225,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":16369,"src":"1419:64:66","symbolAliases":[{"foreign":{"id":11224,"name":"CalldataDecoder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16368,"src":"1427:15:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/Permit2Forwarder.sol","file":"./base/Permit2Forwarder.sol","id":11227,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":15125,"src":"1484:61:66","symbolAliases":[{"foreign":{"id":11226,"name":"Permit2Forwarder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15124,"src":"1492:16:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/SlippageCheck.sol","file":"./libraries/SlippageCheck.sol","id":11229,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":16982,"src":"1546:60:66","symbolAliases":[{"foreign":{"id":11228,"name":"SlippageCheck","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16981,"src":"1554:13:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol","file":"./libraries/PositionInfoLibrary.sol","id":11232,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":16831,"src":"1607:86:66","symbolAliases":[{"foreign":{"id":11230,"name":"PositionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16704,"src":"1615:12:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":11231,"name":"PositionInfoLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16830,"src":"1629:19:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol","file":"./libraries/LiquidityAmounts.sol","id":11234,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":16591,"src":"1694:66:66","symbolAliases":[{"foreign":{"id":11233,"name":"LiquidityAmounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16590,"src":"1702:16:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/NativeWrapper.sol","file":"./base/NativeWrapper.sol","id":11236,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":14666,"src":"1761:55:66","symbolAliases":[{"foreign":{"id":11235,"name":"NativeWrapper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14665,"src":"1769:13:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol","file":"./interfaces/external/IWETH9.sol","id":11238,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12833,"sourceUnit":15891,"src":"1817:56:66","symbolAliases":[{"foreign":{"id":11237,"name":"IWETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15890,"src":"1825:6:66","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":11240,"name":"IPositionManager","nameLocations":["7978:16:66"],"nodeType":"IdentifierPath","referencedDeclaration":15721,"src":"7978:16:66"},"id":11241,"nodeType":"InheritanceSpecifier","src":"7978:16:66"},{"baseName":{"id":11242,"name":"ERC721Permit_v4","nameLocations":["8000:15:66"],"nodeType":"IdentifierPath","referencedDeclaration":14467,"src":"8000:15:66"},"id":11243,"nodeType":"InheritanceSpecifier","src":"8000:15:66"},{"baseName":{"id":11244,"name":"PoolInitializer_v4","nameLocations":["8021:18:66"],"nodeType":"IdentifierPath","referencedDeclaration":15171,"src":"8021:18:66"},"id":11245,"nodeType":"InheritanceSpecifier","src":"8021:18:66"},{"baseName":{"id":11246,"name":"Multicall_v4","nameLocations":["8045:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":14577,"src":"8045:12:66"},"id":11247,"nodeType":"InheritanceSpecifier","src":"8045:12:66"},{"baseName":{"id":11248,"name":"DeltaResolver","nameLocations":["8063:13:66"],"nodeType":"IdentifierPath","referencedDeclaration":14078,"src":"8063:13:66"},"id":11249,"nodeType":"InheritanceSpecifier","src":"8063:13:66"},{"baseName":{"id":11250,"name":"ReentrancyLock","nameLocations":["8082:14:66"],"nodeType":"IdentifierPath","referencedDeclaration":15221,"src":"8082:14:66"},"id":11251,"nodeType":"InheritanceSpecifier","src":"8082:14:66"},{"baseName":{"id":11252,"name":"BaseActionsRouter","nameLocations":["8102:17:66"],"nodeType":"IdentifierPath","referencedDeclaration":13773,"src":"8102:17:66"},"id":11253,"nodeType":"InheritanceSpecifier","src":"8102:17:66"},{"baseName":{"id":11254,"name":"Notifier","nameLocations":["8125:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":15036,"src":"8125:8:66"},"id":11255,"nodeType":"InheritanceSpecifier","src":"8125:8:66"},{"baseName":{"id":11256,"name":"Permit2Forwarder","nameLocations":["8139:16:66"],"nodeType":"IdentifierPath","referencedDeclaration":15124,"src":"8139:16:66"},"id":11257,"nodeType":"InheritanceSpecifier","src":"8139:16:66"},{"baseName":{"id":11258,"name":"NativeWrapper","nameLocations":["8161:13:66"],"nodeType":"IdentifierPath","referencedDeclaration":14665,"src":"8161:13:66"},"id":11259,"nodeType":"InheritanceSpecifier","src":"8161:13:66"}],"canonicalName":"PositionManager","contractDependencies":[],"contractKind":"contract","documentation":{"id":11239,"nodeType":"StructuredDocumentation","src":"7771:175:66","text":"@notice The PositionManager (PosM) contract is responsible for creating liquidity positions on v4.\n PosM mints and manages ERC721 tokens associated with each position."},"fullyImplemented":true,"id":12832,"linearizedBaseContracts":[12832,14665,15124,15036,13773,15268,4006,15221,14078,14577,15171,14467,15343,15721,15540,15792,15557,14511,15420,14174,15353,15393,15406,15508,22368],"name":"PositionManager","nameLocation":"7955:15:66","nodeType":"ContractDefinition","nodes":[{"global":false,"id":11263,"libraryName":{"id":11260,"name":"StateLibrary","nameLocations":["8187:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":9293,"src":"8187:12:66"},"nodeType":"UsingForDirective","src":"8181:36:66","typeName":{"id":11262,"nodeType":"UserDefinedTypeName","pathNode":{"id":11261,"name":"IPoolManager","nameLocations":["8204:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"8204:12:66"},"referencedDeclaration":3917,"src":"8204:12:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}},{"global":false,"id":11267,"libraryName":{"id":11264,"name":"TransientStateLibrary","nameLocations":["8228:21:66"],"nodeType":"IdentifierPath","referencedDeclaration":10467,"src":"8228:21:66"},"nodeType":"UsingForDirective","src":"8222:45:66","typeName":{"id":11266,"nodeType":"UserDefinedTypeName","pathNode":{"id":11265,"name":"IPoolManager","nameLocations":["8254:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"8254:12:66"},"referencedDeclaration":3917,"src":"8254:12:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}},{"global":false,"id":11270,"libraryName":{"id":11268,"name":"SafeCast","nameLocations":["8278:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":8145,"src":"8278:8:66"},"nodeType":"UsingForDirective","src":"8272:27:66","typeName":{"id":11269,"name":"uint256","nodeType":"ElementaryTypeName","src":"8291:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"global":false,"id":11273,"libraryName":{"id":11271,"name":"SafeCast","nameLocations":["8310:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":8145,"src":"8310:8:66"},"nodeType":"UsingForDirective","src":"8304:26:66","typeName":{"id":11272,"name":"int256","nodeType":"ElementaryTypeName","src":"8323:6:66","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}},{"global":false,"id":11276,"libraryName":{"id":11274,"name":"CalldataDecoder","nameLocations":["8341:15:66"],"nodeType":"IdentifierPath","referencedDeclaration":16368,"src":"8341:15:66"},"nodeType":"UsingForDirective","src":"8335:32:66","typeName":{"id":11275,"name":"bytes","nodeType":"ElementaryTypeName","src":"8361:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"global":false,"id":11280,"libraryName":{"id":11277,"name":"SlippageCheck","nameLocations":["8378:13:66"],"nodeType":"IdentifierPath","referencedDeclaration":16981,"src":"8378:13:66"},"nodeType":"UsingForDirective","src":"8372:37:66","typeName":{"id":11279,"nodeType":"UserDefinedTypeName","pathNode":{"id":11278,"name":"BalanceDelta","nameLocations":["8396:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"8396:12:66"},"referencedDeclaration":10503,"src":"8396:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}},{"baseFunctions":[15691],"constant":false,"documentation":{"id":11281,"nodeType":"StructuredDocumentation","src":"8415:99:66","text":"@inheritdoc IPositionManager\n @dev The ID of the next token that will be minted. Skips 0"},"functionSelector":"75794a3c","id":11284,"mutability":"mutable","name":"nextTokenId","nameLocation":"8534:11:66","nodeType":"VariableDeclaration","scope":12832,"src":"8519:30:66","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11282,"name":"uint256","nodeType":"ElementaryTypeName","src":"8519:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"31","id":11283,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8548:1:66","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"visibility":"public"},{"constant":false,"functionSelector":"5a9d7a68","id":11287,"mutability":"immutable","name":"tokenDescriptor","nameLocation":"8593:15:66","nodeType":"VariableDeclaration","scope":12832,"src":"8556:52:66","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionDescriptor_$15616","typeString":"contract IPositionDescriptor"},"typeName":{"id":11286,"nodeType":"UserDefinedTypeName","pathNode":{"id":11285,"name":"IPositionDescriptor","nameLocations":["8556:19:66"],"nodeType":"IdentifierPath","referencedDeclaration":15616,"src":"8556:19:66"},"referencedDeclaration":15616,"src":"8556:19:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionDescriptor_$15616","typeString":"contract IPositionDescriptor"}},"visibility":"public"},{"baseFunctions":[15720],"constant":false,"functionSelector":"89097a6a","id":11292,"mutability":"mutable","name":"positionInfo","nameLocation":"8668:12:66","nodeType":"VariableDeclaration","scope":12832,"src":"8615:65:66","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"mapping(uint256 => PositionInfo)"},"typeName":{"id":11291,"keyName":"tokenId","keyNameLocation":"8631:7:66","keyType":{"id":11288,"name":"uint256","nodeType":"ElementaryTypeName","src":"8623:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"8615:45:66","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"mapping(uint256 => PositionInfo)"},"valueName":"info","valueNameLocation":"8655:4:66","valueType":{"id":11290,"nodeType":"UserDefinedTypeName","pathNode":{"id":11289,"name":"PositionInfo","nameLocations":["8642:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"8642:12:66"},"referencedDeclaration":16704,"src":"8642:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}}},"visibility":"public"},{"constant":false,"functionSelector":"86b6be7d","id":11297,"mutability":"mutable","name":"poolKeys","nameLocation":"8736:8:66","nodeType":"VariableDeclaration","scope":12832,"src":"8686:58:66","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes25_$_t_struct$_PoolKey_$11063_storage_$","typeString":"mapping(bytes25 => struct PoolKey)"},"typeName":{"id":11296,"keyName":"poolId","keyNameLocation":"8702:6:66","keyType":{"id":11293,"name":"bytes25","nodeType":"ElementaryTypeName","src":"8694:7:66","typeDescriptions":{"typeIdentifier":"t_bytes25","typeString":"bytes25"}},"nodeType":"Mapping","src":"8686:42:66","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes25_$_t_struct$_PoolKey_$11063_storage_$","typeString":"mapping(bytes25 => struct PoolKey)"},"valueName":"poolKey","valueNameLocation":"8720:7:66","valueType":{"id":11295,"nodeType":"UserDefinedTypeName","pathNode":{"id":11294,"name":"PoolKey","nameLocations":["8712:7:66"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"8712:7:66"},"referencedDeclaration":11063,"src":"8712:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}}},"visibility":"public"},{"body":{"id":11334,"nodeType":"Block","src":"9163:51:66","statements":[{"expression":{"id":11332,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":11330,"name":"tokenDescriptor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11287,"src":"9173:15:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionDescriptor_$15616","typeString":"contract IPositionDescriptor"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":11331,"name":"_tokenDescriptor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11308,"src":"9191:16:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionDescriptor_$15616","typeString":"contract IPositionDescriptor"}},"src":"9173:34:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionDescriptor_$15616","typeString":"contract IPositionDescriptor"}},"id":11333,"nodeType":"ExpressionStatement","src":"9173:34:66"}]},"id":11335,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":11314,"name":"_poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11300,"src":"8974:12:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}],"id":11315,"kind":"baseConstructorSpecifier","modifierName":{"id":11313,"name":"BaseActionsRouter","nameLocations":["8956:17:66"],"nodeType":"IdentifierPath","referencedDeclaration":13773,"src":"8956:17:66"},"nodeType":"ModifierInvocation","src":"8956:31:66"},{"arguments":[{"id":11317,"name":"_permit2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11303,"src":"9013:8:66","typeDescriptions":{"typeIdentifier":"t_contract$_IAllowanceTransfer_$21003","typeString":"contract IAllowanceTransfer"}}],"id":11318,"kind":"baseConstructorSpecifier","modifierName":{"id":11316,"name":"Permit2Forwarder","nameLocations":["8996:16:66"],"nodeType":"IdentifierPath","referencedDeclaration":15124,"src":"8996:16:66"},"nodeType":"ModifierInvocation","src":"8996:26:66"},{"arguments":[{"hexValue":"556e697377617020763420506f736974696f6e73204e4654","id":11320,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"9047:26:66","typeDescriptions":{"typeIdentifier":"t_stringliteral_7cdd38ae70f02d5eb954d5bafbadb6e6ee2067b58a9dbed8e6c370c9a571913e","typeString":"literal_string \"Uniswap v4 Positions NFT\""},"value":"Uniswap v4 Positions NFT"},{"hexValue":"554e492d56342d504f534d","id":11321,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"9075:13:66","typeDescriptions":{"typeIdentifier":"t_stringliteral_123d29ef951eed2965942a1afacfb98ef7f6f5273a4aad55e5c35f10395c2c38","typeString":"literal_string \"UNI-V4-POSM\""},"value":"UNI-V4-POSM"}],"id":11322,"kind":"baseConstructorSpecifier","modifierName":{"id":11319,"name":"ERC721Permit_v4","nameLocations":["9031:15:66"],"nodeType":"IdentifierPath","referencedDeclaration":14467,"src":"9031:15:66"},"nodeType":"ModifierInvocation","src":"9031:58:66"},{"arguments":[{"id":11324,"name":"_unsubscribeGasLimit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11305,"src":"9107:20:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":11325,"kind":"baseConstructorSpecifier","modifierName":{"id":11323,"name":"Notifier","nameLocations":["9098:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":15036,"src":"9098:8:66"},"nodeType":"ModifierInvocation","src":"9098:30:66"},{"arguments":[{"id":11327,"name":"_weth9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11311,"src":"9151:6:66","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}}],"id":11328,"kind":"baseConstructorSpecifier","modifierName":{"id":11326,"name":"NativeWrapper","nameLocations":["9137:13:66"],"nodeType":"IdentifierPath","referencedDeclaration":14665,"src":"9137:13:66"},"nodeType":"ModifierInvocation","src":"9137:21:66"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":11312,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11300,"mutability":"mutable","name":"_poolManager","nameLocation":"8785:12:66","nodeType":"VariableDeclaration","scope":11335,"src":"8772:25:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":11299,"nodeType":"UserDefinedTypeName","pathNode":{"id":11298,"name":"IPoolManager","nameLocations":["8772:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"8772:12:66"},"referencedDeclaration":3917,"src":"8772:12:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"},{"constant":false,"id":11303,"mutability":"mutable","name":"_permit2","nameLocation":"8826:8:66","nodeType":"VariableDeclaration","scope":11335,"src":"8807:27:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IAllowanceTransfer_$21003","typeString":"contract IAllowanceTransfer"},"typeName":{"id":11302,"nodeType":"UserDefinedTypeName","pathNode":{"id":11301,"name":"IAllowanceTransfer","nameLocations":["8807:18:66"],"nodeType":"IdentifierPath","referencedDeclaration":21003,"src":"8807:18:66"},"referencedDeclaration":21003,"src":"8807:18:66","typeDescriptions":{"typeIdentifier":"t_contract$_IAllowanceTransfer_$21003","typeString":"contract IAllowanceTransfer"}},"visibility":"internal"},{"constant":false,"id":11305,"mutability":"mutable","name":"_unsubscribeGasLimit","nameLocation":"8852:20:66","nodeType":"VariableDeclaration","scope":11335,"src":"8844:28:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11304,"name":"uint256","nodeType":"ElementaryTypeName","src":"8844:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11308,"mutability":"mutable","name":"_tokenDescriptor","nameLocation":"8902:16:66","nodeType":"VariableDeclaration","scope":11335,"src":"8882:36:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionDescriptor_$15616","typeString":"contract IPositionDescriptor"},"typeName":{"id":11307,"nodeType":"UserDefinedTypeName","pathNode":{"id":11306,"name":"IPositionDescriptor","nameLocations":["8882:19:66"],"nodeType":"IdentifierPath","referencedDeclaration":15616,"src":"8882:19:66"},"referencedDeclaration":15616,"src":"8882:19:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionDescriptor_$15616","typeString":"contract IPositionDescriptor"}},"visibility":"internal"},{"constant":false,"id":11311,"mutability":"mutable","name":"_weth9","nameLocation":"8935:6:66","nodeType":"VariableDeclaration","scope":11335,"src":"8928:13:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"},"typeName":{"id":11310,"nodeType":"UserDefinedTypeName","pathNode":{"id":11309,"name":"IWETH9","nameLocations":["8928:6:66"],"nodeType":"IdentifierPath","referencedDeclaration":15890,"src":"8928:6:66"},"referencedDeclaration":15890,"src":"8928:6:66","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"visibility":"internal"}],"src":"8762:185:66"},"returnParameters":{"id":11329,"nodeType":"ParameterList","parameters":[],"src":"9163:0:66"},"scope":12832,"src":"8751:463:66","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":11350,"nodeType":"Block","src":"9412:91:66","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11343,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":11340,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"9426:5:66","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":11341,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9432:9:66","memberName":"timestamp","nodeType":"MemberAccess","src":"9426:15:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":11342,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11338,"src":"9444:8:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9426:26:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11348,"nodeType":"IfStatement","src":"9422:63:66","trueBody":{"errorCall":{"arguments":[{"id":11345,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11338,"src":"9476:8:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11344,"name":"DeadlinePassed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15665,"src":"9461:14:66","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":11346,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9461:24:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":11347,"nodeType":"RevertStatement","src":"9454:31:66"}},{"id":11349,"nodeType":"PlaceholderStatement","src":"9495:1:66"}]},"documentation":{"id":11336,"nodeType":"StructuredDocumentation","src":"9220:146:66","text":"@notice Reverts if the deadline has passed\n @param deadline The timestamp at which the call is no longer valid, passed in by the caller"},"id":11351,"name":"checkDeadline","nameLocation":"9380:13:66","nodeType":"ModifierDefinition","parameters":{"id":11339,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11338,"mutability":"mutable","name":"deadline","nameLocation":"9402:8:66","nodeType":"VariableDeclaration","scope":11351,"src":"9394:16:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11337,"name":"uint256","nodeType":"ElementaryTypeName","src":"9394:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9393:18:66"},"src":"9371:132:66","virtual":false,"visibility":"internal"},{"baseModifiers":[14717],"body":{"id":11370,"nodeType":"Block","src":"9985:96:66","statements":[{"condition":{"id":11363,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"9999:36:66","subExpression":{"arguments":[{"id":11360,"name":"caller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11354,"src":"10019:6:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":11361,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11356,"src":"10027:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11359,"name":"_isApprovedOrOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14466,"src":"10000:18:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) view returns (bool)"}},"id":11362,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10000:35:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11368,"nodeType":"IfStatement","src":"9995:68:66","trueBody":{"errorCall":{"arguments":[{"id":11365,"name":"caller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11354,"src":"10056:6:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":11364,"name":"NotApproved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15660,"src":"10044:11:66","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":11366,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10044:19:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":11367,"nodeType":"RevertStatement","src":"10037:26:66"}},{"id":11369,"nodeType":"PlaceholderStatement","src":"10073:1:66"}]},"documentation":{"id":11352,"nodeType":"StructuredDocumentation","src":"9509:405:66","text":"@notice Reverts if the caller is not the owner or approved for the ERC721 token\n @param caller The address of the caller\n @param tokenId the unique identifier of the ERC721 token\n @dev either msg.sender or msgSender() is passed in as the caller\n msgSender() should ONLY be used if this is called from within the unlockCallback, unless the codepath has reentrancy protection"},"id":11371,"name":"onlyIfApproved","nameLocation":"9928:14:66","nodeType":"ModifierDefinition","overrides":{"id":11358,"nodeType":"OverrideSpecifier","overrides":[],"src":"9976:8:66"},"parameters":{"id":11357,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11354,"mutability":"mutable","name":"caller","nameLocation":"9951:6:66","nodeType":"VariableDeclaration","scope":11371,"src":"9943:14:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11353,"name":"address","nodeType":"ElementaryTypeName","src":"9943:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":11356,"mutability":"mutable","name":"tokenId","nameLocation":"9967:7:66","nodeType":"VariableDeclaration","scope":11371,"src":"9959:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11355,"name":"uint256","nodeType":"ElementaryTypeName","src":"9959:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9942:33:66"},"src":"9919:162:66","virtual":false,"visibility":"internal"},{"baseModifiers":[14720],"body":{"id":11383,"nodeType":"Block","src":"10188:90:66","statements":[{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11375,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"10202:11:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":11376,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10214:10:66","memberName":"isUnlocked","nodeType":"MemberAccess","referencedDeclaration":10466,"src":"10202:22:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_contract$_IPoolManager_$3917_$returns$_t_bool_$attached_to$_t_contract$_IPoolManager_$3917_$","typeString":"function (contract IPoolManager) view returns (bool)"}},"id":11377,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10202:24:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11381,"nodeType":"IfStatement","src":"10198:62:66","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":11378,"name":"PoolManagerMustBeLocked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15668,"src":"10235:23:66","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":11379,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10235:25:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":11380,"nodeType":"RevertStatement","src":"10228:32:66"}},{"id":11382,"nodeType":"PlaceholderStatement","src":"10270:1:66"}]},"documentation":{"id":11372,"nodeType":"StructuredDocumentation","src":"10087:52:66","text":"@notice Enforces that the PoolManager is locked."},"id":11384,"name":"onlyIfPoolManagerLocked","nameLocation":"10153:23:66","nodeType":"ModifierDefinition","overrides":{"id":11374,"nodeType":"OverrideSpecifier","overrides":[],"src":"10179:8:66"},"parameters":{"id":11373,"nodeType":"ParameterList","parameters":[],"src":"10176:2:66"},"src":"10144:134:66","virtual":false,"visibility":"internal"},{"baseFunctions":[21862],"body":{"id":11400,"nodeType":"Block","src":"10364:84:66","statements":[{"expression":{"arguments":[{"id":11396,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"10427:4:66","typeDescriptions":{"typeIdentifier":"t_contract$_PositionManager_$12832","typeString":"contract PositionManager"}},{"id":11397,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11386,"src":"10433:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_PositionManager_$12832","typeString":"contract PositionManager"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":11393,"name":"tokenDescriptor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11287,"src":"10401:15:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionDescriptor_$15616","typeString":"contract IPositionDescriptor"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPositionDescriptor_$15616","typeString":"contract IPositionDescriptor"}],"id":11392,"name":"IPositionDescriptor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15616,"src":"10381:19:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IPositionDescriptor_$15616_$","typeString":"type(contract IPositionDescriptor)"}},"id":11394,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10381:36:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IPositionDescriptor_$15616","typeString":"contract IPositionDescriptor"}},"id":11395,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10418:8:66","memberName":"tokenURI","nodeType":"MemberAccess","referencedDeclaration":15578,"src":"10381:45:66","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_contract$_IPositionManager_$15721_$_t_uint256_$returns$_t_string_memory_ptr_$","typeString":"function (contract IPositionManager,uint256) view external returns (string memory)"}},"id":11398,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10381:60:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":11391,"id":11399,"nodeType":"Return","src":"10374:67:66"}]},"functionSelector":"c87b56dd","id":11401,"implemented":true,"kind":"function","modifiers":[],"name":"tokenURI","nameLocation":"10293:8:66","nodeType":"FunctionDefinition","overrides":{"id":11388,"nodeType":"OverrideSpecifier","overrides":[],"src":"10331:8:66"},"parameters":{"id":11387,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11386,"mutability":"mutable","name":"tokenId","nameLocation":"10310:7:66","nodeType":"VariableDeclaration","scope":11401,"src":"10302:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11385,"name":"uint256","nodeType":"ElementaryTypeName","src":"10302:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10301:17:66"},"returnParameters":{"id":11391,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11390,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":11401,"src":"10349:13:66","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":11389,"name":"string","nodeType":"ElementaryTypeName","src":"10349:6:66","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"10348:15:66"},"scope":12832,"src":"10284:164:66","stateMutability":"view","virtual":false,"visibility":"public"},{"baseFunctions":[15676],"body":{"id":11418,"nodeType":"Block","src":"10652:44:66","statements":[{"expression":{"arguments":[{"id":11415,"name":"unlockData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11404,"src":"10678:10:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":11414,"name":"_executeActions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13632,"src":"10662:15:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes_calldata_ptr_$returns$__$","typeString":"function (bytes calldata)"}},"id":11416,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10662:27:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11417,"nodeType":"ExpressionStatement","src":"10662:27:66"}]},"documentation":{"id":11402,"nodeType":"StructuredDocumentation","src":"10454:32:66","text":"@inheritdoc IPositionManager"},"functionSelector":"dd46508f","id":11419,"implemented":true,"kind":"function","modifiers":[{"id":11409,"kind":"modifierInvocation","modifierName":{"id":11408,"name":"isNotLocked","nameLocations":["10604:11:66"],"nodeType":"IdentifierPath","referencedDeclaration":15210,"src":"10604:11:66"},"nodeType":"ModifierInvocation","src":"10604:11:66"},{"arguments":[{"id":11411,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11406,"src":"10638:8:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":11412,"kind":"modifierInvocation","modifierName":{"id":11410,"name":"checkDeadline","nameLocations":["10624:13:66"],"nodeType":"IdentifierPath","referencedDeclaration":11351,"src":"10624:13:66"},"nodeType":"ModifierInvocation","src":"10624:23:66"}],"name":"modifyLiquidities","nameLocation":"10500:17:66","nodeType":"FunctionDefinition","parameters":{"id":11407,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11404,"mutability":"mutable","name":"unlockData","nameLocation":"10533:10:66","nodeType":"VariableDeclaration","scope":11419,"src":"10518:25:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":11403,"name":"bytes","nodeType":"ElementaryTypeName","src":"10518:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":11406,"mutability":"mutable","name":"deadline","nameLocation":"10553:8:66","nodeType":"VariableDeclaration","scope":11419,"src":"10545:16:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11405,"name":"uint256","nodeType":"ElementaryTypeName","src":"10545:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10517:45:66"},"returnParameters":{"id":11413,"nodeType":"ParameterList","parameters":[],"src":"10652:0:66"},"scope":12832,"src":"10491:205:66","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[15685],"body":{"id":11435,"nodeType":"Block","src":"10885:62:66","statements":[{"expression":{"arguments":[{"id":11431,"name":"actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11422,"src":"10924:7:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":11432,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11425,"src":"10933:6:66","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}],"id":11430,"name":"_executeActionsWithoutUnlock","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13708,"src":"10895:28:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$returns$__$","typeString":"function (bytes calldata,bytes calldata[] calldata)"}},"id":11433,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10895:45:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11434,"nodeType":"ExpressionStatement","src":"10895:45:66"}]},"documentation":{"id":11420,"nodeType":"StructuredDocumentation","src":"10702:32:66","text":"@inheritdoc IPositionManager"},"functionSelector":"4afe393c","id":11436,"implemented":true,"kind":"function","modifiers":[{"id":11428,"kind":"modifierInvocation","modifierName":{"id":11427,"name":"isNotLocked","nameLocations":["10869:11:66"],"nodeType":"IdentifierPath","referencedDeclaration":15210,"src":"10869:11:66"},"nodeType":"ModifierInvocation","src":"10869:11:66"}],"name":"modifyLiquiditiesWithoutUnlock","nameLocation":"10748:30:66","nodeType":"FunctionDefinition","parameters":{"id":11426,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11422,"mutability":"mutable","name":"actions","nameLocation":"10794:7:66","nodeType":"VariableDeclaration","scope":11436,"src":"10779:22:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":11421,"name":"bytes","nodeType":"ElementaryTypeName","src":"10779:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":11425,"mutability":"mutable","name":"params","nameLocation":"10820:6:66","nodeType":"VariableDeclaration","scope":11436,"src":"10803:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":11423,"name":"bytes","nodeType":"ElementaryTypeName","src":"10803:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":11424,"nodeType":"ArrayTypeName","src":"10803:7:66","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"src":"10778:49:66"},"returnParameters":{"id":11429,"nodeType":"ParameterList","parameters":[],"src":"10885:0:66"},"scope":12832,"src":"10739:208:66","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[13722],"body":{"id":11446,"nodeType":"Block","src":"11051:36:66","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":11443,"name":"_getLocker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15220,"src":"11068:10:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":11444,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11068:12:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":11442,"id":11445,"nodeType":"Return","src":"11061:19:66"}]},"documentation":{"id":11437,"nodeType":"StructuredDocumentation","src":"10953:33:66","text":"@inheritdoc BaseActionsRouter"},"functionSelector":"d737d0c7","id":11447,"implemented":true,"kind":"function","modifiers":[],"name":"msgSender","nameLocation":"11000:9:66","nodeType":"FunctionDefinition","overrides":{"id":11439,"nodeType":"OverrideSpecifier","overrides":[],"src":"11024:8:66"},"parameters":{"id":11438,"nodeType":"ParameterList","parameters":[],"src":"11009:2:66"},"returnParameters":{"id":11442,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11441,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":11447,"src":"11042:7:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11440,"name":"address","nodeType":"ElementaryTypeName","src":"11042:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"11041:9:66"},"scope":12832,"src":"10991:96:66","stateMutability":"view","virtual":false,"visibility":"public"},{"baseFunctions":[13716],"body":{"id":11880,"nodeType":"Block","src":"11181:4879:66","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11458,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11455,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"11195:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":11456,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"11204:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11457,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11212:6:66","memberName":"SETTLE","nodeType":"MemberAccess","referencedDeclaration":15955,"src":"11204:14:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11195:23:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":11874,"nodeType":"Block","src":"13836:2176:66","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11652,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11649,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"13854:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11650,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"13864:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11651,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13872:11:66","memberName":"SETTLE_PAIR","nodeType":"MemberAccess","referencedDeclaration":15961,"src":"13864:19:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13854:29:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11673,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11670,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"14073:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11671,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"14083:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11672,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14091:9:66","memberName":"TAKE_PAIR","nodeType":"MemberAccess","referencedDeclaration":15973,"src":"14083:17:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14073:27:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11699,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11696,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"14343:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11697,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"14353:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11698,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14361:6:66","memberName":"SETTLE","nodeType":"MemberAccess","referencedDeclaration":15955,"src":"14353:14:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14343:24:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11727,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11724,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"14624:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11725,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"14634:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11726,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14642:4:66","memberName":"TAKE","nodeType":"MemberAccess","referencedDeclaration":15964,"src":"14634:12:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14624:22:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11755,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11752,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"14905:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11753,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"14915:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11754,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14923:14:66","memberName":"CLOSE_CURRENCY","nodeType":"MemberAccess","referencedDeclaration":15976,"src":"14915:22:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14905:32:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11772,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11769,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"15083:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11770,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"15093:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11771,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15101:13:66","memberName":"CLEAR_OR_TAKE","nodeType":"MemberAccess","referencedDeclaration":15979,"src":"15093:21:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15083:31:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11792,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11789,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"15308:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11790,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"15318:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11791,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15326:5:66","memberName":"SWEEP","nodeType":"MemberAccess","referencedDeclaration":15982,"src":"15318:13:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15308:23:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11814,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11811,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"15520:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11812,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"15530:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11813,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15538:4:66","memberName":"WRAP","nodeType":"MemberAccess","referencedDeclaration":15985,"src":"15530:12:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15520:22:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11841,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11838,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"15764:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11839,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"15774:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11840,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15782:6:66","memberName":"UNWRAP","nodeType":"MemberAccess","referencedDeclaration":15988,"src":"15774:14:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15764:24:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11865,"nodeType":"IfStatement","src":"15760:242:66","trueBody":{"id":11864,"nodeType":"Block","src":"15790:212:66","statements":[{"assignments":[11843],"declarations":[{"constant":false,"id":11843,"mutability":"mutable","name":"amount","nameLocation":"15816:6:66","nodeType":"VariableDeclaration","scope":11864,"src":"15808:14:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11842,"name":"uint256","nodeType":"ElementaryTypeName","src":"15808:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":11847,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11844,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"15825:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11845,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15832:13:66","memberName":"decodeUint256","nodeType":"MemberAccess","referencedDeclaration":16337,"src":"15825:20:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_uint256_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (uint256)"}},"id":11846,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15825:22:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"15808:39:66"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"id":11854,"name":"WETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14592,"src":"15916:5:66","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}],"id":11853,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15908:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":11852,"name":"address","nodeType":"ElementaryTypeName","src":"15908:7:66","typeDescriptions":{}}},"id":11855,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15908:14:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":11850,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"15894:8:66","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":11851,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15903:4:66","memberName":"wrap","nodeType":"MemberAccess","src":"15894:13:66","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_address_$returns$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (address) pure returns (Currency)"}},"id":11856,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15894:29:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":11857,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11843,"src":"15925:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":11858,"name":"CurrencyLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11011,"src":"15933:15:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurrencyLibrary_$11011_$","typeString":"type(library CurrencyLibrary)"}},"id":11859,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15949:12:66","memberName":"ADDRESS_ZERO","nodeType":"MemberAccess","referencedDeclaration":10834,"src":"15933:28:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":11849,"name":"_mapWrapUnwrapAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14077,"src":"15873:20:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency,uint256,Currency) view returns (uint256)"}},"id":11860,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15873:89:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11848,"name":"_unwrap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14641,"src":"15865:7:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":11861,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15865:98:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11862,"nodeType":"ExpressionStatement","src":"15865:98:66"},{"functionReturnParameters":11454,"id":11863,"nodeType":"Return","src":"15981:7:66"}]}},"id":11866,"nodeType":"IfStatement","src":"15516:486:66","trueBody":{"id":11837,"nodeType":"Block","src":"15544:210:66","statements":[{"assignments":[11816],"declarations":[{"constant":false,"id":11816,"mutability":"mutable","name":"amount","nameLocation":"15570:6:66","nodeType":"VariableDeclaration","scope":11837,"src":"15562:14:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11815,"name":"uint256","nodeType":"ElementaryTypeName","src":"15562:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":11820,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11817,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"15579:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11818,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15586:13:66","memberName":"decodeUint256","nodeType":"MemberAccess","referencedDeclaration":16337,"src":"15579:20:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_uint256_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (uint256)"}},"id":11819,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15579:22:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"15562:39:66"},{"expression":{"arguments":[{"arguments":[{"expression":{"id":11823,"name":"CurrencyLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11011,"src":"15646:15:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CurrencyLibrary_$11011_$","typeString":"type(library CurrencyLibrary)"}},"id":11824,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15662:12:66","memberName":"ADDRESS_ZERO","nodeType":"MemberAccess","referencedDeclaration":10834,"src":"15646:28:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":11825,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11816,"src":"15676:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"arguments":[{"id":11830,"name":"WETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14592,"src":"15706:5:66","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}],"id":11829,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15698:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":11828,"name":"address","nodeType":"ElementaryTypeName","src":"15698:7:66","typeDescriptions":{}}},"id":11831,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15698:14:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":11826,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"15684:8:66","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":11827,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15693:4:66","memberName":"wrap","nodeType":"MemberAccess","src":"15684:13:66","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_address_$returns$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (address) pure returns (Currency)"}},"id":11832,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15684:29:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":11822,"name":"_mapWrapUnwrapAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14077,"src":"15625:20:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency,uint256,Currency) view returns (uint256)"}},"id":11833,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15625:89:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11821,"name":"_wrap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14624,"src":"15619:5:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":11834,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15619:96:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11835,"nodeType":"ExpressionStatement","src":"15619:96:66"},{"functionReturnParameters":11454,"id":11836,"nodeType":"Return","src":"15733:7:66"}]}},"id":11867,"nodeType":"IfStatement","src":"15304:698:66","trueBody":{"id":11810,"nodeType":"Block","src":"15333:177:66","statements":[{"assignments":[11795,11797],"declarations":[{"constant":false,"id":11795,"mutability":"mutable","name":"currency","nameLocation":"15361:8:66","nodeType":"VariableDeclaration","scope":11810,"src":"15352:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":11794,"nodeType":"UserDefinedTypeName","pathNode":{"id":11793,"name":"Currency","nameLocations":["15352:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"15352:8:66"},"referencedDeclaration":10717,"src":"15352:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":11797,"mutability":"mutable","name":"to","nameLocation":"15379:2:66","nodeType":"VariableDeclaration","scope":11810,"src":"15371:10:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11796,"name":"address","nodeType":"ElementaryTypeName","src":"15371:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":11801,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11798,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"15385:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11799,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15392:24:66","memberName":"decodeCurrencyAndAddress","nodeType":"MemberAccess","referencedDeclaration":16299,"src":"15385:31:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Currency_$10717_$_t_address_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (Currency,address)"}},"id":11800,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15385:33:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_address_$","typeString":"tuple(Currency,address)"}},"nodeType":"VariableDeclarationStatement","src":"15351:67:66"},{"expression":{"arguments":[{"id":11803,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11795,"src":"15443:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[{"id":11805,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11797,"src":"15467:2:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":11804,"name":"_mapRecipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13754,"src":"15453:13:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":11806,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15453:17:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"}],"id":11802,"name":"_sweep","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12556,"src":"15436:6:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$returns$__$","typeString":"function (Currency,address)"}},"id":11807,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15436:35:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11808,"nodeType":"ExpressionStatement","src":"15436:35:66"},{"functionReturnParameters":11454,"id":11809,"nodeType":"Return","src":"15489:7:66"}]}},"id":11868,"nodeType":"IfStatement","src":"15079:923:66","trueBody":{"id":11788,"nodeType":"Block","src":"15116:182:66","statements":[{"assignments":[11775,11777],"declarations":[{"constant":false,"id":11775,"mutability":"mutable","name":"currency","nameLocation":"15144:8:66","nodeType":"VariableDeclaration","scope":11788,"src":"15135:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":11774,"nodeType":"UserDefinedTypeName","pathNode":{"id":11773,"name":"Currency","nameLocations":["15135:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"15135:8:66"},"referencedDeclaration":10717,"src":"15135:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":11777,"mutability":"mutable","name":"amountMax","nameLocation":"15162:9:66","nodeType":"VariableDeclaration","scope":11788,"src":"15154:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11776,"name":"uint256","nodeType":"ElementaryTypeName","src":"15154:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":11781,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11778,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"15175:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11779,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15182:24:66","memberName":"decodeCurrencyAndUint256","nodeType":"MemberAccess","referencedDeclaration":16327,"src":"15175:31:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (Currency,uint256)"}},"id":11780,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15175:33:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$","typeString":"tuple(Currency,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"15134:74:66"},{"expression":{"arguments":[{"id":11783,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11775,"src":"15239:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":11784,"name":"amountMax","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11777,"src":"15249:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11782,"name":"_clearOrTake","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12529,"src":"15226:12:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$returns$__$","typeString":"function (Currency,uint256)"}},"id":11785,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15226:33:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11786,"nodeType":"ExpressionStatement","src":"15226:33:66"},{"functionReturnParameters":11454,"id":11787,"nodeType":"Return","src":"15277:7:66"}]}},"id":11869,"nodeType":"IfStatement","src":"14901:1101:66","trueBody":{"id":11768,"nodeType":"Block","src":"14939:134:66","statements":[{"assignments":[11758],"declarations":[{"constant":false,"id":11758,"mutability":"mutable","name":"currency","nameLocation":"14966:8:66","nodeType":"VariableDeclaration","scope":11768,"src":"14957:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":11757,"nodeType":"UserDefinedTypeName","pathNode":{"id":11756,"name":"Currency","nameLocations":["14957:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"14957:8:66"},"referencedDeclaration":10717,"src":"14957:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"id":11762,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11759,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"14977:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11760,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14984:14:66","memberName":"decodeCurrency","nodeType":"MemberAccess","referencedDeclaration":16256,"src":"14977:21:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Currency_$10717_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (Currency)"}},"id":11761,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14977:23:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"VariableDeclarationStatement","src":"14957:43:66"},{"expression":{"arguments":[{"id":11764,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11758,"src":"15025:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":11763,"name":"_close","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12488,"src":"15018:6:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$returns$__$","typeString":"function (Currency)"}},"id":11765,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15018:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11766,"nodeType":"ExpressionStatement","src":"15018:16:66"},{"functionReturnParameters":11454,"id":11767,"nodeType":"Return","src":"15052:7:66"}]}},"id":11870,"nodeType":"IfStatement","src":"14620:1382:66","trueBody":{"id":11751,"nodeType":"Block","src":"14648:247:66","statements":[{"assignments":[11730,11732,11734],"declarations":[{"constant":false,"id":11730,"mutability":"mutable","name":"currency","nameLocation":"14676:8:66","nodeType":"VariableDeclaration","scope":11751,"src":"14667:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":11729,"nodeType":"UserDefinedTypeName","pathNode":{"id":11728,"name":"Currency","nameLocations":["14667:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"14667:8:66"},"referencedDeclaration":10717,"src":"14667:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":11732,"mutability":"mutable","name":"recipient","nameLocation":"14694:9:66","nodeType":"VariableDeclaration","scope":11751,"src":"14686:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11731,"name":"address","nodeType":"ElementaryTypeName","src":"14686:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":11734,"mutability":"mutable","name":"amount","nameLocation":"14713:6:66","nodeType":"VariableDeclaration","scope":11751,"src":"14705:14:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11733,"name":"uint256","nodeType":"ElementaryTypeName","src":"14705:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":11738,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11735,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"14723:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11736,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14730:31:66","memberName":"decodeCurrencyAddressAndUint256","nodeType":"MemberAccess","referencedDeclaration":16314,"src":"14723:38:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (Currency,address,uint256)"}},"id":11737,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14723:40:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$","typeString":"tuple(Currency,address,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"14666:97:66"},{"expression":{"arguments":[{"id":11740,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11730,"src":"14787:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[{"id":11742,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11732,"src":"14811:9:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":11741,"name":"_mapRecipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13754,"src":"14797:13:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":11743,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14797:24:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":11745,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11734,"src":"14838:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11746,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11730,"src":"14846:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":11744,"name":"_mapTakeAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14023,"src":"14823:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (uint256,Currency) view returns (uint256)"}},"id":11747,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14823:32:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11739,"name":"_take","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13832,"src":"14781:5:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":11748,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14781:75:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11749,"nodeType":"ExpressionStatement","src":"14781:75:66"},{"functionReturnParameters":11454,"id":11750,"nodeType":"Return","src":"14874:7:66"}]}},"id":11871,"nodeType":"IfStatement","src":"14339:1663:66","trueBody":{"id":11723,"nodeType":"Block","src":"14369:245:66","statements":[{"assignments":[11702,11704,11706],"declarations":[{"constant":false,"id":11702,"mutability":"mutable","name":"currency","nameLocation":"14397:8:66","nodeType":"VariableDeclaration","scope":11723,"src":"14388:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":11701,"nodeType":"UserDefinedTypeName","pathNode":{"id":11700,"name":"Currency","nameLocations":["14388:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"14388:8:66"},"referencedDeclaration":10717,"src":"14388:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":11704,"mutability":"mutable","name":"amount","nameLocation":"14415:6:66","nodeType":"VariableDeclaration","scope":11723,"src":"14407:14:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11703,"name":"uint256","nodeType":"ElementaryTypeName","src":"14407:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11706,"mutability":"mutable","name":"payerIsUser","nameLocation":"14428:11:66","nodeType":"VariableDeclaration","scope":11723,"src":"14423:16:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":11705,"name":"bool","nodeType":"ElementaryTypeName","src":"14423:4:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":11710,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11707,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"14443:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11708,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14450:28:66","memberName":"decodeCurrencyUint256AndBool","nodeType":"MemberAccess","referencedDeclaration":16352,"src":"14443:35:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$_t_bool_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (Currency,uint256,bool)"}},"id":11709,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14443:37:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$_t_bool_$","typeString":"tuple(Currency,uint256,bool)"}},"nodeType":"VariableDeclarationStatement","src":"14387:93:66"},{"expression":{"arguments":[{"id":11712,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11702,"src":"14506:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[{"id":11714,"name":"payerIsUser","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11706,"src":"14526:11:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":11713,"name":"_mapPayer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13772,"src":"14516:9:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bool_$returns$_t_address_$","typeString":"function (bool) view returns (address)"}},"id":11715,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14516:22:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":11717,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11704,"src":"14557:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11718,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11702,"src":"14565:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":11716,"name":"_mapSettleAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13998,"src":"14540:16:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (uint256,Currency) view returns (uint256)"}},"id":11719,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14540:34:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11711,"name":"_settle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13879,"src":"14498:7:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":11720,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14498:77:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11721,"nodeType":"ExpressionStatement","src":"14498:77:66"},{"functionReturnParameters":11454,"id":11722,"nodeType":"Return","src":"14593:7:66"}]}},"id":11872,"nodeType":"IfStatement","src":"14069:1933:66","trueBody":{"id":11695,"nodeType":"Block","src":"14102:231:66","statements":[{"assignments":[11676,11679,11681],"declarations":[{"constant":false,"id":11676,"mutability":"mutable","name":"currency0","nameLocation":"14130:9:66","nodeType":"VariableDeclaration","scope":11695,"src":"14121:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":11675,"nodeType":"UserDefinedTypeName","pathNode":{"id":11674,"name":"Currency","nameLocations":["14121:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"14121:8:66"},"referencedDeclaration":10717,"src":"14121:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":11679,"mutability":"mutable","name":"currency1","nameLocation":"14150:9:66","nodeType":"VariableDeclaration","scope":11695,"src":"14141:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":11678,"nodeType":"UserDefinedTypeName","pathNode":{"id":11677,"name":"Currency","nameLocations":["14141:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"14141:8:66"},"referencedDeclaration":10717,"src":"14141:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":11681,"mutability":"mutable","name":"recipient","nameLocation":"14169:9:66","nodeType":"VariableDeclaration","scope":11695,"src":"14161:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11680,"name":"address","nodeType":"ElementaryTypeName","src":"14161:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":11685,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11682,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"14182:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11683,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14189:28:66","memberName":"decodeCurrencyPairAndAddress","nodeType":"MemberAccess","referencedDeclaration":16286,"src":"14182:35:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Currency_$10717_$_t_userDefinedValueType$_Currency_$10717_$_t_address_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (Currency,Currency,address)"}},"id":11684,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14182:37:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_userDefinedValueType$_Currency_$10717_$_t_address_$","typeString":"tuple(Currency,Currency,address)"}},"nodeType":"VariableDeclarationStatement","src":"14120:99:66"},{"expression":{"arguments":[{"id":11687,"name":"currency0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11676,"src":"14247:9:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":11688,"name":"currency1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11679,"src":"14258:9:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[{"id":11690,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11681,"src":"14283:9:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":11689,"name":"_mapRecipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13754,"src":"14269:13:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":11691,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14269:24:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"}],"id":11686,"name":"_takePair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12440,"src":"14237:9:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_userDefinedValueType$_Currency_$10717_$_t_address_$returns$__$","typeString":"function (Currency,Currency,address)"}},"id":11692,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14237:57:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11693,"nodeType":"ExpressionStatement","src":"14237:57:66"},{"functionReturnParameters":11454,"id":11694,"nodeType":"Return","src":"14312:7:66"}]}},"id":11873,"nodeType":"IfStatement","src":"13850:2152:66","trueBody":{"id":11669,"nodeType":"Block","src":"13885:178:66","statements":[{"assignments":[11655,11658],"declarations":[{"constant":false,"id":11655,"mutability":"mutable","name":"currency0","nameLocation":"13913:9:66","nodeType":"VariableDeclaration","scope":11669,"src":"13904:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":11654,"nodeType":"UserDefinedTypeName","pathNode":{"id":11653,"name":"Currency","nameLocations":["13904:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"13904:8:66"},"referencedDeclaration":10717,"src":"13904:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":11658,"mutability":"mutable","name":"currency1","nameLocation":"13933:9:66","nodeType":"VariableDeclaration","scope":11669,"src":"13924:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":11657,"nodeType":"UserDefinedTypeName","pathNode":{"id":11656,"name":"Currency","nameLocations":["13924:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"13924:8:66"},"referencedDeclaration":10717,"src":"13924:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"id":11662,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11659,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"13946:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11660,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13953:18:66","memberName":"decodeCurrencyPair","nodeType":"MemberAccess","referencedDeclaration":16270,"src":"13946:25:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Currency_$10717_$_t_userDefinedValueType$_Currency_$10717_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (Currency,Currency)"}},"id":11661,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13946:27:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_userDefinedValueType$_Currency_$10717_$","typeString":"tuple(Currency,Currency)"}},"nodeType":"VariableDeclarationStatement","src":"13903:70:66"},{"expression":{"arguments":[{"id":11664,"name":"currency0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11655,"src":"14003:9:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":11665,"name":"currency1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11658,"src":"14014:9:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":11663,"name":"_settlePair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12412,"src":"13991:11:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_userDefinedValueType$_Currency_$10717_$returns$__$","typeString":"function (Currency,Currency)"}},"id":11666,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13991:33:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11667,"nodeType":"ExpressionStatement","src":"13991:33:66"},{"functionReturnParameters":11454,"id":11668,"nodeType":"Return","src":"14042:7:66"}]}}]},"id":11875,"nodeType":"IfStatement","src":"11191:4821:66","trueBody":{"id":11648,"nodeType":"Block","src":"11220:2610:66","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11462,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11459,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"11238:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11460,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"11248:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11461,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11256:18:66","memberName":"INCREASE_LIQUIDITY","nodeType":"MemberAccess","referencedDeclaration":15922,"src":"11248:26:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11238:36:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11490,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11487,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"11584:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11488,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"11594:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11489,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11602:30:66","memberName":"INCREASE_LIQUIDITY_FROM_DELTAS","nodeType":"MemberAccess","referencedDeclaration":15934,"src":"11594:38:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11584:48:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11515,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11512,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"11934:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11513,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"11944:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11514,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11952:18:66","memberName":"DECREASE_LIQUIDITY","nodeType":"MemberAccess","referencedDeclaration":15925,"src":"11944:26:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11934:36:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11543,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11540,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"12280:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11541,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"12290:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11542,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12298:13:66","memberName":"MINT_POSITION","nodeType":"MemberAccess","referencedDeclaration":15928,"src":"12290:21:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12280:31:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11583,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11580,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"12866:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11581,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"12876:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11582,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12884:25:66","memberName":"MINT_POSITION_FROM_DELTAS","nodeType":"MemberAccess","referencedDeclaration":15937,"src":"12876:33:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12866:43:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11620,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11617,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"13434:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11618,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"13444:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":11619,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13452:13:66","memberName":"BURN_POSITION","nodeType":"MemberAccess","referencedDeclaration":15931,"src":"13444:21:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13434:31:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11642,"nodeType":"IfStatement","src":"13430:390:66","trueBody":{"id":11641,"nodeType":"Block","src":"13467:353:66","statements":[{"assignments":[11622,11624,11626,11628],"declarations":[{"constant":false,"id":11622,"mutability":"mutable","name":"tokenId","nameLocation":"13594:7:66","nodeType":"VariableDeclaration","scope":11641,"src":"13586:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11621,"name":"uint256","nodeType":"ElementaryTypeName","src":"13586:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11624,"mutability":"mutable","name":"amount0Min","nameLocation":"13611:10:66","nodeType":"VariableDeclaration","scope":11641,"src":"13603:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11623,"name":"uint128","nodeType":"ElementaryTypeName","src":"13603:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11626,"mutability":"mutable","name":"amount1Min","nameLocation":"13631:10:66","nodeType":"VariableDeclaration","scope":11641,"src":"13623:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11625,"name":"uint128","nodeType":"ElementaryTypeName","src":"13623:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11628,"mutability":"mutable","name":"hookData","nameLocation":"13658:8:66","nodeType":"VariableDeclaration","scope":11641,"src":"13643:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":11627,"name":"bytes","nodeType":"ElementaryTypeName","src":"13643:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":11632,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11629,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"13690:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11630,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13697:16:66","memberName":"decodeBurnParams","nodeType":"MemberAccess","referencedDeclaration":16201,"src":"13690:23:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_uint256_$_t_uint128_$_t_uint128_$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (uint256,uint128,uint128,bytes calldata)"}},"id":11631,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13690:25:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint128_$_t_uint128_$_t_bytes_calldata_ptr_$","typeString":"tuple(uint256,uint128,uint128,bytes calldata)"}},"nodeType":"VariableDeclarationStatement","src":"13585:130:66"},{"expression":{"arguments":[{"id":11634,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11622,"src":"13739:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11635,"name":"amount0Min","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11624,"src":"13748:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":11636,"name":"amount1Min","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11626,"src":"13760:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":11637,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11628,"src":"13772:8:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":11633,"name":"_burn","nodeType":"Identifier","overloadedDeclarations":[12381,22285],"referencedDeclaration":12381,"src":"13733:5:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint128_$_t_uint128_$_t_bytes_calldata_ptr_$returns$__$","typeString":"function (uint256,uint128,uint128,bytes calldata)"}},"id":11638,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13733:48:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11639,"nodeType":"ExpressionStatement","src":"13733:48:66"},{"functionReturnParameters":11454,"id":11640,"nodeType":"Return","src":"13799:7:66"}]}},"id":11643,"nodeType":"IfStatement","src":"12862:958:66","trueBody":{"id":11616,"nodeType":"Block","src":"12911:513:66","statements":[{"assignments":[11586,11588,11590,11592,11594,11596,11598],"declarations":[{"constant":false,"id":11586,"mutability":"mutable","name":"poolKey","nameLocation":"12968:7:66","nodeType":"VariableDeclaration","scope":11616,"src":"12951:24:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":11585,"nodeType":"UserDefinedTypeName","pathNode":{"id":11584,"name":"PoolKey","nameLocations":["12951:7:66"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"12951:7:66"},"referencedDeclaration":11063,"src":"12951:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":11588,"mutability":"mutable","name":"tickLower","nameLocation":"13003:9:66","nodeType":"VariableDeclaration","scope":11616,"src":"12997:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":11587,"name":"int24","nodeType":"ElementaryTypeName","src":"12997:5:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":11590,"mutability":"mutable","name":"tickUpper","nameLocation":"13040:9:66","nodeType":"VariableDeclaration","scope":11616,"src":"13034:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":11589,"name":"int24","nodeType":"ElementaryTypeName","src":"13034:5:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":11592,"mutability":"mutable","name":"amount0Max","nameLocation":"13079:10:66","nodeType":"VariableDeclaration","scope":11616,"src":"13071:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11591,"name":"uint128","nodeType":"ElementaryTypeName","src":"13071:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11594,"mutability":"mutable","name":"amount1Max","nameLocation":"13119:10:66","nodeType":"VariableDeclaration","scope":11616,"src":"13111:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11593,"name":"uint128","nodeType":"ElementaryTypeName","src":"13111:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11596,"mutability":"mutable","name":"owner","nameLocation":"13159:5:66","nodeType":"VariableDeclaration","scope":11616,"src":"13151:13:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11595,"name":"address","nodeType":"ElementaryTypeName","src":"13151:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":11598,"mutability":"mutable","name":"hookData","nameLocation":"13201:8:66","nodeType":"VariableDeclaration","scope":11616,"src":"13186:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":11597,"name":"bytes","nodeType":"ElementaryTypeName","src":"13186:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":11602,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11599,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"13230:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11600,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13237:26:66","memberName":"decodeMintFromDeltasParams","nodeType":"MemberAccess","referencedDeclaration":16178,"src":"13230:33:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_int24_$_t_int24_$_t_uint128_$_t_uint128_$_t_address_$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (struct PoolKey calldata,int24,int24,uint128,uint128,address,bytes calldata)"}},"id":11601,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13230:35:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_int24_$_t_int24_$_t_uint128_$_t_uint128_$_t_address_$_t_bytes_calldata_ptr_$","typeString":"tuple(struct PoolKey calldata,int24,int24,uint128,uint128,address,bytes calldata)"}},"nodeType":"VariableDeclarationStatement","src":"12929:336:66"},{"expression":{"arguments":[{"id":11604,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11586,"src":"13299:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},{"id":11605,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11588,"src":"13308:9:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":11606,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11590,"src":"13319:9:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":11607,"name":"amount0Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11592,"src":"13330:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":11608,"name":"amount1Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11594,"src":"13342:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"arguments":[{"id":11610,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11596,"src":"13368:5:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":11609,"name":"_mapRecipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13754,"src":"13354:13:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":11611,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13354:20:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":11612,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11598,"src":"13376:8:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":11603,"name":"_mintFromDeltas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12251,"src":"13283:15:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_int24_$_t_int24_$_t_uint128_$_t_uint128_$_t_address_$_t_bytes_calldata_ptr_$returns$__$","typeString":"function (struct PoolKey calldata,int24,int24,uint128,uint128,address,bytes calldata)"}},"id":11613,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13283:102:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11614,"nodeType":"ExpressionStatement","src":"13283:102:66"},{"functionReturnParameters":11454,"id":11615,"nodeType":"Return","src":"13403:7:66"}]}},"id":11644,"nodeType":"IfStatement","src":"12276:1544:66","trueBody":{"id":11579,"nodeType":"Block","src":"12313:543:66","statements":[{"assignments":[11546,11548,11550,11552,11554,11556,11558,11560],"declarations":[{"constant":false,"id":11546,"mutability":"mutable","name":"poolKey","nameLocation":"12370:7:66","nodeType":"VariableDeclaration","scope":11579,"src":"12353:24:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":11545,"nodeType":"UserDefinedTypeName","pathNode":{"id":11544,"name":"PoolKey","nameLocations":["12353:7:66"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"12353:7:66"},"referencedDeclaration":11063,"src":"12353:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":11548,"mutability":"mutable","name":"tickLower","nameLocation":"12405:9:66","nodeType":"VariableDeclaration","scope":11579,"src":"12399:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":11547,"name":"int24","nodeType":"ElementaryTypeName","src":"12399:5:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":11550,"mutability":"mutable","name":"tickUpper","nameLocation":"12442:9:66","nodeType":"VariableDeclaration","scope":11579,"src":"12436:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":11549,"name":"int24","nodeType":"ElementaryTypeName","src":"12436:5:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":11552,"mutability":"mutable","name":"liquidity","nameLocation":"12481:9:66","nodeType":"VariableDeclaration","scope":11579,"src":"12473:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11551,"name":"uint256","nodeType":"ElementaryTypeName","src":"12473:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11554,"mutability":"mutable","name":"amount0Max","nameLocation":"12520:10:66","nodeType":"VariableDeclaration","scope":11579,"src":"12512:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11553,"name":"uint128","nodeType":"ElementaryTypeName","src":"12512:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11556,"mutability":"mutable","name":"amount1Max","nameLocation":"12560:10:66","nodeType":"VariableDeclaration","scope":11579,"src":"12552:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11555,"name":"uint128","nodeType":"ElementaryTypeName","src":"12552:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11558,"mutability":"mutable","name":"owner","nameLocation":"12600:5:66","nodeType":"VariableDeclaration","scope":11579,"src":"12592:13:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11557,"name":"address","nodeType":"ElementaryTypeName","src":"12592:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":11560,"mutability":"mutable","name":"hookData","nameLocation":"12642:8:66","nodeType":"VariableDeclaration","scope":11579,"src":"12627:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":11559,"name":"bytes","nodeType":"ElementaryTypeName","src":"12627:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":11564,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11561,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"12671:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11562,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12678:16:66","memberName":"decodeMintParams","nodeType":"MemberAccess","referencedDeclaration":16148,"src":"12671:23:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_int24_$_t_int24_$_t_uint256_$_t_uint128_$_t_uint128_$_t_address_$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (struct PoolKey calldata,int24,int24,uint256,uint128,uint128,address,bytes calldata)"}},"id":11563,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12671:25:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_int24_$_t_int24_$_t_uint256_$_t_uint128_$_t_uint128_$_t_address_$_t_bytes_calldata_ptr_$","typeString":"tuple(struct PoolKey calldata,int24,int24,uint256,uint128,uint128,address,bytes calldata)"}},"nodeType":"VariableDeclarationStatement","src":"12331:365:66"},{"expression":{"arguments":[{"id":11566,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11546,"src":"12720:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},{"id":11567,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11548,"src":"12729:9:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":11568,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11550,"src":"12740:9:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":11569,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11552,"src":"12751:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11570,"name":"amount0Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11554,"src":"12762:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":11571,"name":"amount1Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11556,"src":"12774:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"arguments":[{"id":11573,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11558,"src":"12800:5:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":11572,"name":"_mapRecipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13754,"src":"12786:13:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":11574,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12786:20:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":11575,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11560,"src":"12808:8:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":11565,"name":"_mint","nodeType":"Identifier","overloadedDeclarations":[12189,22238],"referencedDeclaration":12189,"src":"12714:5:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_int24_$_t_int24_$_t_uint256_$_t_uint128_$_t_uint128_$_t_address_$_t_bytes_calldata_ptr_$returns$__$","typeString":"function (struct PoolKey calldata,int24,int24,uint256,uint128,uint128,address,bytes calldata)"}},"id":11576,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12714:103:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11577,"nodeType":"ExpressionStatement","src":"12714:103:66"},{"functionReturnParameters":11454,"id":11578,"nodeType":"Return","src":"12835:7:66"}]}},"id":11645,"nodeType":"IfStatement","src":"11930:1890:66","trueBody":{"id":11539,"nodeType":"Block","src":"11972:298:66","statements":[{"assignments":[11517,11519,11521,11523,11525],"declarations":[{"constant":false,"id":11517,"mutability":"mutable","name":"tokenId","nameLocation":"11999:7:66","nodeType":"VariableDeclaration","scope":11539,"src":"11991:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11516,"name":"uint256","nodeType":"ElementaryTypeName","src":"11991:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11519,"mutability":"mutable","name":"liquidity","nameLocation":"12016:9:66","nodeType":"VariableDeclaration","scope":11539,"src":"12008:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11518,"name":"uint256","nodeType":"ElementaryTypeName","src":"12008:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11521,"mutability":"mutable","name":"amount0Min","nameLocation":"12035:10:66","nodeType":"VariableDeclaration","scope":11539,"src":"12027:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11520,"name":"uint128","nodeType":"ElementaryTypeName","src":"12027:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11523,"mutability":"mutable","name":"amount1Min","nameLocation":"12055:10:66","nodeType":"VariableDeclaration","scope":11539,"src":"12047:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11522,"name":"uint128","nodeType":"ElementaryTypeName","src":"12047:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11525,"mutability":"mutable","name":"hookData","nameLocation":"12082:8:66","nodeType":"VariableDeclaration","scope":11539,"src":"12067:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":11524,"name":"bytes","nodeType":"ElementaryTypeName","src":"12067:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":11529,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11526,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"12114:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11527,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12121:27:66","memberName":"decodeModifyLiquidityParams","nodeType":"MemberAccess","referencedDeclaration":16093,"src":"12114:34:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_uint256_$_t_uint256_$_t_uint128_$_t_uint128_$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (uint256,uint256,uint128,uint128,bytes calldata)"}},"id":11528,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12114:36:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$_t_uint128_$_t_uint128_$_t_bytes_calldata_ptr_$","typeString":"tuple(uint256,uint256,uint128,uint128,bytes calldata)"}},"nodeType":"VariableDeclarationStatement","src":"11990:160:66"},{"expression":{"arguments":[{"id":11531,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11517,"src":"12178:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11532,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11519,"src":"12187:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11533,"name":"amount0Min","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11521,"src":"12198:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":11534,"name":"amount1Min","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11523,"src":"12210:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":11535,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11525,"src":"12222:8:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":11530,"name":"_decrease","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12095,"src":"12168:9:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint128_$_t_uint128_$_t_bytes_calldata_ptr_$returns$__$","typeString":"function (uint256,uint256,uint128,uint128,bytes calldata)"}},"id":11536,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12168:63:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11537,"nodeType":"ExpressionStatement","src":"12168:63:66"},{"functionReturnParameters":11454,"id":11538,"nodeType":"Return","src":"12249:7:66"}]}},"id":11646,"nodeType":"IfStatement","src":"11580:2240:66","trueBody":{"id":11511,"nodeType":"Block","src":"11634:290:66","statements":[{"assignments":[11492,11494,11496,11498],"declarations":[{"constant":false,"id":11492,"mutability":"mutable","name":"tokenId","nameLocation":"11661:7:66","nodeType":"VariableDeclaration","scope":11511,"src":"11653:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11491,"name":"uint256","nodeType":"ElementaryTypeName","src":"11653:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11494,"mutability":"mutable","name":"amount0Max","nameLocation":"11678:10:66","nodeType":"VariableDeclaration","scope":11511,"src":"11670:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11493,"name":"uint128","nodeType":"ElementaryTypeName","src":"11670:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11496,"mutability":"mutable","name":"amount1Max","nameLocation":"11698:10:66","nodeType":"VariableDeclaration","scope":11511,"src":"11690:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11495,"name":"uint128","nodeType":"ElementaryTypeName","src":"11690:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11498,"mutability":"mutable","name":"hookData","nameLocation":"11725:8:66","nodeType":"VariableDeclaration","scope":11511,"src":"11710:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":11497,"name":"bytes","nodeType":"ElementaryTypeName","src":"11710:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":11502,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11499,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"11757:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11500,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11764:39:66","memberName":"decodeIncreaseLiquidityFromDeltasParams","nodeType":"MemberAccess","referencedDeclaration":16116,"src":"11757:46:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_uint256_$_t_uint128_$_t_uint128_$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (uint256,uint128,uint128,bytes calldata)"}},"id":11501,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11757:48:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint128_$_t_uint128_$_t_bytes_calldata_ptr_$","typeString":"tuple(uint256,uint128,uint128,bytes calldata)"}},"nodeType":"VariableDeclarationStatement","src":"11652:153:66"},{"expression":{"arguments":[{"id":11504,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11492,"src":"11843:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11505,"name":"amount0Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11494,"src":"11852:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":11506,"name":"amount1Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11496,"src":"11864:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":11507,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11498,"src":"11876:8:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":11503,"name":"_increaseFromDeltas","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12035,"src":"11823:19:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint128_$_t_uint128_$_t_bytes_calldata_ptr_$returns$__$","typeString":"function (uint256,uint128,uint128,bytes calldata)"}},"id":11508,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11823:62:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11509,"nodeType":"ExpressionStatement","src":"11823:62:66"},{"functionReturnParameters":11454,"id":11510,"nodeType":"Return","src":"11903:7:66"}]}},"id":11647,"nodeType":"IfStatement","src":"11234:2586:66","trueBody":{"id":11486,"nodeType":"Block","src":"11276:298:66","statements":[{"assignments":[11464,11466,11468,11470,11472],"declarations":[{"constant":false,"id":11464,"mutability":"mutable","name":"tokenId","nameLocation":"11303:7:66","nodeType":"VariableDeclaration","scope":11486,"src":"11295:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11463,"name":"uint256","nodeType":"ElementaryTypeName","src":"11295:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11466,"mutability":"mutable","name":"liquidity","nameLocation":"11320:9:66","nodeType":"VariableDeclaration","scope":11486,"src":"11312:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11465,"name":"uint256","nodeType":"ElementaryTypeName","src":"11312:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11468,"mutability":"mutable","name":"amount0Max","nameLocation":"11339:10:66","nodeType":"VariableDeclaration","scope":11486,"src":"11331:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11467,"name":"uint128","nodeType":"ElementaryTypeName","src":"11331:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11470,"mutability":"mutable","name":"amount1Max","nameLocation":"11359:10:66","nodeType":"VariableDeclaration","scope":11486,"src":"11351:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11469,"name":"uint128","nodeType":"ElementaryTypeName","src":"11351:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11472,"mutability":"mutable","name":"hookData","nameLocation":"11386:8:66","nodeType":"VariableDeclaration","scope":11486,"src":"11371:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":11471,"name":"bytes","nodeType":"ElementaryTypeName","src":"11371:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":11476,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11473,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11451,"src":"11418:6:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":11474,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11425:27:66","memberName":"decodeModifyLiquidityParams","nodeType":"MemberAccess","referencedDeclaration":16093,"src":"11418:34:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_uint256_$_t_uint256_$_t_uint128_$_t_uint128_$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (uint256,uint256,uint128,uint128,bytes calldata)"}},"id":11475,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11418:36:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$_t_uint128_$_t_uint128_$_t_bytes_calldata_ptr_$","typeString":"tuple(uint256,uint256,uint128,uint128,bytes calldata)"}},"nodeType":"VariableDeclarationStatement","src":"11294:160:66"},{"expression":{"arguments":[{"id":11478,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11464,"src":"11482:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11479,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11466,"src":"11491:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11480,"name":"amount0Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11468,"src":"11502:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":11481,"name":"amount1Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11470,"src":"11514:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":11482,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11472,"src":"11526:8:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":11477,"name":"_increase","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11939,"src":"11472:9:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint128_$_t_uint128_$_t_bytes_calldata_ptr_$returns$__$","typeString":"function (uint256,uint256,uint128,uint128,bytes calldata)"}},"id":11483,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11472:63:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11484,"nodeType":"ExpressionStatement","src":"11472:63:66"},{"functionReturnParameters":11454,"id":11485,"nodeType":"Return","src":"11553:7:66"}]}}]}},{"errorCall":{"arguments":[{"id":11877,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11449,"src":"16046:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11876,"name":"UnsupportedAction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13609,"src":"16028:17:66","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":11878,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16028:25:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":11879,"nodeType":"RevertStatement","src":"16021:32:66"}]},"id":11881,"implemented":true,"kind":"function","modifiers":[],"name":"_handleAction","nameLocation":"11102:13:66","nodeType":"FunctionDefinition","overrides":{"id":11453,"nodeType":"OverrideSpecifier","overrides":[],"src":"11172:8:66"},"parameters":{"id":11452,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11449,"mutability":"mutable","name":"action","nameLocation":"11124:6:66","nodeType":"VariableDeclaration","scope":11881,"src":"11116:14:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11448,"name":"uint256","nodeType":"ElementaryTypeName","src":"11116:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11451,"mutability":"mutable","name":"params","nameLocation":"11147:6:66","nodeType":"VariableDeclaration","scope":11881,"src":"11132:21:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":11450,"name":"bytes","nodeType":"ElementaryTypeName","src":"11132:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"11115:39:66"},"returnParameters":{"id":11454,"nodeType":"ParameterList","parameters":[],"src":"11181:0:66"},"scope":12832,"src":"11093:4967:66","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":11938,"nodeType":"Block","src":"16389:583:66","statements":[{"assignments":[11902,11905],"declarations":[{"constant":false,"id":11902,"mutability":"mutable","name":"poolKey","nameLocation":"16415:7:66","nodeType":"VariableDeclaration","scope":11938,"src":"16400:22:66","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":11901,"nodeType":"UserDefinedTypeName","pathNode":{"id":11900,"name":"PoolKey","nameLocations":["16400:7:66"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"16400:7:66"},"referencedDeclaration":11063,"src":"16400:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":11905,"mutability":"mutable","name":"info","nameLocation":"16437:4:66","nodeType":"VariableDeclaration","scope":11938,"src":"16424:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":11904,"nodeType":"UserDefinedTypeName","pathNode":{"id":11903,"name":"PositionInfo","nameLocations":["16424:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"16424:12:66"},"referencedDeclaration":16704,"src":"16424:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"id":11909,"initialValue":{"arguments":[{"id":11907,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11884,"src":"16468:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11906,"name":"getPoolAndPositionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12758,"src":"16445:22:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (uint256) view returns (struct PoolKey memory,PositionInfo)"}},"id":11908,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16445:31:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"tuple(struct PoolKey memory,PositionInfo)"}},"nodeType":"VariableDeclarationStatement","src":"16399:77:66"},{"assignments":[11912,11915],"declarations":[{"constant":false,"id":11912,"mutability":"mutable","name":"liquidityDelta","nameLocation":"16634:14:66","nodeType":"VariableDeclaration","scope":11938,"src":"16621:27:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":11911,"nodeType":"UserDefinedTypeName","pathNode":{"id":11910,"name":"BalanceDelta","nameLocations":["16621:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"16621:12:66"},"referencedDeclaration":10503,"src":"16621:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":11915,"mutability":"mutable","name":"feesAccrued","nameLocation":"16663:11:66","nodeType":"VariableDeclaration","scope":11938,"src":"16650:24:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":11914,"nodeType":"UserDefinedTypeName","pathNode":{"id":11913,"name":"BalanceDelta","nameLocations":["16650:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"16650:12:66"},"referencedDeclaration":10503,"src":"16650:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"id":11928,"initialValue":{"arguments":[{"id":11917,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11905,"src":"16707:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},{"id":11918,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11902,"src":"16713:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11919,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11886,"src":"16722:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":11920,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16732:8:66","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":8114,"src":"16722:18:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":11921,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16722:20:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"arguments":[{"id":11924,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11884,"src":"16752:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11923,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16744:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":11922,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16744:7:66","typeDescriptions":{}}},"id":11925,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16744:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":11926,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11892,"src":"16762:8:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":11916,"name":"_modifyLiquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12614,"src":"16690:16:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_PositionInfo_$16704_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_int256_$_t_bytes32_$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (PositionInfo,struct PoolKey memory,int256,bytes32,bytes calldata) returns (BalanceDelta,BalanceDelta)"}},"id":11927,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16690:81:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"nodeType":"VariableDeclarationStatement","src":"16620:151:66"},{"expression":{"arguments":[{"id":11934,"name":"amount0Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11888,"src":"16942:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":11935,"name":"amount1Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11890,"src":"16954:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"expression":{"components":[{"commonType":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"function":10587,"id":11931,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11929,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11912,"src":"16898:14:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":11930,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11915,"src":"16915:11:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"16898:28:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":11932,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"16897:30:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":11933,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16928:13:66","memberName":"validateMaxIn","nodeType":"MemberAccess","referencedDeclaration":16980,"src":"16897:44:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_uint128_$_t_uint128_$returns$__$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta,uint128,uint128) pure"}},"id":11936,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16897:68:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11937,"nodeType":"ExpressionStatement","src":"16897:68:66"}]},"documentation":{"id":11882,"nodeType":"StructuredDocumentation","src":"16066:106:66","text":"@dev Calling increase with 0 liquidity will credit the caller with any underlying fees of the position"},"id":11939,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":11895,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[11447],"referencedDeclaration":11447,"src":"16367:9:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":11896,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16367:11:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":11897,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11884,"src":"16380:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":11898,"kind":"modifierInvocation","modifierName":{"id":11894,"name":"onlyIfApproved","nameLocations":["16352:14:66"],"nodeType":"IdentifierPath","referencedDeclaration":11371,"src":"16352:14:66"},"nodeType":"ModifierInvocation","src":"16352:36:66"}],"name":"_increase","nameLocation":"16186:9:66","nodeType":"FunctionDefinition","parameters":{"id":11893,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11884,"mutability":"mutable","name":"tokenId","nameLocation":"16213:7:66","nodeType":"VariableDeclaration","scope":11939,"src":"16205:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11883,"name":"uint256","nodeType":"ElementaryTypeName","src":"16205:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11886,"mutability":"mutable","name":"liquidity","nameLocation":"16238:9:66","nodeType":"VariableDeclaration","scope":11939,"src":"16230:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11885,"name":"uint256","nodeType":"ElementaryTypeName","src":"16230:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11888,"mutability":"mutable","name":"amount0Max","nameLocation":"16265:10:66","nodeType":"VariableDeclaration","scope":11939,"src":"16257:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11887,"name":"uint128","nodeType":"ElementaryTypeName","src":"16257:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11890,"mutability":"mutable","name":"amount1Max","nameLocation":"16293:10:66","nodeType":"VariableDeclaration","scope":11939,"src":"16285:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11889,"name":"uint128","nodeType":"ElementaryTypeName","src":"16285:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11892,"mutability":"mutable","name":"hookData","nameLocation":"16328:8:66","nodeType":"VariableDeclaration","scope":11939,"src":"16313:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":11891,"name":"bytes","nodeType":"ElementaryTypeName","src":"16313:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"16195:147:66"},"returnParameters":{"id":11899,"nodeType":"ParameterList","parameters":[],"src":"16389:0:66"},"scope":12832,"src":"16177:795:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12034,"nodeType":"Block","src":"17237:1126:66","statements":[{"assignments":[11958,11961],"declarations":[{"constant":false,"id":11958,"mutability":"mutable","name":"poolKey","nameLocation":"17263:7:66","nodeType":"VariableDeclaration","scope":12034,"src":"17248:22:66","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":11957,"nodeType":"UserDefinedTypeName","pathNode":{"id":11956,"name":"PoolKey","nameLocations":["17248:7:66"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"17248:7:66"},"referencedDeclaration":11063,"src":"17248:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":11961,"mutability":"mutable","name":"info","nameLocation":"17285:4:66","nodeType":"VariableDeclaration","scope":12034,"src":"17272:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":11960,"nodeType":"UserDefinedTypeName","pathNode":{"id":11959,"name":"PositionInfo","nameLocations":["17272:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"17272:12:66"},"referencedDeclaration":16704,"src":"17272:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"id":11965,"initialValue":{"arguments":[{"id":11963,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11942,"src":"17316:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11962,"name":"getPoolAndPositionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12758,"src":"17293:22:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (uint256) view returns (struct PoolKey memory,PositionInfo)"}},"id":11964,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17293:31:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"tuple(struct PoolKey memory,PositionInfo)"}},"nodeType":"VariableDeclarationStatement","src":"17247:77:66"},{"assignments":[11967],"declarations":[{"constant":false,"id":11967,"mutability":"mutable","name":"liquidity","nameLocation":"17343:9:66","nodeType":"VariableDeclaration","scope":12034,"src":"17335:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11966,"name":"uint256","nodeType":"ElementaryTypeName","src":"17335:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":11968,"nodeType":"VariableDeclarationStatement","src":"17335:17:66"},{"id":12005,"nodeType":"Block","src":"17362:506:66","statements":[{"assignments":[11970,null,null,null],"declarations":[{"constant":false,"id":11970,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"17385:12:66","nodeType":"VariableDeclaration","scope":12005,"src":"17377:20:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":11969,"name":"uint160","nodeType":"ElementaryTypeName","src":"17377:7:66","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},null,null,null],"id":11977,"initialValue":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11973,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11958,"src":"17425:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":11974,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17433:4:66","memberName":"toId","nodeType":"MemberAccess","referencedDeclaration":11030,"src":"17425:12:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_PoolKey_$11063_memory_ptr_$returns$_t_userDefinedValueType$_PoolId_$11017_$attached_to$_t_struct$_PoolKey_$11063_memory_ptr_$","typeString":"function (struct PoolKey memory) pure returns (PoolId)"}},"id":11975,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17425:14:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"expression":{"id":11971,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"17404:11:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":11972,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17416:8:66","memberName":"getSlot0","nodeType":"MemberAccess","referencedDeclaration":8708,"src":"17404:20:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_contract$_IPoolManager_$3917_$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_uint160_$_t_int24_$_t_uint24_$_t_uint24_$attached_to$_t_contract$_IPoolManager_$3917_$","typeString":"function (contract IPoolManager,PoolId) view returns (uint160,int24,uint24,uint24)"}},"id":11976,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17404:36:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint24_$_t_uint24_$","typeString":"tuple(uint160,int24,uint24,uint24)"}},"nodeType":"VariableDeclarationStatement","src":"17376:64:66"},{"expression":{"id":12003,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":11978,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11967,"src":"17534:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":11981,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11970,"src":"17603:12:66","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11984,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11961,"src":"17661:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":11985,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17666:9:66","memberName":"tickLower","nodeType":"MemberAccess","referencedDeclaration":16757,"src":"17661:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (int24)"}},"id":11986,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17661:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":11982,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"17633:8:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":11983,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17642:18:66","memberName":"getSqrtPriceAtTick","nodeType":"MemberAccess","referencedDeclaration":10190,"src":"17633:27:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":11987,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17633:45:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":11990,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11961,"src":"17724:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":11991,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17729:9:66","memberName":"tickUpper","nodeType":"MemberAccess","referencedDeclaration":16767,"src":"17724:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (int24)"}},"id":11992,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17724:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":11988,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"17696:8:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":11989,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17705:18:66","memberName":"getSqrtPriceAtTick","nodeType":"MemberAccess","referencedDeclaration":10190,"src":"17696:27:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":11993,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17696:45:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"expression":{"id":11995,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11958,"src":"17774:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":11996,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17782:9:66","memberName":"currency0","nodeType":"MemberAccess","referencedDeclaration":11048,"src":"17774:17:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":11994,"name":"_getFullCredit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13963,"src":"17759:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":11997,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17759:33:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"expression":{"id":11999,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11958,"src":"17825:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":12000,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17833:9:66","memberName":"currency1","nodeType":"MemberAccess","referencedDeclaration":11052,"src":"17825:17:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":11998,"name":"_getFullCredit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13963,"src":"17810:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":12001,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17810:33:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":11979,"name":"LiquidityAmounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16590,"src":"17546:16:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_LiquidityAmounts_$16590_$","typeString":"type(library LiquidityAmounts)"}},"id":11980,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17563:22:66","memberName":"getLiquidityForAmounts","nodeType":"MemberAccess","referencedDeclaration":16589,"src":"17546:39:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint160_$_t_uint256_$_t_uint256_$returns$_t_uint128_$","typeString":"function (uint160,uint160,uint160,uint256,uint256) pure returns (uint128)"}},"id":12002,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17546:311:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"17534:323:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12004,"nodeType":"ExpressionStatement","src":"17534:323:66"}]},{"assignments":[12008,12011],"declarations":[{"constant":false,"id":12008,"mutability":"mutable","name":"liquidityDelta","nameLocation":"18025:14:66","nodeType":"VariableDeclaration","scope":12034,"src":"18012:27:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":12007,"nodeType":"UserDefinedTypeName","pathNode":{"id":12006,"name":"BalanceDelta","nameLocations":["18012:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"18012:12:66"},"referencedDeclaration":10503,"src":"18012:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":12011,"mutability":"mutable","name":"feesAccrued","nameLocation":"18054:11:66","nodeType":"VariableDeclaration","scope":12034,"src":"18041:24:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":12010,"nodeType":"UserDefinedTypeName","pathNode":{"id":12009,"name":"BalanceDelta","nameLocations":["18041:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"18041:12:66"},"referencedDeclaration":10503,"src":"18041:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"id":12024,"initialValue":{"arguments":[{"id":12013,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11961,"src":"18098:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},{"id":12014,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11958,"src":"18104:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12015,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11967,"src":"18113:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12016,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"18123:8:66","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":8114,"src":"18113:18:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":12017,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18113:20:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"arguments":[{"id":12020,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11942,"src":"18143:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12019,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"18135:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":12018,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18135:7:66","typeDescriptions":{}}},"id":12021,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18135:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":12022,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11948,"src":"18153:8:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":12012,"name":"_modifyLiquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12614,"src":"18081:16:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_PositionInfo_$16704_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_int256_$_t_bytes32_$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (PositionInfo,struct PoolKey memory,int256,bytes32,bytes calldata) returns (BalanceDelta,BalanceDelta)"}},"id":12023,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18081:81:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"nodeType":"VariableDeclarationStatement","src":"18011:151:66"},{"expression":{"arguments":[{"id":12030,"name":"amount0Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11944,"src":"18333:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":12031,"name":"amount1Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11946,"src":"18345:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"expression":{"components":[{"commonType":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"function":10587,"id":12027,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12025,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12008,"src":"18289:14:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":12026,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12011,"src":"18306:11:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"18289:28:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":12028,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"18288:30:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":12029,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"18319:13:66","memberName":"validateMaxIn","nodeType":"MemberAccess","referencedDeclaration":16980,"src":"18288:44:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_uint128_$_t_uint128_$returns$__$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta,uint128,uint128) pure"}},"id":12032,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18288:68:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12033,"nodeType":"ExpressionStatement","src":"18288:68:66"}]},"documentation":{"id":11940,"nodeType":"StructuredDocumentation","src":"16978:77:66","text":"@dev The liquidity delta is derived from open deltas in the pool manager."},"id":12035,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":11951,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[11447],"referencedDeclaration":11447,"src":"17211:9:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":11952,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17211:11:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":11953,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11942,"src":"17224:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":11954,"kind":"modifierInvocation","modifierName":{"id":11950,"name":"onlyIfApproved","nameLocations":["17196:14:66"],"nodeType":"IdentifierPath","referencedDeclaration":11371,"src":"17196:14:66"},"nodeType":"ModifierInvocation","src":"17196:36:66"}],"name":"_increaseFromDeltas","nameLocation":"17069:19:66","nodeType":"FunctionDefinition","parameters":{"id":11949,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11942,"mutability":"mutable","name":"tokenId","nameLocation":"17097:7:66","nodeType":"VariableDeclaration","scope":12035,"src":"17089:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11941,"name":"uint256","nodeType":"ElementaryTypeName","src":"17089:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11944,"mutability":"mutable","name":"amount0Max","nameLocation":"17114:10:66","nodeType":"VariableDeclaration","scope":12035,"src":"17106:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11943,"name":"uint128","nodeType":"ElementaryTypeName","src":"17106:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11946,"mutability":"mutable","name":"amount1Max","nameLocation":"17134:10:66","nodeType":"VariableDeclaration","scope":12035,"src":"17126:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":11945,"name":"uint128","nodeType":"ElementaryTypeName","src":"17126:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":11948,"mutability":"mutable","name":"hookData","nameLocation":"17161:8:66","nodeType":"VariableDeclaration","scope":12035,"src":"17146:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":11947,"name":"bytes","nodeType":"ElementaryTypeName","src":"17146:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"17088:82:66"},"returnParameters":{"id":11955,"nodeType":"ParameterList","parameters":[],"src":"17237:0:66"},"scope":12832,"src":"17060:1303:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12094,"nodeType":"Block","src":"18692:504:66","statements":[{"assignments":[12056,12059],"declarations":[{"constant":false,"id":12056,"mutability":"mutable","name":"poolKey","nameLocation":"18718:7:66","nodeType":"VariableDeclaration","scope":12094,"src":"18703:22:66","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":12055,"nodeType":"UserDefinedTypeName","pathNode":{"id":12054,"name":"PoolKey","nameLocations":["18703:7:66"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"18703:7:66"},"referencedDeclaration":11063,"src":"18703:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":12059,"mutability":"mutable","name":"info","nameLocation":"18740:4:66","nodeType":"VariableDeclaration","scope":12094,"src":"18727:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":12058,"nodeType":"UserDefinedTypeName","pathNode":{"id":12057,"name":"PositionInfo","nameLocations":["18727:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"18727:12:66"},"referencedDeclaration":16704,"src":"18727:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"id":12063,"initialValue":{"arguments":[{"id":12061,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12038,"src":"18771:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12060,"name":"getPoolAndPositionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12758,"src":"18748:22:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (uint256) view returns (struct PoolKey memory,PositionInfo)"}},"id":12062,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18748:31:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"tuple(struct PoolKey memory,PositionInfo)"}},"nodeType":"VariableDeclarationStatement","src":"18702:77:66"},{"assignments":[12066,12069],"declarations":[{"constant":false,"id":12066,"mutability":"mutable","name":"liquidityDelta","nameLocation":"18854:14:66","nodeType":"VariableDeclaration","scope":12094,"src":"18841:27:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":12065,"nodeType":"UserDefinedTypeName","pathNode":{"id":12064,"name":"BalanceDelta","nameLocations":["18841:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"18841:12:66"},"referencedDeclaration":10503,"src":"18841:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":12069,"mutability":"mutable","name":"feesAccrued","nameLocation":"18883:11:66","nodeType":"VariableDeclaration","scope":12094,"src":"18870:24:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":12068,"nodeType":"UserDefinedTypeName","pathNode":{"id":12067,"name":"BalanceDelta","nameLocations":["18870:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"18870:12:66"},"referencedDeclaration":10503,"src":"18870:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"id":12084,"initialValue":{"arguments":[{"id":12071,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12059,"src":"18927:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},{"id":12072,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12056,"src":"18933:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":12077,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"18942:23:66","subExpression":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12073,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12040,"src":"18944:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12074,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"18954:8:66","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":8114,"src":"18944:18:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":12075,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18944:20:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":12076,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"18943:22:66","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"arguments":[{"id":12080,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12038,"src":"18975:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12079,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"18967:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":12078,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18967:7:66","typeDescriptions":{}}},"id":12081,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18967:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":12082,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12046,"src":"18985:8:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":12070,"name":"_modifyLiquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12614,"src":"18910:16:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_PositionInfo_$16704_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_int256_$_t_bytes32_$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (PositionInfo,struct PoolKey memory,int256,bytes32,bytes calldata) returns (BalanceDelta,BalanceDelta)"}},"id":12083,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18910:84:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"nodeType":"VariableDeclarationStatement","src":"18840:154:66"},{"expression":{"arguments":[{"id":12090,"name":"amount0Min","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12042,"src":"19166:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":12091,"name":"amount1Min","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12044,"src":"19178:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"expression":{"components":[{"commonType":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"function":10587,"id":12087,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12085,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12066,"src":"19121:14:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":12086,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12069,"src":"19138:11:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"19121:28:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":12088,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"19120:30:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":12089,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"19151:14:66","memberName":"validateMinOut","nodeType":"MemberAccess","referencedDeclaration":16900,"src":"19120:45:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_uint128_$_t_uint128_$returns$__$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta,uint128,uint128) pure"}},"id":12092,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19120:69:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12093,"nodeType":"ExpressionStatement","src":"19120:69:66"}]},"documentation":{"id":12036,"nodeType":"StructuredDocumentation","src":"18369:106:66","text":"@dev Calling decrease with 0 liquidity will credit the caller with any underlying fees of the position"},"id":12095,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":12049,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[11447],"referencedDeclaration":11447,"src":"18670:9:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":12050,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18670:11:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12051,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12038,"src":"18683:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":12052,"kind":"modifierInvocation","modifierName":{"id":12048,"name":"onlyIfApproved","nameLocations":["18655:14:66"],"nodeType":"IdentifierPath","referencedDeclaration":11371,"src":"18655:14:66"},"nodeType":"ModifierInvocation","src":"18655:36:66"}],"name":"_decrease","nameLocation":"18489:9:66","nodeType":"FunctionDefinition","parameters":{"id":12047,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12038,"mutability":"mutable","name":"tokenId","nameLocation":"18516:7:66","nodeType":"VariableDeclaration","scope":12095,"src":"18508:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12037,"name":"uint256","nodeType":"ElementaryTypeName","src":"18508:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12040,"mutability":"mutable","name":"liquidity","nameLocation":"18541:9:66","nodeType":"VariableDeclaration","scope":12095,"src":"18533:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12039,"name":"uint256","nodeType":"ElementaryTypeName","src":"18533:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12042,"mutability":"mutable","name":"amount0Min","nameLocation":"18568:10:66","nodeType":"VariableDeclaration","scope":12095,"src":"18560:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":12041,"name":"uint128","nodeType":"ElementaryTypeName","src":"18560:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":12044,"mutability":"mutable","name":"amount1Min","nameLocation":"18596:10:66","nodeType":"VariableDeclaration","scope":12095,"src":"18588:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":12043,"name":"uint128","nodeType":"ElementaryTypeName","src":"18588:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":12046,"mutability":"mutable","name":"hookData","nameLocation":"18631:8:66","nodeType":"VariableDeclaration","scope":12095,"src":"18616:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":12045,"name":"bytes","nodeType":"ElementaryTypeName","src":"18616:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"18498:147:66"},"returnParameters":{"id":12053,"nodeType":"ParameterList","parameters":[],"src":"18692:0:66"},"scope":12832,"src":"18480:716:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12188,"nodeType":"Block","src":"19455:996:66","statements":[{"assignments":[12116],"declarations":[{"constant":false,"id":12116,"mutability":"mutable","name":"tokenId","nameLocation":"19503:7:66","nodeType":"VariableDeclaration","scope":12188,"src":"19495:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12115,"name":"uint256","nodeType":"ElementaryTypeName","src":"19495:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12117,"nodeType":"VariableDeclarationStatement","src":"19495:15:66"},{"id":12123,"nodeType":"UncheckedBlock","src":"19597:58:66","statements":[{"expression":{"id":12121,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12118,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12116,"src":"19621:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":12120,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"19631:13:66","subExpression":{"id":12119,"name":"nextTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11284,"src":"19631:11:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"19621:23:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12122,"nodeType":"ExpressionStatement","src":"19621:23:66"}]},{"expression":{"arguments":[{"id":12125,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12110,"src":"19670:5:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12126,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12116,"src":"19677:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12124,"name":"_mint","nodeType":"Identifier","overloadedDeclarations":[12189,22238],"referencedDeclaration":22238,"src":"19664:5:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":12127,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19664:21:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12128,"nodeType":"ExpressionStatement","src":"19664:21:66"},{"assignments":[12131],"declarations":[{"constant":false,"id":12131,"mutability":"mutable","name":"info","nameLocation":"19749:4:66","nodeType":"VariableDeclaration","scope":12188,"src":"19736:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":12130,"nodeType":"UserDefinedTypeName","pathNode":{"id":12129,"name":"PositionInfo","nameLocations":["19736:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"19736:12:66"},"referencedDeclaration":16704,"src":"19736:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"id":12138,"initialValue":{"arguments":[{"id":12134,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12098,"src":"19787:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},{"id":12135,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12100,"src":"19796:9:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":12136,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12102,"src":"19807:9:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":12132,"name":"PositionInfoLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16830,"src":"19756:19:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_PositionInfoLibrary_$16830_$","typeString":"type(library PositionInfoLibrary)"}},"id":12133,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"19776:10:66","memberName":"initialize","nodeType":"MemberAccess","referencedDeclaration":16829,"src":"19756:30:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_PoolKey_$11063_memory_ptr_$_t_int24_$_t_int24_$returns$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (struct PoolKey memory,int24,int24) pure returns (PositionInfo)"}},"id":12137,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19756:61:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"nodeType":"VariableDeclarationStatement","src":"19736:81:66"},{"expression":{"id":12143,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12139,"name":"positionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11292,"src":"19827:12:66","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"mapping(uint256 => PositionInfo)"}},"id":12141,"indexExpression":{"id":12140,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12116,"src":"19840:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"19827:21:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":12142,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12131,"src":"19851:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"src":"19827:28:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12144,"nodeType":"ExpressionStatement","src":"19827:28:66"},{"assignments":[12146],"declarations":[{"constant":false,"id":12146,"mutability":"mutable","name":"poolId","nameLocation":"20062:6:66","nodeType":"VariableDeclaration","scope":12188,"src":"20054:14:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes25","typeString":"bytes25"},"typeName":{"id":12145,"name":"bytes25","nodeType":"ElementaryTypeName","src":"20054:7:66","typeDescriptions":{"typeIdentifier":"t_bytes25","typeString":"bytes25"}},"visibility":"internal"}],"id":12150,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12147,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12131,"src":"20071:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12148,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20076:6:66","memberName":"poolId","nodeType":"MemberAccess","referencedDeclaration":16747,"src":"20071:11:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_bytes25_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (bytes25)"}},"id":12149,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20071:13:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes25","typeString":"bytes25"}},"nodeType":"VariableDeclarationStatement","src":"20054:30:66"},{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":12156,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":12151,"name":"poolKeys","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11297,"src":"20098:8:66","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes25_$_t_struct$_PoolKey_$11063_storage_$","typeString":"mapping(bytes25 => struct PoolKey storage ref)"}},"id":12153,"indexExpression":{"id":12152,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12146,"src":"20107:6:66","typeDescriptions":{"typeIdentifier":"t_bytes25","typeString":"bytes25"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"20098:16:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage","typeString":"struct PoolKey storage ref"}},"id":12154,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20115:11:66","memberName":"tickSpacing","nodeType":"MemberAccess","referencedDeclaration":11058,"src":"20098:28:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":12155,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20130:1:66","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"20098:33:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12164,"nodeType":"IfStatement","src":"20094:90:66","trueBody":{"id":12163,"nodeType":"Block","src":"20133:51:66","statements":[{"expression":{"id":12161,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12157,"name":"poolKeys","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11297,"src":"20147:8:66","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes25_$_t_struct$_PoolKey_$11063_storage_$","typeString":"mapping(bytes25 => struct PoolKey storage ref)"}},"id":12159,"indexExpression":{"id":12158,"name":"poolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12146,"src":"20156:6:66","typeDescriptions":{"typeIdentifier":"t_bytes25","typeString":"bytes25"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"20147:16:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage","typeString":"struct PoolKey storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":12160,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12098,"src":"20166:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},"src":"20147:26:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage","typeString":"struct PoolKey storage ref"}},"id":12162,"nodeType":"ExpressionStatement","src":"20147:26:66"}]}},{"assignments":[12167,null],"declarations":[{"constant":false,"id":12167,"mutability":"mutable","name":"liquidityDelta","nameLocation":"20270:14:66","nodeType":"VariableDeclaration","scope":12188,"src":"20257:27:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":12166,"nodeType":"UserDefinedTypeName","pathNode":{"id":12165,"name":"BalanceDelta","nameLocations":["20257:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"20257:12:66"},"referencedDeclaration":10503,"src":"20257:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},null],"id":12180,"initialValue":{"arguments":[{"id":12169,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12131,"src":"20318:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},{"id":12170,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12098,"src":"20324:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12171,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12104,"src":"20333:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12172,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20343:8:66","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":8114,"src":"20333:18:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":12173,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20333:20:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"arguments":[{"id":12176,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12116,"src":"20363:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12175,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"20355:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":12174,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20355:7:66","typeDescriptions":{}}},"id":12177,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20355:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":12178,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12112,"src":"20373:8:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":12168,"name":"_modifyLiquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12614,"src":"20301:16:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_PositionInfo_$16704_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_int256_$_t_bytes32_$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (PositionInfo,struct PoolKey memory,int256,bytes32,bytes calldata) returns (BalanceDelta,BalanceDelta)"}},"id":12179,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20301:81:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"nodeType":"VariableDeclarationStatement","src":"20256:126:66"},{"expression":{"arguments":[{"id":12184,"name":"amount0Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12106,"src":"20421:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":12185,"name":"amount1Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12108,"src":"20433:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"expression":{"id":12181,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12167,"src":"20392:14:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":12183,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20407:13:66","memberName":"validateMaxIn","nodeType":"MemberAccess","referencedDeclaration":16980,"src":"20392:28:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_uint128_$_t_uint128_$returns$__$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta,uint128,uint128) pure"}},"id":12186,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20392:52:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12187,"nodeType":"ExpressionStatement","src":"20392:52:66"}]},"id":12189,"implemented":true,"kind":"function","modifiers":[],"name":"_mint","nameLocation":"19211:5:66","nodeType":"FunctionDefinition","parameters":{"id":12113,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12098,"mutability":"mutable","name":"poolKey","nameLocation":"19243:7:66","nodeType":"VariableDeclaration","scope":12189,"src":"19226:24:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":12097,"nodeType":"UserDefinedTypeName","pathNode":{"id":12096,"name":"PoolKey","nameLocations":["19226:7:66"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"19226:7:66"},"referencedDeclaration":11063,"src":"19226:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":12100,"mutability":"mutable","name":"tickLower","nameLocation":"19266:9:66","nodeType":"VariableDeclaration","scope":12189,"src":"19260:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":12099,"name":"int24","nodeType":"ElementaryTypeName","src":"19260:5:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":12102,"mutability":"mutable","name":"tickUpper","nameLocation":"19291:9:66","nodeType":"VariableDeclaration","scope":12189,"src":"19285:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":12101,"name":"int24","nodeType":"ElementaryTypeName","src":"19285:5:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":12104,"mutability":"mutable","name":"liquidity","nameLocation":"19318:9:66","nodeType":"VariableDeclaration","scope":12189,"src":"19310:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12103,"name":"uint256","nodeType":"ElementaryTypeName","src":"19310:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12106,"mutability":"mutable","name":"amount0Max","nameLocation":"19345:10:66","nodeType":"VariableDeclaration","scope":12189,"src":"19337:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":12105,"name":"uint128","nodeType":"ElementaryTypeName","src":"19337:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":12108,"mutability":"mutable","name":"amount1Max","nameLocation":"19373:10:66","nodeType":"VariableDeclaration","scope":12189,"src":"19365:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":12107,"name":"uint128","nodeType":"ElementaryTypeName","src":"19365:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":12110,"mutability":"mutable","name":"owner","nameLocation":"19401:5:66","nodeType":"VariableDeclaration","scope":12189,"src":"19393:13:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12109,"name":"address","nodeType":"ElementaryTypeName","src":"19393:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":12112,"mutability":"mutable","name":"hookData","nameLocation":"19431:8:66","nodeType":"VariableDeclaration","scope":12189,"src":"19416:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":12111,"name":"bytes","nodeType":"ElementaryTypeName","src":"19416:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"19216:229:66"},"returnParameters":{"id":12114,"nodeType":"ParameterList","parameters":[],"src":"19455:0:66"},"scope":12832,"src":"19202:1249:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12250,"nodeType":"Block","src":"20693:559:66","statements":[{"assignments":[12208,null,null,null],"declarations":[{"constant":false,"id":12208,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"20712:12:66","nodeType":"VariableDeclaration","scope":12250,"src":"20704:20:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":12207,"name":"uint160","nodeType":"ElementaryTypeName","src":"20704:7:66","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},null,null,null],"id":12215,"initialValue":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12211,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12192,"src":"20752:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},"id":12212,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20760:4:66","memberName":"toId","nodeType":"MemberAccess","referencedDeclaration":11030,"src":"20752:12:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_PoolKey_$11063_memory_ptr_$returns$_t_userDefinedValueType$_PoolId_$11017_$attached_to$_t_struct$_PoolKey_$11063_memory_ptr_$","typeString":"function (struct PoolKey memory) pure returns (PoolId)"}},"id":12213,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20752:14:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"expression":{"id":12209,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"20731:11:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":12210,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20743:8:66","memberName":"getSlot0","nodeType":"MemberAccess","referencedDeclaration":8708,"src":"20731:20:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_contract$_IPoolManager_$3917_$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_uint160_$_t_int24_$_t_uint24_$_t_uint24_$attached_to$_t_contract$_IPoolManager_$3917_$","typeString":"function (contract IPoolManager,PoolId) view returns (uint160,int24,uint24,uint24)"}},"id":12214,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20731:36:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint24_$_t_uint24_$","typeString":"tuple(uint160,int24,uint24,uint24)"}},"nodeType":"VariableDeclarationStatement","src":"20703:64:66"},{"assignments":[12217],"declarations":[{"constant":false,"id":12217,"mutability":"mutable","name":"liquidity","nameLocation":"20861:9:66","nodeType":"VariableDeclaration","scope":12250,"src":"20853:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12216,"name":"uint256","nodeType":"ElementaryTypeName","src":"20853:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12238,"initialValue":{"arguments":[{"id":12220,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12208,"src":"20926:12:66","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":12223,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12194,"src":"20980:9:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":12221,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"20952:8:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":12222,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20961:18:66","memberName":"getSqrtPriceAtTick","nodeType":"MemberAccess","referencedDeclaration":10190,"src":"20952:27:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":12224,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20952:38:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":12227,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12196,"src":"21032:9:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":12225,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"21004:8:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":12226,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21013:18:66","memberName":"getSqrtPriceAtTick","nodeType":"MemberAccess","referencedDeclaration":10190,"src":"21004:27:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":12228,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21004:38:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"expression":{"id":12230,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12192,"src":"21071:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},"id":12231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21079:9:66","memberName":"currency0","nodeType":"MemberAccess","referencedDeclaration":11048,"src":"21071:17:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":12229,"name":"_getFullCredit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13963,"src":"21056:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":12232,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21056:33:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"expression":{"id":12234,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12192,"src":"21118:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},"id":12235,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21126:9:66","memberName":"currency1","nodeType":"MemberAccess","referencedDeclaration":11052,"src":"21118:17:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":12233,"name":"_getFullCredit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13963,"src":"21103:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":12236,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21103:33:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":12218,"name":"LiquidityAmounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16590,"src":"20873:16:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_LiquidityAmounts_$16590_$","typeString":"type(library LiquidityAmounts)"}},"id":12219,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20890:22:66","memberName":"getLiquidityForAmounts","nodeType":"MemberAccess","referencedDeclaration":16589,"src":"20873:39:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint160_$_t_uint256_$_t_uint256_$returns$_t_uint128_$","typeString":"function (uint160,uint160,uint160,uint256,uint256) pure returns (uint128)"}},"id":12237,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20873:273:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"20853:293:66"},{"expression":{"arguments":[{"id":12240,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12192,"src":"21163:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},{"id":12241,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12194,"src":"21172:9:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":12242,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12196,"src":"21183:9:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":12243,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12217,"src":"21194:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12244,"name":"amount0Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12198,"src":"21205:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":12245,"name":"amount1Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12200,"src":"21217:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":12246,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12202,"src":"21229:5:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12247,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12204,"src":"21236:8:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":12239,"name":"_mint","nodeType":"Identifier","overloadedDeclarations":[12189,22238],"referencedDeclaration":12189,"src":"21157:5:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_int24_$_t_int24_$_t_uint256_$_t_uint128_$_t_uint128_$_t_address_$_t_bytes_calldata_ptr_$returns$__$","typeString":"function (struct PoolKey calldata,int24,int24,uint256,uint128,uint128,address,bytes calldata)"}},"id":12248,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21157:88:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12249,"nodeType":"ExpressionStatement","src":"21157:88:66"}]},"id":12251,"implemented":true,"kind":"function","modifiers":[],"name":"_mintFromDeltas","nameLocation":"20466:15:66","nodeType":"FunctionDefinition","parameters":{"id":12205,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12192,"mutability":"mutable","name":"poolKey","nameLocation":"20508:7:66","nodeType":"VariableDeclaration","scope":12251,"src":"20491:24:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":12191,"nodeType":"UserDefinedTypeName","pathNode":{"id":12190,"name":"PoolKey","nameLocations":["20491:7:66"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"20491:7:66"},"referencedDeclaration":11063,"src":"20491:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":12194,"mutability":"mutable","name":"tickLower","nameLocation":"20531:9:66","nodeType":"VariableDeclaration","scope":12251,"src":"20525:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":12193,"name":"int24","nodeType":"ElementaryTypeName","src":"20525:5:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":12196,"mutability":"mutable","name":"tickUpper","nameLocation":"20556:9:66","nodeType":"VariableDeclaration","scope":12251,"src":"20550:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":12195,"name":"int24","nodeType":"ElementaryTypeName","src":"20550:5:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":12198,"mutability":"mutable","name":"amount0Max","nameLocation":"20583:10:66","nodeType":"VariableDeclaration","scope":12251,"src":"20575:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":12197,"name":"uint128","nodeType":"ElementaryTypeName","src":"20575:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":12200,"mutability":"mutable","name":"amount1Max","nameLocation":"20611:10:66","nodeType":"VariableDeclaration","scope":12251,"src":"20603:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":12199,"name":"uint128","nodeType":"ElementaryTypeName","src":"20603:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":12202,"mutability":"mutable","name":"owner","nameLocation":"20639:5:66","nodeType":"VariableDeclaration","scope":12251,"src":"20631:13:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12201,"name":"address","nodeType":"ElementaryTypeName","src":"20631:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":12204,"mutability":"mutable","name":"hookData","nameLocation":"20669:8:66","nodeType":"VariableDeclaration","scope":12251,"src":"20654:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":12203,"name":"bytes","nodeType":"ElementaryTypeName","src":"20654:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"20481:202:66"},"returnParameters":{"id":12206,"nodeType":"ParameterList","parameters":[],"src":"20693:0:66"},"scope":12832,"src":"20457:795:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12380,"nodeType":"Block","src":"21480:1448:66","statements":[{"assignments":[12270,12273],"declarations":[{"constant":false,"id":12270,"mutability":"mutable","name":"poolKey","nameLocation":"21506:7:66","nodeType":"VariableDeclaration","scope":12380,"src":"21491:22:66","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":12269,"nodeType":"UserDefinedTypeName","pathNode":{"id":12268,"name":"PoolKey","nameLocations":["21491:7:66"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"21491:7:66"},"referencedDeclaration":11063,"src":"21491:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":12273,"mutability":"mutable","name":"info","nameLocation":"21528:4:66","nodeType":"VariableDeclaration","scope":12380,"src":"21515:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":12272,"nodeType":"UserDefinedTypeName","pathNode":{"id":12271,"name":"PositionInfo","nameLocations":["21515:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"21515:12:66"},"referencedDeclaration":16704,"src":"21515:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"id":12277,"initialValue":{"arguments":[{"id":12275,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12254,"src":"21559:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12274,"name":"getPoolAndPositionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12758,"src":"21536:22:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (uint256) view returns (struct PoolKey memory,PositionInfo)"}},"id":12276,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21536:31:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"tuple(struct PoolKey memory,PositionInfo)"}},"nodeType":"VariableDeclarationStatement","src":"21490:77:66"},{"assignments":[12279],"declarations":[{"constant":false,"id":12279,"mutability":"mutable","name":"liquidity","nameLocation":"21586:9:66","nodeType":"VariableDeclaration","scope":12380,"src":"21578:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12278,"name":"uint256","nodeType":"ElementaryTypeName","src":"21578:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12293,"initialValue":{"arguments":[{"arguments":[{"id":12283,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12254,"src":"21620:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12284,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12270,"src":"21629:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12285,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12273,"src":"21638:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12286,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21643:9:66","memberName":"tickLower","nodeType":"MemberAccess","referencedDeclaration":16757,"src":"21638:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (int24)"}},"id":12287,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21638:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12288,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12273,"src":"21656:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12289,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21661:9:66","memberName":"tickUpper","nodeType":"MemberAccess","referencedDeclaration":16767,"src":"21656:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (int24)"}},"id":12290,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21656:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"}],"id":12282,"name":"_getLiquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12831,"src":"21606:13:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_int24_$_t_int24_$returns$_t_uint128_$","typeString":"function (uint256,struct PoolKey memory,int24,int24) view returns (uint128)"}},"id":12291,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21606:67:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":12281,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"21598:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":12280,"name":"uint256","nodeType":"ElementaryTypeName","src":"21598:7:66","typeDescriptions":{}}},"id":12292,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21598:76:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"21578:96:66"},{"assignments":[12295],"declarations":[{"constant":false,"id":12295,"mutability":"mutable","name":"owner","nameLocation":"21693:5:66","nodeType":"VariableDeclaration","scope":12380,"src":"21685:13:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12294,"name":"address","nodeType":"ElementaryTypeName","src":"21685:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":12299,"initialValue":{"arguments":[{"id":12297,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12254,"src":"21709:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12296,"name":"ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21893,"src":"21701:7:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":12298,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21701:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"21685:32:66"},{"expression":{"id":12305,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12300,"name":"positionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11292,"src":"21764:12:66","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"mapping(uint256 => PositionInfo)"}},"id":12302,"indexExpression":{"id":12301,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12254,"src":"21777:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"21764:21:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":12303,"name":"PositionInfoLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16830,"src":"21788:19:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_PositionInfoLibrary_$16830_$","typeString":"type(library PositionInfoLibrary)"}},"id":12304,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"21808:19:66","memberName":"EMPTY_POSITION_INFO","nodeType":"MemberAccess","referencedDeclaration":16715,"src":"21788:39:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"src":"21764:63:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12306,"nodeType":"ExpressionStatement","src":"21764:63:66"},{"expression":{"arguments":[{"id":12308,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12254,"src":"21870:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12307,"name":"_burn","nodeType":"Identifier","overloadedDeclarations":[12381,22285],"referencedDeclaration":22285,"src":"21864:5:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":12309,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21864:14:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12310,"nodeType":"ExpressionStatement","src":"21864:14:66"},{"assignments":[12313],"declarations":[{"constant":false,"id":12313,"mutability":"mutable","name":"feesAccrued","nameLocation":"21966:11:66","nodeType":"VariableDeclaration","scope":12380,"src":"21953:24:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":12312,"nodeType":"UserDefinedTypeName","pathNode":{"id":12311,"name":"BalanceDelta","nameLocations":["21953:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"21953:12:66"},"referencedDeclaration":10503,"src":"21953:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"id":12314,"nodeType":"VariableDeclarationStatement","src":"21953:24:66"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12317,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12315,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12279,"src":"21991:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":12316,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22003:1:66","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"21991:13:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12367,"nodeType":"IfStatement","src":"21987:774:66","trueBody":{"id":12366,"nodeType":"Block","src":"22006:755:66","statements":[{"assignments":[12320],"declarations":[{"constant":false,"id":12320,"mutability":"mutable","name":"liquidityDelta","nameLocation":"22033:14:66","nodeType":"VariableDeclaration","scope":12366,"src":"22020:27:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":12319,"nodeType":"UserDefinedTypeName","pathNode":{"id":12318,"name":"BalanceDelta","nameLocations":["22020:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"22020:12:66"},"referencedDeclaration":10503,"src":"22020:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"id":12321,"nodeType":"VariableDeclarationStatement","src":"22020:27:66"},{"assignments":[12326],"declarations":[{"constant":false,"id":12326,"mutability":"mutable","name":"params","nameLocation":"22201:6:66","nodeType":"VariableDeclaration","scope":12366,"src":"22159:48:66","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"},"typeName":{"id":12325,"nodeType":"UserDefinedTypeName","pathNode":{"id":12324,"name":"IPoolManager.ModifyLiquidityParams","nameLocations":["22159:12:66","22172:21:66"],"nodeType":"IdentifierPath","referencedDeclaration":3787,"src":"22159:34:66"},"referencedDeclaration":3787,"src":"22159:34:66","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_storage_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams"}},"visibility":"internal"}],"id":12345,"initialValue":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12329,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12273,"src":"22274:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12330,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22279:9:66","memberName":"tickLower","nodeType":"MemberAccess","referencedDeclaration":16757,"src":"22274:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (int24)"}},"id":12331,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22274:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12332,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12273,"src":"22319:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12333,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22324:9:66","memberName":"tickUpper","nodeType":"MemberAccess","referencedDeclaration":16767,"src":"22319:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (int24)"}},"id":12334,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22319:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":12339,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"22369:23:66","subExpression":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12335,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12279,"src":"22371:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12336,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22381:8:66","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":8114,"src":"22371:18:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":12337,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22371:20:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":12338,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"22370:22:66","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"arguments":[{"id":12342,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12254,"src":"22424:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12341,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"22416:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":12340,"name":"bytes32","nodeType":"ElementaryTypeName","src":"22416:7:66","typeDescriptions":{}}},"id":12343,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22416:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":12327,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"22210:12:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IPoolManager_$3917_$","typeString":"type(contract IPoolManager)"}},"id":12328,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22223:21:66","memberName":"ModifyLiquidityParams","nodeType":"MemberAccess","referencedDeclaration":3787,"src":"22210:34:66","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_ModifyLiquidityParams_$3787_storage_ptr_$","typeString":"type(struct IPoolManager.ModifyLiquidityParams storage pointer)"}},"id":12344,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["22263:9:66","22308:9:66","22353:14:66","22410:4:66"],"names":["tickLower","tickUpper","liquidityDelta","salt"],"nodeType":"FunctionCall","src":"22210:237:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},"nodeType":"VariableDeclarationStatement","src":"22159:288:66"},{"expression":{"id":12355,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":12346,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12320,"src":"22462:14:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":12347,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12313,"src":"22478:11:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":12348,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"22461:29:66","typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":12351,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12270,"src":"22521:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":12352,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12326,"src":"22530:6:66","typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},{"id":12353,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12260,"src":"22538:8:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"id":12349,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"22493:11:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":12350,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22505:15:66","memberName":"modifyLiquidity","nodeType":"MemberAccess","referencedDeclaration":3805,"src":"22493:27:66","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_ModifyLiquidityParams_$3787_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (struct PoolKey memory,struct IPoolManager.ModifyLiquidityParams memory,bytes memory) external returns (BalanceDelta,BalanceDelta)"}},"id":12354,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22493:54:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"src":"22461:86:66","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12356,"nodeType":"ExpressionStatement","src":"22461:86:66"},{"expression":{"arguments":[{"id":12362,"name":"amount0Min","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12256,"src":"22727:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":12363,"name":"amount1Min","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12258,"src":"22739:10:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"expression":{"components":[{"commonType":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"function":10587,"id":12359,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12357,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12320,"src":"22682:14:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":12358,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12313,"src":"22699:11:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"src":"22682:28:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":12360,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"22681:30:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":12361,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22712:14:66","memberName":"validateMinOut","nodeType":"MemberAccess","referencedDeclaration":16900,"src":"22681:45:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_uint128_$_t_uint128_$returns$__$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta,uint128,uint128) pure"}},"id":12364,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22681:69:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12365,"nodeType":"ExpressionStatement","src":"22681:69:66"}]}},{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12368,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12273,"src":"22823:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12369,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22828:13:66","memberName":"hasSubscriber","nodeType":"MemberAccess","referencedDeclaration":16777,"src":"22823:18:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_bool_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (bool)"}},"id":12370,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22823:20:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12379,"nodeType":"IfStatement","src":"22819:102:66","trueBody":{"expression":{"arguments":[{"id":12372,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12254,"src":"22876:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12373,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12295,"src":"22885:5:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12374,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12273,"src":"22892:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},{"id":12375,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12279,"src":"22898:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12376,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12313,"src":"22909:11:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}],"id":12371,"name":"_removeSubscriberAndNotifyBurn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14962,"src":"22845:30:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_address_$_t_userDefinedValueType$_PositionInfo_$16704_$_t_uint256_$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$__$","typeString":"function (uint256,address,PositionInfo,uint256,BalanceDelta)"}},"id":12377,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22845:76:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12378,"nodeType":"ExpressionStatement","src":"22845:76:66"}}]},"documentation":{"id":12252,"nodeType":"StructuredDocumentation","src":"21258:54:66","text":"@dev this is overloaded with ERC721Permit_v4._burn"},"id":12381,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":12263,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[11447],"referencedDeclaration":11447,"src":"21454:9:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":12264,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21454:11:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12265,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12254,"src":"21467:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":12266,"kind":"modifierInvocation","modifierName":{"id":12262,"name":"onlyIfApproved","nameLocations":["21439:14:66"],"nodeType":"IdentifierPath","referencedDeclaration":11371,"src":"21439:14:66"},"nodeType":"ModifierInvocation","src":"21439:36:66"}],"name":"_burn","nameLocation":"21326:5:66","nodeType":"FunctionDefinition","parameters":{"id":12261,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12254,"mutability":"mutable","name":"tokenId","nameLocation":"21340:7:66","nodeType":"VariableDeclaration","scope":12381,"src":"21332:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12253,"name":"uint256","nodeType":"ElementaryTypeName","src":"21332:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12256,"mutability":"mutable","name":"amount0Min","nameLocation":"21357:10:66","nodeType":"VariableDeclaration","scope":12381,"src":"21349:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":12255,"name":"uint128","nodeType":"ElementaryTypeName","src":"21349:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":12258,"mutability":"mutable","name":"amount1Min","nameLocation":"21377:10:66","nodeType":"VariableDeclaration","scope":12381,"src":"21369:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":12257,"name":"uint128","nodeType":"ElementaryTypeName","src":"21369:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":12260,"mutability":"mutable","name":"hookData","nameLocation":"21404:8:66","nodeType":"VariableDeclaration","scope":12381,"src":"21389:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":12259,"name":"bytes","nodeType":"ElementaryTypeName","src":"21389:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"21331:82:66"},"returnParameters":{"id":12267,"nodeType":"ParameterList","parameters":[],"src":"21480:0:66"},"scope":12832,"src":"21317:1611:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12411,"nodeType":"Block","src":"23004:216:66","statements":[{"assignments":[12391],"declarations":[{"constant":false,"id":12391,"mutability":"mutable","name":"caller","nameLocation":"23071:6:66","nodeType":"VariableDeclaration","scope":12411,"src":"23063:14:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12390,"name":"address","nodeType":"ElementaryTypeName","src":"23063:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":12394,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":12392,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[11447],"referencedDeclaration":11447,"src":"23080:9:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":12393,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23080:11:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"23063:28:66"},{"expression":{"arguments":[{"id":12396,"name":"currency0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12384,"src":"23109:9:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":12397,"name":"caller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12391,"src":"23120:6:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":12399,"name":"currency0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12384,"src":"23141:9:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":12398,"name":"_getFullDebt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13927,"src":"23128:12:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":12400,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23128:23:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12395,"name":"_settle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13879,"src":"23101:7:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":12401,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23101:51:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12402,"nodeType":"ExpressionStatement","src":"23101:51:66"},{"expression":{"arguments":[{"id":12404,"name":"currency1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12387,"src":"23170:9:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":12405,"name":"caller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12391,"src":"23181:6:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":12407,"name":"currency1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12387,"src":"23202:9:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":12406,"name":"_getFullDebt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13927,"src":"23189:12:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":12408,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23189:23:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12403,"name":"_settle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13879,"src":"23162:7:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":12409,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23162:51:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12410,"nodeType":"ExpressionStatement","src":"23162:51:66"}]},"id":12412,"implemented":true,"kind":"function","modifiers":[],"name":"_settlePair","nameLocation":"22943:11:66","nodeType":"FunctionDefinition","parameters":{"id":12388,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12384,"mutability":"mutable","name":"currency0","nameLocation":"22964:9:66","nodeType":"VariableDeclaration","scope":12412,"src":"22955:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":12383,"nodeType":"UserDefinedTypeName","pathNode":{"id":12382,"name":"Currency","nameLocations":["22955:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"22955:8:66"},"referencedDeclaration":10717,"src":"22955:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":12387,"mutability":"mutable","name":"currency1","nameLocation":"22984:9:66","nodeType":"VariableDeclaration","scope":12412,"src":"22975:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":12386,"nodeType":"UserDefinedTypeName","pathNode":{"id":12385,"name":"Currency","nameLocations":["22975:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"22975:8:66"},"referencedDeclaration":10717,"src":"22975:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"22954:40:66"},"returnParameters":{"id":12389,"nodeType":"ParameterList","parameters":[],"src":"23004:0:66"},"scope":12832,"src":"22934:286:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12439,"nodeType":"Block","src":"23313:135:66","statements":[{"expression":{"arguments":[{"id":12424,"name":"currency0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12415,"src":"23329:9:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":12425,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12420,"src":"23340:9:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":12427,"name":"currency0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12415,"src":"23366:9:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":12426,"name":"_getFullCredit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13963,"src":"23351:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":12428,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23351:25:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12423,"name":"_take","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13832,"src":"23323:5:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":12429,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23323:54:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12430,"nodeType":"ExpressionStatement","src":"23323:54:66"},{"expression":{"arguments":[{"id":12432,"name":"currency1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12418,"src":"23393:9:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":12433,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12420,"src":"23404:9:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":12435,"name":"currency1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12418,"src":"23430:9:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":12434,"name":"_getFullCredit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13963,"src":"23415:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":12436,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23415:25:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12431,"name":"_take","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13832,"src":"23387:5:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":12437,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23387:54:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12438,"nodeType":"ExpressionStatement","src":"23387:54:66"}]},"id":12440,"implemented":true,"kind":"function","modifiers":[],"name":"_takePair","nameLocation":"23235:9:66","nodeType":"FunctionDefinition","parameters":{"id":12421,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12415,"mutability":"mutable","name":"currency0","nameLocation":"23254:9:66","nodeType":"VariableDeclaration","scope":12440,"src":"23245:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":12414,"nodeType":"UserDefinedTypeName","pathNode":{"id":12413,"name":"Currency","nameLocations":["23245:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"23245:8:66"},"referencedDeclaration":10717,"src":"23245:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":12418,"mutability":"mutable","name":"currency1","nameLocation":"23274:9:66","nodeType":"VariableDeclaration","scope":12440,"src":"23265:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":12417,"nodeType":"UserDefinedTypeName","pathNode":{"id":12416,"name":"Currency","nameLocations":["23265:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"23265:8:66"},"referencedDeclaration":10717,"src":"23265:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":12420,"mutability":"mutable","name":"recipient","nameLocation":"23293:9:66","nodeType":"VariableDeclaration","scope":12440,"src":"23285:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12419,"name":"address","nodeType":"ElementaryTypeName","src":"23285:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"23244:59:66"},"returnParameters":{"id":12422,"nodeType":"ParameterList","parameters":[],"src":"23313:0:66"},"scope":12832,"src":"23226:222:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12487,"nodeType":"Block","src":"23498:617:66","statements":[{"assignments":[12447],"declarations":[{"constant":false,"id":12447,"mutability":"mutable","name":"currencyDelta","nameLocation":"23696:13:66","nodeType":"VariableDeclaration","scope":12487,"src":"23689:20:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":12446,"name":"int256","nodeType":"ElementaryTypeName","src":"23689:6:66","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":12456,"initialValue":{"arguments":[{"arguments":[{"id":12452,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"23746:4:66","typeDescriptions":{"typeIdentifier":"t_contract$_PositionManager_$12832","typeString":"contract PositionManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_PositionManager_$12832","typeString":"contract PositionManager"}],"id":12451,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"23738:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":12450,"name":"address","nodeType":"ElementaryTypeName","src":"23738:7:66","typeDescriptions":{}}},"id":12453,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23738:13:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12454,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12443,"src":"23753:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":12448,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"23712:11:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":12449,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"23724:13:66","memberName":"currencyDelta","nodeType":"MemberAccess","referencedDeclaration":10448,"src":"23712:25:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_contract$_IPoolManager_$3917_$_t_address_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_int256_$attached_to$_t_contract$_IPoolManager_$3917_$","typeString":"function (contract IPoolManager,address,Currency) view returns (int256)"}},"id":12455,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23712:50:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"VariableDeclarationStatement","src":"23689:73:66"},{"assignments":[12458],"declarations":[{"constant":false,"id":12458,"mutability":"mutable","name":"caller","nameLocation":"23828:6:66","nodeType":"VariableDeclaration","scope":12487,"src":"23820:14:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12457,"name":"address","nodeType":"ElementaryTypeName","src":"23820:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":12461,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":12459,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[11447],"referencedDeclaration":11447,"src":"23837:9:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":12460,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23837:11:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"23820:28:66"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":12464,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12462,"name":"currencyDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12447,"src":"23862:13:66","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":12463,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23878:1:66","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"23862:17:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":12485,"nodeType":"Block","src":"24037:72:66","statements":[{"expression":{"arguments":[{"id":12477,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12443,"src":"24057:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":12478,"name":"caller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12458,"src":"24067:6:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":12481,"name":"currencyDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12447,"src":"24083:13:66","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":12480,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"24075:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":12479,"name":"uint256","nodeType":"ElementaryTypeName","src":"24075:7:66","typeDescriptions":{}}},"id":12482,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24075:22:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12476,"name":"_take","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13832,"src":"24051:5:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":12483,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24051:47:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12484,"nodeType":"ExpressionStatement","src":"24051:47:66"}]},"id":12486,"nodeType":"IfStatement","src":"23858:251:66","trueBody":{"id":12475,"nodeType":"Block","src":"23881:150:66","statements":[{"expression":{"arguments":[{"id":12466,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12443,"src":"23978:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":12467,"name":"caller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12458,"src":"23988:6:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":12471,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"24004:14:66","subExpression":{"id":12470,"name":"currencyDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12447,"src":"24005:13:66","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":12469,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"23996:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":12468,"name":"uint256","nodeType":"ElementaryTypeName","src":"23996:7:66","typeDescriptions":{}}},"id":12472,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23996:23:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12465,"name":"_settle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13879,"src":"23970:7:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":12473,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23970:50:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12474,"nodeType":"ExpressionStatement","src":"23970:50:66"}]}}]},"id":12488,"implemented":true,"kind":"function","modifiers":[],"name":"_close","nameLocation":"23463:6:66","nodeType":"FunctionDefinition","parameters":{"id":12444,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12443,"mutability":"mutable","name":"currency","nameLocation":"23479:8:66","nodeType":"VariableDeclaration","scope":12488,"src":"23470:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":12442,"nodeType":"UserDefinedTypeName","pathNode":{"id":12441,"name":"Currency","nameLocations":["23470:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"23470:8:66"},"referencedDeclaration":10717,"src":"23470:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"23469:19:66"},"returnParameters":{"id":12445,"nodeType":"ParameterList","parameters":[],"src":"23498:0:66"},"scope":12832,"src":"23454:661:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12528,"nodeType":"Block","src":"24401:331:66","statements":[{"assignments":[12498],"declarations":[{"constant":false,"id":12498,"mutability":"mutable","name":"delta","nameLocation":"24419:5:66","nodeType":"VariableDeclaration","scope":12528,"src":"24411:13:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12497,"name":"uint256","nodeType":"ElementaryTypeName","src":"24411:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12502,"initialValue":{"arguments":[{"id":12500,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12492,"src":"24442:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":12499,"name":"_getFullCredit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13963,"src":"24427:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":12501,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24427:24:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"24411:40:66"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12505,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12503,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12498,"src":"24465:5:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":12504,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24474:1:66","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"24465:10:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12507,"nodeType":"IfStatement","src":"24461:23:66","trueBody":{"functionReturnParameters":12496,"id":12506,"nodeType":"Return","src":"24477:7:66"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12510,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12508,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12498,"src":"24581:5:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":12509,"name":"amountMax","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12494,"src":"24590:9:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24581:18:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":12526,"nodeType":"Block","src":"24666:60:66","statements":[{"expression":{"arguments":[{"id":12520,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12492,"src":"24686:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[],"expression":{"argumentTypes":[],"id":12521,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[11447],"referencedDeclaration":11447,"src":"24696:9:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":12522,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24696:11:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12523,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12498,"src":"24709:5:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12519,"name":"_take","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13832,"src":"24680:5:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":12524,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24680:35:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12525,"nodeType":"ExpressionStatement","src":"24680:35:66"}]},"id":12527,"nodeType":"IfStatement","src":"24577:149:66","trueBody":{"id":12518,"nodeType":"Block","src":"24601:59:66","statements":[{"expression":{"arguments":[{"id":12514,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12492,"src":"24633:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":12515,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12498,"src":"24643:5:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":12511,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"24615:11:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":12513,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"24627:5:66","memberName":"clear","nodeType":"MemberAccess","referencedDeclaration":3887,"src":"24615:17:66","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$returns$__$","typeString":"function (Currency,uint256) external"}},"id":12516,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24615:34:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12517,"nodeType":"ExpressionStatement","src":"24615:34:66"}]}}]},"documentation":{"id":12489,"nodeType":"StructuredDocumentation","src":"24121:206:66","text":"@dev integrators may elect to forfeit positive deltas with clear\n if the forfeit amount exceeds the user-specified max, the amount is taken instead\n if there is no credit, no call is made."},"id":12529,"implemented":true,"kind":"function","modifiers":[],"name":"_clearOrTake","nameLocation":"24341:12:66","nodeType":"FunctionDefinition","parameters":{"id":12495,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12492,"mutability":"mutable","name":"currency","nameLocation":"24363:8:66","nodeType":"VariableDeclaration","scope":12529,"src":"24354:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":12491,"nodeType":"UserDefinedTypeName","pathNode":{"id":12490,"name":"Currency","nameLocations":["24354:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"24354:8:66"},"referencedDeclaration":10717,"src":"24354:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":12494,"mutability":"mutable","name":"amountMax","nameLocation":"24381:9:66","nodeType":"VariableDeclaration","scope":12529,"src":"24373:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12493,"name":"uint256","nodeType":"ElementaryTypeName","src":"24373:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"24353:38:66"},"returnParameters":{"id":12496,"nodeType":"ParameterList","parameters":[],"src":"24401:0:66"},"scope":12832,"src":"24332:400:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12555,"nodeType":"Block","src":"24884:116:66","statements":[{"assignments":[12539],"declarations":[{"constant":false,"id":12539,"mutability":"mutable","name":"balance","nameLocation":"24902:7:66","nodeType":"VariableDeclaration","scope":12555,"src":"24894:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12538,"name":"uint256","nodeType":"ElementaryTypeName","src":"24894:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12543,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12540,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12533,"src":"24912:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":12541,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"24921:13:66","memberName":"balanceOfSelf","nodeType":"MemberAccess","referencedDeclaration":10924,"src":"24912:22:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) view returns (uint256)"}},"id":12542,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24912:24:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"24894:42:66"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12546,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12544,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12539,"src":"24950:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":12545,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24960:1:66","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"24950:11:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12554,"nodeType":"IfStatement","src":"24946:47:66","trueBody":{"expression":{"arguments":[{"id":12550,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12535,"src":"24981:2:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12551,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12539,"src":"24985:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":12547,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12533,"src":"24963:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":12549,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"24972:8:66","memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":10890,"src":"24963:17:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency,address,uint256)"}},"id":12552,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24963:30:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12553,"nodeType":"ExpressionStatement","src":"24963:30:66"}}]},"documentation":{"id":12530,"nodeType":"StructuredDocumentation","src":"24738:85:66","text":"@notice Sweeps the entire contract balance of specified currency to the recipient"},"id":12556,"implemented":true,"kind":"function","modifiers":[],"name":"_sweep","nameLocation":"24837:6:66","nodeType":"FunctionDefinition","parameters":{"id":12536,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12533,"mutability":"mutable","name":"currency","nameLocation":"24853:8:66","nodeType":"VariableDeclaration","scope":12556,"src":"24844:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":12532,"nodeType":"UserDefinedTypeName","pathNode":{"id":12531,"name":"Currency","nameLocations":["24844:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"24844:8:66"},"referencedDeclaration":10717,"src":"24844:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":12535,"mutability":"mutable","name":"to","nameLocation":"24871:2:66","nodeType":"VariableDeclaration","scope":12556,"src":"24863:10:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12534,"name":"address","nodeType":"ElementaryTypeName","src":"24863:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"24843:31:66"},"returnParameters":{"id":12537,"nodeType":"ParameterList","parameters":[],"src":"24884:0:66"},"scope":12832,"src":"24828:172:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12613,"nodeType":"Block","src":"25362:488:66","statements":[{"expression":{"id":12597,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":12578,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12573,"src":"25373:14:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},{"id":12579,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12576,"src":"25389:11:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":12580,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"25372:29:66","typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":12583,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12563,"src":"25445:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12586,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12560,"src":"25530:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12587,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"25535:9:66","memberName":"tickLower","nodeType":"MemberAccess","referencedDeclaration":16757,"src":"25530:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (int24)"}},"id":12588,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25530:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12589,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12560,"src":"25575:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12590,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"25580:9:66","memberName":"tickUpper","nodeType":"MemberAccess","referencedDeclaration":16767,"src":"25575:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (int24)"}},"id":12591,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25575:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":12592,"name":"liquidityChange","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12565,"src":"25625:15:66","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"id":12593,"name":"salt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12567,"src":"25664:4:66","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":12584,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"25466:12:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IPoolManager_$3917_$","typeString":"type(contract IPoolManager)"}},"id":12585,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"25479:21:66","memberName":"ModifyLiquidityParams","nodeType":"MemberAccess","referencedDeclaration":3787,"src":"25466:34:66","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_ModifyLiquidityParams_$3787_storage_ptr_$","typeString":"type(struct IPoolManager.ModifyLiquidityParams storage pointer)"}},"id":12594,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["25519:9:66","25564:9:66","25609:14:66","25658:4:66"],"names":["tickLower","tickUpper","liquidityDelta","salt"],"nodeType":"FunctionCall","src":"25466:217:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"}},{"id":12595,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12569,"src":"25697:8:66","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_struct$_ModifyLiquidityParams_$3787_memory_ptr","typeString":"struct IPoolManager.ModifyLiquidityParams memory"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"id":12581,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"25404:11:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":12582,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"25416:15:66","memberName":"modifyLiquidity","nodeType":"MemberAccess","referencedDeclaration":3805,"src":"25404:27:66","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_ModifyLiquidityParams_$3787_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (struct PoolKey memory,struct IPoolManager.ModifyLiquidityParams memory,bytes memory) external returns (BalanceDelta,BalanceDelta)"}},"id":12596,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25404:311:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_BalanceDelta_$10503_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(BalanceDelta,BalanceDelta)"}},"src":"25372:343:66","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12598,"nodeType":"ExpressionStatement","src":"25372:343:66"},{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12599,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12560,"src":"25730:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12600,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"25735:13:66","memberName":"hasSubscriber","nodeType":"MemberAccess","referencedDeclaration":16777,"src":"25730:18:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_bool_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (bool)"}},"id":12601,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25730:20:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12612,"nodeType":"IfStatement","src":"25726:118:66","trueBody":{"id":12611,"nodeType":"Block","src":"25752:92:66","statements":[{"expression":{"arguments":[{"arguments":[{"id":12605,"name":"salt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12567,"src":"25797:4:66","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":12604,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"25789:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":12603,"name":"uint256","nodeType":"ElementaryTypeName","src":"25789:7:66","typeDescriptions":{}}},"id":12606,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25789:13:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12607,"name":"liquidityChange","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12565,"src":"25804:15:66","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"id":12608,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12576,"src":"25821:11:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}],"id":12602,"name":"_notifyModifyLiquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15011,"src":"25766:22:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_int256_$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$__$","typeString":"function (uint256,int256,BalanceDelta)"}},"id":12609,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25766:67:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12610,"nodeType":"ExpressionStatement","src":"25766:67:66"}]}}]},"documentation":{"id":12557,"nodeType":"StructuredDocumentation","src":"25006:100:66","text":"@dev if there is a subscriber attached to the position, this function will notify the subscriber"},"id":12614,"implemented":true,"kind":"function","modifiers":[],"name":"_modifyLiquidity","nameLocation":"25120:16:66","nodeType":"FunctionDefinition","parameters":{"id":12570,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12560,"mutability":"mutable","name":"info","nameLocation":"25159:4:66","nodeType":"VariableDeclaration","scope":12614,"src":"25146:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":12559,"nodeType":"UserDefinedTypeName","pathNode":{"id":12558,"name":"PositionInfo","nameLocations":["25146:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"25146:12:66"},"referencedDeclaration":16704,"src":"25146:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"},{"constant":false,"id":12563,"mutability":"mutable","name":"poolKey","nameLocation":"25188:7:66","nodeType":"VariableDeclaration","scope":12614,"src":"25173:22:66","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":12562,"nodeType":"UserDefinedTypeName","pathNode":{"id":12561,"name":"PoolKey","nameLocations":["25173:7:66"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"25173:7:66"},"referencedDeclaration":11063,"src":"25173:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":12565,"mutability":"mutable","name":"liquidityChange","nameLocation":"25212:15:66","nodeType":"VariableDeclaration","scope":12614,"src":"25205:22:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":12564,"name":"int256","nodeType":"ElementaryTypeName","src":"25205:6:66","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":12567,"mutability":"mutable","name":"salt","nameLocation":"25245:4:66","nodeType":"VariableDeclaration","scope":12614,"src":"25237:12:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":12566,"name":"bytes32","nodeType":"ElementaryTypeName","src":"25237:7:66","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":12569,"mutability":"mutable","name":"hookData","nameLocation":"25274:8:66","nodeType":"VariableDeclaration","scope":12614,"src":"25259:23:66","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":12568,"name":"bytes","nodeType":"ElementaryTypeName","src":"25259:5:66","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"25136:152:66"},"returnParameters":{"id":12577,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12573,"mutability":"mutable","name":"liquidityDelta","nameLocation":"25320:14:66","nodeType":"VariableDeclaration","scope":12614,"src":"25307:27:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":12572,"nodeType":"UserDefinedTypeName","pathNode":{"id":12571,"name":"BalanceDelta","nameLocations":["25307:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"25307:12:66"},"referencedDeclaration":10503,"src":"25307:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":12576,"mutability":"mutable","name":"feesAccrued","nameLocation":"25349:11:66","nodeType":"VariableDeclaration","scope":12614,"src":"25336:24:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":12575,"nodeType":"UserDefinedTypeName","pathNode":{"id":12574,"name":"BalanceDelta","nameLocations":["25336:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"25336:12:66"},"referencedDeclaration":10503,"src":"25336:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"25306:55:66"},"scope":12832,"src":"25111:739:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[13890],"body":{"id":12662,"nodeType":"Block","src":"26000:339:66","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":12630,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12625,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12619,"src":"26014:5:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"id":12628,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"26031:4:66","typeDescriptions":{"typeIdentifier":"t_contract$_PositionManager_$12832","typeString":"contract PositionManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_PositionManager_$12832","typeString":"contract PositionManager"}],"id":12627,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"26023:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":12626,"name":"address","nodeType":"ElementaryTypeName","src":"26023:7:66","typeDescriptions":{}}},"id":12629,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26023:13:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"26014:22:66","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":12660,"nodeType":"Block","src":"26116:217:66","statements":[{"expression":{"arguments":[{"id":12645,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12619,"src":"26250:5:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":12648,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"26265:11:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}],"id":12647,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"26257:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":12646,"name":"address","nodeType":"ElementaryTypeName","src":"26257:7:66","typeDescriptions":{}}},"id":12649,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26257:20:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":12652,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12621,"src":"26287:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12651,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"26279:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":12650,"name":"uint160","nodeType":"ElementaryTypeName","src":"26279:7:66","typeDescriptions":{}}},"id":12653,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26279:15:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":12656,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12617,"src":"26312:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":12654,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"26296:8:66","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":12655,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"26305:6:66","memberName":"unwrap","nodeType":"MemberAccess","src":"26296:15:66","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":12657,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26296:25:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":12642,"name":"permit2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15048,"src":"26229:7:66","typeDescriptions":{"typeIdentifier":"t_contract$_IAllowanceTransfer_$21003","typeString":"contract IAllowanceTransfer"}},"id":12644,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26237:12:66","memberName":"transferFrom","nodeType":"MemberAccess","referencedDeclaration":20976,"src":"26229:20:66","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint160_$_t_address_$returns$__$","typeString":"function (address,address,uint160,address) external"}},"id":12658,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26229:93:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12659,"nodeType":"ExpressionStatement","src":"26229:93:66"}]},"id":12661,"nodeType":"IfStatement","src":"26010:323:66","trueBody":{"id":12641,"nodeType":"Block","src":"26038:72:66","statements":[{"expression":{"arguments":[{"arguments":[{"id":12636,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"26078:11:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}],"id":12635,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"26070:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":12634,"name":"address","nodeType":"ElementaryTypeName","src":"26070:7:66","typeDescriptions":{}}},"id":12637,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26070:20:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12638,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12621,"src":"26092:6:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":12631,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12617,"src":"26052:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":12633,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26061:8:66","memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":10890,"src":"26052:17:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency,address,uint256)"}},"id":12639,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26052:47:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12640,"nodeType":"ExpressionStatement","src":"26052:47:66"}]}}]},"id":12663,"implemented":true,"kind":"function","modifiers":[],"name":"_pay","nameLocation":"25927:4:66","nodeType":"FunctionDefinition","overrides":{"id":12623,"nodeType":"OverrideSpecifier","overrides":[],"src":"25991:8:66"},"parameters":{"id":12622,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12617,"mutability":"mutable","name":"currency","nameLocation":"25941:8:66","nodeType":"VariableDeclaration","scope":12663,"src":"25932:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":12616,"nodeType":"UserDefinedTypeName","pathNode":{"id":12615,"name":"Currency","nameLocations":["25932:8:66"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"25932:8:66"},"referencedDeclaration":10717,"src":"25932:8:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":12619,"mutability":"mutable","name":"payer","nameLocation":"25959:5:66","nodeType":"VariableDeclaration","scope":12663,"src":"25951:13:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12618,"name":"address","nodeType":"ElementaryTypeName","src":"25951:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":12621,"mutability":"mutable","name":"amount","nameLocation":"25974:6:66","nodeType":"VariableDeclaration","scope":12663,"src":"25966:14:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12620,"name":"uint256","nodeType":"ElementaryTypeName","src":"25966:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"25931:50:66"},"returnParameters":{"id":12624,"nodeType":"ParameterList","parameters":[],"src":"26000:0:66"},"scope":12832,"src":"25918:421:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[14730],"body":{"id":12680,"nodeType":"Block","src":"26456:77:66","statements":[{"expression":{"id":12678,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12670,"name":"positionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11292,"src":"26466:12:66","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"mapping(uint256 => PositionInfo)"}},"id":12672,"indexExpression":{"id":12671,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12666,"src":"26479:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"26466:21:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"baseExpression":{"id":12673,"name":"positionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11292,"src":"26490:12:66","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"mapping(uint256 => PositionInfo)"}},"id":12675,"indexExpression":{"id":12674,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12666,"src":"26503:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"26490:21:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12676,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26512:12:66","memberName":"setSubscribe","nodeType":"MemberAccess","referencedDeclaration":16789,"src":"26490:34:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_userDefinedValueType$_PositionInfo_$16704_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (PositionInfo)"}},"id":12677,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26490:36:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"src":"26466:60:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12679,"nodeType":"ExpressionStatement","src":"26466:60:66"}]},"documentation":{"id":12664,"nodeType":"StructuredDocumentation","src":"26345:47:66","text":"@notice an internal helper used by Notifier"},"id":12681,"implemented":true,"kind":"function","modifiers":[],"name":"_setSubscribed","nameLocation":"26406:14:66","nodeType":"FunctionDefinition","overrides":{"id":12668,"nodeType":"OverrideSpecifier","overrides":[],"src":"26447:8:66"},"parameters":{"id":12667,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12666,"mutability":"mutable","name":"tokenId","nameLocation":"26429:7:66","nodeType":"VariableDeclaration","scope":12681,"src":"26421:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12665,"name":"uint256","nodeType":"ElementaryTypeName","src":"26421:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"26420:17:66"},"returnParameters":{"id":12669,"nodeType":"ParameterList","parameters":[],"src":"26456:0:66"},"scope":12832,"src":"26397:136:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[14725],"body":{"id":12698,"nodeType":"Block","src":"26652:79:66","statements":[{"expression":{"id":12696,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12688,"name":"positionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11292,"src":"26662:12:66","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"mapping(uint256 => PositionInfo)"}},"id":12690,"indexExpression":{"id":12689,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12684,"src":"26675:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"26662:21:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"baseExpression":{"id":12691,"name":"positionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11292,"src":"26686:12:66","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"mapping(uint256 => PositionInfo)"}},"id":12693,"indexExpression":{"id":12692,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12684,"src":"26699:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"26686:21:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12694,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26708:14:66","memberName":"setUnsubscribe","nodeType":"MemberAccess","referencedDeclaration":16801,"src":"26686:36:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_userDefinedValueType$_PositionInfo_$16704_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (PositionInfo)"}},"id":12695,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26686:38:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"src":"26662:62:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12697,"nodeType":"ExpressionStatement","src":"26662:62:66"}]},"documentation":{"id":12682,"nodeType":"StructuredDocumentation","src":"26539:47:66","text":"@notice an internal helper used by Notifier"},"id":12699,"implemented":true,"kind":"function","modifiers":[],"name":"_setUnsubscribed","nameLocation":"26600:16:66","nodeType":"FunctionDefinition","overrides":{"id":12686,"nodeType":"OverrideSpecifier","overrides":[],"src":"26643:8:66"},"parameters":{"id":12685,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12684,"mutability":"mutable","name":"tokenId","nameLocation":"26625:7:66","nodeType":"VariableDeclaration","scope":12699,"src":"26617:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12683,"name":"uint256","nodeType":"ElementaryTypeName","src":"26617:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"26616:17:66"},"returnParameters":{"id":12687,"nodeType":"ParameterList","parameters":[],"src":"26652:0:66"},"scope":12832,"src":"26591:140:66","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[22085],"body":{"id":12730,"nodeType":"Block","src":"26988:113:66","statements":[{"expression":{"arguments":[{"id":12715,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12702,"src":"27017:4:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12716,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12704,"src":"27023:2:66","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12717,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12706,"src":"27027:2:66","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":12712,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"26998:5:66","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_PositionManager_$12832_$","typeString":"type(contract super PositionManager)"}},"id":12714,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27004:12:66","memberName":"transferFrom","nodeType":"MemberAccess","referencedDeclaration":22085,"src":"26998:18:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":12718,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26998:32:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12719,"nodeType":"ExpressionStatement","src":"26998:32:66"},{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"baseExpression":{"id":12720,"name":"positionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11292,"src":"27044:12:66","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"mapping(uint256 => PositionInfo)"}},"id":12722,"indexExpression":{"id":12721,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12706,"src":"27057:2:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"27044:16:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12723,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27061:13:66","memberName":"hasSubscriber","nodeType":"MemberAccess","referencedDeclaration":16777,"src":"27044:30:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_bool_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (bool)"}},"id":12724,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27044:32:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12729,"nodeType":"IfStatement","src":"27040:54:66","trueBody":{"expression":{"arguments":[{"id":12726,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12706,"src":"27091:2:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12725,"name":"_unsubscribe","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14900,"src":"27078:12:66","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":12727,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27078:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12728,"nodeType":"ExpressionStatement","src":"27078:16:66"}}]},"documentation":{"id":12700,"nodeType":"StructuredDocumentation","src":"26737:138:66","text":"@dev overrides solmate transferFrom in case a notification to subscribers is needed\n @dev will revert if pool manager is locked"},"functionSelector":"23b872dd","id":12731,"implemented":true,"kind":"function","modifiers":[{"id":12710,"kind":"modifierInvocation","modifierName":{"id":12709,"name":"onlyIfPoolManagerLocked","nameLocations":["26964:23:66"],"nodeType":"IdentifierPath","referencedDeclaration":11384,"src":"26964:23:66"},"nodeType":"ModifierInvocation","src":"26964:23:66"}],"name":"transferFrom","nameLocation":"26889:12:66","nodeType":"FunctionDefinition","overrides":{"id":12708,"nodeType":"OverrideSpecifier","overrides":[],"src":"26955:8:66"},"parameters":{"id":12707,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12702,"mutability":"mutable","name":"from","nameLocation":"26910:4:66","nodeType":"VariableDeclaration","scope":12731,"src":"26902:12:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12701,"name":"address","nodeType":"ElementaryTypeName","src":"26902:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":12704,"mutability":"mutable","name":"to","nameLocation":"26924:2:66","nodeType":"VariableDeclaration","scope":12731,"src":"26916:10:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12703,"name":"address","nodeType":"ElementaryTypeName","src":"26916:7:66","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":12706,"mutability":"mutable","name":"id","nameLocation":"26936:2:66","nodeType":"VariableDeclaration","scope":12731,"src":"26928:10:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12705,"name":"uint256","nodeType":"ElementaryTypeName","src":"26928:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"26901:38:66"},"returnParameters":{"id":12711,"nodeType":"ParameterList","parameters":[],"src":"26988:0:66"},"scope":12832,"src":"26880:221:66","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[15711],"body":{"id":12757,"nodeType":"Block","src":"27257:88:66","statements":[{"expression":{"id":12747,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12743,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12741,"src":"27267:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":12744,"name":"positionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11292,"src":"27274:12:66","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"mapping(uint256 => PositionInfo)"}},"id":12746,"indexExpression":{"id":12745,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12734,"src":"27287:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"27274:21:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"src":"27267:28:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12748,"nodeType":"ExpressionStatement","src":"27267:28:66"},{"expression":{"id":12755,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12749,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12738,"src":"27305:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":12750,"name":"poolKeys","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11297,"src":"27315:8:66","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes25_$_t_struct$_PoolKey_$11063_storage_$","typeString":"mapping(bytes25 => struct PoolKey storage ref)"}},"id":12754,"indexExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12751,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12741,"src":"27324:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12752,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27329:6:66","memberName":"poolId","nodeType":"MemberAccess","referencedDeclaration":16747,"src":"27324:11:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_bytes25_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (bytes25)"}},"id":12753,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27324:13:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes25","typeString":"bytes25"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"27315:23:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage","typeString":"struct PoolKey storage ref"}},"src":"27305:33:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":12756,"nodeType":"ExpressionStatement","src":"27305:33:66"}]},"documentation":{"id":12732,"nodeType":"StructuredDocumentation","src":"27107:32:66","text":"@inheritdoc IPositionManager"},"functionSelector":"7ba03aad","id":12758,"implemented":true,"kind":"function","modifiers":[],"name":"getPoolAndPositionInfo","nameLocation":"27153:22:66","nodeType":"FunctionDefinition","parameters":{"id":12735,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12734,"mutability":"mutable","name":"tokenId","nameLocation":"27184:7:66","nodeType":"VariableDeclaration","scope":12758,"src":"27176:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12733,"name":"uint256","nodeType":"ElementaryTypeName","src":"27176:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"27175:17:66"},"returnParameters":{"id":12742,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12738,"mutability":"mutable","name":"poolKey","nameLocation":"27229:7:66","nodeType":"VariableDeclaration","scope":12758,"src":"27214:22:66","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":12737,"nodeType":"UserDefinedTypeName","pathNode":{"id":12736,"name":"PoolKey","nameLocations":["27214:7:66"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"27214:7:66"},"referencedDeclaration":11063,"src":"27214:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":12741,"mutability":"mutable","name":"info","nameLocation":"27251:4:66","nodeType":"VariableDeclaration","scope":12758,"src":"27238:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":12740,"nodeType":"UserDefinedTypeName","pathNode":{"id":12739,"name":"PositionInfo","nameLocations":["27238:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"27238:12:66"},"referencedDeclaration":16704,"src":"27238:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"src":"27213:43:66"},"scope":12832,"src":"27144:201:66","stateMutability":"view","virtual":false,"visibility":"public"},{"baseFunctions":[15699],"body":{"id":12789,"nodeType":"Block","src":"27477:183:66","statements":[{"assignments":[12768,12771],"declarations":[{"constant":false,"id":12768,"mutability":"mutable","name":"poolKey","nameLocation":"27503:7:66","nodeType":"VariableDeclaration","scope":12789,"src":"27488:22:66","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":12767,"nodeType":"UserDefinedTypeName","pathNode":{"id":12766,"name":"PoolKey","nameLocations":["27488:7:66"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"27488:7:66"},"referencedDeclaration":11063,"src":"27488:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":12771,"mutability":"mutable","name":"info","nameLocation":"27525:4:66","nodeType":"VariableDeclaration","scope":12789,"src":"27512:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":12770,"nodeType":"UserDefinedTypeName","pathNode":{"id":12769,"name":"PositionInfo","nameLocations":["27512:12:66"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"27512:12:66"},"referencedDeclaration":16704,"src":"27512:12:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"id":12775,"initialValue":{"arguments":[{"id":12773,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12761,"src":"27556:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12772,"name":"getPoolAndPositionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12758,"src":"27533:22:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (uint256) view returns (struct PoolKey memory,PositionInfo)"}},"id":12774,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27533:31:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_struct$_PoolKey_$11063_memory_ptr_$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"tuple(struct PoolKey memory,PositionInfo)"}},"nodeType":"VariableDeclarationStatement","src":"27487:77:66"},{"expression":{"id":12787,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12776,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12764,"src":"27574:9:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":12778,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12761,"src":"27600:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12779,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12768,"src":"27609:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12780,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12771,"src":"27618:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12781,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27623:9:66","memberName":"tickLower","nodeType":"MemberAccess","referencedDeclaration":16757,"src":"27618:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (int24)"}},"id":12782,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27618:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12783,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12771,"src":"27636:4:66","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"id":12784,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27641:9:66","memberName":"tickUpper","nodeType":"MemberAccess","referencedDeclaration":16767,"src":"27636:14:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_PositionInfo_$16704_$returns$_t_int24_$attached_to$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (PositionInfo) pure returns (int24)"}},"id":12785,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27636:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"}],"id":12777,"name":"_getLiquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12831,"src":"27586:13:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_struct$_PoolKey_$11063_memory_ptr_$_t_int24_$_t_int24_$returns$_t_uint128_$","typeString":"function (uint256,struct PoolKey memory,int24,int24) view returns (uint128)"}},"id":12786,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27586:67:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"27574:79:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":12788,"nodeType":"ExpressionStatement","src":"27574:79:66"}]},"documentation":{"id":12759,"nodeType":"StructuredDocumentation","src":"27351:32:66","text":"@inheritdoc IPositionManager"},"functionSelector":"1efeed33","id":12790,"implemented":true,"kind":"function","modifiers":[],"name":"getPositionLiquidity","nameLocation":"27397:20:66","nodeType":"FunctionDefinition","parameters":{"id":12762,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12761,"mutability":"mutable","name":"tokenId","nameLocation":"27426:7:66","nodeType":"VariableDeclaration","scope":12790,"src":"27418:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12760,"name":"uint256","nodeType":"ElementaryTypeName","src":"27418:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"27417:17:66"},"returnParameters":{"id":12765,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12764,"mutability":"mutable","name":"liquidity","nameLocation":"27466:9:66","nodeType":"VariableDeclaration","scope":12790,"src":"27458:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":12763,"name":"uint128","nodeType":"ElementaryTypeName","src":"27458:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"27457:19:66"},"scope":12832,"src":"27388:272:66","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":12830,"nodeType":"Block","src":"27834:204:66","statements":[{"assignments":[12805],"declarations":[{"constant":false,"id":12805,"mutability":"mutable","name":"positionId","nameLocation":"27852:10:66","nodeType":"VariableDeclaration","scope":12830,"src":"27844:18:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":12804,"name":"bytes32","nodeType":"ElementaryTypeName","src":"27844:7:66","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":12819,"initialValue":{"arguments":[{"arguments":[{"id":12810,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"27903:4:66","typeDescriptions":{"typeIdentifier":"t_contract$_PositionManager_$12832","typeString":"contract PositionManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_PositionManager_$12832","typeString":"contract PositionManager"}],"id":12809,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27895:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":12808,"name":"address","nodeType":"ElementaryTypeName","src":"27895:7:66","typeDescriptions":{}}},"id":12811,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27895:13:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12812,"name":"tickLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12797,"src":"27910:9:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":12813,"name":"tickUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12799,"src":"27921:9:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"arguments":[{"id":12816,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12792,"src":"27940:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12815,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27932:7:66","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":12814,"name":"bytes32","nodeType":"ElementaryTypeName","src":"27932:7:66","typeDescriptions":{}}},"id":12817,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27932:16:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":12806,"name":"Position","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7897,"src":"27865:8:66","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Position_$7897_$","typeString":"type(library Position)"}},"id":12807,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27874:20:66","memberName":"calculatePositionKey","nodeType":"MemberAccess","referencedDeclaration":7807,"src":"27865:29:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_int24_$_t_int24_$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (address,int24,int24,bytes32) pure returns (bytes32)"}},"id":12818,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27865:84:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"27844:105:66"},{"expression":{"id":12828,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12820,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12802,"src":"27959:9:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12823,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12795,"src":"28004:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":12824,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"28012:4:66","memberName":"toId","nodeType":"MemberAccess","referencedDeclaration":11030,"src":"28004:12:66","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_PoolKey_$11063_memory_ptr_$returns$_t_userDefinedValueType$_PoolId_$11017_$attached_to$_t_struct$_PoolKey_$11063_memory_ptr_$","typeString":"function (struct PoolKey memory) pure returns (PoolId)"}},"id":12825,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28004:14:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}},{"id":12826,"name":"positionId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12805,"src":"28020:10:66","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":12821,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"27971:11:66","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":12822,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27983:20:66","memberName":"getPositionLiquidity","nodeType":"MemberAccess","referencedDeclaration":9088,"src":"27971:32:66","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_contract$_IPoolManager_$3917_$_t_userDefinedValueType$_PoolId_$11017_$_t_bytes32_$returns$_t_uint128_$attached_to$_t_contract$_IPoolManager_$3917_$","typeString":"function (contract IPoolManager,PoolId,bytes32) view returns (uint128)"}},"id":12827,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27971:60:66","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"27959:72:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":12829,"nodeType":"ExpressionStatement","src":"27959:72:66"}]},"id":12831,"implemented":true,"kind":"function","modifiers":[],"name":"_getLiquidity","nameLocation":"27675:13:66","nodeType":"FunctionDefinition","parameters":{"id":12800,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12792,"mutability":"mutable","name":"tokenId","nameLocation":"27697:7:66","nodeType":"VariableDeclaration","scope":12831,"src":"27689:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12791,"name":"uint256","nodeType":"ElementaryTypeName","src":"27689:7:66","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12795,"mutability":"mutable","name":"poolKey","nameLocation":"27721:7:66","nodeType":"VariableDeclaration","scope":12831,"src":"27706:22:66","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":12794,"nodeType":"UserDefinedTypeName","pathNode":{"id":12793,"name":"PoolKey","nameLocations":["27706:7:66"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"27706:7:66"},"referencedDeclaration":11063,"src":"27706:7:66","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":12797,"mutability":"mutable","name":"tickLower","nameLocation":"27736:9:66","nodeType":"VariableDeclaration","scope":12831,"src":"27730:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":12796,"name":"int24","nodeType":"ElementaryTypeName","src":"27730:5:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":12799,"mutability":"mutable","name":"tickUpper","nameLocation":"27753:9:66","nodeType":"VariableDeclaration","scope":12831,"src":"27747:15:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":12798,"name":"int24","nodeType":"ElementaryTypeName","src":"27747:5:66","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"27688:75:66"},"returnParameters":{"id":12803,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12802,"mutability":"mutable","name":"liquidity","nameLocation":"27819:9:66","nodeType":"VariableDeclaration","scope":12831,"src":"27811:17:66","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":12801,"name":"uint128","nodeType":"ElementaryTypeName","src":"27811:7:66","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"27810:19:66"},"scope":12832,"src":"27666:372:66","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":12833,"src":"7946:20094:66","usedErrors":[13604,13609,13798,13804,13807,14483,14595,15178,15358,15360,15362,15428,15431,15434,15441,15448,15455,15462,15660,15665,15668,15775,16846,16852,21214,21217,21220,21223],"usedEvents":[15469,15476,21835,21843,21851]}],"src":"32:28009:66"},"id":66},"@uniswap/v4-periphery/src/V4Router.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/V4Router.sol","exportedSymbols":{"ActionConstants":[15916],"Actions":[15995],"BalanceDelta":[10503],"BaseActionsRouter":[13773],"BipsLibrary":[16030],"CalldataDecoder":[16368],"Currency":[10717],"DeltaResolver":[14078],"IPoolManager":[3917],"IV4Router":[15872],"PathKey":[16632],"PoolKey":[11063],"SafeCast":[8145],"TickMath":[10331],"V4Router":[13585]},"id":13586,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":12834,"literals":["solidity","0.8",".26"],"nodeType":"PragmaDirective","src":"32:23:67"},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","id":12836,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":3918,"src":"57:78:67","symbolAliases":[{"foreign":{"id":12835,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"65:12:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/BalanceDelta.sol","file":"@uniswap/v4-core/src/types/BalanceDelta.sol","id":12838,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":10662,"src":"136:73:67","symbolAliases":[{"foreign":{"id":12837,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"144:12:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"@uniswap/v4-core/src/types/PoolKey.sol","id":12840,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":11064,"src":"210:63:67","symbolAliases":[{"foreign":{"id":12839,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"218:7:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"@uniswap/v4-core/src/types/Currency.sol","id":12842,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":11012,"src":"274:65:67","symbolAliases":[{"foreign":{"id":12841,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"282:8:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/TickMath.sol","file":"@uniswap/v4-core/src/libraries/TickMath.sol","id":12844,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":10332,"src":"340:69:67","symbolAliases":[{"foreign":{"id":12843,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"348:8:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/SafeCast.sol","file":"@uniswap/v4-core/src/libraries/SafeCast.sol","id":12846,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":8146,"src":"410:69:67","symbolAliases":[{"foreign":{"id":12845,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8145,"src":"418:8:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/PathKey.sol","file":"./libraries/PathKey.sol","id":12848,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":16697,"src":"481:48:67","symbolAliases":[{"foreign":{"id":12847,"name":"PathKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16632,"src":"489:7:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol","file":"./libraries/CalldataDecoder.sol","id":12850,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":16369,"src":"530:64:67","symbolAliases":[{"foreign":{"id":12849,"name":"CalldataDecoder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16368,"src":"538:15:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IV4Router.sol","file":"./interfaces/IV4Router.sol","id":12852,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":15873,"src":"595:53:67","symbolAliases":[{"foreign":{"id":12851,"name":"IV4Router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15872,"src":"603:9:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol","file":"./base/BaseActionsRouter.sol","id":12854,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":13774,"src":"649:63:67","symbolAliases":[{"foreign":{"id":12853,"name":"BaseActionsRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13773,"src":"657:17:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/DeltaResolver.sol","file":"./base/DeltaResolver.sol","id":12856,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":14079,"src":"713:55:67","symbolAliases":[{"foreign":{"id":12855,"name":"DeltaResolver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14078,"src":"721:13:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/Actions.sol","file":"./libraries/Actions.sol","id":12858,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":15996,"src":"769:48:67","symbolAliases":[{"foreign":{"id":12857,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"777:7:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/ActionConstants.sol","file":"./libraries/ActionConstants.sol","id":12860,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":15917,"src":"818:64:67","symbolAliases":[{"foreign":{"id":12859,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"826:15:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol","file":"./libraries/BipsLibrary.sol","id":12862,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13586,"sourceUnit":16031,"src":"883:56:67","symbolAliases":[{"foreign":{"id":12861,"name":"BipsLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16030,"src":"891:11:67","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":12864,"name":"IV4Router","nameLocations":["1321:9:67"],"nodeType":"IdentifierPath","referencedDeclaration":15872,"src":"1321:9:67"},"id":12865,"nodeType":"InheritanceSpecifier","src":"1321:9:67"},{"baseName":{"id":12866,"name":"BaseActionsRouter","nameLocations":["1332:17:67"],"nodeType":"IdentifierPath","referencedDeclaration":13773,"src":"1332:17:67"},"id":12867,"nodeType":"InheritanceSpecifier","src":"1332:17:67"},{"baseName":{"id":12868,"name":"DeltaResolver","nameLocations":["1351:13:67"],"nodeType":"IdentifierPath","referencedDeclaration":14078,"src":"1351:13:67"},"id":12869,"nodeType":"InheritanceSpecifier","src":"1351:13:67"}],"canonicalName":"V4Router","contractDependencies":[],"contractKind":"contract","documentation":{"id":12863,"nodeType":"StructuredDocumentation","src":"941:350:67","text":"@title UniswapV4Router\n @notice Abstract contract that contains all internal logic needed for routing through Uniswap v4 pools\n @dev the entry point to executing actions in this contract is calling `BaseActionsRouter._executeActions`\n An inheriting contract should call _executeActions at the point that they wish actions to be executed"},"fullyImplemented":false,"id":13585,"linearizedBaseContracts":[13585,14078,13773,15268,4006,14511,15872,15406],"name":"V4Router","nameLocation":"1309:8:67","nodeType":"ContractDefinition","nodes":[{"global":false,"id":12871,"libraryName":{"id":12870,"name":"SafeCast","nameLocations":["1377:8:67"],"nodeType":"IdentifierPath","referencedDeclaration":8145,"src":"1377:8:67"},"nodeType":"UsingForDirective","src":"1371:21:67"},{"global":false,"id":12874,"libraryName":{"id":12872,"name":"CalldataDecoder","nameLocations":["1403:15:67"],"nodeType":"IdentifierPath","referencedDeclaration":16368,"src":"1403:15:67"},"nodeType":"UsingForDirective","src":"1397:32:67","typeName":{"id":12873,"name":"bytes","nodeType":"ElementaryTypeName","src":"1423:5:67","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"global":false,"id":12877,"libraryName":{"id":12875,"name":"BipsLibrary","nameLocations":["1440:11:67"],"nodeType":"IdentifierPath","referencedDeclaration":16030,"src":"1440:11:67"},"nodeType":"UsingForDirective","src":"1434:30:67","typeName":{"id":12876,"name":"uint256","nodeType":"ElementaryTypeName","src":"1456:7:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"body":{"id":12886,"nodeType":"Block","src":"1541:2:67","statements":[]},"id":12887,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":12883,"name":"_poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12880,"src":"1527:12:67","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}],"id":12884,"kind":"baseConstructorSpecifier","modifierName":{"id":12882,"name":"BaseActionsRouter","nameLocations":["1509:17:67"],"nodeType":"IdentifierPath","referencedDeclaration":13773,"src":"1509:17:67"},"nodeType":"ModifierInvocation","src":"1509:31:67"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":12881,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12880,"mutability":"mutable","name":"_poolManager","nameLocation":"1495:12:67","nodeType":"VariableDeclaration","scope":12887,"src":"1482:25:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":12879,"nodeType":"UserDefinedTypeName","pathNode":{"id":12878,"name":"IPoolManager","nameLocations":["1482:12:67"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"1482:12:67"},"referencedDeclaration":3917,"src":"1482:12:67","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"}],"src":"1481:27:67"},"returnParameters":{"id":12885,"nodeType":"ParameterList","parameters":[],"src":"1541:0:67"},"scope":13585,"src":"1470:73:67","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[13716],"body":{"id":13151,"nodeType":"Block","src":"1629:2777:67","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12898,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12895,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12889,"src":"1726:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":12896,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"1735:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":12897,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1743:6:67","memberName":"SETTLE","nodeType":"MemberAccess","referencedDeclaration":15955,"src":"1735:14:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1726:23:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":13145,"nodeType":"Block","src":"2737:1621:67","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12983,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12980,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12889,"src":"2755:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":12981,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"2765:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":12982,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2773:10:67","memberName":"SETTLE_ALL","nodeType":"MemberAccess","referencedDeclaration":15958,"src":"2765:18:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2755:28:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13020,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13017,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12889,"src":"3125:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13018,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"3135:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":13019,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3143:8:67","memberName":"TAKE_ALL","nodeType":"MemberAccess","referencedDeclaration":15967,"src":"3135:16:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3125:26:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13057,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13054,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12889,"src":"3494:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13055,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"3504:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":13056,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3512:6:67","memberName":"SETTLE","nodeType":"MemberAccess","referencedDeclaration":15955,"src":"3504:14:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3494:24:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13085,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13082,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12889,"src":"3775:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13083,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"3785:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":13084,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3793:4:67","memberName":"TAKE","nodeType":"MemberAccess","referencedDeclaration":15964,"src":"3785:12:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3775:22:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13113,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13110,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12889,"src":"4056:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13111,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"4066:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":13112,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4074:12:67","memberName":"TAKE_PORTION","nodeType":"MemberAccess","referencedDeclaration":15970,"src":"4066:20:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4056:30:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13140,"nodeType":"IfStatement","src":"4052:296:67","trueBody":{"id":13139,"nodeType":"Block","src":"4088:260:67","statements":[{"assignments":[13116,13118,13120],"declarations":[{"constant":false,"id":13116,"mutability":"mutable","name":"currency","nameLocation":"4116:8:67","nodeType":"VariableDeclaration","scope":13139,"src":"4107:17:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13115,"nodeType":"UserDefinedTypeName","pathNode":{"id":13114,"name":"Currency","nameLocations":["4107:8:67"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"4107:8:67"},"referencedDeclaration":10717,"src":"4107:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":13118,"mutability":"mutable","name":"recipient","nameLocation":"4134:9:67","nodeType":"VariableDeclaration","scope":13139,"src":"4126:17:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13117,"name":"address","nodeType":"ElementaryTypeName","src":"4126:7:67","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":13120,"mutability":"mutable","name":"bips","nameLocation":"4153:4:67","nodeType":"VariableDeclaration","scope":13139,"src":"4145:12:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13119,"name":"uint256","nodeType":"ElementaryTypeName","src":"4145:7:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13124,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":13121,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"4161:6:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":13122,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4168:31:67","memberName":"decodeCurrencyAddressAndUint256","nodeType":"MemberAccess","referencedDeclaration":16314,"src":"4161:38:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (Currency,address,uint256)"}},"id":13123,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4161:40:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$","typeString":"tuple(Currency,address,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"4106:95:67"},{"expression":{"arguments":[{"id":13126,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13116,"src":"4225:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[{"id":13128,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13118,"src":"4249:9:67","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":13127,"name":"_mapRecipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13754,"src":"4235:13:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":13129,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4235:24:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":13134,"name":"bips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13120,"src":"4303:4:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":13131,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13116,"src":"4276:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":13130,"name":"_getFullCredit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13963,"src":"4261:14:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":13132,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4261:24:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13133,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4286:16:67","memberName":"calculatePortion","nodeType":"MemberAccess","referencedDeclaration":16029,"src":"4261:41:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$attached_to$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":13135,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4261:47:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13125,"name":"_take","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13832,"src":"4219:5:67","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":13136,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4219:90:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13137,"nodeType":"ExpressionStatement","src":"4219:90:67"},{"functionReturnParameters":12894,"id":13138,"nodeType":"Return","src":"4327:7:67"}]}},"id":13141,"nodeType":"IfStatement","src":"3771:577:67","trueBody":{"id":13109,"nodeType":"Block","src":"3799:247:67","statements":[{"assignments":[13088,13090,13092],"declarations":[{"constant":false,"id":13088,"mutability":"mutable","name":"currency","nameLocation":"3827:8:67","nodeType":"VariableDeclaration","scope":13109,"src":"3818:17:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13087,"nodeType":"UserDefinedTypeName","pathNode":{"id":13086,"name":"Currency","nameLocations":["3818:8:67"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"3818:8:67"},"referencedDeclaration":10717,"src":"3818:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":13090,"mutability":"mutable","name":"recipient","nameLocation":"3845:9:67","nodeType":"VariableDeclaration","scope":13109,"src":"3837:17:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13089,"name":"address","nodeType":"ElementaryTypeName","src":"3837:7:67","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":13092,"mutability":"mutable","name":"amount","nameLocation":"3864:6:67","nodeType":"VariableDeclaration","scope":13109,"src":"3856:14:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13091,"name":"uint256","nodeType":"ElementaryTypeName","src":"3856:7:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13096,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":13093,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"3874:6:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":13094,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3881:31:67","memberName":"decodeCurrencyAddressAndUint256","nodeType":"MemberAccess","referencedDeclaration":16314,"src":"3874:38:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (Currency,address,uint256)"}},"id":13095,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3874:40:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$","typeString":"tuple(Currency,address,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"3817:97:67"},{"expression":{"arguments":[{"id":13098,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13088,"src":"3938:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[{"id":13100,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13090,"src":"3962:9:67","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":13099,"name":"_mapRecipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13754,"src":"3948:13:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":13101,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3948:24:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":13103,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13092,"src":"3989:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":13104,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13088,"src":"3997:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":13102,"name":"_mapTakeAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14023,"src":"3974:14:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (uint256,Currency) view returns (uint256)"}},"id":13105,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3974:32:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13097,"name":"_take","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13832,"src":"3932:5:67","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":13106,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3932:75:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13107,"nodeType":"ExpressionStatement","src":"3932:75:67"},{"functionReturnParameters":12894,"id":13108,"nodeType":"Return","src":"4025:7:67"}]}},"id":13142,"nodeType":"IfStatement","src":"3490:858:67","trueBody":{"id":13081,"nodeType":"Block","src":"3520:245:67","statements":[{"assignments":[13060,13062,13064],"declarations":[{"constant":false,"id":13060,"mutability":"mutable","name":"currency","nameLocation":"3548:8:67","nodeType":"VariableDeclaration","scope":13081,"src":"3539:17:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13059,"nodeType":"UserDefinedTypeName","pathNode":{"id":13058,"name":"Currency","nameLocations":["3539:8:67"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"3539:8:67"},"referencedDeclaration":10717,"src":"3539:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":13062,"mutability":"mutable","name":"amount","nameLocation":"3566:6:67","nodeType":"VariableDeclaration","scope":13081,"src":"3558:14:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13061,"name":"uint256","nodeType":"ElementaryTypeName","src":"3558:7:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":13064,"mutability":"mutable","name":"payerIsUser","nameLocation":"3579:11:67","nodeType":"VariableDeclaration","scope":13081,"src":"3574:16:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":13063,"name":"bool","nodeType":"ElementaryTypeName","src":"3574:4:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":13068,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":13065,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"3594:6:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":13066,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3601:28:67","memberName":"decodeCurrencyUint256AndBool","nodeType":"MemberAccess","referencedDeclaration":16352,"src":"3594:35:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$_t_bool_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (Currency,uint256,bool)"}},"id":13067,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3594:37:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$_t_bool_$","typeString":"tuple(Currency,uint256,bool)"}},"nodeType":"VariableDeclarationStatement","src":"3538:93:67"},{"expression":{"arguments":[{"id":13070,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13060,"src":"3657:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[{"id":13072,"name":"payerIsUser","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13064,"src":"3677:11:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":13071,"name":"_mapPayer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13772,"src":"3667:9:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bool_$returns$_t_address_$","typeString":"function (bool) view returns (address)"}},"id":13073,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3667:22:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":13075,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13062,"src":"3708:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":13076,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13060,"src":"3716:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":13074,"name":"_mapSettleAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13998,"src":"3691:16:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (uint256,Currency) view returns (uint256)"}},"id":13077,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3691:34:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13069,"name":"_settle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13879,"src":"3649:7:67","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":13078,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3649:77:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13079,"nodeType":"ExpressionStatement","src":"3649:77:67"},{"functionReturnParameters":12894,"id":13080,"nodeType":"Return","src":"3744:7:67"}]}},"id":13143,"nodeType":"IfStatement","src":"3121:1227:67","trueBody":{"id":13053,"nodeType":"Block","src":"3153:331:67","statements":[{"assignments":[13023,13025],"declarations":[{"constant":false,"id":13023,"mutability":"mutable","name":"currency","nameLocation":"3181:8:67","nodeType":"VariableDeclaration","scope":13053,"src":"3172:17:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13022,"nodeType":"UserDefinedTypeName","pathNode":{"id":13021,"name":"Currency","nameLocations":["3172:8:67"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"3172:8:67"},"referencedDeclaration":10717,"src":"3172:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":13025,"mutability":"mutable","name":"minAmount","nameLocation":"3199:9:67","nodeType":"VariableDeclaration","scope":13053,"src":"3191:17:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13024,"name":"uint256","nodeType":"ElementaryTypeName","src":"3191:7:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13029,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":13026,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"3212:6:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":13027,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3219:24:67","memberName":"decodeCurrencyAndUint256","nodeType":"MemberAccess","referencedDeclaration":16327,"src":"3212:31:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (Currency,uint256)"}},"id":13028,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3212:33:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$","typeString":"tuple(Currency,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"3171:74:67"},{"assignments":[13031],"declarations":[{"constant":false,"id":13031,"mutability":"mutable","name":"amount","nameLocation":"3271:6:67","nodeType":"VariableDeclaration","scope":13053,"src":"3263:14:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13030,"name":"uint256","nodeType":"ElementaryTypeName","src":"3263:7:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13035,"initialValue":{"arguments":[{"id":13033,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13023,"src":"3295:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":13032,"name":"_getFullCredit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13963,"src":"3280:14:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":13034,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3280:24:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3263:41:67"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13038,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13036,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13031,"src":"3326:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":13037,"name":"minAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13025,"src":"3335:9:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3326:18:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13044,"nodeType":"IfStatement","src":"3322:69:67","trueBody":{"errorCall":{"arguments":[{"id":13040,"name":"minAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13025,"src":"3373:9:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":13041,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13031,"src":"3384:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13039,"name":"V4TooLittleReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15812,"src":"3353:19:67","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":13042,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3353:38:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13043,"nodeType":"RevertStatement","src":"3346:45:67"}},{"expression":{"arguments":[{"id":13046,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13023,"src":"3415:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[],"expression":{"argumentTypes":[],"id":13047,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13722,"src":"3425:9:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":13048,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3425:11:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13049,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13031,"src":"3438:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13045,"name":"_take","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13832,"src":"3409:5:67","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":13050,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3409:36:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13051,"nodeType":"ExpressionStatement","src":"3409:36:67"},{"functionReturnParameters":12894,"id":13052,"nodeType":"Return","src":"3463:7:67"}]}},"id":13144,"nodeType":"IfStatement","src":"2751:1597:67","trueBody":{"id":13016,"nodeType":"Block","src":"2785:330:67","statements":[{"assignments":[12986,12988],"declarations":[{"constant":false,"id":12986,"mutability":"mutable","name":"currency","nameLocation":"2813:8:67","nodeType":"VariableDeclaration","scope":13016,"src":"2804:17:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":12985,"nodeType":"UserDefinedTypeName","pathNode":{"id":12984,"name":"Currency","nameLocations":["2804:8:67"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"2804:8:67"},"referencedDeclaration":10717,"src":"2804:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":12988,"mutability":"mutable","name":"maxAmount","nameLocation":"2831:9:67","nodeType":"VariableDeclaration","scope":13016,"src":"2823:17:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12987,"name":"uint256","nodeType":"ElementaryTypeName","src":"2823:7:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12992,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12989,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"2844:6:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":12990,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2851:24:67","memberName":"decodeCurrencyAndUint256","nodeType":"MemberAccess","referencedDeclaration":16327,"src":"2844:31:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (Currency,uint256)"}},"id":12991,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2844:33:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_uint256_$","typeString":"tuple(Currency,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"2803:74:67"},{"assignments":[12994],"declarations":[{"constant":false,"id":12994,"mutability":"mutable","name":"amount","nameLocation":"2903:6:67","nodeType":"VariableDeclaration","scope":13016,"src":"2895:14:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12993,"name":"uint256","nodeType":"ElementaryTypeName","src":"2895:7:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12998,"initialValue":{"arguments":[{"id":12996,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12986,"src":"2925:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":12995,"name":"_getFullDebt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13927,"src":"2912:12:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":12997,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2912:22:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2895:39:67"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13001,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12999,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12994,"src":"2956:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":13000,"name":"maxAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12988,"src":"2965:9:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2956:18:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13007,"nodeType":"IfStatement","src":"2952:68:67","trueBody":{"errorCall":{"arguments":[{"id":13003,"name":"maxAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12988,"src":"3002:9:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":13004,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12994,"src":"3013:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13002,"name":"V4TooMuchRequested","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15819,"src":"2983:18:67","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":13005,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2983:37:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13006,"nodeType":"RevertStatement","src":"2976:44:67"}},{"expression":{"arguments":[{"id":13009,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12986,"src":"3046:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"arguments":[],"expression":{"argumentTypes":[],"id":13010,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13722,"src":"3056:9:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":13011,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3056:11:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13012,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12994,"src":"3069:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13008,"name":"_settle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13879,"src":"3038:7:67","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":13013,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3038:38:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13014,"nodeType":"ExpressionStatement","src":"3038:38:67"},{"functionReturnParameters":12894,"id":13015,"nodeType":"Return","src":"3094:7:67"}]}}]},"id":13146,"nodeType":"IfStatement","src":"1722:2636:67","trueBody":{"id":12979,"nodeType":"Block","src":"1751:980:67","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12902,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12899,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12889,"src":"1769:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":12900,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"1779:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":12901,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1787:13:67","memberName":"SWAP_EXACT_IN","nodeType":"MemberAccess","referencedDeclaration":15943,"src":"1779:21:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1769:31:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12921,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12918,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12889,"src":"1995:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":12919,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"2005:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":12920,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2013:20:67","memberName":"SWAP_EXACT_IN_SINGLE","nodeType":"MemberAccess","referencedDeclaration":15940,"src":"2005:28:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1995:38:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12940,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12937,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12889,"src":"2246:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":12938,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"2256:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":12939,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2264:14:67","memberName":"SWAP_EXACT_OUT","nodeType":"MemberAccess","referencedDeclaration":15949,"src":"2256:22:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2246:32:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12959,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12956,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12889,"src":"2476:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":12957,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"2486:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":12958,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2494:21:67","memberName":"SWAP_EXACT_OUT_SINGLE","nodeType":"MemberAccess","referencedDeclaration":15946,"src":"2486:29:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2476:39:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12975,"nodeType":"IfStatement","src":"2472:249:67","trueBody":{"id":12974,"nodeType":"Block","src":"2517:204:67","statements":[{"assignments":[12964],"declarations":[{"constant":false,"id":12964,"mutability":"mutable","name":"swapParams","nameLocation":"2578:10:67","nodeType":"VariableDeclaration","scope":12974,"src":"2535:53:67","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams"},"typeName":{"id":12963,"nodeType":"UserDefinedTypeName","pathNode":{"id":12962,"name":"IV4Router.ExactOutputSingleParams","nameLocations":["2535:9:67","2545:23:67"],"nodeType":"IdentifierPath","referencedDeclaration":15858,"src":"2535:33:67"},"referencedDeclaration":15858,"src":"2535:33:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_storage_ptr","typeString":"struct IV4Router.ExactOutputSingleParams"}},"visibility":"internal"}],"id":12968,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12965,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"2591:6:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":12966,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2598:30:67","memberName":"decodeSwapExactOutSingleParams","nodeType":"MemberAccess","referencedDeclaration":16245,"src":"2591:37:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_struct$_ExactOutputSingleParams_$15858_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (struct IV4Router.ExactOutputSingleParams calldata)"}},"id":12967,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2591:39:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams calldata"}},"nodeType":"VariableDeclarationStatement","src":"2535:95:67"},{"expression":{"arguments":[{"id":12970,"name":"swapParams","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12964,"src":"2671:10:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams calldata"}],"id":12969,"name":"_swapExactOutputSingle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13404,"src":"2648:22:67","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_ExactOutputSingleParams_$15858_calldata_ptr_$returns$__$","typeString":"function (struct IV4Router.ExactOutputSingleParams calldata)"}},"id":12971,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2648:34:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12972,"nodeType":"ExpressionStatement","src":"2648:34:67"},{"functionReturnParameters":12894,"id":12973,"nodeType":"Return","src":"2700:7:67"}]}},"id":12976,"nodeType":"IfStatement","src":"2242:479:67","trueBody":{"id":12955,"nodeType":"Block","src":"2280:186:67","statements":[{"assignments":[12945],"declarations":[{"constant":false,"id":12945,"mutability":"mutable","name":"swapParams","nameLocation":"2335:10:67","nodeType":"VariableDeclaration","scope":12955,"src":"2298:47:67","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_calldata_ptr","typeString":"struct IV4Router.ExactOutputParams"},"typeName":{"id":12944,"nodeType":"UserDefinedTypeName","pathNode":{"id":12943,"name":"IV4Router.ExactOutputParams","nameLocations":["2298:9:67","2308:17:67"],"nodeType":"IdentifierPath","referencedDeclaration":15871,"src":"2298:27:67"},"referencedDeclaration":15871,"src":"2298:27:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_storage_ptr","typeString":"struct IV4Router.ExactOutputParams"}},"visibility":"internal"}],"id":12949,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12946,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"2348:6:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":12947,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2355:24:67","memberName":"decodeSwapExactOutParams","nodeType":"MemberAccess","referencedDeclaration":16234,"src":"2348:31:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_struct$_ExactOutputParams_$15871_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (struct IV4Router.ExactOutputParams calldata)"}},"id":12948,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2348:33:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_calldata_ptr","typeString":"struct IV4Router.ExactOutputParams calldata"}},"nodeType":"VariableDeclarationStatement","src":"2298:83:67"},{"expression":{"arguments":[{"id":12951,"name":"swapParams","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12945,"src":"2416:10:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_calldata_ptr","typeString":"struct IV4Router.ExactOutputParams calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_calldata_ptr","typeString":"struct IV4Router.ExactOutputParams calldata"}],"id":12950,"name":"_swapExactOutput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13528,"src":"2399:16:67","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_ExactOutputParams_$15871_calldata_ptr_$returns$__$","typeString":"function (struct IV4Router.ExactOutputParams calldata)"}},"id":12952,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2399:28:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12953,"nodeType":"ExpressionStatement","src":"2399:28:67"},{"functionReturnParameters":12894,"id":12954,"nodeType":"Return","src":"2445:7:67"}]}},"id":12977,"nodeType":"IfStatement","src":"1991:730:67","trueBody":{"id":12936,"nodeType":"Block","src":"2035:201:67","statements":[{"assignments":[12926],"declarations":[{"constant":false,"id":12926,"mutability":"mutable","name":"swapParams","nameLocation":"2095:10:67","nodeType":"VariableDeclaration","scope":12936,"src":"2053:52:67","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams"},"typeName":{"id":12925,"nodeType":"UserDefinedTypeName","pathNode":{"id":12924,"name":"IV4Router.ExactInputSingleParams","nameLocations":["2053:9:67","2063:22:67"],"nodeType":"IdentifierPath","referencedDeclaration":15832,"src":"2053:32:67"},"referencedDeclaration":15832,"src":"2053:32:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_storage_ptr","typeString":"struct IV4Router.ExactInputSingleParams"}},"visibility":"internal"}],"id":12930,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12927,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"2108:6:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":12928,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2115:29:67","memberName":"decodeSwapExactInSingleParams","nodeType":"MemberAccess","referencedDeclaration":16223,"src":"2108:36:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_struct$_ExactInputSingleParams_$15832_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (struct IV4Router.ExactInputSingleParams calldata)"}},"id":12929,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2108:38:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams calldata"}},"nodeType":"VariableDeclarationStatement","src":"2053:93:67"},{"expression":{"arguments":[{"id":12932,"name":"swapParams","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12926,"src":"2186:10:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams calldata"}],"id":12931,"name":"_swapExactInputSingle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13218,"src":"2164:21:67","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_ExactInputSingleParams_$15832_calldata_ptr_$returns$__$","typeString":"function (struct IV4Router.ExactInputSingleParams calldata)"}},"id":12933,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2164:33:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12934,"nodeType":"ExpressionStatement","src":"2164:33:67"},{"functionReturnParameters":12894,"id":12935,"nodeType":"Return","src":"2215:7:67"}]}},"id":12978,"nodeType":"IfStatement","src":"1765:956:67","trueBody":{"id":12917,"nodeType":"Block","src":"1802:183:67","statements":[{"assignments":[12907],"declarations":[{"constant":false,"id":12907,"mutability":"mutable","name":"swapParams","nameLocation":"1856:10:67","nodeType":"VariableDeclaration","scope":12917,"src":"1820:46:67","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_calldata_ptr","typeString":"struct IV4Router.ExactInputParams"},"typeName":{"id":12906,"nodeType":"UserDefinedTypeName","pathNode":{"id":12905,"name":"IV4Router.ExactInputParams","nameLocations":["1820:9:67","1830:16:67"],"nodeType":"IdentifierPath","referencedDeclaration":15845,"src":"1820:26:67"},"referencedDeclaration":15845,"src":"1820:26:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_storage_ptr","typeString":"struct IV4Router.ExactInputParams"}},"visibility":"internal"}],"id":12911,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":12908,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"1869:6:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":12909,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1876:23:67","memberName":"decodeSwapExactInParams","nodeType":"MemberAccess","referencedDeclaration":16212,"src":"1869:30:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_struct$_ExactInputParams_$15845_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (struct IV4Router.ExactInputParams calldata)"}},"id":12910,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1869:32:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_calldata_ptr","typeString":"struct IV4Router.ExactInputParams calldata"}},"nodeType":"VariableDeclarationStatement","src":"1820:81:67"},{"expression":{"arguments":[{"id":12913,"name":"swapParams","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12907,"src":"1935:10:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_calldata_ptr","typeString":"struct IV4Router.ExactInputParams calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_ExactInputParams_$15845_calldata_ptr","typeString":"struct IV4Router.ExactInputParams calldata"}],"id":12912,"name":"_swapExactInput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13331,"src":"1919:15:67","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_ExactInputParams_$15845_calldata_ptr_$returns$__$","typeString":"function (struct IV4Router.ExactInputParams calldata)"}},"id":12914,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1919:27:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12915,"nodeType":"ExpressionStatement","src":"1919:27:67"},{"functionReturnParameters":12894,"id":12916,"nodeType":"Return","src":"1964:7:67"}]}}]}},{"errorCall":{"arguments":[{"id":13148,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12889,"src":"4392:6:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13147,"name":"UnsupportedAction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13609,"src":"4374:17:67","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":13149,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4374:25:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13150,"nodeType":"RevertStatement","src":"4367:32:67"}]},"id":13152,"implemented":true,"kind":"function","modifiers":[],"name":"_handleAction","nameLocation":"1558:13:67","nodeType":"FunctionDefinition","overrides":{"id":12893,"nodeType":"OverrideSpecifier","overrides":[],"src":"1620:8:67"},"parameters":{"id":12892,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12889,"mutability":"mutable","name":"action","nameLocation":"1580:6:67","nodeType":"VariableDeclaration","scope":13152,"src":"1572:14:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12888,"name":"uint256","nodeType":"ElementaryTypeName","src":"1572:7:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12891,"mutability":"mutable","name":"params","nameLocation":"1603:6:67","nodeType":"VariableDeclaration","scope":13152,"src":"1588:21:67","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":12890,"name":"bytes","nodeType":"ElementaryTypeName","src":"1588:5:67","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1571:39:67"},"returnParameters":{"id":12894,"nodeType":"ParameterList","parameters":[],"src":"1629:0:67"},"scope":13585,"src":"1549:2857:67","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":13217,"nodeType":"Block","src":"4501:507:67","statements":[{"assignments":[13159],"declarations":[{"constant":false,"id":13159,"mutability":"mutable","name":"amountIn","nameLocation":"4519:8:67","nodeType":"VariableDeclaration","scope":13217,"src":"4511:16:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":13158,"name":"uint128","nodeType":"ElementaryTypeName","src":"4511:7:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":13162,"initialValue":{"expression":{"id":13160,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13155,"src":"4530:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams calldata"}},"id":13161,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4537:8:67","memberName":"amountIn","nodeType":"MemberAccess","referencedDeclaration":15827,"src":"4530:15:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"4511:34:67"},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":13166,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13163,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13159,"src":"4559:8:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13164,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"4571:15:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":13165,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4587:10:67","memberName":"OPEN_DELTA","nodeType":"MemberAccess","referencedDeclaration":15897,"src":"4571:26:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"4559:38:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13184,"nodeType":"IfStatement","src":"4555:195:67","trueBody":{"id":13183,"nodeType":"Block","src":"4599:151:67","statements":[{"expression":{"id":13181,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13167,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13159,"src":"4613:8:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"condition":{"expression":{"id":13169,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13155,"src":"4655:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams calldata"}},"id":13170,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4662:10:67","memberName":"zeroForOne","nodeType":"MemberAccess","referencedDeclaration":15825,"src":"4655:17:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"expression":{"expression":{"id":13174,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13155,"src":"4702:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams calldata"}},"id":13175,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4709:7:67","memberName":"poolKey","nodeType":"MemberAccess","referencedDeclaration":15823,"src":"4702:14:67","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},"id":13176,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4717:9:67","memberName":"currency1","nodeType":"MemberAccess","referencedDeclaration":11052,"src":"4702:24:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":13177,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"4655:71:67","trueExpression":{"expression":{"expression":{"id":13171,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13155,"src":"4675:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams calldata"}},"id":13172,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4682:7:67","memberName":"poolKey","nodeType":"MemberAccess","referencedDeclaration":15823,"src":"4675:14:67","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},"id":13173,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4690:9:67","memberName":"currency0","nodeType":"MemberAccess","referencedDeclaration":11048,"src":"4675:24:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":13168,"name":"_getFullCredit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13963,"src":"4640:14:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":13178,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4640:87:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13179,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4728:9:67","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8033,"src":"4640:97:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (uint128)"}},"id":13180,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4640:99:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"4613:126:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":13182,"nodeType":"ExpressionStatement","src":"4613:126:67"}]}},{"assignments":[13186],"declarations":[{"constant":false,"id":13186,"mutability":"mutable","name":"amountOut","nameLocation":"4767:9:67","nodeType":"VariableDeclaration","scope":13217,"src":"4759:17:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":13185,"name":"uint128","nodeType":"ElementaryTypeName","src":"4759:7:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":13205,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"expression":{"id":13188,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13155,"src":"4797:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams calldata"}},"id":13189,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4804:7:67","memberName":"poolKey","nodeType":"MemberAccess","referencedDeclaration":15823,"src":"4797:14:67","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},{"expression":{"id":13190,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13155,"src":"4813:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams calldata"}},"id":13191,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4820:10:67","memberName":"zeroForOne","nodeType":"MemberAccess","referencedDeclaration":15825,"src":"4813:17:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":13199,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"4832:26:67","subExpression":{"arguments":[{"arguments":[{"id":13196,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13159,"src":"4848:8:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":13195,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4840:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":13194,"name":"uint256","nodeType":"ElementaryTypeName","src":"4840:7:67","typeDescriptions":{}}},"id":13197,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4840:17:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13193,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4833:6:67","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":13192,"name":"int256","nodeType":"ElementaryTypeName","src":"4833:6:67","typeDescriptions":{}}},"id":13198,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4833:25:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"expression":{"id":13200,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13155,"src":"4860:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams calldata"}},"id":13201,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4867:8:67","memberName":"hookData","nodeType":"MemberAccess","referencedDeclaration":15831,"src":"4860:15:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":13187,"name":"_swap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13584,"src":"4791:5:67","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_bool_$_t_int256_$_t_bytes_calldata_ptr_$returns$_t_int128_$","typeString":"function (struct PoolKey memory,bool,int256,bytes calldata) returns (int128)"}},"id":13202,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4791:85:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":13203,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4877:9:67","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8060,"src":"4791:95:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$returns$_t_uint128_$attached_to$_t_int128_$","typeString":"function (int128) pure returns (uint128)"}},"id":13204,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4791:97:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"4759:129:67"},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":13209,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13206,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13186,"src":"4902:9:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":13207,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13155,"src":"4914:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams calldata"}},"id":13208,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4921:16:67","memberName":"amountOutMinimum","nodeType":"MemberAccess","referencedDeclaration":15829,"src":"4914:23:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"4902:35:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13216,"nodeType":"IfStatement","src":"4898:103:67","trueBody":{"errorCall":{"arguments":[{"expression":{"id":13211,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13155,"src":"4966:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams calldata"}},"id":13212,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4973:16:67","memberName":"amountOutMinimum","nodeType":"MemberAccess","referencedDeclaration":15829,"src":"4966:23:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":13213,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13186,"src":"4991:9:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":13210,"name":"V4TooLittleReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15812,"src":"4946:19:67","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":13214,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4946:55:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13215,"nodeType":"RevertStatement","src":"4939:62:67"}}]},"id":13218,"implemented":true,"kind":"function","modifiers":[],"name":"_swapExactInputSingle","nameLocation":"4421:21:67","nodeType":"FunctionDefinition","parameters":{"id":13156,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13155,"mutability":"mutable","name":"params","nameLocation":"4485:6:67","nodeType":"VariableDeclaration","scope":13218,"src":"4443:48:67","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams"},"typeName":{"id":13154,"nodeType":"UserDefinedTypeName","pathNode":{"id":13153,"name":"IV4Router.ExactInputSingleParams","nameLocations":["4443:9:67","4453:22:67"],"nodeType":"IdentifierPath","referencedDeclaration":15832,"src":"4443:32:67"},"referencedDeclaration":15832,"src":"4443:32:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_storage_ptr","typeString":"struct IV4Router.ExactInputSingleParams"}},"visibility":"internal"}],"src":"4442:50:67"},"returnParameters":{"id":13157,"nodeType":"ParameterList","parameters":[],"src":"4501:0:67"},"scope":13585,"src":"4412:596:67","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":13330,"nodeType":"Block","src":"5091:1066:67","statements":[{"id":13329,"nodeType":"UncheckedBlock","src":"5101:1050:67","statements":[{"assignments":[13225],"declarations":[{"constant":false,"id":13225,"mutability":"mutable","name":"pathLength","nameLocation":"5172:10:67","nodeType":"VariableDeclaration","scope":13329,"src":"5164:18:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13224,"name":"uint256","nodeType":"ElementaryTypeName","src":"5164:7:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13229,"initialValue":{"expression":{"expression":{"id":13226,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13221,"src":"5185:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_calldata_ptr","typeString":"struct IV4Router.ExactInputParams calldata"}},"id":13227,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5192:4:67","memberName":"path","nodeType":"MemberAccess","referencedDeclaration":15840,"src":"5185:11:67","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_PathKey_$16632_calldata_ptr_$dyn_calldata_ptr","typeString":"struct PathKey calldata[] calldata"}},"id":13228,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5197:6:67","memberName":"length","nodeType":"MemberAccess","src":"5185:18:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5164:39:67"},{"assignments":[13231],"declarations":[{"constant":false,"id":13231,"mutability":"mutable","name":"amountOut","nameLocation":"5225:9:67","nodeType":"VariableDeclaration","scope":13329,"src":"5217:17:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":13230,"name":"uint128","nodeType":"ElementaryTypeName","src":"5217:7:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":13232,"nodeType":"VariableDeclarationStatement","src":"5217:17:67"},{"assignments":[13235],"declarations":[{"constant":false,"id":13235,"mutability":"mutable","name":"currencyIn","nameLocation":"5257:10:67","nodeType":"VariableDeclaration","scope":13329,"src":"5248:19:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13234,"nodeType":"UserDefinedTypeName","pathNode":{"id":13233,"name":"Currency","nameLocations":["5248:8:67"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"5248:8:67"},"referencedDeclaration":10717,"src":"5248:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"id":13238,"initialValue":{"expression":{"id":13236,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13221,"src":"5270:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_calldata_ptr","typeString":"struct IV4Router.ExactInputParams calldata"}},"id":13237,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5277:10:67","memberName":"currencyIn","nodeType":"MemberAccess","referencedDeclaration":15836,"src":"5270:17:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"VariableDeclarationStatement","src":"5248:39:67"},{"assignments":[13240],"declarations":[{"constant":false,"id":13240,"mutability":"mutable","name":"amountIn","nameLocation":"5309:8:67","nodeType":"VariableDeclaration","scope":13329,"src":"5301:16:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":13239,"name":"uint128","nodeType":"ElementaryTypeName","src":"5301:7:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":13243,"initialValue":{"expression":{"id":13241,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13221,"src":"5320:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_calldata_ptr","typeString":"struct IV4Router.ExactInputParams calldata"}},"id":13242,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5327:8:67","memberName":"amountIn","nodeType":"MemberAccess","referencedDeclaration":15842,"src":"5320:15:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"5301:34:67"},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":13247,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13244,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13240,"src":"5353:8:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13245,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"5365:15:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":13246,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5381:10:67","memberName":"OPEN_DELTA","nodeType":"MemberAccess","referencedDeclaration":15897,"src":"5365:26:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"5353:38:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13256,"nodeType":"IfStatement","src":"5349:93:67","trueBody":{"expression":{"id":13254,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13248,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13240,"src":"5393:8:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":13250,"name":"currencyIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13235,"src":"5419:10:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":13249,"name":"_getFullCredit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13963,"src":"5404:14:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":13251,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5404:26:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13252,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5431:9:67","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8033,"src":"5404:36:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (uint128)"}},"id":13253,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5404:38:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"5393:49:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":13255,"nodeType":"ExpressionStatement","src":"5393:49:67"}},{"assignments":[13259],"declarations":[{"constant":false,"id":13259,"mutability":"mutable","name":"pathKey","nameLocation":"5473:7:67","nodeType":"VariableDeclaration","scope":13329,"src":"5456:24:67","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey"},"typeName":{"id":13258,"nodeType":"UserDefinedTypeName","pathNode":{"id":13257,"name":"PathKey","nameLocations":["5456:7:67"],"nodeType":"IdentifierPath","referencedDeclaration":16632,"src":"5456:7:67"},"referencedDeclaration":16632,"src":"5456:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_storage_ptr","typeString":"struct PathKey"}},"visibility":"internal"}],"id":13260,"nodeType":"VariableDeclarationStatement","src":"5456:24:67"},{"body":{"id":13316,"nodeType":"Block","src":"5536:487:67","statements":[{"expression":{"id":13276,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13271,"name":"pathKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13259,"src":"5554:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"expression":{"id":13272,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13221,"src":"5564:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_calldata_ptr","typeString":"struct IV4Router.ExactInputParams calldata"}},"id":13273,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5571:4:67","memberName":"path","nodeType":"MemberAccess","referencedDeclaration":15840,"src":"5564:11:67","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_PathKey_$16632_calldata_ptr_$dyn_calldata_ptr","typeString":"struct PathKey calldata[] calldata"}},"id":13275,"indexExpression":{"id":13274,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13262,"src":"5576:1:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5564:14:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"src":"5554:24:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"id":13277,"nodeType":"ExpressionStatement","src":"5554:24:67"},{"assignments":[13280,13282],"declarations":[{"constant":false,"id":13280,"mutability":"mutable","name":"poolKey","nameLocation":"5612:7:67","nodeType":"VariableDeclaration","scope":13316,"src":"5597:22:67","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":13279,"nodeType":"UserDefinedTypeName","pathNode":{"id":13278,"name":"PoolKey","nameLocations":["5597:7:67"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"5597:7:67"},"referencedDeclaration":11063,"src":"5597:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":13282,"mutability":"mutable","name":"zeroForOne","nameLocation":"5626:10:67","nodeType":"VariableDeclaration","scope":13316,"src":"5621:15:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":13281,"name":"bool","nodeType":"ElementaryTypeName","src":"5621:4:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":13287,"initialValue":{"arguments":[{"id":13285,"name":"currencyIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13235,"src":"5672:10:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":13283,"name":"pathKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13259,"src":"5640:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"id":13284,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5648:23:67","memberName":"getPoolAndSwapDirection","nodeType":"MemberAccess","referencedDeclaration":16695,"src":"5640:31:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_PathKey_$16632_calldata_ptr_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_struct$_PoolKey_$11063_memory_ptr_$_t_bool_$attached_to$_t_struct$_PathKey_$16632_calldata_ptr_$","typeString":"function (struct PathKey calldata,Currency) pure returns (struct PoolKey memory,bool)"}},"id":13286,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5640:43:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_struct$_PoolKey_$11063_memory_ptr_$_t_bool_$","typeString":"tuple(struct PoolKey memory,bool)"}},"nodeType":"VariableDeclarationStatement","src":"5596:87:67"},{"expression":{"id":13305,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13288,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13231,"src":"5814:9:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":13290,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13280,"src":"5832:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":13291,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13282,"src":"5841:10:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":13299,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"5853:26:67","subExpression":{"arguments":[{"arguments":[{"id":13296,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13240,"src":"5869:8:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":13295,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5861:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":13294,"name":"uint256","nodeType":"ElementaryTypeName","src":"5861:7:67","typeDescriptions":{}}},"id":13297,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5861:17:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13293,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5854:6:67","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":13292,"name":"int256","nodeType":"ElementaryTypeName","src":"5854:6:67","typeDescriptions":{}}},"id":13298,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5854:25:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"expression":{"id":13300,"name":"pathKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13259,"src":"5881:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"id":13301,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5889:8:67","memberName":"hookData","nodeType":"MemberAccess","referencedDeclaration":16631,"src":"5881:16:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":13289,"name":"_swap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13584,"src":"5826:5:67","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_bool_$_t_int256_$_t_bytes_calldata_ptr_$returns$_t_int128_$","typeString":"function (struct PoolKey memory,bool,int256,bytes calldata) returns (int128)"}},"id":13302,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5826:72:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":13303,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5899:9:67","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8060,"src":"5826:82:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$returns$_t_uint128_$attached_to$_t_int128_$","typeString":"function (int128) pure returns (uint128)"}},"id":13304,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5826:84:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"5814:96:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":13306,"nodeType":"ExpressionStatement","src":"5814:96:67"},{"expression":{"id":13309,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13307,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13240,"src":"5929:8:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":13308,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13231,"src":"5940:9:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"5929:20:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":13310,"nodeType":"ExpressionStatement","src":"5929:20:67"},{"expression":{"id":13314,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13311,"name":"currencyIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13235,"src":"5967:10:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":13312,"name":"pathKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13259,"src":"5980:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"id":13313,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5988:20:67","memberName":"intermediateCurrency","nodeType":"MemberAccess","referencedDeclaration":16622,"src":"5980:28:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"src":"5967:41:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":13315,"nodeType":"ExpressionStatement","src":"5967:41:67"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13267,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13265,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13262,"src":"5515:1:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":13266,"name":"pathLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13225,"src":"5519:10:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5515:14:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13317,"initializationExpression":{"assignments":[13262],"declarations":[{"constant":false,"id":13262,"mutability":"mutable","name":"i","nameLocation":"5508:1:67","nodeType":"VariableDeclaration","scope":13317,"src":"5500:9:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13261,"name":"uint256","nodeType":"ElementaryTypeName","src":"5500:7:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13264,"initialValue":{"hexValue":"30","id":13263,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5512:1:67","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"5500:13:67"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":13269,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"5531:3:67","subExpression":{"id":13268,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13262,"src":"5531:1:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13270,"nodeType":"ExpressionStatement","src":"5531:3:67"},"nodeType":"ForStatement","src":"5495:528:67"},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":13321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13318,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13231,"src":"6041:9:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":13319,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13221,"src":"6053:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_calldata_ptr","typeString":"struct IV4Router.ExactInputParams calldata"}},"id":13320,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6060:16:67","memberName":"amountOutMinimum","nodeType":"MemberAccess","referencedDeclaration":15844,"src":"6053:23:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"6041:35:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13328,"nodeType":"IfStatement","src":"6037:103:67","trueBody":{"errorCall":{"arguments":[{"expression":{"id":13323,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13221,"src":"6105:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_calldata_ptr","typeString":"struct IV4Router.ExactInputParams calldata"}},"id":13324,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6112:16:67","memberName":"amountOutMinimum","nodeType":"MemberAccess","referencedDeclaration":15844,"src":"6105:23:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":13325,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13231,"src":"6130:9:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":13322,"name":"V4TooLittleReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15812,"src":"6085:19:67","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":13326,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6085:55:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13327,"nodeType":"RevertStatement","src":"6078:62:67"}}]}]},"id":13331,"implemented":true,"kind":"function","modifiers":[],"name":"_swapExactInput","nameLocation":"5023:15:67","nodeType":"FunctionDefinition","parameters":{"id":13222,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13221,"mutability":"mutable","name":"params","nameLocation":"5075:6:67","nodeType":"VariableDeclaration","scope":13331,"src":"5039:42:67","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_calldata_ptr","typeString":"struct IV4Router.ExactInputParams"},"typeName":{"id":13220,"nodeType":"UserDefinedTypeName","pathNode":{"id":13219,"name":"IV4Router.ExactInputParams","nameLocations":["5039:9:67","5049:16:67"],"nodeType":"IdentifierPath","referencedDeclaration":15845,"src":"5039:26:67"},"referencedDeclaration":15845,"src":"5039:26:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_storage_ptr","typeString":"struct IV4Router.ExactInputParams"}},"visibility":"internal"}],"src":"5038:44:67"},"returnParameters":{"id":13223,"nodeType":"ParameterList","parameters":[],"src":"5091:0:67"},"scope":13585,"src":"5014:1143:67","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":13403,"nodeType":"Block","src":"6254:533:67","statements":[{"assignments":[13338],"declarations":[{"constant":false,"id":13338,"mutability":"mutable","name":"amountOut","nameLocation":"6272:9:67","nodeType":"VariableDeclaration","scope":13403,"src":"6264:17:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":13337,"name":"uint128","nodeType":"ElementaryTypeName","src":"6264:7:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":13341,"initialValue":{"expression":{"id":13339,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13334,"src":"6284:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams calldata"}},"id":13340,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6291:9:67","memberName":"amountOut","nodeType":"MemberAccess","referencedDeclaration":15853,"src":"6284:16:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"6264:36:67"},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":13345,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13342,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13338,"src":"6314:9:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13343,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"6327:15:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":13344,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6343:10:67","memberName":"OPEN_DELTA","nodeType":"MemberAccess","referencedDeclaration":15897,"src":"6327:26:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"6314:39:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13363,"nodeType":"IfStatement","src":"6310:195:67","trueBody":{"id":13362,"nodeType":"Block","src":"6355:150:67","statements":[{"expression":{"id":13360,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13346,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13338,"src":"6369:9:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"condition":{"expression":{"id":13348,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13334,"src":"6410:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams calldata"}},"id":13349,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6417:10:67","memberName":"zeroForOne","nodeType":"MemberAccess","referencedDeclaration":15851,"src":"6410:17:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"expression":{"expression":{"id":13353,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13334,"src":"6457:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams calldata"}},"id":13354,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6464:7:67","memberName":"poolKey","nodeType":"MemberAccess","referencedDeclaration":15849,"src":"6457:14:67","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},"id":13355,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6472:9:67","memberName":"currency0","nodeType":"MemberAccess","referencedDeclaration":11048,"src":"6457:24:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":13356,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"6410:71:67","trueExpression":{"expression":{"expression":{"id":13350,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13334,"src":"6430:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams calldata"}},"id":13351,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6437:7:67","memberName":"poolKey","nodeType":"MemberAccess","referencedDeclaration":15849,"src":"6430:14:67","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},"id":13352,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6445:9:67","memberName":"currency1","nodeType":"MemberAccess","referencedDeclaration":11052,"src":"6430:24:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":13347,"name":"_getFullDebt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13927,"src":"6397:12:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":13357,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6397:85:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13358,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6483:9:67","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8033,"src":"6397:95:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (uint128)"}},"id":13359,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6397:97:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"6369:125:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":13361,"nodeType":"ExpressionStatement","src":"6369:125:67"}]}},{"assignments":[13365],"declarations":[{"constant":false,"id":13365,"mutability":"mutable","name":"amountIn","nameLocation":"6522:8:67","nodeType":"VariableDeclaration","scope":13403,"src":"6514:16:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":13364,"name":"uint128","nodeType":"ElementaryTypeName","src":"6514:7:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":13391,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"components":[{"arguments":[{"id":13386,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"6555:94:67","subExpression":{"arguments":[{"arguments":[{"expression":{"id":13371,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13334,"src":"6569:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams calldata"}},"id":13372,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6576:7:67","memberName":"poolKey","nodeType":"MemberAccess","referencedDeclaration":15849,"src":"6569:14:67","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},{"expression":{"id":13373,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13334,"src":"6585:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams calldata"}},"id":13374,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6592:10:67","memberName":"zeroForOne","nodeType":"MemberAccess","referencedDeclaration":15851,"src":"6585:17:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[{"arguments":[{"id":13379,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13338,"src":"6619:9:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":13378,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6611:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":13377,"name":"uint256","nodeType":"ElementaryTypeName","src":"6611:7:67","typeDescriptions":{}}},"id":13380,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6611:18:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13376,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6604:6:67","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":13375,"name":"int256","nodeType":"ElementaryTypeName","src":"6604:6:67","typeDescriptions":{}}},"id":13381,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6604:26:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"expression":{"id":13382,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13334,"src":"6632:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams calldata"}},"id":13383,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6639:8:67","memberName":"hookData","nodeType":"MemberAccess","referencedDeclaration":15857,"src":"6632:15:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":13370,"name":"_swap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13584,"src":"6563:5:67","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_bool_$_t_int256_$_t_bytes_calldata_ptr_$returns$_t_int128_$","typeString":"function (struct PoolKey memory,bool,int256,bytes calldata) returns (int128)"}},"id":13384,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6563:85:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":13369,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6556:6:67","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":13368,"name":"int256","nodeType":"ElementaryTypeName","src":"6556:6:67","typeDescriptions":{}}},"id":13385,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6556:93:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":13367,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6547:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":13366,"name":"uint256","nodeType":"ElementaryTypeName","src":"6547:7:67","typeDescriptions":{}}},"id":13387,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6547:103:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":13388,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6533:127:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13389,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6661:9:67","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8033,"src":"6533:137:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (uint128)"}},"id":13390,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6533:139:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"6514:158:67"},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":13395,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13392,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13365,"src":"6686:8:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"id":13393,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13334,"src":"6697:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams calldata"}},"id":13394,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6704:15:67","memberName":"amountInMaximum","nodeType":"MemberAccess","referencedDeclaration":15855,"src":"6697:22:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"6686:33:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13402,"nodeType":"IfStatement","src":"6682:98:67","trueBody":{"errorCall":{"arguments":[{"expression":{"id":13397,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13334,"src":"6747:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams calldata"}},"id":13398,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6754:15:67","memberName":"amountInMaximum","nodeType":"MemberAccess","referencedDeclaration":15855,"src":"6747:22:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":13399,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13365,"src":"6771:8:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":13396,"name":"V4TooMuchRequested","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15819,"src":"6728:18:67","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":13400,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6728:52:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13401,"nodeType":"RevertStatement","src":"6721:59:67"}}]},"id":13404,"implemented":true,"kind":"function","modifiers":[],"name":"_swapExactOutputSingle","nameLocation":"6172:22:67","nodeType":"FunctionDefinition","parameters":{"id":13335,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13334,"mutability":"mutable","name":"params","nameLocation":"6238:6:67","nodeType":"VariableDeclaration","scope":13404,"src":"6195:49:67","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams"},"typeName":{"id":13333,"nodeType":"UserDefinedTypeName","pathNode":{"id":13332,"name":"IV4Router.ExactOutputSingleParams","nameLocations":["6195:9:67","6205:23:67"],"nodeType":"IdentifierPath","referencedDeclaration":15858,"src":"6195:33:67"},"referencedDeclaration":15858,"src":"6195:33:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_storage_ptr","typeString":"struct IV4Router.ExactOutputSingleParams"}},"visibility":"internal"}],"src":"6194:51:67"},"returnParameters":{"id":13336,"nodeType":"ParameterList","parameters":[],"src":"6254:0:67"},"scope":13585,"src":"6163:624:67","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":13527,"nodeType":"Block","src":"6872:1144:67","statements":[{"id":13526,"nodeType":"UncheckedBlock","src":"6882:1128:67","statements":[{"assignments":[13411],"declarations":[{"constant":false,"id":13411,"mutability":"mutable","name":"pathLength","nameLocation":"6953:10:67","nodeType":"VariableDeclaration","scope":13526,"src":"6945:18:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13410,"name":"uint256","nodeType":"ElementaryTypeName","src":"6945:7:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13415,"initialValue":{"expression":{"expression":{"id":13412,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13407,"src":"6966:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_calldata_ptr","typeString":"struct IV4Router.ExactOutputParams calldata"}},"id":13413,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6973:4:67","memberName":"path","nodeType":"MemberAccess","referencedDeclaration":15866,"src":"6966:11:67","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_PathKey_$16632_calldata_ptr_$dyn_calldata_ptr","typeString":"struct PathKey calldata[] calldata"}},"id":13414,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6978:6:67","memberName":"length","nodeType":"MemberAccess","src":"6966:18:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6945:39:67"},{"assignments":[13417],"declarations":[{"constant":false,"id":13417,"mutability":"mutable","name":"amountIn","nameLocation":"7006:8:67","nodeType":"VariableDeclaration","scope":13526,"src":"6998:16:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":13416,"name":"uint128","nodeType":"ElementaryTypeName","src":"6998:7:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":13418,"nodeType":"VariableDeclarationStatement","src":"6998:16:67"},{"assignments":[13420],"declarations":[{"constant":false,"id":13420,"mutability":"mutable","name":"amountOut","nameLocation":"7036:9:67","nodeType":"VariableDeclaration","scope":13526,"src":"7028:17:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":13419,"name":"uint128","nodeType":"ElementaryTypeName","src":"7028:7:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":13423,"initialValue":{"expression":{"id":13421,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13407,"src":"7048:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_calldata_ptr","typeString":"struct IV4Router.ExactOutputParams calldata"}},"id":13422,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7055:9:67","memberName":"amountOut","nodeType":"MemberAccess","referencedDeclaration":15868,"src":"7048:16:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"7028:36:67"},{"assignments":[13426],"declarations":[{"constant":false,"id":13426,"mutability":"mutable","name":"currencyOut","nameLocation":"7087:11:67","nodeType":"VariableDeclaration","scope":13526,"src":"7078:20:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13425,"nodeType":"UserDefinedTypeName","pathNode":{"id":13424,"name":"Currency","nameLocations":["7078:8:67"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"7078:8:67"},"referencedDeclaration":10717,"src":"7078:8:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"id":13429,"initialValue":{"expression":{"id":13427,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13407,"src":"7101:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_calldata_ptr","typeString":"struct IV4Router.ExactOutputParams calldata"}},"id":13428,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7108:11:67","memberName":"currencyOut","nodeType":"MemberAccess","referencedDeclaration":15862,"src":"7101:18:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"VariableDeclarationStatement","src":"7078:41:67"},{"assignments":[13432],"declarations":[{"constant":false,"id":13432,"mutability":"mutable","name":"pathKey","nameLocation":"7150:7:67","nodeType":"VariableDeclaration","scope":13526,"src":"7133:24:67","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey"},"typeName":{"id":13431,"nodeType":"UserDefinedTypeName","pathNode":{"id":13430,"name":"PathKey","nameLocations":["7133:7:67"],"nodeType":"IdentifierPath","referencedDeclaration":16632,"src":"7133:7:67"},"referencedDeclaration":16632,"src":"7133:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_storage_ptr","typeString":"struct PathKey"}},"visibility":"internal"}],"id":13433,"nodeType":"VariableDeclarationStatement","src":"7133:24:67"},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":13437,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13434,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13420,"src":"7176:9:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13435,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"7189:15:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":13436,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7205:10:67","memberName":"OPEN_DELTA","nodeType":"MemberAccess","referencedDeclaration":15897,"src":"7189:26:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"7176:39:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13447,"nodeType":"IfStatement","src":"7172:127:67","trueBody":{"id":13446,"nodeType":"Block","src":"7217:82:67","statements":[{"expression":{"id":13444,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13438,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13420,"src":"7235:9:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":13440,"name":"currencyOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13426,"src":"7260:11:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":13439,"name":"_getFullDebt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13927,"src":"7247:12:67","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":13441,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7247:25:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13442,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7273:9:67","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8033,"src":"7247:35:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (uint128)"}},"id":13443,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7247:37:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"7235:49:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":13445,"nodeType":"ExpressionStatement","src":"7235:49:67"}]}},{"body":{"id":13513,"nodeType":"Block","src":"7354:534:67","statements":[{"expression":{"id":13465,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13458,"name":"pathKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13432,"src":"7372:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"expression":{"id":13459,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13407,"src":"7382:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_calldata_ptr","typeString":"struct IV4Router.ExactOutputParams calldata"}},"id":13460,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7389:4:67","memberName":"path","nodeType":"MemberAccess","referencedDeclaration":15866,"src":"7382:11:67","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_PathKey_$16632_calldata_ptr_$dyn_calldata_ptr","typeString":"struct PathKey calldata[] calldata"}},"id":13464,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13461,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13449,"src":"7394:1:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":13462,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7398:1:67","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7394:5:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7382:18:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"src":"7372:28:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"id":13466,"nodeType":"ExpressionStatement","src":"7372:28:67"},{"assignments":[13469,13471],"declarations":[{"constant":false,"id":13469,"mutability":"mutable","name":"poolKey","nameLocation":"7434:7:67","nodeType":"VariableDeclaration","scope":13513,"src":"7419:22:67","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":13468,"nodeType":"UserDefinedTypeName","pathNode":{"id":13467,"name":"PoolKey","nameLocations":["7419:7:67"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"7419:7:67"},"referencedDeclaration":11063,"src":"7419:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":13471,"mutability":"mutable","name":"oneForZero","nameLocation":"7448:10:67","nodeType":"VariableDeclaration","scope":13513,"src":"7443:15:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":13470,"name":"bool","nodeType":"ElementaryTypeName","src":"7443:4:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":13476,"initialValue":{"arguments":[{"id":13474,"name":"currencyOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13426,"src":"7494:11:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":13472,"name":"pathKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13432,"src":"7462:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"id":13473,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7470:23:67","memberName":"getPoolAndSwapDirection","nodeType":"MemberAccess","referencedDeclaration":16695,"src":"7462:31:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_PathKey_$16632_calldata_ptr_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_struct$_PoolKey_$11063_memory_ptr_$_t_bool_$attached_to$_t_struct$_PathKey_$16632_calldata_ptr_$","typeString":"function (struct PathKey calldata,Currency) pure returns (struct PoolKey memory,bool)"}},"id":13475,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7462:44:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_struct$_PoolKey_$11063_memory_ptr_$_t_bool_$","typeString":"tuple(struct PoolKey memory,bool)"}},"nodeType":"VariableDeclarationStatement","src":"7418:88:67"},{"expression":{"id":13502,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13477,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13417,"src":"7637:8:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"components":[{"arguments":[{"id":13497,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"7657:82:67","subExpression":{"arguments":[{"arguments":[{"id":13483,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13469,"src":"7671:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"id":13485,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"7680:11:67","subExpression":{"id":13484,"name":"oneForZero","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13471,"src":"7681:10:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[{"arguments":[{"id":13490,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13420,"src":"7708:9:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":13489,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7700:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":13488,"name":"uint256","nodeType":"ElementaryTypeName","src":"7700:7:67","typeDescriptions":{}}},"id":13491,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7700:18:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13487,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7693:6:67","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":13486,"name":"int256","nodeType":"ElementaryTypeName","src":"7693:6:67","typeDescriptions":{}}},"id":13492,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7693:26:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"expression":{"id":13493,"name":"pathKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13432,"src":"7721:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"id":13494,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7729:8:67","memberName":"hookData","nodeType":"MemberAccess","referencedDeclaration":16631,"src":"7721:16:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":13482,"name":"_swap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13584,"src":"7665:5:67","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_bool_$_t_int256_$_t_bytes_calldata_ptr_$returns$_t_int128_$","typeString":"function (struct PoolKey memory,bool,int256,bytes calldata) returns (int128)"}},"id":13495,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7665:73:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":13481,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7658:6:67","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":13480,"name":"int256","nodeType":"ElementaryTypeName","src":"7658:6:67","typeDescriptions":{}}},"id":13496,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7658:81:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":13479,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7649:7:67","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":13478,"name":"uint256","nodeType":"ElementaryTypeName","src":"7649:7:67","typeDescriptions":{}}},"id":13498,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7649:91:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":13499,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7648:93:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13500,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7763:9:67","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8033,"src":"7648:124:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (uint128)"}},"id":13501,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7648:126:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"7637:137:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":13503,"nodeType":"ExpressionStatement","src":"7637:137:67"},{"expression":{"id":13506,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13504,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13420,"src":"7793:9:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":13505,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13417,"src":"7805:8:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"7793:20:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":13507,"nodeType":"ExpressionStatement","src":"7793:20:67"},{"expression":{"id":13511,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13508,"name":"currencyOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13426,"src":"7831:11:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":13509,"name":"pathKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13432,"src":"7845:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"id":13510,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7853:20:67","memberName":"intermediateCurrency","nodeType":"MemberAccess","referencedDeclaration":16622,"src":"7845:28:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"src":"7831:42:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":13512,"nodeType":"ExpressionStatement","src":"7831:42:67"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13454,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13452,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13449,"src":"7342:1:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":13453,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7346:1:67","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"7342:5:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13514,"initializationExpression":{"assignments":[13449],"declarations":[{"constant":false,"id":13449,"mutability":"mutable","name":"i","nameLocation":"7326:1:67","nodeType":"VariableDeclaration","scope":13514,"src":"7318:9:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13448,"name":"uint256","nodeType":"ElementaryTypeName","src":"7318:7:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13451,"initialValue":{"id":13450,"name":"pathLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13411,"src":"7330:10:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"7318:22:67"},"isSimpleCounterLoop":false,"loopExpression":{"expression":{"id":13456,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"--","prefix":false,"src":"7349:3:67","subExpression":{"id":13455,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13449,"src":"7349:1:67","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13457,"nodeType":"ExpressionStatement","src":"7349:3:67"},"nodeType":"ForStatement","src":"7313:575:67"},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":13518,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13515,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13417,"src":"7905:8:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"id":13516,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13407,"src":"7916:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_calldata_ptr","typeString":"struct IV4Router.ExactOutputParams calldata"}},"id":13517,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7923:15:67","memberName":"amountInMaximum","nodeType":"MemberAccess","referencedDeclaration":15870,"src":"7916:22:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"7905:33:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13525,"nodeType":"IfStatement","src":"7901:98:67","trueBody":{"errorCall":{"arguments":[{"expression":{"id":13520,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13407,"src":"7966:6:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_calldata_ptr","typeString":"struct IV4Router.ExactOutputParams calldata"}},"id":13521,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7973:15:67","memberName":"amountInMaximum","nodeType":"MemberAccess","referencedDeclaration":15870,"src":"7966:22:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":13522,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13417,"src":"7990:8:67","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":13519,"name":"V4TooMuchRequested","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15819,"src":"7947:18:67","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":13523,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7947:52:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13524,"nodeType":"RevertStatement","src":"7940:59:67"}}]}]},"id":13528,"implemented":true,"kind":"function","modifiers":[],"name":"_swapExactOutput","nameLocation":"6802:16:67","nodeType":"FunctionDefinition","parameters":{"id":13408,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13407,"mutability":"mutable","name":"params","nameLocation":"6856:6:67","nodeType":"VariableDeclaration","scope":13528,"src":"6819:43:67","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_calldata_ptr","typeString":"struct IV4Router.ExactOutputParams"},"typeName":{"id":13406,"nodeType":"UserDefinedTypeName","pathNode":{"id":13405,"name":"IV4Router.ExactOutputParams","nameLocations":["6819:9:67","6829:17:67"],"nodeType":"IdentifierPath","referencedDeclaration":15871,"src":"6819:27:67"},"referencedDeclaration":15871,"src":"6819:27:67","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_storage_ptr","typeString":"struct IV4Router.ExactOutputParams"}},"visibility":"internal"}],"src":"6818:45:67"},"returnParameters":{"id":13409,"nodeType":"ParameterList","parameters":[],"src":"6872:0:67"},"scope":13585,"src":"6793:1223:67","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":13583,"nodeType":"Block","src":"8189:543:67","statements":[{"id":13582,"nodeType":"UncheckedBlock","src":"8304:422:67","statements":[{"assignments":[13544],"declarations":[{"constant":false,"id":13544,"mutability":"mutable","name":"delta","nameLocation":"8341:5:67","nodeType":"VariableDeclaration","scope":13582,"src":"8328:18:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":13543,"nodeType":"UserDefinedTypeName","pathNode":{"id":13542,"name":"BalanceDelta","nameLocations":["8328:12:67"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"8328:12:67"},"referencedDeclaration":10503,"src":"8328:12:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"id":13565,"initialValue":{"arguments":[{"id":13547,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13531,"src":"8383:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},{"arguments":[{"id":13550,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13533,"src":"8453:10:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":13551,"name":"amountSpecified","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13535,"src":"8465:15:67","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"condition":{"id":13552,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13533,"src":"8482:10:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":13560,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"expression":{"id":13557,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"8525:8:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":13558,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8534:14:67","memberName":"MAX_SQRT_PRICE","nodeType":"MemberAccess","referencedDeclaration":9826,"src":"8525:23:67","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":13559,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8551:1:67","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"8525:27:67","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":13561,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"8482:70:67","trueExpression":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":13556,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"expression":{"id":13553,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10331,"src":"8495:8:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$10331_$","typeString":"type(library TickMath)"}},"id":13554,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8504:14:67","memberName":"MIN_SQRT_PRICE","nodeType":"MemberAccess","referencedDeclaration":9822,"src":"8495:23:67","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":13555,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8521:1:67","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"8495:27:67","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":13548,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"8408:12:67","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IPoolManager_$3917_$","typeString":"type(contract IPoolManager)"}},"id":13549,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8421:10:67","memberName":"SwapParams","nodeType":"MemberAccess","referencedDeclaration":3815,"src":"8408:23:67","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_SwapParams_$3815_storage_ptr_$","typeString":"type(struct IPoolManager.SwapParams storage pointer)"}},"id":13562,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8408:162:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"}},{"id":13563,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13537,"src":"8588:8:67","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"},{"typeIdentifier":"t_struct$_SwapParams_$3815_memory_ptr","typeString":"struct IPoolManager.SwapParams memory"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"id":13545,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"8349:11:67","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":13546,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8361:4:67","memberName":"swap","nodeType":"MemberAccess","referencedDeclaration":3830,"src":"8349:16:67","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_struct$_SwapParams_$3815_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (struct PoolKey memory,struct IPoolManager.SwapParams memory,bytes memory) external returns (BalanceDelta)"}},"id":13564,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8349:261:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"nodeType":"VariableDeclarationStatement","src":"8328:282:67"},{"expression":{"id":13580,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13566,"name":"reciprocalAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13540,"src":"8625:16:67","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":13571,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13567,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13533,"src":"8645:10:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":13570,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13568,"name":"amountSpecified","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13535,"src":"8659:15:67","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":13569,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8677:1:67","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8659:19:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"8645:33:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":13572,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8644:35:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":13576,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13544,"src":"8700:5:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":13577,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8706:7:67","memberName":"amount0","nodeType":"MemberAccess","referencedDeclaration":10650,"src":"8700:13:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta) pure returns (int128)"}},"id":13578,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8700:15:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":13579,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"8644:71:67","trueExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":13573,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13544,"src":"8682:5:67","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":13574,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8688:7:67","memberName":"amount1","nodeType":"MemberAccess","referencedDeclaration":10660,"src":"8682:13:67","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta) pure returns (int128)"}},"id":13575,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8682:15:67","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"8625:90:67","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":13581,"nodeType":"ExpressionStatement","src":"8625:90:67"}]}]},"id":13584,"implemented":true,"kind":"function","modifiers":[],"name":"_swap","nameLocation":"8031:5:67","nodeType":"FunctionDefinition","parameters":{"id":13538,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13531,"mutability":"mutable","name":"poolKey","nameLocation":"8052:7:67","nodeType":"VariableDeclaration","scope":13584,"src":"8037:22:67","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":13530,"nodeType":"UserDefinedTypeName","pathNode":{"id":13529,"name":"PoolKey","nameLocations":["8037:7:67"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"8037:7:67"},"referencedDeclaration":11063,"src":"8037:7:67","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":13533,"mutability":"mutable","name":"zeroForOne","nameLocation":"8066:10:67","nodeType":"VariableDeclaration","scope":13584,"src":"8061:15:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":13532,"name":"bool","nodeType":"ElementaryTypeName","src":"8061:4:67","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":13535,"mutability":"mutable","name":"amountSpecified","nameLocation":"8085:15:67","nodeType":"VariableDeclaration","scope":13584,"src":"8078:22:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":13534,"name":"int256","nodeType":"ElementaryTypeName","src":"8078:6:67","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":13537,"mutability":"mutable","name":"hookData","nameLocation":"8117:8:67","nodeType":"VariableDeclaration","scope":13584,"src":"8102:23:67","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":13536,"name":"bytes","nodeType":"ElementaryTypeName","src":"8102:5:67","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8036:90:67"},"returnParameters":{"id":13541,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13540,"mutability":"mutable","name":"reciprocalAmount","nameLocation":"8167:16:67","nodeType":"VariableDeclaration","scope":13584,"src":"8160:23:67","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":13539,"name":"int128","nodeType":"ElementaryTypeName","src":"8160:6:67","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"8159:25:67"},"scope":13585,"src":"8022:710:67","stateMutability":"nonpayable","virtual":false,"visibility":"private"}],"scope":13586,"src":"1291:7443:67","usedErrors":[13604,13609,13798,13804,13807,14483,15812,15819,16004],"usedEvents":[]}],"src":"32:8703:67"},"id":67},"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol","exportedSymbols":{"ActionConstants":[15916],"BaseActionsRouter":[13773],"CalldataDecoder":[16368],"IPoolManager":[3917],"SafeCallback":[15268]},"id":13774,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":13587,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:68"},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","id":13589,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13774,"sourceUnit":3918,"src":"57:78:68","symbolAliases":[{"foreign":{"id":13588,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"65:12:68","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/SafeCallback.sol","file":"./SafeCallback.sol","id":13591,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13774,"sourceUnit":15269,"src":"136:48:68","symbolAliases":[{"foreign":{"id":13590,"name":"SafeCallback","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15268,"src":"144:12:68","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol","file":"../libraries/CalldataDecoder.sol","id":13593,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13774,"sourceUnit":16369,"src":"185:65:68","symbolAliases":[{"foreign":{"id":13592,"name":"CalldataDecoder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16368,"src":"193:15:68","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/ActionConstants.sol","file":"../libraries/ActionConstants.sol","id":13595,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":13774,"sourceUnit":15917,"src":"251:65:68","symbolAliases":[{"foreign":{"id":13594,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"259:15:68","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":13597,"name":"SafeCallback","nameLocations":["546:12:68"],"nodeType":"IdentifierPath","referencedDeclaration":15268,"src":"546:12:68"},"id":13598,"nodeType":"InheritanceSpecifier","src":"546:12:68"}],"canonicalName":"BaseActionsRouter","contractDependencies":[],"contractKind":"contract","documentation":{"id":13596,"nodeType":"StructuredDocumentation","src":"318:189:68","text":"@notice Abstract contract for performing a combination of actions on Uniswap v4.\n @dev Suggested uint256 action values are defined in Actions.sol, however any definition can be used"},"fullyImplemented":false,"id":13773,"linearizedBaseContracts":[13773,15268,4006,14511,15406],"name":"BaseActionsRouter","nameLocation":"525:17:68","nodeType":"ContractDefinition","nodes":[{"global":false,"id":13601,"libraryName":{"id":13599,"name":"CalldataDecoder","nameLocations":["571:15:68"],"nodeType":"IdentifierPath","referencedDeclaration":16368,"src":"571:15:68"},"nodeType":"UsingForDirective","src":"565:32:68","typeName":{"id":13600,"name":"bytes","nodeType":"ElementaryTypeName","src":"591:5:68","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"documentation":{"id":13602,"nodeType":"StructuredDocumentation","src":"603:81:68","text":"@notice emitted when different numbers of parameters and actions are provided"},"errorSelector":"aaad13f7","id":13604,"name":"InputLengthMismatch","nameLocation":"695:19:68","nodeType":"ErrorDefinition","parameters":{"id":13603,"nodeType":"ParameterList","parameters":[],"src":"714:2:68"},"src":"689:28:68"},{"documentation":{"id":13605,"nodeType":"StructuredDocumentation","src":"723:74:68","text":"@notice emitted when an inheriting contract does not support an action"},"errorSelector":"5cda29d7","id":13609,"name":"UnsupportedAction","nameLocation":"808:17:68","nodeType":"ErrorDefinition","parameters":{"id":13608,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13607,"mutability":"mutable","name":"action","nameLocation":"834:6:68","nodeType":"VariableDeclaration","scope":13609,"src":"826:14:68","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13606,"name":"uint256","nodeType":"ElementaryTypeName","src":"826:7:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"825:16:68"},"src":"802:40:68"},{"body":{"id":13618,"nodeType":"Block","src":"914:2:68","statements":[]},"id":13619,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":13615,"name":"_poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13612,"src":"900:12:68","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}],"id":13616,"kind":"baseConstructorSpecifier","modifierName":{"id":13614,"name":"SafeCallback","nameLocations":["887:12:68"],"nodeType":"IdentifierPath","referencedDeclaration":15268,"src":"887:12:68"},"nodeType":"ModifierInvocation","src":"887:26:68"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":13613,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13612,"mutability":"mutable","name":"_poolManager","nameLocation":"873:12:68","nodeType":"VariableDeclaration","scope":13619,"src":"860:25:68","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":13611,"nodeType":"UserDefinedTypeName","pathNode":{"id":13610,"name":"IPoolManager","nameLocations":["860:12:68"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"860:12:68"},"referencedDeclaration":3917,"src":"860:12:68","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"}],"src":"859:27:68"},"returnParameters":{"id":13617,"nodeType":"ParameterList","parameters":[],"src":"914:0:68"},"scope":13773,"src":"848:68:68","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":13631,"nodeType":"Block","src":"1152:47:68","statements":[{"expression":{"arguments":[{"id":13628,"name":"unlockData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13622,"src":"1181:10:68","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"id":13625,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"1162:11:68","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":13627,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1174:6:68","memberName":"unlock","nodeType":"MemberAccess","referencedDeclaration":3767,"src":"1162:18:68","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) external returns (bytes memory)"}},"id":13629,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1162:30:68","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":13630,"nodeType":"ExpressionStatement","src":"1162:30:68"}]},"documentation":{"id":13620,"nodeType":"StructuredDocumentation","src":"922:164:68","text":"@notice internal function that triggers the execution of a set of actions on v4\n @dev inheriting contracts should call this function to trigger execution"},"id":13632,"implemented":true,"kind":"function","modifiers":[],"name":"_executeActions","nameLocation":"1100:15:68","nodeType":"FunctionDefinition","parameters":{"id":13623,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13622,"mutability":"mutable","name":"unlockData","nameLocation":"1131:10:68","nodeType":"VariableDeclaration","scope":13632,"src":"1116:25:68","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":13621,"name":"bytes","nodeType":"ElementaryTypeName","src":"1116:5:68","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1115:27:68"},"returnParameters":{"id":13624,"nodeType":"ParameterList","parameters":[],"src":"1152:0:68"},"scope":13773,"src":"1091:108:68","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[15267],"body":{"id":13657,"nodeType":"Block","src":"1524:222:68","statements":[{"assignments":[13642,13645],"declarations":[{"constant":false,"id":13642,"mutability":"mutable","name":"actions","nameLocation":"1597:7:68","nodeType":"VariableDeclaration","scope":13657,"src":"1582:22:68","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":13641,"name":"bytes","nodeType":"ElementaryTypeName","src":"1582:5:68","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":13645,"mutability":"mutable","name":"params","nameLocation":"1623:6:68","nodeType":"VariableDeclaration","scope":13657,"src":"1606:23:68","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":13643,"name":"bytes","nodeType":"ElementaryTypeName","src":"1606:5:68","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":13644,"nodeType":"ArrayTypeName","src":"1606:7:68","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":13649,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":13646,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13635,"src":"1633:4:68","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":13647,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1638:25:68","memberName":"decodeActionsRouterParams","nodeType":"MemberAccess","referencedDeclaration":16068,"src":"1633:30:68","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_bytes_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (bytes calldata,bytes calldata[] calldata)"}},"id":13648,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1633:32:68","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$","typeString":"tuple(bytes calldata,bytes calldata[] calldata)"}},"nodeType":"VariableDeclarationStatement","src":"1581:84:68"},{"expression":{"arguments":[{"id":13651,"name":"actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13642,"src":"1704:7:68","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":13652,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13645,"src":"1713:6:68","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}],"id":13650,"name":"_executeActionsWithoutUnlock","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13708,"src":"1675:28:68","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$returns$__$","typeString":"function (bytes calldata,bytes calldata[] calldata)"}},"id":13653,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1675:45:68","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13654,"nodeType":"ExpressionStatement","src":"1675:45:68"},{"expression":{"hexValue":"","id":13655,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1737:2:68","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""},"functionReturnParameters":13640,"id":13656,"nodeType":"Return","src":"1730:9:68"}]},"documentation":{"id":13633,"nodeType":"StructuredDocumentation","src":"1205:227:68","text":"@notice function that is called by the PoolManager through the SafeCallback.unlockCallback\n @param data Abi encoding of (bytes actions, bytes[] params)\n where params[i] is the encoded parameters for actions[i]"},"id":13658,"implemented":true,"kind":"function","modifiers":[],"name":"_unlockCallback","nameLocation":"1446:15:68","nodeType":"FunctionDefinition","overrides":{"id":13637,"nodeType":"OverrideSpecifier","overrides":[],"src":"1492:8:68"},"parameters":{"id":13636,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13635,"mutability":"mutable","name":"data","nameLocation":"1477:4:68","nodeType":"VariableDeclaration","scope":13658,"src":"1462:19:68","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":13634,"name":"bytes","nodeType":"ElementaryTypeName","src":"1462:5:68","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1461:21:68"},"returnParameters":{"id":13640,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13639,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":13658,"src":"1510:12:68","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":13638,"name":"bytes","nodeType":"ElementaryTypeName","src":"1510:5:68","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1509:14:68"},"scope":13773,"src":"1437:309:68","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":13707,"nodeType":"Block","src":"1848:330:68","statements":[{"assignments":[13667],"declarations":[{"constant":false,"id":13667,"mutability":"mutable","name":"numActions","nameLocation":"1866:10:68","nodeType":"VariableDeclaration","scope":13707,"src":"1858:18:68","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13666,"name":"uint256","nodeType":"ElementaryTypeName","src":"1858:7:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13670,"initialValue":{"expression":{"id":13668,"name":"actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13660,"src":"1879:7:68","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":13669,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1887:6:68","memberName":"length","nodeType":"MemberAccess","src":"1879:14:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1858:35:68"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13674,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13671,"name":"numActions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13667,"src":"1907:10:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"id":13672,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13663,"src":"1921:6:68","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}},"id":13673,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1928:6:68","memberName":"length","nodeType":"MemberAccess","src":"1921:13:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1907:27:68","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13678,"nodeType":"IfStatement","src":"1903:61:68","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":13675,"name":"InputLengthMismatch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13604,"src":"1943:19:68","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":13676,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1943:21:68","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13677,"nodeType":"RevertStatement","src":"1936:28:68"}},{"body":{"id":13705,"nodeType":"Block","src":"2046:126:68","statements":[{"assignments":[13690],"declarations":[{"constant":false,"id":13690,"mutability":"mutable","name":"action","nameLocation":"2068:6:68","nodeType":"VariableDeclaration","scope":13705,"src":"2060:14:68","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13689,"name":"uint256","nodeType":"ElementaryTypeName","src":"2060:7:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13697,"initialValue":{"arguments":[{"baseExpression":{"id":13693,"name":"actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13660,"src":"2083:7:68","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":13695,"indexExpression":{"id":13694,"name":"actionIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13680,"src":"2091:11:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2083:20:68","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":13692,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2077:5:68","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":13691,"name":"uint8","nodeType":"ElementaryTypeName","src":"2077:5:68","typeDescriptions":{}}},"id":13696,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2077:27:68","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"2060:44:68"},{"expression":{"arguments":[{"id":13699,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13690,"src":"2133:6:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"baseExpression":{"id":13700,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13663,"src":"2141:6:68","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}},"id":13702,"indexExpression":{"id":13701,"name":"actionIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13680,"src":"2148:11:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2141:19:68","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":13698,"name":"_handleAction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13716,"src":"2119:13:68","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_bytes_calldata_ptr_$returns$__$","typeString":"function (uint256,bytes calldata)"}},"id":13703,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2119:42:68","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13704,"nodeType":"ExpressionStatement","src":"2119:42:68"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13685,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13683,"name":"actionIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13680,"src":"2005:11:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":13684,"name":"numActions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13667,"src":"2019:10:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2005:24:68","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13706,"initializationExpression":{"assignments":[13680],"declarations":[{"constant":false,"id":13680,"mutability":"mutable","name":"actionIndex","nameLocation":"1988:11:68","nodeType":"VariableDeclaration","scope":13706,"src":"1980:19:68","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13679,"name":"uint256","nodeType":"ElementaryTypeName","src":"1980:7:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13682,"initialValue":{"hexValue":"30","id":13681,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2002:1:68","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"1980:23:68"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":13687,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"2031:13:68","subExpression":{"id":13686,"name":"actionIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13680,"src":"2031:11:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13688,"nodeType":"ExpressionStatement","src":"2031:13:68"},"nodeType":"ForStatement","src":"1975:197:68"}]},"id":13708,"implemented":true,"kind":"function","modifiers":[],"name":"_executeActionsWithoutUnlock","nameLocation":"1761:28:68","nodeType":"FunctionDefinition","parameters":{"id":13664,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13660,"mutability":"mutable","name":"actions","nameLocation":"1805:7:68","nodeType":"VariableDeclaration","scope":13708,"src":"1790:22:68","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":13659,"name":"bytes","nodeType":"ElementaryTypeName","src":"1790:5:68","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":13663,"mutability":"mutable","name":"params","nameLocation":"1831:6:68","nodeType":"VariableDeclaration","scope":13708,"src":"1814:23:68","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":13661,"name":"bytes","nodeType":"ElementaryTypeName","src":"1814:5:68","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":13662,"nodeType":"ArrayTypeName","src":"1814:7:68","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"src":"1789:49:68"},"returnParameters":{"id":13665,"nodeType":"ParameterList","parameters":[],"src":"1848:0:68"},"scope":13773,"src":"1752:426:68","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"documentation":{"id":13709,"nodeType":"StructuredDocumentation","src":"2184:88:68","text":"@notice function to handle the parsing and execution of an action and its parameters"},"id":13716,"implemented":false,"kind":"function","modifiers":[],"name":"_handleAction","nameLocation":"2286:13:68","nodeType":"FunctionDefinition","parameters":{"id":13714,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13711,"mutability":"mutable","name":"action","nameLocation":"2308:6:68","nodeType":"VariableDeclaration","scope":13716,"src":"2300:14:68","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13710,"name":"uint256","nodeType":"ElementaryTypeName","src":"2300:7:68","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":13713,"mutability":"mutable","name":"params","nameLocation":"2331:6:68","nodeType":"VariableDeclaration","scope":13716,"src":"2316:21:68","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":13712,"name":"bytes","nodeType":"ElementaryTypeName","src":"2316:5:68","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2299:39:68"},"returnParameters":{"id":13715,"nodeType":"ParameterList","parameters":[],"src":"2355:0:68"},"scope":13773,"src":"2277:79:68","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"documentation":{"id":13717,"nodeType":"StructuredDocumentation","src":"2362:480:68","text":"@notice function that returns address considered executor of the actions\n @dev The other context functions, _msgData and _msgValue, are not supported by this contract\n In many contracts this will be the address that calls the initial entry point that calls `_executeActions`\n `msg.sender` shouldn't be used, as this will be the v4 pool manager contract that calls `unlockCallback`\n If using ReentrancyLock.sol, this function can return _getLocker()"},"functionSelector":"d737d0c7","id":13722,"implemented":false,"kind":"function","modifiers":[],"name":"msgSender","nameLocation":"2856:9:68","nodeType":"FunctionDefinition","parameters":{"id":13718,"nodeType":"ParameterList","parameters":[],"src":"2865:2:68"},"returnParameters":{"id":13721,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13720,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":13722,"src":"2897:7:68","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13719,"name":"address","nodeType":"ElementaryTypeName","src":"2897:7:68","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2896:9:68"},"scope":13773,"src":"2847:59:68","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":13753,"nodeType":"Block","src":"3038:249:68","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13733,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13730,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13725,"src":"3052:9:68","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13731,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"3065:15:68","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":13732,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3081:10:68","memberName":"MSG_SENDER","nodeType":"MemberAccess","referencedDeclaration":15908,"src":"3065:26:68","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3052:39:68","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13741,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13738,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13725,"src":"3146:9:68","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13739,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"3159:15:68","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":13740,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3175:12:68","memberName":"ADDRESS_THIS","nodeType":"MemberAccess","referencedDeclaration":15915,"src":"3159:28:68","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3146:41:68","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":13750,"nodeType":"Block","src":"3240:41:68","statements":[{"expression":{"id":13748,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13725,"src":"3261:9:68","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":13729,"id":13749,"nodeType":"Return","src":"3254:16:68"}]},"id":13751,"nodeType":"IfStatement","src":"3142:139:68","trueBody":{"id":13747,"nodeType":"Block","src":"3189:45:68","statements":[{"expression":{"arguments":[{"id":13744,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3218:4:68","typeDescriptions":{"typeIdentifier":"t_contract$_BaseActionsRouter_$13773","typeString":"contract BaseActionsRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_BaseActionsRouter_$13773","typeString":"contract BaseActionsRouter"}],"id":13743,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3210:7:68","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13742,"name":"address","nodeType":"ElementaryTypeName","src":"3210:7:68","typeDescriptions":{}}},"id":13745,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3210:13:68","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":13729,"id":13746,"nodeType":"Return","src":"3203:20:68"}]}},"id":13752,"nodeType":"IfStatement","src":"3048:233:68","trueBody":{"id":13737,"nodeType":"Block","src":"3093:43:68","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":13734,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13722,"src":"3114:9:68","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":13735,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3114:11:68","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":13729,"id":13736,"nodeType":"Return","src":"3107:18:68"}]}}]},"documentation":{"id":13723,"nodeType":"StructuredDocumentation","src":"2912:47:68","text":"@notice Calculates the address for a action"},"id":13754,"implemented":true,"kind":"function","modifiers":[],"name":"_mapRecipient","nameLocation":"2973:13:68","nodeType":"FunctionDefinition","parameters":{"id":13726,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13725,"mutability":"mutable","name":"recipient","nameLocation":"2995:9:68","nodeType":"VariableDeclaration","scope":13754,"src":"2987:17:68","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13724,"name":"address","nodeType":"ElementaryTypeName","src":"2987:7:68","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2986:19:68"},"returnParameters":{"id":13729,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13728,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":13754,"src":"3029:7:68","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13727,"name":"address","nodeType":"ElementaryTypeName","src":"3029:7:68","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3028:9:68"},"scope":13773,"src":"2964:323:68","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":13771,"nodeType":"Block","src":"3413:65:68","statements":[{"expression":{"condition":{"id":13762,"name":"payerIsUser","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13757,"src":"3430:11:68","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":13767,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3466:4:68","typeDescriptions":{"typeIdentifier":"t_contract$_BaseActionsRouter_$13773","typeString":"contract BaseActionsRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_BaseActionsRouter_$13773","typeString":"contract BaseActionsRouter"}],"id":13766,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3458:7:68","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13765,"name":"address","nodeType":"ElementaryTypeName","src":"3458:7:68","typeDescriptions":{}}},"id":13768,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3458:13:68","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":13769,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"3430:41:68","trueExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":13763,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13722,"src":"3444:9:68","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":13764,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3444:11:68","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":13761,"id":13770,"nodeType":"Return","src":"3423:48:68"}]},"documentation":{"id":13755,"nodeType":"StructuredDocumentation","src":"3293:46:68","text":"@notice Calculates the payer for an action"},"id":13772,"implemented":true,"kind":"function","modifiers":[],"name":"_mapPayer","nameLocation":"3353:9:68","nodeType":"FunctionDefinition","parameters":{"id":13758,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13757,"mutability":"mutable","name":"payerIsUser","nameLocation":"3368:11:68","nodeType":"VariableDeclaration","scope":13772,"src":"3363:16:68","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":13756,"name":"bool","nodeType":"ElementaryTypeName","src":"3363:4:68","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3362:18:68"},"returnParameters":{"id":13761,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13760,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":13772,"src":"3404:7:68","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13759,"name":"address","nodeType":"ElementaryTypeName","src":"3404:7:68","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3403:9:68"},"scope":13773,"src":"3344:134:68","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":13774,"src":"507:2973:68","usedErrors":[13604,13609,14483],"usedEvents":[]}],"src":"32:3449:68"},"id":68},"@uniswap/v4-periphery/src/base/DeltaResolver.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/base/DeltaResolver.sol","exportedSymbols":{"ActionConstants":[15916],"Currency":[10717],"DeltaResolver":[14078],"IPoolManager":[3917],"ImmutableState":[14511],"TransientStateLibrary":[10467]},"id":14079,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":13775,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"32:24:69"},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"@uniswap/v4-core/src/types/Currency.sol","id":13777,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14079,"sourceUnit":11012,"src":"58:65:69","symbolAliases":[{"foreign":{"id":13776,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"66:8:69","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol","file":"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol","id":13779,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14079,"sourceUnit":10468,"src":"124:95:69","symbolAliases":[{"foreign":{"id":13778,"name":"TransientStateLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10467,"src":"132:21:69","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","id":13781,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14079,"sourceUnit":3918,"src":"220:78:69","symbolAliases":[{"foreign":{"id":13780,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"228:12:69","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/ImmutableState.sol","file":"./ImmutableState.sol","id":13783,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14079,"sourceUnit":14512,"src":"299:52:69","symbolAliases":[{"foreign":{"id":13782,"name":"ImmutableState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14511,"src":"307:14:69","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/ActionConstants.sol","file":"../libraries/ActionConstants.sol","id":13785,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14079,"sourceUnit":15917,"src":"352:65:69","symbolAliases":[{"foreign":{"id":13784,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"360:15:69","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":13787,"name":"ImmutableState","nameLocations":["617:14:69"],"nodeType":"IdentifierPath","referencedDeclaration":14511,"src":"617:14:69"},"id":13788,"nodeType":"InheritanceSpecifier","src":"617:14:69"}],"canonicalName":"DeltaResolver","contractDependencies":[],"contractKind":"contract","documentation":{"id":13786,"nodeType":"StructuredDocumentation","src":"419:163:69","text":"@notice Abstract contract used to sync, send, and settle funds to the pool manager\n @dev Note that sync() is called before any erc-20 transfer in `settle`."},"fullyImplemented":false,"id":14078,"linearizedBaseContracts":[14078,14511,15406],"name":"DeltaResolver","nameLocation":"600:13:69","nodeType":"ContractDefinition","nodes":[{"global":false,"id":13792,"libraryName":{"id":13789,"name":"TransientStateLibrary","nameLocations":["644:21:69"],"nodeType":"IdentifierPath","referencedDeclaration":10467,"src":"644:21:69"},"nodeType":"UsingForDirective","src":"638:45:69","typeName":{"id":13791,"nodeType":"UserDefinedTypeName","pathNode":{"id":13790,"name":"IPoolManager","nameLocations":["670:12:69"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"670:12:69"},"referencedDeclaration":3917,"src":"670:12:69","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}},{"documentation":{"id":13793,"nodeType":"StructuredDocumentation","src":"689:54:69","text":"@notice Emitted trying to settle a positive delta."},"errorSelector":"4c085bf1","id":13798,"name":"DeltaNotPositive","nameLocation":"754:16:69","nodeType":"ErrorDefinition","parameters":{"id":13797,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13796,"mutability":"mutable","name":"currency","nameLocation":"780:8:69","nodeType":"VariableDeclaration","scope":13798,"src":"771:17:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13795,"nodeType":"UserDefinedTypeName","pathNode":{"id":13794,"name":"Currency","nameLocations":["771:8:69"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"771:8:69"},"referencedDeclaration":10717,"src":"771:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"770:19:69"},"src":"748:42:69"},{"documentation":{"id":13799,"nodeType":"StructuredDocumentation","src":"795:52:69","text":"@notice Emitted trying to take a negative delta."},"errorSelector":"3351b260","id":13804,"name":"DeltaNotNegative","nameLocation":"858:16:69","nodeType":"ErrorDefinition","parameters":{"id":13803,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13802,"mutability":"mutable","name":"currency","nameLocation":"884:8:69","nodeType":"VariableDeclaration","scope":13804,"src":"875:17:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13801,"nodeType":"UserDefinedTypeName","pathNode":{"id":13800,"name":"Currency","nameLocations":["875:8:69"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"875:8:69"},"referencedDeclaration":10717,"src":"875:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"874:19:69"},"src":"852:42:69"},{"documentation":{"id":13805,"nodeType":"StructuredDocumentation","src":"899:85:69","text":"@notice Emitted when the contract does not have enough balance to wrap or unwrap."},"errorSelector":"f4d678b8","id":13807,"name":"InsufficientBalance","nameLocation":"995:19:69","nodeType":"ErrorDefinition","parameters":{"id":13806,"nodeType":"ParameterList","parameters":[],"src":"1014:2:69"},"src":"989:28:69"},{"body":{"id":13831,"nodeType":"Block","src":"1348:95:69","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13820,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13818,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13815,"src":"1362:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":13819,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1372:1:69","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1362:11:69","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13822,"nodeType":"IfStatement","src":"1358:24:69","trueBody":{"functionReturnParameters":13817,"id":13821,"nodeType":"Return","src":"1375:7:69"}},{"expression":{"arguments":[{"id":13826,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13811,"src":"1408:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":13827,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13813,"src":"1418:9:69","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13828,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13815,"src":"1429:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":13823,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"1391:11:69","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":13825,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1403:4:69","memberName":"take","nodeType":"MemberAccess","referencedDeclaration":3864,"src":"1391:16:69","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256) external"}},"id":13829,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1391:45:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13830,"nodeType":"ExpressionStatement","src":"1391:45:69"}]},"documentation":{"id":13808,"nodeType":"StructuredDocumentation","src":"1023:242:69","text":"@notice Take an amount of currency out of the PoolManager\n @param currency Currency to take\n @param recipient Address to receive the currency\n @param amount Amount to take\n @dev Returns early if the amount is 0"},"id":13832,"implemented":true,"kind":"function","modifiers":[],"name":"_take","nameLocation":"1279:5:69","nodeType":"FunctionDefinition","parameters":{"id":13816,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13811,"mutability":"mutable","name":"currency","nameLocation":"1294:8:69","nodeType":"VariableDeclaration","scope":13832,"src":"1285:17:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13810,"nodeType":"UserDefinedTypeName","pathNode":{"id":13809,"name":"Currency","nameLocations":["1285:8:69"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1285:8:69"},"referencedDeclaration":10717,"src":"1285:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":13813,"mutability":"mutable","name":"recipient","nameLocation":"1312:9:69","nodeType":"VariableDeclaration","scope":13832,"src":"1304:17:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13812,"name":"address","nodeType":"ElementaryTypeName","src":"1304:7:69","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":13815,"mutability":"mutable","name":"amount","nameLocation":"1331:6:69","nodeType":"VariableDeclaration","scope":13832,"src":"1323:14:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13814,"name":"uint256","nodeType":"ElementaryTypeName","src":"1323:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1284:54:69"},"returnParameters":{"id":13817,"nodeType":"ParameterList","parameters":[],"src":"1348:0:69"},"scope":14078,"src":"1270:173:69","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":13878,"nodeType":"Block","src":"1842:270:69","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13845,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13843,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13840,"src":"1856:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":13844,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1866:1:69","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1856:11:69","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13847,"nodeType":"IfStatement","src":"1852:24:69","trueBody":{"functionReturnParameters":13842,"id":13846,"nodeType":"Return","src":"1869:7:69"}},{"expression":{"arguments":[{"id":13851,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13836,"src":"1903:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":13848,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"1886:11:69","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":13850,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1898:4:69","memberName":"sync","nodeType":"MemberAccess","referencedDeclaration":3853,"src":"1886:16:69","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_userDefinedValueType$_Currency_$10717_$returns$__$","typeString":"function (Currency) external"}},"id":13852,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1886:26:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13853,"nodeType":"ExpressionStatement","src":"1886:26:69"},{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":13854,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13836,"src":"1926:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":13855,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1935:13:69","memberName":"isAddressZero","nodeType":"MemberAccess","referencedDeclaration":10973,"src":"1926:22:69","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_bool_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) pure returns (bool)"}},"id":13856,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1926:24:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":13876,"nodeType":"Block","src":"2018:88:69","statements":[{"expression":{"arguments":[{"id":13866,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13836,"src":"2037:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":13867,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13838,"src":"2047:5:69","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13868,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13840,"src":"2054:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13865,"name":"_pay","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13890,"src":"2032:4:69","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_Currency_$10717_$_t_address_$_t_uint256_$returns$__$","typeString":"function (Currency,address,uint256)"}},"id":13869,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2032:29:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13870,"nodeType":"ExpressionStatement","src":"2032:29:69"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":13871,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"2075:11:69","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":13873,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2087:6:69","memberName":"settle","nodeType":"MemberAccess","referencedDeclaration":3870,"src":"2075:18:69","typeDescriptions":{"typeIdentifier":"t_function_external_payable$__$returns$_t_uint256_$","typeString":"function () payable external returns (uint256)"}},"id":13874,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2075:20:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13875,"nodeType":"ExpressionStatement","src":"2075:20:69"}]},"id":13877,"nodeType":"IfStatement","src":"1922:184:69","trueBody":{"id":13864,"nodeType":"Block","src":"1952:60:69","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"argumentTypes":[],"expression":{"id":13857,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"1966:11:69","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":13859,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1978:6:69","memberName":"settle","nodeType":"MemberAccess","referencedDeclaration":3870,"src":"1966:18:69","typeDescriptions":{"typeIdentifier":"t_function_external_payable$__$returns$_t_uint256_$","typeString":"function () payable external returns (uint256)"}},"id":13861,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":13860,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13840,"src":"1992:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"1966:33:69","typeDescriptions":{"typeIdentifier":"t_function_external_payable$__$returns$_t_uint256_$value","typeString":"function () payable external returns (uint256)"}},"id":13862,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1966:35:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13863,"nodeType":"ExpressionStatement","src":"1966:35:69"}]}}]},"documentation":{"id":13833,"nodeType":"StructuredDocumentation","src":"1449:312:69","text":"@notice Pay and settle a currency to the PoolManager\n @dev The implementing contract must ensure that the `payer` is a secure address\n @param currency Currency to settle\n @param payer Address of the payer\n @param amount Amount to send\n @dev Returns early if the amount is 0"},"id":13879,"implemented":true,"kind":"function","modifiers":[],"name":"_settle","nameLocation":"1775:7:69","nodeType":"FunctionDefinition","parameters":{"id":13841,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13836,"mutability":"mutable","name":"currency","nameLocation":"1792:8:69","nodeType":"VariableDeclaration","scope":13879,"src":"1783:17:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13835,"nodeType":"UserDefinedTypeName","pathNode":{"id":13834,"name":"Currency","nameLocations":["1783:8:69"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1783:8:69"},"referencedDeclaration":10717,"src":"1783:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":13838,"mutability":"mutable","name":"payer","nameLocation":"1810:5:69","nodeType":"VariableDeclaration","scope":13879,"src":"1802:13:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13837,"name":"address","nodeType":"ElementaryTypeName","src":"1802:7:69","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":13840,"mutability":"mutable","name":"amount","nameLocation":"1825:6:69","nodeType":"VariableDeclaration","scope":13879,"src":"1817:14:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13839,"name":"uint256","nodeType":"ElementaryTypeName","src":"1817:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1782:50:69"},"returnParameters":{"id":13842,"nodeType":"ParameterList","parameters":[],"src":"1842:0:69"},"scope":14078,"src":"1766:346:69","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"documentation":{"id":13880,"nodeType":"StructuredDocumentation","src":"2118:349:69","text":"@notice Abstract function for contracts to implement paying tokens to the poolManager\n @dev The recipient of the payment should be the poolManager\n @param token The token to settle. This is known not to be the native currency\n @param payer The address who should pay tokens\n @param amount The number of tokens to send"},"id":13890,"implemented":false,"kind":"function","modifiers":[],"name":"_pay","nameLocation":"2481:4:69","nodeType":"FunctionDefinition","parameters":{"id":13888,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13883,"mutability":"mutable","name":"token","nameLocation":"2495:5:69","nodeType":"VariableDeclaration","scope":13890,"src":"2486:14:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13882,"nodeType":"UserDefinedTypeName","pathNode":{"id":13881,"name":"Currency","nameLocations":["2486:8:69"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"2486:8:69"},"referencedDeclaration":10717,"src":"2486:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":13885,"mutability":"mutable","name":"payer","nameLocation":"2510:5:69","nodeType":"VariableDeclaration","scope":13890,"src":"2502:13:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13884,"name":"address","nodeType":"ElementaryTypeName","src":"2502:7:69","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":13887,"mutability":"mutable","name":"amount","nameLocation":"2525:6:69","nodeType":"VariableDeclaration","scope":13890,"src":"2517:14:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13886,"name":"uint256","nodeType":"ElementaryTypeName","src":"2517:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2485:47:69"},"returnParameters":{"id":13889,"nodeType":"ParameterList","parameters":[],"src":"2549:0:69"},"scope":14078,"src":"2472:78:69","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":13926,"nodeType":"Block","src":"2837:321:69","statements":[{"assignments":[13900],"declarations":[{"constant":false,"id":13900,"mutability":"mutable","name":"_amount","nameLocation":"2854:7:69","nodeType":"VariableDeclaration","scope":13926,"src":"2847:14:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":13899,"name":"int256","nodeType":"ElementaryTypeName","src":"2847:6:69","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":13909,"initialValue":{"arguments":[{"arguments":[{"id":13905,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"2898:4:69","typeDescriptions":{"typeIdentifier":"t_contract$_DeltaResolver_$14078","typeString":"contract DeltaResolver"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_DeltaResolver_$14078","typeString":"contract DeltaResolver"}],"id":13904,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2890:7:69","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13903,"name":"address","nodeType":"ElementaryTypeName","src":"2890:7:69","typeDescriptions":{}}},"id":13906,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2890:13:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13907,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13894,"src":"2905:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":13901,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"2864:11:69","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":13902,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2876:13:69","memberName":"currencyDelta","nodeType":"MemberAccess","referencedDeclaration":10448,"src":"2864:25:69","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_contract$_IPoolManager_$3917_$_t_address_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_int256_$attached_to$_t_contract$_IPoolManager_$3917_$","typeString":"function (contract IPoolManager,address,Currency) view returns (int256)"}},"id":13908,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2864:50:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"VariableDeclarationStatement","src":"2847:67:69"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":13912,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13910,"name":"_amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13900,"src":"2998:7:69","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":13911,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3008:1:69","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2998:11:69","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13917,"nodeType":"IfStatement","src":"2994:50:69","trueBody":{"errorCall":{"arguments":[{"id":13914,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13894,"src":"3035:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":13913,"name":"DeltaNotNegative","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13804,"src":"3018:16:69","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_error_$","typeString":"function (Currency) pure returns (error)"}},"id":13915,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3018:26:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13916,"nodeType":"RevertStatement","src":"3011:33:69"}},{"expression":{"id":13924,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13918,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13897,"src":"3125:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":13922,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"3142:8:69","subExpression":{"id":13921,"name":"_amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13900,"src":"3143:7:69","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":13920,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3134:7:69","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":13919,"name":"uint256","nodeType":"ElementaryTypeName","src":"3134:7:69","typeDescriptions":{}}},"id":13923,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3134:17:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3125:26:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13925,"nodeType":"ExpressionStatement","src":"3125:26:69"}]},"documentation":{"id":13891,"nodeType":"StructuredDocumentation","src":"2556:196:69","text":"@notice Obtain the full amount owed by this contract (negative delta)\n @param currency Currency to get the delta for\n @return amount The amount owed by this contract as a uint256"},"id":13927,"implemented":true,"kind":"function","modifiers":[],"name":"_getFullDebt","nameLocation":"2766:12:69","nodeType":"FunctionDefinition","parameters":{"id":13895,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13894,"mutability":"mutable","name":"currency","nameLocation":"2788:8:69","nodeType":"VariableDeclaration","scope":13927,"src":"2779:17:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13893,"nodeType":"UserDefinedTypeName","pathNode":{"id":13892,"name":"Currency","nameLocations":["2779:8:69"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"2779:8:69"},"referencedDeclaration":10717,"src":"2779:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"2778:19:69"},"returnParameters":{"id":13898,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13897,"mutability":"mutable","name":"amount","nameLocation":"2829:6:69","nodeType":"VariableDeclaration","scope":13927,"src":"2821:14:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13896,"name":"uint256","nodeType":"ElementaryTypeName","src":"2821:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2820:16:69"},"scope":14078,"src":"2757:401:69","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":13962,"nodeType":"Block","src":"3447:249:69","statements":[{"assignments":[13937],"declarations":[{"constant":false,"id":13937,"mutability":"mutable","name":"_amount","nameLocation":"3464:7:69","nodeType":"VariableDeclaration","scope":13962,"src":"3457:14:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":13936,"name":"int256","nodeType":"ElementaryTypeName","src":"3457:6:69","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":13946,"initialValue":{"arguments":[{"arguments":[{"id":13942,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3508:4:69","typeDescriptions":{"typeIdentifier":"t_contract$_DeltaResolver_$14078","typeString":"contract DeltaResolver"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_DeltaResolver_$14078","typeString":"contract DeltaResolver"}],"id":13941,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3500:7:69","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13940,"name":"address","nodeType":"ElementaryTypeName","src":"3500:7:69","typeDescriptions":{}}},"id":13943,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3500:13:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13944,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13931,"src":"3515:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":13938,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"3474:11:69","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":13939,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3486:13:69","memberName":"currencyDelta","nodeType":"MemberAccess","referencedDeclaration":10448,"src":"3474:25:69","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_contract$_IPoolManager_$3917_$_t_address_$_t_userDefinedValueType$_Currency_$10717_$returns$_t_int256_$attached_to$_t_contract$_IPoolManager_$3917_$","typeString":"function (contract IPoolManager,address,Currency) view returns (int256)"}},"id":13945,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3474:50:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"VariableDeclarationStatement","src":"3457:67:69"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":13949,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13947,"name":"_amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13937,"src":"3608:7:69","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":13948,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3618:1:69","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3608:11:69","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13954,"nodeType":"IfStatement","src":"3604:50:69","trueBody":{"errorCall":{"arguments":[{"id":13951,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13931,"src":"3645:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":13950,"name":"DeltaNotPositive","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13798,"src":"3628:16:69","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_error_$","typeString":"function (Currency) pure returns (error)"}},"id":13952,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3628:26:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13953,"nodeType":"RevertStatement","src":"3621:33:69"}},{"expression":{"id":13960,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13955,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13934,"src":"3664:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":13958,"name":"_amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13937,"src":"3681:7:69","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":13957,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3673:7:69","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":13956,"name":"uint256","nodeType":"ElementaryTypeName","src":"3673:7:69","typeDescriptions":{}}},"id":13959,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3673:16:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3664:25:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13961,"nodeType":"ExpressionStatement","src":"3664:25:69"}]},"documentation":{"id":13928,"nodeType":"StructuredDocumentation","src":"3164:196:69","text":"@notice Obtain the full credit owed to this contract (positive delta)\n @param currency Currency to get the delta for\n @return amount The amount owed to this contract as a uint256"},"id":13963,"implemented":true,"kind":"function","modifiers":[],"name":"_getFullCredit","nameLocation":"3374:14:69","nodeType":"FunctionDefinition","parameters":{"id":13932,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13931,"mutability":"mutable","name":"currency","nameLocation":"3398:8:69","nodeType":"VariableDeclaration","scope":13963,"src":"3389:17:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13930,"nodeType":"UserDefinedTypeName","pathNode":{"id":13929,"name":"Currency","nameLocations":["3389:8:69"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"3389:8:69"},"referencedDeclaration":10717,"src":"3389:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"3388:19:69"},"returnParameters":{"id":13935,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13934,"mutability":"mutable","name":"amount","nameLocation":"3439:6:69","nodeType":"VariableDeclaration","scope":13963,"src":"3431:14:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13933,"name":"uint256","nodeType":"ElementaryTypeName","src":"3431:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3430:16:69"},"scope":14078,"src":"3365:331:69","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":13997,"nodeType":"Block","src":"3853:266:69","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13977,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13974,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13966,"src":"3867:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13975,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"3877:15:69","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":13976,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3893:16:69","memberName":"CONTRACT_BALANCE","nodeType":"MemberAccess","referencedDeclaration":15901,"src":"3877:32:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3867:42:69","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13986,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13983,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13966,"src":"3977:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13984,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"3987:15:69","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":13985,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4003:10:69","memberName":"OPEN_DELTA","nodeType":"MemberAccess","referencedDeclaration":15897,"src":"3987:26:69","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"3977:36:69","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":13994,"nodeType":"Block","src":"4075:38:69","statements":[{"expression":{"id":13992,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13966,"src":"4096:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":13973,"id":13993,"nodeType":"Return","src":"4089:13:69"}]},"id":13995,"nodeType":"IfStatement","src":"3973:140:69","trueBody":{"id":13991,"nodeType":"Block","src":"4015:54:69","statements":[{"expression":{"arguments":[{"id":13988,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13969,"src":"4049:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":13987,"name":"_getFullDebt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13927,"src":"4036:12:69","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":13989,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4036:22:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":13973,"id":13990,"nodeType":"Return","src":"4029:29:69"}]}},"id":13996,"nodeType":"IfStatement","src":"3863:250:69","trueBody":{"id":13982,"nodeType":"Block","src":"3911:56:69","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":13978,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13969,"src":"3932:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":13979,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3941:13:69","memberName":"balanceOfSelf","nodeType":"MemberAccess","referencedDeclaration":10924,"src":"3932:22:69","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency) view returns (uint256)"}},"id":13980,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3932:24:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":13973,"id":13981,"nodeType":"Return","src":"3925:31:69"}]}}]},"documentation":{"id":13964,"nodeType":"StructuredDocumentation","src":"3702:53:69","text":"@notice Calculates the amount for a settle action"},"id":13998,"implemented":true,"kind":"function","modifiers":[],"name":"_mapSettleAmount","nameLocation":"3769:16:69","nodeType":"FunctionDefinition","parameters":{"id":13970,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13966,"mutability":"mutable","name":"amount","nameLocation":"3794:6:69","nodeType":"VariableDeclaration","scope":13998,"src":"3786:14:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13965,"name":"uint256","nodeType":"ElementaryTypeName","src":"3786:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":13969,"mutability":"mutable","name":"currency","nameLocation":"3811:8:69","nodeType":"VariableDeclaration","scope":13998,"src":"3802:17:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":13968,"nodeType":"UserDefinedTypeName","pathNode":{"id":13967,"name":"Currency","nameLocations":["3802:8:69"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"3802:8:69"},"referencedDeclaration":10717,"src":"3802:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"3785:35:69"},"returnParameters":{"id":13973,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13972,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":13998,"src":"3844:7:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13971,"name":"uint256","nodeType":"ElementaryTypeName","src":"3844:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3843:9:69"},"scope":14078,"src":"3760:359:69","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":14022,"nodeType":"Block","src":"4272:158:69","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14012,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14009,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14001,"src":"4286:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":14010,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"4296:15:69","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":14011,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4312:10:69","memberName":"OPEN_DELTA","nodeType":"MemberAccess","referencedDeclaration":15897,"src":"4296:26:69","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"4286:36:69","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":14020,"nodeType":"Block","src":"4386:38:69","statements":[{"expression":{"id":14018,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14001,"src":"4407:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":14008,"id":14019,"nodeType":"Return","src":"4400:13:69"}]},"id":14021,"nodeType":"IfStatement","src":"4282:142:69","trueBody":{"id":14017,"nodeType":"Block","src":"4324:56:69","statements":[{"expression":{"arguments":[{"id":14014,"name":"currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14004,"src":"4360:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":14013,"name":"_getFullCredit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13963,"src":"4345:14:69","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":14015,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4345:24:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":14008,"id":14016,"nodeType":"Return","src":"4338:31:69"}]}}]},"documentation":{"id":13999,"nodeType":"StructuredDocumentation","src":"4125:51:69","text":"@notice Calculates the amount for a take action"},"id":14023,"implemented":true,"kind":"function","modifiers":[],"name":"_mapTakeAmount","nameLocation":"4190:14:69","nodeType":"FunctionDefinition","parameters":{"id":14005,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14001,"mutability":"mutable","name":"amount","nameLocation":"4213:6:69","nodeType":"VariableDeclaration","scope":14023,"src":"4205:14:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14000,"name":"uint256","nodeType":"ElementaryTypeName","src":"4205:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14004,"mutability":"mutable","name":"currency","nameLocation":"4230:8:69","nodeType":"VariableDeclaration","scope":14023,"src":"4221:17:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":14003,"nodeType":"UserDefinedTypeName","pathNode":{"id":14002,"name":"Currency","nameLocations":["4221:8:69"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"4221:8:69"},"referencedDeclaration":10717,"src":"4221:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"4204:35:69"},"returnParameters":{"id":14008,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14007,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14023,"src":"4263:7:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14006,"name":"uint256","nodeType":"ElementaryTypeName","src":"4263:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4262:9:69"},"scope":14078,"src":"4181:249:69","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":14076,"nodeType":"Block","src":"4996:802:69","statements":[{"assignments":[14038],"declarations":[{"constant":false,"id":14038,"mutability":"mutable","name":"balance","nameLocation":"5143:7:69","nodeType":"VariableDeclaration","scope":14076,"src":"5135:15:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14037,"name":"uint256","nodeType":"ElementaryTypeName","src":"5135:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":14046,"initialValue":{"arguments":[{"arguments":[{"id":14043,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"5185:4:69","typeDescriptions":{"typeIdentifier":"t_contract$_DeltaResolver_$14078","typeString":"contract DeltaResolver"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_DeltaResolver_$14078","typeString":"contract DeltaResolver"}],"id":14042,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5177:7:69","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14041,"name":"address","nodeType":"ElementaryTypeName","src":"5177:7:69","typeDescriptions":{}}},"id":14044,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5177:13:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":14039,"name":"inputCurrency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14027,"src":"5153:13:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"id":14040,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5167:9:69","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":10954,"src":"5153:23:69","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$_t_address_$returns$_t_uint256_$attached_to$_t_userDefinedValueType$_Currency_$10717_$","typeString":"function (Currency,address) view returns (uint256)"}},"id":14045,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5153:38:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5135:56:69"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14050,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14047,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"5205:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":14048,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"5215:15:69","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":14049,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5231:16:69","memberName":"CONTRACT_BALANCE","nodeType":"MemberAccess","referencedDeclaration":15901,"src":"5215:32:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5205:42:69","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14054,"nodeType":"IfStatement","src":"5201:150:69","trueBody":{"id":14053,"nodeType":"Block","src":"5249:102:69","statements":[{"expression":{"id":14051,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14038,"src":"5333:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":14036,"id":14052,"nodeType":"Return","src":"5326:14:69"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14058,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14055,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"5364:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":14056,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"5374:15:69","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":14057,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5390:10:69","memberName":"OPEN_DELTA","nodeType":"MemberAccess","referencedDeclaration":15897,"src":"5374:26:69","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"5364:36:69","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14066,"nodeType":"IfStatement","src":"5360:349:69","trueBody":{"id":14065,"nodeType":"Block","src":"5402:307:69","statements":[{"expression":{"id":14063,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14059,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"5661:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":14061,"name":"outputCurrency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14032,"src":"5683:14:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"id":14060,"name":"_getFullDebt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13927,"src":"5670:12:69","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_Currency_$10717_$returns$_t_uint256_$","typeString":"function (Currency) view returns (uint256)"}},"id":14062,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5670:28:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5661:37:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14064,"nodeType":"ExpressionStatement","src":"5661:37:69"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14069,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14067,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"5722:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":14068,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14038,"src":"5731:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5722:16:69","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14073,"nodeType":"IfStatement","src":"5718:50:69","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":14070,"name":"InsufficientBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13807,"src":"5747:19:69","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":14071,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5747:21:69","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":14072,"nodeType":"RevertStatement","src":"5740:28:69"}},{"expression":{"id":14074,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"5785:6:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":14036,"id":14075,"nodeType":"Return","src":"5778:13:69"}]},"documentation":{"id":14024,"nodeType":"StructuredDocumentation","src":"4436:400:69","text":"@notice Calculates the sanitized amount before wrapping/unwrapping.\n @param inputCurrency The currency, either native or wrapped native, that this contract holds\n @param amount The amount to wrap or unwrap. Can be CONTRACT_BALANCE, OPEN_DELTA or a specific amount\n @param outputCurrency The currency after the wrap/unwrap that the user may owe a balance in on the poolManager"},"id":14077,"implemented":true,"kind":"function","modifiers":[],"name":"_mapWrapUnwrapAmount","nameLocation":"4850:20:69","nodeType":"FunctionDefinition","parameters":{"id":14033,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14027,"mutability":"mutable","name":"inputCurrency","nameLocation":"4880:13:69","nodeType":"VariableDeclaration","scope":14077,"src":"4871:22:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":14026,"nodeType":"UserDefinedTypeName","pathNode":{"id":14025,"name":"Currency","nameLocations":["4871:8:69"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"4871:8:69"},"referencedDeclaration":10717,"src":"4871:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":14029,"mutability":"mutable","name":"amount","nameLocation":"4903:6:69","nodeType":"VariableDeclaration","scope":14077,"src":"4895:14:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14028,"name":"uint256","nodeType":"ElementaryTypeName","src":"4895:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14032,"mutability":"mutable","name":"outputCurrency","nameLocation":"4920:14:69","nodeType":"VariableDeclaration","scope":14077,"src":"4911:23:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":14031,"nodeType":"UserDefinedTypeName","pathNode":{"id":14030,"name":"Currency","nameLocations":["4911:8:69"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"4911:8:69"},"referencedDeclaration":10717,"src":"4911:8:69","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"4870:65:69"},"returnParameters":{"id":14036,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14035,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14077,"src":"4983:7:69","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14034,"name":"uint256","nodeType":"ElementaryTypeName","src":"4983:7:69","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4982:9:69"},"scope":14078,"src":"4841:957:69","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":14079,"src":"582:5218:69","usedErrors":[13798,13804,13807,14483],"usedEvents":[]}],"src":"32:5769:69"},"id":69},"@uniswap/v4-periphery/src/base/EIP712_v4.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/base/EIP712_v4.sol","exportedSymbols":{"EIP712_v4":[14174],"IEIP712_v4":[15353]},"id":14175,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":14080,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:70"},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol","file":"../interfaces/IEIP712_v4.sol","id":14082,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14175,"sourceUnit":15354,"src":"57:56:70","symbolAliases":[{"foreign":{"id":14081,"name":"IEIP712_v4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15353,"src":"65:10:70","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":14084,"name":"IEIP712_v4","nameLocations":["671:10:70"],"nodeType":"IdentifierPath","referencedDeclaration":15353,"src":"671:10:70"},"id":14085,"nodeType":"InheritanceSpecifier","src":"671:10:70"}],"canonicalName":"EIP712_v4","contractDependencies":[],"contractKind":"contract","documentation":{"id":14083,"nodeType":"StructuredDocumentation","src":"115:534:70","text":"@notice Generic EIP712 implementation\n @dev Maintains cross-chain replay protection in the event of a fork\n @dev Should not be delegatecall'd because DOMAIN_SEPARATOR returns the cached hash and does not recompute with the delegatecallers address\n @dev Reference: https://github.com/Uniswap/permit2/blob/3f17e8db813189a03950dc7fc8382524a095c053/src/EIP712.sol\n @dev Reference: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/7bd2b2aaf68c21277097166a9a51eb72ae239b34/contracts/utils/cryptography/EIP712.sol"},"fullyImplemented":true,"id":14174,"linearizedBaseContracts":[14174,15353],"name":"EIP712_v4","nameLocation":"658:9:70","nodeType":"ContractDefinition","nodes":[{"constant":false,"id":14087,"mutability":"immutable","name":"_CACHED_DOMAIN_SEPARATOR","nameLocation":"906:24:70","nodeType":"VariableDeclaration","scope":14174,"src":"880:50:70","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14086,"name":"bytes32","nodeType":"ElementaryTypeName","src":"880:7:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"private"},{"constant":false,"id":14089,"mutability":"immutable","name":"_CACHED_CHAIN_ID","nameLocation":"962:16:70","nodeType":"VariableDeclaration","scope":14174,"src":"936:42:70","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14088,"name":"uint256","nodeType":"ElementaryTypeName","src":"936:7:70","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"private"},{"constant":false,"id":14091,"mutability":"immutable","name":"_HASHED_NAME","nameLocation":"1010:12:70","nodeType":"VariableDeclaration","scope":14174,"src":"984:38:70","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14090,"name":"bytes32","nodeType":"ElementaryTypeName","src":"984:7:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"private"},{"constant":true,"id":14096,"mutability":"constant","name":"_TYPE_HASH","nameLocation":"1054:10:70","nodeType":"VariableDeclaration","scope":14174,"src":"1029:126:70","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14092,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1029:7:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429","id":14094,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1085:69:70","typeDescriptions":{"typeIdentifier":"t_stringliteral_8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866","typeString":"literal_string \"EIP712Domain(string name,uint256 chainId,address verifyingContract)\""},"value":"EIP712Domain(string name,uint256 chainId,address verifyingContract)"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866","typeString":"literal_string \"EIP712Domain(string name,uint256 chainId,address verifyingContract)\""}],"id":14093,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"1075:9:70","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":14095,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1075:80:70","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"private"},{"body":{"id":14120,"nodeType":"Block","src":"1194:157:70","statements":[{"expression":{"id":14108,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14101,"name":"_HASHED_NAME","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14091,"src":"1204:12:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":14105,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14098,"src":"1235:4:70","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":14104,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1229:5:70","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":14103,"name":"bytes","nodeType":"ElementaryTypeName","src":"1229:5:70","typeDescriptions":{}}},"id":14106,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1229:11:70","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":14102,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"1219:9:70","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":14107,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1219:22:70","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1204:37:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":14109,"nodeType":"ExpressionStatement","src":"1204:37:70"},{"expression":{"id":14113,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14110,"name":"_CACHED_CHAIN_ID","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14089,"src":"1252:16:70","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":14111,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"1271:5:70","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":14112,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1277:7:70","memberName":"chainid","nodeType":"MemberAccess","src":"1271:13:70","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1252:32:70","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14114,"nodeType":"ExpressionStatement","src":"1252:32:70"},{"expression":{"id":14118,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14115,"name":"_CACHED_DOMAIN_SEPARATOR","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14087,"src":"1294:24:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"id":14116,"name":"_buildDomainSeparator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14158,"src":"1321:21:70","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bytes32_$","typeString":"function () view returns (bytes32)"}},"id":14117,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1321:23:70","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1294:50:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":14119,"nodeType":"ExpressionStatement","src":"1294:50:70"}]},"id":14121,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":14099,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14098,"mutability":"mutable","name":"name","nameLocation":"1188:4:70","nodeType":"VariableDeclaration","scope":14121,"src":"1174:18:70","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":14097,"name":"string","nodeType":"ElementaryTypeName","src":"1174:6:70","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1173:20:70"},"returnParameters":{"id":14100,"nodeType":"ParameterList","parameters":[],"src":"1194:0:70"},"scope":14174,"src":"1162:189:70","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[15352],"body":{"id":14136,"nodeType":"Block","src":"1446:183:70","statements":[{"expression":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14130,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":14127,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"1536:5:70","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":14128,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1542:7:70","memberName":"chainid","nodeType":"MemberAccess","src":"1536:13:70","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":14129,"name":"_CACHED_CHAIN_ID","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14089,"src":"1553:16:70","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1536:33:70","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":14132,"name":"_buildDomainSeparator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14158,"src":"1599:21:70","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bytes32_$","typeString":"function () view returns (bytes32)"}},"id":14133,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1599:23:70","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":14134,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"1536:86:70","trueExpression":{"id":14131,"name":"_CACHED_DOMAIN_SEPARATOR","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14087,"src":"1572:24:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":14126,"id":14135,"nodeType":"Return","src":"1529:93:70"}]},"documentation":{"id":14122,"nodeType":"StructuredDocumentation","src":"1357:26:70","text":"@inheritdoc IEIP712_v4"},"functionSelector":"3644e515","id":14137,"implemented":true,"kind":"function","modifiers":[],"name":"DOMAIN_SEPARATOR","nameLocation":"1397:16:70","nodeType":"FunctionDefinition","parameters":{"id":14123,"nodeType":"ParameterList","parameters":[],"src":"1413:2:70"},"returnParameters":{"id":14126,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14125,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14137,"src":"1437:7:70","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14124,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1437:7:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1436:9:70"},"scope":14174,"src":"1388:241:70","stateMutability":"view","virtual":false,"visibility":"public"},{"body":{"id":14157,"nodeType":"Block","src":"1789:101:70","statements":[{"expression":{"arguments":[{"arguments":[{"id":14146,"name":"_TYPE_HASH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14096,"src":"1827:10:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14147,"name":"_HASHED_NAME","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14091,"src":"1839:12:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":14148,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"1853:5:70","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":14149,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1859:7:70","memberName":"chainid","nodeType":"MemberAccess","src":"1853:13:70","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"id":14152,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"1876:4:70","typeDescriptions":{"typeIdentifier":"t_contract$_EIP712_v4_$14174","typeString":"contract EIP712_v4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_EIP712_v4_$14174","typeString":"contract EIP712_v4"}],"id":14151,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1868:7:70","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14150,"name":"address","nodeType":"ElementaryTypeName","src":"1868:7:70","typeDescriptions":{}}},"id":14153,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1868:13:70","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":14144,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1816:3:70","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":14145,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1820:6:70","memberName":"encode","nodeType":"MemberAccess","src":"1816:10:70","typeDescriptions":{"typeIdentifier":"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":14154,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1816:66:70","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":14143,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"1806:9:70","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":14155,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1806:77:70","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":14142,"id":14156,"nodeType":"Return","src":"1799:84:70"}]},"documentation":{"id":14138,"nodeType":"StructuredDocumentation","src":"1635:85:70","text":"@notice Builds a domain separator using the current chainId and contract address."},"id":14158,"implemented":true,"kind":"function","modifiers":[],"name":"_buildDomainSeparator","nameLocation":"1734:21:70","nodeType":"FunctionDefinition","parameters":{"id":14139,"nodeType":"ParameterList","parameters":[],"src":"1755:2:70"},"returnParameters":{"id":14142,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14141,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14158,"src":"1780:7:70","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14140,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1780:7:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1779:9:70"},"scope":14174,"src":"1725:165:70","stateMutability":"view","virtual":false,"visibility":"private"},{"body":{"id":14172,"nodeType":"Block","src":"2028:664:70","statements":[{"assignments":[14167],"declarations":[{"constant":false,"id":14167,"mutability":"mutable","name":"domainSeparator","nameLocation":"2137:15:70","nodeType":"VariableDeclaration","scope":14172,"src":"2129:23:70","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14166,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2129:7:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":14170,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":14168,"name":"DOMAIN_SEPARATOR","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14137,"src":"2155:16:70","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bytes32_$","typeString":"function () view returns (bytes32)"}},"id":14169,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2155:18:70","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"2129:44:70"},{"AST":{"nativeSrc":"2208:478:70","nodeType":"YulBlock","src":"2208:478:70","statements":[{"nativeSrc":"2222:22:70","nodeType":"YulVariableDeclaration","src":"2222:22:70","value":{"arguments":[{"kind":"number","nativeSrc":"2239:4:70","nodeType":"YulLiteral","src":"2239:4:70","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"2233:5:70","nodeType":"YulIdentifier","src":"2233:5:70"},"nativeSrc":"2233:11:70","nodeType":"YulFunctionCall","src":"2233:11:70"},"variables":[{"name":"fmp","nativeSrc":"2226:3:70","nodeType":"YulTypedName","src":"2226:3:70","type":""}]},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"2264:3:70","nodeType":"YulIdentifier","src":"2264:3:70"},{"hexValue":"1901","kind":"string","nativeSrc":"2269:9:70","nodeType":"YulLiteral","src":"2269:9:70","type":"","value":"\u0019\u0001"}],"functionName":{"name":"mstore","nativeSrc":"2257:6:70","nodeType":"YulIdentifier","src":"2257:6:70"},"nativeSrc":"2257:22:70","nodeType":"YulFunctionCall","src":"2257:22:70"},"nativeSrc":"2257:22:70","nodeType":"YulExpressionStatement","src":"2257:22:70"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2303:3:70","nodeType":"YulIdentifier","src":"2303:3:70"},{"kind":"number","nativeSrc":"2308:4:70","nodeType":"YulLiteral","src":"2308:4:70","type":"","value":"0x02"}],"functionName":{"name":"add","nativeSrc":"2299:3:70","nodeType":"YulIdentifier","src":"2299:3:70"},"nativeSrc":"2299:14:70","nodeType":"YulFunctionCall","src":"2299:14:70"},{"name":"domainSeparator","nativeSrc":"2315:15:70","nodeType":"YulIdentifier","src":"2315:15:70"}],"functionName":{"name":"mstore","nativeSrc":"2292:6:70","nodeType":"YulIdentifier","src":"2292:6:70"},"nativeSrc":"2292:39:70","nodeType":"YulFunctionCall","src":"2292:39:70"},"nativeSrc":"2292:39:70","nodeType":"YulExpressionStatement","src":"2292:39:70"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2355:3:70","nodeType":"YulIdentifier","src":"2355:3:70"},{"kind":"number","nativeSrc":"2360:4:70","nodeType":"YulLiteral","src":"2360:4:70","type":"","value":"0x22"}],"functionName":{"name":"add","nativeSrc":"2351:3:70","nodeType":"YulIdentifier","src":"2351:3:70"},"nativeSrc":"2351:14:70","nodeType":"YulFunctionCall","src":"2351:14:70"},{"name":"dataHash","nativeSrc":"2367:8:70","nodeType":"YulIdentifier","src":"2367:8:70"}],"functionName":{"name":"mstore","nativeSrc":"2344:6:70","nodeType":"YulIdentifier","src":"2344:6:70"},"nativeSrc":"2344:32:70","nodeType":"YulFunctionCall","src":"2344:32:70"},"nativeSrc":"2344:32:70","nodeType":"YulExpressionStatement","src":"2344:32:70"},{"nativeSrc":"2389:30:70","nodeType":"YulAssignment","src":"2389:30:70","value":{"arguments":[{"name":"fmp","nativeSrc":"2409:3:70","nodeType":"YulIdentifier","src":"2409:3:70"},{"kind":"number","nativeSrc":"2414:4:70","nodeType":"YulLiteral","src":"2414:4:70","type":"","value":"0x42"}],"functionName":{"name":"keccak256","nativeSrc":"2399:9:70","nodeType":"YulIdentifier","src":"2399:9:70"},"nativeSrc":"2399:20:70","nodeType":"YulFunctionCall","src":"2399:20:70"},"variableNames":[{"name":"digest","nativeSrc":"2389:6:70","nodeType":"YulIdentifier","src":"2389:6:70"}]},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"2484:3:70","nodeType":"YulIdentifier","src":"2484:3:70"},{"kind":"number","nativeSrc":"2489:1:70","nodeType":"YulLiteral","src":"2489:1:70","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"2477:6:70","nodeType":"YulIdentifier","src":"2477:6:70"},"nativeSrc":"2477:14:70","nodeType":"YulFunctionCall","src":"2477:14:70"},"nativeSrc":"2477:14:70","nodeType":"YulExpressionStatement","src":"2477:14:70"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2555:3:70","nodeType":"YulIdentifier","src":"2555:3:70"},{"kind":"number","nativeSrc":"2560:4:70","nodeType":"YulLiteral","src":"2560:4:70","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2551:3:70","nodeType":"YulIdentifier","src":"2551:3:70"},"nativeSrc":"2551:14:70","nodeType":"YulFunctionCall","src":"2551:14:70"},{"kind":"number","nativeSrc":"2567:1:70","nodeType":"YulLiteral","src":"2567:1:70","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"2544:6:70","nodeType":"YulIdentifier","src":"2544:6:70"},"nativeSrc":"2544:25:70","nodeType":"YulFunctionCall","src":"2544:25:70"},"nativeSrc":"2544:25:70","nodeType":"YulExpressionStatement","src":"2544:25:70"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2636:3:70","nodeType":"YulIdentifier","src":"2636:3:70"},{"kind":"number","nativeSrc":"2641:4:70","nodeType":"YulLiteral","src":"2641:4:70","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"2632:3:70","nodeType":"YulIdentifier","src":"2632:3:70"},"nativeSrc":"2632:14:70","nodeType":"YulFunctionCall","src":"2632:14:70"},{"kind":"number","nativeSrc":"2648:1:70","nodeType":"YulLiteral","src":"2648:1:70","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"2625:6:70","nodeType":"YulIdentifier","src":"2625:6:70"},"nativeSrc":"2625:25:70","nodeType":"YulFunctionCall","src":"2625:25:70"},"nativeSrc":"2625:25:70","nodeType":"YulExpressionStatement","src":"2625:25:70"}]},"evmVersion":"cancun","externalReferences":[{"declaration":14161,"isOffset":false,"isSlot":false,"src":"2367:8:70","valueSize":1},{"declaration":14164,"isOffset":false,"isSlot":false,"src":"2389:6:70","valueSize":1},{"declaration":14167,"isOffset":false,"isSlot":false,"src":"2315:15:70","valueSize":1}],"flags":["memory-safe"],"id":14171,"nodeType":"InlineAssembly","src":"2183:503:70"}]},"documentation":{"id":14159,"nodeType":"StructuredDocumentation","src":"1896:46:70","text":"@notice Creates an EIP-712 typed data hash"},"id":14173,"implemented":true,"kind":"function","modifiers":[],"name":"_hashTypedData","nameLocation":"1956:14:70","nodeType":"FunctionDefinition","parameters":{"id":14162,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14161,"mutability":"mutable","name":"dataHash","nameLocation":"1979:8:70","nodeType":"VariableDeclaration","scope":14173,"src":"1971:16:70","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14160,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1971:7:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1970:18:70"},"returnParameters":{"id":14165,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14164,"mutability":"mutable","name":"digest","nameLocation":"2020:6:70","nodeType":"VariableDeclaration","scope":14173,"src":"2012:14:70","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14163,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2012:7:70","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2011:16:70"},"scope":14174,"src":"1947:745:70","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":14175,"src":"649:2045:70","usedErrors":[],"usedEvents":[]}],"src":"32:2663:70"},"id":70},"@uniswap/v4-periphery/src/base/ERC721Permit_v4.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/base/ERC721Permit_v4.sol","exportedSymbols":{"EIP712_v4":[14174],"ERC721":[22368],"ERC721PermitHash":[16411],"ERC721Permit_v4":[14467],"IERC721Permit_v4":[15393],"SignatureVerification":[21376],"UnorderedNonce":[15343]},"id":14468,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":14176,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:71"},{"absolutePath":"solmate/src/tokens/ERC721.sol","file":"solmate/src/tokens/ERC721.sol","id":14178,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14468,"sourceUnit":22389,"src":"57:53:71","symbolAliases":[{"foreign":{"id":14177,"name":"ERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22368,"src":"65:6:71","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/EIP712_v4.sol","file":"./EIP712_v4.sol","id":14180,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14468,"sourceUnit":14175,"src":"111:42:71","symbolAliases":[{"foreign":{"id":14179,"name":"EIP712_v4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14174,"src":"119:9:71","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/ERC721PermitHash.sol","file":"../libraries/ERC721PermitHash.sol","id":14182,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14468,"sourceUnit":16412,"src":"154:67:71","symbolAliases":[{"foreign":{"id":14181,"name":"ERC721PermitHash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16411,"src":"162:16:71","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"permit2/src/libraries/SignatureVerification.sol","file":"permit2/src/libraries/SignatureVerification.sol","id":14184,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14468,"sourceUnit":21377,"src":"222:86:71","symbolAliases":[{"foreign":{"id":14183,"name":"SignatureVerification","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21376,"src":"230:21:71","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol","file":"../interfaces/IERC721Permit_v4.sol","id":14186,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14468,"sourceUnit":15394,"src":"310:68:71","symbolAliases":[{"foreign":{"id":14185,"name":"IERC721Permit_v4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15393,"src":"318:16:71","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/UnorderedNonce.sol","file":"./UnorderedNonce.sol","id":14188,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14468,"sourceUnit":15344,"src":"379:52:71","symbolAliases":[{"foreign":{"id":14187,"name":"UnorderedNonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15343,"src":"387:14:71","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":14190,"name":"ERC721","nameLocations":["582:6:71"],"nodeType":"IdentifierPath","referencedDeclaration":22368,"src":"582:6:71"},"id":14191,"nodeType":"InheritanceSpecifier","src":"582:6:71"},{"baseName":{"id":14192,"name":"IERC721Permit_v4","nameLocations":["590:16:71"],"nodeType":"IdentifierPath","referencedDeclaration":15393,"src":"590:16:71"},"id":14193,"nodeType":"InheritanceSpecifier","src":"590:16:71"},{"baseName":{"id":14194,"name":"EIP712_v4","nameLocations":["608:9:71"],"nodeType":"IdentifierPath","referencedDeclaration":14174,"src":"608:9:71"},"id":14195,"nodeType":"InheritanceSpecifier","src":"608:9:71"},{"baseName":{"id":14196,"name":"UnorderedNonce","nameLocations":["619:14:71"],"nodeType":"IdentifierPath","referencedDeclaration":15343,"src":"619:14:71"},"id":14197,"nodeType":"InheritanceSpecifier","src":"619:14:71"}],"canonicalName":"ERC721Permit_v4","contractDependencies":[],"contractKind":"contract","documentation":{"id":14189,"nodeType":"StructuredDocumentation","src":"433:112:71","text":"@title ERC721 with permit\n @notice Nonfungible tokens that support an approve via signature, i.e. permit"},"fullyImplemented":false,"id":14467,"linearizedBaseContracts":[14467,15343,15792,14174,15353,15393,22368],"name":"ERC721Permit_v4","nameLocation":"563:15:71","nodeType":"ContractDefinition","nodes":[{"global":false,"id":14200,"libraryName":{"id":14198,"name":"SignatureVerification","nameLocations":["646:21:71"],"nodeType":"IdentifierPath","referencedDeclaration":21376,"src":"646:21:71"},"nodeType":"UsingForDirective","src":"640:38:71","typeName":{"id":14199,"name":"bytes","nodeType":"ElementaryTypeName","src":"672:5:71","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"body":{"id":14215,"nodeType":"Block","src":"834:2:71","statements":[]},"documentation":{"id":14201,"nodeType":"StructuredDocumentation","src":"684:49:71","text":"@notice Computes the nameHash and versionHash"},"id":14216,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":14208,"name":"name_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14203,"src":"801:5:71","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":14209,"name":"symbol_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14205,"src":"808:7:71","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"id":14210,"kind":"baseConstructorSpecifier","modifierName":{"id":14207,"name":"ERC721","nameLocations":["794:6:71"],"nodeType":"IdentifierPath","referencedDeclaration":22368,"src":"794:6:71"},"nodeType":"ModifierInvocation","src":"794:22:71"},{"arguments":[{"id":14212,"name":"name_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14203,"src":"827:5:71","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"id":14213,"kind":"baseConstructorSpecifier","modifierName":{"id":14211,"name":"EIP712_v4","nameLocations":["817:9:71"],"nodeType":"IdentifierPath","referencedDeclaration":14174,"src":"817:9:71"},"nodeType":"ModifierInvocation","src":"817:16:71"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":14206,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14203,"mutability":"mutable","name":"name_","nameLocation":"764:5:71","nodeType":"VariableDeclaration","scope":14216,"src":"750:19:71","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":14202,"name":"string","nodeType":"ElementaryTypeName","src":"750:6:71","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":14205,"mutability":"mutable","name":"symbol_","nameLocation":"785:7:71","nodeType":"VariableDeclaration","scope":14216,"src":"771:21:71","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":14204,"name":"string","nodeType":"ElementaryTypeName","src":"771:6:71","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"749:44:71"},"returnParameters":{"id":14214,"nodeType":"ParameterList","parameters":[],"src":"834:0:71"},"scope":14467,"src":"738:98:71","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":14230,"nodeType":"Block","src":"973:93:71","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14224,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":14221,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"987:5:71","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":14222,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"993:9:71","memberName":"timestamp","nodeType":"MemberAccess","src":"987:15:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":14223,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14219,"src":"1005:8:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"987:26:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14228,"nodeType":"IfStatement","src":"983:65:71","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":14225,"name":"SignatureDeadlineExpired","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15358,"src":"1022:24:71","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":14226,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1022:26:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":14227,"nodeType":"RevertStatement","src":"1015:33:71"}},{"id":14229,"nodeType":"PlaceholderStatement","src":"1058:1:71"}]},"documentation":{"id":14217,"nodeType":"StructuredDocumentation","src":"842:76:71","text":"@notice Checks if the block's timestamp is before a signature's deadline"},"id":14231,"name":"checkSignatureDeadline","nameLocation":"932:22:71","nodeType":"ModifierDefinition","parameters":{"id":14220,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14219,"mutability":"mutable","name":"deadline","nameLocation":"963:8:71","nodeType":"VariableDeclaration","scope":14231,"src":"955:16:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14218,"name":"uint256","nodeType":"ElementaryTypeName","src":"955:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"954:18:71"},"src":"923:143:71","virtual":false,"visibility":"internal"},{"baseFunctions":[15376],"body":{"id":14284,"nodeType":"Block","src":"1296:341:71","statements":[{"assignments":[14249],"declarations":[{"constant":false,"id":14249,"mutability":"mutable","name":"owner","nameLocation":"1372:5:71","nodeType":"VariableDeclaration","scope":14284,"src":"1364:13:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14248,"name":"address","nodeType":"ElementaryTypeName","src":"1364:7:71","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":14253,"initialValue":{"baseExpression":{"id":14250,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21866,"src":"1380:8:71","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":14252,"indexExpression":{"id":14251,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14236,"src":"1389:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1380:17:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"1364:33:71"},{"assignments":[14255],"declarations":[{"constant":false,"id":14255,"mutability":"mutable","name":"digest","nameLocation":"1416:6:71","nodeType":"VariableDeclaration","scope":14284,"src":"1408:14:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14254,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1408:7:71","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":14263,"initialValue":{"arguments":[{"id":14258,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14234,"src":"1453:7:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14259,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14236,"src":"1462:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":14260,"name":"nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14240,"src":"1471:5:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":14261,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14238,"src":"1478:8:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":14256,"name":"ERC721PermitHash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16411,"src":"1425:16:71","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721PermitHash_$16411_$","typeString":"type(library ERC721PermitHash)"}},"id":14257,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1442:10:71","memberName":"hashPermit","nodeType":"MemberAccess","referencedDeclaration":16394,"src":"1425:27:71","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (address,uint256,uint256,uint256) pure returns (bytes32)"}},"id":14262,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1425:62:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"1408:79:71"},{"expression":{"arguments":[{"arguments":[{"id":14268,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14255,"src":"1529:6:71","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":14267,"name":"_hashTypedData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14173,"src":"1514:14:71","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view returns (bytes32)"}},"id":14269,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1514:22:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14270,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14249,"src":"1538:5:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":14264,"name":"signature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14242,"src":"1497:9:71","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":14266,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1507:6:71","memberName":"verify","nodeType":"MemberAccess","referencedDeclaration":21375,"src":"1497:16:71","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes_calldata_ptr_$_t_bytes32_$_t_address_$returns$__$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,bytes32,address) view"}},"id":14271,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1497:47:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14272,"nodeType":"ExpressionStatement","src":"1497:47:71"},{"expression":{"arguments":[{"id":14274,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14249,"src":"1574:5:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14275,"name":"nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14240,"src":"1581:5:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14273,"name":"_useUnorderedNonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15329,"src":"1555:18:71","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":14276,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1555:32:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14277,"nodeType":"ExpressionStatement","src":"1555:32:71"},{"expression":{"arguments":[{"id":14279,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14249,"src":"1606:5:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14280,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14234,"src":"1613:7:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14281,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14236,"src":"1622:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14278,"name":"_approve","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14436,"src":"1597:8:71","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":14282,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1597:33:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14283,"nodeType":"ExpressionStatement","src":"1597:33:71"}]},"documentation":{"id":14232,"nodeType":"StructuredDocumentation","src":"1072:32:71","text":"@inheritdoc IERC721Permit_v4"},"functionSelector":"0f5730f1","id":14285,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":14245,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14238,"src":"1282:8:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":14246,"kind":"modifierInvocation","modifierName":{"id":14244,"name":"checkSignatureDeadline","nameLocations":["1259:22:71"],"nodeType":"IdentifierPath","referencedDeclaration":14231,"src":"1259:22:71"},"nodeType":"ModifierInvocation","src":"1259:32:71"}],"name":"permit","nameLocation":"1118:6:71","nodeType":"FunctionDefinition","parameters":{"id":14243,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14234,"mutability":"mutable","name":"spender","nameLocation":"1133:7:71","nodeType":"VariableDeclaration","scope":14285,"src":"1125:15:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14233,"name":"address","nodeType":"ElementaryTypeName","src":"1125:7:71","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14236,"mutability":"mutable","name":"tokenId","nameLocation":"1150:7:71","nodeType":"VariableDeclaration","scope":14285,"src":"1142:15:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14235,"name":"uint256","nodeType":"ElementaryTypeName","src":"1142:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14238,"mutability":"mutable","name":"deadline","nameLocation":"1167:8:71","nodeType":"VariableDeclaration","scope":14285,"src":"1159:16:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14237,"name":"uint256","nodeType":"ElementaryTypeName","src":"1159:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14240,"mutability":"mutable","name":"nonce","nameLocation":"1185:5:71","nodeType":"VariableDeclaration","scope":14285,"src":"1177:13:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14239,"name":"uint256","nodeType":"ElementaryTypeName","src":"1177:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14242,"mutability":"mutable","name":"signature","nameLocation":"1207:9:71","nodeType":"VariableDeclaration","scope":14285,"src":"1192:24:71","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":14241,"name":"bytes","nodeType":"ElementaryTypeName","src":"1192:5:71","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1124:93:71"},"returnParameters":{"id":14247,"nodeType":"ParameterList","parameters":[],"src":"1296:0:71"},"scope":14467,"src":"1109:528:71","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[15392],"body":{"id":14334,"nodeType":"Block","src":"1913:255:71","statements":[{"assignments":[14305],"declarations":[{"constant":false,"id":14305,"mutability":"mutable","name":"digest","nameLocation":"1931:6:71","nodeType":"VariableDeclaration","scope":14334,"src":"1923:14:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14304,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1923:7:71","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":14313,"initialValue":{"arguments":[{"id":14308,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14290,"src":"1974:8:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14309,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14292,"src":"1984:8:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":14310,"name":"nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14296,"src":"1994:5:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":14311,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14294,"src":"2001:8:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":14306,"name":"ERC721PermitHash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16411,"src":"1940:16:71","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721PermitHash_$16411_$","typeString":"type(library ERC721PermitHash)"}},"id":14307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1957:16:71","memberName":"hashPermitForAll","nodeType":"MemberAccess","referencedDeclaration":16410,"src":"1940:33:71","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (address,bool,uint256,uint256) pure returns (bytes32)"}},"id":14312,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1940:70:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"1923:87:71"},{"expression":{"arguments":[{"arguments":[{"id":14318,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14305,"src":"2052:6:71","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":14317,"name":"_hashTypedData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14173,"src":"2037:14:71","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view returns (bytes32)"}},"id":14319,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2037:22:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14320,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14288,"src":"2061:5:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":14314,"name":"signature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14298,"src":"2020:9:71","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":14316,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2030:6:71","memberName":"verify","nodeType":"MemberAccess","referencedDeclaration":21375,"src":"2020:16:71","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes_calldata_ptr_$_t_bytes32_$_t_address_$returns$__$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,bytes32,address) view"}},"id":14321,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2020:47:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14322,"nodeType":"ExpressionStatement","src":"2020:47:71"},{"expression":{"arguments":[{"id":14324,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14288,"src":"2097:5:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14325,"name":"nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14296,"src":"2104:5:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14323,"name":"_useUnorderedNonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15329,"src":"2078:18:71","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":14326,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2078:32:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14327,"nodeType":"ExpressionStatement","src":"2078:32:71"},{"expression":{"arguments":[{"id":14329,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14288,"src":"2135:5:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14330,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14290,"src":"2142:8:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14331,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14292,"src":"2152:8:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":14328,"name":"_approveForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14376,"src":"2120:14:71","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$","typeString":"function (address,address,bool)"}},"id":14332,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2120:41:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14333,"nodeType":"ExpressionStatement","src":"2120:41:71"}]},"documentation":{"id":14286,"nodeType":"StructuredDocumentation","src":"1643:32:71","text":"@inheritdoc IERC721Permit_v4"},"functionSelector":"3aea60f0","id":14335,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":14301,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14294,"src":"1903:8:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":14302,"kind":"modifierInvocation","modifierName":{"id":14300,"name":"checkSignatureDeadline","nameLocations":["1880:22:71"],"nodeType":"IdentifierPath","referencedDeclaration":14231,"src":"1880:22:71"},"nodeType":"ModifierInvocation","src":"1880:32:71"}],"name":"permitForAll","nameLocation":"1689:12:71","nodeType":"FunctionDefinition","parameters":{"id":14299,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14288,"mutability":"mutable","name":"owner","nameLocation":"1719:5:71","nodeType":"VariableDeclaration","scope":14335,"src":"1711:13:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14287,"name":"address","nodeType":"ElementaryTypeName","src":"1711:7:71","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14290,"mutability":"mutable","name":"operator","nameLocation":"1742:8:71","nodeType":"VariableDeclaration","scope":14335,"src":"1734:16:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14289,"name":"address","nodeType":"ElementaryTypeName","src":"1734:7:71","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14292,"mutability":"mutable","name":"approved","nameLocation":"1765:8:71","nodeType":"VariableDeclaration","scope":14335,"src":"1760:13:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14291,"name":"bool","nodeType":"ElementaryTypeName","src":"1760:4:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":14294,"mutability":"mutable","name":"deadline","nameLocation":"1791:8:71","nodeType":"VariableDeclaration","scope":14335,"src":"1783:16:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14293,"name":"uint256","nodeType":"ElementaryTypeName","src":"1783:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14296,"mutability":"mutable","name":"nonce","nameLocation":"1817:5:71","nodeType":"VariableDeclaration","scope":14335,"src":"1809:13:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14295,"name":"uint256","nodeType":"ElementaryTypeName","src":"1809:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14298,"mutability":"mutable","name":"signature","nameLocation":"1847:9:71","nodeType":"VariableDeclaration","scope":14335,"src":"1832:24:71","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":14297,"name":"bytes","nodeType":"ElementaryTypeName","src":"1832:5:71","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1701:161:71"},"returnParameters":{"id":14303,"nodeType":"ParameterList","parameters":[],"src":"1913:0:71"},"scope":14467,"src":"1680:488:71","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[22006],"body":{"id":14351,"nodeType":"Block","src":"2760:63:71","statements":[{"expression":{"arguments":[{"expression":{"id":14345,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2785:3:71","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14346,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2789:6:71","memberName":"sender","nodeType":"MemberAccess","src":"2785:10:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14347,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14338,"src":"2797:8:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14348,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14340,"src":"2807:8:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":14344,"name":"_approveForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14376,"src":"2770:14:71","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$","typeString":"function (address,address,bool)"}},"id":14349,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2770:46:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14350,"nodeType":"ExpressionStatement","src":"2770:46:71"}]},"documentation":{"id":14336,"nodeType":"StructuredDocumentation","src":"2174:505:71","text":"@notice Enable or disable approval for a third party (\"operator\") to manage\n all of `msg.sender`'s assets\n @dev Emits the ApprovalForAll event. The contract MUST allow\n multiple operators per owner.\n @dev Override Solmate's ERC721 setApprovalForAll so setApprovalForAll() and permit() share the _approveForAll method\n @param operator Address to add to the set of authorized operators\n @param approved True if the operator is approved, false to revoke approval"},"functionSelector":"a22cb465","id":14352,"implemented":true,"kind":"function","modifiers":[],"name":"setApprovalForAll","nameLocation":"2693:17:71","nodeType":"FunctionDefinition","overrides":{"id":14342,"nodeType":"OverrideSpecifier","overrides":[],"src":"2751:8:71"},"parameters":{"id":14341,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14338,"mutability":"mutable","name":"operator","nameLocation":"2719:8:71","nodeType":"VariableDeclaration","scope":14352,"src":"2711:16:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14337,"name":"address","nodeType":"ElementaryTypeName","src":"2711:7:71","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14340,"mutability":"mutable","name":"approved","nameLocation":"2734:8:71","nodeType":"VariableDeclaration","scope":14352,"src":"2729:13:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14339,"name":"bool","nodeType":"ElementaryTypeName","src":"2729:4:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2710:33:71"},"returnParameters":{"id":14343,"nodeType":"ParameterList","parameters":[],"src":"2760:0:71"},"scope":14467,"src":"2684:139:71","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":14375,"nodeType":"Block","src":"2910:117:71","statements":[{"expression":{"id":14367,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":14361,"name":"isApprovedForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21925,"src":"2920:16:71","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":14364,"indexExpression":{"id":14362,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14354,"src":"2937:5:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2920:23:71","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":14365,"indexExpression":{"id":14363,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14356,"src":"2944:8:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2920:33:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14366,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14358,"src":"2956:8:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2920:44:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14368,"nodeType":"ExpressionStatement","src":"2920:44:71"},{"eventCall":{"arguments":[{"id":14370,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14354,"src":"2994:5:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14371,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14356,"src":"3001:8:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14372,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14358,"src":"3011:8:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":14369,"name":"ApprovalForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21851,"src":"2979:14:71","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$","typeString":"function (address,address,bool)"}},"id":14373,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2979:41:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14374,"nodeType":"EmitStatement","src":"2974:46:71"}]},"id":14376,"implemented":true,"kind":"function","modifiers":[],"name":"_approveForAll","nameLocation":"2838:14:71","nodeType":"FunctionDefinition","parameters":{"id":14359,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14354,"mutability":"mutable","name":"owner","nameLocation":"2861:5:71","nodeType":"VariableDeclaration","scope":14376,"src":"2853:13:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14353,"name":"address","nodeType":"ElementaryTypeName","src":"2853:7:71","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14356,"mutability":"mutable","name":"operator","nameLocation":"2876:8:71","nodeType":"VariableDeclaration","scope":14376,"src":"2868:16:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14355,"name":"address","nodeType":"ElementaryTypeName","src":"2868:7:71","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14358,"mutability":"mutable","name":"approved","nameLocation":"2891:8:71","nodeType":"VariableDeclaration","scope":14376,"src":"2886:13:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14357,"name":"bool","nodeType":"ElementaryTypeName","src":"2886:4:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2852:48:71"},"returnParameters":{"id":14360,"nodeType":"ParameterList","parameters":[],"src":"2910:0:71"},"scope":14467,"src":"2829:198:71","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[21982],"body":{"id":14413,"nodeType":"Block","src":"3581:181:71","statements":[{"assignments":[14386],"declarations":[{"constant":false,"id":14386,"mutability":"mutable","name":"owner","nameLocation":"3599:5:71","nodeType":"VariableDeclaration","scope":14413,"src":"3591:13:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14385,"name":"address","nodeType":"ElementaryTypeName","src":"3591:7:71","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":14390,"initialValue":{"baseExpression":{"id":14387,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21866,"src":"3607:8:71","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":14389,"indexExpression":{"id":14388,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14381,"src":"3616:2:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3607:12:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"3591:28:71"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":14402,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":14394,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":14391,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3634:3:71","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14392,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3638:6:71","memberName":"sender","nodeType":"MemberAccess","src":"3634:10:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":14393,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14386,"src":"3648:5:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3634:19:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"id":14401,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"3657:36:71","subExpression":{"baseExpression":{"baseExpression":{"id":14395,"name":"isApprovedForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21925,"src":"3658:16:71","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":14397,"indexExpression":{"id":14396,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14386,"src":"3675:5:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3658:23:71","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":14400,"indexExpression":{"expression":{"id":14398,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3682:3:71","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14399,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3686:6:71","memberName":"sender","nodeType":"MemberAccess","src":"3682:10:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3658:35:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3634:59:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14406,"nodeType":"IfStatement","src":"3630:86:71","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":14403,"name":"Unauthorized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15362,"src":"3702:12:71","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":14404,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3702:14:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":14405,"nodeType":"RevertStatement","src":"3695:21:71"}},{"expression":{"arguments":[{"id":14408,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14386,"src":"3736:5:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14409,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14379,"src":"3743:7:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14410,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14381,"src":"3752:2:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14407,"name":"_approve","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14436,"src":"3727:8:71","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":14411,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3727:28:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14412,"nodeType":"ExpressionStatement","src":"3727:28:71"}]},"documentation":{"id":14377,"nodeType":"StructuredDocumentation","src":"3033:481:71","text":"@notice Change or reaffirm the approved address for an NFT\n @dev override Solmate's ERC721 approve so approve() and permit() share the _approve method\n Passing a spender address of zero can be used to remove any outstanding approvals\n Throws error unless `msg.sender` is the current NFT owner,\n or an authorized operator of the current owner.\n @param spender The new approved NFT controller\n @param id The tokenId of the NFT to approve"},"functionSelector":"095ea7b3","id":14414,"implemented":true,"kind":"function","modifiers":[],"name":"approve","nameLocation":"3528:7:71","nodeType":"FunctionDefinition","overrides":{"id":14383,"nodeType":"OverrideSpecifier","overrides":[],"src":"3572:8:71"},"parameters":{"id":14382,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14379,"mutability":"mutable","name":"spender","nameLocation":"3544:7:71","nodeType":"VariableDeclaration","scope":14414,"src":"3536:15:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14378,"name":"address","nodeType":"ElementaryTypeName","src":"3536:7:71","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14381,"mutability":"mutable","name":"id","nameLocation":"3561:2:71","nodeType":"VariableDeclaration","scope":14414,"src":"3553:10:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14380,"name":"uint256","nodeType":"ElementaryTypeName","src":"3553:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3535:29:71"},"returnParameters":{"id":14384,"nodeType":"ParameterList","parameters":[],"src":"3581:0:71"},"scope":14467,"src":"3519:243:71","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":14435,"nodeType":"Block","src":"3839:85:71","statements":[{"expression":{"id":14427,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":14423,"name":"getApproved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21919,"src":"3849:11:71","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":14425,"indexExpression":{"id":14424,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14420,"src":"3861:2:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3849:15:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14426,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14418,"src":"3867:7:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3849:25:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14428,"nodeType":"ExpressionStatement","src":"3849:25:71"},{"eventCall":{"arguments":[{"id":14430,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14416,"src":"3898:5:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14431,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14418,"src":"3905:7:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14432,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14420,"src":"3914:2:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14429,"name":"Approval","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21843,"src":"3889:8:71","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":14433,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3889:28:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14434,"nodeType":"EmitStatement","src":"3884:33:71"}]},"id":14436,"implemented":true,"kind":"function","modifiers":[],"name":"_approve","nameLocation":"3777:8:71","nodeType":"FunctionDefinition","parameters":{"id":14421,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14416,"mutability":"mutable","name":"owner","nameLocation":"3794:5:71","nodeType":"VariableDeclaration","scope":14436,"src":"3786:13:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14415,"name":"address","nodeType":"ElementaryTypeName","src":"3786:7:71","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14418,"mutability":"mutable","name":"spender","nameLocation":"3809:7:71","nodeType":"VariableDeclaration","scope":14436,"src":"3801:15:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14417,"name":"address","nodeType":"ElementaryTypeName","src":"3801:7:71","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14420,"mutability":"mutable","name":"id","nameLocation":"3826:2:71","nodeType":"VariableDeclaration","scope":14436,"src":"3818:10:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14419,"name":"uint256","nodeType":"ElementaryTypeName","src":"3818:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3785:44:71"},"returnParameters":{"id":14422,"nodeType":"ParameterList","parameters":[],"src":"3839:0:71"},"scope":14467,"src":"3768:156:71","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":14465,"nodeType":"Block","src":"4021:145:71","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":14463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":14455,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":14449,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14445,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14438,"src":"4038:7:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"id":14447,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14440,"src":"4057:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14446,"name":"ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21893,"src":"4049:7:71","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":14448,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4049:16:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4038:27:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":14454,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":14450,"name":"getApproved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21919,"src":"4069:11:71","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":14452,"indexExpression":{"id":14451,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14440,"src":"4081:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4069:20:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":14453,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14438,"src":"4093:7:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4069:31:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4038:62:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"baseExpression":{"baseExpression":{"id":14456,"name":"isApprovedForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21925,"src":"4116:16:71","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":14460,"indexExpression":{"arguments":[{"id":14458,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14440,"src":"4141:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14457,"name":"ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21893,"src":"4133:7:71","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":14459,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4133:16:71","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4116:34:71","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":14462,"indexExpression":{"id":14461,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14438,"src":"4151:7:71","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4116:43:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4038:121:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":14444,"id":14464,"nodeType":"Return","src":"4031:128:71"}]},"id":14466,"implemented":true,"kind":"function","modifiers":[],"name":"_isApprovedOrOwner","nameLocation":"3939:18:71","nodeType":"FunctionDefinition","parameters":{"id":14441,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14438,"mutability":"mutable","name":"spender","nameLocation":"3966:7:71","nodeType":"VariableDeclaration","scope":14466,"src":"3958:15:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14437,"name":"address","nodeType":"ElementaryTypeName","src":"3958:7:71","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14440,"mutability":"mutable","name":"tokenId","nameLocation":"3983:7:71","nodeType":"VariableDeclaration","scope":14466,"src":"3975:15:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14439,"name":"uint256","nodeType":"ElementaryTypeName","src":"3975:7:71","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3957:34:71"},"returnParameters":{"id":14444,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14443,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14466,"src":"4015:4:71","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14442,"name":"bool","nodeType":"ElementaryTypeName","src":"4015:4:71","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4014:6:71"},"scope":14467,"src":"3930:236:71","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":14468,"src":"545:3623:71","usedErrors":[15358,15360,15362,15775,21214,21217,21220,21223],"usedEvents":[21835,21843,21851]}],"src":"32:4137:71"},"id":71},"@uniswap/v4-periphery/src/base/ImmutableState.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/base/ImmutableState.sol","exportedSymbols":{"IImmutableState":[15406],"IPoolManager":[3917],"ImmutableState":[14511]},"id":14512,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":14469,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:72"},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","id":14471,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14512,"sourceUnit":3918,"src":"57:78:72","symbolAliases":[{"foreign":{"id":14470,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"65:12:72","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol","file":"../interfaces/IImmutableState.sol","id":14473,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14512,"sourceUnit":15407,"src":"136:66:72","symbolAliases":[{"foreign":{"id":14472,"name":"IImmutableState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15406,"src":"144:15:72","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":14475,"name":"IImmutableState","nameLocations":["353:15:72"],"nodeType":"IdentifierPath","referencedDeclaration":15406,"src":"353:15:72"},"id":14476,"nodeType":"InheritanceSpecifier","src":"353:15:72"}],"canonicalName":"ImmutableState","contractDependencies":[],"contractKind":"contract","documentation":{"id":14474,"nodeType":"StructuredDocumentation","src":"204:122:72","text":"@title Immutable State\n @notice A collection of immutable state variables, commonly used across multiple contracts"},"fullyImplemented":true,"id":14511,"linearizedBaseContracts":[14511,15406],"name":"ImmutableState","nameLocation":"335:14:72","nodeType":"ContractDefinition","nodes":[{"baseFunctions":[15405],"constant":false,"documentation":{"id":14477,"nodeType":"StructuredDocumentation","src":"375:31:72","text":"@inheritdoc IImmutableState"},"functionSelector":"dc4c90d3","id":14480,"mutability":"immutable","name":"poolManager","nameLocation":"441:11:72","nodeType":"VariableDeclaration","scope":14511,"src":"411:41:72","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":14479,"nodeType":"UserDefinedTypeName","pathNode":{"id":14478,"name":"IPoolManager","nameLocations":["411:12:72"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"411:12:72"},"referencedDeclaration":3917,"src":"411:12:72","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"public"},{"documentation":{"id":14481,"nodeType":"StructuredDocumentation","src":"459:53:72","text":"@notice Thrown when the caller is not PoolManager"},"errorSelector":"ae18210a","id":14483,"name":"NotPoolManager","nameLocation":"523:14:72","nodeType":"ErrorDefinition","parameters":{"id":14482,"nodeType":"ParameterList","parameters":[],"src":"537:2:72"},"src":"517:23:72"},{"body":{"id":14498,"nodeType":"Block","src":"636:91:72","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":14492,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":14486,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"650:3:72","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14487,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"654:6:72","memberName":"sender","nodeType":"MemberAccess","src":"650:10:72","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":14490,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"672:11:72","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}],"id":14489,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"664:7:72","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14488,"name":"address","nodeType":"ElementaryTypeName","src":"664:7:72","typeDescriptions":{}}},"id":14491,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"664:20:72","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"650:34:72","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14496,"nodeType":"IfStatement","src":"646:63:72","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":14493,"name":"NotPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14483,"src":"693:14:72","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":14494,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"693:16:72","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":14495,"nodeType":"RevertStatement","src":"686:23:72"}},{"id":14497,"nodeType":"PlaceholderStatement","src":"719:1:72"}]},"documentation":{"id":14484,"nodeType":"StructuredDocumentation","src":"546:58:72","text":"@notice Only allow calls from the PoolManager contract"},"id":14499,"name":"onlyPoolManager","nameLocation":"618:15:72","nodeType":"ModifierDefinition","parameters":{"id":14485,"nodeType":"ParameterList","parameters":[],"src":"633:2:72"},"src":"609:118:72","virtual":false,"visibility":"internal"},{"body":{"id":14509,"nodeType":"Block","src":"772:43:72","statements":[{"expression":{"id":14507,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14505,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"782:11:72","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14506,"name":"_poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14502,"src":"796:12:72","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"src":"782:26:72","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":14508,"nodeType":"ExpressionStatement","src":"782:26:72"}]},"id":14510,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":14503,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14502,"mutability":"mutable","name":"_poolManager","nameLocation":"758:12:72","nodeType":"VariableDeclaration","scope":14510,"src":"745:25:72","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":14501,"nodeType":"UserDefinedTypeName","pathNode":{"id":14500,"name":"IPoolManager","nameLocations":["745:12:72"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"745:12:72"},"referencedDeclaration":3917,"src":"745:12:72","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"}],"src":"744:27:72"},"returnParameters":{"id":14504,"nodeType":"ParameterList","parameters":[],"src":"772:0:72"},"scope":14511,"src":"733:82:72","stateMutability":"nonpayable","virtual":false,"visibility":"public"}],"scope":14512,"src":"326:491:72","usedErrors":[14483],"usedEvents":[]}],"src":"32:786:72"},"id":72},"@uniswap/v4-periphery/src/base/Multicall_v4.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/base/Multicall_v4.sol","exportedSymbols":{"IMulticall_v4":[15420],"Multicall_v4":[14577]},"id":14578,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":14513,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:73"},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol","file":"../interfaces/IMulticall_v4.sol","id":14515,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14578,"sourceUnit":15421,"src":"57:62:73","symbolAliases":[{"foreign":{"id":14514,"name":"IMulticall_v4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15420,"src":"65:13:73","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":14517,"name":"IMulticall_v4","nameLocations":["257:13:73"],"nodeType":"IdentifierPath","referencedDeclaration":15420,"src":"257:13:73"},"id":14518,"nodeType":"InheritanceSpecifier","src":"257:13:73"}],"canonicalName":"Multicall_v4","contractDependencies":[],"contractKind":"contract","documentation":{"id":14516,"nodeType":"StructuredDocumentation","src":"121:102:73","text":"@title Multicall_v4\n @notice Enables calling multiple methods in a single call to the contract"},"fullyImplemented":true,"id":14577,"linearizedBaseContracts":[14577,15420],"name":"Multicall_v4","nameLocation":"241:12:73","nodeType":"ContractDefinition","nodes":[{"baseFunctions":[15419],"body":{"id":14575,"nodeType":"Block","src":"403:430:73","statements":[{"expression":{"id":14535,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14528,"name":"results","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14526,"src":"413:7:73","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":14532,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14522,"src":"435:4:73","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}},"id":14533,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"440:6:73","memberName":"length","nodeType":"MemberAccess","src":"435:11:73","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14531,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"423:11:73","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory[] memory)"},"typeName":{"baseType":{"id":14529,"name":"bytes","nodeType":"ElementaryTypeName","src":"427:5:73","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":14530,"nodeType":"ArrayTypeName","src":"427:7:73","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":14534,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"423:24:73","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"src":"413:34:73","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":14536,"nodeType":"ExpressionStatement","src":"413:34:73"},{"body":{"id":14573,"nodeType":"Block","src":"499:328:73","statements":[{"assignments":[14549,14551],"declarations":[{"constant":false,"id":14549,"mutability":"mutable","name":"success","nameLocation":"519:7:73","nodeType":"VariableDeclaration","scope":14573,"src":"514:12:73","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14548,"name":"bool","nodeType":"ElementaryTypeName","src":"514:4:73","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":14551,"mutability":"mutable","name":"result","nameLocation":"541:6:73","nodeType":"VariableDeclaration","scope":14573,"src":"528:19:73","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":14550,"name":"bytes","nodeType":"ElementaryTypeName","src":"528:5:73","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":14561,"initialValue":{"arguments":[{"baseExpression":{"id":14557,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14522,"src":"578:4:73","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}},"id":14559,"indexExpression":{"id":14558,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14538,"src":"583:1:73","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"578:7:73","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"arguments":[{"id":14554,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"559:4:73","typeDescriptions":{"typeIdentifier":"t_contract$_Multicall_v4_$14577","typeString":"contract Multicall_v4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Multicall_v4_$14577","typeString":"contract Multicall_v4"}],"id":14553,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"551:7:73","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14552,"name":"address","nodeType":"ElementaryTypeName","src":"551:7:73","typeDescriptions":{}}},"id":14555,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"551:13:73","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14556,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"565:12:73","memberName":"delegatecall","nodeType":"MemberAccess","src":"551:26:73","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":14560,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"551:35:73","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"513:73:73"},{"condition":{"id":14563,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"605:8:73","subExpression":{"id":14562,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14549,"src":"606:7:73","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14566,"nodeType":"IfStatement","src":"601:182:73","trueBody":{"id":14565,"nodeType":"Block","src":"615:168:73","statements":[{"AST":{"nativeSrc":"689:80:73","nodeType":"YulBlock","src":"689:80:73","statements":[{"expression":{"arguments":[{"arguments":[{"name":"result","nativeSrc":"722:6:73","nodeType":"YulIdentifier","src":"722:6:73"},{"kind":"number","nativeSrc":"730:4:73","nodeType":"YulLiteral","src":"730:4:73","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"718:3:73","nodeType":"YulIdentifier","src":"718:3:73"},"nativeSrc":"718:17:73","nodeType":"YulFunctionCall","src":"718:17:73"},{"arguments":[{"name":"result","nativeSrc":"743:6:73","nodeType":"YulIdentifier","src":"743:6:73"}],"functionName":{"name":"mload","nativeSrc":"737:5:73","nodeType":"YulIdentifier","src":"737:5:73"},"nativeSrc":"737:13:73","nodeType":"YulFunctionCall","src":"737:13:73"}],"functionName":{"name":"revert","nativeSrc":"711:6:73","nodeType":"YulIdentifier","src":"711:6:73"},"nativeSrc":"711:40:73","nodeType":"YulFunctionCall","src":"711:40:73"},"nativeSrc":"711:40:73","nodeType":"YulExpressionStatement","src":"711:40:73"}]},"evmVersion":"cancun","externalReferences":[{"declaration":14551,"isOffset":false,"isSlot":false,"src":"722:6:73","valueSize":1},{"declaration":14551,"isOffset":false,"isSlot":false,"src":"743:6:73","valueSize":1}],"id":14564,"nodeType":"InlineAssembly","src":"680:89:73"}]}},{"expression":{"id":14571,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":14567,"name":"results","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14526,"src":"797:7:73","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":14569,"indexExpression":{"id":14568,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14538,"src":"805:1:73","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"797:10:73","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14570,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14551,"src":"810:6:73","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"797:19:73","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":14572,"nodeType":"ExpressionStatement","src":"797:19:73"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14544,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14541,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14538,"src":"477:1:73","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":14542,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14522,"src":"481:4:73","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}},"id":14543,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"486:6:73","memberName":"length","nodeType":"MemberAccess","src":"481:11:73","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"477:15:73","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14574,"initializationExpression":{"assignments":[14538],"declarations":[{"constant":false,"id":14538,"mutability":"mutable","name":"i","nameLocation":"470:1:73","nodeType":"VariableDeclaration","scope":14574,"src":"462:9:73","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14537,"name":"uint256","nodeType":"ElementaryTypeName","src":"462:7:73","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":14540,"initialValue":{"hexValue":"30","id":14539,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"474:1:73","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"462:13:73"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":14546,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"494:3:73","subExpression":{"id":14545,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14538,"src":"494:1:73","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14547,"nodeType":"ExpressionStatement","src":"494:3:73"},"nodeType":"ForStatement","src":"457:370:73"}]},"documentation":{"id":14519,"nodeType":"StructuredDocumentation","src":"277:29:73","text":"@inheritdoc IMulticall_v4"},"functionSelector":"ac9650d8","id":14576,"implemented":true,"kind":"function","modifiers":[],"name":"multicall","nameLocation":"320:9:73","nodeType":"FunctionDefinition","parameters":{"id":14523,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14522,"mutability":"mutable","name":"data","nameLocation":"347:4:73","nodeType":"VariableDeclaration","scope":14576,"src":"330:21:73","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":14520,"name":"bytes","nodeType":"ElementaryTypeName","src":"330:5:73","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":14521,"nodeType":"ArrayTypeName","src":"330:7:73","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"src":"329:23:73"},"returnParameters":{"id":14527,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14526,"mutability":"mutable","name":"results","nameLocation":"394:7:73","nodeType":"VariableDeclaration","scope":14576,"src":"379:22:73","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":14524,"name":"bytes","nodeType":"ElementaryTypeName","src":"379:5:73","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":14525,"nodeType":"ArrayTypeName","src":"379:7:73","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"src":"378:24:73"},"scope":14577,"src":"311:522:73","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":14578,"src":"223:612:73","usedErrors":[],"usedEvents":[]}],"src":"32:804:73"},"id":73},"@uniswap/v4-periphery/src/base/NativeWrapper.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/base/NativeWrapper.sol","exportedSymbols":{"ActionConstants":[15916],"IWETH9":[15890],"ImmutableState":[14511],"NativeWrapper":[14665]},"id":14666,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":14579,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:74"},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol","file":"../interfaces/external/IWETH9.sol","id":14581,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14666,"sourceUnit":15891,"src":"57:57:74","symbolAliases":[{"foreign":{"id":14580,"name":"IWETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15890,"src":"65:6:74","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/ActionConstants.sol","file":"../libraries/ActionConstants.sol","id":14583,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14666,"sourceUnit":15917,"src":"115:65:74","symbolAliases":[{"foreign":{"id":14582,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"123:15:74","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/ImmutableState.sol","file":"./ImmutableState.sol","id":14585,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14666,"sourceUnit":14512,"src":"181:52:74","symbolAliases":[{"foreign":{"id":14584,"name":"ImmutableState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14511,"src":"189:14:74","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":14587,"name":"ImmutableState","nameLocations":["348:14:74"],"nodeType":"IdentifierPath","referencedDeclaration":14511,"src":"348:14:74"},"id":14588,"nodeType":"InheritanceSpecifier","src":"348:14:74"}],"canonicalName":"NativeWrapper","contractDependencies":[],"contractKind":"contract","documentation":{"id":14586,"nodeType":"StructuredDocumentation","src":"235:78:74","text":"@title Native Wrapper\n @notice Used for wrapping and unwrapping native"},"fullyImplemented":true,"id":14665,"linearizedBaseContracts":[14665,14511,15406],"name":"NativeWrapper","nameLocation":"331:13:74","nodeType":"ContractDefinition","nodes":[{"constant":false,"documentation":{"id":14589,"nodeType":"StructuredDocumentation","src":"369:33:74","text":"@notice The address for WETH9"},"functionSelector":"4aa4a4fc","id":14592,"mutability":"immutable","name":"WETH9","nameLocation":"431:5:74","nodeType":"VariableDeclaration","scope":14665,"src":"407:29:74","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"},"typeName":{"id":14591,"nodeType":"UserDefinedTypeName","pathNode":{"id":14590,"name":"IWETH9","nameLocations":["407:6:74"],"nodeType":"IdentifierPath","referencedDeclaration":15890,"src":"407:6:74"},"referencedDeclaration":15890,"src":"407:6:74","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"visibility":"public"},{"documentation":{"id":14593,"nodeType":"StructuredDocumentation","src":"443:72:74","text":"@notice Thrown when an unexpected address sends ETH to this contract"},"errorSelector":"38bbd576","id":14595,"name":"InvalidEthSender","nameLocation":"526:16:74","nodeType":"ErrorDefinition","parameters":{"id":14594,"nodeType":"ParameterList","parameters":[],"src":"542:2:74"},"src":"520:25:74"},{"body":{"id":14605,"nodeType":"Block","src":"578:31:74","statements":[{"expression":{"id":14603,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14601,"name":"WETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14592,"src":"588:5:74","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14602,"name":"_weth9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14598,"src":"596:6:74","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"src":"588:14:74","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"id":14604,"nodeType":"ExpressionStatement","src":"588:14:74"}]},"id":14606,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":14599,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14598,"mutability":"mutable","name":"_weth9","nameLocation":"570:6:74","nodeType":"VariableDeclaration","scope":14606,"src":"563:13:74","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"},"typeName":{"id":14597,"nodeType":"UserDefinedTypeName","pathNode":{"id":14596,"name":"IWETH9","nameLocations":["563:6:74"],"nodeType":"IdentifierPath","referencedDeclaration":15890,"src":"563:6:74"},"referencedDeclaration":15890,"src":"563:6:74","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"visibility":"internal"}],"src":"562:15:74"},"returnParameters":{"id":14600,"nodeType":"ParameterList","parameters":[],"src":"578:0:74"},"scope":14665,"src":"551:58:74","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":14623,"nodeType":"Block","src":"738:63:74","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14614,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14612,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14609,"src":"752:6:74","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":14613,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"761:1:74","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"752:10:74","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14622,"nodeType":"IfStatement","src":"748:46:74","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"argumentTypes":[],"expression":{"id":14615,"name":"WETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14592,"src":"764:5:74","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"id":14617,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"770:7:74","memberName":"deposit","nodeType":"MemberAccess","referencedDeclaration":15883,"src":"764:13:74","typeDescriptions":{"typeIdentifier":"t_function_external_payable$__$returns$__$","typeString":"function () payable external"}},"id":14619,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":14618,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14609,"src":"785:6:74","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"764:28:74","typeDescriptions":{"typeIdentifier":"t_function_external_payable$__$returns$__$value","typeString":"function () payable external"}},"id":14620,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"764:30:74","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14621,"nodeType":"ExpressionStatement","src":"764:30:74"}}]},"documentation":{"id":14607,"nodeType":"StructuredDocumentation","src":"615:78:74","text":"@dev The amount should already be <= the current balance in this contract."},"id":14624,"implemented":true,"kind":"function","modifiers":[],"name":"_wrap","nameLocation":"707:5:74","nodeType":"FunctionDefinition","parameters":{"id":14610,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14609,"mutability":"mutable","name":"amount","nameLocation":"721:6:74","nodeType":"VariableDeclaration","scope":14624,"src":"713:14:74","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14608,"name":"uint256","nodeType":"ElementaryTypeName","src":"713:7:74","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"712:16:74"},"returnParameters":{"id":14611,"nodeType":"ParameterList","parameters":[],"src":"738:0:74"},"scope":14665,"src":"698:103:74","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":14640,"nodeType":"Block","src":"932:55:74","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14632,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14630,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14627,"src":"946:6:74","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":14631,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"955:1:74","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"946:10:74","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14639,"nodeType":"IfStatement","src":"942:38:74","trueBody":{"expression":{"arguments":[{"id":14636,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14627,"src":"973:6:74","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":14633,"name":"WETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14592,"src":"958:5:74","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"id":14635,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"964:8:74","memberName":"withdraw","nodeType":"MemberAccess","referencedDeclaration":15889,"src":"958:14:74","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256) external"}},"id":14637,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"958:22:74","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14638,"nodeType":"ExpressionStatement","src":"958:22:74"}}]},"documentation":{"id":14625,"nodeType":"StructuredDocumentation","src":"807:78:74","text":"@dev The amount should already be <= the current balance in this contract."},"id":14641,"implemented":true,"kind":"function","modifiers":[],"name":"_unwrap","nameLocation":"899:7:74","nodeType":"FunctionDefinition","parameters":{"id":14628,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14627,"mutability":"mutable","name":"amount","nameLocation":"915:6:74","nodeType":"VariableDeclaration","scope":14641,"src":"907:14:74","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14626,"name":"uint256","nodeType":"ElementaryTypeName","src":"907:7:74","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"906:16:74"},"returnParameters":{"id":14629,"nodeType":"ParameterList","parameters":[],"src":"932:0:74"},"scope":14665,"src":"890:97:74","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":14663,"nodeType":"Block","src":"1020:114:74","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":14658,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":14650,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":14644,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1034:3:74","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14645,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1038:6:74","memberName":"sender","nodeType":"MemberAccess","src":"1034:10:74","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":14648,"name":"WETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14592,"src":"1056:5:74","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}],"id":14647,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1048:7:74","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14646,"name":"address","nodeType":"ElementaryTypeName","src":"1048:7:74","typeDescriptions":{}}},"id":14649,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1048:14:74","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1034:28:74","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":14657,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":14651,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1066:3:74","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14652,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1070:6:74","memberName":"sender","nodeType":"MemberAccess","src":"1066:10:74","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":14655,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"1088:11:74","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}],"id":14654,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1080:7:74","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14653,"name":"address","nodeType":"ElementaryTypeName","src":"1080:7:74","typeDescriptions":{}}},"id":14656,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1080:20:74","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1066:34:74","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1034:66:74","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14662,"nodeType":"IfStatement","src":"1030:97:74","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":14659,"name":"InvalidEthSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14595,"src":"1109:16:74","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":14660,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1109:18:74","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":14661,"nodeType":"RevertStatement","src":"1102:25:74"}}]},"id":14664,"implemented":true,"kind":"receive","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":14642,"nodeType":"ParameterList","parameters":[],"src":"1000:2:74"},"returnParameters":{"id":14643,"nodeType":"ParameterList","parameters":[],"src":"1020:0:74"},"scope":14665,"src":"993:141:74","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":14666,"src":"313:823:74","usedErrors":[14483,14595],"usedEvents":[]}],"src":"32:1105:74"},"id":74},"@uniswap/v4-periphery/src/base/Notifier.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/base/Notifier.sol","exportedSymbols":{"BalanceDelta":[10503],"CustomRevert":[4451],"INotifier":[15508],"ISubscriber":[15770],"Notifier":[15036],"PositionInfo":[16704]},"id":15037,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":14667,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:75"},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol","file":"../interfaces/ISubscriber.sol","id":14669,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15037,"sourceUnit":15771,"src":"57:58:75","symbolAliases":[{"foreign":{"id":14668,"name":"ISubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15770,"src":"65:11:75","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/INotifier.sol","file":"../interfaces/INotifier.sol","id":14671,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15037,"sourceUnit":15509,"src":"116:54:75","symbolAliases":[{"foreign":{"id":14670,"name":"INotifier","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15508,"src":"124:9:75","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/CustomRevert.sol","file":"@uniswap/v4-core/src/libraries/CustomRevert.sol","id":14673,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15037,"sourceUnit":4452,"src":"171:77:75","symbolAliases":[{"foreign":{"id":14672,"name":"CustomRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"179:12:75","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/BalanceDelta.sol","file":"@uniswap/v4-core/src/types/BalanceDelta.sol","id":14675,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15037,"sourceUnit":10662,"src":"249:73:75","symbolAliases":[{"foreign":{"id":14674,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"257:12:75","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol","file":"../libraries/PositionInfoLibrary.sol","id":14677,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15037,"sourceUnit":16831,"src":"323:66:75","symbolAliases":[{"foreign":{"id":14676,"name":"PositionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16704,"src":"331:12:75","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":14679,"name":"INotifier","nameLocations":["543:9:75"],"nodeType":"IdentifierPath","referencedDeclaration":15508,"src":"543:9:75"},"id":14680,"nodeType":"InheritanceSpecifier","src":"543:9:75"}],"canonicalName":"Notifier","contractDependencies":[],"contractKind":"contract","documentation":{"id":14678,"nodeType":"StructuredDocumentation","src":"391:122:75","text":"@notice Notifier is used to opt in to sending updates to external contracts about position modifications or transfers"},"fullyImplemented":false,"id":15036,"linearizedBaseContracts":[15036,15508],"name":"Notifier","nameLocation":"531:8:75","nodeType":"ContractDefinition","nodes":[{"global":false,"id":14682,"libraryName":{"id":14681,"name":"CustomRevert","nameLocations":["565:12:75"],"nodeType":"IdentifierPath","referencedDeclaration":4451,"src":"565:12:75"},"nodeType":"UsingForDirective","src":"559:25:75"},{"constant":true,"id":14691,"mutability":"constant","name":"NO_SUBSCRIBER","nameLocation":"619:13:75","nodeType":"VariableDeclaration","scope":15036,"src":"590:68:75","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"},"typeName":{"id":14684,"nodeType":"UserDefinedTypeName","pathNode":{"id":14683,"name":"ISubscriber","nameLocations":["590:11:75"],"nodeType":"IdentifierPath","referencedDeclaration":15770,"src":"590:11:75"},"referencedDeclaration":15770,"src":"590:11:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"value":{"arguments":[{"arguments":[{"hexValue":"30","id":14688,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"655:1:75","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":14687,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"647:7:75","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14686,"name":"address","nodeType":"ElementaryTypeName","src":"647:7:75","typeDescriptions":{}}},"id":14689,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"647:10:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":14685,"name":"ISubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15770,"src":"635:11:75","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ISubscriber_$15770_$","typeString":"type(contract ISubscriber)"}},"id":14690,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"635:23:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"visibility":"private"},{"baseFunctions":[15507],"constant":false,"documentation":{"id":14692,"nodeType":"StructuredDocumentation","src":"665:25:75","text":"@inheritdoc INotifier"},"functionSelector":"4767565f","id":14694,"mutability":"immutable","name":"unsubscribeGasLimit","nameLocation":"720:19:75","nodeType":"VariableDeclaration","scope":15036,"src":"695:44:75","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14693,"name":"uint256","nodeType":"ElementaryTypeName","src":"695:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"public"},{"baseFunctions":[15485],"constant":false,"documentation":{"id":14695,"nodeType":"StructuredDocumentation","src":"746:25:75","text":"@inheritdoc INotifier"},"functionSelector":"16a24131","id":14700,"mutability":"mutable","name":"subscriber","nameLocation":"834:10:75","nodeType":"VariableDeclaration","scope":15036,"src":"776:68:75","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_contract$_ISubscriber_$15770_$","typeString":"mapping(uint256 => contract ISubscriber)"},"typeName":{"id":14699,"keyName":"tokenId","keyNameLocation":"792:7:75","keyType":{"id":14696,"name":"uint256","nodeType":"ElementaryTypeName","src":"784:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"776:50:75","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_contract$_ISubscriber_$15770_$","typeString":"mapping(uint256 => contract ISubscriber)"},"valueName":"subscriber","valueNameLocation":"815:10:75","valueType":{"id":14698,"nodeType":"UserDefinedTypeName","pathNode":{"id":14697,"name":"ISubscriber","nameLocations":["803:11:75"],"nodeType":"IdentifierPath","referencedDeclaration":15770,"src":"803:11:75"},"referencedDeclaration":15770,"src":"803:11:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}}},"visibility":"public"},{"body":{"id":14709,"nodeType":"Block","src":"893:59:75","statements":[{"expression":{"id":14707,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14705,"name":"unsubscribeGasLimit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14694,"src":"903:19:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14706,"name":"_unsubscribeGasLimit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14702,"src":"925:20:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"903:42:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14708,"nodeType":"ExpressionStatement","src":"903:42:75"}]},"id":14710,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":14703,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14702,"mutability":"mutable","name":"_unsubscribeGasLimit","nameLocation":"871:20:75","nodeType":"VariableDeclaration","scope":14710,"src":"863:28:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14701,"name":"uint256","nodeType":"ElementaryTypeName","src":"863:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"862:30:75"},"returnParameters":{"id":14704,"nodeType":"ParameterList","parameters":[],"src":"893:0:75"},"scope":15036,"src":"851:101:75","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"documentation":{"id":14711,"nodeType":"StructuredDocumentation","src":"958:259:75","text":"@notice Only allow callers that are approved as spenders or operators of the tokenId\n @dev to be implemented by the parent contract (PositionManager)\n @param caller the address of the caller\n @param tokenId the tokenId of the position"},"id":14717,"name":"onlyIfApproved","nameLocation":"1231:14:75","nodeType":"ModifierDefinition","parameters":{"id":14716,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14713,"mutability":"mutable","name":"caller","nameLocation":"1254:6:75","nodeType":"VariableDeclaration","scope":14717,"src":"1246:14:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14712,"name":"address","nodeType":"ElementaryTypeName","src":"1246:7:75","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14715,"mutability":"mutable","name":"tokenId","nameLocation":"1270:7:75","nodeType":"VariableDeclaration","scope":14717,"src":"1262:15:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14714,"name":"uint256","nodeType":"ElementaryTypeName","src":"1262:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1245:33:75"},"src":"1222:65:75","virtual":true,"visibility":"internal"},{"documentation":{"id":14718,"nodeType":"StructuredDocumentation","src":"1293:52:75","text":"@notice Enforces that the PoolManager is locked."},"id":14720,"name":"onlyIfPoolManagerLocked","nameLocation":"1359:23:75","nodeType":"ModifierDefinition","parameters":{"id":14719,"nodeType":"ParameterList","parameters":[],"src":"1382:2:75"},"src":"1350:43:75","virtual":true,"visibility":"internal"},{"id":14725,"implemented":false,"kind":"function","modifiers":[],"name":"_setUnsubscribed","nameLocation":"1408:16:75","nodeType":"FunctionDefinition","parameters":{"id":14723,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14722,"mutability":"mutable","name":"tokenId","nameLocation":"1433:7:75","nodeType":"VariableDeclaration","scope":14725,"src":"1425:15:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14721,"name":"uint256","nodeType":"ElementaryTypeName","src":"1425:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1424:17:75"},"returnParameters":{"id":14724,"nodeType":"ParameterList","parameters":[],"src":"1458:0:75"},"scope":15036,"src":"1399:60:75","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"id":14730,"implemented":false,"kind":"function","modifiers":[],"name":"_setSubscribed","nameLocation":"1474:14:75","nodeType":"FunctionDefinition","parameters":{"id":14728,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14727,"mutability":"mutable","name":"tokenId","nameLocation":"1497:7:75","nodeType":"VariableDeclaration","scope":14730,"src":"1489:15:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14726,"name":"uint256","nodeType":"ElementaryTypeName","src":"1489:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1488:17:75"},"returnParameters":{"id":14729,"nodeType":"ParameterList","parameters":[],"src":"1522:0:75"},"scope":15036,"src":"1465:58:75","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"baseFunctions":[15495],"body":{"id":14811,"nodeType":"Block","src":"1752:567:75","statements":[{"assignments":[14749],"declarations":[{"constant":false,"id":14749,"mutability":"mutable","name":"_subscriber","nameLocation":"1774:11:75","nodeType":"VariableDeclaration","scope":14811,"src":"1762:23:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"},"typeName":{"id":14748,"nodeType":"UserDefinedTypeName","pathNode":{"id":14747,"name":"ISubscriber","nameLocations":["1762:11:75"],"nodeType":"IdentifierPath","referencedDeclaration":15770,"src":"1762:11:75"},"referencedDeclaration":15770,"src":"1762:11:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"visibility":"internal"}],"id":14753,"initialValue":{"baseExpression":{"id":14750,"name":"subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14700,"src":"1788:10:75","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_contract$_ISubscriber_$15770_$","typeString":"mapping(uint256 => contract ISubscriber)"}},"id":14752,"indexExpression":{"id":14751,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14733,"src":"1799:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1788:19:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"nodeType":"VariableDeclarationStatement","src":"1762:45:75"},{"condition":{"commonType":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"},"id":14756,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14754,"name":"_subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14749,"src":"1822:11:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":14755,"name":"NO_SUBSCRIBER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14691,"src":"1837:13:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"src":"1822:28:75","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14765,"nodeType":"IfStatement","src":"1818:89:75","trueBody":{"errorCall":{"arguments":[{"id":14758,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14733,"src":"1877:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"id":14761,"name":"_subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14749,"src":"1894:11:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}],"id":14760,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1886:7:75","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14759,"name":"address","nodeType":"ElementaryTypeName","src":"1886:7:75","typeDescriptions":{}}},"id":14762,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1886:20:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"id":14757,"name":"AlreadySubscribed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15462,"src":"1859:17:75","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_address_$returns$_t_error_$","typeString":"function (uint256,address) pure returns (error)"}},"id":14763,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1859:48:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":14764,"nodeType":"RevertStatement","src":"1852:55:75"}},{"expression":{"arguments":[{"id":14767,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14733,"src":"1932:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14766,"name":"_setSubscribed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14730,"src":"1917:14:75","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":14768,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1917:23:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14769,"nodeType":"ExpressionStatement","src":"1917:23:75"},{"expression":{"id":14776,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":14770,"name":"subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14700,"src":"1951:10:75","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_contract$_ISubscriber_$15770_$","typeString":"mapping(uint256 => contract ISubscriber)"}},"id":14772,"indexExpression":{"id":14771,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14733,"src":"1962:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1951:19:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":14774,"name":"newSubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14735,"src":"1985:13:75","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":14773,"name":"ISubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15770,"src":"1973:11:75","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ISubscriber_$15770_$","typeString":"type(contract ISubscriber)"}},"id":14775,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1973:26:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"src":"1951:48:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"id":14777,"nodeType":"ExpressionStatement","src":"1951:48:75"},{"assignments":[14779],"declarations":[{"constant":false,"id":14779,"mutability":"mutable","name":"success","nameLocation":"2015:7:75","nodeType":"VariableDeclaration","scope":14811,"src":"2010:12:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14778,"name":"bool","nodeType":"ElementaryTypeName","src":"2010:4:75","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":14791,"initialValue":{"arguments":[{"id":14781,"name":"newSubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14735,"src":"2031:13:75","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"expression":{"id":14784,"name":"ISubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15770,"src":"2061:11:75","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ISubscriber_$15770_$","typeString":"type(contract ISubscriber)"}},"id":14785,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2073:15:75","memberName":"notifySubscribe","nodeType":"MemberAccess","referencedDeclaration":15736,"src":"2061:27:75","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_uint256_$_t_bytes_memory_ptr_$returns$__$","typeString":"function ISubscriber.notifySubscribe(uint256,bytes memory)"}},{"components":[{"id":14786,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14733,"src":"2091:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":14787,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14737,"src":"2100:4:75","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"id":14788,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2090:15:75","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_bytes_calldata_ptr_$","typeString":"tuple(uint256,bytes calldata)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_uint256_$_t_bytes_memory_ptr_$returns$__$","typeString":"function ISubscriber.notifySubscribe(uint256,bytes memory)"},{"typeIdentifier":"t_tuple$_t_uint256_$_t_bytes_calldata_ptr_$","typeString":"tuple(uint256,bytes calldata)"}],"expression":{"id":14782,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"2046:3:75","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":14783,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2050:10:75","memberName":"encodeCall","nodeType":"MemberAccess","src":"2046:14:75","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":14789,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2046:60:75","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":14780,"name":"_call","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15035,"src":"2025:5:75","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_bool_$","typeString":"function (address,bytes memory) returns (bool)"}},"id":14790,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2025:82:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"2010:97:75"},{"condition":{"id":14793,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"2122:8:75","subExpression":{"id":14792,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14779,"src":"2123:7:75","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14805,"nodeType":"IfStatement","src":"2118:143:75","trueBody":{"id":14804,"nodeType":"Block","src":"2132:129:75","statements":[{"expression":{"arguments":[{"expression":{"expression":{"id":14797,"name":"ISubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15770,"src":"2182:11:75","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ISubscriber_$15770_$","typeString":"type(contract ISubscriber)"}},"id":14798,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2194:15:75","memberName":"notifySubscribe","nodeType":"MemberAccess","referencedDeclaration":15736,"src":"2182:27:75","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_uint256_$_t_bytes_memory_ptr_$returns$__$","typeString":"function ISubscriber.notifySubscribe(uint256,bytes memory)"}},"id":14799,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2210:8:75","memberName":"selector","nodeType":"MemberAccess","src":"2182:36:75","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"expression":{"id":14800,"name":"SubscriptionReverted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15441,"src":"2220:20:75","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$_t_error_$","typeString":"function (address,bytes memory) pure returns (error)"}},"id":14801,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2241:8:75","memberName":"selector","nodeType":"MemberAccess","src":"2220:29:75","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"},{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":14794,"name":"newSubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14735,"src":"2146:13:75","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14796,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2160:21:75","memberName":"bubbleUpAndRevertWith","nodeType":"MemberAccess","referencedDeclaration":4450,"src":"2146:35:75","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_bytes4_$_t_bytes4_$returns$__$attached_to$_t_address_$","typeString":"function (address,bytes4,bytes4) pure"}},"id":14802,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2146:104:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14803,"nodeType":"ExpressionStatement","src":"2146:104:75"}]}},{"eventCall":{"arguments":[{"id":14807,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14733,"src":"2289:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":14808,"name":"newSubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14735,"src":"2298:13:75","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"id":14806,"name":"Subscription","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15469,"src":"2276:12:75","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_address_$returns$__$","typeString":"function (uint256,address)"}},"id":14809,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2276:36:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14810,"nodeType":"EmitStatement","src":"2271:41:75"}]},"documentation":{"id":14731,"nodeType":"StructuredDocumentation","src":"1529:25:75","text":"@inheritdoc INotifier"},"functionSelector":"2b9261de","id":14812,"implemented":true,"kind":"function","modifiers":[{"id":14740,"kind":"modifierInvocation","modifierName":{"id":14739,"name":"onlyIfPoolManagerLocked","nameLocations":["1680:23:75"],"nodeType":"IdentifierPath","referencedDeclaration":14720,"src":"1680:23:75"},"nodeType":"ModifierInvocation","src":"1680:23:75"},{"arguments":[{"expression":{"id":14742,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1727:3:75","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14743,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1731:6:75","memberName":"sender","nodeType":"MemberAccess","src":"1727:10:75","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14744,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14733,"src":"1739:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":14745,"kind":"modifierInvocation","modifierName":{"id":14741,"name":"onlyIfApproved","nameLocations":["1712:14:75"],"nodeType":"IdentifierPath","referencedDeclaration":14717,"src":"1712:14:75"},"nodeType":"ModifierInvocation","src":"1712:35:75"}],"name":"subscribe","nameLocation":"1568:9:75","nodeType":"FunctionDefinition","parameters":{"id":14738,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14733,"mutability":"mutable","name":"tokenId","nameLocation":"1586:7:75","nodeType":"VariableDeclaration","scope":14812,"src":"1578:15:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14732,"name":"uint256","nodeType":"ElementaryTypeName","src":"1578:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14735,"mutability":"mutable","name":"newSubscriber","nameLocation":"1603:13:75","nodeType":"VariableDeclaration","scope":14812,"src":"1595:21:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14734,"name":"address","nodeType":"ElementaryTypeName","src":"1595:7:75","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14737,"mutability":"mutable","name":"data","nameLocation":"1633:4:75","nodeType":"VariableDeclaration","scope":14812,"src":"1618:19:75","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":14736,"name":"bytes","nodeType":"ElementaryTypeName","src":"1618:5:75","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1577:61:75"},"returnParameters":{"id":14746,"nodeType":"ParameterList","parameters":[],"src":"1752:0:75"},"scope":15036,"src":"1559:760:75","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[15501],"body":{"id":14829,"nodeType":"Block","src":"2506:38:75","statements":[{"expression":{"arguments":[{"id":14826,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14815,"src":"2529:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14825,"name":"_unsubscribe","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14900,"src":"2516:12:75","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":14827,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2516:21:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14828,"nodeType":"ExpressionStatement","src":"2516:21:75"}]},"documentation":{"id":14813,"nodeType":"StructuredDocumentation","src":"2325:25:75","text":"@inheritdoc INotifier"},"functionSelector":"ad0b27fb","id":14830,"implemented":true,"kind":"function","modifiers":[{"id":14818,"kind":"modifierInvocation","modifierName":{"id":14817,"name":"onlyIfPoolManagerLocked","nameLocations":["2434:23:75"],"nodeType":"IdentifierPath","referencedDeclaration":14720,"src":"2434:23:75"},"nodeType":"ModifierInvocation","src":"2434:23:75"},{"arguments":[{"expression":{"id":14820,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2481:3:75","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14821,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2485:6:75","memberName":"sender","nodeType":"MemberAccess","src":"2481:10:75","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14822,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14815,"src":"2493:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":14823,"kind":"modifierInvocation","modifierName":{"id":14819,"name":"onlyIfApproved","nameLocations":["2466:14:75"],"nodeType":"IdentifierPath","referencedDeclaration":14717,"src":"2466:14:75"},"nodeType":"ModifierInvocation","src":"2466:35:75"}],"name":"unsubscribe","nameLocation":"2364:11:75","nodeType":"FunctionDefinition","parameters":{"id":14816,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14815,"mutability":"mutable","name":"tokenId","nameLocation":"2384:7:75","nodeType":"VariableDeclaration","scope":14830,"src":"2376:15:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14814,"name":"uint256","nodeType":"ElementaryTypeName","src":"2376:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2375:17:75"},"returnParameters":{"id":14824,"nodeType":"ParameterList","parameters":[],"src":"2506:0:75"},"scope":15036,"src":"2355:189:75","stateMutability":"payable","virtual":false,"visibility":"external"},{"body":{"id":14899,"nodeType":"Block","src":"2598:752:75","statements":[{"assignments":[14837],"declarations":[{"constant":false,"id":14837,"mutability":"mutable","name":"_subscriber","nameLocation":"2620:11:75","nodeType":"VariableDeclaration","scope":14899,"src":"2608:23:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"},"typeName":{"id":14836,"nodeType":"UserDefinedTypeName","pathNode":{"id":14835,"name":"ISubscriber","nameLocations":["2608:11:75"],"nodeType":"IdentifierPath","referencedDeclaration":15770,"src":"2608:11:75"},"referencedDeclaration":15770,"src":"2608:11:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"visibility":"internal"}],"id":14841,"initialValue":{"baseExpression":{"id":14838,"name":"subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14700,"src":"2634:10:75","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_contract$_ISubscriber_$15770_$","typeString":"mapping(uint256 => contract ISubscriber)"}},"id":14840,"indexExpression":{"id":14839,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14832,"src":"2645:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2634:19:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"nodeType":"VariableDeclarationStatement","src":"2608:45:75"},{"condition":{"commonType":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"},"id":14844,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14842,"name":"_subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14837,"src":"2668:11:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":14843,"name":"NO_SUBSCRIBER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14691,"src":"2683:13:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"src":"2668:28:75","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14848,"nodeType":"IfStatement","src":"2664:56:75","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":14845,"name":"NotSubscribed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15428,"src":"2705:13:75","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":14846,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2705:15:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":14847,"nodeType":"RevertStatement","src":"2698:22:75"}},{"expression":{"arguments":[{"id":14850,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14832,"src":"2747:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14849,"name":"_setUnsubscribed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14725,"src":"2730:16:75","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":14851,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2730:25:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14852,"nodeType":"ExpressionStatement","src":"2730:25:75"},{"expression":{"id":14856,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"2766:26:75","subExpression":{"baseExpression":{"id":14853,"name":"subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14700,"src":"2773:10:75","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_contract$_ISubscriber_$15770_$","typeString":"mapping(uint256 => contract ISubscriber)"}},"id":14855,"indexExpression":{"id":14854,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14832,"src":"2784:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2773:19:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14857,"nodeType":"ExpressionStatement","src":"2766:26:75"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14865,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"arguments":[{"id":14860,"name":"_subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14837,"src":"2815:11:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}],"id":14859,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2807:7:75","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14858,"name":"address","nodeType":"ElementaryTypeName","src":"2807:7:75","typeDescriptions":{}}},"id":14861,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2807:20:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14862,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2828:4:75","memberName":"code","nodeType":"MemberAccess","src":"2807:25:75","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":14863,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2833:6:75","memberName":"length","nodeType":"MemberAccess","src":"2807:32:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":14864,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2842:1:75","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2807:36:75","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14890,"nodeType":"IfStatement","src":"2803:480:75","trueBody":{"id":14889,"nodeType":"Block","src":"2845:438:75","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14869,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":14866,"name":"gasleft","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-7,"src":"3110:7:75","typeDescriptions":{"typeIdentifier":"t_function_gasleft_view$__$returns$_t_uint256_$","typeString":"function () view returns (uint256)"}},"id":14867,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3110:9:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":14868,"name":"unsubscribeGasLimit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14694,"src":"3122:19:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3110:31:75","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14877,"nodeType":"IfStatement","src":"3106:73:75","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":14870,"name":"GasLimitTooLow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15434,"src":"3143:14:75","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":14873,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3158:8:75","memberName":"selector","nodeType":"MemberAccess","src":"3143:23:75","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":14874,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3167:10:75","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"3143:34:75","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":14875,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3143:36:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14876,"nodeType":"ExpressionStatement","src":"3143:36:75"}},{"clauses":[{"block":{"id":14884,"nodeType":"Block","src":"3262:2:75","statements":[]},"errorName":"","id":14885,"nodeType":"TryCatchClause","src":"3262:2:75"},{"block":{"id":14886,"nodeType":"Block","src":"3271:2:75","statements":[]},"errorName":"","id":14887,"nodeType":"TryCatchClause","src":"3265:8:75"}],"externalCall":{"arguments":[{"id":14882,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14832,"src":"3253:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":14878,"name":"_subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14837,"src":"3197:11:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"id":14879,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3209:17:75","memberName":"notifyUnsubscribe","nodeType":"MemberAccess","referencedDeclaration":15742,"src":"3197:29:75","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256) external"}},"id":14881,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["gas"],"nodeType":"FunctionCallOptions","options":[{"id":14880,"name":"unsubscribeGasLimit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14694,"src":"3232:19:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"3197:55:75","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint256_$returns$__$gas","typeString":"function (uint256) external"}},"id":14883,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3197:64:75","tryCall":true,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14888,"nodeType":"TryStatement","src":"3193:80:75"}]}},{"eventCall":{"arguments":[{"id":14892,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14832,"src":"3313:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"id":14895,"name":"_subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14837,"src":"3330:11:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}],"id":14894,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3322:7:75","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14893,"name":"address","nodeType":"ElementaryTypeName","src":"3322:7:75","typeDescriptions":{}}},"id":14896,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3322:20:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"id":14891,"name":"Unsubscription","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15476,"src":"3298:14:75","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_address_$returns$__$","typeString":"function (uint256,address)"}},"id":14897,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3298:45:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14898,"nodeType":"EmitStatement","src":"3293:50:75"}]},"id":14900,"implemented":true,"kind":"function","modifiers":[],"name":"_unsubscribe","nameLocation":"2559:12:75","nodeType":"FunctionDefinition","parameters":{"id":14833,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14832,"mutability":"mutable","name":"tokenId","nameLocation":"2580:7:75","nodeType":"VariableDeclaration","scope":14900,"src":"2572:15:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14831,"name":"uint256","nodeType":"ElementaryTypeName","src":"2572:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2571:17:75"},"returnParameters":{"id":14834,"nodeType":"ParameterList","parameters":[],"src":"2598:0:75"},"scope":15036,"src":"2550:800:75","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":14961,"nodeType":"Block","src":"3632:431:75","statements":[{"assignments":[14917],"declarations":[{"constant":false,"id":14917,"mutability":"mutable","name":"_subscriber","nameLocation":"3650:11:75","nodeType":"VariableDeclaration","scope":14961,"src":"3642:19:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14916,"name":"address","nodeType":"ElementaryTypeName","src":"3642:7:75","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":14924,"initialValue":{"arguments":[{"baseExpression":{"id":14920,"name":"subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14700,"src":"3672:10:75","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_contract$_ISubscriber_$15770_$","typeString":"mapping(uint256 => contract ISubscriber)"}},"id":14922,"indexExpression":{"id":14921,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14903,"src":"3683:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3672:19:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}],"id":14919,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3664:7:75","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14918,"name":"address","nodeType":"ElementaryTypeName","src":"3664:7:75","typeDescriptions":{}}},"id":14923,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3664:28:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"3642:50:75"},{"expression":{"id":14928,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"3736:26:75","subExpression":{"baseExpression":{"id":14925,"name":"subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14700,"src":"3743:10:75","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_contract$_ISubscriber_$15770_$","typeString":"mapping(uint256 => contract ISubscriber)"}},"id":14927,"indexExpression":{"id":14926,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14903,"src":"3754:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3743:19:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14929,"nodeType":"ExpressionStatement","src":"3736:26:75"},{"assignments":[14931],"declarations":[{"constant":false,"id":14931,"mutability":"mutable","name":"success","nameLocation":"3778:7:75","nodeType":"VariableDeclaration","scope":14961,"src":"3773:12:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14930,"name":"bool","nodeType":"ElementaryTypeName","src":"3773:4:75","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":14946,"initialValue":{"arguments":[{"id":14933,"name":"_subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14917,"src":"3806:11:75","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"expression":{"id":14936,"name":"ISubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15770,"src":"3834:11:75","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ISubscriber_$15770_$","typeString":"type(contract ISubscriber)"}},"id":14937,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3846:10:75","memberName":"notifyBurn","nodeType":"MemberAccess","referencedDeclaration":15758,"src":"3834:22:75","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_uint256_$_t_address_$_t_userDefinedValueType$_PositionInfo_$16704_$_t_uint256_$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$__$","typeString":"function ISubscriber.notifyBurn(uint256,address,PositionInfo,uint256,BalanceDelta)"}},{"components":[{"id":14938,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14903,"src":"3859:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":14939,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14905,"src":"3868:5:75","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14940,"name":"info","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14908,"src":"3875:4:75","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},{"id":14941,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14910,"src":"3881:9:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":14942,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14913,"src":"3892:11:75","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":14943,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3858:46:75","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_address_$_t_userDefinedValueType$_PositionInfo_$16704_$_t_uint256_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(uint256,address,PositionInfo,uint256,BalanceDelta)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_uint256_$_t_address_$_t_userDefinedValueType$_PositionInfo_$16704_$_t_uint256_$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$__$","typeString":"function ISubscriber.notifyBurn(uint256,address,PositionInfo,uint256,BalanceDelta)"},{"typeIdentifier":"t_tuple$_t_uint256_$_t_address_$_t_userDefinedValueType$_PositionInfo_$16704_$_t_uint256_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(uint256,address,PositionInfo,uint256,BalanceDelta)"}],"expression":{"id":14934,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"3819:3:75","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":14935,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3823:10:75","memberName":"encodeCall","nodeType":"MemberAccess","src":"3819:14:75","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":14944,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3819:86:75","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":14932,"name":"_call","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15035,"src":"3800:5:75","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_bool_$","typeString":"function (address,bytes memory) returns (bool)"}},"id":14945,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3800:106:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"3773:133:75"},{"condition":{"id":14948,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"3921:8:75","subExpression":{"id":14947,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14931,"src":"3922:7:75","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14960,"nodeType":"IfStatement","src":"3917:140:75","trueBody":{"id":14959,"nodeType":"Block","src":"3931:126:75","statements":[{"expression":{"arguments":[{"expression":{"expression":{"id":14952,"name":"ISubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15770,"src":"3979:11:75","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ISubscriber_$15770_$","typeString":"type(contract ISubscriber)"}},"id":14953,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3991:10:75","memberName":"notifyBurn","nodeType":"MemberAccess","referencedDeclaration":15758,"src":"3979:22:75","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_uint256_$_t_address_$_t_userDefinedValueType$_PositionInfo_$16704_$_t_uint256_$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$__$","typeString":"function ISubscriber.notifyBurn(uint256,address,PositionInfo,uint256,BalanceDelta)"}},"id":14954,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4002:8:75","memberName":"selector","nodeType":"MemberAccess","src":"3979:31:75","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"expression":{"id":14955,"name":"BurnNotificationReverted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15455,"src":"4012:24:75","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$_t_error_$","typeString":"function (address,bytes memory) pure returns (error)"}},"id":14956,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4037:8:75","memberName":"selector","nodeType":"MemberAccess","src":"4012:33:75","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"},{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":14949,"name":"_subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14917,"src":"3945:11:75","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14951,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3957:21:75","memberName":"bubbleUpAndRevertWith","nodeType":"MemberAccess","referencedDeclaration":4450,"src":"3945:33:75","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_bytes4_$_t_bytes4_$returns$__$attached_to$_t_address_$","typeString":"function (address,bytes4,bytes4) pure"}},"id":14957,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3945:101:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14958,"nodeType":"ExpressionStatement","src":"3945:101:75"}]}}]},"documentation":{"id":14901,"nodeType":"StructuredDocumentation","src":"3356:80:75","text":"@dev note this function also deletes the subscriber address from the mapping"},"id":14962,"implemented":true,"kind":"function","modifiers":[],"name":"_removeSubscriberAndNotifyBurn","nameLocation":"3450:30:75","nodeType":"FunctionDefinition","parameters":{"id":14914,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14903,"mutability":"mutable","name":"tokenId","nameLocation":"3498:7:75","nodeType":"VariableDeclaration","scope":14962,"src":"3490:15:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14902,"name":"uint256","nodeType":"ElementaryTypeName","src":"3490:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14905,"mutability":"mutable","name":"owner","nameLocation":"3523:5:75","nodeType":"VariableDeclaration","scope":14962,"src":"3515:13:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14904,"name":"address","nodeType":"ElementaryTypeName","src":"3515:7:75","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14908,"mutability":"mutable","name":"info","nameLocation":"3551:4:75","nodeType":"VariableDeclaration","scope":14962,"src":"3538:17:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":14907,"nodeType":"UserDefinedTypeName","pathNode":{"id":14906,"name":"PositionInfo","nameLocations":["3538:12:75"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"3538:12:75"},"referencedDeclaration":16704,"src":"3538:12:75","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"},{"constant":false,"id":14910,"mutability":"mutable","name":"liquidity","nameLocation":"3573:9:75","nodeType":"VariableDeclaration","scope":14962,"src":"3565:17:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14909,"name":"uint256","nodeType":"ElementaryTypeName","src":"3565:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14913,"mutability":"mutable","name":"feesAccrued","nameLocation":"3605:11:75","nodeType":"VariableDeclaration","scope":14962,"src":"3592:24:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":14912,"nodeType":"UserDefinedTypeName","pathNode":{"id":14911,"name":"BalanceDelta","nameLocations":["3592:12:75"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"3592:12:75"},"referencedDeclaration":10503,"src":"3592:12:75","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"3480:142:75"},"returnParameters":{"id":14915,"nodeType":"ParameterList","parameters":[],"src":"3632:0:75"},"scope":15036,"src":"3441:622:75","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":15010,"nodeType":"Block","src":"4177:427:75","statements":[{"assignments":[14973],"declarations":[{"constant":false,"id":14973,"mutability":"mutable","name":"_subscriber","nameLocation":"4195:11:75","nodeType":"VariableDeclaration","scope":15010,"src":"4187:19:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14972,"name":"address","nodeType":"ElementaryTypeName","src":"4187:7:75","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":14980,"initialValue":{"arguments":[{"baseExpression":{"id":14976,"name":"subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14700,"src":"4217:10:75","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_contract$_ISubscriber_$15770_$","typeString":"mapping(uint256 => contract ISubscriber)"}},"id":14978,"indexExpression":{"id":14977,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14964,"src":"4228:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4217:19:75","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}],"id":14975,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4209:7:75","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14974,"name":"address","nodeType":"ElementaryTypeName","src":"4209:7:75","typeDescriptions":{}}},"id":14979,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4209:28:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"4187:50:75"},{"assignments":[14982],"declarations":[{"constant":false,"id":14982,"mutability":"mutable","name":"success","nameLocation":"4253:7:75","nodeType":"VariableDeclaration","scope":15010,"src":"4248:12:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14981,"name":"bool","nodeType":"ElementaryTypeName","src":"4248:4:75","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":14995,"initialValue":{"arguments":[{"id":14984,"name":"_subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14973,"src":"4282:11:75","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"expression":{"id":14987,"name":"ISubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15770,"src":"4310:11:75","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ISubscriber_$15770_$","typeString":"type(contract ISubscriber)"}},"id":14988,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4322:21:75","memberName":"notifyModifyLiquidity","nodeType":"MemberAccess","referencedDeclaration":15769,"src":"4310:33:75","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_uint256_$_t_int256_$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$__$","typeString":"function ISubscriber.notifyModifyLiquidity(uint256,int256,BalanceDelta)"}},{"components":[{"id":14989,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14964,"src":"4346:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":14990,"name":"liquidityChange","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14966,"src":"4355:15:75","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"id":14991,"name":"feesAccrued","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14969,"src":"4372:11:75","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}}],"id":14992,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4345:39:75","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_int256_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(uint256,int256,BalanceDelta)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_uint256_$_t_int256_$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$__$","typeString":"function ISubscriber.notifyModifyLiquidity(uint256,int256,BalanceDelta)"},{"typeIdentifier":"t_tuple$_t_uint256_$_t_int256_$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"tuple(uint256,int256,BalanceDelta)"}],"expression":{"id":14985,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"4295:3:75","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":14986,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4299:10:75","memberName":"encodeCall","nodeType":"MemberAccess","src":"4295:14:75","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":14993,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4295:90:75","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":14983,"name":"_call","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15035,"src":"4263:5:75","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_bool_$","typeString":"function (address,bytes memory) returns (bool)"}},"id":14994,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4263:132:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"4248:147:75"},{"condition":{"id":14997,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"4410:8:75","subExpression":{"id":14996,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14982,"src":"4411:7:75","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15009,"nodeType":"IfStatement","src":"4406:192:75","trueBody":{"id":15008,"nodeType":"Block","src":"4420:178:75","statements":[{"expression":{"arguments":[{"expression":{"expression":{"id":15001,"name":"ISubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15770,"src":"4485:11:75","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ISubscriber_$15770_$","typeString":"type(contract ISubscriber)"}},"id":15002,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4497:21:75","memberName":"notifyModifyLiquidity","nodeType":"MemberAccess","referencedDeclaration":15769,"src":"4485:33:75","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_uint256_$_t_int256_$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$__$","typeString":"function ISubscriber.notifyModifyLiquidity(uint256,int256,BalanceDelta)"}},"id":15003,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4519:8:75","memberName":"selector","nodeType":"MemberAccess","src":"4485:42:75","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"expression":{"id":15004,"name":"ModifyLiquidityNotificationReverted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15448,"src":"4529:35:75","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_bytes_memory_ptr_$returns$_t_error_$","typeString":"function (address,bytes memory) pure returns (error)"}},"id":15005,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4565:8:75","memberName":"selector","nodeType":"MemberAccess","src":"4529:44:75","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"},{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":14998,"name":"_subscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14973,"src":"4434:11:75","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":15000,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4446:21:75","memberName":"bubbleUpAndRevertWith","nodeType":"MemberAccess","referencedDeclaration":4450,"src":"4434:33:75","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_bytes4_$_t_bytes4_$returns$__$attached_to$_t_address_$","typeString":"function (address,bytes4,bytes4) pure"}},"id":15006,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4434:153:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15007,"nodeType":"ExpressionStatement","src":"4434:153:75"}]}}]},"id":15011,"implemented":true,"kind":"function","modifiers":[],"name":"_notifyModifyLiquidity","nameLocation":"4078:22:75","nodeType":"FunctionDefinition","parameters":{"id":14970,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14964,"mutability":"mutable","name":"tokenId","nameLocation":"4109:7:75","nodeType":"VariableDeclaration","scope":15011,"src":"4101:15:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14963,"name":"uint256","nodeType":"ElementaryTypeName","src":"4101:7:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14966,"mutability":"mutable","name":"liquidityChange","nameLocation":"4125:15:75","nodeType":"VariableDeclaration","scope":15011,"src":"4118:22:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":14965,"name":"int256","nodeType":"ElementaryTypeName","src":"4118:6:75","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":14969,"mutability":"mutable","name":"feesAccrued","nameLocation":"4155:11:75","nodeType":"VariableDeclaration","scope":15011,"src":"4142:24:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":14968,"nodeType":"UserDefinedTypeName","pathNode":{"id":14967,"name":"BalanceDelta","nameLocations":["4142:12:75"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"4142:12:75"},"referencedDeclaration":10503,"src":"4142:12:75","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"4100:67:75"},"returnParameters":{"id":14971,"nodeType":"ParameterList","parameters":[],"src":"4177:0:75"},"scope":15036,"src":"4069:535:75","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":15034,"nodeType":"Block","src":"4699:225:75","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15024,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":15020,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15013,"src":"4713:6:75","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":15021,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4720:4:75","memberName":"code","nodeType":"MemberAccess","src":"4713:11:75","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":15022,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4725:6:75","memberName":"length","nodeType":"MemberAccess","src":"4713:18:75","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":15023,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4735:1:75","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4713:23:75","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15032,"nodeType":"IfStatement","src":"4709:67:75","trueBody":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"expression":{"id":15025,"name":"NoCodeSubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15431,"src":"4738:16:75","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":15028,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4755:8:75","memberName":"selector","nodeType":"MemberAccess","src":"4738:25:75","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":15029,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4764:10:75","memberName":"revertWith","nodeType":"MemberAccess","referencedDeclaration":4367,"src":"4738:36:75","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$__$attached_to$_t_bytes4_$","typeString":"function (bytes4) pure"}},"id":15030,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4738:38:75","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15031,"nodeType":"ExpressionStatement","src":"4738:38:75"}},{"AST":{"nativeSrc":"4811:107:75","nodeType":"YulBlock","src":"4811:107:75","statements":[{"nativeSrc":"4825:83:75","nodeType":"YulAssignment","src":"4825:83:75","value":{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"4841:3:75","nodeType":"YulIdentifier","src":"4841:3:75"},"nativeSrc":"4841:5:75","nodeType":"YulFunctionCall","src":"4841:5:75"},{"name":"target","nativeSrc":"4848:6:75","nodeType":"YulIdentifier","src":"4848:6:75"},{"kind":"number","nativeSrc":"4856:1:75","nodeType":"YulLiteral","src":"4856:1:75","type":"","value":"0"},{"arguments":[{"name":"encodedCall","nativeSrc":"4863:11:75","nodeType":"YulIdentifier","src":"4863:11:75"},{"kind":"number","nativeSrc":"4876:4:75","nodeType":"YulLiteral","src":"4876:4:75","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"4859:3:75","nodeType":"YulIdentifier","src":"4859:3:75"},"nativeSrc":"4859:22:75","nodeType":"YulFunctionCall","src":"4859:22:75"},{"arguments":[{"name":"encodedCall","nativeSrc":"4889:11:75","nodeType":"YulIdentifier","src":"4889:11:75"}],"functionName":{"name":"mload","nativeSrc":"4883:5:75","nodeType":"YulIdentifier","src":"4883:5:75"},"nativeSrc":"4883:18:75","nodeType":"YulFunctionCall","src":"4883:18:75"},{"kind":"number","nativeSrc":"4903:1:75","nodeType":"YulLiteral","src":"4903:1:75","type":"","value":"0"},{"kind":"number","nativeSrc":"4906:1:75","nodeType":"YulLiteral","src":"4906:1:75","type":"","value":"0"}],"functionName":{"name":"call","nativeSrc":"4836:4:75","nodeType":"YulIdentifier","src":"4836:4:75"},"nativeSrc":"4836:72:75","nodeType":"YulFunctionCall","src":"4836:72:75"},"variableNames":[{"name":"success","nativeSrc":"4825:7:75","nodeType":"YulIdentifier","src":"4825:7:75"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":15015,"isOffset":false,"isSlot":false,"src":"4863:11:75","valueSize":1},{"declaration":15015,"isOffset":false,"isSlot":false,"src":"4889:11:75","valueSize":1},{"declaration":15018,"isOffset":false,"isSlot":false,"src":"4825:7:75","valueSize":1},{"declaration":15013,"isOffset":false,"isSlot":false,"src":"4848:6:75","valueSize":1}],"flags":["memory-safe"],"id":15033,"nodeType":"InlineAssembly","src":"4786:132:75"}]},"id":15035,"implemented":true,"kind":"function","modifiers":[],"name":"_call","nameLocation":"4619:5:75","nodeType":"FunctionDefinition","parameters":{"id":15016,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15013,"mutability":"mutable","name":"target","nameLocation":"4633:6:75","nodeType":"VariableDeclaration","scope":15035,"src":"4625:14:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15012,"name":"address","nodeType":"ElementaryTypeName","src":"4625:7:75","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15015,"mutability":"mutable","name":"encodedCall","nameLocation":"4654:11:75","nodeType":"VariableDeclaration","scope":15035,"src":"4641:24:75","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":15014,"name":"bytes","nodeType":"ElementaryTypeName","src":"4641:5:75","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4624:42:75"},"returnParameters":{"id":15019,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15018,"mutability":"mutable","name":"success","nameLocation":"4690:7:75","nodeType":"VariableDeclaration","scope":15035,"src":"4685:12:75","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":15017,"name":"bool","nodeType":"ElementaryTypeName","src":"4685:4:75","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4684:14:75"},"scope":15036,"src":"4610:314:75","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":15037,"src":"513:4413:75","usedErrors":[15428,15431,15434,15441,15448,15455,15462],"usedEvents":[15469,15476]}],"src":"32:4895:75"},"id":75},"@uniswap/v4-periphery/src/base/Permit2Forwarder.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/base/Permit2Forwarder.sol","exportedSymbols":{"IAllowanceTransfer":[21003],"IPermit2Forwarder":[15540],"Permit2Forwarder":[15124]},"id":15125,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15038,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:76"},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol","file":"../interfaces/IPermit2Forwarder.sol","id":15041,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15125,"sourceUnit":15541,"src":"57:90:76","symbolAliases":[{"foreign":{"id":15039,"name":"IPermit2Forwarder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15540,"src":"65:17:76","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":15040,"name":"IAllowanceTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21003,"src":"84:18:76","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":15043,"name":"IPermit2Forwarder","nameLocations":["370:17:76"],"nodeType":"IdentifierPath","referencedDeclaration":15540,"src":"370:17:76"},"id":15044,"nodeType":"InheritanceSpecifier","src":"370:17:76"}],"canonicalName":"Permit2Forwarder","contractDependencies":[],"contractKind":"contract","documentation":{"id":15042,"nodeType":"StructuredDocumentation","src":"149:192:76","text":"@notice Permit2Forwarder allows permitting this contract as a spender on permit2\n @dev This contract does not enforce the spender to be this contract, but that is the intended use case"},"fullyImplemented":true,"id":15124,"linearizedBaseContracts":[15124,15540],"name":"Permit2Forwarder","nameLocation":"350:16:76","nodeType":"ContractDefinition","nodes":[{"constant":false,"documentation":{"id":15045,"nodeType":"StructuredDocumentation","src":"394:53:76","text":"@notice the Permit2 contract to forward approvals"},"functionSelector":"12261ee7","id":15048,"mutability":"immutable","name":"permit2","nameLocation":"488:7:76","nodeType":"VariableDeclaration","scope":15124,"src":"452:43:76","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IAllowanceTransfer_$21003","typeString":"contract IAllowanceTransfer"},"typeName":{"id":15047,"nodeType":"UserDefinedTypeName","pathNode":{"id":15046,"name":"IAllowanceTransfer","nameLocations":["452:18:76"],"nodeType":"IdentifierPath","referencedDeclaration":21003,"src":"452:18:76"},"referencedDeclaration":21003,"src":"452:18:76","typeDescriptions":{"typeIdentifier":"t_contract$_IAllowanceTransfer_$21003","typeString":"contract IAllowanceTransfer"}},"visibility":"public"},{"body":{"id":15058,"nodeType":"Block","src":"543:35:76","statements":[{"expression":{"id":15056,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15054,"name":"permit2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15048,"src":"553:7:76","typeDescriptions":{"typeIdentifier":"t_contract$_IAllowanceTransfer_$21003","typeString":"contract IAllowanceTransfer"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15055,"name":"_permit2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15051,"src":"563:8:76","typeDescriptions":{"typeIdentifier":"t_contract$_IAllowanceTransfer_$21003","typeString":"contract IAllowanceTransfer"}},"src":"553:18:76","typeDescriptions":{"typeIdentifier":"t_contract$_IAllowanceTransfer_$21003","typeString":"contract IAllowanceTransfer"}},"id":15057,"nodeType":"ExpressionStatement","src":"553:18:76"}]},"id":15059,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":15052,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15051,"mutability":"mutable","name":"_permit2","nameLocation":"533:8:76","nodeType":"VariableDeclaration","scope":15059,"src":"514:27:76","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IAllowanceTransfer_$21003","typeString":"contract IAllowanceTransfer"},"typeName":{"id":15050,"nodeType":"UserDefinedTypeName","pathNode":{"id":15049,"name":"IAllowanceTransfer","nameLocations":["514:18:76"],"nodeType":"IdentifierPath","referencedDeclaration":21003,"src":"514:18:76"},"referencedDeclaration":21003,"src":"514:18:76","typeDescriptions":{"typeIdentifier":"t_contract$_IAllowanceTransfer_$21003","typeString":"contract IAllowanceTransfer"}},"visibility":"internal"}],"src":"513:29:76"},"returnParameters":{"id":15053,"nodeType":"ParameterList","parameters":[],"src":"543:0:76"},"scope":15124,"src":"502:76:76","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[15526],"body":{"id":15090,"nodeType":"Block","src":"806:235:76","statements":[{"clauses":[{"block":{"id":15078,"nodeType":"Block","src":"959:2:76","statements":[]},"errorName":"","id":15079,"nodeType":"TryCatchClause","src":"959:2:76"},{"block":{"id":15087,"nodeType":"Block","src":"998:37:76","statements":[{"expression":{"id":15085,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15083,"name":"err","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15070,"src":"1012:3:76","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15084,"name":"reason","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15081,"src":"1018:6:76","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1012:12:76","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":15086,"nodeType":"ExpressionStatement","src":"1012:12:76"}]},"errorName":"","id":15088,"nodeType":"TryCatchClause","parameters":{"id":15082,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15081,"mutability":"mutable","name":"reason","nameLocation":"990:6:76","nodeType":"VariableDeclaration","scope":15088,"src":"977:19:76","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":15080,"name":"bytes","nodeType":"ElementaryTypeName","src":"977:5:76","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"976:21:76"},"src":"970:65:76"}],"externalCall":{"arguments":[{"id":15074,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15062,"src":"927:5:76","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":15075,"name":"permitSingle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15065,"src":"934:12:76","typeDescriptions":{"typeIdentifier":"t_struct$_PermitSingle_$20880_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitSingle calldata"}},{"id":15076,"name":"signature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15067,"src":"948:9:76","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_struct$_PermitSingle_$20880_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitSingle calldata"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"id":15072,"name":"permit2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15048,"src":"912:7:76","typeDescriptions":{"typeIdentifier":"t_contract$_IAllowanceTransfer_$21003","typeString":"contract IAllowanceTransfer"}},"id":15073,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"920:6:76","memberName":"permit","nodeType":"MemberAccess","referencedDeclaration":20953,"src":"912:14:76","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_struct$_PermitSingle_$20880_memory_ptr_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (address,struct IAllowanceTransfer.PermitSingle memory,bytes memory) external"}},"id":15077,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"912:46:76","tryCall":true,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15089,"nodeType":"TryStatement","src":"908:127:76"}]},"documentation":{"id":15060,"nodeType":"StructuredDocumentation","src":"584:33:76","text":"@inheritdoc IPermit2Forwarder"},"functionSelector":"2b67b570","id":15091,"implemented":true,"kind":"function","modifiers":[],"name":"permit","nameLocation":"631:6:76","nodeType":"FunctionDefinition","parameters":{"id":15068,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15062,"mutability":"mutable","name":"owner","nameLocation":"646:5:76","nodeType":"VariableDeclaration","scope":15091,"src":"638:13:76","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15061,"name":"address","nodeType":"ElementaryTypeName","src":"638:7:76","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15065,"mutability":"mutable","name":"permitSingle","nameLocation":"694:12:76","nodeType":"VariableDeclaration","scope":15091,"src":"653:53:76","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PermitSingle_$20880_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitSingle"},"typeName":{"id":15064,"nodeType":"UserDefinedTypeName","pathNode":{"id":15063,"name":"IAllowanceTransfer.PermitSingle","nameLocations":["653:18:76","672:12:76"],"nodeType":"IdentifierPath","referencedDeclaration":20880,"src":"653:31:76"},"referencedDeclaration":20880,"src":"653:31:76","typeDescriptions":{"typeIdentifier":"t_struct$_PermitSingle_$20880_storage_ptr","typeString":"struct IAllowanceTransfer.PermitSingle"}},"visibility":"internal"},{"constant":false,"id":15067,"mutability":"mutable","name":"signature","nameLocation":"723:9:76","nodeType":"VariableDeclaration","scope":15091,"src":"708:24:76","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":15066,"name":"bytes","nodeType":"ElementaryTypeName","src":"708:5:76","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"637:96:76"},"returnParameters":{"id":15071,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15070,"mutability":"mutable","name":"err","nameLocation":"797:3:76","nodeType":"VariableDeclaration","scope":15091,"src":"784:16:76","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":15069,"name":"bytes","nodeType":"ElementaryTypeName","src":"784:5:76","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"783:18:76"},"scope":15124,"src":"622:419:76","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[15539],"body":{"id":15122,"nodeType":"Block","src":"1273:235:76","statements":[{"clauses":[{"block":{"id":15110,"nodeType":"Block","src":"1426:2:76","statements":[]},"errorName":"","id":15111,"nodeType":"TryCatchClause","src":"1426:2:76"},{"block":{"id":15119,"nodeType":"Block","src":"1465:37:76","statements":[{"expression":{"id":15117,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15115,"name":"err","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15102,"src":"1479:3:76","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15116,"name":"reason","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15113,"src":"1485:6:76","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1479:12:76","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":15118,"nodeType":"ExpressionStatement","src":"1479:12:76"}]},"errorName":"","id":15120,"nodeType":"TryCatchClause","parameters":{"id":15114,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15113,"mutability":"mutable","name":"reason","nameLocation":"1457:6:76","nodeType":"VariableDeclaration","scope":15120,"src":"1444:19:76","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":15112,"name":"bytes","nodeType":"ElementaryTypeName","src":"1444:5:76","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1443:21:76"},"src":"1437:65:76"}],"externalCall":{"arguments":[{"id":15106,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15094,"src":"1394:5:76","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":15107,"name":"_permitBatch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15097,"src":"1401:12:76","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatch_$20890_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitBatch calldata"}},{"id":15108,"name":"signature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15099,"src":"1415:9:76","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_struct$_PermitBatch_$20890_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitBatch calldata"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"id":15104,"name":"permit2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15048,"src":"1379:7:76","typeDescriptions":{"typeIdentifier":"t_contract$_IAllowanceTransfer_$21003","typeString":"contract IAllowanceTransfer"}},"id":15105,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1387:6:76","memberName":"permit","nodeType":"MemberAccess","referencedDeclaration":20964,"src":"1379:14:76","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_struct$_PermitBatch_$20890_memory_ptr_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (address,struct IAllowanceTransfer.PermitBatch memory,bytes memory) external"}},"id":15109,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1379:46:76","tryCall":true,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15121,"nodeType":"TryStatement","src":"1375:127:76"}]},"documentation":{"id":15092,"nodeType":"StructuredDocumentation","src":"1047:33:76","text":"@inheritdoc IPermit2Forwarder"},"functionSelector":"002a3e3a","id":15123,"implemented":true,"kind":"function","modifiers":[],"name":"permitBatch","nameLocation":"1094:11:76","nodeType":"FunctionDefinition","parameters":{"id":15100,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15094,"mutability":"mutable","name":"owner","nameLocation":"1114:5:76","nodeType":"VariableDeclaration","scope":15123,"src":"1106:13:76","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15093,"name":"address","nodeType":"ElementaryTypeName","src":"1106:7:76","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15097,"mutability":"mutable","name":"_permitBatch","nameLocation":"1161:12:76","nodeType":"VariableDeclaration","scope":15123,"src":"1121:52:76","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatch_$20890_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitBatch"},"typeName":{"id":15096,"nodeType":"UserDefinedTypeName","pathNode":{"id":15095,"name":"IAllowanceTransfer.PermitBatch","nameLocations":["1121:18:76","1140:11:76"],"nodeType":"IdentifierPath","referencedDeclaration":20890,"src":"1121:30:76"},"referencedDeclaration":20890,"src":"1121:30:76","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatch_$20890_storage_ptr","typeString":"struct IAllowanceTransfer.PermitBatch"}},"visibility":"internal"},{"constant":false,"id":15099,"mutability":"mutable","name":"signature","nameLocation":"1190:9:76","nodeType":"VariableDeclaration","scope":15123,"src":"1175:24:76","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":15098,"name":"bytes","nodeType":"ElementaryTypeName","src":"1175:5:76","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1105:95:76"},"returnParameters":{"id":15103,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15102,"mutability":"mutable","name":"err","nameLocation":"1264:3:76","nodeType":"VariableDeclaration","scope":15123,"src":"1251:16:76","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":15101,"name":"bytes","nodeType":"ElementaryTypeName","src":"1251:5:76","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1250:18:76"},"scope":15124,"src":"1085:423:76","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":15125,"src":"341:1169:76","usedErrors":[],"usedEvents":[]}],"src":"32:1479:76"},"id":76},"@uniswap/v4-periphery/src/base/PoolInitializer_v4.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/base/PoolInitializer_v4.sol","exportedSymbols":{"IPoolInitializer_v4":[15557],"ImmutableState":[14511],"PoolInitializer_v4":[15171],"PoolKey":[11063]},"id":15172,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15126,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:77"},{"absolutePath":"@uniswap/v4-periphery/src/base/ImmutableState.sol","file":"./ImmutableState.sol","id":15128,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15172,"sourceUnit":14512,"src":"57:52:77","symbolAliases":[{"foreign":{"id":15127,"name":"ImmutableState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14511,"src":"65:14:77","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"@uniswap/v4-core/src/types/PoolKey.sol","id":15130,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15172,"sourceUnit":11064,"src":"110:63:77","symbolAliases":[{"foreign":{"id":15129,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"118:7:77","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol","file":"../interfaces/IPoolInitializer_v4.sol","id":15132,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15172,"sourceUnit":15558,"src":"174:74:77","symbolAliases":[{"foreign":{"id":15131,"name":"IPoolInitializer_v4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15557,"src":"182:19:77","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":15134,"name":"ImmutableState","nameLocations":["445:14:77"],"nodeType":"IdentifierPath","referencedDeclaration":14511,"src":"445:14:77"},"id":15135,"nodeType":"InheritanceSpecifier","src":"445:14:77"},{"baseName":{"id":15136,"name":"IPoolInitializer_v4","nameLocations":["461:19:77"],"nodeType":"IdentifierPath","referencedDeclaration":15557,"src":"461:19:77"},"id":15137,"nodeType":"InheritanceSpecifier","src":"461:19:77"}],"canonicalName":"PoolInitializer_v4","contractDependencies":[],"contractKind":"contract","documentation":{"id":15133,"nodeType":"StructuredDocumentation","src":"250:155:77","text":"@title Pool Initializer\n @notice Initializes a Uniswap v4 Pool\n @dev Enables create pool + mint liquidity in a single transaction with multicall"},"fullyImplemented":true,"id":15171,"linearizedBaseContracts":[15171,15557,14511,15406],"name":"PoolInitializer_v4","nameLocation":"423:18:77","nodeType":"ContractDefinition","nodes":[{"baseFunctions":[15556],"body":{"id":15169,"nodeType":"Block","src":"628:173:77","statements":[{"clauses":[{"block":{"id":15158,"nodeType":"Block","src":"705:36:77","statements":[{"expression":{"id":15156,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15154,"src":"726:4:77","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"functionReturnParameters":15147,"id":15157,"nodeType":"Return","src":"719:11:77"}]},"errorName":"","id":15159,"nodeType":"TryCatchClause","parameters":{"id":15155,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15154,"mutability":"mutable","name":"tick","nameLocation":"699:4:77","nodeType":"VariableDeclaration","scope":15159,"src":"693:10:77","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":15153,"name":"int24","nodeType":"ElementaryTypeName","src":"693:5:77","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"692:12:77"},"src":"684:57:77"},{"block":{"id":15166,"nodeType":"Block","src":"748:47:77","statements":[{"expression":{"expression":{"arguments":[{"id":15162,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"774:5:77","typeDescriptions":{"typeIdentifier":"t_type$_t_int24_$","typeString":"type(int24)"},"typeName":{"id":15161,"name":"int24","nodeType":"ElementaryTypeName","src":"774:5:77","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_int24_$","typeString":"type(int24)"}],"id":15160,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"769:4:77","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":15163,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"769:11:77","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_int24","typeString":"type(int24)"}},"id":15164,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"781:3:77","memberName":"max","nodeType":"MemberAccess","src":"769:15:77","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"functionReturnParameters":15147,"id":15165,"nodeType":"Return","src":"762:22:77"}]},"errorName":"","id":15167,"nodeType":"TryCatchClause","src":"742:53:77"}],"externalCall":{"arguments":[{"id":15150,"name":"key","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15141,"src":"665:3:77","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},{"id":15151,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15143,"src":"670:12:77","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":15148,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"642:11:77","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"id":15149,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"654:10:77","memberName":"initialize","nodeType":"MemberAccess","referencedDeclaration":3778,"src":"642:22:77","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint160_$returns$_t_int24_$","typeString":"function (struct PoolKey memory,uint160) external returns (int24)"}},"id":15152,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"642:41:77","tryCall":true,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":15168,"nodeType":"TryStatement","src":"638:157:77"}]},"documentation":{"id":15138,"nodeType":"StructuredDocumentation","src":"487:35:77","text":"@inheritdoc IPoolInitializer_v4"},"functionSelector":"f7020405","id":15170,"implemented":true,"kind":"function","modifiers":[],"name":"initializePool","nameLocation":"536:14:77","nodeType":"FunctionDefinition","parameters":{"id":15144,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15141,"mutability":"mutable","name":"key","nameLocation":"568:3:77","nodeType":"VariableDeclaration","scope":15170,"src":"551:20:77","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":15140,"nodeType":"UserDefinedTypeName","pathNode":{"id":15139,"name":"PoolKey","nameLocations":["551:7:77"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"551:7:77"},"referencedDeclaration":11063,"src":"551:7:77","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":15143,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"581:12:77","nodeType":"VariableDeclaration","scope":15170,"src":"573:20:77","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":15142,"name":"uint160","nodeType":"ElementaryTypeName","src":"573:7:77","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"550:44:77"},"returnParameters":{"id":15147,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15146,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15170,"src":"621:5:77","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":15145,"name":"int24","nodeType":"ElementaryTypeName","src":"621:5:77","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"620:7:77"},"scope":15171,"src":"527:274:77","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":15172,"src":"405:398:77","usedErrors":[14483],"usedEvents":[]}],"src":"32:772:77"},"id":77},"@uniswap/v4-periphery/src/base/ReentrancyLock.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/base/ReentrancyLock.sol","exportedSymbols":{"Locker":[16611],"ReentrancyLock":[15221]},"id":15222,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15173,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"32:24:78"},{"absolutePath":"@uniswap/v4-periphery/src/libraries/Locker.sol","file":"../libraries/Locker.sol","id":15175,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15222,"sourceUnit":16612,"src":"58:47:78","symbolAliases":[{"foreign":{"id":15174,"name":"Locker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16611,"src":"66:6:78","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"ReentrancyLock","contractDependencies":[],"contractKind":"contract","documentation":{"id":15176,"nodeType":"StructuredDocumentation","src":"107:86:78","text":"@notice A transient reentrancy lock, that stores the caller's address as the lock"},"fullyImplemented":true,"id":15221,"linearizedBaseContracts":[15221],"name":"ReentrancyLock","nameLocation":"202:14:78","nodeType":"ContractDefinition","nodes":[{"errorSelector":"6f5ffb7e","id":15178,"name":"ContractLocked","nameLocation":"229:14:78","nodeType":"ErrorDefinition","parameters":{"id":15177,"nodeType":"ParameterList","parameters":[],"src":"243:2:78"},"src":"223:23:78"},{"body":{"id":15209,"nodeType":"Block","src":"275:147:78","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":15187,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":15180,"name":"Locker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16611,"src":"289:6:78","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Locker_$16611_$","typeString":"type(library Locker)"}},"id":15181,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"296:3:78","memberName":"get","nodeType":"MemberAccess","referencedDeclaration":16610,"src":"289:10:78","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":15182,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"289:12:78","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":15185,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"313:1:78","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":15184,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"305:7:78","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":15183,"name":"address","nodeType":"ElementaryTypeName","src":"305:7:78","typeDescriptions":{}}},"id":15186,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"305:10:78","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"289:26:78","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15191,"nodeType":"IfStatement","src":"285:55:78","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":15188,"name":"ContractLocked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15178,"src":"324:14:78","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":15189,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"324:16:78","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":15190,"nodeType":"RevertStatement","src":"317:23:78"}},{"expression":{"arguments":[{"expression":{"id":15195,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"361:3:78","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":15196,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"365:6:78","memberName":"sender","nodeType":"MemberAccess","src":"361:10:78","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":15192,"name":"Locker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16611,"src":"350:6:78","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Locker_$16611_$","typeString":"type(library Locker)"}},"id":15194,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"357:3:78","memberName":"set","nodeType":"MemberAccess","referencedDeclaration":16603,"src":"350:10:78","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":15197,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"350:22:78","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15198,"nodeType":"ExpressionStatement","src":"350:22:78"},{"id":15199,"nodeType":"PlaceholderStatement","src":"382:1:78"},{"expression":{"arguments":[{"arguments":[{"hexValue":"30","id":15205,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"412:1:78","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":15204,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"404:7:78","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":15203,"name":"address","nodeType":"ElementaryTypeName","src":"404:7:78","typeDescriptions":{}}},"id":15206,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"404:10:78","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":15200,"name":"Locker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16611,"src":"393:6:78","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Locker_$16611_$","typeString":"type(library Locker)"}},"id":15202,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"400:3:78","memberName":"set","nodeType":"MemberAccess","referencedDeclaration":16603,"src":"393:10:78","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":15207,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"393:22:78","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15208,"nodeType":"ExpressionStatement","src":"393:22:78"}]},"id":15210,"name":"isNotLocked","nameLocation":"261:11:78","nodeType":"ModifierDefinition","parameters":{"id":15179,"nodeType":"ParameterList","parameters":[],"src":"272:2:78"},"src":"252:170:78","virtual":false,"visibility":"internal"},{"body":{"id":15219,"nodeType":"Block","src":"482:36:78","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":15215,"name":"Locker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16611,"src":"499:6:78","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Locker_$16611_$","typeString":"type(library Locker)"}},"id":15216,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"506:3:78","memberName":"get","nodeType":"MemberAccess","referencedDeclaration":16610,"src":"499:10:78","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":15217,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"499:12:78","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":15214,"id":15218,"nodeType":"Return","src":"492:19:78"}]},"id":15220,"implemented":true,"kind":"function","modifiers":[],"name":"_getLocker","nameLocation":"437:10:78","nodeType":"FunctionDefinition","parameters":{"id":15211,"nodeType":"ParameterList","parameters":[],"src":"447:2:78"},"returnParameters":{"id":15214,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15213,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15220,"src":"473:7:78","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15212,"name":"address","nodeType":"ElementaryTypeName","src":"473:7:78","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"472:9:78"},"scope":15221,"src":"428:90:78","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":15222,"src":"193:327:78","usedErrors":[15178],"usedEvents":[]}],"src":"32:489:78"},"id":78},"@uniswap/v4-periphery/src/base/SafeCallback.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/base/SafeCallback.sol","exportedSymbols":{"IPoolManager":[3917],"IUnlockCallback":[4006],"ImmutableState":[14511],"SafeCallback":[15268]},"id":15269,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15223,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:79"},{"absolutePath":"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol","file":"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol","id":15225,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15269,"sourceUnit":4007,"src":"57:93:79","symbolAliases":[{"foreign":{"id":15224,"name":"IUnlockCallback","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4006,"src":"65:15:79","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","id":15227,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15269,"sourceUnit":3918,"src":"151:78:79","symbolAliases":[{"foreign":{"id":15226,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"159:12:79","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/base/ImmutableState.sol","file":"./ImmutableState.sol","id":15229,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15269,"sourceUnit":14512,"src":"230:52:79","symbolAliases":[{"foreign":{"id":15228,"name":"ImmutableState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14511,"src":"238:14:79","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":15231,"name":"ImmutableState","nameLocations":["437:14:79"],"nodeType":"IdentifierPath","referencedDeclaration":14511,"src":"437:14:79"},"id":15232,"nodeType":"InheritanceSpecifier","src":"437:14:79"},{"baseName":{"id":15233,"name":"IUnlockCallback","nameLocations":["453:15:79"],"nodeType":"IdentifierPath","referencedDeclaration":4006,"src":"453:15:79"},"id":15234,"nodeType":"InheritanceSpecifier","src":"453:15:79"}],"canonicalName":"SafeCallback","contractDependencies":[],"contractKind":"contract","documentation":{"id":15230,"nodeType":"StructuredDocumentation","src":"284:119:79","text":"@title Safe Callback\n @notice A contract that only allows the Uniswap v4 PoolManager to call the unlockCallback"},"fullyImplemented":false,"id":15268,"linearizedBaseContracts":[15268,4006,14511,15406],"name":"SafeCallback","nameLocation":"421:12:79","nodeType":"ContractDefinition","nodes":[{"body":{"id":15243,"nodeType":"Block","src":"543:2:79","statements":[]},"id":15244,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":15240,"name":"_poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15237,"src":"529:12:79","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}],"id":15241,"kind":"baseConstructorSpecifier","modifierName":{"id":15239,"name":"ImmutableState","nameLocations":["514:14:79"],"nodeType":"IdentifierPath","referencedDeclaration":14511,"src":"514:14:79"},"nodeType":"ModifierInvocation","src":"514:28:79"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":15238,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15237,"mutability":"mutable","name":"_poolManager","nameLocation":"500:12:79","nodeType":"VariableDeclaration","scope":15244,"src":"487:25:79","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":15236,"nodeType":"UserDefinedTypeName","pathNode":{"id":15235,"name":"IPoolManager","nameLocations":["487:12:79"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"487:12:79"},"referencedDeclaration":3917,"src":"487:12:79","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"}],"src":"486:27:79"},"returnParameters":{"id":15242,"nodeType":"ParameterList","parameters":[],"src":"543:0:79"},"scope":15268,"src":"475:70:79","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[4005],"body":{"id":15258,"nodeType":"Block","src":"795:45:79","statements":[{"expression":{"arguments":[{"id":15255,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15247,"src":"828:4:79","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":15254,"name":"_unlockCallback","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15267,"src":"812:15:79","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes_calldata_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes calldata) returns (bytes memory)"}},"id":15256,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"812:21:79","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":15253,"id":15257,"nodeType":"Return","src":"805:28:79"}]},"documentation":{"id":15245,"nodeType":"StructuredDocumentation","src":"551:146:79","text":"@inheritdoc IUnlockCallback\n @dev We force the onlyPoolManager modifier by exposing a virtual function after the onlyPoolManager check."},"functionSelector":"91dd7346","id":15259,"implemented":true,"kind":"function","modifiers":[{"id":15250,"kind":"modifierInvocation","modifierName":{"id":15249,"name":"onlyPoolManager","nameLocations":["756:15:79"],"nodeType":"IdentifierPath","referencedDeclaration":14499,"src":"756:15:79"},"nodeType":"ModifierInvocation","src":"756:15:79"}],"name":"unlockCallback","nameLocation":"711:14:79","nodeType":"FunctionDefinition","parameters":{"id":15248,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15247,"mutability":"mutable","name":"data","nameLocation":"741:4:79","nodeType":"VariableDeclaration","scope":15259,"src":"726:19:79","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":15246,"name":"bytes","nodeType":"ElementaryTypeName","src":"726:5:79","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"725:21:79"},"returnParameters":{"id":15253,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15252,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15259,"src":"781:12:79","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":15251,"name":"bytes","nodeType":"ElementaryTypeName","src":"781:5:79","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"780:14:79"},"scope":15268,"src":"702:138:79","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":15260,"nodeType":"StructuredDocumentation","src":"846:115:79","text":"@dev to be implemented by the child contract, to safely guarantee the logic is only executed by the PoolManager"},"id":15267,"implemented":false,"kind":"function","modifiers":[],"name":"_unlockCallback","nameLocation":"975:15:79","nodeType":"FunctionDefinition","parameters":{"id":15263,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15262,"mutability":"mutable","name":"data","nameLocation":"1006:4:79","nodeType":"VariableDeclaration","scope":15267,"src":"991:19:79","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":15261,"name":"bytes","nodeType":"ElementaryTypeName","src":"991:5:79","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"990:21:79"},"returnParameters":{"id":15266,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15265,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15267,"src":"1038:12:79","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":15264,"name":"bytes","nodeType":"ElementaryTypeName","src":"1038:5:79","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1037:14:79"},"scope":15268,"src":"966:86:79","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":15269,"src":"403:651:79","usedErrors":[14483],"usedEvents":[]}],"src":"32:1023:79"},"id":79},"@uniswap/v4-periphery/src/base/UnorderedNonce.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/base/UnorderedNonce.sol","exportedSymbols":{"IUnorderedNonce":[15792],"UnorderedNonce":[15343]},"id":15344,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15270,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:80"},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol","file":"../interfaces/IUnorderedNonce.sol","id":15272,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15344,"sourceUnit":15793,"src":"57:66:80","symbolAliases":[{"foreign":{"id":15271,"name":"IUnorderedNonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15792,"src":"65:15:80","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":15274,"name":"IUnorderedNonce","nameLocations":["259:15:80"],"nodeType":"IdentifierPath","referencedDeclaration":15792,"src":"259:15:80"},"id":15275,"nodeType":"InheritanceSpecifier","src":"259:15:80"}],"canonicalName":"UnorderedNonce","contractDependencies":[],"contractKind":"contract","documentation":{"id":15273,"nodeType":"StructuredDocumentation","src":"125:107:80","text":"@title Unordered Nonce\n @notice Contract state and methods for using unordered nonces in signatures"},"fullyImplemented":true,"id":15343,"linearizedBaseContracts":[15343,15792],"name":"UnorderedNonce","nameLocation":"241:14:80","nodeType":"ContractDefinition","nodes":[{"baseFunctions":[15785],"constant":false,"documentation":{"id":15276,"nodeType":"StructuredDocumentation","src":"281:31:80","text":"@inheritdoc IUnorderedNonce"},"functionSelector":"502e1a16","id":15282,"mutability":"mutable","name":"nonces","nameLocation":"390:6:80","nodeType":"VariableDeclaration","scope":15343,"src":"317:79:80","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"},"typeName":{"id":15281,"keyName":"owner","keyNameLocation":"333:5:80","keyType":{"id":15277,"name":"address","nodeType":"ElementaryTypeName","src":"325:7:80","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"317:65:80","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":15280,"keyName":"word","keyNameLocation":"358:4:80","keyType":{"id":15278,"name":"uint256","nodeType":"ElementaryTypeName","src":"350:7:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"342:39:80","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"},"valueName":"bitmap","valueNameLocation":"374:6:80","valueType":{"id":15279,"name":"uint256","nodeType":"ElementaryTypeName","src":"366:7:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}}},"visibility":"public"},{"body":{"id":15328,"nodeType":"Block","src":"728:236:80","statements":[{"assignments":[15291],"declarations":[{"constant":false,"id":15291,"mutability":"mutable","name":"wordPos","nameLocation":"746:7:80","nodeType":"VariableDeclaration","scope":15328,"src":"738:15:80","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15290,"name":"uint256","nodeType":"ElementaryTypeName","src":"738:7:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15295,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15294,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15292,"name":"nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15287,"src":"756:5:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"38","id":15293,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"765:1:80","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"756:10:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"738:28:80"},{"assignments":[15297],"declarations":[{"constant":false,"id":15297,"mutability":"mutable","name":"bitPos","nameLocation":"784:6:80","nodeType":"VariableDeclaration","scope":15328,"src":"776:14:80","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15296,"name":"uint256","nodeType":"ElementaryTypeName","src":"776:7:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15302,"initialValue":{"arguments":[{"id":15300,"name":"nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15287,"src":"799:5:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":15299,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"793:5:80","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":15298,"name":"uint8","nodeType":"ElementaryTypeName","src":"793:5:80","typeDescriptions":{}}},"id":15301,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"793:12:80","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"776:29:80"},{"assignments":[15304],"declarations":[{"constant":false,"id":15304,"mutability":"mutable","name":"bit","nameLocation":"824:3:80","nodeType":"VariableDeclaration","scope":15328,"src":"816:11:80","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15303,"name":"uint256","nodeType":"ElementaryTypeName","src":"816:7:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15308,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":15305,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"830:1:80","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"id":15306,"name":"bitPos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15297,"src":"835:6:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"830:11:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"816:25:80"},{"assignments":[15310],"declarations":[{"constant":false,"id":15310,"mutability":"mutable","name":"flipped","nameLocation":"859:7:80","nodeType":"VariableDeclaration","scope":15328,"src":"851:15:80","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15309,"name":"uint256","nodeType":"ElementaryTypeName","src":"851:7:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15318,"initialValue":{"id":15317,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":15311,"name":"nonces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15282,"src":"869:6:80","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_uint256_$_t_uint256_$_$","typeString":"mapping(address => mapping(uint256 => uint256))"}},"id":15313,"indexExpression":{"id":15312,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15285,"src":"876:5:80","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"869:13:80","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":15315,"indexExpression":{"id":15314,"name":"wordPos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15291,"src":"883:7:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"869:22:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"^=","rightHandSide":{"id":15316,"name":"bit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15304,"src":"895:3:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"869:29:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"851:47:80"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15323,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15319,"name":"flipped","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15310,"src":"912:7:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":15320,"name":"bit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15304,"src":"922:3:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"912:13:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":15322,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"929:1:80","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"912:18:80","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15327,"nodeType":"IfStatement","src":"908:49:80","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":15324,"name":"NonceAlreadyUsed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15775,"src":"939:16:80","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":15325,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"939:18:80","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":15326,"nodeType":"RevertStatement","src":"932:25:80"}}]},"documentation":{"id":15283,"nodeType":"StructuredDocumentation","src":"403:253:80","text":"@notice Consume a nonce, reverting if it has already been used\n @param owner address, the owner/signer of the nonce\n @param nonce uint256, the nonce to consume. The top 248 bits are the word, the bottom 8 bits indicate the bit position"},"id":15329,"implemented":true,"kind":"function","modifiers":[],"name":"_useUnorderedNonce","nameLocation":"670:18:80","nodeType":"FunctionDefinition","parameters":{"id":15288,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15285,"mutability":"mutable","name":"owner","nameLocation":"697:5:80","nodeType":"VariableDeclaration","scope":15329,"src":"689:13:80","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15284,"name":"address","nodeType":"ElementaryTypeName","src":"689:7:80","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15287,"mutability":"mutable","name":"nonce","nameLocation":"712:5:80","nodeType":"VariableDeclaration","scope":15329,"src":"704:13:80","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15286,"name":"uint256","nodeType":"ElementaryTypeName","src":"704:7:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"688:30:80"},"returnParameters":{"id":15289,"nodeType":"ParameterList","parameters":[],"src":"728:0:80"},"scope":15343,"src":"661:303:80","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[15791],"body":{"id":15341,"nodeType":"Block","src":"1059:54:80","statements":[{"expression":{"arguments":[{"expression":{"id":15336,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1088:3:80","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":15337,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1092:6:80","memberName":"sender","nodeType":"MemberAccess","src":"1088:10:80","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":15338,"name":"nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15332,"src":"1100:5:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":15335,"name":"_useUnorderedNonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15329,"src":"1069:18:80","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":15339,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1069:37:80","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15340,"nodeType":"ExpressionStatement","src":"1069:37:80"}]},"documentation":{"id":15330,"nodeType":"StructuredDocumentation","src":"970:31:80","text":"@inheritdoc IUnorderedNonce"},"functionSelector":"05c1ee20","id":15342,"implemented":true,"kind":"function","modifiers":[],"name":"revokeNonce","nameLocation":"1015:11:80","nodeType":"FunctionDefinition","parameters":{"id":15333,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15332,"mutability":"mutable","name":"nonce","nameLocation":"1035:5:80","nodeType":"VariableDeclaration","scope":15342,"src":"1027:13:80","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15331,"name":"uint256","nodeType":"ElementaryTypeName","src":"1027:7:80","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1026:15:80"},"returnParameters":{"id":15334,"nodeType":"ParameterList","parameters":[],"src":"1059:0:80"},"scope":15343,"src":"1006:107:80","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":15344,"src":"232:883:80","usedErrors":[15775],"usedEvents":[]}],"src":"32:1084:80"},"id":80},"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol","exportedSymbols":{"IEIP712_v4":[15353]},"id":15354,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15345,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:81"},{"abstract":false,"baseContracts":[],"canonicalName":"IEIP712_v4","contractDependencies":[],"contractKind":"interface","documentation":{"id":15346,"nodeType":"StructuredDocumentation","src":"57:68:81","text":"@title IEIP712_v4\n @notice Interface for the EIP712 contract"},"fullyImplemented":false,"id":15353,"linearizedBaseContracts":[15353],"name":"IEIP712_v4","nameLocation":"135:10:81","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":15347,"nodeType":"StructuredDocumentation","src":"152:108:81","text":"@notice Returns the domain separator for the current chain.\n @return bytes32 The domain separator"},"functionSelector":"3644e515","id":15352,"implemented":false,"kind":"function","modifiers":[],"name":"DOMAIN_SEPARATOR","nameLocation":"274:16:81","nodeType":"FunctionDefinition","parameters":{"id":15348,"nodeType":"ParameterList","parameters":[],"src":"290:2:81"},"returnParameters":{"id":15351,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15350,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15352,"src":"316:7:81","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15349,"name":"bytes32","nodeType":"ElementaryTypeName","src":"316:7:81","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"315:9:81"},"scope":15353,"src":"265:60:81","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":15354,"src":"125:202:81","usedErrors":[],"usedEvents":[]}],"src":"32:296:81"},"id":81},"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol","exportedSymbols":{"IERC721Permit_v4":[15393]},"id":15394,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15355,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:82"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC721Permit_v4","contractDependencies":[],"contractKind":"interface","documentation":{"id":15356,"nodeType":"StructuredDocumentation","src":"57:83:82","text":"@title IERC721Permit_v4\n @notice Interface for the ERC721Permit_v4 contract"},"fullyImplemented":false,"id":15393,"linearizedBaseContracts":[15393],"name":"IERC721Permit_v4","nameLocation":"150:16:82","nodeType":"ContractDefinition","nodes":[{"errorSelector":"5a9165ff","id":15358,"name":"SignatureDeadlineExpired","nameLocation":"179:24:82","nodeType":"ErrorDefinition","parameters":{"id":15357,"nodeType":"ParameterList","parameters":[],"src":"203:2:82"},"src":"173:33:82"},{"errorSelector":"80e05c00","id":15360,"name":"NoSelfPermit","nameLocation":"217:12:82","nodeType":"ErrorDefinition","parameters":{"id":15359,"nodeType":"ParameterList","parameters":[],"src":"229:2:82"},"src":"211:21:82"},{"errorSelector":"82b42900","id":15362,"name":"Unauthorized","nameLocation":"243:12:82","nodeType":"ErrorDefinition","parameters":{"id":15361,"nodeType":"ParameterList","parameters":[],"src":"255:2:82"},"src":"237:21:82"},{"documentation":{"id":15363,"nodeType":"StructuredDocumentation","src":"264:720:82","text":"@notice Approve of a specific token ID for spending by spender via signature\n @param spender The account that is being approved\n @param tokenId The ID of the token that is being approved for spending\n @param deadline The deadline timestamp by which the call must be mined for the approve to work\n @param nonce a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\n @param signature Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\n @dev payable so it can be multicalled with NATIVE related actions"},"functionSelector":"0f5730f1","id":15376,"implemented":false,"kind":"function","modifiers":[],"name":"permit","nameLocation":"998:6:82","nodeType":"FunctionDefinition","parameters":{"id":15374,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15365,"mutability":"mutable","name":"spender","nameLocation":"1013:7:82","nodeType":"VariableDeclaration","scope":15376,"src":"1005:15:82","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15364,"name":"address","nodeType":"ElementaryTypeName","src":"1005:7:82","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15367,"mutability":"mutable","name":"tokenId","nameLocation":"1030:7:82","nodeType":"VariableDeclaration","scope":15376,"src":"1022:15:82","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15366,"name":"uint256","nodeType":"ElementaryTypeName","src":"1022:7:82","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15369,"mutability":"mutable","name":"deadline","nameLocation":"1047:8:82","nodeType":"VariableDeclaration","scope":15376,"src":"1039:16:82","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15368,"name":"uint256","nodeType":"ElementaryTypeName","src":"1039:7:82","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15371,"mutability":"mutable","name":"nonce","nameLocation":"1065:5:82","nodeType":"VariableDeclaration","scope":15376,"src":"1057:13:82","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15370,"name":"uint256","nodeType":"ElementaryTypeName","src":"1057:7:82","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15373,"mutability":"mutable","name":"signature","nameLocation":"1087:9:82","nodeType":"VariableDeclaration","scope":15376,"src":"1072:24:82","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":15372,"name":"bytes","nodeType":"ElementaryTypeName","src":"1072:5:82","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1004:93:82"},"returnParameters":{"id":15375,"nodeType":"ParameterList","parameters":[],"src":"1130:0:82"},"scope":15393,"src":"989:142:82","stateMutability":"payable","virtual":false,"visibility":"external"},{"documentation":{"id":15377,"nodeType":"StructuredDocumentation","src":"1137:792:82","text":"@notice Set an operator with full permission to an owner's tokens via signature\n @param owner The address that is setting the operator\n @param operator The address that will be set as an operator for the owner\n @param approved The permission to set on the operator\n @param deadline The deadline timestamp by which the call must be mined for the approve to work\n @param nonce a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\n @param signature Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\n @dev payable so it can be multicalled with NATIVE related actions"},"functionSelector":"3aea60f0","id":15392,"implemented":false,"kind":"function","modifiers":[],"name":"permitForAll","nameLocation":"1943:12:82","nodeType":"FunctionDefinition","parameters":{"id":15390,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15379,"mutability":"mutable","name":"owner","nameLocation":"1973:5:82","nodeType":"VariableDeclaration","scope":15392,"src":"1965:13:82","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15378,"name":"address","nodeType":"ElementaryTypeName","src":"1965:7:82","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15381,"mutability":"mutable","name":"operator","nameLocation":"1996:8:82","nodeType":"VariableDeclaration","scope":15392,"src":"1988:16:82","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15380,"name":"address","nodeType":"ElementaryTypeName","src":"1988:7:82","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15383,"mutability":"mutable","name":"approved","nameLocation":"2019:8:82","nodeType":"VariableDeclaration","scope":15392,"src":"2014:13:82","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":15382,"name":"bool","nodeType":"ElementaryTypeName","src":"2014:4:82","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":15385,"mutability":"mutable","name":"deadline","nameLocation":"2045:8:82","nodeType":"VariableDeclaration","scope":15392,"src":"2037:16:82","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15384,"name":"uint256","nodeType":"ElementaryTypeName","src":"2037:7:82","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15387,"mutability":"mutable","name":"nonce","nameLocation":"2071:5:82","nodeType":"VariableDeclaration","scope":15392,"src":"2063:13:82","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15386,"name":"uint256","nodeType":"ElementaryTypeName","src":"2063:7:82","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15389,"mutability":"mutable","name":"signature","nameLocation":"2101:9:82","nodeType":"VariableDeclaration","scope":15392,"src":"2086:24:82","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":15388,"name":"bytes","nodeType":"ElementaryTypeName","src":"2086:5:82","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1955:161:82"},"returnParameters":{"id":15391,"nodeType":"ParameterList","parameters":[],"src":"2133:0:82"},"scope":15393,"src":"1934:200:82","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":15394,"src":"140:1996:82","usedErrors":[15358,15360,15362],"usedEvents":[]}],"src":"32:2105:82"},"id":82},"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol","exportedSymbols":{"IImmutableState":[15406],"IPoolManager":[3917]},"id":15407,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15395,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:83"},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","id":15397,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15407,"sourceUnit":3918,"src":"57:78:83","symbolAliases":[{"foreign":{"id":15396,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"65:12:83","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"IImmutableState","contractDependencies":[],"contractKind":"interface","documentation":{"id":15398,"nodeType":"StructuredDocumentation","src":"137:81:83","text":"@title IImmutableState\n @notice Interface for the ImmutableState contract"},"fullyImplemented":false,"id":15406,"linearizedBaseContracts":[15406],"name":"IImmutableState","nameLocation":"228:15:83","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":15399,"nodeType":"StructuredDocumentation","src":"250:47:83","text":"@notice The Uniswap v4 PoolManager contract"},"functionSelector":"dc4c90d3","id":15405,"implemented":false,"kind":"function","modifiers":[],"name":"poolManager","nameLocation":"311:11:83","nodeType":"FunctionDefinition","parameters":{"id":15400,"nodeType":"ParameterList","parameters":[],"src":"322:2:83"},"returnParameters":{"id":15404,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15403,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15405,"src":"348:12:83","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":15402,"nodeType":"UserDefinedTypeName","pathNode":{"id":15401,"name":"IPoolManager","nameLocations":["348:12:83"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"348:12:83"},"referencedDeclaration":3917,"src":"348:12:83","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"}],"src":"347:14:83"},"scope":15406,"src":"302:60:83","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":15407,"src":"218:146:83","usedErrors":[],"usedEvents":[]}],"src":"32:333:83"},"id":83},"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol","exportedSymbols":{"IMulticall_v4":[15420]},"id":15421,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15408,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:84"},{"abstract":false,"baseContracts":[],"canonicalName":"IMulticall_v4","contractDependencies":[],"contractKind":"interface","documentation":{"id":15409,"nodeType":"StructuredDocumentation","src":"57:77:84","text":"@title IMulticall_v4\n @notice Interface for the Multicall_v4 contract"},"fullyImplemented":false,"id":15420,"linearizedBaseContracts":[15420],"name":"IMulticall_v4","nameLocation":"144:13:84","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":15410,"nodeType":"StructuredDocumentation","src":"164:510:84","text":"@notice Call multiple functions in the current contract and return the data from all of them if they all succeed\n @dev The `msg.value` is passed onto all subcalls, even if a previous subcall has consumed the ether.\n Subcalls can instead use `address(this).value` to see the available ETH, and consume it using {value: x}.\n @param data The encoded function data for each of the calls to make to this contract\n @return results The results from each of the calls passed in via data"},"functionSelector":"ac9650d8","id":15419,"implemented":false,"kind":"function","modifiers":[],"name":"multicall","nameLocation":"688:9:84","nodeType":"FunctionDefinition","parameters":{"id":15414,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15413,"mutability":"mutable","name":"data","nameLocation":"715:4:84","nodeType":"VariableDeclaration","scope":15419,"src":"698:21:84","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":15411,"name":"bytes","nodeType":"ElementaryTypeName","src":"698:5:84","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":15412,"nodeType":"ArrayTypeName","src":"698:7:84","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"src":"697:23:84"},"returnParameters":{"id":15418,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15417,"mutability":"mutable","name":"results","nameLocation":"762:7:84","nodeType":"VariableDeclaration","scope":15419,"src":"747:22:84","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":15415,"name":"bytes","nodeType":"ElementaryTypeName","src":"747:5:84","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":15416,"nodeType":"ArrayTypeName","src":"747:7:84","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"src":"746:24:84"},"scope":15420,"src":"679:92:84","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":15421,"src":"134:639:84","usedErrors":[],"usedEvents":[]}],"src":"32:742:84"},"id":84},"@uniswap/v4-periphery/src/interfaces/INotifier.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/interfaces/INotifier.sol","exportedSymbols":{"INotifier":[15508],"ISubscriber":[15770]},"id":15509,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15422,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:85"},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol","file":"./ISubscriber.sol","id":15424,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15509,"sourceUnit":15771,"src":"57:46:85","symbolAliases":[{"foreign":{"id":15423,"name":"ISubscriber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15770,"src":"65:11:85","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"INotifier","contractDependencies":[],"contractKind":"interface","documentation":{"id":15425,"nodeType":"StructuredDocumentation","src":"105:69:85","text":"@title INotifier\n @notice Interface for the Notifier contract"},"fullyImplemented":false,"id":15508,"linearizedBaseContracts":[15508],"name":"INotifier","nameLocation":"184:9:85","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":15426,"nodeType":"StructuredDocumentation","src":"200:58:85","text":"@notice Thrown when unsubscribing without a subscriber"},"errorSelector":"237e6c28","id":15428,"name":"NotSubscribed","nameLocation":"269:13:85","nodeType":"ErrorDefinition","parameters":{"id":15427,"nodeType":"ParameterList","parameters":[],"src":"282:2:85"},"src":"263:22:85"},{"documentation":{"id":15429,"nodeType":"StructuredDocumentation","src":"290:55:85","text":"@notice Thrown when a subscriber does not have code"},"errorSelector":"7c402b21","id":15431,"name":"NoCodeSubscriber","nameLocation":"356:16:85","nodeType":"ErrorDefinition","parameters":{"id":15430,"nodeType":"ParameterList","parameters":[],"src":"372:2:85"},"src":"350:25:85"},{"documentation":{"id":15432,"nodeType":"StructuredDocumentation","src":"380:101:85","text":"@notice Thrown when a user specifies a gas limit too low to avoid valid unsubscribe notifications"},"errorSelector":"ed43c3a6","id":15434,"name":"GasLimitTooLow","nameLocation":"492:14:85","nodeType":"ErrorDefinition","parameters":{"id":15433,"nodeType":"ParameterList","parameters":[],"src":"506:2:85"},"src":"486:23:85"},{"documentation":{"id":15435,"nodeType":"StructuredDocumentation","src":"514:91:85","text":"@notice Wraps the revert message of the subscriber contract on a reverting subscription"},"errorSelector":"81ea5e9e","id":15441,"name":"SubscriptionReverted","nameLocation":"616:20:85","nodeType":"ErrorDefinition","parameters":{"id":15440,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15437,"mutability":"mutable","name":"subscriber","nameLocation":"645:10:85","nodeType":"VariableDeclaration","scope":15441,"src":"637:18:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15436,"name":"address","nodeType":"ElementaryTypeName","src":"637:7:85","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15439,"mutability":"mutable","name":"reason","nameLocation":"663:6:85","nodeType":"VariableDeclaration","scope":15441,"src":"657:12:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":15438,"name":"bytes","nodeType":"ElementaryTypeName","src":"657:5:85","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"636:34:85"},"src":"610:61:85"},{"documentation":{"id":15442,"nodeType":"StructuredDocumentation","src":"676:108:85","text":"@notice Wraps the revert message of the subscriber contract on a reverting modify liquidity notification"},"errorSelector":"e94f10e2","id":15448,"name":"ModifyLiquidityNotificationReverted","nameLocation":"795:35:85","nodeType":"ErrorDefinition","parameters":{"id":15447,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15444,"mutability":"mutable","name":"subscriber","nameLocation":"839:10:85","nodeType":"VariableDeclaration","scope":15448,"src":"831:18:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15443,"name":"address","nodeType":"ElementaryTypeName","src":"831:7:85","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15446,"mutability":"mutable","name":"reason","nameLocation":"857:6:85","nodeType":"VariableDeclaration","scope":15448,"src":"851:12:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":15445,"name":"bytes","nodeType":"ElementaryTypeName","src":"851:5:85","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"830:34:85"},"src":"789:76:85"},{"documentation":{"id":15449,"nodeType":"StructuredDocumentation","src":"870:96:85","text":"@notice Wraps the revert message of the subscriber contract on a reverting burn notification"},"errorSelector":"ace94481","id":15455,"name":"BurnNotificationReverted","nameLocation":"977:24:85","nodeType":"ErrorDefinition","parameters":{"id":15454,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15451,"mutability":"mutable","name":"subscriber","nameLocation":"1010:10:85","nodeType":"VariableDeclaration","scope":15455,"src":"1002:18:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15450,"name":"address","nodeType":"ElementaryTypeName","src":"1002:7:85","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15453,"mutability":"mutable","name":"reason","nameLocation":"1028:6:85","nodeType":"VariableDeclaration","scope":15455,"src":"1022:12:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":15452,"name":"bytes","nodeType":"ElementaryTypeName","src":"1022:5:85","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1001:34:85"},"src":"971:65:85"},{"documentation":{"id":15456,"nodeType":"StructuredDocumentation","src":"1041:58:85","text":"@notice Thrown when a tokenId already has a subscriber"},"errorSelector":"25fbd8be","id":15462,"name":"AlreadySubscribed","nameLocation":"1110:17:85","nodeType":"ErrorDefinition","parameters":{"id":15461,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15458,"mutability":"mutable","name":"tokenId","nameLocation":"1136:7:85","nodeType":"VariableDeclaration","scope":15462,"src":"1128:15:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15457,"name":"uint256","nodeType":"ElementaryTypeName","src":"1128:7:85","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15460,"mutability":"mutable","name":"subscriber","nameLocation":"1153:10:85","nodeType":"VariableDeclaration","scope":15462,"src":"1145:18:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15459,"name":"address","nodeType":"ElementaryTypeName","src":"1145:7:85","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1127:37:85"},"src":"1104:61:85"},{"anonymous":false,"documentation":{"id":15463,"nodeType":"StructuredDocumentation","src":"1171:53:85","text":"@notice Emitted on a successful call to subscribe"},"eventSelector":"9709492381f90bdc5938bb4e3b8e35b7e0eac8af058619e27191c5a40ce79fa9","id":15469,"name":"Subscription","nameLocation":"1235:12:85","nodeType":"EventDefinition","parameters":{"id":15468,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15465,"indexed":true,"mutability":"mutable","name":"tokenId","nameLocation":"1264:7:85","nodeType":"VariableDeclaration","scope":15469,"src":"1248:23:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15464,"name":"uint256","nodeType":"ElementaryTypeName","src":"1248:7:85","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15467,"indexed":true,"mutability":"mutable","name":"subscriber","nameLocation":"1289:10:85","nodeType":"VariableDeclaration","scope":15469,"src":"1273:26:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15466,"name":"address","nodeType":"ElementaryTypeName","src":"1273:7:85","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1247:53:85"},"src":"1229:72:85"},{"anonymous":false,"documentation":{"id":15470,"nodeType":"StructuredDocumentation","src":"1306:55:85","text":"@notice Emitted on a successful call to unsubscribe"},"eventSelector":"a0ebb1de82db929a9153472f37d3a66dbede4436258311ad0f52a35a2c91d150","id":15476,"name":"Unsubscription","nameLocation":"1372:14:85","nodeType":"EventDefinition","parameters":{"id":15475,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15472,"indexed":true,"mutability":"mutable","name":"tokenId","nameLocation":"1403:7:85","nodeType":"VariableDeclaration","scope":15476,"src":"1387:23:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15471,"name":"uint256","nodeType":"ElementaryTypeName","src":"1387:7:85","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15474,"indexed":true,"mutability":"mutable","name":"subscriber","nameLocation":"1428:10:85","nodeType":"VariableDeclaration","scope":15476,"src":"1412:26:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15473,"name":"address","nodeType":"ElementaryTypeName","src":"1412:7:85","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1386:53:85"},"src":"1366:74:85"},{"documentation":{"id":15477,"nodeType":"StructuredDocumentation","src":"1446:153:85","text":"@notice Returns the subscriber for a respective position\n @param tokenId the ERC721 tokenId\n @return subscriber the subscriber contract"},"functionSelector":"16a24131","id":15485,"implemented":false,"kind":"function","modifiers":[],"name":"subscriber","nameLocation":"1613:10:85","nodeType":"FunctionDefinition","parameters":{"id":15480,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15479,"mutability":"mutable","name":"tokenId","nameLocation":"1632:7:85","nodeType":"VariableDeclaration","scope":15485,"src":"1624:15:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15478,"name":"uint256","nodeType":"ElementaryTypeName","src":"1624:7:85","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1623:17:85"},"returnParameters":{"id":15484,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15483,"mutability":"mutable","name":"subscriber","nameLocation":"1676:10:85","nodeType":"VariableDeclaration","scope":15485,"src":"1664:22:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"},"typeName":{"id":15482,"nodeType":"UserDefinedTypeName","pathNode":{"id":15481,"name":"ISubscriber","nameLocations":["1664:11:85"],"nodeType":"IdentifierPath","referencedDeclaration":15770,"src":"1664:11:85"},"referencedDeclaration":15770,"src":"1664:11:85","typeDescriptions":{"typeIdentifier":"t_contract$_ISubscriber_$15770","typeString":"contract ISubscriber"}},"visibility":"internal"}],"src":"1663:24:85"},"scope":15508,"src":"1604:84:85","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":15486,"nodeType":"StructuredDocumentation","src":"1694:486:85","text":"@notice Enables the subscriber to receive notifications for a respective position\n @param tokenId the ERC721 tokenId\n @param newSubscriber the address of the subscriber contract\n @param data caller-provided data that's forwarded to the subscriber contract\n @dev Calling subscribe when a position is already subscribed will revert\n @dev payable so it can be multicalled with NATIVE related actions\n @dev will revert if pool manager is locked"},"functionSelector":"2b9261de","id":15495,"implemented":false,"kind":"function","modifiers":[],"name":"subscribe","nameLocation":"2194:9:85","nodeType":"FunctionDefinition","parameters":{"id":15493,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15488,"mutability":"mutable","name":"tokenId","nameLocation":"2212:7:85","nodeType":"VariableDeclaration","scope":15495,"src":"2204:15:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15487,"name":"uint256","nodeType":"ElementaryTypeName","src":"2204:7:85","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15490,"mutability":"mutable","name":"newSubscriber","nameLocation":"2229:13:85","nodeType":"VariableDeclaration","scope":15495,"src":"2221:21:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15489,"name":"address","nodeType":"ElementaryTypeName","src":"2221:7:85","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15492,"mutability":"mutable","name":"data","nameLocation":"2259:4:85","nodeType":"VariableDeclaration","scope":15495,"src":"2244:19:85","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":15491,"name":"bytes","nodeType":"ElementaryTypeName","src":"2244:5:85","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2203:61:85"},"returnParameters":{"id":15494,"nodeType":"ParameterList","parameters":[],"src":"2281:0:85"},"scope":15508,"src":"2185:97:85","stateMutability":"payable","virtual":false,"visibility":"external"},{"documentation":{"id":15496,"nodeType":"StructuredDocumentation","src":"2288:579:85","text":"@notice Removes the subscriber from receiving notifications for a respective position\n @param tokenId the ERC721 tokenId\n @dev Callers must specify a high gas limit (remaining gas should be higher than unsubscriberGasLimit) such that the subscriber can be notified\n @dev payable so it can be multicalled with NATIVE related actions\n @dev Must always allow a user to unsubscribe. In the case of a malicious subscriber, a user can always unsubscribe safely, ensuring liquidity is always modifiable.\n @dev will revert if pool manager is locked"},"functionSelector":"ad0b27fb","id":15501,"implemented":false,"kind":"function","modifiers":[],"name":"unsubscribe","nameLocation":"2881:11:85","nodeType":"FunctionDefinition","parameters":{"id":15499,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15498,"mutability":"mutable","name":"tokenId","nameLocation":"2901:7:85","nodeType":"VariableDeclaration","scope":15501,"src":"2893:15:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15497,"name":"uint256","nodeType":"ElementaryTypeName","src":"2893:7:85","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2892:17:85"},"returnParameters":{"id":15500,"nodeType":"ParameterList","parameters":[],"src":"2926:0:85"},"scope":15508,"src":"2872:55:85","stateMutability":"payable","virtual":false,"visibility":"external"},{"documentation":{"id":15502,"nodeType":"StructuredDocumentation","src":"2933:196:85","text":"@notice Returns and determines the maximum allowable gas-used for notifying unsubscribe\n @return uint256 the maximum gas limit when notifying a subscriber's `notifyUnsubscribe` function"},"functionSelector":"4767565f","id":15507,"implemented":false,"kind":"function","modifiers":[],"name":"unsubscribeGasLimit","nameLocation":"3143:19:85","nodeType":"FunctionDefinition","parameters":{"id":15503,"nodeType":"ParameterList","parameters":[],"src":"3162:2:85"},"returnParameters":{"id":15506,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15505,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15507,"src":"3188:7:85","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15504,"name":"uint256","nodeType":"ElementaryTypeName","src":"3188:7:85","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3187:9:85"},"scope":15508,"src":"3134:63:85","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":15509,"src":"174:3025:85","usedErrors":[15428,15431,15434,15441,15448,15455,15462],"usedEvents":[15469,15476]}],"src":"32:3168:85"},"id":85},"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol","exportedSymbols":{"IAllowanceTransfer":[21003],"IPermit2Forwarder":[15540]},"id":15541,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15510,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:86"},{"absolutePath":"permit2/src/interfaces/IAllowanceTransfer.sol","file":"permit2/src/interfaces/IAllowanceTransfer.sol","id":15512,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15541,"sourceUnit":21004,"src":"57:81:86","symbolAliases":[{"foreign":{"id":15511,"name":"IAllowanceTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21003,"src":"65:18:86","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"IPermit2Forwarder","contractDependencies":[],"contractKind":"interface","documentation":{"id":15513,"nodeType":"StructuredDocumentation","src":"140:85:86","text":"@title IPermit2Forwarder\n @notice Interface for the Permit2Forwarder contract"},"fullyImplemented":false,"id":15540,"linearizedBaseContracts":[15540],"name":"IPermit2Forwarder","nameLocation":"235:17:86","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":15514,"nodeType":"StructuredDocumentation","src":"259:395:86","text":"@notice allows forwarding a single permit to permit2\n @dev this function is payable to allow multicall with NATIVE based actions\n @param owner the owner of the tokens\n @param permitSingle the permit data\n @param signature the signature of the permit; abi.encodePacked(r, s, v)\n @return err the error returned by a reverting permit call, empty if successful"},"functionSelector":"2b67b570","id":15526,"implemented":false,"kind":"function","modifiers":[],"name":"permit","nameLocation":"668:6:86","nodeType":"FunctionDefinition","parameters":{"id":15522,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15516,"mutability":"mutable","name":"owner","nameLocation":"683:5:86","nodeType":"VariableDeclaration","scope":15526,"src":"675:13:86","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15515,"name":"address","nodeType":"ElementaryTypeName","src":"675:7:86","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15519,"mutability":"mutable","name":"permitSingle","nameLocation":"731:12:86","nodeType":"VariableDeclaration","scope":15526,"src":"690:53:86","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PermitSingle_$20880_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitSingle"},"typeName":{"id":15518,"nodeType":"UserDefinedTypeName","pathNode":{"id":15517,"name":"IAllowanceTransfer.PermitSingle","nameLocations":["690:18:86","709:12:86"],"nodeType":"IdentifierPath","referencedDeclaration":20880,"src":"690:31:86"},"referencedDeclaration":20880,"src":"690:31:86","typeDescriptions":{"typeIdentifier":"t_struct$_PermitSingle_$20880_storage_ptr","typeString":"struct IAllowanceTransfer.PermitSingle"}},"visibility":"internal"},{"constant":false,"id":15521,"mutability":"mutable","name":"signature","nameLocation":"760:9:86","nodeType":"VariableDeclaration","scope":15526,"src":"745:24:86","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":15520,"name":"bytes","nodeType":"ElementaryTypeName","src":"745:5:86","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"674:96:86"},"returnParameters":{"id":15525,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15524,"mutability":"mutable","name":"err","nameLocation":"834:3:86","nodeType":"VariableDeclaration","scope":15526,"src":"821:16:86","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":15523,"name":"bytes","nodeType":"ElementaryTypeName","src":"821:5:86","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"820:18:86"},"scope":15540,"src":"659:180:86","stateMutability":"payable","virtual":false,"visibility":"external"},{"documentation":{"id":15527,"nodeType":"StructuredDocumentation","src":"845:398:86","text":"@notice allows forwarding batch permits to permit2\n @dev this function is payable to allow multicall with NATIVE based actions\n @param owner the owner of the tokens\n @param _permitBatch a batch of approvals\n @param signature the signature of the permit; abi.encodePacked(r, s, v)\n @return err the error returned by a reverting permit call, empty if successful"},"functionSelector":"002a3e3a","id":15539,"implemented":false,"kind":"function","modifiers":[],"name":"permitBatch","nameLocation":"1257:11:86","nodeType":"FunctionDefinition","parameters":{"id":15535,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15529,"mutability":"mutable","name":"owner","nameLocation":"1277:5:86","nodeType":"VariableDeclaration","scope":15539,"src":"1269:13:86","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15528,"name":"address","nodeType":"ElementaryTypeName","src":"1269:7:86","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15532,"mutability":"mutable","name":"_permitBatch","nameLocation":"1324:12:86","nodeType":"VariableDeclaration","scope":15539,"src":"1284:52:86","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatch_$20890_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitBatch"},"typeName":{"id":15531,"nodeType":"UserDefinedTypeName","pathNode":{"id":15530,"name":"IAllowanceTransfer.PermitBatch","nameLocations":["1284:18:86","1303:11:86"],"nodeType":"IdentifierPath","referencedDeclaration":20890,"src":"1284:30:86"},"referencedDeclaration":20890,"src":"1284:30:86","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatch_$20890_storage_ptr","typeString":"struct IAllowanceTransfer.PermitBatch"}},"visibility":"internal"},{"constant":false,"id":15534,"mutability":"mutable","name":"signature","nameLocation":"1353:9:86","nodeType":"VariableDeclaration","scope":15539,"src":"1338:24:86","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":15533,"name":"bytes","nodeType":"ElementaryTypeName","src":"1338:5:86","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1268:95:86"},"returnParameters":{"id":15538,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15537,"mutability":"mutable","name":"err","nameLocation":"1427:3:86","nodeType":"VariableDeclaration","scope":15539,"src":"1414:16:86","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":15536,"name":"bytes","nodeType":"ElementaryTypeName","src":"1414:5:86","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1413:18:86"},"scope":15540,"src":"1248:184:86","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":15541,"src":"225:1209:86","usedErrors":[],"usedEvents":[]}],"src":"32:1403:86"},"id":86},"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol","exportedSymbols":{"IPoolInitializer_v4":[15557],"PoolKey":[11063]},"id":15558,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15542,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:87"},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"@uniswap/v4-core/src/types/PoolKey.sol","id":15544,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15558,"sourceUnit":11064,"src":"57:63:87","symbolAliases":[{"foreign":{"id":15543,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"65:7:87","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"IPoolInitializer_v4","contractDependencies":[],"contractKind":"interface","documentation":{"id":15545,"nodeType":"StructuredDocumentation","src":"122:89:87","text":"@title IPoolInitializer_v4\n @notice Interface for the PoolInitializer_v4 contract"},"fullyImplemented":false,"id":15557,"linearizedBaseContracts":[15557],"name":"IPoolInitializer_v4","nameLocation":"221:19:87","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":15546,"nodeType":"StructuredDocumentation","src":"247:426:87","text":"@notice Initialize a Uniswap v4 Pool\n @dev If the pool is already initialized, this function will not revert and just return type(int24).max\n @param key The PoolKey of the pool to initialize\n @param sqrtPriceX96 The initial starting price of the pool, expressed as a sqrtPriceX96\n @return The current tick of the pool, or type(int24).max if the pool creation failed, or the pool already existed"},"functionSelector":"f7020405","id":15556,"implemented":false,"kind":"function","modifiers":[],"name":"initializePool","nameLocation":"687:14:87","nodeType":"FunctionDefinition","parameters":{"id":15552,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15549,"mutability":"mutable","name":"key","nameLocation":"719:3:87","nodeType":"VariableDeclaration","scope":15556,"src":"702:20:87","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":15548,"nodeType":"UserDefinedTypeName","pathNode":{"id":15547,"name":"PoolKey","nameLocations":["702:7:87"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"702:7:87"},"referencedDeclaration":11063,"src":"702:7:87","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":15551,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"732:12:87","nodeType":"VariableDeclaration","scope":15556,"src":"724:20:87","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":15550,"name":"uint160","nodeType":"ElementaryTypeName","src":"724:7:87","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"701:44:87"},"returnParameters":{"id":15555,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15554,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15556,"src":"772:5:87","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":15553,"name":"int24","nodeType":"ElementaryTypeName","src":"772:5:87","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"771:7:87"},"scope":15557,"src":"678:101:87","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":15558,"src":"211:570:87","usedErrors":[],"usedEvents":[]}],"src":"32:750:87"},"id":87},"@uniswap/v4-periphery/src/interfaces/IPositionDescriptor.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IPositionDescriptor.sol","exportedSymbols":{"IEIP712_v4":[15353],"IERC721Permit_v4":[15393],"IImmutableState":[15406],"IMulticall_v4":[15420],"INotifier":[15508],"IPermit2Forwarder":[15540],"IPoolInitializer_v4":[15557],"IPoolManager":[3917],"IPositionDescriptor":[15616],"IPositionManager":[15721],"IUnorderedNonce":[15792],"PoolKey":[11063],"PositionInfo":[16704]},"id":15617,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15559,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"32:24:88"},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol","file":"./IPositionManager.sol","id":15560,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15617,"sourceUnit":15722,"src":"58:32:88","symbolAliases":[],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","id":15562,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15617,"sourceUnit":3918,"src":"91:78:88","symbolAliases":[{"foreign":{"id":15561,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"99:12:88","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"IPositionDescriptor","contractDependencies":[],"contractKind":"interface","documentation":{"id":15563,"nodeType":"StructuredDocumentation","src":"171:89:88","text":"@title IPositionDescriptor\n @notice Interface for the PositionDescriptor contract"},"fullyImplemented":false,"id":15616,"linearizedBaseContracts":[15616],"name":"IPositionDescriptor","nameLocation":"270:19:88","nodeType":"ContractDefinition","nodes":[{"errorSelector":"ed15e6cf","id":15567,"name":"InvalidTokenId","nameLocation":"302:14:88","nodeType":"ErrorDefinition","parameters":{"id":15566,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15565,"mutability":"mutable","name":"tokenId","nameLocation":"325:7:88","nodeType":"VariableDeclaration","scope":15567,"src":"317:15:88","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15564,"name":"uint256","nodeType":"ElementaryTypeName","src":"317:7:88","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"316:17:88"},"src":"296:38:88"},{"documentation":{"id":15568,"nodeType":"StructuredDocumentation","src":"340:390:88","text":"@notice Produces the URI describing a particular token ID\n @dev Note this URI may be a data: URI with the JSON contents directly inlined\n @param positionManager The position manager for which to describe the token\n @param tokenId The ID of the token for which to produce a description, which may not be valid\n @return The URI of the ERC721-compliant metadata"},"functionSelector":"e9dc6375","id":15578,"implemented":false,"kind":"function","modifiers":[],"name":"tokenURI","nameLocation":"744:8:88","nodeType":"FunctionDefinition","parameters":{"id":15574,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15571,"mutability":"mutable","name":"positionManager","nameLocation":"770:15:88","nodeType":"VariableDeclaration","scope":15578,"src":"753:32:88","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionManager_$15721","typeString":"contract IPositionManager"},"typeName":{"id":15570,"nodeType":"UserDefinedTypeName","pathNode":{"id":15569,"name":"IPositionManager","nameLocations":["753:16:88"],"nodeType":"IdentifierPath","referencedDeclaration":15721,"src":"753:16:88"},"referencedDeclaration":15721,"src":"753:16:88","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionManager_$15721","typeString":"contract IPositionManager"}},"visibility":"internal"},{"constant":false,"id":15573,"mutability":"mutable","name":"tokenId","nameLocation":"795:7:88","nodeType":"VariableDeclaration","scope":15578,"src":"787:15:88","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15572,"name":"uint256","nodeType":"ElementaryTypeName","src":"787:7:88","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"752:51:88"},"returnParameters":{"id":15577,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15576,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15578,"src":"827:13:88","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":15575,"name":"string","nodeType":"ElementaryTypeName","src":"827:6:88","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"826:15:88"},"scope":15616,"src":"735:107:88","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":15579,"nodeType":"StructuredDocumentation","src":"848:246:88","text":"@notice Returns true if currency0 has higher priority than currency1\n @param currency0 The first currency address\n @param currency1 The second currency address\n @return True if currency0 has higher priority than currency1"},"functionSelector":"dee91a2c","id":15588,"implemented":false,"kind":"function","modifiers":[],"name":"flipRatio","nameLocation":"1108:9:88","nodeType":"FunctionDefinition","parameters":{"id":15584,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15581,"mutability":"mutable","name":"currency0","nameLocation":"1126:9:88","nodeType":"VariableDeclaration","scope":15588,"src":"1118:17:88","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15580,"name":"address","nodeType":"ElementaryTypeName","src":"1118:7:88","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15583,"mutability":"mutable","name":"currency1","nameLocation":"1145:9:88","nodeType":"VariableDeclaration","scope":15588,"src":"1137:17:88","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15582,"name":"address","nodeType":"ElementaryTypeName","src":"1137:7:88","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1117:38:88"},"returnParameters":{"id":15587,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15586,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15588,"src":"1179:4:88","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":15585,"name":"bool","nodeType":"ElementaryTypeName","src":"1179:4:88","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1178:6:88"},"scope":15616,"src":"1099:86:88","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":15589,"nodeType":"StructuredDocumentation","src":"1191:347:88","text":"@notice Returns the priority of a currency.\n For certain currencies on mainnet, the smaller the currency, the higher the priority\n And those with the higher priority values (more positive values) will be in the numerator of the price ratio\n @param currency The currency address\n @return The priority of the currency"},"functionSelector":"166c5978","id":15596,"implemented":false,"kind":"function","modifiers":[],"name":"currencyRatioPriority","nameLocation":"1552:21:88","nodeType":"FunctionDefinition","parameters":{"id":15592,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15591,"mutability":"mutable","name":"currency","nameLocation":"1582:8:88","nodeType":"VariableDeclaration","scope":15596,"src":"1574:16:88","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15590,"name":"address","nodeType":"ElementaryTypeName","src":"1574:7:88","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1573:18:88"},"returnParameters":{"id":15595,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15594,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15596,"src":"1615:6:88","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":15593,"name":"int256","nodeType":"ElementaryTypeName","src":"1615:6:88","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1614:8:88"},"scope":15616,"src":"1543:80:88","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":15597,"nodeType":"StructuredDocumentation","src":"1629:56:88","text":"@return The wrapped native token for this descriptor"},"functionSelector":"eb6d3a11","id":15602,"implemented":false,"kind":"function","modifiers":[],"name":"wrappedNative","nameLocation":"1699:13:88","nodeType":"FunctionDefinition","parameters":{"id":15598,"nodeType":"ParameterList","parameters":[],"src":"1712:2:88"},"returnParameters":{"id":15601,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15600,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15602,"src":"1738:7:88","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15599,"name":"address","nodeType":"ElementaryTypeName","src":"1738:7:88","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1737:9:88"},"scope":15616,"src":"1690:57:88","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":15603,"nodeType":"StructuredDocumentation","src":"1753:57:88","text":"@return The native currency label for this descriptor"},"functionSelector":"b7af3cdc","id":15608,"implemented":false,"kind":"function","modifiers":[],"name":"nativeCurrencyLabel","nameLocation":"1824:19:88","nodeType":"FunctionDefinition","parameters":{"id":15604,"nodeType":"ParameterList","parameters":[],"src":"1843:2:88"},"returnParameters":{"id":15607,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15606,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15608,"src":"1869:13:88","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":15605,"name":"string","nodeType":"ElementaryTypeName","src":"1869:6:88","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1868:15:88"},"scope":15616,"src":"1815:69:88","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":15609,"nodeType":"StructuredDocumentation","src":"1890:48:88","text":"@return The pool manager for this descriptor"},"functionSelector":"dc4c90d3","id":15615,"implemented":false,"kind":"function","modifiers":[],"name":"poolManager","nameLocation":"1952:11:88","nodeType":"FunctionDefinition","parameters":{"id":15610,"nodeType":"ParameterList","parameters":[],"src":"1963:2:88"},"returnParameters":{"id":15614,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15613,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15615,"src":"1989:12:88","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"},"typeName":{"id":15612,"nodeType":"UserDefinedTypeName","pathNode":{"id":15611,"name":"IPoolManager","nameLocations":["1989:12:88"],"nodeType":"IdentifierPath","referencedDeclaration":3917,"src":"1989:12:88"},"referencedDeclaration":3917,"src":"1989:12:88","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}},"visibility":"internal"}],"src":"1988:14:88"},"scope":15616,"src":"1943:60:88","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":15617,"src":"260:1745:88","usedErrors":[15567],"usedEvents":[]}],"src":"32:1974:88"},"id":88},"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol","exportedSymbols":{"IEIP712_v4":[15353],"IERC721Permit_v4":[15393],"IImmutableState":[15406],"IMulticall_v4":[15420],"INotifier":[15508],"IPermit2Forwarder":[15540],"IPoolInitializer_v4":[15557],"IPositionManager":[15721],"IUnorderedNonce":[15792],"PoolKey":[11063],"PositionInfo":[16704]},"id":15722,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15618,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:89"},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"@uniswap/v4-core/src/types/PoolKey.sol","id":15620,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15722,"sourceUnit":11064,"src":"57:63:89","symbolAliases":[{"foreign":{"id":15619,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"65:7:89","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol","file":"../libraries/PositionInfoLibrary.sol","id":15622,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15722,"sourceUnit":16831,"src":"121:66:89","symbolAliases":[{"foreign":{"id":15621,"name":"PositionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16704,"src":"129:12:89","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/INotifier.sol","file":"./INotifier.sol","id":15624,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15722,"sourceUnit":15509,"src":"189:42:89","symbolAliases":[{"foreign":{"id":15623,"name":"INotifier","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15508,"src":"197:9:89","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol","file":"./IImmutableState.sol","id":15626,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15722,"sourceUnit":15407,"src":"232:54:89","symbolAliases":[{"foreign":{"id":15625,"name":"IImmutableState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15406,"src":"240:15:89","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol","file":"./IERC721Permit_v4.sol","id":15628,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15722,"sourceUnit":15394,"src":"287:56:89","symbolAliases":[{"foreign":{"id":15627,"name":"IERC721Permit_v4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15393,"src":"295:16:89","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol","file":"./IEIP712_v4.sol","id":15630,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15722,"sourceUnit":15354,"src":"344:44:89","symbolAliases":[{"foreign":{"id":15629,"name":"IEIP712_v4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15353,"src":"352:10:89","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol","file":"./IMulticall_v4.sol","id":15632,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15722,"sourceUnit":15421,"src":"389:50:89","symbolAliases":[{"foreign":{"id":15631,"name":"IMulticall_v4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15420,"src":"397:13:89","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol","file":"./IPoolInitializer_v4.sol","id":15634,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15722,"sourceUnit":15558,"src":"440:62:89","symbolAliases":[{"foreign":{"id":15633,"name":"IPoolInitializer_v4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15557,"src":"448:19:89","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol","file":"./IUnorderedNonce.sol","id":15636,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15722,"sourceUnit":15793,"src":"503:54:89","symbolAliases":[{"foreign":{"id":15635,"name":"IUnorderedNonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15792,"src":"511:15:89","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol","file":"./IPermit2Forwarder.sol","id":15638,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15722,"sourceUnit":15541,"src":"558:58:89","symbolAliases":[{"foreign":{"id":15637,"name":"IPermit2Forwarder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15540,"src":"566:17:89","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":15640,"name":"INotifier","nameLocations":["735:9:89"],"nodeType":"IdentifierPath","referencedDeclaration":15508,"src":"735:9:89"},"id":15641,"nodeType":"InheritanceSpecifier","src":"735:9:89"},{"baseName":{"id":15642,"name":"IImmutableState","nameLocations":["750:15:89"],"nodeType":"IdentifierPath","referencedDeclaration":15406,"src":"750:15:89"},"id":15643,"nodeType":"InheritanceSpecifier","src":"750:15:89"},{"baseName":{"id":15644,"name":"IERC721Permit_v4","nameLocations":["771:16:89"],"nodeType":"IdentifierPath","referencedDeclaration":15393,"src":"771:16:89"},"id":15645,"nodeType":"InheritanceSpecifier","src":"771:16:89"},{"baseName":{"id":15646,"name":"IEIP712_v4","nameLocations":["793:10:89"],"nodeType":"IdentifierPath","referencedDeclaration":15353,"src":"793:10:89"},"id":15647,"nodeType":"InheritanceSpecifier","src":"793:10:89"},{"baseName":{"id":15648,"name":"IMulticall_v4","nameLocations":["809:13:89"],"nodeType":"IdentifierPath","referencedDeclaration":15420,"src":"809:13:89"},"id":15649,"nodeType":"InheritanceSpecifier","src":"809:13:89"},{"baseName":{"id":15650,"name":"IPoolInitializer_v4","nameLocations":["828:19:89"],"nodeType":"IdentifierPath","referencedDeclaration":15557,"src":"828:19:89"},"id":15651,"nodeType":"InheritanceSpecifier","src":"828:19:89"},{"baseName":{"id":15652,"name":"IUnorderedNonce","nameLocations":["853:15:89"],"nodeType":"IdentifierPath","referencedDeclaration":15792,"src":"853:15:89"},"id":15653,"nodeType":"InheritanceSpecifier","src":"853:15:89"},{"baseName":{"id":15654,"name":"IPermit2Forwarder","nameLocations":["874:17:89"],"nodeType":"IdentifierPath","referencedDeclaration":15540,"src":"874:17:89"},"id":15655,"nodeType":"InheritanceSpecifier","src":"874:17:89"}],"canonicalName":"IPositionManager","contractDependencies":[],"contractKind":"interface","documentation":{"id":15639,"nodeType":"StructuredDocumentation","src":"618:83:89","text":"@title IPositionManager\n @notice Interface for the PositionManager contract"},"fullyImplemented":false,"id":15721,"linearizedBaseContracts":[15721,15540,15792,15557,15420,15353,15393,15406,15508],"name":"IPositionManager","nameLocation":"711:16:89","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":15656,"nodeType":"StructuredDocumentation","src":"898:71:89","text":"@notice Thrown when the caller is not approved to modify a position"},"errorSelector":"0ca968d8","id":15660,"name":"NotApproved","nameLocation":"980:11:89","nodeType":"ErrorDefinition","parameters":{"id":15659,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15658,"mutability":"mutable","name":"caller","nameLocation":"1000:6:89","nodeType":"VariableDeclaration","scope":15660,"src":"992:14:89","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15657,"name":"address","nodeType":"ElementaryTypeName","src":"992:7:89","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"991:16:89"},"src":"974:34:89"},{"documentation":{"id":15661,"nodeType":"StructuredDocumentation","src":"1013:78:89","text":"@notice Thrown when the block.timestamp exceeds the user-provided deadline"},"errorSelector":"bfb22adf","id":15665,"name":"DeadlinePassed","nameLocation":"1102:14:89","nodeType":"ErrorDefinition","parameters":{"id":15664,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15663,"mutability":"mutable","name":"deadline","nameLocation":"1125:8:89","nodeType":"VariableDeclaration","scope":15665,"src":"1117:16:89","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15662,"name":"uint256","nodeType":"ElementaryTypeName","src":"1117:7:89","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1116:18:89"},"src":"1096:39:89"},{"documentation":{"id":15666,"nodeType":"StructuredDocumentation","src":"1140:229:89","text":"@notice Thrown when calling transfer, subscribe, or unsubscribe when the PoolManager is unlocked.\n @dev This is to prevent hooks from being able to trigger notifications at the same time the position is being modified."},"errorSelector":"d4b05fe0","id":15668,"name":"PoolManagerMustBeLocked","nameLocation":"1380:23:89","nodeType":"ErrorDefinition","parameters":{"id":15667,"nodeType":"ParameterList","parameters":[],"src":"1403:2:89"},"src":"1374:32:89"},{"documentation":{"id":15669,"nodeType":"StructuredDocumentation","src":"1412:320:89","text":"@notice Unlocks Uniswap v4 PoolManager and batches actions for modifying liquidity\n @dev This is the standard entrypoint for the PositionManager\n @param unlockData is an encoding of actions, and parameters for those actions\n @param deadline is the deadline for the batched actions to be executed"},"functionSelector":"dd46508f","id":15676,"implemented":false,"kind":"function","modifiers":[],"name":"modifyLiquidities","nameLocation":"1746:17:89","nodeType":"FunctionDefinition","parameters":{"id":15674,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15671,"mutability":"mutable","name":"unlockData","nameLocation":"1779:10:89","nodeType":"VariableDeclaration","scope":15676,"src":"1764:25:89","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":15670,"name":"bytes","nodeType":"ElementaryTypeName","src":"1764:5:89","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":15673,"mutability":"mutable","name":"deadline","nameLocation":"1799:8:89","nodeType":"VariableDeclaration","scope":15676,"src":"1791:16:89","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15672,"name":"uint256","nodeType":"ElementaryTypeName","src":"1791:7:89","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1763:45:89"},"returnParameters":{"id":15675,"nodeType":"ParameterList","parameters":[],"src":"1825:0:89"},"scope":15721,"src":"1737:89:89","stateMutability":"payable","virtual":false,"visibility":"external"},{"documentation":{"id":15677,"nodeType":"StructuredDocumentation","src":"1832:286:89","text":"@notice Batches actions for modifying liquidity without unlocking v4 PoolManager\n @dev This must be called by a contract that has already unlocked the v4 PoolManager\n @param actions the actions to perform\n @param params the parameters to provide for the actions"},"functionSelector":"4afe393c","id":15685,"implemented":false,"kind":"function","modifiers":[],"name":"modifyLiquiditiesWithoutUnlock","nameLocation":"2132:30:89","nodeType":"FunctionDefinition","parameters":{"id":15683,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15679,"mutability":"mutable","name":"actions","nameLocation":"2178:7:89","nodeType":"VariableDeclaration","scope":15685,"src":"2163:22:89","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":15678,"name":"bytes","nodeType":"ElementaryTypeName","src":"2163:5:89","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":15682,"mutability":"mutable","name":"params","nameLocation":"2204:6:89","nodeType":"VariableDeclaration","scope":15685,"src":"2187:23:89","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":15680,"name":"bytes","nodeType":"ElementaryTypeName","src":"2187:5:89","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":15681,"nodeType":"ArrayTypeName","src":"2187:7:89","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"src":"2162:49:89"},"returnParameters":{"id":15684,"nodeType":"ParameterList","parameters":[],"src":"2228:0:89"},"scope":15721,"src":"2123:106:89","stateMutability":"payable","virtual":false,"visibility":"external"},{"documentation":{"id":15686,"nodeType":"StructuredDocumentation","src":"2235:129:89","text":"@notice Used to get the ID that will be used for the next minted liquidity position\n @return uint256 The next token ID"},"functionSelector":"75794a3c","id":15691,"implemented":false,"kind":"function","modifiers":[],"name":"nextTokenId","nameLocation":"2378:11:89","nodeType":"FunctionDefinition","parameters":{"id":15687,"nodeType":"ParameterList","parameters":[],"src":"2389:2:89"},"returnParameters":{"id":15690,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15689,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15691,"src":"2415:7:89","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15688,"name":"uint256","nodeType":"ElementaryTypeName","src":"2415:7:89","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2414:9:89"},"scope":15721,"src":"2369:55:89","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":15692,"nodeType":"StructuredDocumentation","src":"2430:267:89","text":"@notice Returns the liquidity of a position\n @param tokenId the ERC721 tokenId\n @return liquidity the position's liquidity, as a liquidityAmount\n @dev this value can be processed as an amount0 and amount1 by using the LiquidityAmounts library"},"functionSelector":"1efeed33","id":15699,"implemented":false,"kind":"function","modifiers":[],"name":"getPositionLiquidity","nameLocation":"2711:20:89","nodeType":"FunctionDefinition","parameters":{"id":15695,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15694,"mutability":"mutable","name":"tokenId","nameLocation":"2740:7:89","nodeType":"VariableDeclaration","scope":15699,"src":"2732:15:89","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15693,"name":"uint256","nodeType":"ElementaryTypeName","src":"2732:7:89","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2731:17:89"},"returnParameters":{"id":15698,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15697,"mutability":"mutable","name":"liquidity","nameLocation":"2780:9:89","nodeType":"VariableDeclaration","scope":15699,"src":"2772:17:89","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":15696,"name":"uint128","nodeType":"ElementaryTypeName","src":"2772:7:89","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"2771:19:89"},"scope":15721,"src":"2702:89:89","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":15700,"nodeType":"StructuredDocumentation","src":"2797:293:89","text":"@notice Returns the pool key and position info of a position\n @param tokenId the ERC721 tokenId\n @return poolKey the pool key of the position\n @return PositionInfo a uint256 packed value holding information about the position including the range (tickLower, tickUpper)"},"functionSelector":"7ba03aad","id":15711,"implemented":false,"kind":"function","modifiers":[],"name":"getPoolAndPositionInfo","nameLocation":"3104:22:89","nodeType":"FunctionDefinition","parameters":{"id":15703,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15702,"mutability":"mutable","name":"tokenId","nameLocation":"3135:7:89","nodeType":"VariableDeclaration","scope":15711,"src":"3127:15:89","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15701,"name":"uint256","nodeType":"ElementaryTypeName","src":"3127:7:89","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3126:17:89"},"returnParameters":{"id":15710,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15706,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15711,"src":"3167:14:89","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":15705,"nodeType":"UserDefinedTypeName","pathNode":{"id":15704,"name":"PoolKey","nameLocations":["3167:7:89"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"3167:7:89"},"referencedDeclaration":11063,"src":"3167:7:89","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":15709,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15711,"src":"3183:12:89","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":15708,"nodeType":"UserDefinedTypeName","pathNode":{"id":15707,"name":"PositionInfo","nameLocations":["3183:12:89"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"3183:12:89"},"referencedDeclaration":16704,"src":"3183:12:89","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"src":"3166:30:89"},"scope":15721,"src":"3095:102:89","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":15712,"nodeType":"StructuredDocumentation","src":"3203:214:89","text":"@notice Returns the position info of a position\n @param tokenId the ERC721 tokenId\n @return a uint256 packed value holding information about the position including the range (tickLower, tickUpper)"},"functionSelector":"89097a6a","id":15720,"implemented":false,"kind":"function","modifiers":[],"name":"positionInfo","nameLocation":"3431:12:89","nodeType":"FunctionDefinition","parameters":{"id":15715,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15714,"mutability":"mutable","name":"tokenId","nameLocation":"3452:7:89","nodeType":"VariableDeclaration","scope":15720,"src":"3444:15:89","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15713,"name":"uint256","nodeType":"ElementaryTypeName","src":"3444:7:89","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3443:17:89"},"returnParameters":{"id":15719,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15718,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15720,"src":"3484:12:89","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":15717,"nodeType":"UserDefinedTypeName","pathNode":{"id":15716,"name":"PositionInfo","nameLocations":["3484:12:89"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"3484:12:89"},"referencedDeclaration":16704,"src":"3484:12:89","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"src":"3483:14:89"},"scope":15721,"src":"3422:76:89","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":15722,"src":"701:2799:89","usedErrors":[15358,15360,15362,15428,15431,15434,15441,15448,15455,15462,15660,15665,15668,15775],"usedEvents":[15469,15476]}],"src":"32:3469:89"},"id":89},"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol","exportedSymbols":{"BalanceDelta":[10503],"ISubscriber":[15770],"PositionInfo":[16704]},"id":15771,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15723,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:90"},{"absolutePath":"@uniswap/v4-core/src/types/BalanceDelta.sol","file":"@uniswap/v4-core/src/types/BalanceDelta.sol","id":15725,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15771,"sourceUnit":10662,"src":"57:73:90","symbolAliases":[{"foreign":{"id":15724,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"65:12:90","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol","file":"../libraries/PositionInfoLibrary.sol","id":15727,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15771,"sourceUnit":16831,"src":"131:66:90","symbolAliases":[{"foreign":{"id":15726,"name":"PositionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16704,"src":"139:12:90","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"ISubscriber","contractDependencies":[],"contractKind":"interface","documentation":{"id":15728,"nodeType":"StructuredDocumentation","src":"199:137:90","text":"@title ISubscriber\n @notice Interface that a Subscriber contract should implement to receive updates from the v4 position manager"},"fullyImplemented":false,"id":15770,"linearizedBaseContracts":[15770],"name":"ISubscriber","nameLocation":"346:11:90","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":15729,"nodeType":"StructuredDocumentation","src":"364:185:90","text":"@notice Called when a position subscribes to this subscriber contract\n @param tokenId the token ID of the position\n @param data additional data passed in by the caller"},"functionSelector":"8d57f6b2","id":15736,"implemented":false,"kind":"function","modifiers":[],"name":"notifySubscribe","nameLocation":"563:15:90","nodeType":"FunctionDefinition","parameters":{"id":15734,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15731,"mutability":"mutable","name":"tokenId","nameLocation":"587:7:90","nodeType":"VariableDeclaration","scope":15736,"src":"579:15:90","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15730,"name":"uint256","nodeType":"ElementaryTypeName","src":"579:7:90","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15733,"mutability":"mutable","name":"data","nameLocation":"609:4:90","nodeType":"VariableDeclaration","scope":15736,"src":"596:17:90","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":15732,"name":"bytes","nodeType":"ElementaryTypeName","src":"596:5:90","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"578:36:90"},"returnParameters":{"id":15735,"nodeType":"ParameterList","parameters":[],"src":"623:0:90"},"scope":15770,"src":"554:70:90","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":15737,"nodeType":"StructuredDocumentation","src":"630:282:90","text":"@notice Called when a position unsubscribes from the subscriber\n @dev This call's gas is capped at `unsubscribeGasLimit` (set at deployment)\n @dev Because of EIP-150, solidity may only allocate 63/64 of gasleft()\n @param tokenId the token ID of the position"},"functionSelector":"af45dd14","id":15742,"implemented":false,"kind":"function","modifiers":[],"name":"notifyUnsubscribe","nameLocation":"926:17:90","nodeType":"FunctionDefinition","parameters":{"id":15740,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15739,"mutability":"mutable","name":"tokenId","nameLocation":"952:7:90","nodeType":"VariableDeclaration","scope":15742,"src":"944:15:90","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15738,"name":"uint256","nodeType":"ElementaryTypeName","src":"944:7:90","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"943:17:90"},"returnParameters":{"id":15741,"nodeType":"ParameterList","parameters":[],"src":"969:0:90"},"scope":15770,"src":"917:53:90","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":15743,"nodeType":"StructuredDocumentation","src":"976:373:90","text":"@notice Called when a position is burned\n @param tokenId the token ID of the position\n @param owner the current owner of the tokenId\n @param info information about the position\n @param liquidity the amount of liquidity decreased in the position, may be 0\n @param feesAccrued the fees accrued by the position if liquidity was decreased"},"functionSelector":"b1a9116f","id":15758,"implemented":false,"kind":"function","modifiers":[],"name":"notifyBurn","nameLocation":"1363:10:90","nodeType":"FunctionDefinition","parameters":{"id":15756,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15745,"mutability":"mutable","name":"tokenId","nameLocation":"1382:7:90","nodeType":"VariableDeclaration","scope":15758,"src":"1374:15:90","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15744,"name":"uint256","nodeType":"ElementaryTypeName","src":"1374:7:90","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15747,"mutability":"mutable","name":"owner","nameLocation":"1399:5:90","nodeType":"VariableDeclaration","scope":15758,"src":"1391:13:90","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15746,"name":"address","nodeType":"ElementaryTypeName","src":"1391:7:90","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15750,"mutability":"mutable","name":"info","nameLocation":"1419:4:90","nodeType":"VariableDeclaration","scope":15758,"src":"1406:17:90","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":15749,"nodeType":"UserDefinedTypeName","pathNode":{"id":15748,"name":"PositionInfo","nameLocations":["1406:12:90"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"1406:12:90"},"referencedDeclaration":16704,"src":"1406:12:90","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"},{"constant":false,"id":15752,"mutability":"mutable","name":"liquidity","nameLocation":"1433:9:90","nodeType":"VariableDeclaration","scope":15758,"src":"1425:17:90","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15751,"name":"uint256","nodeType":"ElementaryTypeName","src":"1425:7:90","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15755,"mutability":"mutable","name":"feesAccrued","nameLocation":"1457:11:90","nodeType":"VariableDeclaration","scope":15758,"src":"1444:24:90","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":15754,"nodeType":"UserDefinedTypeName","pathNode":{"id":15753,"name":"BalanceDelta","nameLocations":["1444:12:90"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"1444:12:90"},"referencedDeclaration":10503,"src":"1444:12:90","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"1373:96:90"},"returnParameters":{"id":15757,"nodeType":"ParameterList","parameters":[],"src":"1486:0:90"},"scope":15770,"src":"1354:133:90","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":15759,"nodeType":"StructuredDocumentation","src":"1493:662:90","text":"@notice Called when a position modifies its liquidity or collects fees\n @param tokenId the token ID of the position\n @param liquidityChange the change in liquidity on the underlying position\n @param feesAccrued the fees to be collected from the position as a result of the modifyLiquidity call\n @dev Note that feesAccrued can be artificially inflated by a malicious user\n Pools with a single liquidity position can inflate feeGrowthGlobal (and consequently feesAccrued) by donating to themselves;\n atomically donating and collecting fees within the same unlockCallback may further inflate feeGrowthGlobal/feesAccrued"},"functionSelector":"d8865c27","id":15769,"implemented":false,"kind":"function","modifiers":[],"name":"notifyModifyLiquidity","nameLocation":"2169:21:90","nodeType":"FunctionDefinition","parameters":{"id":15767,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15761,"mutability":"mutable","name":"tokenId","nameLocation":"2199:7:90","nodeType":"VariableDeclaration","scope":15769,"src":"2191:15:90","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15760,"name":"uint256","nodeType":"ElementaryTypeName","src":"2191:7:90","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15763,"mutability":"mutable","name":"liquidityChange","nameLocation":"2215:15:90","nodeType":"VariableDeclaration","scope":15769,"src":"2208:22:90","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":15762,"name":"int256","nodeType":"ElementaryTypeName","src":"2208:6:90","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":15766,"mutability":"mutable","name":"feesAccrued","nameLocation":"2245:11:90","nodeType":"VariableDeclaration","scope":15769,"src":"2232:24:90","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":15765,"nodeType":"UserDefinedTypeName","pathNode":{"id":15764,"name":"BalanceDelta","nameLocations":["2232:12:90"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"2232:12:90"},"referencedDeclaration":10503,"src":"2232:12:90","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"}],"src":"2190:67:90"},"returnParameters":{"id":15768,"nodeType":"ParameterList","parameters":[],"src":"2266:0:90"},"scope":15770,"src":"2160:107:90","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":15771,"src":"336:1933:90","usedErrors":[],"usedEvents":[]}],"src":"32:2238:90"},"id":90},"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol","exportedSymbols":{"IUnorderedNonce":[15792]},"id":15793,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15772,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:91"},{"abstract":false,"baseContracts":[],"canonicalName":"IUnorderedNonce","contractDependencies":[],"contractKind":"interface","documentation":{"id":15773,"nodeType":"StructuredDocumentation","src":"57:81:91","text":"@title IUnorderedNonce\n @notice Interface for the UnorderedNonce contract"},"fullyImplemented":false,"id":15792,"linearizedBaseContracts":[15792],"name":"IUnorderedNonce","nameLocation":"148:15:91","nodeType":"ContractDefinition","nodes":[{"errorSelector":"1fb09b80","id":15775,"name":"NonceAlreadyUsed","nameLocation":"176:16:91","nodeType":"ErrorDefinition","parameters":{"id":15774,"nodeType":"ParameterList","parameters":[],"src":"192:2:91"},"src":"170:25:91"},{"documentation":{"id":15776,"nodeType":"StructuredDocumentation","src":"201:154:91","text":"@notice mapping of nonces consumed by each address, where a nonce is a single bit on the 256-bit bitmap\n @dev word is at most type(uint248).max"},"functionSelector":"502e1a16","id":15785,"implemented":false,"kind":"function","modifiers":[],"name":"nonces","nameLocation":"369:6:91","nodeType":"FunctionDefinition","parameters":{"id":15781,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15778,"mutability":"mutable","name":"owner","nameLocation":"384:5:91","nodeType":"VariableDeclaration","scope":15785,"src":"376:13:91","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15777,"name":"address","nodeType":"ElementaryTypeName","src":"376:7:91","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15780,"mutability":"mutable","name":"word","nameLocation":"399:4:91","nodeType":"VariableDeclaration","scope":15785,"src":"391:12:91","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15779,"name":"uint256","nodeType":"ElementaryTypeName","src":"391:7:91","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"375:29:91"},"returnParameters":{"id":15784,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15783,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15785,"src":"428:7:91","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15782,"name":"uint256","nodeType":"ElementaryTypeName","src":"428:7:91","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"427:9:91"},"scope":15792,"src":"360:77:91","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":15786,"nodeType":"StructuredDocumentation","src":"443:295:91","text":"@notice Revoke a nonce by spending it, preventing it from being used again\n @dev Used in cases where a valid nonce has not been broadcasted onchain, and the owner wants to revoke the validity of the nonce\n @dev payable so it can be multicalled with native-token related actions"},"functionSelector":"05c1ee20","id":15791,"implemented":false,"kind":"function","modifiers":[],"name":"revokeNonce","nameLocation":"752:11:91","nodeType":"FunctionDefinition","parameters":{"id":15789,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15788,"mutability":"mutable","name":"nonce","nameLocation":"772:5:91","nodeType":"VariableDeclaration","scope":15791,"src":"764:13:91","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15787,"name":"uint256","nodeType":"ElementaryTypeName","src":"764:7:91","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"763:15:91"},"returnParameters":{"id":15790,"nodeType":"ParameterList","parameters":[],"src":"795:0:91"},"scope":15792,"src":"743:53:91","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":15793,"src":"138:660:91","usedErrors":[15775],"usedEvents":[]}],"src":"32:767:91"},"id":91},"@uniswap/v4-periphery/src/interfaces/IV4Router.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IV4Router.sol","exportedSymbols":{"Currency":[10717],"IImmutableState":[15406],"IV4Router":[15872],"PathKey":[16632],"PoolKey":[11063]},"id":15873,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15794,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:92"},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"@uniswap/v4-core/src/types/PoolKey.sol","id":15796,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15873,"sourceUnit":11064,"src":"57:63:92","symbolAliases":[{"foreign":{"id":15795,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"65:7:92","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"@uniswap/v4-core/src/types/Currency.sol","id":15798,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15873,"sourceUnit":11012,"src":"121:65:92","symbolAliases":[{"foreign":{"id":15797,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"129:8:92","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/PathKey.sol","file":"../libraries/PathKey.sol","id":15800,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15873,"sourceUnit":16697,"src":"187:49:92","symbolAliases":[{"foreign":{"id":15799,"name":"PathKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16632,"src":"195:7:92","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol","file":"./IImmutableState.sol","id":15802,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15873,"sourceUnit":15407,"src":"237:54:92","symbolAliases":[{"foreign":{"id":15801,"name":"IImmutableState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15406,"src":"245:15:92","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":15804,"name":"IImmutableState","nameLocations":["385:15:92"],"nodeType":"IdentifierPath","referencedDeclaration":15406,"src":"385:15:92"},"id":15805,"nodeType":"InheritanceSpecifier","src":"385:15:92"}],"canonicalName":"IV4Router","contractDependencies":[],"contractKind":"interface","documentation":{"id":15803,"nodeType":"StructuredDocumentation","src":"293:69:92","text":"@title IV4Router\n @notice Interface for the V4Router contract"},"fullyImplemented":false,"id":15872,"linearizedBaseContracts":[15872,15406],"name":"IV4Router","nameLocation":"372:9:92","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":15806,"nodeType":"StructuredDocumentation","src":"407:77:92","text":"@notice Emitted when an exactInput swap does not receive its minAmountOut"},"errorSelector":"8b063d73","id":15812,"name":"V4TooLittleReceived","nameLocation":"495:19:92","nodeType":"ErrorDefinition","parameters":{"id":15811,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15808,"mutability":"mutable","name":"minAmountOutReceived","nameLocation":"523:20:92","nodeType":"VariableDeclaration","scope":15812,"src":"515:28:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15807,"name":"uint256","nodeType":"ElementaryTypeName","src":"515:7:92","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15810,"mutability":"mutable","name":"amountReceived","nameLocation":"553:14:92","nodeType":"VariableDeclaration","scope":15812,"src":"545:22:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15809,"name":"uint256","nodeType":"ElementaryTypeName","src":"545:7:92","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"514:54:92"},"src":"489:80:92"},{"documentation":{"id":15813,"nodeType":"StructuredDocumentation","src":"574:78:92","text":"@notice Emitted when an exactOutput is asked for more than its maxAmountIn"},"errorSelector":"12bacdd3","id":15819,"name":"V4TooMuchRequested","nameLocation":"663:18:92","nodeType":"ErrorDefinition","parameters":{"id":15818,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15815,"mutability":"mutable","name":"maxAmountInRequested","nameLocation":"690:20:92","nodeType":"VariableDeclaration","scope":15819,"src":"682:28:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15814,"name":"uint256","nodeType":"ElementaryTypeName","src":"682:7:92","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":15817,"mutability":"mutable","name":"amountRequested","nameLocation":"720:15:92","nodeType":"VariableDeclaration","scope":15819,"src":"712:23:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15816,"name":"uint256","nodeType":"ElementaryTypeName","src":"712:7:92","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"681:55:92"},"src":"657:80:92"},{"canonicalName":"IV4Router.ExactInputSingleParams","documentation":{"id":15820,"nodeType":"StructuredDocumentation","src":"743:56:92","text":"@notice Parameters for a single-hop exact-input swap"},"id":15832,"members":[{"constant":false,"id":15823,"mutability":"mutable","name":"poolKey","nameLocation":"852:7:92","nodeType":"VariableDeclaration","scope":15832,"src":"844:15:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"},"typeName":{"id":15822,"nodeType":"UserDefinedTypeName","pathNode":{"id":15821,"name":"PoolKey","nameLocations":["844:7:92"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"844:7:92"},"referencedDeclaration":11063,"src":"844:7:92","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":15825,"mutability":"mutable","name":"zeroForOne","nameLocation":"874:10:92","nodeType":"VariableDeclaration","scope":15832,"src":"869:15:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":15824,"name":"bool","nodeType":"ElementaryTypeName","src":"869:4:92","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":15827,"mutability":"mutable","name":"amountIn","nameLocation":"902:8:92","nodeType":"VariableDeclaration","scope":15832,"src":"894:16:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":15826,"name":"uint128","nodeType":"ElementaryTypeName","src":"894:7:92","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":15829,"mutability":"mutable","name":"amountOutMinimum","nameLocation":"928:16:92","nodeType":"VariableDeclaration","scope":15832,"src":"920:24:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":15828,"name":"uint128","nodeType":"ElementaryTypeName","src":"920:7:92","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":15831,"mutability":"mutable","name":"hookData","nameLocation":"960:8:92","nodeType":"VariableDeclaration","scope":15832,"src":"954:14:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":15830,"name":"bytes","nodeType":"ElementaryTypeName","src":"954:5:92","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"name":"ExactInputSingleParams","nameLocation":"811:22:92","nodeType":"StructDefinition","scope":15872,"src":"804:171:92","visibility":"public"},{"canonicalName":"IV4Router.ExactInputParams","documentation":{"id":15833,"nodeType":"StructuredDocumentation","src":"981:55:92","text":"@notice Parameters for a multi-hop exact-input swap"},"id":15845,"members":[{"constant":false,"id":15836,"mutability":"mutable","name":"currencyIn","nameLocation":"1084:10:92","nodeType":"VariableDeclaration","scope":15845,"src":"1075:19:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":15835,"nodeType":"UserDefinedTypeName","pathNode":{"id":15834,"name":"Currency","nameLocations":["1075:8:92"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1075:8:92"},"referencedDeclaration":10717,"src":"1075:8:92","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":15840,"mutability":"mutable","name":"path","nameLocation":"1114:4:92","nodeType":"VariableDeclaration","scope":15845,"src":"1104:14:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_PathKey_$16632_storage_$dyn_storage_ptr","typeString":"struct PathKey[]"},"typeName":{"baseType":{"id":15838,"nodeType":"UserDefinedTypeName","pathNode":{"id":15837,"name":"PathKey","nameLocations":["1104:7:92"],"nodeType":"IdentifierPath","referencedDeclaration":16632,"src":"1104:7:92"},"referencedDeclaration":16632,"src":"1104:7:92","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_storage_ptr","typeString":"struct PathKey"}},"id":15839,"nodeType":"ArrayTypeName","src":"1104:9:92","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_PathKey_$16632_storage_$dyn_storage_ptr","typeString":"struct PathKey[]"}},"visibility":"internal"},{"constant":false,"id":15842,"mutability":"mutable","name":"amountIn","nameLocation":"1136:8:92","nodeType":"VariableDeclaration","scope":15845,"src":"1128:16:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":15841,"name":"uint128","nodeType":"ElementaryTypeName","src":"1128:7:92","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":15844,"mutability":"mutable","name":"amountOutMinimum","nameLocation":"1162:16:92","nodeType":"VariableDeclaration","scope":15845,"src":"1154:24:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":15843,"name":"uint128","nodeType":"ElementaryTypeName","src":"1154:7:92","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"name":"ExactInputParams","nameLocation":"1048:16:92","nodeType":"StructDefinition","scope":15872,"src":"1041:144:92","visibility":"public"},{"canonicalName":"IV4Router.ExactOutputSingleParams","documentation":{"id":15846,"nodeType":"StructuredDocumentation","src":"1191:57:92","text":"@notice Parameters for a single-hop exact-output swap"},"id":15858,"members":[{"constant":false,"id":15849,"mutability":"mutable","name":"poolKey","nameLocation":"1302:7:92","nodeType":"VariableDeclaration","scope":15858,"src":"1294:15:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"},"typeName":{"id":15848,"nodeType":"UserDefinedTypeName","pathNode":{"id":15847,"name":"PoolKey","nameLocations":["1294:7:92"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"1294:7:92"},"referencedDeclaration":11063,"src":"1294:7:92","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":15851,"mutability":"mutable","name":"zeroForOne","nameLocation":"1324:10:92","nodeType":"VariableDeclaration","scope":15858,"src":"1319:15:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":15850,"name":"bool","nodeType":"ElementaryTypeName","src":"1319:4:92","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":15853,"mutability":"mutable","name":"amountOut","nameLocation":"1352:9:92","nodeType":"VariableDeclaration","scope":15858,"src":"1344:17:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":15852,"name":"uint128","nodeType":"ElementaryTypeName","src":"1344:7:92","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":15855,"mutability":"mutable","name":"amountInMaximum","nameLocation":"1379:15:92","nodeType":"VariableDeclaration","scope":15858,"src":"1371:23:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":15854,"name":"uint128","nodeType":"ElementaryTypeName","src":"1371:7:92","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":15857,"mutability":"mutable","name":"hookData","nameLocation":"1410:8:92","nodeType":"VariableDeclaration","scope":15858,"src":"1404:14:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":15856,"name":"bytes","nodeType":"ElementaryTypeName","src":"1404:5:92","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"name":"ExactOutputSingleParams","nameLocation":"1260:23:92","nodeType":"StructDefinition","scope":15872,"src":"1253:172:92","visibility":"public"},{"canonicalName":"IV4Router.ExactOutputParams","documentation":{"id":15859,"nodeType":"StructuredDocumentation","src":"1431:56:92","text":"@notice Parameters for a multi-hop exact-output swap"},"id":15871,"members":[{"constant":false,"id":15862,"mutability":"mutable","name":"currencyOut","nameLocation":"1536:11:92","nodeType":"VariableDeclaration","scope":15871,"src":"1527:20:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":15861,"nodeType":"UserDefinedTypeName","pathNode":{"id":15860,"name":"Currency","nameLocations":["1527:8:92"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1527:8:92"},"referencedDeclaration":10717,"src":"1527:8:92","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":15866,"mutability":"mutable","name":"path","nameLocation":"1567:4:92","nodeType":"VariableDeclaration","scope":15871,"src":"1557:14:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_PathKey_$16632_storage_$dyn_storage_ptr","typeString":"struct PathKey[]"},"typeName":{"baseType":{"id":15864,"nodeType":"UserDefinedTypeName","pathNode":{"id":15863,"name":"PathKey","nameLocations":["1557:7:92"],"nodeType":"IdentifierPath","referencedDeclaration":16632,"src":"1557:7:92"},"referencedDeclaration":16632,"src":"1557:7:92","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_storage_ptr","typeString":"struct PathKey"}},"id":15865,"nodeType":"ArrayTypeName","src":"1557:9:92","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_PathKey_$16632_storage_$dyn_storage_ptr","typeString":"struct PathKey[]"}},"visibility":"internal"},{"constant":false,"id":15868,"mutability":"mutable","name":"amountOut","nameLocation":"1589:9:92","nodeType":"VariableDeclaration","scope":15871,"src":"1581:17:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":15867,"name":"uint128","nodeType":"ElementaryTypeName","src":"1581:7:92","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":15870,"mutability":"mutable","name":"amountInMaximum","nameLocation":"1616:15:92","nodeType":"VariableDeclaration","scope":15871,"src":"1608:23:92","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":15869,"name":"uint128","nodeType":"ElementaryTypeName","src":"1608:7:92","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"name":"ExactOutputParams","nameLocation":"1499:17:92","nodeType":"StructDefinition","scope":15872,"src":"1492:146:92","visibility":"public"}],"scope":15873,"src":"362:1278:92","usedErrors":[15812,15819],"usedEvents":[]}],"src":"32:1609:92"},"id":92},"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol","exportedSymbols":{"IERC20":[77],"IWETH9":[15890]},"id":15891,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15874,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:93"},{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","file":"@openzeppelin/contracts/token/ERC20/IERC20.sol","id":15876,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15891,"sourceUnit":78,"src":"57:70:93","symbolAliases":[{"foreign":{"id":15875,"name":"IERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":77,"src":"65:6:93","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":15878,"name":"IERC20","nameLocations":["167:6:93"],"nodeType":"IdentifierPath","referencedDeclaration":77,"src":"167:6:93"},"id":15879,"nodeType":"InheritanceSpecifier","src":"167:6:93"}],"canonicalName":"IWETH9","contractDependencies":[],"contractKind":"interface","documentation":{"id":15877,"nodeType":"StructuredDocumentation","src":"129:18:93","text":"@title IWETH9"},"fullyImplemented":false,"id":15890,"linearizedBaseContracts":[15890,77],"name":"IWETH9","nameLocation":"157:6:93","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":15880,"nodeType":"StructuredDocumentation","src":"180:46:93","text":"@notice Deposit ether to get wrapped ether"},"functionSelector":"d0e30db0","id":15883,"implemented":false,"kind":"function","modifiers":[],"name":"deposit","nameLocation":"240:7:93","nodeType":"FunctionDefinition","parameters":{"id":15881,"nodeType":"ParameterList","parameters":[],"src":"247:2:93"},"returnParameters":{"id":15882,"nodeType":"ParameterList","parameters":[],"src":"266:0:93"},"scope":15890,"src":"231:36:93","stateMutability":"payable","virtual":false,"visibility":"external"},{"documentation":{"id":15884,"nodeType":"StructuredDocumentation","src":"273:47:93","text":"@notice Withdraw wrapped ether to get ether"},"functionSelector":"2e1a7d4d","id":15889,"implemented":false,"kind":"function","modifiers":[],"name":"withdraw","nameLocation":"334:8:93","nodeType":"FunctionDefinition","parameters":{"id":15887,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15886,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15889,"src":"343:7:93","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15885,"name":"uint256","nodeType":"ElementaryTypeName","src":"343:7:93","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"342:9:93"},"returnParameters":{"id":15888,"nodeType":"ParameterList","parameters":[],"src":"360:0:93"},"scope":15890,"src":"325:36:93","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":15891,"src":"147:216:93","usedErrors":[],"usedEvents":[11,20]}],"src":"32:332:93"},"id":93},"@uniswap/v4-periphery/src/libraries/ActionConstants.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/libraries/ActionConstants.sol","exportedSymbols":{"ActionConstants":[15916]},"id":15917,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15892,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:94"},{"abstract":false,"baseContracts":[],"canonicalName":"ActionConstants","contractDependencies":[],"contractKind":"library","documentation":{"id":15893,"nodeType":"StructuredDocumentation","src":"57:147:94","text":"@title Action Constants\n @notice Common constants used in actions\n @dev Constants are gas efficient alternatives to their literal values"},"fullyImplemented":true,"id":15916,"linearizedBaseContracts":[15916],"name":"ActionConstants","nameLocation":"212:15:94","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":15894,"nodeType":"StructuredDocumentation","src":"234:156:94","text":"@notice used to signal that an action should use the input value of the open delta on the pool manager\n or of the balance that the contract holds"},"id":15897,"mutability":"constant","name":"OPEN_DELTA","nameLocation":"421:10:94","nodeType":"VariableDeclaration","scope":15916,"src":"395:40:94","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":15895,"name":"uint128","nodeType":"ElementaryTypeName","src":"395:7:94","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"value":{"hexValue":"30","id":15896,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"434:1:94","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"visibility":"internal"},{"constant":true,"documentation":{"id":15898,"nodeType":"StructuredDocumentation","src":"441:187:94","text":"@notice used to signal that an action should use the contract's entire balance of a currency\n This value is equivalent to 1<<255, i.e. a singular 1 in the most significant bit."},"id":15901,"mutability":"constant","name":"CONTRACT_BALANCE","nameLocation":"659:16:94","nodeType":"VariableDeclaration","scope":15916,"src":"633:111:94","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15899,"name":"uint256","nodeType":"ElementaryTypeName","src":"633:7:94","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"307838303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030","id":15900,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"678:66:94","typeDescriptions":{"typeIdentifier":"t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1","typeString":"int_const 5789...(69 digits omitted)...9968"},"value":"0x8000000000000000000000000000000000000000000000000000000000000000"},"visibility":"internal"},{"constant":true,"documentation":{"id":15902,"nodeType":"StructuredDocumentation","src":"751:82:94","text":"@notice used to signal that the recipient of an action should be the msgSender"},"id":15908,"mutability":"constant","name":"MSG_SENDER","nameLocation":"864:10:94","nodeType":"VariableDeclaration","scope":15916,"src":"838:49:94","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15903,"name":"address","nodeType":"ElementaryTypeName","src":"838:7:94","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"value":{"arguments":[{"hexValue":"31","id":15906,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"885:1:94","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":15905,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"877:7:94","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":15904,"name":"address","nodeType":"ElementaryTypeName","src":"877:7:94","typeDescriptions":{}}},"id":15907,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"877:10:94","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":true,"documentation":{"id":15909,"nodeType":"StructuredDocumentation","src":"894:86:94","text":"@notice used to signal that the recipient of an action should be the address(this)"},"id":15915,"mutability":"constant","name":"ADDRESS_THIS","nameLocation":"1011:12:94","nodeType":"VariableDeclaration","scope":15916,"src":"985:51:94","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15910,"name":"address","nodeType":"ElementaryTypeName","src":"985:7:94","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"value":{"arguments":[{"hexValue":"32","id":15913,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1034:1:94","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":15912,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1026:7:94","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":15911,"name":"address","nodeType":"ElementaryTypeName","src":"1026:7:94","typeDescriptions":{}}},"id":15914,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1026:10:94","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"scope":15917,"src":"204:835:94","usedErrors":[],"usedEvents":[]}],"src":"32:1008:94"},"id":94},"@uniswap/v4-periphery/src/libraries/Actions.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/libraries/Actions.sol","exportedSymbols":{"Actions":[15995]},"id":15996,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15918,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:95"},{"abstract":false,"baseContracts":[],"canonicalName":"Actions","contractDependencies":[],"contractKind":"library","documentation":{"id":15919,"nodeType":"StructuredDocumentation","src":"57:334:95","text":"@notice Library to define different pool actions.\n @dev These are suggested common commands, however additional commands should be defined as required\n Some of these actions are not supported in the Router contracts or Position Manager contracts, but are left as they may be helpful commands for other peripheral contracts."},"fullyImplemented":true,"id":15995,"linearizedBaseContracts":[15995],"name":"Actions","nameLocation":"399:7:95","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":15922,"mutability":"constant","name":"INCREASE_LIQUIDITY","nameLocation":"484:18:95","nodeType":"VariableDeclaration","scope":15995,"src":"458:51:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15920,"name":"uint256","nodeType":"ElementaryTypeName","src":"458:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783030","id":15921,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"505:4:95","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0x00"},"visibility":"internal"},{"constant":true,"id":15925,"mutability":"constant","name":"DECREASE_LIQUIDITY","nameLocation":"541:18:95","nodeType":"VariableDeclaration","scope":15995,"src":"515:51:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15923,"name":"uint256","nodeType":"ElementaryTypeName","src":"515:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783031","id":15924,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"562:4:95","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"0x01"},"visibility":"internal"},{"constant":true,"id":15928,"mutability":"constant","name":"MINT_POSITION","nameLocation":"598:13:95","nodeType":"VariableDeclaration","scope":15995,"src":"572:46:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15926,"name":"uint256","nodeType":"ElementaryTypeName","src":"572:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783032","id":15927,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"614:4:95","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"0x02"},"visibility":"internal"},{"constant":true,"id":15931,"mutability":"constant","name":"BURN_POSITION","nameLocation":"650:13:95","nodeType":"VariableDeclaration","scope":15995,"src":"624:46:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15929,"name":"uint256","nodeType":"ElementaryTypeName","src":"624:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783033","id":15930,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"666:4:95","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"0x03"},"visibility":"internal"},{"constant":true,"id":15934,"mutability":"constant","name":"INCREASE_LIQUIDITY_FROM_DELTAS","nameLocation":"702:30:95","nodeType":"VariableDeclaration","scope":15995,"src":"676:63:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15932,"name":"uint256","nodeType":"ElementaryTypeName","src":"676:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783034","id":15933,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"735:4:95","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"0x04"},"visibility":"internal"},{"constant":true,"id":15937,"mutability":"constant","name":"MINT_POSITION_FROM_DELTAS","nameLocation":"771:25:95","nodeType":"VariableDeclaration","scope":15995,"src":"745:58:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15935,"name":"uint256","nodeType":"ElementaryTypeName","src":"745:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783035","id":15936,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"799:4:95","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"0x05"},"visibility":"internal"},{"constant":true,"id":15940,"mutability":"constant","name":"SWAP_EXACT_IN_SINGLE","nameLocation":"852:20:95","nodeType":"VariableDeclaration","scope":15995,"src":"826:53:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15938,"name":"uint256","nodeType":"ElementaryTypeName","src":"826:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783036","id":15939,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"875:4:95","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"0x06"},"visibility":"internal"},{"constant":true,"id":15943,"mutability":"constant","name":"SWAP_EXACT_IN","nameLocation":"911:13:95","nodeType":"VariableDeclaration","scope":15995,"src":"885:46:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15941,"name":"uint256","nodeType":"ElementaryTypeName","src":"885:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783037","id":15942,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"927:4:95","typeDescriptions":{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},"value":"0x07"},"visibility":"internal"},{"constant":true,"id":15946,"mutability":"constant","name":"SWAP_EXACT_OUT_SINGLE","nameLocation":"963:21:95","nodeType":"VariableDeclaration","scope":15995,"src":"937:54:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15944,"name":"uint256","nodeType":"ElementaryTypeName","src":"937:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783038","id":15945,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"987:4:95","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"0x08"},"visibility":"internal"},{"constant":true,"id":15949,"mutability":"constant","name":"SWAP_EXACT_OUT","nameLocation":"1023:14:95","nodeType":"VariableDeclaration","scope":15995,"src":"997:47:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15947,"name":"uint256","nodeType":"ElementaryTypeName","src":"997:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783039","id":15948,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1040:4:95","typeDescriptions":{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},"value":"0x09"},"visibility":"internal"},{"constant":true,"id":15952,"mutability":"constant","name":"DONATE","nameLocation":"1159:6:95","nodeType":"VariableDeclaration","scope":15995,"src":"1133:39:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15950,"name":"uint256","nodeType":"ElementaryTypeName","src":"1133:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783061","id":15951,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1168:4:95","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"0x0a"},"visibility":"internal"},{"constant":true,"id":15955,"mutability":"constant","name":"SETTLE","nameLocation":"1263:6:95","nodeType":"VariableDeclaration","scope":15995,"src":"1237:39:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15953,"name":"uint256","nodeType":"ElementaryTypeName","src":"1237:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783062","id":15954,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1272:4:95","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"0x0b"},"visibility":"internal"},{"constant":true,"id":15958,"mutability":"constant","name":"SETTLE_ALL","nameLocation":"1308:10:95","nodeType":"VariableDeclaration","scope":15995,"src":"1282:43:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15956,"name":"uint256","nodeType":"ElementaryTypeName","src":"1282:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783063","id":15957,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1321:4:95","typeDescriptions":{"typeIdentifier":"t_rational_12_by_1","typeString":"int_const 12"},"value":"0x0c"},"visibility":"internal"},{"constant":true,"id":15961,"mutability":"constant","name":"SETTLE_PAIR","nameLocation":"1357:11:95","nodeType":"VariableDeclaration","scope":15995,"src":"1331:44:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15959,"name":"uint256","nodeType":"ElementaryTypeName","src":"1331:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783064","id":15960,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1371:4:95","typeDescriptions":{"typeIdentifier":"t_rational_13_by_1","typeString":"int_const 13"},"value":"0x0d"},"visibility":"internal"},{"constant":true,"id":15964,"mutability":"constant","name":"TAKE","nameLocation":"1421:4:95","nodeType":"VariableDeclaration","scope":15995,"src":"1395:37:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15962,"name":"uint256","nodeType":"ElementaryTypeName","src":"1395:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783065","id":15963,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1428:4:95","typeDescriptions":{"typeIdentifier":"t_rational_14_by_1","typeString":"int_const 14"},"value":"0x0e"},"visibility":"internal"},{"constant":true,"id":15967,"mutability":"constant","name":"TAKE_ALL","nameLocation":"1464:8:95","nodeType":"VariableDeclaration","scope":15995,"src":"1438:41:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15965,"name":"uint256","nodeType":"ElementaryTypeName","src":"1438:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783066","id":15966,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1475:4:95","typeDescriptions":{"typeIdentifier":"t_rational_15_by_1","typeString":"int_const 15"},"value":"0x0f"},"visibility":"internal"},{"constant":true,"id":15970,"mutability":"constant","name":"TAKE_PORTION","nameLocation":"1511:12:95","nodeType":"VariableDeclaration","scope":15995,"src":"1485:45:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15968,"name":"uint256","nodeType":"ElementaryTypeName","src":"1485:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783130","id":15969,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1526:4:95","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"0x10"},"visibility":"internal"},{"constant":true,"id":15973,"mutability":"constant","name":"TAKE_PAIR","nameLocation":"1562:9:95","nodeType":"VariableDeclaration","scope":15995,"src":"1536:42:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15971,"name":"uint256","nodeType":"ElementaryTypeName","src":"1536:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783131","id":15972,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1574:4:95","typeDescriptions":{"typeIdentifier":"t_rational_17_by_1","typeString":"int_const 17"},"value":"0x11"},"visibility":"internal"},{"constant":true,"id":15976,"mutability":"constant","name":"CLOSE_CURRENCY","nameLocation":"1611:14:95","nodeType":"VariableDeclaration","scope":15995,"src":"1585:47:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15974,"name":"uint256","nodeType":"ElementaryTypeName","src":"1585:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783132","id":15975,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1628:4:95","typeDescriptions":{"typeIdentifier":"t_rational_18_by_1","typeString":"int_const 18"},"value":"0x12"},"visibility":"internal"},{"constant":true,"id":15979,"mutability":"constant","name":"CLEAR_OR_TAKE","nameLocation":"1664:13:95","nodeType":"VariableDeclaration","scope":15995,"src":"1638:46:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15977,"name":"uint256","nodeType":"ElementaryTypeName","src":"1638:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783133","id":15978,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1680:4:95","typeDescriptions":{"typeIdentifier":"t_rational_19_by_1","typeString":"int_const 19"},"value":"0x13"},"visibility":"internal"},{"constant":true,"id":15982,"mutability":"constant","name":"SWEEP","nameLocation":"1716:5:95","nodeType":"VariableDeclaration","scope":15995,"src":"1690:38:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15980,"name":"uint256","nodeType":"ElementaryTypeName","src":"1690:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783134","id":15981,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1724:4:95","typeDescriptions":{"typeIdentifier":"t_rational_20_by_1","typeString":"int_const 20"},"value":"0x14"},"visibility":"internal"},{"constant":true,"id":15985,"mutability":"constant","name":"WRAP","nameLocation":"1761:4:95","nodeType":"VariableDeclaration","scope":15995,"src":"1735:37:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15983,"name":"uint256","nodeType":"ElementaryTypeName","src":"1735:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783135","id":15984,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1768:4:95","typeDescriptions":{"typeIdentifier":"t_rational_21_by_1","typeString":"int_const 21"},"value":"0x15"},"visibility":"internal"},{"constant":true,"id":15988,"mutability":"constant","name":"UNWRAP","nameLocation":"1804:6:95","nodeType":"VariableDeclaration","scope":15995,"src":"1778:39:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15986,"name":"uint256","nodeType":"ElementaryTypeName","src":"1778:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783136","id":15987,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1813:4:95","typeDescriptions":{"typeIdentifier":"t_rational_22_by_1","typeString":"int_const 22"},"value":"0x16"},"visibility":"internal"},{"constant":true,"id":15991,"mutability":"constant","name":"MINT_6909","nameLocation":"1963:9:95","nodeType":"VariableDeclaration","scope":15995,"src":"1937:42:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15989,"name":"uint256","nodeType":"ElementaryTypeName","src":"1937:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783137","id":15990,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1975:4:95","typeDescriptions":{"typeIdentifier":"t_rational_23_by_1","typeString":"int_const 23"},"value":"0x17"},"visibility":"internal"},{"constant":true,"id":15994,"mutability":"constant","name":"BURN_6909","nameLocation":"2011:9:95","nodeType":"VariableDeclaration","scope":15995,"src":"1985:42:95","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15992,"name":"uint256","nodeType":"ElementaryTypeName","src":"1985:7:95","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783138","id":15993,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2023:4:95","typeDescriptions":{"typeIdentifier":"t_rational_24_by_1","typeString":"int_const 24"},"value":"0x18"},"visibility":"internal"}],"scope":15996,"src":"391:1639:95","usedErrors":[],"usedEvents":[]}],"src":"32:1999:95"},"id":95},"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol","exportedSymbols":{"BipsLibrary":[16030]},"id":16031,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15997,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:96"},{"abstract":false,"baseContracts":[],"canonicalName":"BipsLibrary","contractDependencies":[],"contractKind":"library","documentation":{"id":15998,"nodeType":"StructuredDocumentation","src":"57:65:96","text":"@title For calculating a percentage of an amount, using bips"},"fullyImplemented":true,"id":16030,"linearizedBaseContracts":[16030],"name":"BipsLibrary","nameLocation":"130:11:96","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":16001,"mutability":"constant","name":"BPS_DENOMINATOR","nameLocation":"174:15:96","nodeType":"VariableDeclaration","scope":16030,"src":"148:50:96","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15999,"name":"uint256","nodeType":"ElementaryTypeName","src":"148:7:96","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"31305f303030","id":16000,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"192:6:96","typeDescriptions":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"},"value":"10_000"},"visibility":"internal"},{"documentation":{"id":16002,"nodeType":"StructuredDocumentation","src":"205:58:96","text":"@notice emitted when an invalid percentage is provided"},"errorSelector":"deaa01e6","id":16004,"name":"InvalidBips","nameLocation":"274:11:96","nodeType":"ErrorDefinition","parameters":{"id":16003,"nodeType":"ParameterList","parameters":[],"src":"285:2:96"},"src":"268:20:96"},{"body":{"id":16028,"nodeType":"Block","src":"507:115:96","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":16016,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16014,"name":"bips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16009,"src":"521:4:96","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":16015,"name":"BPS_DENOMINATOR","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16001,"src":"528:15:96","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"521:22:96","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":16020,"nodeType":"IfStatement","src":"517:48:96","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":16017,"name":"InvalidBips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16004,"src":"552:11:96","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":16018,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"552:13:96","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":16019,"nodeType":"RevertStatement","src":"545:20:96"}},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":16026,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":16023,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16021,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16007,"src":"583:6:96","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":16022,"name":"bips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16009,"src":"592:4:96","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"583:13:96","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":16024,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"582:15:96","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":16025,"name":"BPS_DENOMINATOR","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16001,"src":"600:15:96","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"582:33:96","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":16013,"id":16027,"nodeType":"Return","src":"575:40:96"}]},"documentation":{"id":16005,"nodeType":"StructuredDocumentation","src":"294:120:96","text":"@param amount The total amount to calculate a percentage of\n @param bips The percentage to calculate, in bips"},"id":16029,"implemented":true,"kind":"function","modifiers":[],"name":"calculatePortion","nameLocation":"428:16:96","nodeType":"FunctionDefinition","parameters":{"id":16010,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16007,"mutability":"mutable","name":"amount","nameLocation":"453:6:96","nodeType":"VariableDeclaration","scope":16029,"src":"445:14:96","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16006,"name":"uint256","nodeType":"ElementaryTypeName","src":"445:7:96","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":16009,"mutability":"mutable","name":"bips","nameLocation":"469:4:96","nodeType":"VariableDeclaration","scope":16029,"src":"461:12:96","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16008,"name":"uint256","nodeType":"ElementaryTypeName","src":"461:7:96","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"444:30:96"},"returnParameters":{"id":16013,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16012,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":16029,"src":"498:7:96","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16011,"name":"uint256","nodeType":"ElementaryTypeName","src":"498:7:96","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"497:9:96"},"scope":16030,"src":"419:203:96","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":16031,"src":"122:502:96","usedErrors":[16004],"usedEvents":[]}],"src":"32:593:96"},"id":96},"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol","exportedSymbols":{"CalldataDecoder":[16368],"Currency":[10717],"IV4Router":[15872],"PoolKey":[11063]},"id":16369,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":16032,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:97"},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"@uniswap/v4-core/src/types/Currency.sol","id":16034,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":16369,"sourceUnit":11012,"src":"57:65:97","symbolAliases":[{"foreign":{"id":16033,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"65:8:97","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IV4Router.sol","file":"../interfaces/IV4Router.sol","id":16036,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":16369,"sourceUnit":15873,"src":"123:54:97","symbolAliases":[{"foreign":{"id":16035,"name":"IV4Router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15872,"src":"131:9:97","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"@uniswap/v4-core/src/types/PoolKey.sol","id":16038,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":16369,"sourceUnit":11064,"src":"178:63:97","symbolAliases":[{"foreign":{"id":16037,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"186:7:97","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"CalldataDecoder","contractDependencies":[],"contractKind":"library","documentation":{"id":16039,"nodeType":"StructuredDocumentation","src":"243:48:97","text":"@title Library for abi decoding in calldata"},"fullyImplemented":true,"id":16368,"linearizedBaseContracts":[16368],"name":"CalldataDecoder","nameLocation":"299:15:97","nodeType":"ContractDefinition","nodes":[{"global":false,"id":16042,"libraryName":{"id":16040,"name":"CalldataDecoder","nameLocations":["327:15:97"],"nodeType":"IdentifierPath","referencedDeclaration":16368,"src":"327:15:97"},"nodeType":"UsingForDirective","src":"321:32:97","typeName":{"id":16041,"name":"bytes","nodeType":"ElementaryTypeName","src":"347:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"errorSelector":"3b99b53d","id":16044,"name":"SliceOutOfBounds","nameLocation":"365:16:97","nodeType":"ErrorDefinition","parameters":{"id":16043,"nodeType":"ParameterList","parameters":[],"src":"381:2:97"},"src":"359:25:97"},{"constant":true,"documentation":{"id":16045,"nodeType":"StructuredDocumentation","src":"390:363:97","text":"@notice mask used for offsets and lengths to ensure no overflow\n @dev no sane abi encoding will pass in an offset or length greater than type(uint32).max\n      (note that this does deviate from standard solidity behavior and offsets/lengths will\n      be interpreted as mod type(uint32).max which will only impact malicious/buggy callers)"},"id":16048,"mutability":"constant","name":"OFFSET_OR_LENGTH_MASK","nameLocation":"775:21:97","nodeType":"VariableDeclaration","scope":16368,"src":"758:51:97","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16046,"name":"uint256","nodeType":"ElementaryTypeName","src":"758:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30786666666666666666","id":16047,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"799:10:97","typeDescriptions":{"typeIdentifier":"t_rational_4294967295_by_1","typeString":"int_const 4294967295"},"value":"0xffffffff"},"visibility":"internal"},{"constant":true,"id":16051,"mutability":"constant","name":"OFFSET_OR_LENGTH_MASK_AND_WORD_ALIGN","nameLocation":"832:36:97","nodeType":"VariableDeclaration","scope":16368,"src":"815:66:97","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16049,"name":"uint256","nodeType":"ElementaryTypeName","src":"815:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30786666666666666530","id":16050,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"871:10:97","typeDescriptions":{"typeIdentifier":"t_rational_4294967264_by_1","typeString":"int_const 4294967264"},"value":"0xffffffe0"},"visibility":"internal"},{"constant":true,"documentation":{"id":16052,"nodeType":"StructuredDocumentation","src":"888:85:97","text":"@notice equivalent to SliceOutOfBounds.selector, stored in least-significant bits"},"id":16055,"mutability":"constant","name":"SLICE_ERROR_SELECTOR","nameLocation":"995:20:97","nodeType":"VariableDeclaration","scope":16368,"src":"978:50:97","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16053,"name":"uint256","nodeType":"ElementaryTypeName","src":"978:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783362393962353364","id":16054,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1018:10:97","typeDescriptions":{"typeIdentifier":"t_rational_999929149_by_1","typeString":"int_const 999929149"},"value":"0x3b99b53d"},"visibility":"internal"},{"body":{"id":16067,"nodeType":"Block","src":"1301:2473:97","statements":[{"AST":{"nativeSrc":"1336:2432:97","nodeType":"YulBlock","src":"1336:2432:97","statements":[{"nativeSrc":"1684:57:97","nodeType":"YulVariableDeclaration","src":"1684:57:97","value":{"arguments":[{"arguments":[{"name":"_bytes.offset","nativeSrc":"1720:13:97","nodeType":"YulIdentifier","src":"1720:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"1707:12:97","nodeType":"YulIdentifier","src":"1707:12:97"},"nativeSrc":"1707:27:97","nodeType":"YulFunctionCall","src":"1707:27:97"},{"kind":"number","nativeSrc":"1736:4:97","nodeType":"YulLiteral","src":"1736:4:97","type":"","value":"0x40"}],"functionName":{"name":"xor","nativeSrc":"1703:3:97","nodeType":"YulIdentifier","src":"1703:3:97"},"nativeSrc":"1703:38:97","nodeType":"YulFunctionCall","src":"1703:38:97"},"variables":[{"name":"invalidData","nativeSrc":"1688:11:97","nodeType":"YulTypedName","src":"1688:11:97","type":""}]},{"nativeSrc":"1754:42:97","nodeType":"YulAssignment","src":"1754:42:97","value":{"arguments":[{"name":"_bytes.offset","nativeSrc":"1776:13:97","nodeType":"YulIdentifier","src":"1776:13:97"},{"kind":"number","nativeSrc":"1791:4:97","nodeType":"YulLiteral","src":"1791:4:97","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"1772:3:97","nodeType":"YulIdentifier","src":"1772:3:97"},"nativeSrc":"1772:24:97","nodeType":"YulFunctionCall","src":"1772:24:97"},"variableNames":[{"name":"actions.offset","nativeSrc":"1754:14:97","nodeType":"YulIdentifier","src":"1754:14:97"}]},{"nativeSrc":"1809:84:97","nodeType":"YulAssignment","src":"1809:84:97","value":{"arguments":[{"arguments":[{"arguments":[{"name":"_bytes.offset","nativeSrc":"1848:13:97","nodeType":"YulIdentifier","src":"1848:13:97"},{"kind":"number","nativeSrc":"1863:4:97","nodeType":"YulLiteral","src":"1863:4:97","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"1844:3:97","nodeType":"YulIdentifier","src":"1844:3:97"},"nativeSrc":"1844:24:97","nodeType":"YulFunctionCall","src":"1844:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"1831:12:97","nodeType":"YulIdentifier","src":"1831:12:97"},"nativeSrc":"1831:38:97","nodeType":"YulFunctionCall","src":"1831:38:97"},{"name":"OFFSET_OR_LENGTH_MASK","nativeSrc":"1871:21:97","nodeType":"YulIdentifier","src":"1871:21:97"}],"functionName":{"name":"and","nativeSrc":"1827:3:97","nodeType":"YulIdentifier","src":"1827:3:97"},"nativeSrc":"1827:66:97","nodeType":"YulFunctionCall","src":"1827:66:97"},"variableNames":[{"name":"actions.length","nativeSrc":"1809:14:97","nodeType":"YulIdentifier","src":"1809:14:97"}]},{"nativeSrc":"2015:105:97","nodeType":"YulVariableDeclaration","src":"2015:105:97","value":{"arguments":[{"arguments":[{"arguments":[{"name":"actions.length","nativeSrc":"2053:14:97","nodeType":"YulIdentifier","src":"2053:14:97"},{"kind":"number","nativeSrc":"2069:4:97","nodeType":"YulLiteral","src":"2069:4:97","type":"","value":"0x1f"}],"functionName":{"name":"add","nativeSrc":"2049:3:97","nodeType":"YulIdentifier","src":"2049:3:97"},"nativeSrc":"2049:25:97","nodeType":"YulFunctionCall","src":"2049:25:97"},{"name":"OFFSET_OR_LENGTH_MASK_AND_WORD_ALIGN","nativeSrc":"2076:36:97","nodeType":"YulIdentifier","src":"2076:36:97"}],"functionName":{"name":"and","nativeSrc":"2045:3:97","nodeType":"YulIdentifier","src":"2045:3:97"},"nativeSrc":"2045:68:97","nodeType":"YulFunctionCall","src":"2045:68:97"},{"kind":"number","nativeSrc":"2115:4:97","nodeType":"YulLiteral","src":"2115:4:97","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"2041:3:97","nodeType":"YulIdentifier","src":"2041:3:97"},"nativeSrc":"2041:79:97","nodeType":"YulFunctionCall","src":"2041:79:97"},"variables":[{"name":"paramsLengthOffset","nativeSrc":"2019:18:97","nodeType":"YulTypedName","src":"2019:18:97","type":""}]},{"nativeSrc":"2193:95:97","nodeType":"YulAssignment","src":"2193:95:97","value":{"arguments":[{"name":"invalidData","nativeSrc":"2211:11:97","nodeType":"YulIdentifier","src":"2211:11:97"},{"arguments":[{"arguments":[{"arguments":[{"name":"_bytes.offset","nativeSrc":"2245:13:97","nodeType":"YulIdentifier","src":"2245:13:97"},{"kind":"number","nativeSrc":"2260:4:97","nodeType":"YulLiteral","src":"2260:4:97","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2241:3:97","nodeType":"YulIdentifier","src":"2241:3:97"},"nativeSrc":"2241:24:97","nodeType":"YulFunctionCall","src":"2241:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"2228:12:97","nodeType":"YulIdentifier","src":"2228:12:97"},"nativeSrc":"2228:38:97","nodeType":"YulFunctionCall","src":"2228:38:97"},{"name":"paramsLengthOffset","nativeSrc":"2268:18:97","nodeType":"YulIdentifier","src":"2268:18:97"}],"functionName":{"name":"xor","nativeSrc":"2224:3:97","nodeType":"YulIdentifier","src":"2224:3:97"},"nativeSrc":"2224:63:97","nodeType":"YulFunctionCall","src":"2224:63:97"}],"functionName":{"name":"or","nativeSrc":"2208:2:97","nodeType":"YulIdentifier","src":"2208:2:97"},"nativeSrc":"2208:80:97","nodeType":"YulFunctionCall","src":"2208:80:97"},"variableNames":[{"name":"invalidData","nativeSrc":"2193:11:97","nodeType":"YulIdentifier","src":"2193:11:97"}]},{"nativeSrc":"2301:65:97","nodeType":"YulVariableDeclaration","src":"2301:65:97","value":{"arguments":[{"name":"_bytes.offset","nativeSrc":"2332:13:97","nodeType":"YulIdentifier","src":"2332:13:97"},{"name":"paramsLengthOffset","nativeSrc":"2347:18:97","nodeType":"YulIdentifier","src":"2347:18:97"}],"functionName":{"name":"add","nativeSrc":"2328:3:97","nodeType":"YulIdentifier","src":"2328:3:97"},"nativeSrc":"2328:38:97","nodeType":"YulFunctionCall","src":"2328:38:97"},"variables":[{"name":"paramsLengthPointer","nativeSrc":"2305:19:97","nodeType":"YulTypedName","src":"2305:19:97","type":""}]},{"nativeSrc":"2379:78:97","nodeType":"YulAssignment","src":"2379:78:97","value":{"arguments":[{"arguments":[{"name":"paramsLengthPointer","nativeSrc":"2413:19:97","nodeType":"YulIdentifier","src":"2413:19:97"}],"functionName":{"name":"calldataload","nativeSrc":"2400:12:97","nodeType":"YulIdentifier","src":"2400:12:97"},"nativeSrc":"2400:33:97","nodeType":"YulFunctionCall","src":"2400:33:97"},{"name":"OFFSET_OR_LENGTH_MASK","nativeSrc":"2435:21:97","nodeType":"YulIdentifier","src":"2435:21:97"}],"functionName":{"name":"and","nativeSrc":"2396:3:97","nodeType":"YulIdentifier","src":"2396:3:97"},"nativeSrc":"2396:61:97","nodeType":"YulFunctionCall","src":"2396:61:97"},"variableNames":[{"name":"params.length","nativeSrc":"2379:13:97","nodeType":"YulIdentifier","src":"2379:13:97"}]},{"nativeSrc":"2470:47:97","nodeType":"YulAssignment","src":"2470:47:97","value":{"arguments":[{"name":"paramsLengthPointer","nativeSrc":"2491:19:97","nodeType":"YulIdentifier","src":"2491:19:97"},{"kind":"number","nativeSrc":"2512:4:97","nodeType":"YulLiteral","src":"2512:4:97","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2487:3:97","nodeType":"YulIdentifier","src":"2487:3:97"},"nativeSrc":"2487:30:97","nodeType":"YulFunctionCall","src":"2487:30:97"},"variableNames":[{"name":"params.offset","nativeSrc":"2470:13:97","nodeType":"YulIdentifier","src":"2470:13:97"}]},{"nativeSrc":"2700:39:97","nodeType":"YulVariableDeclaration","src":"2700:39:97","value":{"arguments":[{"kind":"number","nativeSrc":"2722:1:97","nodeType":"YulLiteral","src":"2722:1:97","type":"","value":"5"},{"name":"params.length","nativeSrc":"2725:13:97","nodeType":"YulIdentifier","src":"2725:13:97"}],"functionName":{"name":"shl","nativeSrc":"2718:3:97","nodeType":"YulIdentifier","src":"2718:3:97"},"nativeSrc":"2718:21:97","nodeType":"YulFunctionCall","src":"2718:21:97"},"variables":[{"name":"tailOffset","nativeSrc":"2704:10:97","nodeType":"YulTypedName","src":"2704:10:97","type":""}]},{"nativeSrc":"2752:32:97","nodeType":"YulVariableDeclaration","src":"2752:32:97","value":{"name":"tailOffset","nativeSrc":"2774:10:97","nodeType":"YulIdentifier","src":"2774:10:97"},"variables":[{"name":"expectedOffset","nativeSrc":"2756:14:97","nodeType":"YulTypedName","src":"2756:14:97","type":""}]},{"body":{"nativeSrc":"2875:560:97","nodeType":"YulBlock","src":"2875:560:97","statements":[{"nativeSrc":"2893:64:97","nodeType":"YulVariableDeclaration","src":"2893:64:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"2934:13:97","nodeType":"YulIdentifier","src":"2934:13:97"},{"name":"offset","nativeSrc":"2949:6:97","nodeType":"YulIdentifier","src":"2949:6:97"}],"functionName":{"name":"add","nativeSrc":"2930:3:97","nodeType":"YulIdentifier","src":"2930:3:97"},"nativeSrc":"2930:26:97","nodeType":"YulFunctionCall","src":"2930:26:97"}],"functionName":{"name":"calldataload","nativeSrc":"2917:12:97","nodeType":"YulIdentifier","src":"2917:12:97"},"nativeSrc":"2917:40:97","nodeType":"YulFunctionCall","src":"2917:40:97"},"variables":[{"name":"itemLengthOffset","nativeSrc":"2897:16:97","nodeType":"YulTypedName","src":"2897:16:97","type":""}]},{"nativeSrc":"3065:69:97","nodeType":"YulAssignment","src":"3065:69:97","value":{"arguments":[{"name":"invalidData","nativeSrc":"3083:11:97","nodeType":"YulIdentifier","src":"3083:11:97"},{"arguments":[{"name":"itemLengthOffset","nativeSrc":"3100:16:97","nodeType":"YulIdentifier","src":"3100:16:97"},{"name":"expectedOffset","nativeSrc":"3118:14:97","nodeType":"YulIdentifier","src":"3118:14:97"}],"functionName":{"name":"xor","nativeSrc":"3096:3:97","nodeType":"YulIdentifier","src":"3096:3:97"},"nativeSrc":"3096:37:97","nodeType":"YulFunctionCall","src":"3096:37:97"}],"functionName":{"name":"or","nativeSrc":"3080:2:97","nodeType":"YulIdentifier","src":"3080:2:97"},"nativeSrc":"3080:54:97","nodeType":"YulFunctionCall","src":"3080:54:97"},"variableNames":[{"name":"invalidData","nativeSrc":"3065:11:97","nodeType":"YulIdentifier","src":"3065:11:97"}]},{"nativeSrc":"3151:61:97","nodeType":"YulVariableDeclaration","src":"3151:61:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"3180:13:97","nodeType":"YulIdentifier","src":"3180:13:97"},{"name":"itemLengthOffset","nativeSrc":"3195:16:97","nodeType":"YulIdentifier","src":"3195:16:97"}],"functionName":{"name":"add","nativeSrc":"3176:3:97","nodeType":"YulIdentifier","src":"3176:3:97"},"nativeSrc":"3176:36:97","nodeType":"YulFunctionCall","src":"3176:36:97"},"variables":[{"name":"itemLengthPointer","nativeSrc":"3155:17:97","nodeType":"YulTypedName","src":"3155:17:97","type":""}]},{"nativeSrc":"3229:130:97","nodeType":"YulVariableDeclaration","src":"3229:130:97","value":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"itemLengthPointer","nativeSrc":"3288:17:97","nodeType":"YulIdentifier","src":"3288:17:97"}],"functionName":{"name":"calldataload","nativeSrc":"3275:12:97","nodeType":"YulIdentifier","src":"3275:12:97"},"nativeSrc":"3275:31:97","nodeType":"YulFunctionCall","src":"3275:31:97"},{"kind":"number","nativeSrc":"3308:4:97","nodeType":"YulLiteral","src":"3308:4:97","type":"","value":"0x1f"}],"functionName":{"name":"add","nativeSrc":"3271:3:97","nodeType":"YulIdentifier","src":"3271:3:97"},"nativeSrc":"3271:42:97","nodeType":"YulFunctionCall","src":"3271:42:97"},{"name":"OFFSET_OR_LENGTH_MASK_AND_WORD_ALIGN","nativeSrc":"3315:36:97","nodeType":"YulIdentifier","src":"3315:36:97"}],"functionName":{"name":"and","nativeSrc":"3267:3:97","nodeType":"YulIdentifier","src":"3267:3:97"},"nativeSrc":"3267:85:97","nodeType":"YulFunctionCall","src":"3267:85:97"},{"kind":"number","nativeSrc":"3354:4:97","nodeType":"YulLiteral","src":"3354:4:97","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"3263:3:97","nodeType":"YulIdentifier","src":"3263:3:97"},"nativeSrc":"3263:96:97","nodeType":"YulFunctionCall","src":"3263:96:97"},"variables":[{"name":"length","nativeSrc":"3233:6:97","nodeType":"YulTypedName","src":"3233:6:97","type":""}]},{"nativeSrc":"3376:45:97","nodeType":"YulAssignment","src":"3376:45:97","value":{"arguments":[{"name":"expectedOffset","nativeSrc":"3398:14:97","nodeType":"YulIdentifier","src":"3398:14:97"},{"name":"length","nativeSrc":"3414:6:97","nodeType":"YulIdentifier","src":"3414:6:97"}],"functionName":{"name":"add","nativeSrc":"3394:3:97","nodeType":"YulIdentifier","src":"3394:3:97"},"nativeSrc":"3394:27:97","nodeType":"YulFunctionCall","src":"3394:27:97"},"variableNames":[{"name":"expectedOffset","nativeSrc":"3376:14:97","nodeType":"YulIdentifier","src":"3376:14:97"}]}]},"condition":{"arguments":[{"name":"offset","nativeSrc":"2825:6:97","nodeType":"YulIdentifier","src":"2825:6:97"},{"name":"tailOffset","nativeSrc":"2833:10:97","nodeType":"YulIdentifier","src":"2833:10:97"}],"functionName":{"name":"lt","nativeSrc":"2822:2:97","nodeType":"YulIdentifier","src":"2822:2:97"},"nativeSrc":"2822:22:97","nodeType":"YulFunctionCall","src":"2822:22:97"},"nativeSrc":"2798:637:97","nodeType":"YulForLoop","post":{"nativeSrc":"2845:29:97","nodeType":"YulBlock","src":"2845:29:97","statements":[{"nativeSrc":"2847:25:97","nodeType":"YulAssignment","src":"2847:25:97","value":{"arguments":[{"name":"offset","nativeSrc":"2861:6:97","nodeType":"YulIdentifier","src":"2861:6:97"},{"kind":"number","nativeSrc":"2869:2:97","nodeType":"YulLiteral","src":"2869:2:97","type":"","value":"32"}],"functionName":{"name":"add","nativeSrc":"2857:3:97","nodeType":"YulIdentifier","src":"2857:3:97"},"nativeSrc":"2857:15:97","nodeType":"YulFunctionCall","src":"2857:15:97"},"variableNames":[{"name":"offset","nativeSrc":"2847:6:97","nodeType":"YulIdentifier","src":"2847:6:97"}]}]},"pre":{"nativeSrc":"2802:19:97","nodeType":"YulBlock","src":"2802:19:97","statements":[{"nativeSrc":"2804:15:97","nodeType":"YulVariableDeclaration","src":"2804:15:97","value":{"kind":"number","nativeSrc":"2818:1:97","nodeType":"YulLiteral","src":"2818:1:97","type":"","value":"0"},"variables":[{"name":"offset","nativeSrc":"2808:6:97","nodeType":"YulTypedName","src":"2808:6:97","type":""}]}]},"src":"2798:637:97"},{"body":{"nativeSrc":"3663:95:97","nodeType":"YulBlock","src":"3663:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3688:1:97","nodeType":"YulLiteral","src":"3688:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"3691:20:97","nodeType":"YulIdentifier","src":"3691:20:97"}],"functionName":{"name":"mstore","nativeSrc":"3681:6:97","nodeType":"YulIdentifier","src":"3681:6:97"},"nativeSrc":"3681:31:97","nodeType":"YulFunctionCall","src":"3681:31:97"},"nativeSrc":"3681:31:97","nodeType":"YulExpressionStatement","src":"3681:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3736:4:97","nodeType":"YulLiteral","src":"3736:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"3742:1:97","nodeType":"YulLiteral","src":"3742:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"3729:6:97","nodeType":"YulIdentifier","src":"3729:6:97"},"nativeSrc":"3729:15:97","nodeType":"YulFunctionCall","src":"3729:15:97"},"nativeSrc":"3729:15:97","nodeType":"YulExpressionStatement","src":"3729:15:97"}]},"condition":{"arguments":[{"name":"invalidData","nativeSrc":"3575:11:97","nodeType":"YulIdentifier","src":"3575:11:97"},{"arguments":[{"arguments":[{"name":"_bytes.length","nativeSrc":"3595:13:97","nodeType":"YulIdentifier","src":"3595:13:97"},{"name":"_bytes.offset","nativeSrc":"3610:13:97","nodeType":"YulIdentifier","src":"3610:13:97"}],"functionName":{"name":"add","nativeSrc":"3591:3:97","nodeType":"YulIdentifier","src":"3591:3:97"},"nativeSrc":"3591:33:97","nodeType":"YulFunctionCall","src":"3591:33:97"},{"arguments":[{"name":"params.offset","nativeSrc":"3630:13:97","nodeType":"YulIdentifier","src":"3630:13:97"},{"name":"expectedOffset","nativeSrc":"3645:14:97","nodeType":"YulIdentifier","src":"3645:14:97"}],"functionName":{"name":"add","nativeSrc":"3626:3:97","nodeType":"YulIdentifier","src":"3626:3:97"},"nativeSrc":"3626:34:97","nodeType":"YulFunctionCall","src":"3626:34:97"}],"functionName":{"name":"lt","nativeSrc":"3588:2:97","nodeType":"YulIdentifier","src":"3588:2:97"},"nativeSrc":"3588:73:97","nodeType":"YulFunctionCall","src":"3588:73:97"}],"functionName":{"name":"or","nativeSrc":"3572:2:97","nodeType":"YulIdentifier","src":"3572:2:97"},"nativeSrc":"3572:90:97","nodeType":"YulFunctionCall","src":"3572:90:97"},"nativeSrc":"3569:189:97","nodeType":"YulIf","src":"3569:189:97"}]},"evmVersion":"cancun","externalReferences":[{"declaration":16048,"isOffset":false,"isSlot":false,"src":"1871:21:97","valueSize":1},{"declaration":16048,"isOffset":false,"isSlot":false,"src":"2435:21:97","valueSize":1},{"declaration":16051,"isOffset":false,"isSlot":false,"src":"2076:36:97","valueSize":1},{"declaration":16051,"isOffset":false,"isSlot":false,"src":"3315:36:97","valueSize":1},{"declaration":16055,"isOffset":false,"isSlot":false,"src":"3691:20:97","valueSize":1},{"declaration":16058,"isOffset":false,"isSlot":false,"src":"3595:13:97","suffix":"length","valueSize":1},{"declaration":16058,"isOffset":true,"isSlot":false,"src":"1720:13:97","suffix":"offset","valueSize":1},{"declaration":16058,"isOffset":true,"isSlot":false,"src":"1776:13:97","suffix":"offset","valueSize":1},{"declaration":16058,"isOffset":true,"isSlot":false,"src":"1848:13:97","suffix":"offset","valueSize":1},{"declaration":16058,"isOffset":true,"isSlot":false,"src":"2245:13:97","suffix":"offset","valueSize":1},{"declaration":16058,"isOffset":true,"isSlot":false,"src":"2332:13:97","suffix":"offset","valueSize":1},{"declaration":16058,"isOffset":true,"isSlot":false,"src":"3610:13:97","suffix":"offset","valueSize":1},{"declaration":16061,"isOffset":false,"isSlot":false,"src":"1809:14:97","suffix":"length","valueSize":1},{"declaration":16061,"isOffset":false,"isSlot":false,"src":"2053:14:97","suffix":"length","valueSize":1},{"declaration":16061,"isOffset":true,"isSlot":false,"src":"1754:14:97","suffix":"offset","valueSize":1},{"declaration":16064,"isOffset":false,"isSlot":false,"src":"2379:13:97","suffix":"length","valueSize":1},{"declaration":16064,"isOffset":false,"isSlot":false,"src":"2725:13:97","suffix":"length","valueSize":1},{"declaration":16064,"isOffset":true,"isSlot":false,"src":"2470:13:97","suffix":"offset","valueSize":1},{"declaration":16064,"isOffset":true,"isSlot":false,"src":"2934:13:97","suffix":"offset","valueSize":1},{"declaration":16064,"isOffset":true,"isSlot":false,"src":"3180:13:97","suffix":"offset","valueSize":1},{"declaration":16064,"isOffset":true,"isSlot":false,"src":"3630:13:97","suffix":"offset","valueSize":1}],"flags":["memory-safe"],"id":16066,"nodeType":"InlineAssembly","src":"1311:2457:97"}]},"documentation":{"id":16056,"nodeType":"StructuredDocumentation","src":"1035:103:97","text":"@dev equivalent to: abi.decode(params, (bytes, bytes[])) in calldata (requires strict abi encoding)"},"id":16068,"implemented":true,"kind":"function","modifiers":[],"name":"decodeActionsRouterParams","nameLocation":"1152:25:97","nodeType":"FunctionDefinition","parameters":{"id":16059,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16058,"mutability":"mutable","name":"_bytes","nameLocation":"1193:6:97","nodeType":"VariableDeclaration","scope":16068,"src":"1178:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16057,"name":"bytes","nodeType":"ElementaryTypeName","src":"1178:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1177:23:97"},"returnParameters":{"id":16065,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16061,"mutability":"mutable","name":"actions","nameLocation":"1263:7:97","nodeType":"VariableDeclaration","scope":16068,"src":"1248:22:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16060,"name":"bytes","nodeType":"ElementaryTypeName","src":"1248:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":16064,"mutability":"mutable","name":"params","nameLocation":"1289:6:97","nodeType":"VariableDeclaration","scope":16068,"src":"1272:23:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":16062,"name":"bytes","nodeType":"ElementaryTypeName","src":"1272:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":16063,"nodeType":"ArrayTypeName","src":"1272:7:97","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"src":"1247:49:97"},"scope":16368,"src":"1143:2631:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16092,"nodeType":"Block","src":"4090:408:97","statements":[{"AST":{"nativeSrc":"4203:250:97","nodeType":"YulBlock","src":"4203:250:97","statements":[{"nativeSrc":"4217:38:97","nodeType":"YulAssignment","src":"4217:38:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"4241:13:97","nodeType":"YulIdentifier","src":"4241:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"4228:12:97","nodeType":"YulIdentifier","src":"4228:12:97"},"nativeSrc":"4228:27:97","nodeType":"YulFunctionCall","src":"4228:27:97"},"variableNames":[{"name":"tokenId","nativeSrc":"4217:7:97","nodeType":"YulIdentifier","src":"4217:7:97"}]},{"nativeSrc":"4268:51:97","nodeType":"YulAssignment","src":"4268:51:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"4298:13:97","nodeType":"YulIdentifier","src":"4298:13:97"},{"kind":"number","nativeSrc":"4313:4:97","nodeType":"YulLiteral","src":"4313:4:97","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"4294:3:97","nodeType":"YulIdentifier","src":"4294:3:97"},"nativeSrc":"4294:24:97","nodeType":"YulFunctionCall","src":"4294:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"4281:12:97","nodeType":"YulIdentifier","src":"4281:12:97"},"nativeSrc":"4281:38:97","nodeType":"YulFunctionCall","src":"4281:38:97"},"variableNames":[{"name":"liquidity","nativeSrc":"4268:9:97","nodeType":"YulIdentifier","src":"4268:9:97"}]},{"nativeSrc":"4332:49:97","nodeType":"YulAssignment","src":"4332:49:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"4360:13:97","nodeType":"YulIdentifier","src":"4360:13:97"},{"kind":"number","nativeSrc":"4375:4:97","nodeType":"YulLiteral","src":"4375:4:97","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"4356:3:97","nodeType":"YulIdentifier","src":"4356:3:97"},"nativeSrc":"4356:24:97","nodeType":"YulFunctionCall","src":"4356:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"4343:12:97","nodeType":"YulIdentifier","src":"4343:12:97"},"nativeSrc":"4343:38:97","nodeType":"YulFunctionCall","src":"4343:38:97"},"variableNames":[{"name":"amount0","nativeSrc":"4332:7:97","nodeType":"YulIdentifier","src":"4332:7:97"}]},{"nativeSrc":"4394:49:97","nodeType":"YulAssignment","src":"4394:49:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"4422:13:97","nodeType":"YulIdentifier","src":"4422:13:97"},{"kind":"number","nativeSrc":"4437:4:97","nodeType":"YulLiteral","src":"4437:4:97","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"4418:3:97","nodeType":"YulIdentifier","src":"4418:3:97"},"nativeSrc":"4418:24:97","nodeType":"YulFunctionCall","src":"4418:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"4405:12:97","nodeType":"YulIdentifier","src":"4405:12:97"},"nativeSrc":"4405:38:97","nodeType":"YulFunctionCall","src":"4405:38:97"},"variableNames":[{"name":"amount1","nativeSrc":"4394:7:97","nodeType":"YulIdentifier","src":"4394:7:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16078,"isOffset":false,"isSlot":false,"src":"4332:7:97","valueSize":1},{"declaration":16080,"isOffset":false,"isSlot":false,"src":"4394:7:97","valueSize":1},{"declaration":16076,"isOffset":false,"isSlot":false,"src":"4268:9:97","valueSize":1},{"declaration":16071,"isOffset":true,"isSlot":false,"src":"4241:13:97","suffix":"offset","valueSize":1},{"declaration":16071,"isOffset":true,"isSlot":false,"src":"4298:13:97","suffix":"offset","valueSize":1},{"declaration":16071,"isOffset":true,"isSlot":false,"src":"4360:13:97","suffix":"offset","valueSize":1},{"declaration":16071,"isOffset":true,"isSlot":false,"src":"4422:13:97","suffix":"offset","valueSize":1},{"declaration":16074,"isOffset":false,"isSlot":false,"src":"4217:7:97","valueSize":1}],"flags":["memory-safe"],"id":16084,"nodeType":"InlineAssembly","src":"4178:275:97"},{"expression":{"id":16090,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":16085,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16082,"src":"4463:8:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"34","id":16088,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4489:1:97","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"}],"expression":{"id":16086,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16071,"src":"4474:6:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":16087,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4481:7:97","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":16367,"src":"4474:14:97","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (bytes calldata)"}},"id":16089,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4474:17:97","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"src":"4463:28:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":16091,"nodeType":"ExpressionStatement","src":"4463:28:97"}]},"documentation":{"id":16069,"nodeType":"StructuredDocumentation","src":"3780:99:97","text":"@dev equivalent to: abi.decode(params, (uint256, uint256, uint128, uint128, bytes)) in calldata"},"id":16093,"implemented":true,"kind":"function","modifiers":[],"name":"decodeModifyLiquidityParams","nameLocation":"3893:27:97","nodeType":"FunctionDefinition","parameters":{"id":16072,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16071,"mutability":"mutable","name":"params","nameLocation":"3936:6:97","nodeType":"VariableDeclaration","scope":16093,"src":"3921:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16070,"name":"bytes","nodeType":"ElementaryTypeName","src":"3921:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3920:23:97"},"returnParameters":{"id":16083,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16074,"mutability":"mutable","name":"tokenId","nameLocation":"3999:7:97","nodeType":"VariableDeclaration","scope":16093,"src":"3991:15:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16073,"name":"uint256","nodeType":"ElementaryTypeName","src":"3991:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":16076,"mutability":"mutable","name":"liquidity","nameLocation":"4016:9:97","nodeType":"VariableDeclaration","scope":16093,"src":"4008:17:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16075,"name":"uint256","nodeType":"ElementaryTypeName","src":"4008:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":16078,"mutability":"mutable","name":"amount0","nameLocation":"4035:7:97","nodeType":"VariableDeclaration","scope":16093,"src":"4027:15:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16077,"name":"uint128","nodeType":"ElementaryTypeName","src":"4027:7:97","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16080,"mutability":"mutable","name":"amount1","nameLocation":"4052:7:97","nodeType":"VariableDeclaration","scope":16093,"src":"4044:15:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16079,"name":"uint128","nodeType":"ElementaryTypeName","src":"4044:7:97","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16082,"mutability":"mutable","name":"hookData","nameLocation":"4076:8:97","nodeType":"VariableDeclaration","scope":16093,"src":"4061:23:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16081,"name":"bytes","nodeType":"ElementaryTypeName","src":"4061:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3990:95:97"},"scope":16368,"src":"3884:614:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16115,"nodeType":"Block","src":"4804:350:97","statements":[{"AST":{"nativeSrc":"4917:192:97","nodeType":"YulBlock","src":"4917:192:97","statements":[{"nativeSrc":"4931:38:97","nodeType":"YulAssignment","src":"4931:38:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"4955:13:97","nodeType":"YulIdentifier","src":"4955:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"4942:12:97","nodeType":"YulIdentifier","src":"4942:12:97"},"nativeSrc":"4942:27:97","nodeType":"YulFunctionCall","src":"4942:27:97"},"variableNames":[{"name":"tokenId","nativeSrc":"4931:7:97","nodeType":"YulIdentifier","src":"4931:7:97"}]},{"nativeSrc":"4982:52:97","nodeType":"YulAssignment","src":"4982:52:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"5013:13:97","nodeType":"YulIdentifier","src":"5013:13:97"},{"kind":"number","nativeSrc":"5028:4:97","nodeType":"YulLiteral","src":"5028:4:97","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"5009:3:97","nodeType":"YulIdentifier","src":"5009:3:97"},"nativeSrc":"5009:24:97","nodeType":"YulFunctionCall","src":"5009:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"4996:12:97","nodeType":"YulIdentifier","src":"4996:12:97"},"nativeSrc":"4996:38:97","nodeType":"YulFunctionCall","src":"4996:38:97"},"variableNames":[{"name":"amount0Max","nativeSrc":"4982:10:97","nodeType":"YulIdentifier","src":"4982:10:97"}]},{"nativeSrc":"5047:52:97","nodeType":"YulAssignment","src":"5047:52:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"5078:13:97","nodeType":"YulIdentifier","src":"5078:13:97"},{"kind":"number","nativeSrc":"5093:4:97","nodeType":"YulLiteral","src":"5093:4:97","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"5074:3:97","nodeType":"YulIdentifier","src":"5074:3:97"},"nativeSrc":"5074:24:97","nodeType":"YulFunctionCall","src":"5074:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"5061:12:97","nodeType":"YulIdentifier","src":"5061:12:97"},"nativeSrc":"5061:38:97","nodeType":"YulFunctionCall","src":"5061:38:97"},"variableNames":[{"name":"amount1Max","nativeSrc":"5047:10:97","nodeType":"YulIdentifier","src":"5047:10:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16101,"isOffset":false,"isSlot":false,"src":"4982:10:97","valueSize":1},{"declaration":16103,"isOffset":false,"isSlot":false,"src":"5047:10:97","valueSize":1},{"declaration":16096,"isOffset":true,"isSlot":false,"src":"4955:13:97","suffix":"offset","valueSize":1},{"declaration":16096,"isOffset":true,"isSlot":false,"src":"5013:13:97","suffix":"offset","valueSize":1},{"declaration":16096,"isOffset":true,"isSlot":false,"src":"5078:13:97","suffix":"offset","valueSize":1},{"declaration":16099,"isOffset":false,"isSlot":false,"src":"4931:7:97","valueSize":1}],"flags":["memory-safe"],"id":16107,"nodeType":"InlineAssembly","src":"4892:217:97"},{"expression":{"id":16113,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":16108,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16105,"src":"5119:8:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"33","id":16111,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5145:1:97","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"}],"expression":{"id":16109,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16096,"src":"5130:6:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":16110,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5137:7:97","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":16367,"src":"5130:14:97","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (bytes calldata)"}},"id":16112,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5130:17:97","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"src":"5119:28:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":16114,"nodeType":"ExpressionStatement","src":"5119:28:97"}]},"documentation":{"id":16094,"nodeType":"StructuredDocumentation","src":"4504:90:97","text":"@dev equivalent to: abi.decode(params, (uint256, uint128, uint128, bytes)) in calldata"},"id":16116,"implemented":true,"kind":"function","modifiers":[],"name":"decodeIncreaseLiquidityFromDeltasParams","nameLocation":"4608:39:97","nodeType":"FunctionDefinition","parameters":{"id":16097,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16096,"mutability":"mutable","name":"params","nameLocation":"4663:6:97","nodeType":"VariableDeclaration","scope":16116,"src":"4648:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16095,"name":"bytes","nodeType":"ElementaryTypeName","src":"4648:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4647:23:97"},"returnParameters":{"id":16106,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16099,"mutability":"mutable","name":"tokenId","nameLocation":"4726:7:97","nodeType":"VariableDeclaration","scope":16116,"src":"4718:15:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16098,"name":"uint256","nodeType":"ElementaryTypeName","src":"4718:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":16101,"mutability":"mutable","name":"amount0Max","nameLocation":"4743:10:97","nodeType":"VariableDeclaration","scope":16116,"src":"4735:18:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16100,"name":"uint128","nodeType":"ElementaryTypeName","src":"4735:7:97","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16103,"mutability":"mutable","name":"amount1Max","nameLocation":"4763:10:97","nodeType":"VariableDeclaration","scope":16116,"src":"4755:18:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16102,"name":"uint128","nodeType":"ElementaryTypeName","src":"4755:7:97","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16105,"mutability":"mutable","name":"hookData","nameLocation":"4790:8:97","nodeType":"VariableDeclaration","scope":16116,"src":"4775:23:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16104,"name":"bytes","nodeType":"ElementaryTypeName","src":"4775:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4717:82:97"},"scope":16368,"src":"4599:555:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16147,"nodeType":"Block","src":"5652:591:97","statements":[{"AST":{"nativeSrc":"5765:433:97","nodeType":"YulBlock","src":"5765:433:97","statements":[{"nativeSrc":"5779:24:97","nodeType":"YulAssignment","src":"5779:24:97","value":{"name":"params.offset","nativeSrc":"5790:13:97","nodeType":"YulIdentifier","src":"5790:13:97"},"variableNames":[{"name":"poolKey","nativeSrc":"5779:7:97","nodeType":"YulIdentifier","src":"5779:7:97"}]},{"nativeSrc":"5816:51:97","nodeType":"YulAssignment","src":"5816:51:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"5846:13:97","nodeType":"YulIdentifier","src":"5846:13:97"},{"kind":"number","nativeSrc":"5861:4:97","nodeType":"YulLiteral","src":"5861:4:97","type":"","value":"0xa0"}],"functionName":{"name":"add","nativeSrc":"5842:3:97","nodeType":"YulIdentifier","src":"5842:3:97"},"nativeSrc":"5842:24:97","nodeType":"YulFunctionCall","src":"5842:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"5829:12:97","nodeType":"YulIdentifier","src":"5829:12:97"},"nativeSrc":"5829:38:97","nodeType":"YulFunctionCall","src":"5829:38:97"},"variableNames":[{"name":"tickLower","nativeSrc":"5816:9:97","nodeType":"YulIdentifier","src":"5816:9:97"}]},{"nativeSrc":"5880:51:97","nodeType":"YulAssignment","src":"5880:51:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"5910:13:97","nodeType":"YulIdentifier","src":"5910:13:97"},{"kind":"number","nativeSrc":"5925:4:97","nodeType":"YulLiteral","src":"5925:4:97","type":"","value":"0xc0"}],"functionName":{"name":"add","nativeSrc":"5906:3:97","nodeType":"YulIdentifier","src":"5906:3:97"},"nativeSrc":"5906:24:97","nodeType":"YulFunctionCall","src":"5906:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"5893:12:97","nodeType":"YulIdentifier","src":"5893:12:97"},"nativeSrc":"5893:38:97","nodeType":"YulFunctionCall","src":"5893:38:97"},"variableNames":[{"name":"tickUpper","nativeSrc":"5880:9:97","nodeType":"YulIdentifier","src":"5880:9:97"}]},{"nativeSrc":"5944:51:97","nodeType":"YulAssignment","src":"5944:51:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"5974:13:97","nodeType":"YulIdentifier","src":"5974:13:97"},{"kind":"number","nativeSrc":"5989:4:97","nodeType":"YulLiteral","src":"5989:4:97","type":"","value":"0xe0"}],"functionName":{"name":"add","nativeSrc":"5970:3:97","nodeType":"YulIdentifier","src":"5970:3:97"},"nativeSrc":"5970:24:97","nodeType":"YulFunctionCall","src":"5970:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"5957:12:97","nodeType":"YulIdentifier","src":"5957:12:97"},"nativeSrc":"5957:38:97","nodeType":"YulFunctionCall","src":"5957:38:97"},"variableNames":[{"name":"liquidity","nativeSrc":"5944:9:97","nodeType":"YulIdentifier","src":"5944:9:97"}]},{"nativeSrc":"6008:53:97","nodeType":"YulAssignment","src":"6008:53:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"6039:13:97","nodeType":"YulIdentifier","src":"6039:13:97"},{"kind":"number","nativeSrc":"6054:5:97","nodeType":"YulLiteral","src":"6054:5:97","type":"","value":"0x100"}],"functionName":{"name":"add","nativeSrc":"6035:3:97","nodeType":"YulIdentifier","src":"6035:3:97"},"nativeSrc":"6035:25:97","nodeType":"YulFunctionCall","src":"6035:25:97"}],"functionName":{"name":"calldataload","nativeSrc":"6022:12:97","nodeType":"YulIdentifier","src":"6022:12:97"},"nativeSrc":"6022:39:97","nodeType":"YulFunctionCall","src":"6022:39:97"},"variableNames":[{"name":"amount0Max","nativeSrc":"6008:10:97","nodeType":"YulIdentifier","src":"6008:10:97"}]},{"nativeSrc":"6074:53:97","nodeType":"YulAssignment","src":"6074:53:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"6105:13:97","nodeType":"YulIdentifier","src":"6105:13:97"},{"kind":"number","nativeSrc":"6120:5:97","nodeType":"YulLiteral","src":"6120:5:97","type":"","value":"0x120"}],"functionName":{"name":"add","nativeSrc":"6101:3:97","nodeType":"YulIdentifier","src":"6101:3:97"},"nativeSrc":"6101:25:97","nodeType":"YulFunctionCall","src":"6101:25:97"}],"functionName":{"name":"calldataload","nativeSrc":"6088:12:97","nodeType":"YulIdentifier","src":"6088:12:97"},"nativeSrc":"6088:39:97","nodeType":"YulFunctionCall","src":"6088:39:97"},"variableNames":[{"name":"amount1Max","nativeSrc":"6074:10:97","nodeType":"YulIdentifier","src":"6074:10:97"}]},{"nativeSrc":"6140:48:97","nodeType":"YulAssignment","src":"6140:48:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"6166:13:97","nodeType":"YulIdentifier","src":"6166:13:97"},{"kind":"number","nativeSrc":"6181:5:97","nodeType":"YulLiteral","src":"6181:5:97","type":"","value":"0x140"}],"functionName":{"name":"add","nativeSrc":"6162:3:97","nodeType":"YulIdentifier","src":"6162:3:97"},"nativeSrc":"6162:25:97","nodeType":"YulFunctionCall","src":"6162:25:97"}],"functionName":{"name":"calldataload","nativeSrc":"6149:12:97","nodeType":"YulIdentifier","src":"6149:12:97"},"nativeSrc":"6149:39:97","nodeType":"YulFunctionCall","src":"6149:39:97"},"variableNames":[{"name":"owner","nativeSrc":"6140:5:97","nodeType":"YulIdentifier","src":"6140:5:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16131,"isOffset":false,"isSlot":false,"src":"6008:10:97","valueSize":1},{"declaration":16133,"isOffset":false,"isSlot":false,"src":"6074:10:97","valueSize":1},{"declaration":16129,"isOffset":false,"isSlot":false,"src":"5944:9:97","valueSize":1},{"declaration":16135,"isOffset":false,"isSlot":false,"src":"6140:5:97","valueSize":1},{"declaration":16119,"isOffset":true,"isSlot":false,"src":"5790:13:97","suffix":"offset","valueSize":1},{"declaration":16119,"isOffset":true,"isSlot":false,"src":"5846:13:97","suffix":"offset","valueSize":1},{"declaration":16119,"isOffset":true,"isSlot":false,"src":"5910:13:97","suffix":"offset","valueSize":1},{"declaration":16119,"isOffset":true,"isSlot":false,"src":"5974:13:97","suffix":"offset","valueSize":1},{"declaration":16119,"isOffset":true,"isSlot":false,"src":"6039:13:97","suffix":"offset","valueSize":1},{"declaration":16119,"isOffset":true,"isSlot":false,"src":"6105:13:97","suffix":"offset","valueSize":1},{"declaration":16119,"isOffset":true,"isSlot":false,"src":"6166:13:97","suffix":"offset","valueSize":1},{"declaration":16123,"isOffset":false,"isSlot":false,"src":"5779:7:97","valueSize":1},{"declaration":16125,"isOffset":false,"isSlot":false,"src":"5816:9:97","valueSize":1},{"declaration":16127,"isOffset":false,"isSlot":false,"src":"5880:9:97","valueSize":1}],"flags":["memory-safe"],"id":16139,"nodeType":"InlineAssembly","src":"5740:458:97"},{"expression":{"id":16145,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":16140,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16137,"src":"6207:8:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"3131","id":16143,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6233:2:97","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"}],"expression":{"id":16141,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16119,"src":"6218:6:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":16142,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6225:7:97","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":16367,"src":"6218:14:97","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (bytes calldata)"}},"id":16144,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6218:18:97","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"src":"6207:29:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":16146,"nodeType":"ExpressionStatement","src":"6207:29:97"}]},"documentation":{"id":16117,"nodeType":"StructuredDocumentation","src":"5160:122:97","text":"@dev equivalent to: abi.decode(params, (PoolKey, int24, int24, uint256, uint128, uint128, address, bytes)) in calldata"},"id":16148,"implemented":true,"kind":"function","modifiers":[],"name":"decodeMintParams","nameLocation":"5296:16:97","nodeType":"FunctionDefinition","parameters":{"id":16120,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16119,"mutability":"mutable","name":"params","nameLocation":"5328:6:97","nodeType":"VariableDeclaration","scope":16148,"src":"5313:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16118,"name":"bytes","nodeType":"ElementaryTypeName","src":"5313:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5312:23:97"},"returnParameters":{"id":16138,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16123,"mutability":"mutable","name":"poolKey","nameLocation":"5413:7:97","nodeType":"VariableDeclaration","scope":16148,"src":"5396:24:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":16122,"nodeType":"UserDefinedTypeName","pathNode":{"id":16121,"name":"PoolKey","nameLocations":["5396:7:97"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"5396:7:97"},"referencedDeclaration":11063,"src":"5396:7:97","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":16125,"mutability":"mutable","name":"tickLower","nameLocation":"5440:9:97","nodeType":"VariableDeclaration","scope":16148,"src":"5434:15:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":16124,"name":"int24","nodeType":"ElementaryTypeName","src":"5434:5:97","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":16127,"mutability":"mutable","name":"tickUpper","nameLocation":"5469:9:97","nodeType":"VariableDeclaration","scope":16148,"src":"5463:15:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":16126,"name":"int24","nodeType":"ElementaryTypeName","src":"5463:5:97","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":16129,"mutability":"mutable","name":"liquidity","nameLocation":"5500:9:97","nodeType":"VariableDeclaration","scope":16148,"src":"5492:17:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16128,"name":"uint256","nodeType":"ElementaryTypeName","src":"5492:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":16131,"mutability":"mutable","name":"amount0Max","nameLocation":"5531:10:97","nodeType":"VariableDeclaration","scope":16148,"src":"5523:18:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16130,"name":"uint128","nodeType":"ElementaryTypeName","src":"5523:7:97","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16133,"mutability":"mutable","name":"amount1Max","nameLocation":"5563:10:97","nodeType":"VariableDeclaration","scope":16148,"src":"5555:18:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16132,"name":"uint128","nodeType":"ElementaryTypeName","src":"5555:7:97","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16135,"mutability":"mutable","name":"owner","nameLocation":"5595:5:97","nodeType":"VariableDeclaration","scope":16148,"src":"5587:13:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":16134,"name":"address","nodeType":"ElementaryTypeName","src":"5587:7:97","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":16137,"mutability":"mutable","name":"hookData","nameLocation":"5629:8:97","nodeType":"VariableDeclaration","scope":16148,"src":"5614:23:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16136,"name":"bytes","nodeType":"ElementaryTypeName","src":"5614:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5382:265:97"},"scope":16368,"src":"5287:956:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16177,"nodeType":"Block","src":"6711:527:97","statements":[{"AST":{"nativeSrc":"6824:368:97","nodeType":"YulBlock","src":"6824:368:97","statements":[{"nativeSrc":"6838:24:97","nodeType":"YulAssignment","src":"6838:24:97","value":{"name":"params.offset","nativeSrc":"6849:13:97","nodeType":"YulIdentifier","src":"6849:13:97"},"variableNames":[{"name":"poolKey","nativeSrc":"6838:7:97","nodeType":"YulIdentifier","src":"6838:7:97"}]},{"nativeSrc":"6875:51:97","nodeType":"YulAssignment","src":"6875:51:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"6905:13:97","nodeType":"YulIdentifier","src":"6905:13:97"},{"kind":"number","nativeSrc":"6920:4:97","nodeType":"YulLiteral","src":"6920:4:97","type":"","value":"0xa0"}],"functionName":{"name":"add","nativeSrc":"6901:3:97","nodeType":"YulIdentifier","src":"6901:3:97"},"nativeSrc":"6901:24:97","nodeType":"YulFunctionCall","src":"6901:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"6888:12:97","nodeType":"YulIdentifier","src":"6888:12:97"},"nativeSrc":"6888:38:97","nodeType":"YulFunctionCall","src":"6888:38:97"},"variableNames":[{"name":"tickLower","nativeSrc":"6875:9:97","nodeType":"YulIdentifier","src":"6875:9:97"}]},{"nativeSrc":"6939:51:97","nodeType":"YulAssignment","src":"6939:51:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"6969:13:97","nodeType":"YulIdentifier","src":"6969:13:97"},{"kind":"number","nativeSrc":"6984:4:97","nodeType":"YulLiteral","src":"6984:4:97","type":"","value":"0xc0"}],"functionName":{"name":"add","nativeSrc":"6965:3:97","nodeType":"YulIdentifier","src":"6965:3:97"},"nativeSrc":"6965:24:97","nodeType":"YulFunctionCall","src":"6965:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"6952:12:97","nodeType":"YulIdentifier","src":"6952:12:97"},"nativeSrc":"6952:38:97","nodeType":"YulFunctionCall","src":"6952:38:97"},"variableNames":[{"name":"tickUpper","nativeSrc":"6939:9:97","nodeType":"YulIdentifier","src":"6939:9:97"}]},{"nativeSrc":"7003:52:97","nodeType":"YulAssignment","src":"7003:52:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"7034:13:97","nodeType":"YulIdentifier","src":"7034:13:97"},{"kind":"number","nativeSrc":"7049:4:97","nodeType":"YulLiteral","src":"7049:4:97","type":"","value":"0xe0"}],"functionName":{"name":"add","nativeSrc":"7030:3:97","nodeType":"YulIdentifier","src":"7030:3:97"},"nativeSrc":"7030:24:97","nodeType":"YulFunctionCall","src":"7030:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"7017:12:97","nodeType":"YulIdentifier","src":"7017:12:97"},"nativeSrc":"7017:38:97","nodeType":"YulFunctionCall","src":"7017:38:97"},"variableNames":[{"name":"amount0Max","nativeSrc":"7003:10:97","nodeType":"YulIdentifier","src":"7003:10:97"}]},{"nativeSrc":"7068:53:97","nodeType":"YulAssignment","src":"7068:53:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"7099:13:97","nodeType":"YulIdentifier","src":"7099:13:97"},{"kind":"number","nativeSrc":"7114:5:97","nodeType":"YulLiteral","src":"7114:5:97","type":"","value":"0x100"}],"functionName":{"name":"add","nativeSrc":"7095:3:97","nodeType":"YulIdentifier","src":"7095:3:97"},"nativeSrc":"7095:25:97","nodeType":"YulFunctionCall","src":"7095:25:97"}],"functionName":{"name":"calldataload","nativeSrc":"7082:12:97","nodeType":"YulIdentifier","src":"7082:12:97"},"nativeSrc":"7082:39:97","nodeType":"YulFunctionCall","src":"7082:39:97"},"variableNames":[{"name":"amount1Max","nativeSrc":"7068:10:97","nodeType":"YulIdentifier","src":"7068:10:97"}]},{"nativeSrc":"7134:48:97","nodeType":"YulAssignment","src":"7134:48:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"7160:13:97","nodeType":"YulIdentifier","src":"7160:13:97"},{"kind":"number","nativeSrc":"7175:5:97","nodeType":"YulLiteral","src":"7175:5:97","type":"","value":"0x120"}],"functionName":{"name":"add","nativeSrc":"7156:3:97","nodeType":"YulIdentifier","src":"7156:3:97"},"nativeSrc":"7156:25:97","nodeType":"YulFunctionCall","src":"7156:25:97"}],"functionName":{"name":"calldataload","nativeSrc":"7143:12:97","nodeType":"YulIdentifier","src":"7143:12:97"},"nativeSrc":"7143:39:97","nodeType":"YulFunctionCall","src":"7143:39:97"},"variableNames":[{"name":"owner","nativeSrc":"7134:5:97","nodeType":"YulIdentifier","src":"7134:5:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16161,"isOffset":false,"isSlot":false,"src":"7003:10:97","valueSize":1},{"declaration":16163,"isOffset":false,"isSlot":false,"src":"7068:10:97","valueSize":1},{"declaration":16165,"isOffset":false,"isSlot":false,"src":"7134:5:97","valueSize":1},{"declaration":16151,"isOffset":true,"isSlot":false,"src":"6849:13:97","suffix":"offset","valueSize":1},{"declaration":16151,"isOffset":true,"isSlot":false,"src":"6905:13:97","suffix":"offset","valueSize":1},{"declaration":16151,"isOffset":true,"isSlot":false,"src":"6969:13:97","suffix":"offset","valueSize":1},{"declaration":16151,"isOffset":true,"isSlot":false,"src":"7034:13:97","suffix":"offset","valueSize":1},{"declaration":16151,"isOffset":true,"isSlot":false,"src":"7099:13:97","suffix":"offset","valueSize":1},{"declaration":16151,"isOffset":true,"isSlot":false,"src":"7160:13:97","suffix":"offset","valueSize":1},{"declaration":16155,"isOffset":false,"isSlot":false,"src":"6838:7:97","valueSize":1},{"declaration":16157,"isOffset":false,"isSlot":false,"src":"6875:9:97","valueSize":1},{"declaration":16159,"isOffset":false,"isSlot":false,"src":"6939:9:97","valueSize":1}],"flags":["memory-safe"],"id":16169,"nodeType":"InlineAssembly","src":"6799:393:97"},{"expression":{"id":16175,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":16170,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16167,"src":"7202:8:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"3130","id":16173,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7228:2:97","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"}],"expression":{"id":16171,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16151,"src":"7213:6:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":16172,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7220:7:97","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":16367,"src":"7213:14:97","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (bytes calldata)"}},"id":16174,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7213:18:97","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"src":"7202:29:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":16176,"nodeType":"ExpressionStatement","src":"7202:29:97"}]},"documentation":{"id":16149,"nodeType":"StructuredDocumentation","src":"6249:113:97","text":"@dev equivalent to: abi.decode(params, (PoolKey, int24, int24, uint128, uint128, address, bytes)) in calldata"},"id":16178,"implemented":true,"kind":"function","modifiers":[],"name":"decodeMintFromDeltasParams","nameLocation":"6376:26:97","nodeType":"FunctionDefinition","parameters":{"id":16152,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16151,"mutability":"mutable","name":"params","nameLocation":"6418:6:97","nodeType":"VariableDeclaration","scope":16178,"src":"6403:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16150,"name":"bytes","nodeType":"ElementaryTypeName","src":"6403:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6402:23:97"},"returnParameters":{"id":16168,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16155,"mutability":"mutable","name":"poolKey","nameLocation":"6503:7:97","nodeType":"VariableDeclaration","scope":16178,"src":"6486:24:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":16154,"nodeType":"UserDefinedTypeName","pathNode":{"id":16153,"name":"PoolKey","nameLocations":["6486:7:97"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"6486:7:97"},"referencedDeclaration":11063,"src":"6486:7:97","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":16157,"mutability":"mutable","name":"tickLower","nameLocation":"6530:9:97","nodeType":"VariableDeclaration","scope":16178,"src":"6524:15:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":16156,"name":"int24","nodeType":"ElementaryTypeName","src":"6524:5:97","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":16159,"mutability":"mutable","name":"tickUpper","nameLocation":"6559:9:97","nodeType":"VariableDeclaration","scope":16178,"src":"6553:15:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":16158,"name":"int24","nodeType":"ElementaryTypeName","src":"6553:5:97","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":16161,"mutability":"mutable","name":"amount0Max","nameLocation":"6590:10:97","nodeType":"VariableDeclaration","scope":16178,"src":"6582:18:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16160,"name":"uint128","nodeType":"ElementaryTypeName","src":"6582:7:97","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16163,"mutability":"mutable","name":"amount1Max","nameLocation":"6622:10:97","nodeType":"VariableDeclaration","scope":16178,"src":"6614:18:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16162,"name":"uint128","nodeType":"ElementaryTypeName","src":"6614:7:97","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16165,"mutability":"mutable","name":"owner","nameLocation":"6654:5:97","nodeType":"VariableDeclaration","scope":16178,"src":"6646:13:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":16164,"name":"address","nodeType":"ElementaryTypeName","src":"6646:7:97","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":16167,"mutability":"mutable","name":"hookData","nameLocation":"6688:8:97","nodeType":"VariableDeclaration","scope":16178,"src":"6673:23:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16166,"name":"bytes","nodeType":"ElementaryTypeName","src":"6673:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6472:234:97"},"scope":16368,"src":"6367:871:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16200,"nodeType":"Block","src":"7521:350:97","statements":[{"AST":{"nativeSrc":"7634:192:97","nodeType":"YulBlock","src":"7634:192:97","statements":[{"nativeSrc":"7648:38:97","nodeType":"YulAssignment","src":"7648:38:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"7672:13:97","nodeType":"YulIdentifier","src":"7672:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"7659:12:97","nodeType":"YulIdentifier","src":"7659:12:97"},"nativeSrc":"7659:27:97","nodeType":"YulFunctionCall","src":"7659:27:97"},"variableNames":[{"name":"tokenId","nativeSrc":"7648:7:97","nodeType":"YulIdentifier","src":"7648:7:97"}]},{"nativeSrc":"7699:52:97","nodeType":"YulAssignment","src":"7699:52:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"7730:13:97","nodeType":"YulIdentifier","src":"7730:13:97"},{"kind":"number","nativeSrc":"7745:4:97","nodeType":"YulLiteral","src":"7745:4:97","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"7726:3:97","nodeType":"YulIdentifier","src":"7726:3:97"},"nativeSrc":"7726:24:97","nodeType":"YulFunctionCall","src":"7726:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"7713:12:97","nodeType":"YulIdentifier","src":"7713:12:97"},"nativeSrc":"7713:38:97","nodeType":"YulFunctionCall","src":"7713:38:97"},"variableNames":[{"name":"amount0Min","nativeSrc":"7699:10:97","nodeType":"YulIdentifier","src":"7699:10:97"}]},{"nativeSrc":"7764:52:97","nodeType":"YulAssignment","src":"7764:52:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"7795:13:97","nodeType":"YulIdentifier","src":"7795:13:97"},{"kind":"number","nativeSrc":"7810:4:97","nodeType":"YulLiteral","src":"7810:4:97","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"7791:3:97","nodeType":"YulIdentifier","src":"7791:3:97"},"nativeSrc":"7791:24:97","nodeType":"YulFunctionCall","src":"7791:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"7778:12:97","nodeType":"YulIdentifier","src":"7778:12:97"},"nativeSrc":"7778:38:97","nodeType":"YulFunctionCall","src":"7778:38:97"},"variableNames":[{"name":"amount1Min","nativeSrc":"7764:10:97","nodeType":"YulIdentifier","src":"7764:10:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16186,"isOffset":false,"isSlot":false,"src":"7699:10:97","valueSize":1},{"declaration":16188,"isOffset":false,"isSlot":false,"src":"7764:10:97","valueSize":1},{"declaration":16181,"isOffset":true,"isSlot":false,"src":"7672:13:97","suffix":"offset","valueSize":1},{"declaration":16181,"isOffset":true,"isSlot":false,"src":"7730:13:97","suffix":"offset","valueSize":1},{"declaration":16181,"isOffset":true,"isSlot":false,"src":"7795:13:97","suffix":"offset","valueSize":1},{"declaration":16184,"isOffset":false,"isSlot":false,"src":"7648:7:97","valueSize":1}],"flags":["memory-safe"],"id":16192,"nodeType":"InlineAssembly","src":"7609:217:97"},{"expression":{"id":16198,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":16193,"name":"hookData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16190,"src":"7836:8:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"33","id":16196,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7862:1:97","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"}],"expression":{"id":16194,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16181,"src":"7847:6:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":16195,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7854:7:97","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":16367,"src":"7847:14:97","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (bytes calldata)"}},"id":16197,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7847:17:97","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"src":"7836:28:97","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":16199,"nodeType":"ExpressionStatement","src":"7836:28:97"}]},"documentation":{"id":16179,"nodeType":"StructuredDocumentation","src":"7244:90:97","text":"@dev equivalent to: abi.decode(params, (uint256, uint128, uint128, bytes)) in calldata"},"id":16201,"implemented":true,"kind":"function","modifiers":[],"name":"decodeBurnParams","nameLocation":"7348:16:97","nodeType":"FunctionDefinition","parameters":{"id":16182,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16181,"mutability":"mutable","name":"params","nameLocation":"7380:6:97","nodeType":"VariableDeclaration","scope":16201,"src":"7365:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16180,"name":"bytes","nodeType":"ElementaryTypeName","src":"7365:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7364:23:97"},"returnParameters":{"id":16191,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16184,"mutability":"mutable","name":"tokenId","nameLocation":"7443:7:97","nodeType":"VariableDeclaration","scope":16201,"src":"7435:15:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16183,"name":"uint256","nodeType":"ElementaryTypeName","src":"7435:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":16186,"mutability":"mutable","name":"amount0Min","nameLocation":"7460:10:97","nodeType":"VariableDeclaration","scope":16201,"src":"7452:18:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16185,"name":"uint128","nodeType":"ElementaryTypeName","src":"7452:7:97","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16188,"mutability":"mutable","name":"amount1Min","nameLocation":"7480:10:97","nodeType":"VariableDeclaration","scope":16201,"src":"7472:18:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16187,"name":"uint128","nodeType":"ElementaryTypeName","src":"7472:7:97","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16190,"mutability":"mutable","name":"hookData","nameLocation":"7507:8:97","nodeType":"VariableDeclaration","scope":16201,"src":"7492:23:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16189,"name":"bytes","nodeType":"ElementaryTypeName","src":"7492:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7434:82:97"},"scope":16368,"src":"7339:532:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16211,"nodeType":"Block","src":"8109:512:97","statements":[{"AST":{"nativeSrc":"8240:375:97","nodeType":"YulBlock","src":"8240:375:97","statements":[{"body":{"nativeSrc":"8436:95:97","nodeType":"YulBlock","src":"8436:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"8461:1:97","nodeType":"YulLiteral","src":"8461:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"8464:20:97","nodeType":"YulIdentifier","src":"8464:20:97"}],"functionName":{"name":"mstore","nativeSrc":"8454:6:97","nodeType":"YulIdentifier","src":"8454:6:97"},"nativeSrc":"8454:31:97","nodeType":"YulFunctionCall","src":"8454:31:97"},"nativeSrc":"8454:31:97","nodeType":"YulExpressionStatement","src":"8454:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"8509:4:97","nodeType":"YulLiteral","src":"8509:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"8515:1:97","nodeType":"YulLiteral","src":"8515:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"8502:6:97","nodeType":"YulIdentifier","src":"8502:6:97"},"nativeSrc":"8502:15:97","nodeType":"YulFunctionCall","src":"8502:15:97"},"nativeSrc":"8502:15:97","nodeType":"YulExpressionStatement","src":"8502:15:97"}]},"condition":{"arguments":[{"name":"params.length","nativeSrc":"8415:13:97","nodeType":"YulIdentifier","src":"8415:13:97"},{"kind":"number","nativeSrc":"8430:4:97","nodeType":"YulLiteral","src":"8430:4:97","type":"","value":"0xa0"}],"functionName":{"name":"lt","nativeSrc":"8412:2:97","nodeType":"YulIdentifier","src":"8412:2:97"},"nativeSrc":"8412:23:97","nodeType":"YulFunctionCall","src":"8412:23:97"},"nativeSrc":"8409:122:97","nodeType":"YulIf","src":"8409:122:97"},{"nativeSrc":"8544:61:97","nodeType":"YulAssignment","src":"8544:61:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"8562:13:97","nodeType":"YulIdentifier","src":"8562:13:97"},{"arguments":[{"name":"params.offset","nativeSrc":"8590:13:97","nodeType":"YulIdentifier","src":"8590:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"8577:12:97","nodeType":"YulIdentifier","src":"8577:12:97"},"nativeSrc":"8577:27:97","nodeType":"YulFunctionCall","src":"8577:27:97"}],"functionName":{"name":"add","nativeSrc":"8558:3:97","nodeType":"YulIdentifier","src":"8558:3:97"},"nativeSrc":"8558:47:97","nodeType":"YulFunctionCall","src":"8558:47:97"},"variableNames":[{"name":"swapParams","nativeSrc":"8544:10:97","nodeType":"YulIdentifier","src":"8544:10:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16055,"isOffset":false,"isSlot":false,"src":"8464:20:97","valueSize":1},{"declaration":16204,"isOffset":false,"isSlot":false,"src":"8415:13:97","suffix":"length","valueSize":1},{"declaration":16204,"isOffset":true,"isSlot":false,"src":"8562:13:97","suffix":"offset","valueSize":1},{"declaration":16204,"isOffset":true,"isSlot":false,"src":"8590:13:97","suffix":"offset","valueSize":1},{"declaration":16208,"isOffset":false,"isSlot":false,"src":"8544:10:97","valueSize":1}],"flags":["memory-safe"],"id":16210,"nodeType":"InlineAssembly","src":"8215:400:97"}]},"documentation":{"id":16202,"nodeType":"StructuredDocumentation","src":"7877:72:97","text":"@dev equivalent to: abi.decode(params, (IV4Router.ExactInputParams))"},"id":16212,"implemented":true,"kind":"function","modifiers":[],"name":"decodeSwapExactInParams","nameLocation":"7963:23:97","nodeType":"FunctionDefinition","parameters":{"id":16205,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16204,"mutability":"mutable","name":"params","nameLocation":"8002:6:97","nodeType":"VariableDeclaration","scope":16212,"src":"7987:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16203,"name":"bytes","nodeType":"ElementaryTypeName","src":"7987:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7986:23:97"},"returnParameters":{"id":16209,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16208,"mutability":"mutable","name":"swapParams","nameLocation":"8093:10:97","nodeType":"VariableDeclaration","scope":16212,"src":"8057:46:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_calldata_ptr","typeString":"struct IV4Router.ExactInputParams"},"typeName":{"id":16207,"nodeType":"UserDefinedTypeName","pathNode":{"id":16206,"name":"IV4Router.ExactInputParams","nameLocations":["8057:9:97","8067:16:97"],"nodeType":"IdentifierPath","referencedDeclaration":15845,"src":"8057:26:97"},"referencedDeclaration":15845,"src":"8057:26:97","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputParams_$15845_storage_ptr","typeString":"struct IV4Router.ExactInputParams"}},"visibility":"internal"}],"src":"8056:48:97"},"scope":16368,"src":"7954:667:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16222,"nodeType":"Block","src":"8877:527:97","statements":[{"AST":{"nativeSrc":"9014:384:97","nodeType":"YulBlock","src":"9014:384:97","statements":[{"body":{"nativeSrc":"9219:95:97","nodeType":"YulBlock","src":"9219:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"9244:1:97","nodeType":"YulLiteral","src":"9244:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"9247:20:97","nodeType":"YulIdentifier","src":"9247:20:97"}],"functionName":{"name":"mstore","nativeSrc":"9237:6:97","nodeType":"YulIdentifier","src":"9237:6:97"},"nativeSrc":"9237:31:97","nodeType":"YulFunctionCall","src":"9237:31:97"},"nativeSrc":"9237:31:97","nodeType":"YulExpressionStatement","src":"9237:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"9292:4:97","nodeType":"YulLiteral","src":"9292:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"9298:1:97","nodeType":"YulLiteral","src":"9298:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"9285:6:97","nodeType":"YulIdentifier","src":"9285:6:97"},"nativeSrc":"9285:15:97","nodeType":"YulFunctionCall","src":"9285:15:97"},"nativeSrc":"9285:15:97","nodeType":"YulExpressionStatement","src":"9285:15:97"}]},"condition":{"arguments":[{"name":"params.length","nativeSrc":"9197:13:97","nodeType":"YulIdentifier","src":"9197:13:97"},{"kind":"number","nativeSrc":"9212:5:97","nodeType":"YulLiteral","src":"9212:5:97","type":"","value":"0x140"}],"functionName":{"name":"lt","nativeSrc":"9194:2:97","nodeType":"YulIdentifier","src":"9194:2:97"},"nativeSrc":"9194:24:97","nodeType":"YulFunctionCall","src":"9194:24:97"},"nativeSrc":"9191:123:97","nodeType":"YulIf","src":"9191:123:97"},{"nativeSrc":"9327:61:97","nodeType":"YulAssignment","src":"9327:61:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"9345:13:97","nodeType":"YulIdentifier","src":"9345:13:97"},{"arguments":[{"name":"params.offset","nativeSrc":"9373:13:97","nodeType":"YulIdentifier","src":"9373:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"9360:12:97","nodeType":"YulIdentifier","src":"9360:12:97"},"nativeSrc":"9360:27:97","nodeType":"YulFunctionCall","src":"9360:27:97"}],"functionName":{"name":"add","nativeSrc":"9341:3:97","nodeType":"YulIdentifier","src":"9341:3:97"},"nativeSrc":"9341:47:97","nodeType":"YulFunctionCall","src":"9341:47:97"},"variableNames":[{"name":"swapParams","nativeSrc":"9327:10:97","nodeType":"YulIdentifier","src":"9327:10:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16055,"isOffset":false,"isSlot":false,"src":"9247:20:97","valueSize":1},{"declaration":16215,"isOffset":false,"isSlot":false,"src":"9197:13:97","suffix":"length","valueSize":1},{"declaration":16215,"isOffset":true,"isSlot":false,"src":"9345:13:97","suffix":"offset","valueSize":1},{"declaration":16215,"isOffset":true,"isSlot":false,"src":"9373:13:97","suffix":"offset","valueSize":1},{"declaration":16219,"isOffset":false,"isSlot":false,"src":"9327:10:97","valueSize":1}],"flags":["memory-safe"],"id":16221,"nodeType":"InlineAssembly","src":"8989:409:97"}]},"documentation":{"id":16213,"nodeType":"StructuredDocumentation","src":"8627:78:97","text":"@dev equivalent to: abi.decode(params, (IV4Router.ExactInputSingleParams))"},"id":16223,"implemented":true,"kind":"function","modifiers":[],"name":"decodeSwapExactInSingleParams","nameLocation":"8719:29:97","nodeType":"FunctionDefinition","parameters":{"id":16216,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16215,"mutability":"mutable","name":"params","nameLocation":"8764:6:97","nodeType":"VariableDeclaration","scope":16223,"src":"8749:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16214,"name":"bytes","nodeType":"ElementaryTypeName","src":"8749:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8748:23:97"},"returnParameters":{"id":16220,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16219,"mutability":"mutable","name":"swapParams","nameLocation":"8861:10:97","nodeType":"VariableDeclaration","scope":16223,"src":"8819:52:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_calldata_ptr","typeString":"struct IV4Router.ExactInputSingleParams"},"typeName":{"id":16218,"nodeType":"UserDefinedTypeName","pathNode":{"id":16217,"name":"IV4Router.ExactInputSingleParams","nameLocations":["8819:9:97","8829:22:97"],"nodeType":"IdentifierPath","referencedDeclaration":15832,"src":"8819:32:97"},"referencedDeclaration":15832,"src":"8819:32:97","typeDescriptions":{"typeIdentifier":"t_struct$_ExactInputSingleParams_$15832_storage_ptr","typeString":"struct IV4Router.ExactInputSingleParams"}},"visibility":"internal"}],"src":"8818:54:97"},"scope":16368,"src":"8710:694:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16233,"nodeType":"Block","src":"9645:513:97","statements":[{"AST":{"nativeSrc":"9777:375:97","nodeType":"YulBlock","src":"9777:375:97","statements":[{"body":{"nativeSrc":"9973:95:97","nodeType":"YulBlock","src":"9973:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"9998:1:97","nodeType":"YulLiteral","src":"9998:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"10001:20:97","nodeType":"YulIdentifier","src":"10001:20:97"}],"functionName":{"name":"mstore","nativeSrc":"9991:6:97","nodeType":"YulIdentifier","src":"9991:6:97"},"nativeSrc":"9991:31:97","nodeType":"YulFunctionCall","src":"9991:31:97"},"nativeSrc":"9991:31:97","nodeType":"YulExpressionStatement","src":"9991:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"10046:4:97","nodeType":"YulLiteral","src":"10046:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"10052:1:97","nodeType":"YulLiteral","src":"10052:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"10039:6:97","nodeType":"YulIdentifier","src":"10039:6:97"},"nativeSrc":"10039:15:97","nodeType":"YulFunctionCall","src":"10039:15:97"},"nativeSrc":"10039:15:97","nodeType":"YulExpressionStatement","src":"10039:15:97"}]},"condition":{"arguments":[{"name":"params.length","nativeSrc":"9952:13:97","nodeType":"YulIdentifier","src":"9952:13:97"},{"kind":"number","nativeSrc":"9967:4:97","nodeType":"YulLiteral","src":"9967:4:97","type":"","value":"0xa0"}],"functionName":{"name":"lt","nativeSrc":"9949:2:97","nodeType":"YulIdentifier","src":"9949:2:97"},"nativeSrc":"9949:23:97","nodeType":"YulFunctionCall","src":"9949:23:97"},"nativeSrc":"9946:122:97","nodeType":"YulIf","src":"9946:122:97"},{"nativeSrc":"10081:61:97","nodeType":"YulAssignment","src":"10081:61:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"10099:13:97","nodeType":"YulIdentifier","src":"10099:13:97"},{"arguments":[{"name":"params.offset","nativeSrc":"10127:13:97","nodeType":"YulIdentifier","src":"10127:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"10114:12:97","nodeType":"YulIdentifier","src":"10114:12:97"},"nativeSrc":"10114:27:97","nodeType":"YulFunctionCall","src":"10114:27:97"}],"functionName":{"name":"add","nativeSrc":"10095:3:97","nodeType":"YulIdentifier","src":"10095:3:97"},"nativeSrc":"10095:47:97","nodeType":"YulFunctionCall","src":"10095:47:97"},"variableNames":[{"name":"swapParams","nativeSrc":"10081:10:97","nodeType":"YulIdentifier","src":"10081:10:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16055,"isOffset":false,"isSlot":false,"src":"10001:20:97","valueSize":1},{"declaration":16226,"isOffset":false,"isSlot":false,"src":"9952:13:97","suffix":"length","valueSize":1},{"declaration":16226,"isOffset":true,"isSlot":false,"src":"10099:13:97","suffix":"offset","valueSize":1},{"declaration":16226,"isOffset":true,"isSlot":false,"src":"10127:13:97","suffix":"offset","valueSize":1},{"declaration":16230,"isOffset":false,"isSlot":false,"src":"10081:10:97","valueSize":1}],"flags":["memory-safe"],"id":16232,"nodeType":"InlineAssembly","src":"9752:400:97"}]},"documentation":{"id":16224,"nodeType":"StructuredDocumentation","src":"9410:73:97","text":"@dev equivalent to: abi.decode(params, (IV4Router.ExactOutputParams))"},"id":16234,"implemented":true,"kind":"function","modifiers":[],"name":"decodeSwapExactOutParams","nameLocation":"9497:24:97","nodeType":"FunctionDefinition","parameters":{"id":16227,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16226,"mutability":"mutable","name":"params","nameLocation":"9537:6:97","nodeType":"VariableDeclaration","scope":16234,"src":"9522:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16225,"name":"bytes","nodeType":"ElementaryTypeName","src":"9522:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"9521:23:97"},"returnParameters":{"id":16231,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16230,"mutability":"mutable","name":"swapParams","nameLocation":"9629:10:97","nodeType":"VariableDeclaration","scope":16234,"src":"9592:47:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_calldata_ptr","typeString":"struct IV4Router.ExactOutputParams"},"typeName":{"id":16229,"nodeType":"UserDefinedTypeName","pathNode":{"id":16228,"name":"IV4Router.ExactOutputParams","nameLocations":["9592:9:97","9602:17:97"],"nodeType":"IdentifierPath","referencedDeclaration":15871,"src":"9592:27:97"},"referencedDeclaration":15871,"src":"9592:27:97","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputParams_$15871_storage_ptr","typeString":"struct IV4Router.ExactOutputParams"}},"visibility":"internal"}],"src":"9591:49:97"},"scope":16368,"src":"9488:670:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16244,"nodeType":"Block","src":"10417:528:97","statements":[{"AST":{"nativeSrc":"10555:384:97","nodeType":"YulBlock","src":"10555:384:97","statements":[{"body":{"nativeSrc":"10760:95:97","nodeType":"YulBlock","src":"10760:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"10785:1:97","nodeType":"YulLiteral","src":"10785:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"10788:20:97","nodeType":"YulIdentifier","src":"10788:20:97"}],"functionName":{"name":"mstore","nativeSrc":"10778:6:97","nodeType":"YulIdentifier","src":"10778:6:97"},"nativeSrc":"10778:31:97","nodeType":"YulFunctionCall","src":"10778:31:97"},"nativeSrc":"10778:31:97","nodeType":"YulExpressionStatement","src":"10778:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"10833:4:97","nodeType":"YulLiteral","src":"10833:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"10839:1:97","nodeType":"YulLiteral","src":"10839:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"10826:6:97","nodeType":"YulIdentifier","src":"10826:6:97"},"nativeSrc":"10826:15:97","nodeType":"YulFunctionCall","src":"10826:15:97"},"nativeSrc":"10826:15:97","nodeType":"YulExpressionStatement","src":"10826:15:97"}]},"condition":{"arguments":[{"name":"params.length","nativeSrc":"10738:13:97","nodeType":"YulIdentifier","src":"10738:13:97"},{"kind":"number","nativeSrc":"10753:5:97","nodeType":"YulLiteral","src":"10753:5:97","type":"","value":"0x140"}],"functionName":{"name":"lt","nativeSrc":"10735:2:97","nodeType":"YulIdentifier","src":"10735:2:97"},"nativeSrc":"10735:24:97","nodeType":"YulFunctionCall","src":"10735:24:97"},"nativeSrc":"10732:123:97","nodeType":"YulIf","src":"10732:123:97"},{"nativeSrc":"10868:61:97","nodeType":"YulAssignment","src":"10868:61:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"10886:13:97","nodeType":"YulIdentifier","src":"10886:13:97"},{"arguments":[{"name":"params.offset","nativeSrc":"10914:13:97","nodeType":"YulIdentifier","src":"10914:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"10901:12:97","nodeType":"YulIdentifier","src":"10901:12:97"},"nativeSrc":"10901:27:97","nodeType":"YulFunctionCall","src":"10901:27:97"}],"functionName":{"name":"add","nativeSrc":"10882:3:97","nodeType":"YulIdentifier","src":"10882:3:97"},"nativeSrc":"10882:47:97","nodeType":"YulFunctionCall","src":"10882:47:97"},"variableNames":[{"name":"swapParams","nativeSrc":"10868:10:97","nodeType":"YulIdentifier","src":"10868:10:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16055,"isOffset":false,"isSlot":false,"src":"10788:20:97","valueSize":1},{"declaration":16237,"isOffset":false,"isSlot":false,"src":"10738:13:97","suffix":"length","valueSize":1},{"declaration":16237,"isOffset":true,"isSlot":false,"src":"10886:13:97","suffix":"offset","valueSize":1},{"declaration":16237,"isOffset":true,"isSlot":false,"src":"10914:13:97","suffix":"offset","valueSize":1},{"declaration":16241,"isOffset":false,"isSlot":false,"src":"10868:10:97","valueSize":1}],"flags":["memory-safe"],"id":16243,"nodeType":"InlineAssembly","src":"10530:409:97"}]},"documentation":{"id":16235,"nodeType":"StructuredDocumentation","src":"10164:79:97","text":"@dev equivalent to: abi.decode(params, (IV4Router.ExactOutputSingleParams))"},"id":16245,"implemented":true,"kind":"function","modifiers":[],"name":"decodeSwapExactOutSingleParams","nameLocation":"10257:30:97","nodeType":"FunctionDefinition","parameters":{"id":16238,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16237,"mutability":"mutable","name":"params","nameLocation":"10303:6:97","nodeType":"VariableDeclaration","scope":16245,"src":"10288:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16236,"name":"bytes","nodeType":"ElementaryTypeName","src":"10288:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"10287:23:97"},"returnParameters":{"id":16242,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16241,"mutability":"mutable","name":"swapParams","nameLocation":"10401:10:97","nodeType":"VariableDeclaration","scope":16245,"src":"10358:53:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_calldata_ptr","typeString":"struct IV4Router.ExactOutputSingleParams"},"typeName":{"id":16240,"nodeType":"UserDefinedTypeName","pathNode":{"id":16239,"name":"IV4Router.ExactOutputSingleParams","nameLocations":["10358:9:97","10368:23:97"],"nodeType":"IdentifierPath","referencedDeclaration":15858,"src":"10358:33:97"},"referencedDeclaration":15858,"src":"10358:33:97","typeDescriptions":{"typeIdentifier":"t_struct$_ExactOutputSingleParams_$15858_storage_ptr","typeString":"struct IV4Router.ExactOutputSingleParams"}},"visibility":"internal"}],"src":"10357:55:97"},"scope":16368,"src":"10248:697:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16255,"nodeType":"Block","src":"11111:239:97","statements":[{"AST":{"nativeSrc":"11146:198:97","nodeType":"YulBlock","src":"11146:198:97","statements":[{"body":{"nativeSrc":"11187:95:97","nodeType":"YulBlock","src":"11187:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"11212:1:97","nodeType":"YulLiteral","src":"11212:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"11215:20:97","nodeType":"YulIdentifier","src":"11215:20:97"}],"functionName":{"name":"mstore","nativeSrc":"11205:6:97","nodeType":"YulIdentifier","src":"11205:6:97"},"nativeSrc":"11205:31:97","nodeType":"YulFunctionCall","src":"11205:31:97"},"nativeSrc":"11205:31:97","nodeType":"YulExpressionStatement","src":"11205:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"11260:4:97","nodeType":"YulLiteral","src":"11260:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"11266:1:97","nodeType":"YulLiteral","src":"11266:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"11253:6:97","nodeType":"YulIdentifier","src":"11253:6:97"},"nativeSrc":"11253:15:97","nodeType":"YulFunctionCall","src":"11253:15:97"},"nativeSrc":"11253:15:97","nodeType":"YulExpressionStatement","src":"11253:15:97"}]},"condition":{"arguments":[{"name":"params.length","nativeSrc":"11166:13:97","nodeType":"YulIdentifier","src":"11166:13:97"},{"kind":"number","nativeSrc":"11181:4:97","nodeType":"YulLiteral","src":"11181:4:97","type":"","value":"0x20"}],"functionName":{"name":"lt","nativeSrc":"11163:2:97","nodeType":"YulIdentifier","src":"11163:2:97"},"nativeSrc":"11163:23:97","nodeType":"YulFunctionCall","src":"11163:23:97"},"nativeSrc":"11160:122:97","nodeType":"YulIf","src":"11160:122:97"},{"nativeSrc":"11295:39:97","nodeType":"YulAssignment","src":"11295:39:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"11320:13:97","nodeType":"YulIdentifier","src":"11320:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"11307:12:97","nodeType":"YulIdentifier","src":"11307:12:97"},"nativeSrc":"11307:27:97","nodeType":"YulFunctionCall","src":"11307:27:97"},"variableNames":[{"name":"currency","nativeSrc":"11295:8:97","nodeType":"YulIdentifier","src":"11295:8:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16055,"isOffset":false,"isSlot":false,"src":"11215:20:97","valueSize":1},{"declaration":16252,"isOffset":false,"isSlot":false,"src":"11295:8:97","valueSize":1},{"declaration":16248,"isOffset":false,"isSlot":false,"src":"11166:13:97","suffix":"length","valueSize":1},{"declaration":16248,"isOffset":true,"isSlot":false,"src":"11320:13:97","suffix":"offset","valueSize":1}],"flags":["memory-safe"],"id":16254,"nodeType":"InlineAssembly","src":"11121:223:97"}]},"documentation":{"id":16246,"nodeType":"StructuredDocumentation","src":"10951:66:97","text":"@dev equivalent to: abi.decode(params, (Currency)) in calldata"},"id":16256,"implemented":true,"kind":"function","modifiers":[],"name":"decodeCurrency","nameLocation":"11031:14:97","nodeType":"FunctionDefinition","parameters":{"id":16249,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16248,"mutability":"mutable","name":"params","nameLocation":"11061:6:97","nodeType":"VariableDeclaration","scope":16256,"src":"11046:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16247,"name":"bytes","nodeType":"ElementaryTypeName","src":"11046:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"11045:23:97"},"returnParameters":{"id":16253,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16252,"mutability":"mutable","name":"currency","nameLocation":"11101:8:97","nodeType":"VariableDeclaration","scope":16256,"src":"11092:17:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16251,"nodeType":"UserDefinedTypeName","pathNode":{"id":16250,"name":"Currency","nameLocations":["11092:8:97"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"11092:8:97"},"referencedDeclaration":10717,"src":"11092:8:97","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"11091:19:97"},"scope":16368,"src":"11022:328:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16269,"nodeType":"Block","src":"11551:304:97","statements":[{"AST":{"nativeSrc":"11586:263:97","nodeType":"YulBlock","src":"11586:263:97","statements":[{"body":{"nativeSrc":"11627:95:97","nodeType":"YulBlock","src":"11627:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"11652:1:97","nodeType":"YulLiteral","src":"11652:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"11655:20:97","nodeType":"YulIdentifier","src":"11655:20:97"}],"functionName":{"name":"mstore","nativeSrc":"11645:6:97","nodeType":"YulIdentifier","src":"11645:6:97"},"nativeSrc":"11645:31:97","nodeType":"YulFunctionCall","src":"11645:31:97"},"nativeSrc":"11645:31:97","nodeType":"YulExpressionStatement","src":"11645:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"11700:4:97","nodeType":"YulLiteral","src":"11700:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"11706:1:97","nodeType":"YulLiteral","src":"11706:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"11693:6:97","nodeType":"YulIdentifier","src":"11693:6:97"},"nativeSrc":"11693:15:97","nodeType":"YulFunctionCall","src":"11693:15:97"},"nativeSrc":"11693:15:97","nodeType":"YulExpressionStatement","src":"11693:15:97"}]},"condition":{"arguments":[{"name":"params.length","nativeSrc":"11606:13:97","nodeType":"YulIdentifier","src":"11606:13:97"},{"kind":"number","nativeSrc":"11621:4:97","nodeType":"YulLiteral","src":"11621:4:97","type":"","value":"0x40"}],"functionName":{"name":"lt","nativeSrc":"11603:2:97","nodeType":"YulIdentifier","src":"11603:2:97"},"nativeSrc":"11603:23:97","nodeType":"YulFunctionCall","src":"11603:23:97"},"nativeSrc":"11600:122:97","nodeType":"YulIf","src":"11600:122:97"},{"nativeSrc":"11735:40:97","nodeType":"YulAssignment","src":"11735:40:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"11761:13:97","nodeType":"YulIdentifier","src":"11761:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"11748:12:97","nodeType":"YulIdentifier","src":"11748:12:97"},"nativeSrc":"11748:27:97","nodeType":"YulFunctionCall","src":"11748:27:97"},"variableNames":[{"name":"currency0","nativeSrc":"11735:9:97","nodeType":"YulIdentifier","src":"11735:9:97"}]},{"nativeSrc":"11788:51:97","nodeType":"YulAssignment","src":"11788:51:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"11818:13:97","nodeType":"YulIdentifier","src":"11818:13:97"},{"kind":"number","nativeSrc":"11833:4:97","nodeType":"YulLiteral","src":"11833:4:97","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"11814:3:97","nodeType":"YulIdentifier","src":"11814:3:97"},"nativeSrc":"11814:24:97","nodeType":"YulFunctionCall","src":"11814:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"11801:12:97","nodeType":"YulIdentifier","src":"11801:12:97"},"nativeSrc":"11801:38:97","nodeType":"YulFunctionCall","src":"11801:38:97"},"variableNames":[{"name":"currency1","nativeSrc":"11788:9:97","nodeType":"YulIdentifier","src":"11788:9:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16055,"isOffset":false,"isSlot":false,"src":"11655:20:97","valueSize":1},{"declaration":16263,"isOffset":false,"isSlot":false,"src":"11735:9:97","valueSize":1},{"declaration":16266,"isOffset":false,"isSlot":false,"src":"11788:9:97","valueSize":1},{"declaration":16259,"isOffset":false,"isSlot":false,"src":"11606:13:97","suffix":"length","valueSize":1},{"declaration":16259,"isOffset":true,"isSlot":false,"src":"11761:13:97","suffix":"offset","valueSize":1},{"declaration":16259,"isOffset":true,"isSlot":false,"src":"11818:13:97","suffix":"offset","valueSize":1}],"flags":["memory-safe"],"id":16268,"nodeType":"InlineAssembly","src":"11561:288:97"}]},"documentation":{"id":16257,"nodeType":"StructuredDocumentation","src":"11356:76:97","text":"@dev equivalent to: abi.decode(params, (Currency, Currency)) in calldata"},"id":16270,"implemented":true,"kind":"function","modifiers":[],"name":"decodeCurrencyPair","nameLocation":"11446:18:97","nodeType":"FunctionDefinition","parameters":{"id":16260,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16259,"mutability":"mutable","name":"params","nameLocation":"11480:6:97","nodeType":"VariableDeclaration","scope":16270,"src":"11465:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16258,"name":"bytes","nodeType":"ElementaryTypeName","src":"11465:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"11464:23:97"},"returnParameters":{"id":16267,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16263,"mutability":"mutable","name":"currency0","nameLocation":"11520:9:97","nodeType":"VariableDeclaration","scope":16270,"src":"11511:18:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16262,"nodeType":"UserDefinedTypeName","pathNode":{"id":16261,"name":"Currency","nameLocations":["11511:8:97"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"11511:8:97"},"referencedDeclaration":10717,"src":"11511:8:97","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":16266,"mutability":"mutable","name":"currency1","nameLocation":"11540:9:97","nodeType":"VariableDeclaration","scope":16270,"src":"11531:18:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16265,"nodeType":"UserDefinedTypeName","pathNode":{"id":16264,"name":"Currency","nameLocations":["11531:8:97"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"11531:8:97"},"referencedDeclaration":10717,"src":"11531:8:97","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"11510:40:97"},"scope":16368,"src":"11437:418:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16285,"nodeType":"Block","src":"12121:367:97","statements":[{"AST":{"nativeSrc":"12156:326:97","nodeType":"YulBlock","src":"12156:326:97","statements":[{"body":{"nativeSrc":"12197:95:97","nodeType":"YulBlock","src":"12197:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"12222:1:97","nodeType":"YulLiteral","src":"12222:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"12225:20:97","nodeType":"YulIdentifier","src":"12225:20:97"}],"functionName":{"name":"mstore","nativeSrc":"12215:6:97","nodeType":"YulIdentifier","src":"12215:6:97"},"nativeSrc":"12215:31:97","nodeType":"YulFunctionCall","src":"12215:31:97"},"nativeSrc":"12215:31:97","nodeType":"YulExpressionStatement","src":"12215:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"12270:4:97","nodeType":"YulLiteral","src":"12270:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"12276:1:97","nodeType":"YulLiteral","src":"12276:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"12263:6:97","nodeType":"YulIdentifier","src":"12263:6:97"},"nativeSrc":"12263:15:97","nodeType":"YulFunctionCall","src":"12263:15:97"},"nativeSrc":"12263:15:97","nodeType":"YulExpressionStatement","src":"12263:15:97"}]},"condition":{"arguments":[{"name":"params.length","nativeSrc":"12176:13:97","nodeType":"YulIdentifier","src":"12176:13:97"},{"kind":"number","nativeSrc":"12191:4:97","nodeType":"YulLiteral","src":"12191:4:97","type":"","value":"0x60"}],"functionName":{"name":"lt","nativeSrc":"12173:2:97","nodeType":"YulIdentifier","src":"12173:2:97"},"nativeSrc":"12173:23:97","nodeType":"YulFunctionCall","src":"12173:23:97"},"nativeSrc":"12170:122:97","nodeType":"YulIf","src":"12170:122:97"},{"nativeSrc":"12305:40:97","nodeType":"YulAssignment","src":"12305:40:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"12331:13:97","nodeType":"YulIdentifier","src":"12331:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"12318:12:97","nodeType":"YulIdentifier","src":"12318:12:97"},"nativeSrc":"12318:27:97","nodeType":"YulFunctionCall","src":"12318:27:97"},"variableNames":[{"name":"currency0","nativeSrc":"12305:9:97","nodeType":"YulIdentifier","src":"12305:9:97"}]},{"nativeSrc":"12358:51:97","nodeType":"YulAssignment","src":"12358:51:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"12388:13:97","nodeType":"YulIdentifier","src":"12388:13:97"},{"kind":"number","nativeSrc":"12403:4:97","nodeType":"YulLiteral","src":"12403:4:97","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"12384:3:97","nodeType":"YulIdentifier","src":"12384:3:97"},"nativeSrc":"12384:24:97","nodeType":"YulFunctionCall","src":"12384:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"12371:12:97","nodeType":"YulIdentifier","src":"12371:12:97"},"nativeSrc":"12371:38:97","nodeType":"YulFunctionCall","src":"12371:38:97"},"variableNames":[{"name":"currency1","nativeSrc":"12358:9:97","nodeType":"YulIdentifier","src":"12358:9:97"}]},{"nativeSrc":"12422:50:97","nodeType":"YulAssignment","src":"12422:50:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"12451:13:97","nodeType":"YulIdentifier","src":"12451:13:97"},{"kind":"number","nativeSrc":"12466:4:97","nodeType":"YulLiteral","src":"12466:4:97","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"12447:3:97","nodeType":"YulIdentifier","src":"12447:3:97"},"nativeSrc":"12447:24:97","nodeType":"YulFunctionCall","src":"12447:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"12434:12:97","nodeType":"YulIdentifier","src":"12434:12:97"},"nativeSrc":"12434:38:97","nodeType":"YulFunctionCall","src":"12434:38:97"},"variableNames":[{"name":"_address","nativeSrc":"12422:8:97","nodeType":"YulIdentifier","src":"12422:8:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16055,"isOffset":false,"isSlot":false,"src":"12225:20:97","valueSize":1},{"declaration":16282,"isOffset":false,"isSlot":false,"src":"12422:8:97","valueSize":1},{"declaration":16277,"isOffset":false,"isSlot":false,"src":"12305:9:97","valueSize":1},{"declaration":16280,"isOffset":false,"isSlot":false,"src":"12358:9:97","valueSize":1},{"declaration":16273,"isOffset":false,"isSlot":false,"src":"12176:13:97","suffix":"length","valueSize":1},{"declaration":16273,"isOffset":true,"isSlot":false,"src":"12331:13:97","suffix":"offset","valueSize":1},{"declaration":16273,"isOffset":true,"isSlot":false,"src":"12388:13:97","suffix":"offset","valueSize":1},{"declaration":16273,"isOffset":true,"isSlot":false,"src":"12451:13:97","suffix":"offset","valueSize":1}],"flags":["memory-safe"],"id":16284,"nodeType":"InlineAssembly","src":"12131:351:97"}]},"documentation":{"id":16271,"nodeType":"StructuredDocumentation","src":"11861:85:97","text":"@dev equivalent to: abi.decode(params, (Currency, Currency, address)) in calldata"},"id":16286,"implemented":true,"kind":"function","modifiers":[],"name":"decodeCurrencyPairAndAddress","nameLocation":"11960:28:97","nodeType":"FunctionDefinition","parameters":{"id":16274,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16273,"mutability":"mutable","name":"params","nameLocation":"12004:6:97","nodeType":"VariableDeclaration","scope":16286,"src":"11989:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16272,"name":"bytes","nodeType":"ElementaryTypeName","src":"11989:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"11988:23:97"},"returnParameters":{"id":16283,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16277,"mutability":"mutable","name":"currency0","nameLocation":"12068:9:97","nodeType":"VariableDeclaration","scope":16286,"src":"12059:18:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16276,"nodeType":"UserDefinedTypeName","pathNode":{"id":16275,"name":"Currency","nameLocations":["12059:8:97"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"12059:8:97"},"referencedDeclaration":10717,"src":"12059:8:97","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":16280,"mutability":"mutable","name":"currency1","nameLocation":"12088:9:97","nodeType":"VariableDeclaration","scope":16286,"src":"12079:18:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16279,"nodeType":"UserDefinedTypeName","pathNode":{"id":16278,"name":"Currency","nameLocations":["12079:8:97"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"12079:8:97"},"referencedDeclaration":10717,"src":"12079:8:97","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":16282,"mutability":"mutable","name":"_address","nameLocation":"12107:8:97","nodeType":"VariableDeclaration","scope":16286,"src":"12099:16:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":16281,"name":"address","nodeType":"ElementaryTypeName","src":"12099:7:97","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"12058:58:97"},"scope":16368,"src":"11951:537:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16298,"nodeType":"Block","src":"12719:302:97","statements":[{"AST":{"nativeSrc":"12754:261:97","nodeType":"YulBlock","src":"12754:261:97","statements":[{"body":{"nativeSrc":"12795:95:97","nodeType":"YulBlock","src":"12795:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"12820:1:97","nodeType":"YulLiteral","src":"12820:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"12823:20:97","nodeType":"YulIdentifier","src":"12823:20:97"}],"functionName":{"name":"mstore","nativeSrc":"12813:6:97","nodeType":"YulIdentifier","src":"12813:6:97"},"nativeSrc":"12813:31:97","nodeType":"YulFunctionCall","src":"12813:31:97"},"nativeSrc":"12813:31:97","nodeType":"YulExpressionStatement","src":"12813:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"12868:4:97","nodeType":"YulLiteral","src":"12868:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"12874:1:97","nodeType":"YulLiteral","src":"12874:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"12861:6:97","nodeType":"YulIdentifier","src":"12861:6:97"},"nativeSrc":"12861:15:97","nodeType":"YulFunctionCall","src":"12861:15:97"},"nativeSrc":"12861:15:97","nodeType":"YulExpressionStatement","src":"12861:15:97"}]},"condition":{"arguments":[{"name":"params.length","nativeSrc":"12774:13:97","nodeType":"YulIdentifier","src":"12774:13:97"},{"kind":"number","nativeSrc":"12789:4:97","nodeType":"YulLiteral","src":"12789:4:97","type":"","value":"0x40"}],"functionName":{"name":"lt","nativeSrc":"12771:2:97","nodeType":"YulIdentifier","src":"12771:2:97"},"nativeSrc":"12771:23:97","nodeType":"YulFunctionCall","src":"12771:23:97"},"nativeSrc":"12768:122:97","nodeType":"YulIf","src":"12768:122:97"},{"nativeSrc":"12903:39:97","nodeType":"YulAssignment","src":"12903:39:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"12928:13:97","nodeType":"YulIdentifier","src":"12928:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"12915:12:97","nodeType":"YulIdentifier","src":"12915:12:97"},"nativeSrc":"12915:27:97","nodeType":"YulFunctionCall","src":"12915:27:97"},"variableNames":[{"name":"currency","nativeSrc":"12903:8:97","nodeType":"YulIdentifier","src":"12903:8:97"}]},{"nativeSrc":"12955:50:97","nodeType":"YulAssignment","src":"12955:50:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"12984:13:97","nodeType":"YulIdentifier","src":"12984:13:97"},{"kind":"number","nativeSrc":"12999:4:97","nodeType":"YulLiteral","src":"12999:4:97","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"12980:3:97","nodeType":"YulIdentifier","src":"12980:3:97"},"nativeSrc":"12980:24:97","nodeType":"YulFunctionCall","src":"12980:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"12967:12:97","nodeType":"YulIdentifier","src":"12967:12:97"},"nativeSrc":"12967:38:97","nodeType":"YulFunctionCall","src":"12967:38:97"},"variableNames":[{"name":"_address","nativeSrc":"12955:8:97","nodeType":"YulIdentifier","src":"12955:8:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16055,"isOffset":false,"isSlot":false,"src":"12823:20:97","valueSize":1},{"declaration":16295,"isOffset":false,"isSlot":false,"src":"12955:8:97","valueSize":1},{"declaration":16293,"isOffset":false,"isSlot":false,"src":"12903:8:97","valueSize":1},{"declaration":16289,"isOffset":false,"isSlot":false,"src":"12774:13:97","suffix":"length","valueSize":1},{"declaration":16289,"isOffset":true,"isSlot":false,"src":"12928:13:97","suffix":"offset","valueSize":1},{"declaration":16289,"isOffset":true,"isSlot":false,"src":"12984:13:97","suffix":"offset","valueSize":1}],"flags":["memory-safe"],"id":16297,"nodeType":"InlineAssembly","src":"12729:286:97"}]},"documentation":{"id":16287,"nodeType":"StructuredDocumentation","src":"12494:75:97","text":"@dev equivalent to: abi.decode(params, (Currency, address)) in calldata"},"id":16299,"implemented":true,"kind":"function","modifiers":[],"name":"decodeCurrencyAndAddress","nameLocation":"12583:24:97","nodeType":"FunctionDefinition","parameters":{"id":16290,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16289,"mutability":"mutable","name":"params","nameLocation":"12623:6:97","nodeType":"VariableDeclaration","scope":16299,"src":"12608:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16288,"name":"bytes","nodeType":"ElementaryTypeName","src":"12608:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"12607:23:97"},"returnParameters":{"id":16296,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16293,"mutability":"mutable","name":"currency","nameLocation":"12687:8:97","nodeType":"VariableDeclaration","scope":16299,"src":"12678:17:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16292,"nodeType":"UserDefinedTypeName","pathNode":{"id":16291,"name":"Currency","nameLocations":["12678:8:97"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"12678:8:97"},"referencedDeclaration":10717,"src":"12678:8:97","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":16295,"mutability":"mutable","name":"_address","nameLocation":"12705:8:97","nodeType":"VariableDeclaration","scope":16299,"src":"12697:16:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":16294,"name":"address","nodeType":"ElementaryTypeName","src":"12697:7:97","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"12677:37:97"},"scope":16368,"src":"12574:447:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16313,"nodeType":"Block","src":"13284:363:97","statements":[{"AST":{"nativeSrc":"13319:322:97","nodeType":"YulBlock","src":"13319:322:97","statements":[{"body":{"nativeSrc":"13360:95:97","nodeType":"YulBlock","src":"13360:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"13385:1:97","nodeType":"YulLiteral","src":"13385:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"13388:20:97","nodeType":"YulIdentifier","src":"13388:20:97"}],"functionName":{"name":"mstore","nativeSrc":"13378:6:97","nodeType":"YulIdentifier","src":"13378:6:97"},"nativeSrc":"13378:31:97","nodeType":"YulFunctionCall","src":"13378:31:97"},"nativeSrc":"13378:31:97","nodeType":"YulExpressionStatement","src":"13378:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"13433:4:97","nodeType":"YulLiteral","src":"13433:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"13439:1:97","nodeType":"YulLiteral","src":"13439:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"13426:6:97","nodeType":"YulIdentifier","src":"13426:6:97"},"nativeSrc":"13426:15:97","nodeType":"YulFunctionCall","src":"13426:15:97"},"nativeSrc":"13426:15:97","nodeType":"YulExpressionStatement","src":"13426:15:97"}]},"condition":{"arguments":[{"name":"params.length","nativeSrc":"13339:13:97","nodeType":"YulIdentifier","src":"13339:13:97"},{"kind":"number","nativeSrc":"13354:4:97","nodeType":"YulLiteral","src":"13354:4:97","type":"","value":"0x60"}],"functionName":{"name":"lt","nativeSrc":"13336:2:97","nodeType":"YulIdentifier","src":"13336:2:97"},"nativeSrc":"13336:23:97","nodeType":"YulFunctionCall","src":"13336:23:97"},"nativeSrc":"13333:122:97","nodeType":"YulIf","src":"13333:122:97"},{"nativeSrc":"13468:39:97","nodeType":"YulAssignment","src":"13468:39:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"13493:13:97","nodeType":"YulIdentifier","src":"13493:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"13480:12:97","nodeType":"YulIdentifier","src":"13480:12:97"},"nativeSrc":"13480:27:97","nodeType":"YulFunctionCall","src":"13480:27:97"},"variableNames":[{"name":"currency","nativeSrc":"13468:8:97","nodeType":"YulIdentifier","src":"13468:8:97"}]},{"nativeSrc":"13520:50:97","nodeType":"YulAssignment","src":"13520:50:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"13549:13:97","nodeType":"YulIdentifier","src":"13549:13:97"},{"kind":"number","nativeSrc":"13564:4:97","nodeType":"YulLiteral","src":"13564:4:97","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"13545:3:97","nodeType":"YulIdentifier","src":"13545:3:97"},"nativeSrc":"13545:24:97","nodeType":"YulFunctionCall","src":"13545:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"13532:12:97","nodeType":"YulIdentifier","src":"13532:12:97"},"nativeSrc":"13532:38:97","nodeType":"YulFunctionCall","src":"13532:38:97"},"variableNames":[{"name":"_address","nativeSrc":"13520:8:97","nodeType":"YulIdentifier","src":"13520:8:97"}]},{"nativeSrc":"13583:48:97","nodeType":"YulAssignment","src":"13583:48:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"13610:13:97","nodeType":"YulIdentifier","src":"13610:13:97"},{"kind":"number","nativeSrc":"13625:4:97","nodeType":"YulLiteral","src":"13625:4:97","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"13606:3:97","nodeType":"YulIdentifier","src":"13606:3:97"},"nativeSrc":"13606:24:97","nodeType":"YulFunctionCall","src":"13606:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"13593:12:97","nodeType":"YulIdentifier","src":"13593:12:97"},"nativeSrc":"13593:38:97","nodeType":"YulFunctionCall","src":"13593:38:97"},"variableNames":[{"name":"amount","nativeSrc":"13583:6:97","nodeType":"YulIdentifier","src":"13583:6:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16055,"isOffset":false,"isSlot":false,"src":"13388:20:97","valueSize":1},{"declaration":16308,"isOffset":false,"isSlot":false,"src":"13520:8:97","valueSize":1},{"declaration":16310,"isOffset":false,"isSlot":false,"src":"13583:6:97","valueSize":1},{"declaration":16306,"isOffset":false,"isSlot":false,"src":"13468:8:97","valueSize":1},{"declaration":16302,"isOffset":false,"isSlot":false,"src":"13339:13:97","suffix":"length","valueSize":1},{"declaration":16302,"isOffset":true,"isSlot":false,"src":"13493:13:97","suffix":"offset","valueSize":1},{"declaration":16302,"isOffset":true,"isSlot":false,"src":"13549:13:97","suffix":"offset","valueSize":1},{"declaration":16302,"isOffset":true,"isSlot":false,"src":"13610:13:97","suffix":"offset","valueSize":1}],"flags":["memory-safe"],"id":16312,"nodeType":"InlineAssembly","src":"13294:347:97"}]},"documentation":{"id":16300,"nodeType":"StructuredDocumentation","src":"13027:84:97","text":"@dev equivalent to: abi.decode(params, (Currency, address, uint256)) in calldata"},"id":16314,"implemented":true,"kind":"function","modifiers":[],"name":"decodeCurrencyAddressAndUint256","nameLocation":"13125:31:97","nodeType":"FunctionDefinition","parameters":{"id":16303,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16302,"mutability":"mutable","name":"params","nameLocation":"13172:6:97","nodeType":"VariableDeclaration","scope":16314,"src":"13157:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16301,"name":"bytes","nodeType":"ElementaryTypeName","src":"13157:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"13156:23:97"},"returnParameters":{"id":16311,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16306,"mutability":"mutable","name":"currency","nameLocation":"13236:8:97","nodeType":"VariableDeclaration","scope":16314,"src":"13227:17:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16305,"nodeType":"UserDefinedTypeName","pathNode":{"id":16304,"name":"Currency","nameLocations":["13227:8:97"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"13227:8:97"},"referencedDeclaration":10717,"src":"13227:8:97","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":16308,"mutability":"mutable","name":"_address","nameLocation":"13254:8:97","nodeType":"VariableDeclaration","scope":16314,"src":"13246:16:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":16307,"name":"address","nodeType":"ElementaryTypeName","src":"13246:7:97","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":16310,"mutability":"mutable","name":"amount","nameLocation":"13272:6:97","nodeType":"VariableDeclaration","scope":16314,"src":"13264:14:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16309,"name":"uint256","nodeType":"ElementaryTypeName","src":"13264:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13226:53:97"},"scope":16368,"src":"13116:531:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16326,"nodeType":"Block","src":"13876:300:97","statements":[{"AST":{"nativeSrc":"13911:259:97","nodeType":"YulBlock","src":"13911:259:97","statements":[{"body":{"nativeSrc":"13952:95:97","nodeType":"YulBlock","src":"13952:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"13977:1:97","nodeType":"YulLiteral","src":"13977:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"13980:20:97","nodeType":"YulIdentifier","src":"13980:20:97"}],"functionName":{"name":"mstore","nativeSrc":"13970:6:97","nodeType":"YulIdentifier","src":"13970:6:97"},"nativeSrc":"13970:31:97","nodeType":"YulFunctionCall","src":"13970:31:97"},"nativeSrc":"13970:31:97","nodeType":"YulExpressionStatement","src":"13970:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"14025:4:97","nodeType":"YulLiteral","src":"14025:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"14031:1:97","nodeType":"YulLiteral","src":"14031:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"14018:6:97","nodeType":"YulIdentifier","src":"14018:6:97"},"nativeSrc":"14018:15:97","nodeType":"YulFunctionCall","src":"14018:15:97"},"nativeSrc":"14018:15:97","nodeType":"YulExpressionStatement","src":"14018:15:97"}]},"condition":{"arguments":[{"name":"params.length","nativeSrc":"13931:13:97","nodeType":"YulIdentifier","src":"13931:13:97"},{"kind":"number","nativeSrc":"13946:4:97","nodeType":"YulLiteral","src":"13946:4:97","type":"","value":"0x40"}],"functionName":{"name":"lt","nativeSrc":"13928:2:97","nodeType":"YulIdentifier","src":"13928:2:97"},"nativeSrc":"13928:23:97","nodeType":"YulFunctionCall","src":"13928:23:97"},"nativeSrc":"13925:122:97","nodeType":"YulIf","src":"13925:122:97"},{"nativeSrc":"14060:39:97","nodeType":"YulAssignment","src":"14060:39:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"14085:13:97","nodeType":"YulIdentifier","src":"14085:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"14072:12:97","nodeType":"YulIdentifier","src":"14072:12:97"},"nativeSrc":"14072:27:97","nodeType":"YulFunctionCall","src":"14072:27:97"},"variableNames":[{"name":"currency","nativeSrc":"14060:8:97","nodeType":"YulIdentifier","src":"14060:8:97"}]},{"nativeSrc":"14112:48:97","nodeType":"YulAssignment","src":"14112:48:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"14139:13:97","nodeType":"YulIdentifier","src":"14139:13:97"},{"kind":"number","nativeSrc":"14154:4:97","nodeType":"YulLiteral","src":"14154:4:97","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"14135:3:97","nodeType":"YulIdentifier","src":"14135:3:97"},"nativeSrc":"14135:24:97","nodeType":"YulFunctionCall","src":"14135:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"14122:12:97","nodeType":"YulIdentifier","src":"14122:12:97"},"nativeSrc":"14122:38:97","nodeType":"YulFunctionCall","src":"14122:38:97"},"variableNames":[{"name":"amount","nativeSrc":"14112:6:97","nodeType":"YulIdentifier","src":"14112:6:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16055,"isOffset":false,"isSlot":false,"src":"13980:20:97","valueSize":1},{"declaration":16323,"isOffset":false,"isSlot":false,"src":"14112:6:97","valueSize":1},{"declaration":16321,"isOffset":false,"isSlot":false,"src":"14060:8:97","valueSize":1},{"declaration":16317,"isOffset":false,"isSlot":false,"src":"13931:13:97","suffix":"length","valueSize":1},{"declaration":16317,"isOffset":true,"isSlot":false,"src":"14085:13:97","suffix":"offset","valueSize":1},{"declaration":16317,"isOffset":true,"isSlot":false,"src":"14139:13:97","suffix":"offset","valueSize":1}],"flags":["memory-safe"],"id":16325,"nodeType":"InlineAssembly","src":"13886:284:97"}]},"documentation":{"id":16315,"nodeType":"StructuredDocumentation","src":"13653:75:97","text":"@dev equivalent to: abi.decode(params, (Currency, uint256)) in calldata"},"id":16327,"implemented":true,"kind":"function","modifiers":[],"name":"decodeCurrencyAndUint256","nameLocation":"13742:24:97","nodeType":"FunctionDefinition","parameters":{"id":16318,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16317,"mutability":"mutable","name":"params","nameLocation":"13782:6:97","nodeType":"VariableDeclaration","scope":16327,"src":"13767:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16316,"name":"bytes","nodeType":"ElementaryTypeName","src":"13767:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"13766:23:97"},"returnParameters":{"id":16324,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16321,"mutability":"mutable","name":"currency","nameLocation":"13846:8:97","nodeType":"VariableDeclaration","scope":16327,"src":"13837:17:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16320,"nodeType":"UserDefinedTypeName","pathNode":{"id":16319,"name":"Currency","nameLocations":["13837:8:97"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"13837:8:97"},"referencedDeclaration":10717,"src":"13837:8:97","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":16323,"mutability":"mutable","name":"amount","nameLocation":"13864:6:97","nodeType":"VariableDeclaration","scope":16327,"src":"13856:14:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16322,"name":"uint256","nodeType":"ElementaryTypeName","src":"13856:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13836:35:97"},"scope":16368,"src":"13733:443:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16336,"nodeType":"Block","src":"14337:237:97","statements":[{"AST":{"nativeSrc":"14372:196:97","nodeType":"YulBlock","src":"14372:196:97","statements":[{"body":{"nativeSrc":"14413:95:97","nodeType":"YulBlock","src":"14413:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"14438:1:97","nodeType":"YulLiteral","src":"14438:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"14441:20:97","nodeType":"YulIdentifier","src":"14441:20:97"}],"functionName":{"name":"mstore","nativeSrc":"14431:6:97","nodeType":"YulIdentifier","src":"14431:6:97"},"nativeSrc":"14431:31:97","nodeType":"YulFunctionCall","src":"14431:31:97"},"nativeSrc":"14431:31:97","nodeType":"YulExpressionStatement","src":"14431:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"14486:4:97","nodeType":"YulLiteral","src":"14486:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"14492:1:97","nodeType":"YulLiteral","src":"14492:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"14479:6:97","nodeType":"YulIdentifier","src":"14479:6:97"},"nativeSrc":"14479:15:97","nodeType":"YulFunctionCall","src":"14479:15:97"},"nativeSrc":"14479:15:97","nodeType":"YulExpressionStatement","src":"14479:15:97"}]},"condition":{"arguments":[{"name":"params.length","nativeSrc":"14392:13:97","nodeType":"YulIdentifier","src":"14392:13:97"},{"kind":"number","nativeSrc":"14407:4:97","nodeType":"YulLiteral","src":"14407:4:97","type":"","value":"0x20"}],"functionName":{"name":"lt","nativeSrc":"14389:2:97","nodeType":"YulIdentifier","src":"14389:2:97"},"nativeSrc":"14389:23:97","nodeType":"YulFunctionCall","src":"14389:23:97"},"nativeSrc":"14386:122:97","nodeType":"YulIf","src":"14386:122:97"},{"nativeSrc":"14521:37:97","nodeType":"YulAssignment","src":"14521:37:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"14544:13:97","nodeType":"YulIdentifier","src":"14544:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"14531:12:97","nodeType":"YulIdentifier","src":"14531:12:97"},"nativeSrc":"14531:27:97","nodeType":"YulFunctionCall","src":"14531:27:97"},"variableNames":[{"name":"amount","nativeSrc":"14521:6:97","nodeType":"YulIdentifier","src":"14521:6:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16055,"isOffset":false,"isSlot":false,"src":"14441:20:97","valueSize":1},{"declaration":16333,"isOffset":false,"isSlot":false,"src":"14521:6:97","valueSize":1},{"declaration":16330,"isOffset":false,"isSlot":false,"src":"14392:13:97","suffix":"length","valueSize":1},{"declaration":16330,"isOffset":true,"isSlot":false,"src":"14544:13:97","suffix":"offset","valueSize":1}],"flags":["memory-safe"],"id":16335,"nodeType":"InlineAssembly","src":"14347:221:97"}]},"documentation":{"id":16328,"nodeType":"StructuredDocumentation","src":"14182:65:97","text":"@dev equivalent to: abi.decode(params, (uint256)) in calldata"},"id":16337,"implemented":true,"kind":"function","modifiers":[],"name":"decodeUint256","nameLocation":"14261:13:97","nodeType":"FunctionDefinition","parameters":{"id":16331,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16330,"mutability":"mutable","name":"params","nameLocation":"14290:6:97","nodeType":"VariableDeclaration","scope":16337,"src":"14275:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16329,"name":"bytes","nodeType":"ElementaryTypeName","src":"14275:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"14274:23:97"},"returnParameters":{"id":16334,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16333,"mutability":"mutable","name":"amount","nameLocation":"14329:6:97","nodeType":"VariableDeclaration","scope":16337,"src":"14321:14:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16332,"name":"uint256","nodeType":"ElementaryTypeName","src":"14321:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14320:16:97"},"scope":16368,"src":"14252:322:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16351,"nodeType":"Block","src":"14827:362:97","statements":[{"AST":{"nativeSrc":"14862:321:97","nodeType":"YulBlock","src":"14862:321:97","statements":[{"body":{"nativeSrc":"14903:95:97","nodeType":"YulBlock","src":"14903:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"14928:1:97","nodeType":"YulLiteral","src":"14928:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"14931:20:97","nodeType":"YulIdentifier","src":"14931:20:97"}],"functionName":{"name":"mstore","nativeSrc":"14921:6:97","nodeType":"YulIdentifier","src":"14921:6:97"},"nativeSrc":"14921:31:97","nodeType":"YulFunctionCall","src":"14921:31:97"},"nativeSrc":"14921:31:97","nodeType":"YulExpressionStatement","src":"14921:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"14976:4:97","nodeType":"YulLiteral","src":"14976:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"14982:1:97","nodeType":"YulLiteral","src":"14982:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"14969:6:97","nodeType":"YulIdentifier","src":"14969:6:97"},"nativeSrc":"14969:15:97","nodeType":"YulFunctionCall","src":"14969:15:97"},"nativeSrc":"14969:15:97","nodeType":"YulExpressionStatement","src":"14969:15:97"}]},"condition":{"arguments":[{"name":"params.length","nativeSrc":"14882:13:97","nodeType":"YulIdentifier","src":"14882:13:97"},{"kind":"number","nativeSrc":"14897:4:97","nodeType":"YulLiteral","src":"14897:4:97","type":"","value":"0x60"}],"functionName":{"name":"lt","nativeSrc":"14879:2:97","nodeType":"YulIdentifier","src":"14879:2:97"},"nativeSrc":"14879:23:97","nodeType":"YulFunctionCall","src":"14879:23:97"},"nativeSrc":"14876:122:97","nodeType":"YulIf","src":"14876:122:97"},{"nativeSrc":"15011:39:97","nodeType":"YulAssignment","src":"15011:39:97","value":{"arguments":[{"name":"params.offset","nativeSrc":"15036:13:97","nodeType":"YulIdentifier","src":"15036:13:97"}],"functionName":{"name":"calldataload","nativeSrc":"15023:12:97","nodeType":"YulIdentifier","src":"15023:12:97"},"nativeSrc":"15023:27:97","nodeType":"YulFunctionCall","src":"15023:27:97"},"variableNames":[{"name":"currency","nativeSrc":"15011:8:97","nodeType":"YulIdentifier","src":"15011:8:97"}]},{"nativeSrc":"15063:48:97","nodeType":"YulAssignment","src":"15063:48:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"15090:13:97","nodeType":"YulIdentifier","src":"15090:13:97"},{"kind":"number","nativeSrc":"15105:4:97","nodeType":"YulLiteral","src":"15105:4:97","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"15086:3:97","nodeType":"YulIdentifier","src":"15086:3:97"},"nativeSrc":"15086:24:97","nodeType":"YulFunctionCall","src":"15086:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"15073:12:97","nodeType":"YulIdentifier","src":"15073:12:97"},"nativeSrc":"15073:38:97","nodeType":"YulFunctionCall","src":"15073:38:97"},"variableNames":[{"name":"amount","nativeSrc":"15063:6:97","nodeType":"YulIdentifier","src":"15063:6:97"}]},{"nativeSrc":"15124:49:97","nodeType":"YulAssignment","src":"15124:49:97","value":{"arguments":[{"arguments":[{"name":"params.offset","nativeSrc":"15152:13:97","nodeType":"YulIdentifier","src":"15152:13:97"},{"kind":"number","nativeSrc":"15167:4:97","nodeType":"YulLiteral","src":"15167:4:97","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"15148:3:97","nodeType":"YulIdentifier","src":"15148:3:97"},"nativeSrc":"15148:24:97","nodeType":"YulFunctionCall","src":"15148:24:97"}],"functionName":{"name":"calldataload","nativeSrc":"15135:12:97","nodeType":"YulIdentifier","src":"15135:12:97"},"nativeSrc":"15135:38:97","nodeType":"YulFunctionCall","src":"15135:38:97"},"variableNames":[{"name":"boolean","nativeSrc":"15124:7:97","nodeType":"YulIdentifier","src":"15124:7:97"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16055,"isOffset":false,"isSlot":false,"src":"14931:20:97","valueSize":1},{"declaration":16346,"isOffset":false,"isSlot":false,"src":"15063:6:97","valueSize":1},{"declaration":16348,"isOffset":false,"isSlot":false,"src":"15124:7:97","valueSize":1},{"declaration":16344,"isOffset":false,"isSlot":false,"src":"15011:8:97","valueSize":1},{"declaration":16340,"isOffset":false,"isSlot":false,"src":"14882:13:97","suffix":"length","valueSize":1},{"declaration":16340,"isOffset":true,"isSlot":false,"src":"15036:13:97","suffix":"offset","valueSize":1},{"declaration":16340,"isOffset":true,"isSlot":false,"src":"15090:13:97","suffix":"offset","valueSize":1},{"declaration":16340,"isOffset":true,"isSlot":false,"src":"15152:13:97","suffix":"offset","valueSize":1}],"flags":["memory-safe"],"id":16350,"nodeType":"InlineAssembly","src":"14837:346:97"}]},"documentation":{"id":16338,"nodeType":"StructuredDocumentation","src":"14580:81:97","text":"@dev equivalent to: abi.decode(params, (Currency, uint256, bool)) in calldata"},"id":16352,"implemented":true,"kind":"function","modifiers":[],"name":"decodeCurrencyUint256AndBool","nameLocation":"14675:28:97","nodeType":"FunctionDefinition","parameters":{"id":16341,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16340,"mutability":"mutable","name":"params","nameLocation":"14719:6:97","nodeType":"VariableDeclaration","scope":16352,"src":"14704:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16339,"name":"bytes","nodeType":"ElementaryTypeName","src":"14704:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"14703:23:97"},"returnParameters":{"id":16349,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16344,"mutability":"mutable","name":"currency","nameLocation":"14783:8:97","nodeType":"VariableDeclaration","scope":16352,"src":"14774:17:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16343,"nodeType":"UserDefinedTypeName","pathNode":{"id":16342,"name":"Currency","nameLocations":["14774:8:97"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"14774:8:97"},"referencedDeclaration":10717,"src":"14774:8:97","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":16346,"mutability":"mutable","name":"amount","nameLocation":"14801:6:97","nodeType":"VariableDeclaration","scope":16352,"src":"14793:14:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16345,"name":"uint256","nodeType":"ElementaryTypeName","src":"14793:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":16348,"mutability":"mutable","name":"boolean","nameLocation":"14814:7:97","nodeType":"VariableDeclaration","scope":16352,"src":"14809:12:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":16347,"name":"bool","nodeType":"ElementaryTypeName","src":"14809:4:97","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"14773:49:97"},"scope":16368,"src":"14666:523:97","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16366,"nodeType":"Block","src":"15493:981:97","statements":[{"assignments":[16363],"declarations":[{"constant":false,"id":16363,"mutability":"mutable","name":"length","nameLocation":"15511:6:97","nodeType":"VariableDeclaration","scope":16366,"src":"15503:14:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16362,"name":"uint256","nodeType":"ElementaryTypeName","src":"15503:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":16364,"nodeType":"VariableDeclarationStatement","src":"15503:14:97"},{"AST":{"nativeSrc":"15552:916:97","nodeType":"YulBlock","src":"15552:916:97","statements":[{"nativeSrc":"15732:127:97","nodeType":"YulVariableDeclaration","src":"15732:127:97","value":{"arguments":[{"name":"_bytes.offset","nativeSrc":"15769:13:97","nodeType":"YulIdentifier","src":"15769:13:97"},{"arguments":[{"arguments":[{"arguments":[{"name":"_bytes.offset","nativeSrc":"15805:13:97","nodeType":"YulIdentifier","src":"15805:13:97"},{"arguments":[{"kind":"number","nativeSrc":"15824:1:97","nodeType":"YulLiteral","src":"15824:1:97","type":"","value":"5"},{"name":"_arg","nativeSrc":"15827:4:97","nodeType":"YulIdentifier","src":"15827:4:97"}],"functionName":{"name":"shl","nativeSrc":"15820:3:97","nodeType":"YulIdentifier","src":"15820:3:97"},"nativeSrc":"15820:12:97","nodeType":"YulFunctionCall","src":"15820:12:97"}],"functionName":{"name":"add","nativeSrc":"15801:3:97","nodeType":"YulIdentifier","src":"15801:3:97"},"nativeSrc":"15801:32:97","nodeType":"YulFunctionCall","src":"15801:32:97"}],"functionName":{"name":"calldataload","nativeSrc":"15788:12:97","nodeType":"YulIdentifier","src":"15788:12:97"},"nativeSrc":"15788:46:97","nodeType":"YulFunctionCall","src":"15788:46:97"},{"name":"OFFSET_OR_LENGTH_MASK","nativeSrc":"15836:21:97","nodeType":"YulIdentifier","src":"15836:21:97"}],"functionName":{"name":"and","nativeSrc":"15784:3:97","nodeType":"YulIdentifier","src":"15784:3:97"},"nativeSrc":"15784:74:97","nodeType":"YulFunctionCall","src":"15784:74:97"}],"functionName":{"name":"add","nativeSrc":"15765:3:97","nodeType":"YulIdentifier","src":"15765:3:97"},"nativeSrc":"15765:94:97","nodeType":"YulFunctionCall","src":"15765:94:97"},"variables":[{"name":"lengthPtr","nativeSrc":"15736:9:97","nodeType":"YulTypedName","src":"15736:9:97","type":""}]},{"nativeSrc":"15927:61:97","nodeType":"YulAssignment","src":"15927:61:97","value":{"arguments":[{"arguments":[{"name":"lengthPtr","nativeSrc":"15954:9:97","nodeType":"YulIdentifier","src":"15954:9:97"}],"functionName":{"name":"calldataload","nativeSrc":"15941:12:97","nodeType":"YulIdentifier","src":"15941:12:97"},"nativeSrc":"15941:23:97","nodeType":"YulFunctionCall","src":"15941:23:97"},{"name":"OFFSET_OR_LENGTH_MASK","nativeSrc":"15966:21:97","nodeType":"YulIdentifier","src":"15966:21:97"}],"functionName":{"name":"and","nativeSrc":"15937:3:97","nodeType":"YulIdentifier","src":"15937:3:97"},"nativeSrc":"15937:51:97","nodeType":"YulFunctionCall","src":"15937:51:97"},"variableNames":[{"name":"length","nativeSrc":"15927:6:97","nodeType":"YulIdentifier","src":"15927:6:97"}]},{"nativeSrc":"16057:34:97","nodeType":"YulVariableDeclaration","src":"16057:34:97","value":{"arguments":[{"name":"lengthPtr","nativeSrc":"16075:9:97","nodeType":"YulIdentifier","src":"16075:9:97"},{"kind":"number","nativeSrc":"16086:4:97","nodeType":"YulLiteral","src":"16086:4:97","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"16071:3:97","nodeType":"YulIdentifier","src":"16071:3:97"},"nativeSrc":"16071:20:97","nodeType":"YulFunctionCall","src":"16071:20:97"},"variables":[{"name":"offset","nativeSrc":"16061:6:97","nodeType":"YulTypedName","src":"16061:6:97","type":""}]},{"nativeSrc":"16148:20:97","nodeType":"YulAssignment","src":"16148:20:97","value":{"name":"length","nativeSrc":"16162:6:97","nodeType":"YulIdentifier","src":"16162:6:97"},"variableNames":[{"name":"res.length","nativeSrc":"16148:10:97","nodeType":"YulIdentifier","src":"16148:10:97"}]},{"nativeSrc":"16181:20:97","nodeType":"YulAssignment","src":"16181:20:97","value":{"name":"offset","nativeSrc":"16195:6:97","nodeType":"YulIdentifier","src":"16195:6:97"},"variableNames":[{"name":"res.offset","nativeSrc":"16181:10:97","nodeType":"YulIdentifier","src":"16181:10:97"}]},{"body":{"nativeSrc":"16363:95:97","nodeType":"YulBlock","src":"16363:95:97","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"16388:1:97","nodeType":"YulLiteral","src":"16388:1:97","type":"","value":"0"},{"name":"SLICE_ERROR_SELECTOR","nativeSrc":"16391:20:97","nodeType":"YulIdentifier","src":"16391:20:97"}],"functionName":{"name":"mstore","nativeSrc":"16381:6:97","nodeType":"YulIdentifier","src":"16381:6:97"},"nativeSrc":"16381:31:97","nodeType":"YulFunctionCall","src":"16381:31:97"},"nativeSrc":"16381:31:97","nodeType":"YulExpressionStatement","src":"16381:31:97"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"16436:4:97","nodeType":"YulLiteral","src":"16436:4:97","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"16442:1:97","nodeType":"YulLiteral","src":"16442:1:97","type":"","value":"4"}],"functionName":{"name":"revert","nativeSrc":"16429:6:97","nodeType":"YulIdentifier","src":"16429:6:97"},"nativeSrc":"16429:15:97","nodeType":"YulFunctionCall","src":"16429:15:97"},"nativeSrc":"16429:15:97","nodeType":"YulExpressionStatement","src":"16429:15:97"}]},"condition":{"arguments":[{"arguments":[{"name":"_bytes.length","nativeSrc":"16311:13:97","nodeType":"YulIdentifier","src":"16311:13:97"},{"name":"_bytes.offset","nativeSrc":"16326:13:97","nodeType":"YulIdentifier","src":"16326:13:97"}],"functionName":{"name":"add","nativeSrc":"16307:3:97","nodeType":"YulIdentifier","src":"16307:3:97"},"nativeSrc":"16307:33:97","nodeType":"YulFunctionCall","src":"16307:33:97"},{"arguments":[{"name":"length","nativeSrc":"16346:6:97","nodeType":"YulIdentifier","src":"16346:6:97"},{"name":"offset","nativeSrc":"16354:6:97","nodeType":"YulIdentifier","src":"16354:6:97"}],"functionName":{"name":"add","nativeSrc":"16342:3:97","nodeType":"YulIdentifier","src":"16342:3:97"},"nativeSrc":"16342:19:97","nodeType":"YulFunctionCall","src":"16342:19:97"}],"functionName":{"name":"lt","nativeSrc":"16304:2:97","nodeType":"YulIdentifier","src":"16304:2:97"},"nativeSrc":"16304:58:97","nodeType":"YulFunctionCall","src":"16304:58:97"},"nativeSrc":"16301:157:97","nodeType":"YulIf","src":"16301:157:97"}]},"evmVersion":"cancun","externalReferences":[{"declaration":16048,"isOffset":false,"isSlot":false,"src":"15836:21:97","valueSize":1},{"declaration":16048,"isOffset":false,"isSlot":false,"src":"15966:21:97","valueSize":1},{"declaration":16055,"isOffset":false,"isSlot":false,"src":"16391:20:97","valueSize":1},{"declaration":16357,"isOffset":false,"isSlot":false,"src":"15827:4:97","valueSize":1},{"declaration":16355,"isOffset":false,"isSlot":false,"src":"16311:13:97","suffix":"length","valueSize":1},{"declaration":16355,"isOffset":true,"isSlot":false,"src":"15769:13:97","suffix":"offset","valueSize":1},{"declaration":16355,"isOffset":true,"isSlot":false,"src":"15805:13:97","suffix":"offset","valueSize":1},{"declaration":16355,"isOffset":true,"isSlot":false,"src":"16326:13:97","suffix":"offset","valueSize":1},{"declaration":16363,"isOffset":false,"isSlot":false,"src":"15927:6:97","valueSize":1},{"declaration":16363,"isOffset":false,"isSlot":false,"src":"16162:6:97","valueSize":1},{"declaration":16363,"isOffset":false,"isSlot":false,"src":"16346:6:97","valueSize":1},{"declaration":16360,"isOffset":false,"isSlot":false,"src":"16148:10:97","suffix":"length","valueSize":1},{"declaration":16360,"isOffset":true,"isSlot":false,"src":"16181:10:97","suffix":"offset","valueSize":1}],"flags":["memory-safe"],"id":16365,"nodeType":"InlineAssembly","src":"15527:941:97"}]},"documentation":{"id":16353,"nodeType":"StructuredDocumentation","src":"15195:196:97","text":"@notice Decode the `_arg`-th element in `_bytes` as `bytes`\n @param _bytes The input bytes string to extract a bytes string from\n @param _arg The index of the argument to extract"},"id":16367,"implemented":true,"kind":"function","modifiers":[],"name":"toBytes","nameLocation":"15405:7:97","nodeType":"FunctionDefinition","parameters":{"id":16358,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16355,"mutability":"mutable","name":"_bytes","nameLocation":"15428:6:97","nodeType":"VariableDeclaration","scope":16367,"src":"15413:21:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16354,"name":"bytes","nodeType":"ElementaryTypeName","src":"15413:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":16357,"mutability":"mutable","name":"_arg","nameLocation":"15444:4:97","nodeType":"VariableDeclaration","scope":16367,"src":"15436:12:97","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16356,"name":"uint256","nodeType":"ElementaryTypeName","src":"15436:7:97","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"15412:37:97"},"returnParameters":{"id":16361,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16360,"mutability":"mutable","name":"res","nameLocation":"15488:3:97","nodeType":"VariableDeclaration","scope":16367,"src":"15473:18:97","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":16359,"name":"bytes","nodeType":"ElementaryTypeName","src":"15473:5:97","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"15472:20:97"},"scope":16368,"src":"15396:1078:97","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":16369,"src":"291:16185:97","usedErrors":[16044],"usedEvents":[]}],"src":"32:16445:97"},"id":97},"@uniswap/v4-periphery/src/libraries/ERC721PermitHash.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/libraries/ERC721PermitHash.sol","exportedSymbols":{"ERC721PermitHash":[16411]},"id":16412,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":16370,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:98"},{"abstract":false,"baseContracts":[],"canonicalName":"ERC721PermitHash","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"id":16411,"linearizedBaseContracts":[16411],"name":"ERC721PermitHash","nameLocation":"65:16:98","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":16371,"nodeType":"StructuredDocumentation","src":"88:111:98","text":"@dev Value is equal to keccak256(\"Permit(address spender,uint256 tokenId,uint256 nonce,uint256 deadline)\");"},"id":16374,"mutability":"constant","name":"PERMIT_TYPEHASH","nameLocation":"221:15:98","nodeType":"VariableDeclaration","scope":16411,"src":"204:101:98","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":16372,"name":"bytes32","nodeType":"ElementaryTypeName","src":"204:7:98","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307834396563663333336535623863393563343066646166633935633161643133366538393134613866623535653964633862623031656161383361326466396164","id":16373,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"239:66:98","typeDescriptions":{"typeIdentifier":"t_rational_33437492377378226760087498811281282659873828549087316441254475749622436198829_by_1","typeString":"int_const 3343...(69 digits omitted)...8829"},"value":"0x49ecf333e5b8c95c40fdafc95c1ad136e8914a8fb55e9dc8bb01eaa83a2df9ad"},"visibility":"internal"},{"constant":true,"documentation":{"id":16375,"nodeType":"StructuredDocumentation","src":"312:116:98","text":"@dev Value is equal to keccak256(\"PermitForAll(address operator,bool approved,uint256 nonce,uint256 deadline)\");"},"id":16378,"mutability":"constant","name":"PERMIT_FOR_ALL_TYPEHASH","nameLocation":"450:23:98","nodeType":"VariableDeclaration","scope":16411,"src":"433:109:98","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":16376,"name":"bytes32","nodeType":"ElementaryTypeName","src":"433:7:98","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307836363733636233393765653261353062366238343031363533643336333862346163386233646239633238616136383730666663656237353734656332663736","id":16377,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"476:66:98","typeDescriptions":{"typeIdentifier":"t_rational_46340500572530629298205012567692893636541552416245644887090805175230625754998_by_1","typeString":"int_const 4634...(69 digits omitted)...4998"},"value":"0x6673cb397ee2a50b6b8401653d3638b4ac8b3db9c28aa6870ffceb7574ec2f76"},"visibility":"internal"},{"body":{"id":16393,"nodeType":"Block","src":"1235:847:98","statements":[{"AST":{"nativeSrc":"1371:705:98","nodeType":"YulBlock","src":"1371:705:98","statements":[{"nativeSrc":"1385:22:98","nodeType":"YulVariableDeclaration","src":"1385:22:98","value":{"arguments":[{"kind":"number","nativeSrc":"1402:4:98","nodeType":"YulLiteral","src":"1402:4:98","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"1396:5:98","nodeType":"YulIdentifier","src":"1396:5:98"},"nativeSrc":"1396:11:98","nodeType":"YulFunctionCall","src":"1396:11:98"},"variables":[{"name":"fmp","nativeSrc":"1389:3:98","nodeType":"YulTypedName","src":"1389:3:98","type":""}]},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"1427:3:98","nodeType":"YulIdentifier","src":"1427:3:98"},{"name":"PERMIT_TYPEHASH","nativeSrc":"1432:15:98","nodeType":"YulIdentifier","src":"1432:15:98"}],"functionName":{"name":"mstore","nativeSrc":"1420:6:98","nodeType":"YulIdentifier","src":"1420:6:98"},"nativeSrc":"1420:28:98","nodeType":"YulFunctionCall","src":"1420:28:98"},"nativeSrc":"1420:28:98","nodeType":"YulExpressionStatement","src":"1420:28:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"1472:3:98","nodeType":"YulIdentifier","src":"1472:3:98"},{"kind":"number","nativeSrc":"1477:4:98","nodeType":"YulLiteral","src":"1477:4:98","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"1468:3:98","nodeType":"YulIdentifier","src":"1468:3:98"},"nativeSrc":"1468:14:98","nodeType":"YulFunctionCall","src":"1468:14:98"},{"arguments":[{"name":"spender","nativeSrc":"1488:7:98","nodeType":"YulIdentifier","src":"1488:7:98"},{"kind":"number","nativeSrc":"1497:42:98","nodeType":"YulLiteral","src":"1497:42:98","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"1484:3:98","nodeType":"YulIdentifier","src":"1484:3:98"},"nativeSrc":"1484:56:98","nodeType":"YulFunctionCall","src":"1484:56:98"}],"functionName":{"name":"mstore","nativeSrc":"1461:6:98","nodeType":"YulIdentifier","src":"1461:6:98"},"nativeSrc":"1461:80:98","nodeType":"YulFunctionCall","src":"1461:80:98"},"nativeSrc":"1461:80:98","nodeType":"YulExpressionStatement","src":"1461:80:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"1565:3:98","nodeType":"YulIdentifier","src":"1565:3:98"},{"kind":"number","nativeSrc":"1570:4:98","nodeType":"YulLiteral","src":"1570:4:98","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"1561:3:98","nodeType":"YulIdentifier","src":"1561:3:98"},"nativeSrc":"1561:14:98","nodeType":"YulFunctionCall","src":"1561:14:98"},{"name":"tokenId","nativeSrc":"1577:7:98","nodeType":"YulIdentifier","src":"1577:7:98"}],"functionName":{"name":"mstore","nativeSrc":"1554:6:98","nodeType":"YulIdentifier","src":"1554:6:98"},"nativeSrc":"1554:31:98","nodeType":"YulFunctionCall","src":"1554:31:98"},"nativeSrc":"1554:31:98","nodeType":"YulExpressionStatement","src":"1554:31:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"1609:3:98","nodeType":"YulIdentifier","src":"1609:3:98"},{"kind":"number","nativeSrc":"1614:4:98","nodeType":"YulLiteral","src":"1614:4:98","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"1605:3:98","nodeType":"YulIdentifier","src":"1605:3:98"},"nativeSrc":"1605:14:98","nodeType":"YulFunctionCall","src":"1605:14:98"},{"name":"nonce","nativeSrc":"1621:5:98","nodeType":"YulIdentifier","src":"1621:5:98"}],"functionName":{"name":"mstore","nativeSrc":"1598:6:98","nodeType":"YulIdentifier","src":"1598:6:98"},"nativeSrc":"1598:29:98","nodeType":"YulFunctionCall","src":"1598:29:98"},"nativeSrc":"1598:29:98","nodeType":"YulExpressionStatement","src":"1598:29:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"1651:3:98","nodeType":"YulIdentifier","src":"1651:3:98"},{"kind":"number","nativeSrc":"1656:4:98","nodeType":"YulLiteral","src":"1656:4:98","type":"","value":"0x80"}],"functionName":{"name":"add","nativeSrc":"1647:3:98","nodeType":"YulIdentifier","src":"1647:3:98"},"nativeSrc":"1647:14:98","nodeType":"YulFunctionCall","src":"1647:14:98"},{"name":"deadline","nativeSrc":"1663:8:98","nodeType":"YulIdentifier","src":"1663:8:98"}],"functionName":{"name":"mstore","nativeSrc":"1640:6:98","nodeType":"YulIdentifier","src":"1640:6:98"},"nativeSrc":"1640:32:98","nodeType":"YulFunctionCall","src":"1640:32:98"},"nativeSrc":"1640:32:98","nodeType":"YulExpressionStatement","src":"1640:32:98"},{"nativeSrc":"1685:30:98","nodeType":"YulAssignment","src":"1685:30:98","value":{"arguments":[{"name":"fmp","nativeSrc":"1705:3:98","nodeType":"YulIdentifier","src":"1705:3:98"},{"kind":"number","nativeSrc":"1710:4:98","nodeType":"YulLiteral","src":"1710:4:98","type":"","value":"0xa0"}],"functionName":{"name":"keccak256","nativeSrc":"1695:9:98","nodeType":"YulIdentifier","src":"1695:9:98"},"nativeSrc":"1695:20:98","nodeType":"YulFunctionCall","src":"1695:20:98"},"variableNames":[{"name":"digest","nativeSrc":"1685:6:98","nodeType":"YulIdentifier","src":"1685:6:98"}]},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"1780:3:98","nodeType":"YulIdentifier","src":"1780:3:98"},{"kind":"number","nativeSrc":"1785:1:98","nodeType":"YulLiteral","src":"1785:1:98","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"1773:6:98","nodeType":"YulIdentifier","src":"1773:6:98"},"nativeSrc":"1773:14:98","nodeType":"YulFunctionCall","src":"1773:14:98"},"nativeSrc":"1773:14:98","nodeType":"YulExpressionStatement","src":"1773:14:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"1839:3:98","nodeType":"YulIdentifier","src":"1839:3:98"},{"kind":"number","nativeSrc":"1844:4:98","nodeType":"YulLiteral","src":"1844:4:98","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"1835:3:98","nodeType":"YulIdentifier","src":"1835:3:98"},"nativeSrc":"1835:14:98","nodeType":"YulFunctionCall","src":"1835:14:98"},{"kind":"number","nativeSrc":"1851:1:98","nodeType":"YulLiteral","src":"1851:1:98","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"1828:6:98","nodeType":"YulIdentifier","src":"1828:6:98"},"nativeSrc":"1828:25:98","nodeType":"YulFunctionCall","src":"1828:25:98"},"nativeSrc":"1828:25:98","nodeType":"YulExpressionStatement","src":"1828:25:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"1902:3:98","nodeType":"YulIdentifier","src":"1902:3:98"},{"kind":"number","nativeSrc":"1907:4:98","nodeType":"YulLiteral","src":"1907:4:98","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"1898:3:98","nodeType":"YulIdentifier","src":"1898:3:98"},"nativeSrc":"1898:14:98","nodeType":"YulFunctionCall","src":"1898:14:98"},{"kind":"number","nativeSrc":"1914:1:98","nodeType":"YulLiteral","src":"1914:1:98","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"1891:6:98","nodeType":"YulIdentifier","src":"1891:6:98"},"nativeSrc":"1891:25:98","nodeType":"YulFunctionCall","src":"1891:25:98"},"nativeSrc":"1891:25:98","nodeType":"YulExpressionStatement","src":"1891:25:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"1965:3:98","nodeType":"YulIdentifier","src":"1965:3:98"},{"kind":"number","nativeSrc":"1970:4:98","nodeType":"YulLiteral","src":"1970:4:98","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"1961:3:98","nodeType":"YulIdentifier","src":"1961:3:98"},"nativeSrc":"1961:14:98","nodeType":"YulFunctionCall","src":"1961:14:98"},{"kind":"number","nativeSrc":"1977:1:98","nodeType":"YulLiteral","src":"1977:1:98","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"1954:6:98","nodeType":"YulIdentifier","src":"1954:6:98"},"nativeSrc":"1954:25:98","nodeType":"YulFunctionCall","src":"1954:25:98"},"nativeSrc":"1954:25:98","nodeType":"YulExpressionStatement","src":"1954:25:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"2026:3:98","nodeType":"YulIdentifier","src":"2026:3:98"},{"kind":"number","nativeSrc":"2031:4:98","nodeType":"YulLiteral","src":"2031:4:98","type":"","value":"0x80"}],"functionName":{"name":"add","nativeSrc":"2022:3:98","nodeType":"YulIdentifier","src":"2022:3:98"},"nativeSrc":"2022:14:98","nodeType":"YulFunctionCall","src":"2022:14:98"},{"kind":"number","nativeSrc":"2038:1:98","nodeType":"YulLiteral","src":"2038:1:98","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"2015:6:98","nodeType":"YulIdentifier","src":"2015:6:98"},"nativeSrc":"2015:25:98","nodeType":"YulFunctionCall","src":"2015:25:98"},"nativeSrc":"2015:25:98","nodeType":"YulExpressionStatement","src":"2015:25:98"}]},"evmVersion":"cancun","externalReferences":[{"declaration":16374,"isOffset":false,"isSlot":false,"src":"1432:15:98","valueSize":1},{"declaration":16387,"isOffset":false,"isSlot":false,"src":"1663:8:98","valueSize":1},{"declaration":16390,"isOffset":false,"isSlot":false,"src":"1685:6:98","valueSize":1},{"declaration":16385,"isOffset":false,"isSlot":false,"src":"1621:5:98","valueSize":1},{"declaration":16381,"isOffset":false,"isSlot":false,"src":"1488:7:98","valueSize":1},{"declaration":16383,"isOffset":false,"isSlot":false,"src":"1577:7:98","valueSize":1}],"flags":["memory-safe"],"id":16392,"nodeType":"InlineAssembly","src":"1346:730:98"}]},"documentation":{"id":16379,"nodeType":"StructuredDocumentation","src":"549:527:98","text":"@notice Hashes the data that will be signed for IERC721Permit_v4.permit()\n @param spender The address which may spend the tokenId\n @param tokenId The tokenId of the owner, which may be spent by spender\n @param nonce A unique non-ordered value for each signature to prevent replay attacks\n @param deadline The time at which the signature expires\n @return digest The hash of the data to be signed; the equivalent to keccak256(abi.encode(PERMIT_TYPEHASH, spender, tokenId, nonce, deadline));"},"id":16394,"implemented":true,"kind":"function","modifiers":[],"name":"hashPermit","nameLocation":"1090:10:98","nodeType":"FunctionDefinition","parameters":{"id":16388,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16381,"mutability":"mutable","name":"spender","nameLocation":"1109:7:98","nodeType":"VariableDeclaration","scope":16394,"src":"1101:15:98","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":16380,"name":"address","nodeType":"ElementaryTypeName","src":"1101:7:98","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":16383,"mutability":"mutable","name":"tokenId","nameLocation":"1126:7:98","nodeType":"VariableDeclaration","scope":16394,"src":"1118:15:98","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16382,"name":"uint256","nodeType":"ElementaryTypeName","src":"1118:7:98","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":16385,"mutability":"mutable","name":"nonce","nameLocation":"1143:5:98","nodeType":"VariableDeclaration","scope":16394,"src":"1135:13:98","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16384,"name":"uint256","nodeType":"ElementaryTypeName","src":"1135:7:98","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":16387,"mutability":"mutable","name":"deadline","nameLocation":"1158:8:98","nodeType":"VariableDeclaration","scope":16394,"src":"1150:16:98","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16386,"name":"uint256","nodeType":"ElementaryTypeName","src":"1150:7:98","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1100:67:98"},"returnParameters":{"id":16391,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16390,"mutability":"mutable","name":"digest","nameLocation":"1223:6:98","nodeType":"VariableDeclaration","scope":16394,"src":"1215:14:98","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":16389,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1215:7:98","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1214:16:98"},"scope":16411,"src":"1081:1001:98","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16409,"nodeType":"Block","src":"2842:887:98","statements":[{"AST":{"nativeSrc":"2988:735:98","nodeType":"YulBlock","src":"2988:735:98","statements":[{"nativeSrc":"3002:22:98","nodeType":"YulVariableDeclaration","src":"3002:22:98","value":{"arguments":[{"kind":"number","nativeSrc":"3019:4:98","nodeType":"YulLiteral","src":"3019:4:98","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"3013:5:98","nodeType":"YulIdentifier","src":"3013:5:98"},"nativeSrc":"3013:11:98","nodeType":"YulFunctionCall","src":"3013:11:98"},"variables":[{"name":"fmp","nativeSrc":"3006:3:98","nodeType":"YulTypedName","src":"3006:3:98","type":""}]},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"3044:3:98","nodeType":"YulIdentifier","src":"3044:3:98"},{"name":"PERMIT_FOR_ALL_TYPEHASH","nativeSrc":"3049:23:98","nodeType":"YulIdentifier","src":"3049:23:98"}],"functionName":{"name":"mstore","nativeSrc":"3037:6:98","nodeType":"YulIdentifier","src":"3037:6:98"},"nativeSrc":"3037:36:98","nodeType":"YulFunctionCall","src":"3037:36:98"},"nativeSrc":"3037:36:98","nodeType":"YulExpressionStatement","src":"3037:36:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"3097:3:98","nodeType":"YulIdentifier","src":"3097:3:98"},{"kind":"number","nativeSrc":"3102:4:98","nodeType":"YulLiteral","src":"3102:4:98","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"3093:3:98","nodeType":"YulIdentifier","src":"3093:3:98"},"nativeSrc":"3093:14:98","nodeType":"YulFunctionCall","src":"3093:14:98"},{"arguments":[{"name":"operator","nativeSrc":"3113:8:98","nodeType":"YulIdentifier","src":"3113:8:98"},{"kind":"number","nativeSrc":"3123:42:98","nodeType":"YulLiteral","src":"3123:42:98","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nativeSrc":"3109:3:98","nodeType":"YulIdentifier","src":"3109:3:98"},"nativeSrc":"3109:57:98","nodeType":"YulFunctionCall","src":"3109:57:98"}],"functionName":{"name":"mstore","nativeSrc":"3086:6:98","nodeType":"YulIdentifier","src":"3086:6:98"},"nativeSrc":"3086:81:98","nodeType":"YulFunctionCall","src":"3086:81:98"},"nativeSrc":"3086:81:98","nodeType":"YulExpressionStatement","src":"3086:81:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"3191:3:98","nodeType":"YulIdentifier","src":"3191:3:98"},{"kind":"number","nativeSrc":"3196:4:98","nodeType":"YulLiteral","src":"3196:4:98","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"3187:3:98","nodeType":"YulIdentifier","src":"3187:3:98"},"nativeSrc":"3187:14:98","nodeType":"YulFunctionCall","src":"3187:14:98"},{"arguments":[{"name":"approved","nativeSrc":"3207:8:98","nodeType":"YulIdentifier","src":"3207:8:98"},{"kind":"number","nativeSrc":"3217:3:98","nodeType":"YulLiteral","src":"3217:3:98","type":"","value":"0x1"}],"functionName":{"name":"and","nativeSrc":"3203:3:98","nodeType":"YulIdentifier","src":"3203:3:98"},"nativeSrc":"3203:18:98","nodeType":"YulFunctionCall","src":"3203:18:98"}],"functionName":{"name":"mstore","nativeSrc":"3180:6:98","nodeType":"YulIdentifier","src":"3180:6:98"},"nativeSrc":"3180:42:98","nodeType":"YulFunctionCall","src":"3180:42:98"},"nativeSrc":"3180:42:98","nodeType":"YulExpressionStatement","src":"3180:42:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"3246:3:98","nodeType":"YulIdentifier","src":"3246:3:98"},{"kind":"number","nativeSrc":"3251:4:98","nodeType":"YulLiteral","src":"3251:4:98","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"3242:3:98","nodeType":"YulIdentifier","src":"3242:3:98"},"nativeSrc":"3242:14:98","nodeType":"YulFunctionCall","src":"3242:14:98"},{"name":"nonce","nativeSrc":"3258:5:98","nodeType":"YulIdentifier","src":"3258:5:98"}],"functionName":{"name":"mstore","nativeSrc":"3235:6:98","nodeType":"YulIdentifier","src":"3235:6:98"},"nativeSrc":"3235:29:98","nodeType":"YulFunctionCall","src":"3235:29:98"},"nativeSrc":"3235:29:98","nodeType":"YulExpressionStatement","src":"3235:29:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"3288:3:98","nodeType":"YulIdentifier","src":"3288:3:98"},{"kind":"number","nativeSrc":"3293:4:98","nodeType":"YulLiteral","src":"3293:4:98","type":"","value":"0x80"}],"functionName":{"name":"add","nativeSrc":"3284:3:98","nodeType":"YulIdentifier","src":"3284:3:98"},"nativeSrc":"3284:14:98","nodeType":"YulFunctionCall","src":"3284:14:98"},{"name":"deadline","nativeSrc":"3300:8:98","nodeType":"YulIdentifier","src":"3300:8:98"}],"functionName":{"name":"mstore","nativeSrc":"3277:6:98","nodeType":"YulIdentifier","src":"3277:6:98"},"nativeSrc":"3277:32:98","nodeType":"YulFunctionCall","src":"3277:32:98"},"nativeSrc":"3277:32:98","nodeType":"YulExpressionStatement","src":"3277:32:98"},{"nativeSrc":"3322:30:98","nodeType":"YulAssignment","src":"3322:30:98","value":{"arguments":[{"name":"fmp","nativeSrc":"3342:3:98","nodeType":"YulIdentifier","src":"3342:3:98"},{"kind":"number","nativeSrc":"3347:4:98","nodeType":"YulLiteral","src":"3347:4:98","type":"","value":"0xa0"}],"functionName":{"name":"keccak256","nativeSrc":"3332:9:98","nodeType":"YulIdentifier","src":"3332:9:98"},"nativeSrc":"3332:20:98","nodeType":"YulFunctionCall","src":"3332:20:98"},"variableNames":[{"name":"digest","nativeSrc":"3322:6:98","nodeType":"YulIdentifier","src":"3322:6:98"}]},{"expression":{"arguments":[{"name":"fmp","nativeSrc":"3417:3:98","nodeType":"YulIdentifier","src":"3417:3:98"},{"kind":"number","nativeSrc":"3422:1:98","nodeType":"YulLiteral","src":"3422:1:98","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"3410:6:98","nodeType":"YulIdentifier","src":"3410:6:98"},"nativeSrc":"3410:14:98","nodeType":"YulFunctionCall","src":"3410:14:98"},"nativeSrc":"3410:14:98","nodeType":"YulExpressionStatement","src":"3410:14:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"3484:3:98","nodeType":"YulIdentifier","src":"3484:3:98"},{"kind":"number","nativeSrc":"3489:4:98","nodeType":"YulLiteral","src":"3489:4:98","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"3480:3:98","nodeType":"YulIdentifier","src":"3480:3:98"},"nativeSrc":"3480:14:98","nodeType":"YulFunctionCall","src":"3480:14:98"},{"kind":"number","nativeSrc":"3496:1:98","nodeType":"YulLiteral","src":"3496:1:98","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"3473:6:98","nodeType":"YulIdentifier","src":"3473:6:98"},"nativeSrc":"3473:25:98","nodeType":"YulFunctionCall","src":"3473:25:98"},"nativeSrc":"3473:25:98","nodeType":"YulExpressionStatement","src":"3473:25:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"3548:3:98","nodeType":"YulIdentifier","src":"3548:3:98"},{"kind":"number","nativeSrc":"3553:4:98","nodeType":"YulLiteral","src":"3553:4:98","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"3544:3:98","nodeType":"YulIdentifier","src":"3544:3:98"},"nativeSrc":"3544:14:98","nodeType":"YulFunctionCall","src":"3544:14:98"},{"kind":"number","nativeSrc":"3560:1:98","nodeType":"YulLiteral","src":"3560:1:98","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"3537:6:98","nodeType":"YulIdentifier","src":"3537:6:98"},"nativeSrc":"3537:25:98","nodeType":"YulFunctionCall","src":"3537:25:98"},"nativeSrc":"3537:25:98","nodeType":"YulExpressionStatement","src":"3537:25:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"3612:3:98","nodeType":"YulIdentifier","src":"3612:3:98"},{"kind":"number","nativeSrc":"3617:4:98","nodeType":"YulLiteral","src":"3617:4:98","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"3608:3:98","nodeType":"YulIdentifier","src":"3608:3:98"},"nativeSrc":"3608:14:98","nodeType":"YulFunctionCall","src":"3608:14:98"},{"kind":"number","nativeSrc":"3624:1:98","nodeType":"YulLiteral","src":"3624:1:98","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"3601:6:98","nodeType":"YulIdentifier","src":"3601:6:98"},"nativeSrc":"3601:25:98","nodeType":"YulFunctionCall","src":"3601:25:98"},"nativeSrc":"3601:25:98","nodeType":"YulExpressionStatement","src":"3601:25:98"},{"expression":{"arguments":[{"arguments":[{"name":"fmp","nativeSrc":"3673:3:98","nodeType":"YulIdentifier","src":"3673:3:98"},{"kind":"number","nativeSrc":"3678:4:98","nodeType":"YulLiteral","src":"3678:4:98","type":"","value":"0x80"}],"functionName":{"name":"add","nativeSrc":"3669:3:98","nodeType":"YulIdentifier","src":"3669:3:98"},"nativeSrc":"3669:14:98","nodeType":"YulFunctionCall","src":"3669:14:98"},{"kind":"number","nativeSrc":"3685:1:98","nodeType":"YulLiteral","src":"3685:1:98","type":"","value":"0"}],"functionName":{"name":"mstore","nativeSrc":"3662:6:98","nodeType":"YulIdentifier","src":"3662:6:98"},"nativeSrc":"3662:25:98","nodeType":"YulFunctionCall","src":"3662:25:98"},"nativeSrc":"3662:25:98","nodeType":"YulExpressionStatement","src":"3662:25:98"}]},"evmVersion":"cancun","externalReferences":[{"declaration":16378,"isOffset":false,"isSlot":false,"src":"3049:23:98","valueSize":1},{"declaration":16399,"isOffset":false,"isSlot":false,"src":"3207:8:98","valueSize":1},{"declaration":16403,"isOffset":false,"isSlot":false,"src":"3300:8:98","valueSize":1},{"declaration":16406,"isOffset":false,"isSlot":false,"src":"3322:6:98","valueSize":1},{"declaration":16401,"isOffset":false,"isSlot":false,"src":"3258:5:98","valueSize":1},{"declaration":16397,"isOffset":false,"isSlot":false,"src":"3113:8:98","valueSize":1}],"flags":["memory-safe"],"id":16408,"nodeType":"InlineAssembly","src":"2963:760:98"}]},"documentation":{"id":16395,"nodeType":"StructuredDocumentation","src":"2088:590:98","text":"@notice Hashes the data that will be signed for IERC721Permit_v4.permit()\n @param operator The address which may spend any of the owner's tokenIds\n @param approved true if the operator is to have full permission over the owner's tokenIds; false otherwise\n @param nonce A unique non-ordered value for each signature to prevent replay attacks\n @param deadline The time at which the signature expires\n @return digest The hash of the data to be signed; the equivalent to keccak256(abi.encode(PERMIT_FOR_ALL_TYPEHASH, operator, approved, nonce, deadline));"},"id":16410,"implemented":true,"kind":"function","modifiers":[],"name":"hashPermitForAll","nameLocation":"2692:16:98","nodeType":"FunctionDefinition","parameters":{"id":16404,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16397,"mutability":"mutable","name":"operator","nameLocation":"2717:8:98","nodeType":"VariableDeclaration","scope":16410,"src":"2709:16:98","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":16396,"name":"address","nodeType":"ElementaryTypeName","src":"2709:7:98","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":16399,"mutability":"mutable","name":"approved","nameLocation":"2732:8:98","nodeType":"VariableDeclaration","scope":16410,"src":"2727:13:98","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":16398,"name":"bool","nodeType":"ElementaryTypeName","src":"2727:4:98","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":16401,"mutability":"mutable","name":"nonce","nameLocation":"2750:5:98","nodeType":"VariableDeclaration","scope":16410,"src":"2742:13:98","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16400,"name":"uint256","nodeType":"ElementaryTypeName","src":"2742:7:98","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":16403,"mutability":"mutable","name":"deadline","nameLocation":"2765:8:98","nodeType":"VariableDeclaration","scope":16410,"src":"2757:16:98","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16402,"name":"uint256","nodeType":"ElementaryTypeName","src":"2757:7:98","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2708:66:98"},"returnParameters":{"id":16407,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16406,"mutability":"mutable","name":"digest","nameLocation":"2830:6:98","nodeType":"VariableDeclaration","scope":16410,"src":"2822:14:98","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":16405,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2822:7:98","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2821:16:98"},"scope":16411,"src":"2683:1046:98","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":16412,"src":"57:3674:98","usedErrors":[],"usedEvents":[]}],"src":"32:3700:98"},"id":98},"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol","exportedSymbols":{"FixedPoint96":[4468],"FullMath":[4636],"LiquidityAmounts":[16590],"SafeCast":[8145]},"id":16591,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":16413,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:99"},{"absolutePath":"@uniswap/v4-core/src/libraries/FullMath.sol","file":"@uniswap/v4-core/src/libraries/FullMath.sol","id":16415,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":16591,"sourceUnit":4637,"src":"57:69:99","symbolAliases":[{"foreign":{"id":16414,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"65:8:99","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/FixedPoint96.sol","file":"@uniswap/v4-core/src/libraries/FixedPoint96.sol","id":16417,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":16591,"sourceUnit":4469,"src":"127:77:99","symbolAliases":[{"foreign":{"id":16416,"name":"FixedPoint96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4468,"src":"135:12:99","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/SafeCast.sol","file":"@uniswap/v4-core/src/libraries/SafeCast.sol","id":16419,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":16591,"sourceUnit":8146,"src":"205:69:99","symbolAliases":[{"foreign":{"id":16418,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8145,"src":"213:8:99","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"LiquidityAmounts","contractDependencies":[],"contractKind":"library","documentation":{"id":16420,"nodeType":"StructuredDocumentation","src":"276:93:99","text":"@notice Provides functions for computing liquidity amounts from token amounts and prices"},"fullyImplemented":true,"id":16590,"linearizedBaseContracts":[16590],"name":"LiquidityAmounts","nameLocation":"377:16:99","nodeType":"ContractDefinition","nodes":[{"global":false,"id":16423,"libraryName":{"id":16421,"name":"SafeCast","nameLocations":["406:8:99"],"nodeType":"IdentifierPath","referencedDeclaration":8145,"src":"406:8:99"},"nodeType":"UsingForDirective","src":"400:27:99","typeName":{"id":16422,"name":"uint256","nodeType":"ElementaryTypeName","src":"419:7:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"body":{"id":16469,"nodeType":"Block","src":"1060:351:99","statements":[{"id":16468,"nodeType":"UncheckedBlock","src":"1070:335:99","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":16437,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16435,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16426,"src":"1098:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":16436,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16428,"src":"1114:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"1098:29:99","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":16446,"nodeType":"IfStatement","src":"1094:98:99","trueBody":{"expression":{"id":16444,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":16438,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16426,"src":"1130:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16439,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16428,"src":"1145:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":16440,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1129:30:99","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_uint160_$","typeString":"tuple(uint160,uint160)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":16441,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16428,"src":"1163:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16442,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16426,"src":"1178:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":16443,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1162:30:99","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_uint160_$","typeString":"tuple(uint160,uint160)"}},"src":"1129:63:99","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":16445,"nodeType":"ExpressionStatement","src":"1129:63:99"}},{"assignments":[16448],"declarations":[{"constant":false,"id":16448,"mutability":"mutable","name":"intermediate","nameLocation":"1214:12:99","nodeType":"VariableDeclaration","scope":16468,"src":"1206:20:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16447,"name":"uint256","nodeType":"ElementaryTypeName","src":"1206:7:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":16456,"initialValue":{"arguments":[{"id":16451,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16426,"src":"1245:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16452,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16428,"src":"1260:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"expression":{"id":16453,"name":"FixedPoint96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4468,"src":"1275:12:99","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint96_$4468_$","typeString":"type(library FixedPoint96)"}},"id":16454,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1288:3:99","memberName":"Q96","nodeType":"MemberAccess","referencedDeclaration":4467,"src":"1275:16:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":16449,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"1229:8:99","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":16450,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1238:6:99","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":4597,"src":"1229:15:99","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":16455,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1229:63:99","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1206:86:99"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":16459,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16430,"src":"1329:7:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":16460,"name":"intermediate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16448,"src":"1338:12:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":16463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16461,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16428,"src":"1352:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":16462,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16426,"src":"1368:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"1352:29:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":16457,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"1313:8:99","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":16458,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1322:6:99","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":4597,"src":"1313:15:99","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":16464,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1313:69:99","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":16465,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1383:9:99","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8033,"src":"1313:79:99","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (uint128)"}},"id":16466,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1313:81:99","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"functionReturnParameters":16434,"id":16467,"nodeType":"Return","src":"1306:88:99"}]}]},"documentation":{"id":16424,"nodeType":"StructuredDocumentation","src":"433:457:99","text":"@notice Computes the amount of liquidity received for a given amount of token0 and price range\n @dev Calculates amount0 * (sqrt(upper) * sqrt(lower)) / (sqrt(upper) - sqrt(lower))\n @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n @param amount0 The amount0 being sent in\n @return liquidity The amount of returned liquidity"},"id":16470,"implemented":true,"kind":"function","modifiers":[],"name":"getLiquidityForAmount0","nameLocation":"904:22:99","nodeType":"FunctionDefinition","parameters":{"id":16431,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16426,"mutability":"mutable","name":"sqrtPriceAX96","nameLocation":"935:13:99","nodeType":"VariableDeclaration","scope":16470,"src":"927:21:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":16425,"name":"uint160","nodeType":"ElementaryTypeName","src":"927:7:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":16428,"mutability":"mutable","name":"sqrtPriceBX96","nameLocation":"958:13:99","nodeType":"VariableDeclaration","scope":16470,"src":"950:21:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":16427,"name":"uint160","nodeType":"ElementaryTypeName","src":"950:7:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":16430,"mutability":"mutable","name":"amount0","nameLocation":"981:7:99","nodeType":"VariableDeclaration","scope":16470,"src":"973:15:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16429,"name":"uint256","nodeType":"ElementaryTypeName","src":"973:7:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"926:63:99"},"returnParameters":{"id":16434,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16433,"mutability":"mutable","name":"liquidity","nameLocation":"1045:9:99","nodeType":"VariableDeclaration","scope":16470,"src":"1037:17:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16432,"name":"uint128","nodeType":"ElementaryTypeName","src":"1037:7:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"1036:19:99"},"scope":16590,"src":"895:516:99","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16507,"nodeType":"Block","src":"2015:255:99","statements":[{"id":16506,"nodeType":"UncheckedBlock","src":"2025:239:99","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":16484,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16482,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16473,"src":"2053:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":16483,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16475,"src":"2069:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"2053:29:99","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":16493,"nodeType":"IfStatement","src":"2049:98:99","trueBody":{"expression":{"id":16491,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":16485,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16473,"src":"2085:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16486,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16475,"src":"2100:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":16487,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"2084:30:99","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_uint160_$","typeString":"tuple(uint160,uint160)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":16488,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16475,"src":"2118:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16489,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16473,"src":"2133:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":16490,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2117:30:99","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_uint160_$","typeString":"tuple(uint160,uint160)"}},"src":"2084:63:99","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":16492,"nodeType":"ExpressionStatement","src":"2084:63:99"}},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":16496,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16477,"src":"2184:7:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":16497,"name":"FixedPoint96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4468,"src":"2193:12:99","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FixedPoint96_$4468_$","typeString":"type(library FixedPoint96)"}},"id":16498,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2206:3:99","memberName":"Q96","nodeType":"MemberAccess","referencedDeclaration":4467,"src":"2193:16:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":16501,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16499,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16475,"src":"2211:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":16500,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16473,"src":"2227:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"2211:29:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":16494,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4636,"src":"2168:8:99","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$4636_$","typeString":"type(library FullMath)"}},"id":16495,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2177:6:99","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":4597,"src":"2168:15:99","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":16502,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2168:73:99","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":16503,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2242:9:99","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8033,"src":"2168:83:99","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint128_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (uint128)"}},"id":16504,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2168:85:99","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"functionReturnParameters":16481,"id":16505,"nodeType":"Return","src":"2161:92:99"}]}]},"documentation":{"id":16471,"nodeType":"StructuredDocumentation","src":"1417:428:99","text":"@notice Computes the amount of liquidity received for a given amount of token1 and price range\n @dev Calculates amount1 / (sqrt(upper) - sqrt(lower)).\n @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n @param amount1 The amount1 being sent in\n @return liquidity The amount of returned liquidity"},"id":16508,"implemented":true,"kind":"function","modifiers":[],"name":"getLiquidityForAmount1","nameLocation":"1859:22:99","nodeType":"FunctionDefinition","parameters":{"id":16478,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16473,"mutability":"mutable","name":"sqrtPriceAX96","nameLocation":"1890:13:99","nodeType":"VariableDeclaration","scope":16508,"src":"1882:21:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":16472,"name":"uint160","nodeType":"ElementaryTypeName","src":"1882:7:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":16475,"mutability":"mutable","name":"sqrtPriceBX96","nameLocation":"1913:13:99","nodeType":"VariableDeclaration","scope":16508,"src":"1905:21:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":16474,"name":"uint160","nodeType":"ElementaryTypeName","src":"1905:7:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":16477,"mutability":"mutable","name":"amount1","nameLocation":"1936:7:99","nodeType":"VariableDeclaration","scope":16508,"src":"1928:15:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16476,"name":"uint256","nodeType":"ElementaryTypeName","src":"1928:7:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1881:63:99"},"returnParameters":{"id":16481,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16480,"mutability":"mutable","name":"liquidity","nameLocation":"2000:9:99","nodeType":"VariableDeclaration","scope":16508,"src":"1992:17:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16479,"name":"uint128","nodeType":"ElementaryTypeName","src":"1992:7:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"1991:19:99"},"scope":16590,"src":"1850:420:99","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16588,"nodeType":"Block","src":"3092:679:99","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":16526,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16524,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16513,"src":"3106:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":16525,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16515,"src":"3122:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"3106:29:99","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":16535,"nodeType":"IfStatement","src":"3102:98:99","trueBody":{"expression":{"id":16533,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":16527,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16513,"src":"3138:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16528,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16515,"src":"3153:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":16529,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"3137:30:99","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_uint160_$","typeString":"tuple(uint160,uint160)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":16530,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16515,"src":"3171:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16531,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16513,"src":"3186:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":16532,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3170:30:99","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_uint160_$","typeString":"tuple(uint160,uint160)"}},"src":"3137:63:99","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":16534,"nodeType":"ExpressionStatement","src":"3137:63:99"}},{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":16538,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16536,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16511,"src":"3215:12:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":16537,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16513,"src":"3231:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"3215:29:99","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":16550,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16548,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16511,"src":"3354:12:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":16549,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16515,"src":"3369:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"3354:28:99","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":16585,"nodeType":"Block","src":"3667:98:99","statements":[{"expression":{"id":16583,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":16577,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16522,"src":"3681:9:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":16579,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16513,"src":"3716:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16580,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16515,"src":"3731:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16581,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16519,"src":"3746:7:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":16578,"name":"getLiquidityForAmount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16508,"src":"3693:22:99","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint256_$returns$_t_uint128_$","typeString":"function (uint160,uint160,uint256) pure returns (uint128)"}},"id":16582,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3693:61:99","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"3681:73:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":16584,"nodeType":"ExpressionStatement","src":"3681:73:99"}]},"id":16586,"nodeType":"IfStatement","src":"3350:415:99","trueBody":{"id":16576,"nodeType":"Block","src":"3384:277:99","statements":[{"assignments":[16552],"declarations":[{"constant":false,"id":16552,"mutability":"mutable","name":"liquidity0","nameLocation":"3406:10:99","nodeType":"VariableDeclaration","scope":16576,"src":"3398:18:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16551,"name":"uint128","nodeType":"ElementaryTypeName","src":"3398:7:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":16558,"initialValue":{"arguments":[{"id":16554,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16511,"src":"3442:12:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16555,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16515,"src":"3456:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16556,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16517,"src":"3471:7:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":16553,"name":"getLiquidityForAmount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16470,"src":"3419:22:99","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint256_$returns$_t_uint128_$","typeString":"function (uint160,uint160,uint256) pure returns (uint128)"}},"id":16557,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3419:60:99","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"3398:81:99"},{"assignments":[16560],"declarations":[{"constant":false,"id":16560,"mutability":"mutable","name":"liquidity1","nameLocation":"3501:10:99","nodeType":"VariableDeclaration","scope":16576,"src":"3493:18:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16559,"name":"uint128","nodeType":"ElementaryTypeName","src":"3493:7:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"id":16566,"initialValue":{"arguments":[{"id":16562,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16513,"src":"3537:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16563,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16511,"src":"3552:12:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16564,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16519,"src":"3566:7:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":16561,"name":"getLiquidityForAmount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16508,"src":"3514:22:99","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint256_$returns$_t_uint128_$","typeString":"function (uint160,uint160,uint256) pure returns (uint128)"}},"id":16565,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3514:60:99","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"3493:81:99"},{"expression":{"id":16574,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":16567,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16522,"src":"3589:9:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":16570,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16568,"name":"liquidity0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16552,"src":"3601:10:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":16569,"name":"liquidity1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16560,"src":"3614:10:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"3601:23:99","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":16572,"name":"liquidity1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16560,"src":"3640:10:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":16573,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"3601:49:99","trueExpression":{"id":16571,"name":"liquidity0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16552,"src":"3627:10:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"3589:61:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":16575,"nodeType":"ExpressionStatement","src":"3589:61:99"}]}},"id":16587,"nodeType":"IfStatement","src":"3211:554:99","trueBody":{"id":16547,"nodeType":"Block","src":"3246:98:99","statements":[{"expression":{"id":16545,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":16539,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16522,"src":"3260:9:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":16541,"name":"sqrtPriceAX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16513,"src":"3295:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16542,"name":"sqrtPriceBX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16515,"src":"3310:13:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":16543,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16517,"src":"3325:7:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":16540,"name":"getLiquidityForAmount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16470,"src":"3272:22:99","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint256_$returns$_t_uint128_$","typeString":"function (uint160,uint160,uint256) pure returns (uint128)"}},"id":16544,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3272:61:99","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"3260:73:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"id":16546,"nodeType":"ExpressionStatement","src":"3260:73:99"}]}}]},"documentation":{"id":16509,"nodeType":"StructuredDocumentation","src":"2276:589:99","text":"@notice Computes the maximum amount of liquidity received for a given amount of token0, token1, the current\n pool prices and the prices at the tick boundaries\n @param sqrtPriceX96 A sqrt price representing the current pool prices\n @param sqrtPriceAX96 A sqrt price representing the first tick boundary\n @param sqrtPriceBX96 A sqrt price representing the second tick boundary\n @param amount0 The amount of token0 being sent in\n @param amount1 The amount of token1 being sent in\n @return liquidity The maximum amount of liquidity received"},"id":16589,"implemented":true,"kind":"function","modifiers":[],"name":"getLiquidityForAmounts","nameLocation":"2879:22:99","nodeType":"FunctionDefinition","parameters":{"id":16520,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16511,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"2919:12:99","nodeType":"VariableDeclaration","scope":16589,"src":"2911:20:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":16510,"name":"uint160","nodeType":"ElementaryTypeName","src":"2911:7:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":16513,"mutability":"mutable","name":"sqrtPriceAX96","nameLocation":"2949:13:99","nodeType":"VariableDeclaration","scope":16589,"src":"2941:21:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":16512,"name":"uint160","nodeType":"ElementaryTypeName","src":"2941:7:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":16515,"mutability":"mutable","name":"sqrtPriceBX96","nameLocation":"2980:13:99","nodeType":"VariableDeclaration","scope":16589,"src":"2972:21:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":16514,"name":"uint160","nodeType":"ElementaryTypeName","src":"2972:7:99","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":16517,"mutability":"mutable","name":"amount0","nameLocation":"3011:7:99","nodeType":"VariableDeclaration","scope":16589,"src":"3003:15:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16516,"name":"uint256","nodeType":"ElementaryTypeName","src":"3003:7:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":16519,"mutability":"mutable","name":"amount1","nameLocation":"3036:7:99","nodeType":"VariableDeclaration","scope":16589,"src":"3028:15:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16518,"name":"uint256","nodeType":"ElementaryTypeName","src":"3028:7:99","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2901:148:99"},"returnParameters":{"id":16523,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16522,"mutability":"mutable","name":"liquidity","nameLocation":"3081:9:99","nodeType":"VariableDeclaration","scope":16589,"src":"3073:17:99","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16521,"name":"uint128","nodeType":"ElementaryTypeName","src":"3073:7:99","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"3072:19:99"},"scope":16590,"src":"2870:901:99","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":16591,"src":"369:3404:99","usedErrors":[],"usedEvents":[]}],"src":"32:3742:99"},"id":99},"@uniswap/v4-periphery/src/libraries/Locker.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/libraries/Locker.sol","exportedSymbols":{"Locker":[16611]},"id":16612,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":16592,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"32:24:100"},{"abstract":false,"baseContracts":[],"canonicalName":"Locker","contractDependencies":[],"contractKind":"library","documentation":{"id":16593,"nodeType":"StructuredDocumentation","src":"58:189:100","text":"@notice This is a temporary library that allows us to use transient storage (tstore/tload)\n TODO: This library can be deleted when we have the transient keyword support in solidity."},"fullyImplemented":true,"id":16611,"linearizedBaseContracts":[16611],"name":"Locker","nameLocation":"255:6:100","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":16596,"mutability":"constant","name":"LOCKED_BY_SLOT","nameLocation":"384:14:100","nodeType":"VariableDeclaration","scope":16611,"src":"367:100:100","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":16594,"name":"bytes32","nodeType":"ElementaryTypeName","src":"367:7:100","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307830616564643662646531306533616132616465633039326230326133653365383035373935353136636461343166323761613134356238663330306166383761","id":16595,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"401:66:100","typeDescriptions":{"typeIdentifier":"t_rational_4943353333034393356903510118159653507767073813308548485745257023707575679098_by_1","typeString":"int_const 4943...(68 digits omitted)...9098"},"value":"0x0aedd6bde10e3aa2adec092b02a3e3e805795516cda41f27aa145b8f300af87a"},"visibility":"internal"},{"body":{"id":16602,"nodeType":"Block","src":"512:79:100","statements":[{"AST":{"nativeSrc":"531:54:100","nodeType":"YulBlock","src":"531:54:100","statements":[{"expression":{"arguments":[{"name":"LOCKED_BY_SLOT","nativeSrc":"552:14:100","nodeType":"YulIdentifier","src":"552:14:100"},{"name":"locker","nativeSrc":"568:6:100","nodeType":"YulIdentifier","src":"568:6:100"}],"functionName":{"name":"tstore","nativeSrc":"545:6:100","nodeType":"YulIdentifier","src":"545:6:100"},"nativeSrc":"545:30:100","nodeType":"YulFunctionCall","src":"545:30:100"},"nativeSrc":"545:30:100","nodeType":"YulExpressionStatement","src":"545:30:100"}]},"evmVersion":"cancun","externalReferences":[{"declaration":16596,"isOffset":false,"isSlot":false,"src":"552:14:100","valueSize":1},{"declaration":16598,"isOffset":false,"isSlot":false,"src":"568:6:100","valueSize":1}],"id":16601,"nodeType":"InlineAssembly","src":"522:63:100"}]},"id":16603,"implemented":true,"kind":"function","modifiers":[],"name":"set","nameLocation":"483:3:100","nodeType":"FunctionDefinition","parameters":{"id":16599,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16598,"mutability":"mutable","name":"locker","nameLocation":"495:6:100","nodeType":"VariableDeclaration","scope":16603,"src":"487:14:100","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":16597,"name":"address","nodeType":"ElementaryTypeName","src":"487:7:100","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"486:16:100"},"returnParameters":{"id":16600,"nodeType":"ParameterList","parameters":[],"src":"512:0:100"},"scope":16611,"src":"474:117:100","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":16609,"nodeType":"Block","src":"651:80:100","statements":[{"AST":{"nativeSrc":"670:55:100","nodeType":"YulBlock","src":"670:55:100","statements":[{"nativeSrc":"684:31:100","nodeType":"YulAssignment","src":"684:31:100","value":{"arguments":[{"name":"LOCKED_BY_SLOT","nativeSrc":"700:14:100","nodeType":"YulIdentifier","src":"700:14:100"}],"functionName":{"name":"tload","nativeSrc":"694:5:100","nodeType":"YulIdentifier","src":"694:5:100"},"nativeSrc":"694:21:100","nodeType":"YulFunctionCall","src":"694:21:100"},"variableNames":[{"name":"locker","nativeSrc":"684:6:100","nodeType":"YulIdentifier","src":"684:6:100"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16596,"isOffset":false,"isSlot":false,"src":"700:14:100","valueSize":1},{"declaration":16606,"isOffset":false,"isSlot":false,"src":"684:6:100","valueSize":1}],"id":16608,"nodeType":"InlineAssembly","src":"661:64:100"}]},"id":16610,"implemented":true,"kind":"function","modifiers":[],"name":"get","nameLocation":"606:3:100","nodeType":"FunctionDefinition","parameters":{"id":16604,"nodeType":"ParameterList","parameters":[],"src":"609:2:100"},"returnParameters":{"id":16607,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16606,"mutability":"mutable","name":"locker","nameLocation":"643:6:100","nodeType":"VariableDeclaration","scope":16610,"src":"635:14:100","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":16605,"name":"address","nodeType":"ElementaryTypeName","src":"635:7:100","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"634:16:100"},"scope":16611,"src":"597:134:100","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":16612,"src":"247:486:100","usedErrors":[],"usedEvents":[]}],"src":"32:702:100"},"id":100},"@uniswap/v4-periphery/src/libraries/PathKey.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/libraries/PathKey.sol","exportedSymbols":{"Currency":[10717],"IHooks":[3618],"PathKey":[16632],"PathKeyLibrary":[16696],"PoolKey":[11063]},"id":16697,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":16613,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"31:23:101"},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"@uniswap/v4-core/src/types/Currency.sol","id":16615,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":16697,"sourceUnit":11012,"src":"56:65:101","symbolAliases":[{"foreign":{"id":16614,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"64:8:101","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IHooks.sol","file":"@uniswap/v4-core/src/interfaces/IHooks.sol","id":16617,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":16697,"sourceUnit":3619,"src":"122:66:101","symbolAliases":[{"foreign":{"id":16616,"name":"IHooks","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3618,"src":"130:6:101","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"@uniswap/v4-core/src/types/PoolKey.sol","id":16619,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":16697,"sourceUnit":11064,"src":"189:63:101","symbolAliases":[{"foreign":{"id":16618,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"197:7:101","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"canonicalName":"PathKey","id":16632,"members":[{"constant":false,"id":16622,"mutability":"mutable","name":"intermediateCurrency","nameLocation":"284:20:101","nodeType":"VariableDeclaration","scope":16632,"src":"275:29:101","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16621,"nodeType":"UserDefinedTypeName","pathNode":{"id":16620,"name":"Currency","nameLocations":["275:8:101"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"275:8:101"},"referencedDeclaration":10717,"src":"275:8:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":16624,"mutability":"mutable","name":"fee","nameLocation":"317:3:101","nodeType":"VariableDeclaration","scope":16632,"src":"310:10:101","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":16623,"name":"uint24","nodeType":"ElementaryTypeName","src":"310:6:101","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":16626,"mutability":"mutable","name":"tickSpacing","nameLocation":"332:11:101","nodeType":"VariableDeclaration","scope":16632,"src":"326:17:101","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":16625,"name":"int24","nodeType":"ElementaryTypeName","src":"326:5:101","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":16629,"mutability":"mutable","name":"hooks","nameLocation":"356:5:101","nodeType":"VariableDeclaration","scope":16632,"src":"349:12:101","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"},"typeName":{"id":16628,"nodeType":"UserDefinedTypeName","pathNode":{"id":16627,"name":"IHooks","nameLocations":["349:6:101"],"nodeType":"IdentifierPath","referencedDeclaration":3618,"src":"349:6:101"},"referencedDeclaration":3618,"src":"349:6:101","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}},"visibility":"internal"},{"constant":false,"id":16631,"mutability":"mutable","name":"hookData","nameLocation":"373:8:101","nodeType":"VariableDeclaration","scope":16632,"src":"367:14:101","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":16630,"name":"bytes","nodeType":"ElementaryTypeName","src":"367:5:101","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"name":"PathKey","nameLocation":"261:7:101","nodeType":"StructDefinition","scope":16697,"src":"254:130:101","visibility":"public"},{"global":true,"id":16636,"libraryName":{"id":16633,"name":"PathKeyLibrary","nameLocations":["392:14:101"],"nodeType":"IdentifierPath","referencedDeclaration":16696,"src":"392:14:101"},"nodeType":"UsingForDirective","src":"386:40:101","typeName":{"id":16635,"nodeType":"UserDefinedTypeName","pathNode":{"id":16634,"name":"PathKey","nameLocations":["411:7:101"],"nodeType":"IdentifierPath","referencedDeclaration":16632,"src":"411:7:101"},"referencedDeclaration":16632,"src":"411:7:101","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_storage_ptr","typeString":"struct PathKey"}}},{"abstract":false,"baseContracts":[],"canonicalName":"PathKeyLibrary","contractDependencies":[],"contractKind":"library","documentation":{"id":16637,"nodeType":"StructuredDocumentation","src":"428:75:101","text":"@title PathKey Library\n @notice Functions for working with PathKeys"},"fullyImplemented":true,"id":16696,"linearizedBaseContracts":[16696],"name":"PathKeyLibrary","nameLocation":"511:14:101","nodeType":"ContractDefinition","nodes":[{"body":{"id":16694,"nodeType":"Block","src":"1008:354:101","statements":[{"assignments":[16654],"declarations":[{"constant":false,"id":16654,"mutability":"mutable","name":"currencyOut","nameLocation":"1027:11:101","nodeType":"VariableDeclaration","scope":16694,"src":"1018:20:101","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16653,"nodeType":"UserDefinedTypeName","pathNode":{"id":16652,"name":"Currency","nameLocations":["1018:8:101"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1018:8:101"},"referencedDeclaration":10717,"src":"1018:8:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"id":16657,"initialValue":{"expression":{"id":16655,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16641,"src":"1041:6:101","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"id":16656,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1048:20:101","memberName":"intermediateCurrency","nodeType":"MemberAccess","referencedDeclaration":16622,"src":"1041:27:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"VariableDeclarationStatement","src":"1018:50:101"},{"assignments":[16660,16663],"declarations":[{"constant":false,"id":16660,"mutability":"mutable","name":"currency0","nameLocation":"1088:9:101","nodeType":"VariableDeclaration","scope":16694,"src":"1079:18:101","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16659,"nodeType":"UserDefinedTypeName","pathNode":{"id":16658,"name":"Currency","nameLocations":["1079:8:101"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1079:8:101"},"referencedDeclaration":10717,"src":"1079:8:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":16663,"mutability":"mutable","name":"currency1","nameLocation":"1108:9:101","nodeType":"VariableDeclaration","scope":16694,"src":"1099:18:101","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16662,"nodeType":"UserDefinedTypeName","pathNode":{"id":16661,"name":"Currency","nameLocations":["1099:8:101"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"1099:8:101"},"referencedDeclaration":10717,"src":"1099:8:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"id":16674,"initialValue":{"condition":{"commonType":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"function":10794,"id":16666,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16664,"name":"currencyIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16644,"src":"1133:10:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":16665,"name":"currencyOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16654,"src":"1146:11:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"src":"1133:24:101","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"components":[{"id":16670,"name":"currencyOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16654,"src":"1189:11:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":16671,"name":"currencyIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16644,"src":"1202:10:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"id":16672,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1188:25:101","typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_userDefinedValueType$_Currency_$10717_$","typeString":"tuple(Currency,Currency)"}},"id":16673,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"1133:80:101","trueExpression":{"components":[{"id":16667,"name":"currencyIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16644,"src":"1161:10:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":16668,"name":"currencyOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16654,"src":"1173:11:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"id":16669,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1160:25:101","typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_userDefinedValueType$_Currency_$10717_$","typeString":"tuple(Currency,Currency)"}},"typeDescriptions":{"typeIdentifier":"t_tuple$_t_userDefinedValueType$_Currency_$10717_$_t_userDefinedValueType$_Currency_$10717_$","typeString":"tuple(Currency,Currency)"}},"nodeType":"VariableDeclarationStatement","src":"1078:135:101"},{"expression":{"id":16679,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":16675,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16650,"src":"1224:10:101","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"function":10750,"id":16678,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16676,"name":"currencyIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16644,"src":"1237:10:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":16677,"name":"currency0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16660,"src":"1251:9:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"src":"1237:23:101","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1224:36:101","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":16680,"nodeType":"ExpressionStatement","src":"1224:36:101"},{"expression":{"id":16692,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":16681,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16648,"src":"1270:7:101","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":16683,"name":"currency0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16660,"src":"1288:9:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"id":16684,"name":"currency1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16663,"src":"1299:9:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},{"expression":{"id":16685,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16641,"src":"1310:6:101","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"id":16686,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1317:3:101","memberName":"fee","nodeType":"MemberAccess","referencedDeclaration":16624,"src":"1310:10:101","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},{"expression":{"id":16687,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16641,"src":"1322:6:101","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"id":16688,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1329:11:101","memberName":"tickSpacing","nodeType":"MemberAccess","referencedDeclaration":16626,"src":"1322:18:101","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":16689,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16641,"src":"1342:6:101","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey calldata"}},"id":16690,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1349:5:101","memberName":"hooks","nodeType":"MemberAccess","referencedDeclaration":16629,"src":"1342:12:101","typeDescriptions":{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},{"typeIdentifier":"t_uint24","typeString":"uint24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_contract$_IHooks_$3618","typeString":"contract IHooks"}],"id":16682,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"1280:7:101","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_PoolKey_$11063_storage_ptr_$","typeString":"type(struct PoolKey storage pointer)"}},"id":16691,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1280:75:101","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"src":"1270:85:101","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":16693,"nodeType":"ExpressionStatement","src":"1270:85:101"}]},"documentation":{"id":16638,"nodeType":"StructuredDocumentation","src":"532:300:101","text":"@notice Get the pool and swap direction for a given PathKey\n @param params the given PathKey\n @param currencyIn the input currency\n @return poolKey the pool key of the swap\n @return zeroForOne the direction of the swap, true if currency0 is being swapped for currency1"},"id":16695,"implemented":true,"kind":"function","modifiers":[],"name":"getPoolAndSwapDirection","nameLocation":"846:23:101","nodeType":"FunctionDefinition","parameters":{"id":16645,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16641,"mutability":"mutable","name":"params","nameLocation":"887:6:101","nodeType":"VariableDeclaration","scope":16695,"src":"870:23:101","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_calldata_ptr","typeString":"struct PathKey"},"typeName":{"id":16640,"nodeType":"UserDefinedTypeName","pathNode":{"id":16639,"name":"PathKey","nameLocations":["870:7:101"],"nodeType":"IdentifierPath","referencedDeclaration":16632,"src":"870:7:101"},"referencedDeclaration":16632,"src":"870:7:101","typeDescriptions":{"typeIdentifier":"t_struct$_PathKey_$16632_storage_ptr","typeString":"struct PathKey"}},"visibility":"internal"},{"constant":false,"id":16644,"mutability":"mutable","name":"currencyIn","nameLocation":"904:10:101","nodeType":"VariableDeclaration","scope":16695,"src":"895:19:101","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":16643,"nodeType":"UserDefinedTypeName","pathNode":{"id":16642,"name":"Currency","nameLocations":["895:8:101"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"895:8:101"},"referencedDeclaration":10717,"src":"895:8:101","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"}],"src":"869:46:101"},"returnParameters":{"id":16651,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16648,"mutability":"mutable","name":"poolKey","nameLocation":"978:7:101","nodeType":"VariableDeclaration","scope":16695,"src":"963:22:101","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":16647,"nodeType":"UserDefinedTypeName","pathNode":{"id":16646,"name":"PoolKey","nameLocations":["963:7:101"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"963:7:101"},"referencedDeclaration":11063,"src":"963:7:101","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":16650,"mutability":"mutable","name":"zeroForOne","nameLocation":"992:10:101","nodeType":"VariableDeclaration","scope":16695,"src":"987:15:101","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":16649,"name":"bool","nodeType":"ElementaryTypeName","src":"987:4:101","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"962:41:101"},"scope":16696,"src":"837:525:101","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":16697,"src":"503:861:101","usedErrors":[],"usedEvents":[]}],"src":"31:1334:101"},"id":101},"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol","exportedSymbols":{"PoolId":[11017],"PoolKey":[11063],"PositionInfo":[16704],"PositionInfoLibrary":[16830]},"id":16831,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":16698,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"32:24:102"},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"@uniswap/v4-core/src/types/PoolKey.sol","id":16700,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":16831,"sourceUnit":11064,"src":"58:63:102","symbolAliases":[{"foreign":{"id":16699,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"66:7:102","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolId.sol","file":"@uniswap/v4-core/src/types/PoolId.sol","id":16702,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":16831,"sourceUnit":11032,"src":"122:61:102","symbolAliases":[{"foreign":{"id":16701,"name":"PoolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11017,"src":"130:6:102","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"canonicalName":"PositionInfo","id":16704,"name":"PositionInfo","nameLocation":"924:12:102","nodeType":"UserDefinedValueTypeDefinition","src":"919:29:102","underlyingType":{"id":16703,"name":"uint256","nodeType":"ElementaryTypeName","src":"940:7:102","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"global":true,"id":16708,"libraryName":{"id":16705,"name":"PositionInfoLibrary","nameLocations":["956:19:102"],"nodeType":"IdentifierPath","referencedDeclaration":16830,"src":"956:19:102"},"nodeType":"UsingForDirective","src":"950:50:102","typeName":{"id":16707,"nodeType":"UserDefinedTypeName","pathNode":{"id":16706,"name":"PositionInfo","nameLocations":["980:12:102"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"980:12:102"},"referencedDeclaration":16704,"src":"980:12:102","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}}},{"abstract":false,"baseContracts":[],"canonicalName":"PositionInfoLibrary","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"id":16830,"linearizedBaseContracts":[16830],"name":"PositionInfoLibrary","nameLocation":"1010:19:102","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":16715,"mutability":"constant","name":"EMPTY_POSITION_INFO","nameLocation":"1067:19:102","nodeType":"VariableDeclaration","scope":16830,"src":"1036:73:102","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":16710,"nodeType":"UserDefinedTypeName","pathNode":{"id":16709,"name":"PositionInfo","nameLocations":["1036:12:102"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"1036:12:102"},"referencedDeclaration":16704,"src":"1036:12:102","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"value":{"arguments":[{"hexValue":"30","id":16713,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1107:1:102","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"id":16711,"name":"PositionInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16704,"src":"1089:12:102","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"type(PositionInfo)"}},"id":16712,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1102:4:102","memberName":"wrap","nodeType":"MemberAccess","src":"1089:17:102","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_uint256_$returns$_t_userDefinedValueType$_PositionInfo_$16704_$","typeString":"function (uint256) pure returns (PositionInfo)"}},"id":16714,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1089:20:102","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"},{"constant":true,"id":16718,"mutability":"constant","name":"MASK_UPPER_200_BITS","nameLocation":"1142:19:102","nodeType":"VariableDeclaration","scope":16830,"src":"1116:114:102","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16716,"name":"uint256","nodeType":"ElementaryTypeName","src":"1116:7:102","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"307846464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646463030303030303030303030303030","id":16717,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1164:66:102","typeDescriptions":{"typeIdentifier":"t_rational_115792089237316195423570985008687907853269984665640564039457511950319091712000_by_1","typeString":"int_const 1157...(70 digits omitted)...2000"},"value":"0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000"},"visibility":"internal"},{"constant":true,"id":16721,"mutability":"constant","name":"MASK_8_BITS","nameLocation":"1262:11:102","nodeType":"VariableDeclaration","scope":16830,"src":"1236:44:102","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16719,"name":"uint256","nodeType":"ElementaryTypeName","src":"1236:7:102","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30784646","id":16720,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1276:4:102","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"0xFF"},"visibility":"internal"},{"constant":true,"id":16724,"mutability":"constant","name":"MASK_24_BITS","nameLocation":"1311:12:102","nodeType":"VariableDeclaration","scope":16830,"src":"1286:48:102","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":16722,"name":"uint24","nodeType":"ElementaryTypeName","src":"1286:6:102","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"value":{"hexValue":"3078464646464646","id":16723,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1326:8:102","typeDescriptions":{"typeIdentifier":"t_rational_16777215_by_1","typeString":"int_const 16777215"},"value":"0xFFFFFF"},"visibility":"internal"},{"constant":true,"id":16727,"mutability":"constant","name":"SET_UNSUBSCRIBE","nameLocation":"1366:15:102","nodeType":"VariableDeclaration","scope":16830,"src":"1340:110:102","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16725,"name":"uint256","nodeType":"ElementaryTypeName","src":"1340:7:102","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"307846464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646463030","id":16726,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1384:66:102","typeDescriptions":{"typeIdentifier":"t_rational_115792089237316195423570985008687907853269984665640564039457584007913129639680_by_1","typeString":"int_const 1157...(70 digits omitted)...9680"},"value":"0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00"},"visibility":"internal"},{"constant":true,"id":16730,"mutability":"constant","name":"SET_SUBSCRIBE","nameLocation":"1482:13:102","nodeType":"VariableDeclaration","scope":16830,"src":"1456:46:102","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":16728,"name":"uint256","nodeType":"ElementaryTypeName","src":"1456:7:102","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783031","id":16729,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1498:4:102","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"0x01"},"visibility":"internal"},{"constant":true,"id":16733,"mutability":"constant","name":"TICK_LOWER_OFFSET","nameLocation":"1532:17:102","nodeType":"VariableDeclaration","scope":16830,"src":"1508:45:102","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":16731,"name":"uint8","nodeType":"ElementaryTypeName","src":"1508:5:102","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"value":{"hexValue":"38","id":16732,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1552:1:102","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"visibility":"internal"},{"constant":true,"id":16736,"mutability":"constant","name":"TICK_UPPER_OFFSET","nameLocation":"1583:17:102","nodeType":"VariableDeclaration","scope":16830,"src":"1559:46:102","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":16734,"name":"uint8","nodeType":"ElementaryTypeName","src":"1559:5:102","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"value":{"hexValue":"3332","id":16735,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1603:2:102","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"visibility":"internal"},{"body":{"id":16746,"nodeType":"Block","src":"1856:106:102","statements":[{"AST":{"nativeSrc":"1891:65:102","nodeType":"YulBlock","src":"1891:65:102","statements":[{"nativeSrc":"1905:41:102","nodeType":"YulAssignment","src":"1905:41:102","value":{"arguments":[{"name":"MASK_UPPER_200_BITS","nativeSrc":"1920:19:102","nodeType":"YulIdentifier","src":"1920:19:102"},{"name":"info","nativeSrc":"1941:4:102","nodeType":"YulIdentifier","src":"1941:4:102"}],"functionName":{"name":"and","nativeSrc":"1916:3:102","nodeType":"YulIdentifier","src":"1916:3:102"},"nativeSrc":"1916:30:102","nodeType":"YulFunctionCall","src":"1916:30:102"},"variableNames":[{"name":"_poolId","nativeSrc":"1905:7:102","nodeType":"YulIdentifier","src":"1905:7:102"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16718,"isOffset":false,"isSlot":false,"src":"1920:19:102","valueSize":1},{"declaration":16743,"isOffset":false,"isSlot":false,"src":"1905:7:102","valueSize":1},{"declaration":16740,"isOffset":false,"isSlot":false,"src":"1941:4:102","valueSize":1}],"flags":["memory-safe"],"id":16745,"nodeType":"InlineAssembly","src":"1866:90:102"}]},"documentation":{"id":16737,"nodeType":"StructuredDocumentation","src":"1612:164:102","text":"@dev This poolId is NOT compatible with the poolId used in UniswapV4 core. It is truncated to 25 bytes, and just used to lookup PoolKey in the poolKeys mapping."},"id":16747,"implemented":true,"kind":"function","modifiers":[],"name":"poolId","nameLocation":"1790:6:102","nodeType":"FunctionDefinition","parameters":{"id":16741,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16740,"mutability":"mutable","name":"info","nameLocation":"1810:4:102","nodeType":"VariableDeclaration","scope":16747,"src":"1797:17:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":16739,"nodeType":"UserDefinedTypeName","pathNode":{"id":16738,"name":"PositionInfo","nameLocations":["1797:12:102"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"1797:12:102"},"referencedDeclaration":16704,"src":"1797:12:102","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"src":"1796:19:102"},"returnParameters":{"id":16744,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16743,"mutability":"mutable","name":"_poolId","nameLocation":"1847:7:102","nodeType":"VariableDeclaration","scope":16747,"src":"1839:15:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes25","typeString":"bytes25"},"typeName":{"id":16742,"name":"bytes25","nodeType":"ElementaryTypeName","src":"1839:7:102","typeDescriptions":{"typeIdentifier":"t_bytes25","typeString":"bytes25"}},"visibility":"internal"}],"src":"1838:17:102"},"scope":16830,"src":"1781:181:102","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16756,"nodeType":"Block","src":"2047:122:102","statements":[{"AST":{"nativeSrc":"2082:81:102","nodeType":"YulBlock","src":"2082:81:102","statements":[{"nativeSrc":"2096:57:102","nodeType":"YulAssignment","src":"2096:57:102","value":{"arguments":[{"kind":"number","nativeSrc":"2121:1:102","nodeType":"YulLiteral","src":"2121:1:102","type":"","value":"2"},{"arguments":[{"name":"TICK_LOWER_OFFSET","nativeSrc":"2128:17:102","nodeType":"YulIdentifier","src":"2128:17:102"},{"name":"info","nativeSrc":"2147:4:102","nodeType":"YulIdentifier","src":"2147:4:102"}],"functionName":{"name":"shr","nativeSrc":"2124:3:102","nodeType":"YulIdentifier","src":"2124:3:102"},"nativeSrc":"2124:28:102","nodeType":"YulFunctionCall","src":"2124:28:102"}],"functionName":{"name":"signextend","nativeSrc":"2110:10:102","nodeType":"YulIdentifier","src":"2110:10:102"},"nativeSrc":"2110:43:102","nodeType":"YulFunctionCall","src":"2110:43:102"},"variableNames":[{"name":"_tickLower","nativeSrc":"2096:10:102","nodeType":"YulIdentifier","src":"2096:10:102"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16733,"isOffset":false,"isSlot":false,"src":"2128:17:102","valueSize":1},{"declaration":16753,"isOffset":false,"isSlot":false,"src":"2096:10:102","valueSize":1},{"declaration":16750,"isOffset":false,"isSlot":false,"src":"2147:4:102","valueSize":1}],"flags":["memory-safe"],"id":16755,"nodeType":"InlineAssembly","src":"2057:106:102"}]},"id":16757,"implemented":true,"kind":"function","modifiers":[],"name":"tickLower","nameLocation":"1977:9:102","nodeType":"FunctionDefinition","parameters":{"id":16751,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16750,"mutability":"mutable","name":"info","nameLocation":"2000:4:102","nodeType":"VariableDeclaration","scope":16757,"src":"1987:17:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":16749,"nodeType":"UserDefinedTypeName","pathNode":{"id":16748,"name":"PositionInfo","nameLocations":["1987:12:102"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"1987:12:102"},"referencedDeclaration":16704,"src":"1987:12:102","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"src":"1986:19:102"},"returnParameters":{"id":16754,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16753,"mutability":"mutable","name":"_tickLower","nameLocation":"2035:10:102","nodeType":"VariableDeclaration","scope":16757,"src":"2029:16:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":16752,"name":"int24","nodeType":"ElementaryTypeName","src":"2029:5:102","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2028:18:102"},"scope":16830,"src":"1968:201:102","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16766,"nodeType":"Block","src":"2254:122:102","statements":[{"AST":{"nativeSrc":"2289:81:102","nodeType":"YulBlock","src":"2289:81:102","statements":[{"nativeSrc":"2303:57:102","nodeType":"YulAssignment","src":"2303:57:102","value":{"arguments":[{"kind":"number","nativeSrc":"2328:1:102","nodeType":"YulLiteral","src":"2328:1:102","type":"","value":"2"},{"arguments":[{"name":"TICK_UPPER_OFFSET","nativeSrc":"2335:17:102","nodeType":"YulIdentifier","src":"2335:17:102"},{"name":"info","nativeSrc":"2354:4:102","nodeType":"YulIdentifier","src":"2354:4:102"}],"functionName":{"name":"shr","nativeSrc":"2331:3:102","nodeType":"YulIdentifier","src":"2331:3:102"},"nativeSrc":"2331:28:102","nodeType":"YulFunctionCall","src":"2331:28:102"}],"functionName":{"name":"signextend","nativeSrc":"2317:10:102","nodeType":"YulIdentifier","src":"2317:10:102"},"nativeSrc":"2317:43:102","nodeType":"YulFunctionCall","src":"2317:43:102"},"variableNames":[{"name":"_tickUpper","nativeSrc":"2303:10:102","nodeType":"YulIdentifier","src":"2303:10:102"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16736,"isOffset":false,"isSlot":false,"src":"2335:17:102","valueSize":1},{"declaration":16763,"isOffset":false,"isSlot":false,"src":"2303:10:102","valueSize":1},{"declaration":16760,"isOffset":false,"isSlot":false,"src":"2354:4:102","valueSize":1}],"flags":["memory-safe"],"id":16765,"nodeType":"InlineAssembly","src":"2264:106:102"}]},"id":16767,"implemented":true,"kind":"function","modifiers":[],"name":"tickUpper","nameLocation":"2184:9:102","nodeType":"FunctionDefinition","parameters":{"id":16761,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16760,"mutability":"mutable","name":"info","nameLocation":"2207:4:102","nodeType":"VariableDeclaration","scope":16767,"src":"2194:17:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":16759,"nodeType":"UserDefinedTypeName","pathNode":{"id":16758,"name":"PositionInfo","nameLocations":["2194:12:102"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"2194:12:102"},"referencedDeclaration":16704,"src":"2194:12:102","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"src":"2193:19:102"},"returnParameters":{"id":16764,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16763,"mutability":"mutable","name":"_tickUpper","nameLocation":"2242:10:102","nodeType":"VariableDeclaration","scope":16767,"src":"2236:16:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":16762,"name":"int24","nodeType":"ElementaryTypeName","src":"2236:5:102","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2235:18:102"},"scope":16830,"src":"2175:201:102","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16776,"nodeType":"Block","src":"2468:105:102","statements":[{"AST":{"nativeSrc":"2503:64:102","nodeType":"YulBlock","src":"2503:64:102","statements":[{"nativeSrc":"2517:40:102","nodeType":"YulAssignment","src":"2517:40:102","value":{"arguments":[{"name":"MASK_8_BITS","nativeSrc":"2539:11:102","nodeType":"YulIdentifier","src":"2539:11:102"},{"name":"info","nativeSrc":"2552:4:102","nodeType":"YulIdentifier","src":"2552:4:102"}],"functionName":{"name":"and","nativeSrc":"2535:3:102","nodeType":"YulIdentifier","src":"2535:3:102"},"nativeSrc":"2535:22:102","nodeType":"YulFunctionCall","src":"2535:22:102"},"variableNames":[{"name":"_hasSubscriber","nativeSrc":"2517:14:102","nodeType":"YulIdentifier","src":"2517:14:102"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16721,"isOffset":false,"isSlot":false,"src":"2539:11:102","valueSize":1},{"declaration":16773,"isOffset":false,"isSlot":false,"src":"2517:14:102","valueSize":1},{"declaration":16770,"isOffset":false,"isSlot":false,"src":"2552:4:102","valueSize":1}],"flags":["memory-safe"],"id":16775,"nodeType":"InlineAssembly","src":"2478:89:102"}]},"id":16777,"implemented":true,"kind":"function","modifiers":[],"name":"hasSubscriber","nameLocation":"2391:13:102","nodeType":"FunctionDefinition","parameters":{"id":16771,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16770,"mutability":"mutable","name":"info","nameLocation":"2418:4:102","nodeType":"VariableDeclaration","scope":16777,"src":"2405:17:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":16769,"nodeType":"UserDefinedTypeName","pathNode":{"id":16768,"name":"PositionInfo","nameLocations":["2405:12:102"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"2405:12:102"},"referencedDeclaration":16704,"src":"2405:12:102","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"src":"2404:19:102"},"returnParameters":{"id":16774,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16773,"mutability":"mutable","name":"_hasSubscriber","nameLocation":"2452:14:102","nodeType":"VariableDeclaration","scope":16777,"src":"2447:19:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":16772,"name":"bool","nodeType":"ElementaryTypeName","src":"2447:4:102","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2446:21:102"},"scope":16830,"src":"2382:191:102","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16788,"nodeType":"Block","src":"2715:97:102","statements":[{"AST":{"nativeSrc":"2750:56:102","nodeType":"YulBlock","src":"2750:56:102","statements":[{"nativeSrc":"2764:32:102","nodeType":"YulAssignment","src":"2764:32:102","value":{"arguments":[{"name":"info","nativeSrc":"2776:4:102","nodeType":"YulIdentifier","src":"2776:4:102"},{"name":"SET_SUBSCRIBE","nativeSrc":"2782:13:102","nodeType":"YulIdentifier","src":"2782:13:102"}],"functionName":{"name":"or","nativeSrc":"2773:2:102","nodeType":"YulIdentifier","src":"2773:2:102"},"nativeSrc":"2773:23:102","nodeType":"YulFunctionCall","src":"2773:23:102"},"variableNames":[{"name":"_info","nativeSrc":"2764:5:102","nodeType":"YulIdentifier","src":"2764:5:102"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16730,"isOffset":false,"isSlot":false,"src":"2782:13:102","valueSize":1},{"declaration":16785,"isOffset":false,"isSlot":false,"src":"2764:5:102","valueSize":1},{"declaration":16781,"isOffset":false,"isSlot":false,"src":"2776:4:102","valueSize":1}],"flags":["memory-safe"],"id":16787,"nodeType":"InlineAssembly","src":"2725:81:102"}]},"documentation":{"id":16778,"nodeType":"StructuredDocumentation","src":"2579:47:102","text":"@dev this does not actually set any storage"},"id":16789,"implemented":true,"kind":"function","modifiers":[],"name":"setSubscribe","nameLocation":"2640:12:102","nodeType":"FunctionDefinition","parameters":{"id":16782,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16781,"mutability":"mutable","name":"info","nameLocation":"2666:4:102","nodeType":"VariableDeclaration","scope":16789,"src":"2653:17:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":16780,"nodeType":"UserDefinedTypeName","pathNode":{"id":16779,"name":"PositionInfo","nameLocations":["2653:12:102"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"2653:12:102"},"referencedDeclaration":16704,"src":"2653:12:102","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"src":"2652:19:102"},"returnParameters":{"id":16786,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16785,"mutability":"mutable","name":"_info","nameLocation":"2708:5:102","nodeType":"VariableDeclaration","scope":16789,"src":"2695:18:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":16784,"nodeType":"UserDefinedTypeName","pathNode":{"id":16783,"name":"PositionInfo","nameLocations":["2695:12:102"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"2695:12:102"},"referencedDeclaration":16704,"src":"2695:12:102","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"src":"2694:20:102"},"scope":16830,"src":"2631:181:102","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16800,"nodeType":"Block","src":"2956:100:102","statements":[{"AST":{"nativeSrc":"2991:59:102","nodeType":"YulBlock","src":"2991:59:102","statements":[{"nativeSrc":"3005:35:102","nodeType":"YulAssignment","src":"3005:35:102","value":{"arguments":[{"name":"info","nativeSrc":"3018:4:102","nodeType":"YulIdentifier","src":"3018:4:102"},{"name":"SET_UNSUBSCRIBE","nativeSrc":"3024:15:102","nodeType":"YulIdentifier","src":"3024:15:102"}],"functionName":{"name":"and","nativeSrc":"3014:3:102","nodeType":"YulIdentifier","src":"3014:3:102"},"nativeSrc":"3014:26:102","nodeType":"YulFunctionCall","src":"3014:26:102"},"variableNames":[{"name":"_info","nativeSrc":"3005:5:102","nodeType":"YulIdentifier","src":"3005:5:102"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16727,"isOffset":false,"isSlot":false,"src":"3024:15:102","valueSize":1},{"declaration":16797,"isOffset":false,"isSlot":false,"src":"3005:5:102","valueSize":1},{"declaration":16793,"isOffset":false,"isSlot":false,"src":"3018:4:102","valueSize":1}],"flags":["memory-safe"],"id":16799,"nodeType":"InlineAssembly","src":"2966:84:102"}]},"documentation":{"id":16790,"nodeType":"StructuredDocumentation","src":"2818:47:102","text":"@dev this does not actually set any storage"},"id":16801,"implemented":true,"kind":"function","modifiers":[],"name":"setUnsubscribe","nameLocation":"2879:14:102","nodeType":"FunctionDefinition","parameters":{"id":16794,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16793,"mutability":"mutable","name":"info","nameLocation":"2907:4:102","nodeType":"VariableDeclaration","scope":16801,"src":"2894:17:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":16792,"nodeType":"UserDefinedTypeName","pathNode":{"id":16791,"name":"PositionInfo","nameLocations":["2894:12:102"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"2894:12:102"},"referencedDeclaration":16704,"src":"2894:12:102","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"src":"2893:19:102"},"returnParameters":{"id":16798,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16797,"mutability":"mutable","name":"_info","nameLocation":"2949:5:102","nodeType":"VariableDeclaration","scope":16801,"src":"2936:18:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":16796,"nodeType":"UserDefinedTypeName","pathNode":{"id":16795,"name":"PositionInfo","nameLocations":["2936:12:102"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"2936:12:102"},"referencedDeclaration":16704,"src":"2936:12:102","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"src":"2935:20:102"},"scope":16830,"src":"2870:186:102","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16828,"nodeType":"Block","src":"3593:349:102","statements":[{"assignments":[16816],"declarations":[{"constant":false,"id":16816,"mutability":"mutable","name":"_poolId","nameLocation":"3611:7:102","nodeType":"VariableDeclaration","scope":16828,"src":"3603:15:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes25","typeString":"bytes25"},"typeName":{"id":16815,"name":"bytes25","nodeType":"ElementaryTypeName","src":"3603:7:102","typeDescriptions":{"typeIdentifier":"t_bytes25","typeString":"bytes25"}},"visibility":"internal"}],"id":16826,"initialValue":{"arguments":[{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":16821,"name":"_poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16805,"src":"3643:8:102","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey memory"}},"id":16822,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3652:4:102","memberName":"toId","nodeType":"MemberAccess","referencedDeclaration":11030,"src":"3643:13:102","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_PoolKey_$11063_memory_ptr_$returns$_t_userDefinedValueType$_PoolId_$11017_$attached_to$_t_struct$_PoolKey_$11063_memory_ptr_$","typeString":"function (struct PoolKey memory) pure returns (PoolId)"}},"id":16823,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3643:15:102","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_PoolId_$11017","typeString":"PoolId"}],"expression":{"id":16819,"name":"PoolId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11017,"src":"3629:6:102","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_PoolId_$11017_$","typeString":"type(PoolId)"}},"id":16820,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3636:6:102","memberName":"unwrap","nodeType":"MemberAccess","src":"3629:13:102","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_PoolId_$11017_$returns$_t_bytes32_$","typeString":"function (PoolId) pure returns (bytes32)"}},"id":16824,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3629:30:102","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":16818,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3621:7:102","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes25_$","typeString":"type(bytes25)"},"typeName":{"id":16817,"name":"bytes25","nodeType":"ElementaryTypeName","src":"3621:7:102","typeDescriptions":{}}},"id":16825,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3621:39:102","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes25","typeString":"bytes25"}},"nodeType":"VariableDeclarationStatement","src":"3603:57:102"},{"AST":{"nativeSrc":"3679:257:102","nodeType":"YulBlock","src":"3679:257:102","statements":[{"nativeSrc":"3693:233:102","nodeType":"YulAssignment","src":"3693:233:102","value":{"arguments":[{"arguments":[{"arguments":[{"name":"MASK_UPPER_200_BITS","nativeSrc":"3748:19:102","nodeType":"YulIdentifier","src":"3748:19:102"},{"name":"_poolId","nativeSrc":"3769:7:102","nodeType":"YulIdentifier","src":"3769:7:102"}],"functionName":{"name":"and","nativeSrc":"3744:3:102","nodeType":"YulIdentifier","src":"3744:3:102"},"nativeSrc":"3744:33:102","nodeType":"YulFunctionCall","src":"3744:33:102"},{"arguments":[{"name":"TICK_UPPER_OFFSET","nativeSrc":"3783:17:102","nodeType":"YulIdentifier","src":"3783:17:102"},{"arguments":[{"name":"MASK_24_BITS","nativeSrc":"3806:12:102","nodeType":"YulIdentifier","src":"3806:12:102"},{"name":"_tickUpper","nativeSrc":"3820:10:102","nodeType":"YulIdentifier","src":"3820:10:102"}],"functionName":{"name":"and","nativeSrc":"3802:3:102","nodeType":"YulIdentifier","src":"3802:3:102"},"nativeSrc":"3802:29:102","nodeType":"YulFunctionCall","src":"3802:29:102"}],"functionName":{"name":"shl","nativeSrc":"3779:3:102","nodeType":"YulIdentifier","src":"3779:3:102"},"nativeSrc":"3779:53:102","nodeType":"YulFunctionCall","src":"3779:53:102"}],"functionName":{"name":"or","nativeSrc":"3741:2:102","nodeType":"YulIdentifier","src":"3741:2:102"},"nativeSrc":"3741:92:102","nodeType":"YulFunctionCall","src":"3741:92:102"},{"arguments":[{"name":"TICK_LOWER_OFFSET","nativeSrc":"3859:17:102","nodeType":"YulIdentifier","src":"3859:17:102"},{"arguments":[{"name":"MASK_24_BITS","nativeSrc":"3882:12:102","nodeType":"YulIdentifier","src":"3882:12:102"},{"name":"_tickLower","nativeSrc":"3896:10:102","nodeType":"YulIdentifier","src":"3896:10:102"}],"functionName":{"name":"and","nativeSrc":"3878:3:102","nodeType":"YulIdentifier","src":"3878:3:102"},"nativeSrc":"3878:29:102","nodeType":"YulFunctionCall","src":"3878:29:102"}],"functionName":{"name":"shl","nativeSrc":"3855:3:102","nodeType":"YulIdentifier","src":"3855:3:102"},"nativeSrc":"3855:53:102","nodeType":"YulFunctionCall","src":"3855:53:102"}],"functionName":{"name":"or","nativeSrc":"3717:2:102","nodeType":"YulIdentifier","src":"3717:2:102"},"nativeSrc":"3717:209:102","nodeType":"YulFunctionCall","src":"3717:209:102"},"variableNames":[{"name":"info","nativeSrc":"3693:4:102","nodeType":"YulIdentifier","src":"3693:4:102"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":16724,"isOffset":false,"isSlot":false,"src":"3806:12:102","valueSize":1},{"declaration":16724,"isOffset":false,"isSlot":false,"src":"3882:12:102","valueSize":1},{"declaration":16718,"isOffset":false,"isSlot":false,"src":"3748:19:102","valueSize":1},{"declaration":16733,"isOffset":false,"isSlot":false,"src":"3859:17:102","valueSize":1},{"declaration":16736,"isOffset":false,"isSlot":false,"src":"3783:17:102","valueSize":1},{"declaration":16816,"isOffset":false,"isSlot":false,"src":"3769:7:102","valueSize":1},{"declaration":16807,"isOffset":false,"isSlot":false,"src":"3896:10:102","valueSize":1},{"declaration":16809,"isOffset":false,"isSlot":false,"src":"3820:10:102","valueSize":1},{"declaration":16813,"isOffset":false,"isSlot":false,"src":"3693:4:102","valueSize":1}],"id":16827,"nodeType":"InlineAssembly","src":"3670:266:102"}]},"documentation":{"id":16802,"nodeType":"StructuredDocumentation","src":"3062:375:102","text":"@notice Creates the default PositionInfo struct\n @dev Called when minting a new position\n @param _poolKey the pool key of the position\n @param _tickLower the lower tick of the position\n @param _tickUpper the upper tick of the position\n @return info packed position info, with the truncated poolId and the hasSubscriber flag set to false"},"id":16829,"implemented":true,"kind":"function","modifiers":[],"name":"initialize","nameLocation":"3451:10:102","nodeType":"FunctionDefinition","parameters":{"id":16810,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16805,"mutability":"mutable","name":"_poolKey","nameLocation":"3477:8:102","nodeType":"VariableDeclaration","scope":16829,"src":"3462:23:102","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_memory_ptr","typeString":"struct PoolKey"},"typeName":{"id":16804,"nodeType":"UserDefinedTypeName","pathNode":{"id":16803,"name":"PoolKey","nameLocations":["3462:7:102"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"3462:7:102"},"referencedDeclaration":11063,"src":"3462:7:102","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"},{"constant":false,"id":16807,"mutability":"mutable","name":"_tickLower","nameLocation":"3493:10:102","nodeType":"VariableDeclaration","scope":16829,"src":"3487:16:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":16806,"name":"int24","nodeType":"ElementaryTypeName","src":"3487:5:102","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":16809,"mutability":"mutable","name":"_tickUpper","nameLocation":"3511:10:102","nodeType":"VariableDeclaration","scope":16829,"src":"3505:16:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":16808,"name":"int24","nodeType":"ElementaryTypeName","src":"3505:5:102","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"3461:61:102"},"returnParameters":{"id":16814,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16813,"mutability":"mutable","name":"info","nameLocation":"3583:4:102","nodeType":"VariableDeclaration","scope":16829,"src":"3570:17:102","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"},"typeName":{"id":16812,"nodeType":"UserDefinedTypeName","pathNode":{"id":16811,"name":"PositionInfo","nameLocations":["3570:12:102"],"nodeType":"IdentifierPath","referencedDeclaration":16704,"src":"3570:12:102"},"referencedDeclaration":16704,"src":"3570:12:102","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_PositionInfo_$16704","typeString":"PositionInfo"}},"visibility":"internal"}],"src":"3569:19:102"},"scope":16830,"src":"3442:500:102","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":16831,"src":"1002:2942:102","usedErrors":[],"usedEvents":[]}],"src":"32:3913:102"},"id":102},"@uniswap/v4-periphery/src/libraries/SlippageCheck.sol":{"ast":{"absolutePath":"@uniswap/v4-periphery/src/libraries/SlippageCheck.sol","exportedSymbols":{"BalanceDelta":[10503],"SafeCast":[8145],"SlippageCheck":[16981]},"id":16982,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":16832,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:103"},{"absolutePath":"@uniswap/v4-core/src/types/BalanceDelta.sol","file":"@uniswap/v4-core/src/types/BalanceDelta.sol","id":16834,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":16982,"sourceUnit":10662,"src":"57:73:103","symbolAliases":[{"foreign":{"id":16833,"name":"BalanceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10503,"src":"65:12:103","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/libraries/SafeCast.sol","file":"@uniswap/v4-core/src/libraries/SafeCast.sol","id":16836,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":16982,"sourceUnit":8146,"src":"131:69:103","symbolAliases":[{"foreign":{"id":16835,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8145,"src":"139:8:103","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"SlippageCheck","contractDependencies":[],"contractKind":"library","documentation":{"id":16837,"nodeType":"StructuredDocumentation","src":"202:139:103","text":"@title Slippage Check Library\n @notice a library for checking if a delta exceeds a maximum ceiling or fails to meet a minimum floor"},"fullyImplemented":true,"id":16981,"linearizedBaseContracts":[16981],"name":"SlippageCheck","nameLocation":"349:13:103","nodeType":"ContractDefinition","nodes":[{"global":false,"id":16840,"libraryName":{"id":16838,"name":"SafeCast","nameLocations":["375:8:103"],"nodeType":"IdentifierPath","referencedDeclaration":8145,"src":"375:8:103"},"nodeType":"UsingForDirective","src":"369:26:103","typeName":{"id":16839,"name":"int128","nodeType":"ElementaryTypeName","src":"388:6:103","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}},{"errorSelector":"31e30ad0","id":16846,"name":"MaximumAmountExceeded","nameLocation":"407:21:103","nodeType":"ErrorDefinition","parameters":{"id":16845,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16842,"mutability":"mutable","name":"maximumAmount","nameLocation":"437:13:103","nodeType":"VariableDeclaration","scope":16846,"src":"429:21:103","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16841,"name":"uint128","nodeType":"ElementaryTypeName","src":"429:7:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16844,"mutability":"mutable","name":"amountRequested","nameLocation":"460:15:103","nodeType":"VariableDeclaration","scope":16846,"src":"452:23:103","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16843,"name":"uint128","nodeType":"ElementaryTypeName","src":"452:7:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"428:48:103"},"src":"401:76:103"},{"errorSelector":"12816f22","id":16852,"name":"MinimumAmountInsufficient","nameLocation":"488:25:103","nodeType":"ErrorDefinition","parameters":{"id":16851,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16848,"mutability":"mutable","name":"minimumAmount","nameLocation":"522:13:103","nodeType":"VariableDeclaration","scope":16852,"src":"514:21:103","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16847,"name":"uint128","nodeType":"ElementaryTypeName","src":"514:7:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16850,"mutability":"mutable","name":"amountReceived","nameLocation":"545:14:103","nodeType":"VariableDeclaration","scope":16852,"src":"537:22:103","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16849,"name":"uint128","nodeType":"ElementaryTypeName","src":"537:7:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"513:47:103"},"src":"482:79:103"},{"body":{"id":16899,"nodeType":"Block","src":"1052:748:103","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":16869,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":16863,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16856,"src":"1501:5:103","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":16864,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1507:7:103","memberName":"amount0","nodeType":"MemberAccess","referencedDeclaration":10650,"src":"1501:13:103","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta) pure returns (int128)"}},"id":16865,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1501:15:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":16866,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1517:9:103","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8060,"src":"1501:25:103","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$returns$_t_uint128_$attached_to$_t_int128_$","typeString":"function (int128) pure returns (uint128)"}},"id":16867,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1501:27:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":16868,"name":"amount0Min","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16858,"src":"1531:10:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"1501:40:103","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":16880,"nodeType":"IfStatement","src":"1497:144:103","trueBody":{"id":16879,"nodeType":"Block","src":"1543:98:103","statements":[{"errorCall":{"arguments":[{"id":16871,"name":"amount0Min","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16858,"src":"1590:10:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":16872,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16856,"src":"1602:5:103","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":16873,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1608:7:103","memberName":"amount0","nodeType":"MemberAccess","referencedDeclaration":10650,"src":"1602:13:103","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta) pure returns (int128)"}},"id":16874,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1602:15:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":16875,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1618:9:103","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8060,"src":"1602:25:103","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$returns$_t_uint128_$attached_to$_t_int128_$","typeString":"function (int128) pure returns (uint128)"}},"id":16876,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1602:27:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":16870,"name":"MinimumAmountInsufficient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16852,"src":"1564:25:103","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint128_$_t_uint128_$returns$_t_error_$","typeString":"function (uint128,uint128) pure returns (error)"}},"id":16877,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1564:66:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":16878,"nodeType":"RevertStatement","src":"1557:73:103"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":16887,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":16881,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16856,"src":"1654:5:103","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":16882,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1660:7:103","memberName":"amount1","nodeType":"MemberAccess","referencedDeclaration":10660,"src":"1654:13:103","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta) pure returns (int128)"}},"id":16883,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1654:15:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":16884,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1670:9:103","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8060,"src":"1654:25:103","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$returns$_t_uint128_$attached_to$_t_int128_$","typeString":"function (int128) pure returns (uint128)"}},"id":16885,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1654:27:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":16886,"name":"amount1Min","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16860,"src":"1684:10:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"1654:40:103","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":16898,"nodeType":"IfStatement","src":"1650:144:103","trueBody":{"id":16897,"nodeType":"Block","src":"1696:98:103","statements":[{"errorCall":{"arguments":[{"id":16889,"name":"amount1Min","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16860,"src":"1743:10:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":16890,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16856,"src":"1755:5:103","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":16891,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1761:7:103","memberName":"amount1","nodeType":"MemberAccess","referencedDeclaration":10660,"src":"1755:13:103","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta) pure returns (int128)"}},"id":16892,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1755:15:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":16893,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1771:9:103","memberName":"toUint128","nodeType":"MemberAccess","referencedDeclaration":8060,"src":"1755:25:103","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int128_$returns$_t_uint128_$attached_to$_t_int128_$","typeString":"function (int128) pure returns (uint128)"}},"id":16894,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1755:27:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":16888,"name":"MinimumAmountInsufficient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16852,"src":"1717:25:103","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint128_$_t_uint128_$returns$_t_error_$","typeString":"function (uint128,uint128) pure returns (error)"}},"id":16895,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1717:66:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":16896,"nodeType":"RevertStatement","src":"1710:73:103"}]}}]},"documentation":{"id":16853,"nodeType":"StructuredDocumentation","src":"567:382:103","text":"@notice Revert if one or both deltas does not meet a minimum output\n @param delta The principal amount of tokens to be removed, does not include any fees accrued\n @param amount0Min The minimum amount of token0 to receive\n @param amount1Min The minimum amount of token1 to receive\n @dev This should be called when removing liquidity (burn or decrease)"},"id":16900,"implemented":true,"kind":"function","modifiers":[],"name":"validateMinOut","nameLocation":"963:14:103","nodeType":"FunctionDefinition","parameters":{"id":16861,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16856,"mutability":"mutable","name":"delta","nameLocation":"991:5:103","nodeType":"VariableDeclaration","scope":16900,"src":"978:18:103","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":16855,"nodeType":"UserDefinedTypeName","pathNode":{"id":16854,"name":"BalanceDelta","nameLocations":["978:12:103"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"978:12:103"},"referencedDeclaration":10503,"src":"978:12:103","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":16858,"mutability":"mutable","name":"amount0Min","nameLocation":"1006:10:103","nodeType":"VariableDeclaration","scope":16900,"src":"998:18:103","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16857,"name":"uint128","nodeType":"ElementaryTypeName","src":"998:7:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16860,"mutability":"mutable","name":"amount1Min","nameLocation":"1026:10:103","nodeType":"VariableDeclaration","scope":16900,"src":"1018:18:103","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16859,"name":"uint128","nodeType":"ElementaryTypeName","src":"1018:7:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"977:60:103"},"returnParameters":{"id":16862,"nodeType":"ParameterList","parameters":[],"src":"1052:0:103"},"scope":16981,"src":"954:846:103","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":16979,"nodeType":"Block","src":"2307:1110:103","statements":[{"assignments":[16912],"declarations":[{"constant":false,"id":16912,"mutability":"mutable","name":"amount0","nameLocation":"3019:7:103","nodeType":"VariableDeclaration","scope":16979,"src":"3012:14:103","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":16911,"name":"int256","nodeType":"ElementaryTypeName","src":"3012:6:103","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":16916,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":16913,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16904,"src":"3029:5:103","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":16914,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3035:7:103","memberName":"amount0","nodeType":"MemberAccess","referencedDeclaration":10650,"src":"3029:13:103","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta) pure returns (int128)"}},"id":16915,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3029:15:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"VariableDeclarationStatement","src":"3012:32:103"},{"assignments":[16918],"declarations":[{"constant":false,"id":16918,"mutability":"mutable","name":"amount1","nameLocation":"3061:7:103","nodeType":"VariableDeclaration","scope":16979,"src":"3054:14:103","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":16917,"name":"int256","nodeType":"ElementaryTypeName","src":"3054:6:103","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":16922,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":16919,"name":"delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16904,"src":"3071:5:103","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"id":16920,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3077:7:103","memberName":"amount1","nodeType":"MemberAccess","referencedDeclaration":10660,"src":"3071:13:103","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_BalanceDelta_$10503_$returns$_t_int128_$attached_to$_t_userDefinedValueType$_BalanceDelta_$10503_$","typeString":"function (BalanceDelta) pure returns (int128)"}},"id":16921,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3071:15:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"VariableDeclarationStatement","src":"3054:32:103"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":16936,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":16925,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16923,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16912,"src":"3100:7:103","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":16924,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3110:1:103","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3100:11:103","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":16935,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16926,"name":"amount0Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16906,"src":"3115:10:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"arguments":[{"arguments":[{"id":16932,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"3144:8:103","subExpression":{"id":16931,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16912,"src":"3145:7:103","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":16930,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3136:7:103","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":16929,"name":"uint256","nodeType":"ElementaryTypeName","src":"3136:7:103","typeDescriptions":{}}},"id":16933,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3136:17:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":16928,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3128:7:103","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":16927,"name":"uint128","nodeType":"ElementaryTypeName","src":"3128:7:103","typeDescriptions":{}}},"id":16934,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3128:26:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"3115:39:103","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3100:54:103","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":16950,"nodeType":"IfStatement","src":"3096:153:103","trueBody":{"id":16949,"nodeType":"Block","src":"3156:93:103","statements":[{"errorCall":{"arguments":[{"id":16938,"name":"amount0Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16906,"src":"3199:10:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"arguments":[{"arguments":[{"id":16944,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"3227:8:103","subExpression":{"id":16943,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16912,"src":"3228:7:103","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":16942,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3219:7:103","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":16941,"name":"uint256","nodeType":"ElementaryTypeName","src":"3219:7:103","typeDescriptions":{}}},"id":16945,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3219:17:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":16940,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3211:7:103","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":16939,"name":"uint128","nodeType":"ElementaryTypeName","src":"3211:7:103","typeDescriptions":{}}},"id":16946,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3211:26:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":16937,"name":"MaximumAmountExceeded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16846,"src":"3177:21:103","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint128_$_t_uint128_$returns$_t_error_$","typeString":"function (uint128,uint128) pure returns (error)"}},"id":16947,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3177:61:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":16948,"nodeType":"RevertStatement","src":"3170:68:103"}]}},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":16964,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":16953,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16951,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16918,"src":"3262:7:103","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":16952,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3272:1:103","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3262:11:103","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":16963,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":16954,"name":"amount1Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16908,"src":"3277:10:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"arguments":[{"arguments":[{"id":16960,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"3306:8:103","subExpression":{"id":16959,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16918,"src":"3307:7:103","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":16958,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3298:7:103","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":16957,"name":"uint256","nodeType":"ElementaryTypeName","src":"3298:7:103","typeDescriptions":{}}},"id":16961,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3298:17:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":16956,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3290:7:103","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":16955,"name":"uint128","nodeType":"ElementaryTypeName","src":"3290:7:103","typeDescriptions":{}}},"id":16962,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3290:26:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"3277:39:103","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3262:54:103","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":16978,"nodeType":"IfStatement","src":"3258:153:103","trueBody":{"id":16977,"nodeType":"Block","src":"3318:93:103","statements":[{"errorCall":{"arguments":[{"id":16966,"name":"amount1Max","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16908,"src":"3361:10:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"arguments":[{"arguments":[{"id":16972,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"3389:8:103","subExpression":{"id":16971,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16918,"src":"3390:7:103","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":16970,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3381:7:103","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":16969,"name":"uint256","nodeType":"ElementaryTypeName","src":"3381:7:103","typeDescriptions":{}}},"id":16973,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3381:17:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":16968,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3373:7:103","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":16967,"name":"uint128","nodeType":"ElementaryTypeName","src":"3373:7:103","typeDescriptions":{}}},"id":16974,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3373:26:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":16965,"name":"MaximumAmountExceeded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16846,"src":"3339:21:103","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint128_$_t_uint128_$returns$_t_error_$","typeString":"function (uint128,uint128) pure returns (error)"}},"id":16975,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3339:61:103","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":16976,"nodeType":"RevertStatement","src":"3332:68:103"}]}}]},"documentation":{"id":16901,"nodeType":"StructuredDocumentation","src":"1806:399:103","text":"@notice Revert if one or both deltas exceeds a maximum input\n @param delta The principal amount of tokens to be added, does not include any fees accrued (which is possible on increase)\n @param amount0Max The maximum amount of token0 to spend\n @param amount1Max The maximum amount of token1 to spend\n @dev This should be called when adding liquidity (mint or increase)"},"id":16980,"implemented":true,"kind":"function","modifiers":[],"name":"validateMaxIn","nameLocation":"2219:13:103","nodeType":"FunctionDefinition","parameters":{"id":16909,"nodeType":"ParameterList","parameters":[{"constant":false,"id":16904,"mutability":"mutable","name":"delta","nameLocation":"2246:5:103","nodeType":"VariableDeclaration","scope":16980,"src":"2233:18:103","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"},"typeName":{"id":16903,"nodeType":"UserDefinedTypeName","pathNode":{"id":16902,"name":"BalanceDelta","nameLocations":["2233:12:103"],"nodeType":"IdentifierPath","referencedDeclaration":10503,"src":"2233:12:103"},"referencedDeclaration":10503,"src":"2233:12:103","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_BalanceDelta_$10503","typeString":"BalanceDelta"}},"visibility":"internal"},{"constant":false,"id":16906,"mutability":"mutable","name":"amount0Max","nameLocation":"2261:10:103","nodeType":"VariableDeclaration","scope":16980,"src":"2253:18:103","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16905,"name":"uint128","nodeType":"ElementaryTypeName","src":"2253:7:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":16908,"mutability":"mutable","name":"amount1Max","nameLocation":"2281:10:103","nodeType":"VariableDeclaration","scope":16980,"src":"2273:18:103","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":16907,"name":"uint128","nodeType":"ElementaryTypeName","src":"2273:7:103","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"2232:60:103"},"returnParameters":{"id":16910,"nodeType":"ParameterList","parameters":[],"src":"2307:0:103"},"scope":16981,"src":"2210:1207:103","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":16982,"src":"341:3078:103","usedErrors":[16846,16852],"usedEvents":[]}],"src":"32:3388:103"},"id":103},"contracts/UniversalRouter.sol":{"ast":{"absolutePath":"contracts/UniversalRouter.sol","exportedSymbols":{"Commands":[18189],"Dispatcher":[18015],"IUniversalRouter":[18119],"MigratorImmutables":[18331],"MigratorParameters":[18300],"PaymentsImmutables":[18711],"PaymentsParameters":[18681],"RouterParameters":[20791],"UniswapImmutables":[19114],"UniswapParameters":[19074],"UniversalRouter":[17197],"V4SwapRouter":[20611]},"id":17198,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":16983,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:104"},{"absolutePath":"contracts/base/Dispatcher.sol","file":"./base/Dispatcher.sol","id":16985,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":17198,"sourceUnit":18016,"src":"98:49:104","symbolAliases":[{"foreign":{"id":16984,"name":"Dispatcher","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18015,"src":"106:10:104","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/types/RouterParameters.sol","file":"./types/RouterParameters.sol","id":16987,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":17198,"sourceUnit":20792,"src":"148:62:104","symbolAliases":[{"foreign":{"id":16986,"name":"RouterParameters","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20791,"src":"156:16:104","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/PaymentsImmutables.sol","file":"./modules/PaymentsImmutables.sol","id":16990,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":17198,"sourceUnit":18712,"src":"211:88:104","symbolAliases":[{"foreign":{"id":16988,"name":"PaymentsImmutables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18711,"src":"219:18:104","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":16989,"name":"PaymentsParameters","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18681,"src":"239:18:104","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/uniswap/UniswapImmutables.sol","file":"./modules/uniswap/UniswapImmutables.sol","id":16993,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":17198,"sourceUnit":19115,"src":"300:93:104","symbolAliases":[{"foreign":{"id":16991,"name":"UniswapImmutables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19114,"src":"308:17:104","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":16992,"name":"UniswapParameters","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19074,"src":"327:17:104","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/uniswap/v4/V4SwapRouter.sol","file":"./modules/uniswap/v4/V4SwapRouter.sol","id":16995,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":17198,"sourceUnit":20612,"src":"394:67:104","symbolAliases":[{"foreign":{"id":16994,"name":"V4SwapRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20611,"src":"402:12:104","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/libraries/Commands.sol","file":"./libraries/Commands.sol","id":16997,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":17198,"sourceUnit":18190,"src":"462:50:104","symbolAliases":[{"foreign":{"id":16996,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"470:8:104","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/interfaces/IUniversalRouter.sol","file":"./interfaces/IUniversalRouter.sol","id":16999,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":17198,"sourceUnit":18120,"src":"513:67:104","symbolAliases":[{"foreign":{"id":16998,"name":"IUniversalRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18119,"src":"521:16:104","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/MigratorImmutables.sol","file":"./modules/MigratorImmutables.sol","id":17002,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":17198,"sourceUnit":18332,"src":"581:88:104","symbolAliases":[{"foreign":{"id":17000,"name":"MigratorImmutables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18331,"src":"589:18:104","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":17001,"name":"MigratorParameters","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18300,"src":"609:18:104","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":17003,"name":"IUniversalRouter","nameLocations":["699:16:104"],"nodeType":"IdentifierPath","referencedDeclaration":18119,"src":"699:16:104"},"id":17004,"nodeType":"InheritanceSpecifier","src":"699:16:104"},{"baseName":{"id":17005,"name":"Dispatcher","nameLocations":["717:10:104"],"nodeType":"IdentifierPath","referencedDeclaration":18015,"src":"717:10:104"},"id":17006,"nodeType":"InheritanceSpecifier","src":"717:10:104"}],"canonicalName":"UniversalRouter","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":17197,"linearizedBaseContracts":[17197,18015,18074,19063,18331,20611,20557,544,19844,18829,18670,18711,13585,14078,13773,15268,4006,14511,15872,15406,19114,18119],"name":"UniversalRouter","nameLocation":"680:15:104","nodeType":"ContractDefinition","nodes":[{"body":{"id":17044,"nodeType":"Block","src":"1157:2:104","statements":[]},"id":17045,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"arguments":[{"expression":{"id":17013,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17009,"src":"835:6:104","typeDescriptions":{"typeIdentifier":"t_struct$_RouterParameters_$20791_memory_ptr","typeString":"struct RouterParameters memory"}},"id":17014,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"842:9:104","memberName":"v2Factory","nodeType":"MemberAccess","referencedDeclaration":20778,"src":"835:16:104","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":17015,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17009,"src":"853:6:104","typeDescriptions":{"typeIdentifier":"t_struct$_RouterParameters_$20791_memory_ptr","typeString":"struct RouterParameters memory"}},"id":17016,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"860:9:104","memberName":"v3Factory","nodeType":"MemberAccess","referencedDeclaration":20780,"src":"853:16:104","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":17017,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17009,"src":"871:6:104","typeDescriptions":{"typeIdentifier":"t_struct$_RouterParameters_$20791_memory_ptr","typeString":"struct RouterParameters memory"}},"id":17018,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"878:16:104","memberName":"pairInitCodeHash","nodeType":"MemberAccess","referencedDeclaration":20782,"src":"871:23:104","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":17019,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17009,"src":"896:6:104","typeDescriptions":{"typeIdentifier":"t_struct$_RouterParameters_$20791_memory_ptr","typeString":"struct RouterParameters memory"}},"id":17020,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"903:16:104","memberName":"poolInitCodeHash","nodeType":"MemberAccess","referencedDeclaration":20784,"src":"896:23:104","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":17012,"name":"UniswapParameters","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19074,"src":"817:17:104","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_UniswapParameters_$19074_storage_ptr_$","typeString":"type(struct UniswapParameters storage pointer)"}},"id":17021,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"817:103:104","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_UniswapParameters_$19074_memory_ptr","typeString":"struct UniswapParameters memory"}}],"id":17022,"kind":"baseConstructorSpecifier","modifierName":{"id":17011,"name":"UniswapImmutables","nameLocations":["786:17:104"],"nodeType":"IdentifierPath","referencedDeclaration":19114,"src":"786:17:104"},"nodeType":"ModifierInvocation","src":"786:144:104"},{"arguments":[{"expression":{"id":17024,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17009,"src":"952:6:104","typeDescriptions":{"typeIdentifier":"t_struct$_RouterParameters_$20791_memory_ptr","typeString":"struct RouterParameters memory"}},"id":17025,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"959:13:104","memberName":"v4PoolManager","nodeType":"MemberAccess","referencedDeclaration":20786,"src":"952:20:104","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":17026,"kind":"baseConstructorSpecifier","modifierName":{"id":17023,"name":"V4SwapRouter","nameLocations":["939:12:104"],"nodeType":"IdentifierPath","referencedDeclaration":20611,"src":"939:12:104"},"nodeType":"ModifierInvocation","src":"939:34:104"},{"arguments":[{"arguments":[{"expression":{"id":17029,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17009,"src":"1020:6:104","typeDescriptions":{"typeIdentifier":"t_struct$_RouterParameters_$20791_memory_ptr","typeString":"struct RouterParameters memory"}},"id":17030,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1027:7:104","memberName":"permit2","nodeType":"MemberAccess","referencedDeclaration":20774,"src":"1020:14:104","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":17031,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17009,"src":"1036:6:104","typeDescriptions":{"typeIdentifier":"t_struct$_RouterParameters_$20791_memory_ptr","typeString":"struct RouterParameters memory"}},"id":17032,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1043:5:104","memberName":"weth9","nodeType":"MemberAccess","referencedDeclaration":20776,"src":"1036:12:104","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":17028,"name":"PaymentsParameters","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18681,"src":"1001:18:104","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_PaymentsParameters_$18681_storage_ptr_$","typeString":"type(struct PaymentsParameters storage pointer)"}},"id":17033,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1001:48:104","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_PaymentsParameters_$18681_memory_ptr","typeString":"struct PaymentsParameters memory"}}],"id":17034,"kind":"baseConstructorSpecifier","modifierName":{"id":17027,"name":"PaymentsImmutables","nameLocations":["982:18:104"],"nodeType":"IdentifierPath","referencedDeclaration":18711,"src":"982:18:104"},"nodeType":"ModifierInvocation","src":"982:68:104"},{"arguments":[{"arguments":[{"expression":{"id":17037,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17009,"src":"1097:6:104","typeDescriptions":{"typeIdentifier":"t_struct$_RouterParameters_$20791_memory_ptr","typeString":"struct RouterParameters memory"}},"id":17038,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1104:20:104","memberName":"v3NFTPositionManager","nodeType":"MemberAccess","referencedDeclaration":20788,"src":"1097:27:104","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":17039,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17009,"src":"1126:6:104","typeDescriptions":{"typeIdentifier":"t_struct$_RouterParameters_$20791_memory_ptr","typeString":"struct RouterParameters memory"}},"id":17040,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1133:17:104","memberName":"v4PositionManager","nodeType":"MemberAccess","referencedDeclaration":20790,"src":"1126:24:104","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":17036,"name":"MigratorParameters","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18300,"src":"1078:18:104","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_MigratorParameters_$18300_storage_ptr_$","typeString":"type(struct MigratorParameters storage pointer)"}},"id":17041,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1078:73:104","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_MigratorParameters_$18300_memory_ptr","typeString":"struct MigratorParameters memory"}}],"id":17042,"kind":"baseConstructorSpecifier","modifierName":{"id":17035,"name":"MigratorImmutables","nameLocations":["1059:18:104"],"nodeType":"IdentifierPath","referencedDeclaration":18331,"src":"1059:18:104"},"nodeType":"ModifierInvocation","src":"1059:93:104"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":17010,"nodeType":"ParameterList","parameters":[{"constant":false,"id":17009,"mutability":"mutable","name":"params","nameLocation":"770:6:104","nodeType":"VariableDeclaration","scope":17045,"src":"746:30:104","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_RouterParameters_$20791_memory_ptr","typeString":"struct RouterParameters"},"typeName":{"id":17008,"nodeType":"UserDefinedTypeName","pathNode":{"id":17007,"name":"RouterParameters","nameLocations":["746:16:104"],"nodeType":"IdentifierPath","referencedDeclaration":20791,"src":"746:16:104"},"referencedDeclaration":20791,"src":"746:16:104","typeDescriptions":{"typeIdentifier":"t_struct$_RouterParameters_$20791_storage_ptr","typeString":"struct RouterParameters"}},"visibility":"internal"}],"src":"745:32:104"},"returnParameters":{"id":17043,"nodeType":"ParameterList","parameters":[],"src":"1157:0:104"},"scope":17197,"src":"734:425:104","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":17058,"nodeType":"Block","src":"1206:94:104","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17052,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":17049,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"1220:5:104","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":17050,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1226:9:104","memberName":"timestamp","nodeType":"MemberAccess","src":"1220:15:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":17051,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17047,"src":"1238:8:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1220:26:104","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":17056,"nodeType":"IfStatement","src":"1216:66:104","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":17053,"name":"TransactionDeadlinePassed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18102,"src":"1255:25:104","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":17054,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1255:27:104","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":17055,"nodeType":"RevertStatement","src":"1248:34:104"}},{"id":17057,"nodeType":"PlaceholderStatement","src":"1292:1:104"}]},"id":17059,"name":"checkDeadline","nameLocation":"1174:13:104","nodeType":"ModifierDefinition","parameters":{"id":17048,"nodeType":"ParameterList","parameters":[{"constant":false,"id":17047,"mutability":"mutable","name":"deadline","nameLocation":"1196:8:104","nodeType":"VariableDeclaration","scope":17059,"src":"1188:16:104","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17046,"name":"uint256","nodeType":"ElementaryTypeName","src":"1188:7:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1187:18:104"},"src":"1165:135:104","virtual":false,"visibility":"internal"},{"body":{"id":17082,"nodeType":"Block","src":"1374:114:104","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":17077,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":17069,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":17063,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1388:3:104","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":17064,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1392:6:104","memberName":"sender","nodeType":"MemberAccess","src":"1388:10:104","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":17067,"name":"WETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18685,"src":"1410:5:104","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}],"id":17066,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1402:7:104","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17065,"name":"address","nodeType":"ElementaryTypeName","src":"1402:7:104","typeDescriptions":{}}},"id":17068,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1402:14:104","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1388:28:104","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":17076,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":17070,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1420:3:104","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":17071,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1424:6:104","memberName":"sender","nodeType":"MemberAccess","src":"1420:10:104","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":17074,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"1442:11:104","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}],"id":17073,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1434:7:104","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17072,"name":"address","nodeType":"ElementaryTypeName","src":"1434:7:104","typeDescriptions":{}}},"id":17075,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1434:20:104","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1420:34:104","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1388:66:104","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":17081,"nodeType":"IfStatement","src":"1384:97:104","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":17078,"name":"InvalidEthSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18107,"src":"1463:16:104","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":17079,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1463:18:104","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":17080,"nodeType":"RevertStatement","src":"1456:25:104"}}]},"documentation":{"id":17060,"nodeType":"StructuredDocumentation","src":"1306:36:104","text":"@notice To receive ETH from WETH"},"id":17083,"implemented":true,"kind":"receive","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":17061,"nodeType":"ParameterList","parameters":[],"src":"1354:2:104"},"returnParameters":{"id":17062,"nodeType":"ParameterList","parameters":[],"src":"1374:0:104"},"scope":17197,"src":"1347:141:104","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[18118],"body":{"id":17102,"nodeType":"Block","src":"1685:42:104","statements":[{"expression":{"arguments":[{"id":17098,"name":"commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17086,"src":"1703:8:104","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":17099,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17089,"src":"1713:6:104","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}],"id":17097,"name":"execute","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17181,"src":"1695:7:104","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$returns$__$","typeString":"function (bytes calldata,bytes calldata[] calldata)"}},"id":17100,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1695:25:104","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17101,"nodeType":"ExpressionStatement","src":"1695:25:104"}]},"documentation":{"id":17084,"nodeType":"StructuredDocumentation","src":"1494:32:104","text":"@inheritdoc IUniversalRouter"},"functionSelector":"3593564c","id":17103,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":17094,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17091,"src":"1671:8:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":17095,"kind":"modifierInvocation","modifierName":{"id":17093,"name":"checkDeadline","nameLocations":["1657:13:104"],"nodeType":"IdentifierPath","referencedDeclaration":17059,"src":"1657:13:104"},"nodeType":"ModifierInvocation","src":"1657:23:104"}],"name":"execute","nameLocation":"1540:7:104","nodeType":"FunctionDefinition","parameters":{"id":17092,"nodeType":"ParameterList","parameters":[{"constant":false,"id":17086,"mutability":"mutable","name":"commands","nameLocation":"1563:8:104","nodeType":"VariableDeclaration","scope":17103,"src":"1548:23:104","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":17085,"name":"bytes","nodeType":"ElementaryTypeName","src":"1548:5:104","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":17089,"mutability":"mutable","name":"inputs","nameLocation":"1590:6:104","nodeType":"VariableDeclaration","scope":17103,"src":"1573:23:104","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":17087,"name":"bytes","nodeType":"ElementaryTypeName","src":"1573:5:104","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":17088,"nodeType":"ArrayTypeName","src":"1573:7:104","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"},{"constant":false,"id":17091,"mutability":"mutable","name":"deadline","nameLocation":"1606:8:104","nodeType":"VariableDeclaration","scope":17103,"src":"1598:16:104","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17090,"name":"uint256","nodeType":"ElementaryTypeName","src":"1598:7:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1547:68:104"},"returnParameters":{"id":17096,"nodeType":"ParameterList","parameters":[],"src":"1685:0:104"},"scope":17197,"src":"1531:196:104","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[17263],"body":{"id":17180,"nodeType":"Block","src":"1867:687:104","statements":[{"assignments":[17116],"declarations":[{"constant":false,"id":17116,"mutability":"mutable","name":"success","nameLocation":"1882:7:104","nodeType":"VariableDeclaration","scope":17180,"src":"1877:12:104","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":17115,"name":"bool","nodeType":"ElementaryTypeName","src":"1877:4:104","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":17117,"nodeType":"VariableDeclarationStatement","src":"1877:12:104"},{"assignments":[17119],"declarations":[{"constant":false,"id":17119,"mutability":"mutable","name":"output","nameLocation":"1912:6:104","nodeType":"VariableDeclaration","scope":17180,"src":"1899:19:104","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":17118,"name":"bytes","nodeType":"ElementaryTypeName","src":"1899:5:104","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":17120,"nodeType":"VariableDeclarationStatement","src":"1899:19:104"},{"assignments":[17122],"declarations":[{"constant":false,"id":17122,"mutability":"mutable","name":"numCommands","nameLocation":"1936:11:104","nodeType":"VariableDeclaration","scope":17180,"src":"1928:19:104","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17121,"name":"uint256","nodeType":"ElementaryTypeName","src":"1928:7:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17125,"initialValue":{"expression":{"id":17123,"name":"commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17106,"src":"1950:8:104","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":17124,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1959:6:104","memberName":"length","nodeType":"MemberAccess","src":"1950:15:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1928:37:104"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17129,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":17126,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17109,"src":"1979:6:104","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}},"id":17127,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1986:6:104","memberName":"length","nodeType":"MemberAccess","src":"1979:13:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":17128,"name":"numCommands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17122,"src":"1996:11:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1979:28:104","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":17133,"nodeType":"IfStatement","src":"1975:57:104","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":17130,"name":"LengthMismatch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18105,"src":"2016:14:104","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":17131,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2016:16:104","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":17132,"nodeType":"RevertStatement","src":"2009:23:104"}},{"body":{"id":17178,"nodeType":"Block","src":"2209:339:104","statements":[{"assignments":[17145],"declarations":[{"constant":false,"id":17145,"mutability":"mutable","name":"command","nameLocation":"2230:7:104","nodeType":"VariableDeclaration","scope":17178,"src":"2223:14:104","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"typeName":{"id":17144,"name":"bytes1","nodeType":"ElementaryTypeName","src":"2223:6:104","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"visibility":"internal"}],"id":17149,"initialValue":{"baseExpression":{"id":17146,"name":"commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17106,"src":"2240:8:104","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":17148,"indexExpression":{"id":17147,"name":"commandIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17135,"src":"2249:12:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2240:22:104","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"VariableDeclarationStatement","src":"2223:39:104"},{"assignments":[17151],"declarations":[{"constant":false,"id":17151,"mutability":"mutable","name":"input","nameLocation":"2292:5:104","nodeType":"VariableDeclaration","scope":17178,"src":"2277:20:104","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":17150,"name":"bytes","nodeType":"ElementaryTypeName","src":"2277:5:104","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":17155,"initialValue":{"baseExpression":{"id":17152,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17109,"src":"2300:6:104","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}},"id":17154,"indexExpression":{"id":17153,"name":"commandIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17135,"src":"2307:12:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2300:20:104","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"VariableDeclarationStatement","src":"2277:43:104"},{"expression":{"id":17163,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":17156,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17116,"src":"2336:7:104","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":17157,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17119,"src":"2345:6:104","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":17158,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"2335:17:104","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":17160,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17145,"src":"2364:7:104","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},{"id":17161,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17151,"src":"2373:5:104","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":17159,"name":"dispatch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17982,"src":"2355:8:104","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes1_$_t_bytes_calldata_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes1,bytes calldata) returns (bool,bytes memory)"}},"id":17162,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2355:24:104","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"src":"2335:44:104","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17164,"nodeType":"ExpressionStatement","src":"2335:44:104"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":17170,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17166,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"2398:8:104","subExpression":{"id":17165,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17116,"src":"2399:7:104","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"arguments":[{"id":17168,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17145,"src":"2426:7:104","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":17167,"name":"successRequired","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17196,"src":"2410:15:104","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes1_$returns$_t_bool_$","typeString":"function (bytes1) pure returns (bool)"}},"id":17169,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2410:24:104","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2398:36:104","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":17177,"nodeType":"IfStatement","src":"2394:144:104","trueBody":{"id":17176,"nodeType":"Block","src":"2436:102:104","statements":[{"errorCall":{"arguments":[{"id":17172,"name":"commandIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17135,"src":"2492:12:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":17173,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17119,"src":"2515:6:104","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":17171,"name":"ExecutionFailed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18096,"src":"2461:15:104","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_error_$","typeString":"function (uint256,bytes memory) pure returns (error)"}},"id":17174,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":["2478:12:104","2506:7:104"],"names":["commandIndex","message"],"nodeType":"FunctionCall","src":"2461:62:104","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":17175,"nodeType":"RevertStatement","src":"2454:69:104"}]}}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17140,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17138,"name":"commandIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17135,"src":"2165:12:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":17139,"name":"numCommands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17122,"src":"2180:11:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2165:26:104","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":17179,"initializationExpression":{"assignments":[17135],"declarations":[{"constant":false,"id":17135,"mutability":"mutable","name":"commandIndex","nameLocation":"2147:12:104","nodeType":"VariableDeclaration","scope":17179,"src":"2139:20:104","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17134,"name":"uint256","nodeType":"ElementaryTypeName","src":"2139:7:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17137,"initialValue":{"hexValue":"30","id":17136,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2162:1:104","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"2139:24:104"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":17142,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"2193:14:104","subExpression":{"id":17141,"name":"commandIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17135,"src":"2193:12:104","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":17143,"nodeType":"ExpressionStatement","src":"2193:14:104"},"nodeType":"ForStatement","src":"2134:414:104"}]},"documentation":{"id":17104,"nodeType":"StructuredDocumentation","src":"1733:26:104","text":"@inheritdoc Dispatcher"},"functionSelector":"24856bc3","id":17181,"implemented":true,"kind":"function","modifiers":[{"id":17113,"kind":"modifierInvocation","modifierName":{"id":17112,"name":"isNotLocked","nameLocations":["1855:11:104"],"nodeType":"IdentifierPath","referencedDeclaration":18062,"src":"1855:11:104"},"nodeType":"ModifierInvocation","src":"1855:11:104"}],"name":"execute","nameLocation":"1773:7:104","nodeType":"FunctionDefinition","overrides":{"id":17111,"nodeType":"OverrideSpecifier","overrides":[],"src":"1846:8:104"},"parameters":{"id":17110,"nodeType":"ParameterList","parameters":[{"constant":false,"id":17106,"mutability":"mutable","name":"commands","nameLocation":"1796:8:104","nodeType":"VariableDeclaration","scope":17181,"src":"1781:23:104","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":17105,"name":"bytes","nodeType":"ElementaryTypeName","src":"1781:5:104","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":17109,"mutability":"mutable","name":"inputs","nameLocation":"1823:6:104","nodeType":"VariableDeclaration","scope":17181,"src":"1806:23:104","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":17107,"name":"bytes","nodeType":"ElementaryTypeName","src":"1806:5:104","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":17108,"nodeType":"ArrayTypeName","src":"1806:7:104","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"src":"1780:50:104"},"returnParameters":{"id":17114,"nodeType":"ParameterList","parameters":[],"src":"1867:0:104"},"scope":17197,"src":"1764:790:104","stateMutability":"payable","virtual":false,"visibility":"public"},{"body":{"id":17195,"nodeType":"Block","src":"2630:65:104","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":17193,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":17191,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17188,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17183,"src":"2647:7:104","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"expression":{"id":17189,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"2657:8:104","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17190,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2666:17:104","memberName":"FLAG_ALLOW_REVERT","nodeType":"MemberAccess","referencedDeclaration":18125,"src":"2657:26:104","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"src":"2647:36:104","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":17192,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2687:1:104","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2647:41:104","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":17187,"id":17194,"nodeType":"Return","src":"2640:48:104"}]},"id":17196,"implemented":true,"kind":"function","modifiers":[],"name":"successRequired","nameLocation":"2569:15:104","nodeType":"FunctionDefinition","parameters":{"id":17184,"nodeType":"ParameterList","parameters":[{"constant":false,"id":17183,"mutability":"mutable","name":"command","nameLocation":"2592:7:104","nodeType":"VariableDeclaration","scope":17196,"src":"2585:14:104","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"typeName":{"id":17182,"name":"bytes1","nodeType":"ElementaryTypeName","src":"2585:6:104","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"visibility":"internal"}],"src":"2584:16:104"},"returnParameters":{"id":17187,"nodeType":"ParameterList","parameters":[{"constant":false,"id":17186,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":17196,"src":"2624:4:104","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":17185,"name":"bool","nodeType":"ElementaryTypeName","src":"2624:4:104","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2623:6:104"},"scope":17197,"src":"2560:135:104","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":17198,"src":"671:2026:104","usedErrors":[13604,13609,13798,13804,13807,14483,15812,15819,16004,17252,17254,18023,18096,18099,18102,18105,18107,18360,18362,18727,18851,18853,18857,19121,19123,19521,19523,19525,19855,20093,20095,20097,20099,20101,21181],"usedEvents":[]}],"src":"45:2653:104"},"id":104},"contracts/base/Dispatcher.sol":{"ast":{"absolutePath":"contracts/base/Dispatcher.sol","exportedSymbols":{"ActionConstants":[15916],"BytesLib":[19963],"CalldataDecoder":[16368],"Commands":[18189],"Dispatcher":[18015],"ERC20":[21824],"IAllowanceTransfer":[21003],"IPoolManager":[3917],"Lock":[18074],"Payments":[18670],"PaymentsImmutables":[18711],"PoolKey":[11063],"V2SwapRouter":[19844],"V3SwapRouter":[20557],"V3ToV4Migrator":[19063],"V4SwapRouter":[20611]},"id":18016,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":17199,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:105"},{"absolutePath":"contracts/modules/uniswap/v2/V2SwapRouter.sol","file":"../modules/uniswap/v2/V2SwapRouter.sol","id":17201,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":19845,"src":"71:68:105","symbolAliases":[{"foreign":{"id":17200,"name":"V2SwapRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19844,"src":"79:12:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/uniswap/v3/V3SwapRouter.sol","file":"../modules/uniswap/v3/V3SwapRouter.sol","id":17203,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":20558,"src":"140:68:105","symbolAliases":[{"foreign":{"id":17202,"name":"V3SwapRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20557,"src":"148:12:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/uniswap/v4/V4SwapRouter.sol","file":"../modules/uniswap/v4/V4SwapRouter.sol","id":17205,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":20612,"src":"209:68:105","symbolAliases":[{"foreign":{"id":17204,"name":"V4SwapRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20611,"src":"217:12:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/uniswap/v3/BytesLib.sol","file":"../modules/uniswap/v3/BytesLib.sol","id":17207,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":19964,"src":"278:60:105","symbolAliases":[{"foreign":{"id":17206,"name":"BytesLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19963,"src":"286:8:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/Payments.sol","file":"../modules/Payments.sol","id":17209,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":18671,"src":"339:49:105","symbolAliases":[{"foreign":{"id":17208,"name":"Payments","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18670,"src":"347:8:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/PaymentsImmutables.sol","file":"../modules/PaymentsImmutables.sol","id":17211,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":18712,"src":"389:69:105","symbolAliases":[{"foreign":{"id":17210,"name":"PaymentsImmutables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18711,"src":"397:18:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/V3ToV4Migrator.sol","file":"../modules/V3ToV4Migrator.sol","id":17213,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":19064,"src":"459:61:105","symbolAliases":[{"foreign":{"id":17212,"name":"V3ToV4Migrator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19063,"src":"467:14:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/libraries/Commands.sol","file":"../libraries/Commands.sol","id":17215,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":18190,"src":"521:51:105","symbolAliases":[{"foreign":{"id":17214,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"529:8:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/base/Lock.sol","file":"./Lock.sol","id":17217,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":18075,"src":"573:32:105","symbolAliases":[{"foreign":{"id":17216,"name":"Lock","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18074,"src":"581:4:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"solmate/src/tokens/ERC20.sol","file":"solmate/src/tokens/ERC20.sol","id":17219,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":21825,"src":"606:51:105","symbolAliases":[{"foreign":{"id":17218,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"614:5:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"permit2/src/interfaces/IAllowanceTransfer.sol","file":"permit2/src/interfaces/IAllowanceTransfer.sol","id":17221,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":21004,"src":"658:81:105","symbolAliases":[{"foreign":{"id":17220,"name":"IAllowanceTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21003,"src":"666:18:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/ActionConstants.sol","file":"@uniswap/v4-periphery/src/libraries/ActionConstants.sol","id":17223,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":15917,"src":"740:88:105","symbolAliases":[{"foreign":{"id":17222,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"748:15:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol","file":"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol","id":17225,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":16369,"src":"829:88:105","symbolAliases":[{"foreign":{"id":17224,"name":"CalldataDecoder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16368,"src":"837:15:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/PoolKey.sol","file":"@uniswap/v4-core/src/types/PoolKey.sol","id":17227,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":11064,"src":"918:63:105","symbolAliases":[{"foreign":{"id":17226,"name":"PoolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11063,"src":"926:7:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","id":17229,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18016,"sourceUnit":3918,"src":"982:78:105","symbolAliases":[{"foreign":{"id":17228,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"990:12:105","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":17231,"name":"Payments","nameLocations":["1239:8:105"],"nodeType":"IdentifierPath","referencedDeclaration":18670,"src":"1239:8:105"},"id":17232,"nodeType":"InheritanceSpecifier","src":"1239:8:105"},{"baseName":{"id":17233,"name":"V2SwapRouter","nameLocations":["1249:12:105"],"nodeType":"IdentifierPath","referencedDeclaration":19844,"src":"1249:12:105"},"id":17234,"nodeType":"InheritanceSpecifier","src":"1249:12:105"},{"baseName":{"id":17235,"name":"V3SwapRouter","nameLocations":["1263:12:105"],"nodeType":"IdentifierPath","referencedDeclaration":20557,"src":"1263:12:105"},"id":17236,"nodeType":"InheritanceSpecifier","src":"1263:12:105"},{"baseName":{"id":17237,"name":"V4SwapRouter","nameLocations":["1277:12:105"],"nodeType":"IdentifierPath","referencedDeclaration":20611,"src":"1277:12:105"},"id":17238,"nodeType":"InheritanceSpecifier","src":"1277:12:105"},{"baseName":{"id":17239,"name":"V3ToV4Migrator","nameLocations":["1291:14:105"],"nodeType":"IdentifierPath","referencedDeclaration":19063,"src":"1291:14:105"},"id":17240,"nodeType":"InheritanceSpecifier","src":"1291:14:105"},{"baseName":{"id":17241,"name":"Lock","nameLocations":["1307:4:105"],"nodeType":"IdentifierPath","referencedDeclaration":18074,"src":"1307:4:105"},"id":17242,"nodeType":"InheritanceSpecifier","src":"1307:4:105"}],"canonicalName":"Dispatcher","contractDependencies":[],"contractKind":"contract","documentation":{"id":17230,"nodeType":"StructuredDocumentation","src":"1062:145:105","text":"@title Decodes and Executes Commands\n @notice Called by the UniversalRouter contract to efficiently decode and execute a singular command"},"fullyImplemented":false,"id":18015,"linearizedBaseContracts":[18015,18074,19063,18331,20611,20557,544,19844,18829,18670,18711,13585,14078,13773,15268,4006,14511,15872,15406,19114],"name":"Dispatcher","nameLocation":"1225:10:105","nodeType":"ContractDefinition","nodes":[{"global":false,"id":17245,"libraryName":{"id":17243,"name":"BytesLib","nameLocations":["1324:8:105"],"nodeType":"IdentifierPath","referencedDeclaration":19963,"src":"1324:8:105"},"nodeType":"UsingForDirective","src":"1318:25:105","typeName":{"id":17244,"name":"bytes","nodeType":"ElementaryTypeName","src":"1337:5:105","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"global":false,"id":17248,"libraryName":{"id":17246,"name":"CalldataDecoder","nameLocations":["1354:15:105"],"nodeType":"IdentifierPath","referencedDeclaration":16368,"src":"1354:15:105"},"nodeType":"UsingForDirective","src":"1348:32:105","typeName":{"id":17247,"name":"bytes","nodeType":"ElementaryTypeName","src":"1374:5:105","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"errorSelector":"d76a1e9e","id":17252,"name":"InvalidCommandType","nameLocation":"1392:18:105","nodeType":"ErrorDefinition","parameters":{"id":17251,"nodeType":"ParameterList","parameters":[{"constant":false,"id":17250,"mutability":"mutable","name":"commandType","nameLocation":"1419:11:105","nodeType":"VariableDeclaration","scope":17252,"src":"1411:19:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17249,"name":"uint256","nodeType":"ElementaryTypeName","src":"1411:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1410:21:105"},"src":"1386:46:105"},{"errorSelector":"a3281672","id":17254,"name":"BalanceTooLow","nameLocation":"1443:13:105","nodeType":"ErrorDefinition","parameters":{"id":17253,"nodeType":"ParameterList","parameters":[],"src":"1456:2:105"},"src":"1437:22:105"},{"documentation":{"id":17255,"nodeType":"StructuredDocumentation","src":"1465:237:105","text":"@notice Executes encoded commands along with provided inputs.\n @param commands A set of concatenated commands, each 1 byte in length\n @param inputs An array of byte strings containing abi encoded inputs for each command"},"functionSelector":"24856bc3","id":17263,"implemented":false,"kind":"function","modifiers":[],"name":"execute","nameLocation":"1716:7:105","nodeType":"FunctionDefinition","parameters":{"id":17261,"nodeType":"ParameterList","parameters":[{"constant":false,"id":17257,"mutability":"mutable","name":"commands","nameLocation":"1739:8:105","nodeType":"VariableDeclaration","scope":17263,"src":"1724:23:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":17256,"name":"bytes","nodeType":"ElementaryTypeName","src":"1724:5:105","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":17260,"mutability":"mutable","name":"inputs","nameLocation":"1766:6:105","nodeType":"VariableDeclaration","scope":17263,"src":"1749:23:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":17258,"name":"bytes","nodeType":"ElementaryTypeName","src":"1749:5:105","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":17259,"nodeType":"ArrayTypeName","src":"1749:7:105","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"src":"1723:50:105"},"returnParameters":{"id":17262,"nodeType":"ParameterList","parameters":[],"src":"1798:0:105"},"scope":18015,"src":"1707:92:105","stateMutability":"payable","virtual":true,"visibility":"external"},{"baseFunctions":[13722],"body":{"id":17273,"nodeType":"Block","src":"2144:36:105","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":17270,"name":"_getLocker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18073,"src":"2161:10:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":17271,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2161:12:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":17269,"id":17272,"nodeType":"Return","src":"2154:19:105"}]},"documentation":{"id":17264,"nodeType":"StructuredDocumentation","src":"1805:274:105","text":"@notice Public view function to be used instead of msg.sender, as the contract performs self-reentrancy and at\n times msg.sender == address(this). Instead msgSender() returns the initiator of the lock\n @dev overrides BaseActionsRouter.msgSender in V4Router"},"functionSelector":"d737d0c7","id":17274,"implemented":true,"kind":"function","modifiers":[],"name":"msgSender","nameLocation":"2093:9:105","nodeType":"FunctionDefinition","overrides":{"id":17266,"nodeType":"OverrideSpecifier","overrides":[],"src":"2117:8:105"},"parameters":{"id":17265,"nodeType":"ParameterList","parameters":[],"src":"2102:2:105"},"returnParameters":{"id":17269,"nodeType":"ParameterList","parameters":[{"constant":false,"id":17268,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":17274,"src":"2135:7:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17267,"name":"address","nodeType":"ElementaryTypeName","src":"2135:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2134:9:105"},"scope":18015,"src":"2084:96:105","stateMutability":"view","virtual":false,"visibility":"public"},{"body":{"id":17981,"nodeType":"Block","src":"2750:13912:105","statements":[{"assignments":[17287],"declarations":[{"constant":false,"id":17287,"mutability":"mutable","name":"command","nameLocation":"2768:7:105","nodeType":"VariableDeclaration","scope":17981,"src":"2760:15:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17286,"name":"uint256","nodeType":"ElementaryTypeName","src":"2760:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17295,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":17293,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17290,"name":"commandType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17277,"src":"2784:11:105","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"expression":{"id":17291,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"2798:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17292,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2807:17:105","memberName":"COMMAND_TYPE_MASK","nodeType":"MemberAccess","referencedDeclaration":18128,"src":"2798:26:105","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"src":"2784:40:105","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":17289,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2778:5:105","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":17288,"name":"uint8","nodeType":"ElementaryTypeName","src":"2778:5:105","typeDescriptions":{}}},"id":17294,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2778:47:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"2760:65:105"},{"expression":{"id":17298,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":17296,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17282,"src":"2836:7:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":17297,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2846:4:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"2836:14:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":17299,"nodeType":"ExpressionStatement","src":"2836:14:105"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17303,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17300,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"2899:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":17301,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"2909:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17302,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2918:16:105","memberName":"EXECUTE_SUB_PLAN","nodeType":"MemberAccess","referencedDeclaration":18188,"src":"2909:25:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2899:35:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":17979,"nodeType":"Block","src":"16191:465:105","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17942,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17939,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"16240:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17940,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"16251:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17941,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16260:16:105","memberName":"EXECUTE_SUB_PLAN","nodeType":"MemberAccess","referencedDeclaration":18188,"src":"16251:25:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"16240:36:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":17977,"nodeType":"Block","src":"16520:126:105","statements":[{"errorCall":{"arguments":[{"id":17974,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"16623:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":17973,"name":"InvalidCommandType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17252,"src":"16604:18:105","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":17975,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16604:27:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":17976,"nodeType":"RevertStatement","src":"16597:34:105"}]},"id":17978,"nodeType":"IfStatement","src":"16236:410:105","trueBody":{"id":17972,"nodeType":"Block","src":"16278:236:105","statements":[{"assignments":[17944,17947],"declarations":[{"constant":false,"id":17944,"mutability":"mutable","name":"_commands","nameLocation":"16312:9:105","nodeType":"VariableDeclaration","scope":17972,"src":"16297:24:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":17943,"name":"bytes","nodeType":"ElementaryTypeName","src":"16297:5:105","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":17947,"mutability":"mutable","name":"_inputs","nameLocation":"16340:7:105","nodeType":"VariableDeclaration","scope":17972,"src":"16323:24:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":17945,"name":"bytes","nodeType":"ElementaryTypeName","src":"16323:5:105","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":17946,"nodeType":"ArrayTypeName","src":"16323:7:105","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":17951,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":17948,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"16351:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":17949,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16358:23:105","memberName":"decodeCommandsAndInputs","nodeType":"MemberAccess","referencedDeclaration":19962,"src":"16351:30:105","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_bytes_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (bytes calldata,bytes calldata[] calldata)"}},"id":17950,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16351:32:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$","typeString":"tuple(bytes calldata,bytes calldata[] calldata)"}},"nodeType":"VariableDeclarationStatement","src":"16296:87:105"},{"expression":{"id":17970,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":17952,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17282,"src":"16402:7:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":17953,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17284,"src":"16411:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":17954,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"16401:17:105","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"expression":{"id":17963,"name":"Dispatcher","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18015,"src":"16457:10:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Dispatcher_$18015_$","typeString":"type(contract Dispatcher)"}},"id":17964,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16468:7:105","memberName":"execute","nodeType":"MemberAccess","referencedDeclaration":17263,"src":"16457:18:105","typeDescriptions":{"typeIdentifier":"t_function_declaration_payable$_t_bytes_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$returns$__$","typeString":"function Dispatcher.execute(bytes calldata,bytes calldata[] calldata) payable"}},{"components":[{"id":17965,"name":"_commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17944,"src":"16478:9:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":17966,"name":"_inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17947,"src":"16489:7:105","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes calldata[] calldata"}}],"id":17967,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"16477:20:105","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$","typeString":"tuple(bytes calldata,bytes calldata[] calldata)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_payable$_t_bytes_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$returns$__$","typeString":"function Dispatcher.execute(bytes calldata,bytes calldata[] calldata) payable"},{"typeIdentifier":"t_tuple$_t_bytes_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$","typeString":"tuple(bytes calldata,bytes calldata[] calldata)"}],"expression":{"id":17961,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"16442:3:105","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":17962,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16446:10:105","memberName":"encodeCall","nodeType":"MemberAccess","src":"16442:14:105","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":17968,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16442:56:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"components":[{"arguments":[{"id":17957,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"16430:4:105","typeDescriptions":{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}],"id":17956,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16422:7:105","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17955,"name":"address","nodeType":"ElementaryTypeName","src":"16422:7:105","typeDescriptions":{}}},"id":17958,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16422:13:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":17959,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"16421:15:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17960,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16437:4:105","memberName":"call","nodeType":"MemberAccess","src":"16421:20:105","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":17969,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16421:78:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"src":"16401:98:105","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17971,"nodeType":"ExpressionStatement","src":"16401:98:105"}]}}]},"id":17980,"nodeType":"IfStatement","src":"2895:13761:105","trueBody":{"id":17938,"nodeType":"Block","src":"2936:13249:105","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17304,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"2992:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":17305,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"3002:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17306,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3011:7:105","memberName":"V4_SWAP","nodeType":"MemberAccess","referencedDeclaration":18173,"src":"3002:16:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2992:26:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":17936,"nodeType":"Block","src":"14369:1806:105","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17817,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17814,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"14433:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17815,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"14444:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17816,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14453:7:105","memberName":"V4_SWAP","nodeType":"MemberAccess","referencedDeclaration":18173,"src":"14444:16:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14433:27:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17826,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17823,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"14783:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17824,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"14794:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17825,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14803:26:105","memberName":"V3_POSITION_MANAGER_PERMIT","nodeType":"MemberAccess","referencedDeclaration":18176,"src":"14794:35:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14783:46:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17847,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17844,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"14991:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17845,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"15002:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17846,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15011:24:105","memberName":"V3_POSITION_MANAGER_CALL","nodeType":"MemberAccess","referencedDeclaration":18179,"src":"15002:33:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14991:44:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17870,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17867,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"15219:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17868,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"15230:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17869,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15239:18:105","memberName":"V4_INITIALIZE_POOL","nodeType":"MemberAccess","referencedDeclaration":18182,"src":"15230:27:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15219:38:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17902,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17899,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"15714:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17900,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"15725:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17901,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15734:24:105","memberName":"V4_POSITION_MANAGER_CALL","nodeType":"MemberAccess","referencedDeclaration":18185,"src":"15725:33:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15714:44:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":17930,"nodeType":"Block","src":"16023:138:105","statements":[{"errorCall":{"arguments":[{"id":17927,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"16134:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":17926,"name":"InvalidCommandType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17252,"src":"16115:18:105","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":17928,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16115:27:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":17929,"nodeType":"RevertStatement","src":"16108:34:105"}]},"id":17931,"nodeType":"IfStatement","src":"15710:451:105","trueBody":{"id":17925,"nodeType":"Block","src":"15760:257:105","statements":[{"expression":{"arguments":[{"id":17904,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"15878:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":17903,"name":"_checkV4PositionManagerCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19062,"src":"15850:27:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes_calldata_ptr_$returns$__$","typeString":"function (bytes calldata) view"}},"id":17905,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15850:35:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17906,"nodeType":"ExpressionStatement","src":"15850:35:105"},{"expression":{"id":17923,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":17907,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17282,"src":"15908:7:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":17908,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17284,"src":"15917:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":17909,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"15907:17:105","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":17921,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"15991:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"arguments":[{"id":17912,"name":"V4_POSITION_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18309,"src":"15935:19:105","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionManager_$15721","typeString":"contract IPositionManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPositionManager_$15721","typeString":"contract IPositionManager"}],"id":17911,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15927:7:105","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17910,"name":"address","nodeType":"ElementaryTypeName","src":"15927:7:105","typeDescriptions":{}}},"id":17913,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15927:28:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17914,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15956:4:105","memberName":"call","nodeType":"MemberAccess","src":"15927:33:105","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":17920,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"expression":{"arguments":[{"id":17917,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"15976:4:105","typeDescriptions":{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}],"id":17916,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15968:7:105","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17915,"name":"address","nodeType":"ElementaryTypeName","src":"15968:7:105","typeDescriptions":{}}},"id":17918,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15968:13:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17919,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15982:7:105","memberName":"balance","nodeType":"MemberAccess","src":"15968:21:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"15927:63:105","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":17922,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15927:71:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"src":"15907:91:105","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17924,"nodeType":"ExpressionStatement","src":"15907:91:105"}]}},"id":17932,"nodeType":"IfStatement","src":"15215:946:105","trueBody":{"id":17898,"nodeType":"Block","src":"15259:445:105","statements":[{"assignments":[17873],"declarations":[{"constant":false,"id":17873,"mutability":"mutable","name":"poolKey","nameLocation":"15298:7:105","nodeType":"VariableDeclaration","scope":17898,"src":"15281:24:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey"},"typeName":{"id":17872,"nodeType":"UserDefinedTypeName","pathNode":{"id":17871,"name":"PoolKey","nameLocations":["15281:7:105"],"nodeType":"IdentifierPath","referencedDeclaration":11063,"src":"15281:7:105"},"referencedDeclaration":11063,"src":"15281:7:105","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_storage_ptr","typeString":"struct PoolKey"}},"visibility":"internal"}],"id":17874,"nodeType":"VariableDeclarationStatement","src":"15281:24:105"},{"assignments":[17876],"declarations":[{"constant":false,"id":17876,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"15335:12:105","nodeType":"VariableDeclaration","scope":17898,"src":"15327:20:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":17875,"name":"uint160","nodeType":"ElementaryTypeName","src":"15327:7:105","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"id":17877,"nodeType":"VariableDeclarationStatement","src":"15327:20:105"},{"AST":{"nativeSrc":"15378:151:105","nodeType":"YulBlock","src":"15378:151:105","statements":[{"nativeSrc":"15404:24:105","nodeType":"YulAssignment","src":"15404:24:105","value":{"name":"inputs.offset","nativeSrc":"15415:13:105","nodeType":"YulIdentifier","src":"15415:13:105"},"variableNames":[{"name":"poolKey","nativeSrc":"15404:7:105","nodeType":"YulIdentifier","src":"15404:7:105"}]},{"nativeSrc":"15453:54:105","nodeType":"YulAssignment","src":"15453:54:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"15486:13:105","nodeType":"YulIdentifier","src":"15486:13:105"},{"kind":"number","nativeSrc":"15501:4:105","nodeType":"YulLiteral","src":"15501:4:105","type":"","value":"0xa0"}],"functionName":{"name":"add","nativeSrc":"15482:3:105","nodeType":"YulIdentifier","src":"15482:3:105"},"nativeSrc":"15482:24:105","nodeType":"YulFunctionCall","src":"15482:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"15469:12:105","nodeType":"YulIdentifier","src":"15469:12:105"},"nativeSrc":"15469:38:105","nodeType":"YulFunctionCall","src":"15469:38:105"},"variableNames":[{"name":"sqrtPriceX96","nativeSrc":"15453:12:105","nodeType":"YulIdentifier","src":"15453:12:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17279,"isOffset":true,"isSlot":false,"src":"15415:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"15486:13:105","suffix":"offset","valueSize":1},{"declaration":17873,"isOffset":false,"isSlot":false,"src":"15404:7:105","valueSize":1},{"declaration":17876,"isOffset":false,"isSlot":false,"src":"15453:12:105","valueSize":1}],"id":17878,"nodeType":"InlineAssembly","src":"15369:160:105"},{"expression":{"id":17896,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":17879,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17282,"src":"15551:7:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":17880,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17284,"src":"15560:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":17881,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"15550:17:105","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"expression":{"id":17889,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"15635:12:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IPoolManager_$3917_$","typeString":"type(contract IPoolManager)"}},"id":17890,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15648:10:105","memberName":"initialize","nodeType":"MemberAccess","referencedDeclaration":3778,"src":"15635:23:105","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint160_$returns$_t_int24_$","typeString":"function IPoolManager.initialize(struct PoolKey memory,uint160) returns (int24)"}},{"components":[{"id":17891,"name":"poolKey","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17873,"src":"15661:7:105","typeDescriptions":{"typeIdentifier":"t_struct$_PoolKey_$11063_calldata_ptr","typeString":"struct PoolKey calldata"}},{"id":17892,"name":"sqrtPriceX96","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17876,"src":"15670:12:105","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":17893,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"15660:23:105","typeDescriptions":{"typeIdentifier":"t_tuple$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_uint160_$","typeString":"tuple(struct PoolKey calldata,uint160)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_struct$_PoolKey_$11063_memory_ptr_$_t_uint160_$returns$_t_int24_$","typeString":"function IPoolManager.initialize(struct PoolKey memory,uint160) returns (int24)"},{"typeIdentifier":"t_tuple$_t_struct$_PoolKey_$11063_calldata_ptr_$_t_uint160_$","typeString":"tuple(struct PoolKey calldata,uint160)"}],"expression":{"id":17887,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"15620:3:105","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":17888,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15624:10:105","memberName":"encodeCall","nodeType":"MemberAccess","src":"15620:14:105","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":17894,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15620:64:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"arguments":[{"id":17884,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"15602:11:105","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}],"id":17883,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15594:7:105","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17882,"name":"address","nodeType":"ElementaryTypeName","src":"15594:7:105","typeDescriptions":{}}},"id":17885,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15594:20:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17886,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15615:4:105","memberName":"call","nodeType":"MemberAccess","src":"15594:25:105","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":17895,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15594:91:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"src":"15550:135:105","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17897,"nodeType":"ExpressionStatement","src":"15550:135:105"}]}},"id":17933,"nodeType":"IfStatement","src":"14987:1174:105","trueBody":{"id":17866,"nodeType":"Block","src":"15037:172:105","statements":[{"expression":{"arguments":[{"id":17849,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"15087:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"arguments":[],"expression":{"argumentTypes":[],"id":17850,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[17274],"referencedDeclaration":17274,"src":"15095:9:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":17851,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15095:11:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_address","typeString":"address"}],"id":17848,"name":"_checkV3PositionManagerCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18979,"src":"15059:27:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes_calldata_ptr_$_t_address_$returns$__$","typeString":"function (bytes calldata,address) view"}},"id":17852,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15059:48:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17853,"nodeType":"ExpressionStatement","src":"15059:48:105"},{"expression":{"id":17864,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":17854,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17282,"src":"15130:7:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":17855,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17284,"src":"15139:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":17856,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"15129:17:105","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":17862,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"15183:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"arguments":[{"id":17859,"name":"V3_POSITION_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18305,"src":"15157:19:105","typeDescriptions":{"typeIdentifier":"t_contract$_INonfungiblePositionManager_$1268","typeString":"contract INonfungiblePositionManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_INonfungiblePositionManager_$1268","typeString":"contract INonfungiblePositionManager"}],"id":17858,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15149:7:105","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17857,"name":"address","nodeType":"ElementaryTypeName","src":"15149:7:105","typeDescriptions":{}}},"id":17860,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15149:28:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17861,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15178:4:105","memberName":"call","nodeType":"MemberAccess","src":"15149:33:105","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":17863,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15149:41:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"src":"15129:61:105","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17865,"nodeType":"ExpressionStatement","src":"15129:61:105"}]}},"id":17934,"nodeType":"IfStatement","src":"14779:1382:105","trueBody":{"id":17843,"nodeType":"Block","src":"14831:150:105","statements":[{"expression":{"arguments":[{"id":17828,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"14872:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":17827,"name":"_checkV3PermitCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18941,"src":"14853:18:105","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$__$","typeString":"function (bytes calldata) pure"}},"id":17829,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14853:26:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17830,"nodeType":"ExpressionStatement","src":"14853:26:105"},{"expression":{"id":17841,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":17831,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17282,"src":"14902:7:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":17832,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17284,"src":"14911:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":17833,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"14901:17:105","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":17839,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"14955:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"arguments":[{"id":17836,"name":"V3_POSITION_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18305,"src":"14929:19:105","typeDescriptions":{"typeIdentifier":"t_contract$_INonfungiblePositionManager_$1268","typeString":"contract INonfungiblePositionManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_INonfungiblePositionManager_$1268","typeString":"contract INonfungiblePositionManager"}],"id":17835,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14921:7:105","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17834,"name":"address","nodeType":"ElementaryTypeName","src":"14921:7:105","typeDescriptions":{}}},"id":17837,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14921:28:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17838,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14950:4:105","memberName":"call","nodeType":"MemberAccess","src":"14921:33:105","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":17840,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14921:41:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"src":"14901:61:105","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17842,"nodeType":"ExpressionStatement","src":"14901:61:105"}]}},"id":17935,"nodeType":"IfStatement","src":"14429:1732:105","trueBody":{"id":17822,"nodeType":"Block","src":"14462:311:105","statements":[{"expression":{"arguments":[{"id":17819,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"14613:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"id":17818,"name":"_executeActions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13632,"src":"14597:15:105","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes_calldata_ptr_$returns$__$","typeString":"function (bytes calldata)"}},"id":17820,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14597:23:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17821,"nodeType":"ExpressionStatement","src":"14597:23:105"}]}}]},"id":17937,"nodeType":"IfStatement","src":"2988:13187:105","trueBody":{"id":17813,"nodeType":"Block","src":"3020:11343:105","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17311,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17308,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"3084:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":17309,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"3094:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17310,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3103:16:105","memberName":"V2_SWAP_EXACT_IN","nodeType":"MemberAccess","referencedDeclaration":18152,"src":"3094:25:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3084:35:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":17811,"nodeType":"Block","src":"8891:5458:105","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17558,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17555,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"8963:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17556,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"8974:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17557,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8983:16:105","memberName":"V2_SWAP_EXACT_IN","nodeType":"MemberAccess","referencedDeclaration":18152,"src":"8974:25:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8963:36:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17607,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17604,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"10005:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17605,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"10016:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17606,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10025:17:105","memberName":"V2_SWAP_EXACT_OUT","nodeType":"MemberAccess","referencedDeclaration":18155,"src":"10016:26:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10005:37:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17656,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17653,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"11049:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17654,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"11060:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17655,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11069:14:105","memberName":"PERMIT2_PERMIT","nodeType":"MemberAccess","referencedDeclaration":18158,"src":"11060:23:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11049:34:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17694,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17691,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"11936:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17692,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"11947:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17693,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11956:8:105","memberName":"WRAP_ETH","nodeType":"MemberAccess","referencedDeclaration":18161,"src":"11947:17:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11936:28:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17715,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17712,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"12433:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17713,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"12444:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17714,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12453:11:105","memberName":"UNWRAP_WETH","nodeType":"MemberAccess","referencedDeclaration":18164,"src":"12444:20:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12433:31:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17736,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17733,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"12946:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17734,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"12957:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17735,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12966:27:105","memberName":"PERMIT2_TRANSFER_FROM_BATCH","nodeType":"MemberAccess","referencedDeclaration":18167,"src":"12957:36:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12946:47:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17764,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17761,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"13455:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17762,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"13466:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17763,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13475:19:105","memberName":"BALANCE_CHECK_ERC20","nodeType":"MemberAccess","referencedDeclaration":18170,"src":"13466:28:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13455:39:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":17803,"nodeType":"Block","src":"14187:144:105","statements":[{"errorCall":{"arguments":[{"id":17800,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"14300:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":17799,"name":"InvalidCommandType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17252,"src":"14281:18:105","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":17801,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14281:27:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":17802,"nodeType":"RevertStatement","src":"14274:34:105"}]},"id":17804,"nodeType":"IfStatement","src":"13451:880:105","trueBody":{"id":17798,"nodeType":"Block","src":"13496:685:105","statements":[{"assignments":[17766],"declarations":[{"constant":false,"id":17766,"mutability":"mutable","name":"owner","nameLocation":"13617:5:105","nodeType":"VariableDeclaration","scope":17798,"src":"13609:13:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17765,"name":"address","nodeType":"ElementaryTypeName","src":"13609:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17767,"nodeType":"VariableDeclarationStatement","src":"13609:13:105"},{"assignments":[17769],"declarations":[{"constant":false,"id":17769,"mutability":"mutable","name":"token","nameLocation":"13656:5:105","nodeType":"VariableDeclaration","scope":17798,"src":"13648:13:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17768,"name":"address","nodeType":"ElementaryTypeName","src":"13648:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17770,"nodeType":"VariableDeclarationStatement","src":"13648:13:105"},{"assignments":[17772],"declarations":[{"constant":false,"id":17772,"mutability":"mutable","name":"minBalance","nameLocation":"13695:10:105","nodeType":"VariableDeclaration","scope":17798,"src":"13687:18:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17771,"name":"uint256","nodeType":"ElementaryTypeName","src":"13687:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17773,"nodeType":"VariableDeclarationStatement","src":"13687:18:105"},{"AST":{"nativeSrc":"13740:249:105","nodeType":"YulBlock","src":"13740:249:105","statements":[{"nativeSrc":"13770:36:105","nodeType":"YulAssignment","src":"13770:36:105","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"13792:13:105","nodeType":"YulIdentifier","src":"13792:13:105"}],"functionName":{"name":"calldataload","nativeSrc":"13779:12:105","nodeType":"YulIdentifier","src":"13779:12:105"},"nativeSrc":"13779:27:105","nodeType":"YulFunctionCall","src":"13779:27:105"},"variableNames":[{"name":"owner","nativeSrc":"13770:5:105","nodeType":"YulIdentifier","src":"13770:5:105"}]},{"nativeSrc":"13835:47:105","nodeType":"YulAssignment","src":"13835:47:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"13861:13:105","nodeType":"YulIdentifier","src":"13861:13:105"},{"kind":"number","nativeSrc":"13876:4:105","nodeType":"YulLiteral","src":"13876:4:105","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"13857:3:105","nodeType":"YulIdentifier","src":"13857:3:105"},"nativeSrc":"13857:24:105","nodeType":"YulFunctionCall","src":"13857:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"13844:12:105","nodeType":"YulIdentifier","src":"13844:12:105"},"nativeSrc":"13844:38:105","nodeType":"YulFunctionCall","src":"13844:38:105"},"variableNames":[{"name":"token","nativeSrc":"13835:5:105","nodeType":"YulIdentifier","src":"13835:5:105"}]},{"nativeSrc":"13911:52:105","nodeType":"YulAssignment","src":"13911:52:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"13942:13:105","nodeType":"YulIdentifier","src":"13942:13:105"},{"kind":"number","nativeSrc":"13957:4:105","nodeType":"YulLiteral","src":"13957:4:105","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"13938:3:105","nodeType":"YulIdentifier","src":"13938:3:105"},"nativeSrc":"13938:24:105","nodeType":"YulFunctionCall","src":"13938:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"13925:12:105","nodeType":"YulIdentifier","src":"13925:12:105"},"nativeSrc":"13925:38:105","nodeType":"YulFunctionCall","src":"13925:38:105"},"variableNames":[{"name":"minBalance","nativeSrc":"13911:10:105","nodeType":"YulIdentifier","src":"13911:10:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17279,"isOffset":true,"isSlot":false,"src":"13792:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"13861:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"13942:13:105","suffix":"offset","valueSize":1},{"declaration":17772,"isOffset":false,"isSlot":false,"src":"13911:10:105","valueSize":1},{"declaration":17766,"isOffset":false,"isSlot":false,"src":"13770:5:105","valueSize":1},{"declaration":17769,"isOffset":false,"isSlot":false,"src":"13835:5:105","valueSize":1}],"id":17774,"nodeType":"InlineAssembly","src":"13731:258:105"},{"expression":{"id":17785,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":17775,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17282,"src":"14014:7:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17783,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":17780,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17766,"src":"14048:5:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":17777,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17769,"src":"14031:5:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":17776,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"14025:5:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC20_$21824_$","typeString":"type(contract ERC20)"}},"id":17778,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14025:12:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"id":17779,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14038:9:105","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":21467,"src":"14025:22:105","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":17781,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14025:29:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":17782,"name":"minBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17772,"src":"14058:10:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14025:43:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":17784,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"14024:45:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"14014:55:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":17786,"nodeType":"ExpressionStatement","src":"14014:55:105"},{"condition":{"id":17788,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"14099:8:105","subExpression":{"id":17787,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17282,"src":"14100:7:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":17797,"nodeType":"IfStatement","src":"14095:63:105","trueBody":{"expression":{"id":17795,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":17789,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17284,"src":"14109:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":17792,"name":"BalanceTooLow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17254,"src":"14135:13:105","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":17793,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14149:8:105","memberName":"selector","nodeType":"MemberAccess","src":"14135:22:105","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":17790,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"14118:3:105","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":17791,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14122:12:105","memberName":"encodePacked","nodeType":"MemberAccess","src":"14118:16:105","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":17794,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14118:40:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"14109:49:105","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":17796,"nodeType":"ExpressionStatement","src":"14109:49:105"}}]}},"id":17805,"nodeType":"IfStatement","src":"12942:1389:105","trueBody":{"id":17760,"nodeType":"Block","src":"12995:450:105","statements":[{"assignments":[17742],"declarations":[{"constant":false,"id":17742,"mutability":"mutable","name":"batchDetails","nameLocation":"13076:12:105","nodeType":"VariableDeclaration","scope":17760,"src":"13021:67:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_AllowanceTransferDetails_$20914_calldata_ptr_$dyn_calldata_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails[]"},"typeName":{"baseType":{"id":17740,"nodeType":"UserDefinedTypeName","pathNode":{"id":17739,"name":"IAllowanceTransfer.AllowanceTransferDetails","nameLocations":["13021:18:105","13040:24:105"],"nodeType":"IdentifierPath","referencedDeclaration":20914,"src":"13021:43:105"},"referencedDeclaration":20914,"src":"13021:43:105","typeDescriptions":{"typeIdentifier":"t_struct$_AllowanceTransferDetails_$20914_storage_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails"}},"id":17741,"nodeType":"ArrayTypeName","src":"13021:45:105","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_AllowanceTransferDetails_$20914_storage_$dyn_storage_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails[]"}},"visibility":"internal"}],"id":17743,"nodeType":"VariableDeclarationStatement","src":"13021:67:105"},{"assignments":[17745,17747],"declarations":[{"constant":false,"id":17745,"mutability":"mutable","name":"length","nameLocation":"13123:6:105","nodeType":"VariableDeclaration","scope":17760,"src":"13115:14:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17744,"name":"uint256","nodeType":"ElementaryTypeName","src":"13115:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":17747,"mutability":"mutable","name":"offset","nameLocation":"13139:6:105","nodeType":"VariableDeclaration","scope":17760,"src":"13131:14:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17746,"name":"uint256","nodeType":"ElementaryTypeName","src":"13131:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17752,"initialValue":{"arguments":[{"hexValue":"30","id":17750,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13171:1:105","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"id":17748,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"13149:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":17749,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13156:14:105","memberName":"toLengthOffset","nodeType":"MemberAccess","referencedDeclaration":19924,"src":"13149:21:105","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_uint256_$_t_uint256_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (uint256,uint256)"}},"id":17751,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13149:24:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"13114:59:105"},{"AST":{"nativeSrc":"13208:143:105","nodeType":"YulBlock","src":"13208:143:105","statements":[{"nativeSrc":"13238:29:105","nodeType":"YulAssignment","src":"13238:29:105","value":{"name":"length","nativeSrc":"13261:6:105","nodeType":"YulIdentifier","src":"13261:6:105"},"variableNames":[{"name":"batchDetails.length","nativeSrc":"13238:19:105","nodeType":"YulIdentifier","src":"13238:19:105"}]},{"nativeSrc":"13296:29:105","nodeType":"YulAssignment","src":"13296:29:105","value":{"name":"offset","nativeSrc":"13319:6:105","nodeType":"YulIdentifier","src":"13319:6:105"},"variableNames":[{"name":"batchDetails.offset","nativeSrc":"13296:19:105","nodeType":"YulIdentifier","src":"13296:19:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17742,"isOffset":false,"isSlot":false,"src":"13238:19:105","suffix":"length","valueSize":1},{"declaration":17742,"isOffset":true,"isSlot":false,"src":"13296:19:105","suffix":"offset","valueSize":1},{"declaration":17745,"isOffset":false,"isSlot":false,"src":"13261:6:105","valueSize":1},{"declaration":17747,"isOffset":false,"isSlot":false,"src":"13319:6:105","valueSize":1}],"id":17753,"nodeType":"InlineAssembly","src":"13199:152:105"},{"expression":{"arguments":[{"id":17755,"name":"batchDetails","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17742,"src":"13396:12:105","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_AllowanceTransferDetails_$20914_calldata_ptr_$dyn_calldata_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails calldata[] calldata"}},{"arguments":[],"expression":{"argumentTypes":[],"id":17756,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[17274],"referencedDeclaration":17274,"src":"13410:9:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":17757,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13410:11:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_struct$_AllowanceTransferDetails_$20914_calldata_ptr_$dyn_calldata_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails calldata[] calldata"},{"typeIdentifier":"t_address","typeString":"address"}],"id":17754,"name":"permit2TransferFrom","nodeType":"Identifier","overloadedDeclarations":[18749,18793],"referencedDeclaration":18793,"src":"13376:19:105","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_array$_t_struct$_AllowanceTransferDetails_$20914_calldata_ptr_$dyn_calldata_ptr_$_t_address_$returns$__$","typeString":"function (struct IAllowanceTransfer.AllowanceTransferDetails calldata[] calldata,address)"}},"id":17758,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13376:46:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17759,"nodeType":"ExpressionStatement","src":"13376:46:105"}]}},"id":17806,"nodeType":"IfStatement","src":"12429:1902:105","trueBody":{"id":17732,"nodeType":"Block","src":"12466:470:105","statements":[{"assignments":[17717],"declarations":[{"constant":false,"id":17717,"mutability":"mutable","name":"recipient","nameLocation":"12578:9:105","nodeType":"VariableDeclaration","scope":17732,"src":"12570:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17716,"name":"address","nodeType":"ElementaryTypeName","src":"12570:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17718,"nodeType":"VariableDeclarationStatement","src":"12570:17:105"},{"assignments":[17720],"declarations":[{"constant":false,"id":17720,"mutability":"mutable","name":"amountMin","nameLocation":"12621:9:105","nodeType":"VariableDeclaration","scope":17732,"src":"12613:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17719,"name":"uint256","nodeType":"ElementaryTypeName","src":"12613:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17721,"nodeType":"VariableDeclarationStatement","src":"12613:17:105"},{"AST":{"nativeSrc":"12665:176:105","nodeType":"YulBlock","src":"12665:176:105","statements":[{"nativeSrc":"12695:40:105","nodeType":"YulAssignment","src":"12695:40:105","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"12721:13:105","nodeType":"YulIdentifier","src":"12721:13:105"}],"functionName":{"name":"calldataload","nativeSrc":"12708:12:105","nodeType":"YulIdentifier","src":"12708:12:105"},"nativeSrc":"12708:27:105","nodeType":"YulFunctionCall","src":"12708:27:105"},"variableNames":[{"name":"recipient","nativeSrc":"12695:9:105","nodeType":"YulIdentifier","src":"12695:9:105"}]},{"nativeSrc":"12764:51:105","nodeType":"YulAssignment","src":"12764:51:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"12794:13:105","nodeType":"YulIdentifier","src":"12794:13:105"},{"kind":"number","nativeSrc":"12809:4:105","nodeType":"YulLiteral","src":"12809:4:105","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"12790:3:105","nodeType":"YulIdentifier","src":"12790:3:105"},"nativeSrc":"12790:24:105","nodeType":"YulFunctionCall","src":"12790:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"12777:12:105","nodeType":"YulIdentifier","src":"12777:12:105"},"nativeSrc":"12777:38:105","nodeType":"YulFunctionCall","src":"12777:38:105"},"variableNames":[{"name":"amountMin","nativeSrc":"12764:9:105","nodeType":"YulIdentifier","src":"12764:9:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17720,"isOffset":false,"isSlot":false,"src":"12764:9:105","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"12721:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"12794:13:105","suffix":"offset","valueSize":1},{"declaration":17717,"isOffset":false,"isSlot":false,"src":"12695:9:105","valueSize":1}],"id":17722,"nodeType":"InlineAssembly","src":"12656:185:105"},{"expression":{"arguments":[{"arguments":[{"id":17727,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17717,"src":"12891:9:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":17726,"name":"map","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18014,"src":"12887:3:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":17728,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12887:14:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":17729,"name":"amountMin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17720,"src":"12903:9:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":17723,"name":"Payments","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18670,"src":"12866:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Payments_$18670_$","typeString":"type(contract Payments)"}},"id":17725,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12875:11:105","memberName":"unwrapWETH9","nodeType":"MemberAccess","referencedDeclaration":18669,"src":"12866:20:105","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":17730,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12866:47:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17731,"nodeType":"ExpressionStatement","src":"12866:47:105"}]}},"id":17807,"nodeType":"IfStatement","src":"11932:2399:105","trueBody":{"id":17711,"nodeType":"Block","src":"11966:457:105","statements":[{"assignments":[17696],"declarations":[{"constant":false,"id":17696,"mutability":"mutable","name":"recipient","nameLocation":"12078:9:105","nodeType":"VariableDeclaration","scope":17711,"src":"12070:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17695,"name":"address","nodeType":"ElementaryTypeName","src":"12070:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17697,"nodeType":"VariableDeclarationStatement","src":"12070:17:105"},{"assignments":[17699],"declarations":[{"constant":false,"id":17699,"mutability":"mutable","name":"amount","nameLocation":"12121:6:105","nodeType":"VariableDeclaration","scope":17711,"src":"12113:14:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17698,"name":"uint256","nodeType":"ElementaryTypeName","src":"12113:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17700,"nodeType":"VariableDeclarationStatement","src":"12113:14:105"},{"AST":{"nativeSrc":"12162:173:105","nodeType":"YulBlock","src":"12162:173:105","statements":[{"nativeSrc":"12192:40:105","nodeType":"YulAssignment","src":"12192:40:105","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"12218:13:105","nodeType":"YulIdentifier","src":"12218:13:105"}],"functionName":{"name":"calldataload","nativeSrc":"12205:12:105","nodeType":"YulIdentifier","src":"12205:12:105"},"nativeSrc":"12205:27:105","nodeType":"YulFunctionCall","src":"12205:27:105"},"variableNames":[{"name":"recipient","nativeSrc":"12192:9:105","nodeType":"YulIdentifier","src":"12192:9:105"}]},{"nativeSrc":"12261:48:105","nodeType":"YulAssignment","src":"12261:48:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"12288:13:105","nodeType":"YulIdentifier","src":"12288:13:105"},{"kind":"number","nativeSrc":"12303:4:105","nodeType":"YulLiteral","src":"12303:4:105","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"12284:3:105","nodeType":"YulIdentifier","src":"12284:3:105"},"nativeSrc":"12284:24:105","nodeType":"YulFunctionCall","src":"12284:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"12271:12:105","nodeType":"YulIdentifier","src":"12271:12:105"},"nativeSrc":"12271:38:105","nodeType":"YulFunctionCall","src":"12271:38:105"},"variableNames":[{"name":"amount","nativeSrc":"12261:6:105","nodeType":"YulIdentifier","src":"12261:6:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17699,"isOffset":false,"isSlot":false,"src":"12261:6:105","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"12218:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"12288:13:105","suffix":"offset","valueSize":1},{"declaration":17696,"isOffset":false,"isSlot":false,"src":"12192:9:105","valueSize":1}],"id":17701,"nodeType":"InlineAssembly","src":"12153:182:105"},{"expression":{"arguments":[{"arguments":[{"id":17706,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17696,"src":"12381:9:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":17705,"name":"map","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18014,"src":"12377:3:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":17707,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12377:14:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":17708,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17699,"src":"12393:6:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":17702,"name":"Payments","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18670,"src":"12360:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Payments_$18670_$","typeString":"type(contract Payments)"}},"id":17704,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12369:7:105","memberName":"wrapETH","nodeType":"MemberAccess","referencedDeclaration":18617,"src":"12360:16:105","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":17709,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12360:40:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17710,"nodeType":"ExpressionStatement","src":"12360:40:105"}]}},"id":17808,"nodeType":"IfStatement","src":"11045:3286:105","trueBody":{"id":17690,"nodeType":"Block","src":"11085:841:105","statements":[{"assignments":[17661],"declarations":[{"constant":false,"id":17661,"mutability":"mutable","name":"permitSingle","nameLocation":"11252:12:105","nodeType":"VariableDeclaration","scope":17690,"src":"11211:53:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PermitSingle_$20880_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitSingle"},"typeName":{"id":17660,"nodeType":"UserDefinedTypeName","pathNode":{"id":17659,"name":"IAllowanceTransfer.PermitSingle","nameLocations":["11211:18:105","11230:12:105"],"nodeType":"IdentifierPath","referencedDeclaration":20880,"src":"11211:31:105"},"referencedDeclaration":20880,"src":"11211:31:105","typeDescriptions":{"typeIdentifier":"t_struct$_PermitSingle_$20880_storage_ptr","typeString":"struct IAllowanceTransfer.PermitSingle"}},"visibility":"internal"}],"id":17662,"nodeType":"VariableDeclarationStatement","src":"11211:53:105"},{"AST":{"nativeSrc":"11299:85:105","nodeType":"YulBlock","src":"11299:85:105","statements":[{"nativeSrc":"11329:29:105","nodeType":"YulAssignment","src":"11329:29:105","value":{"name":"inputs.offset","nativeSrc":"11345:13:105","nodeType":"YulIdentifier","src":"11345:13:105"},"variableNames":[{"name":"permitSingle","nativeSrc":"11329:12:105","nodeType":"YulIdentifier","src":"11329:12:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17279,"isOffset":true,"isSlot":false,"src":"11345:13:105","suffix":"offset","valueSize":1},{"declaration":17661,"isOffset":false,"isSlot":false,"src":"11329:12:105","valueSize":1}],"id":17663,"nodeType":"InlineAssembly","src":"11290:94:105"},{"assignments":[17665],"declarations":[{"constant":false,"id":17665,"mutability":"mutable","name":"data","nameLocation":"11424:4:105","nodeType":"VariableDeclaration","scope":17690,"src":"11409:19:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":17664,"name":"bytes","nodeType":"ElementaryTypeName","src":"11409:5:105","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":17670,"initialValue":{"arguments":[{"hexValue":"36","id":17668,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11446:1:105","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"}],"expression":{"id":17666,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"11431:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":17667,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11438:7:105","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":16367,"src":"11431:14:105","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (bytes calldata)"}},"id":17669,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11431:17:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"VariableDeclarationStatement","src":"11409:39:105"},{"expression":{"id":17688,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":17671,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17282,"src":"11518:7:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":17672,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17284,"src":"11527:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":17673,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"11517:17:105","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"hexValue":"7065726d697428616464726573732c2828616464726573732c75696e743136302c75696e7434382c75696e743438292c616464726573732c75696e74323536292c627974657329","id":17681,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"11645:73:105","typeDescriptions":{"typeIdentifier":"t_stringliteral_2b67b570c59a90b23ef7a9dfad7cca7ff80f767ab7e58c74bb31ad70f717a3b7","typeString":"literal_string \"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\""},"value":"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)"},{"arguments":[],"expression":{"argumentTypes":[],"id":17682,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[17274],"referencedDeclaration":17274,"src":"11752:9:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":17683,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11752:11:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":17684,"name":"permitSingle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17661,"src":"11797:12:105","typeDescriptions":{"typeIdentifier":"t_struct$_PermitSingle_$20880_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitSingle calldata"}},{"id":17685,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17665,"src":"11843:4:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_2b67b570c59a90b23ef7a9dfad7cca7ff80f767ab7e58c74bb31ad70f717a3b7","typeString":"literal_string \"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\""},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_struct$_PermitSingle_$20880_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitSingle calldata"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"id":17679,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"11588:3:105","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":17680,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11592:19:105","memberName":"encodeWithSignature","nodeType":"MemberAccess","src":"11588:23:105","typeDescriptions":{"typeIdentifier":"t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (string memory) pure returns (bytes memory)"}},"id":17686,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11588:289:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"arguments":[{"id":17676,"name":"PERMIT2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18689,"src":"11545:7:105","typeDescriptions":{"typeIdentifier":"t_contract$_IPermit2_$21036","typeString":"contract IPermit2"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPermit2_$21036","typeString":"contract IPermit2"}],"id":17675,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11537:7:105","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17674,"name":"address","nodeType":"ElementaryTypeName","src":"11537:7:105","typeDescriptions":{}}},"id":17677,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11537:16:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17678,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11554:4:105","memberName":"call","nodeType":"MemberAccess","src":"11537:21:105","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":17687,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11537:366:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"src":"11517:386:105","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17689,"nodeType":"ExpressionStatement","src":"11517:386:105"}]}},"id":17809,"nodeType":"IfStatement","src":"10001:4330:105","trueBody":{"id":17652,"nodeType":"Block","src":"10044:995:105","statements":[{"assignments":[17609],"declarations":[{"constant":false,"id":17609,"mutability":"mutable","name":"recipient","nameLocation":"10178:9:105","nodeType":"VariableDeclaration","scope":17652,"src":"10170:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17608,"name":"address","nodeType":"ElementaryTypeName","src":"10170:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17610,"nodeType":"VariableDeclarationStatement","src":"10170:17:105"},{"assignments":[17612],"declarations":[{"constant":false,"id":17612,"mutability":"mutable","name":"amountOut","nameLocation":"10221:9:105","nodeType":"VariableDeclaration","scope":17652,"src":"10213:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17611,"name":"uint256","nodeType":"ElementaryTypeName","src":"10213:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17613,"nodeType":"VariableDeclarationStatement","src":"10213:17:105"},{"assignments":[17615],"declarations":[{"constant":false,"id":17615,"mutability":"mutable","name":"amountInMax","nameLocation":"10264:11:105","nodeType":"VariableDeclaration","scope":17652,"src":"10256:19:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17614,"name":"uint256","nodeType":"ElementaryTypeName","src":"10256:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17616,"nodeType":"VariableDeclarationStatement","src":"10256:19:105"},{"assignments":[17618],"declarations":[{"constant":false,"id":17618,"mutability":"mutable","name":"payerIsUser","nameLocation":"10306:11:105","nodeType":"VariableDeclaration","scope":17652,"src":"10301:16:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":17617,"name":"bool","nodeType":"ElementaryTypeName","src":"10301:4:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":17619,"nodeType":"VariableDeclarationStatement","src":"10301:16:105"},{"AST":{"nativeSrc":"10352:410:105","nodeType":"YulBlock","src":"10352:410:105","statements":[{"nativeSrc":"10382:40:105","nodeType":"YulAssignment","src":"10382:40:105","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"10408:13:105","nodeType":"YulIdentifier","src":"10408:13:105"}],"functionName":{"name":"calldataload","nativeSrc":"10395:12:105","nodeType":"YulIdentifier","src":"10395:12:105"},"nativeSrc":"10395:27:105","nodeType":"YulFunctionCall","src":"10395:27:105"},"variableNames":[{"name":"recipient","nativeSrc":"10382:9:105","nodeType":"YulIdentifier","src":"10382:9:105"}]},{"nativeSrc":"10451:51:105","nodeType":"YulAssignment","src":"10451:51:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"10481:13:105","nodeType":"YulIdentifier","src":"10481:13:105"},{"kind":"number","nativeSrc":"10496:4:105","nodeType":"YulLiteral","src":"10496:4:105","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"10477:3:105","nodeType":"YulIdentifier","src":"10477:3:105"},"nativeSrc":"10477:24:105","nodeType":"YulFunctionCall","src":"10477:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"10464:12:105","nodeType":"YulIdentifier","src":"10464:12:105"},"nativeSrc":"10464:38:105","nodeType":"YulFunctionCall","src":"10464:38:105"},"variableNames":[{"name":"amountOut","nativeSrc":"10451:9:105","nodeType":"YulIdentifier","src":"10451:9:105"}]},{"nativeSrc":"10531:53:105","nodeType":"YulAssignment","src":"10531:53:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"10563:13:105","nodeType":"YulIdentifier","src":"10563:13:105"},{"kind":"number","nativeSrc":"10578:4:105","nodeType":"YulLiteral","src":"10578:4:105","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"10559:3:105","nodeType":"YulIdentifier","src":"10559:3:105"},"nativeSrc":"10559:24:105","nodeType":"YulFunctionCall","src":"10559:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"10546:12:105","nodeType":"YulIdentifier","src":"10546:12:105"},"nativeSrc":"10546:38:105","nodeType":"YulFunctionCall","src":"10546:38:105"},"variableNames":[{"name":"amountInMax","nativeSrc":"10531:11:105","nodeType":"YulIdentifier","src":"10531:11:105"}]},{"nativeSrc":"10683:53:105","nodeType":"YulAssignment","src":"10683:53:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"10715:13:105","nodeType":"YulIdentifier","src":"10715:13:105"},{"kind":"number","nativeSrc":"10730:4:105","nodeType":"YulLiteral","src":"10730:4:105","type":"","value":"0x80"}],"functionName":{"name":"add","nativeSrc":"10711:3:105","nodeType":"YulIdentifier","src":"10711:3:105"},"nativeSrc":"10711:24:105","nodeType":"YulFunctionCall","src":"10711:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"10698:12:105","nodeType":"YulIdentifier","src":"10698:12:105"},"nativeSrc":"10698:38:105","nodeType":"YulFunctionCall","src":"10698:38:105"},"variableNames":[{"name":"payerIsUser","nativeSrc":"10683:11:105","nodeType":"YulIdentifier","src":"10683:11:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17615,"isOffset":false,"isSlot":false,"src":"10531:11:105","valueSize":1},{"declaration":17612,"isOffset":false,"isSlot":false,"src":"10451:9:105","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"10408:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"10481:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"10563:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"10715:13:105","suffix":"offset","valueSize":1},{"declaration":17618,"isOffset":false,"isSlot":false,"src":"10683:11:105","valueSize":1},{"declaration":17609,"isOffset":false,"isSlot":false,"src":"10382:9:105","valueSize":1}],"id":17620,"nodeType":"InlineAssembly","src":"10343:419:105"},{"assignments":[17625],"declarations":[{"constant":false,"id":17625,"mutability":"mutable","name":"path","nameLocation":"10806:4:105","nodeType":"VariableDeclaration","scope":17652,"src":"10787:23:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":17623,"name":"address","nodeType":"ElementaryTypeName","src":"10787:7:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17624,"nodeType":"ArrayTypeName","src":"10787:9:105","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"}],"id":17630,"initialValue":{"arguments":[{"hexValue":"33","id":17628,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10835:1:105","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"}],"expression":{"id":17626,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"10813:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":17627,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10820:14:105","memberName":"toAddressArray","nodeType":"MemberAccess","referencedDeclaration":19946,"src":"10813:21:105","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_array$_t_address_$dyn_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (address[] calldata)"}},"id":17629,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10813:24:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"nodeType":"VariableDeclarationStatement","src":"10787:50:105"},{"assignments":[17632],"declarations":[{"constant":false,"id":17632,"mutability":"mutable","name":"payer","nameLocation":"10871:5:105","nodeType":"VariableDeclaration","scope":17652,"src":"10863:13:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17631,"name":"address","nodeType":"ElementaryTypeName","src":"10863:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17641,"initialValue":{"condition":{"id":17633,"name":"payerIsUser","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17618,"src":"10879:11:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":17638,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"10915:4:105","typeDescriptions":{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}],"id":17637,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10907:7:105","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17636,"name":"address","nodeType":"ElementaryTypeName","src":"10907:7:105","typeDescriptions":{}}},"id":17639,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10907:13:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17640,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"10879:41:105","trueExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":17634,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[17274],"referencedDeclaration":17274,"src":"10893:9:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":17635,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10893:11:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"10863:57:105"},{"expression":{"arguments":[{"arguments":[{"id":17644,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17609,"src":"10968:9:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":17643,"name":"map","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18014,"src":"10964:3:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":17645,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10964:14:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":17646,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17612,"src":"10980:9:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":17647,"name":"amountInMax","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17615,"src":"10991:11:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":17648,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17625,"src":"11004:4:105","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},{"id":17649,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17632,"src":"11010:5:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"},{"typeIdentifier":"t_address","typeString":"address"}],"id":17642,"name":"v2SwapExactOutput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19843,"src":"10946:17:105","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_array$_t_address_$dyn_calldata_ptr_$_t_address_$returns$__$","typeString":"function (address,uint256,uint256,address[] calldata,address)"}},"id":17650,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10946:70:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17651,"nodeType":"ExpressionStatement","src":"10946:70:105"}]}},"id":17810,"nodeType":"IfStatement","src":"8959:5372:105","trueBody":{"id":17603,"nodeType":"Block","src":"9001:994:105","statements":[{"assignments":[17560],"declarations":[{"constant":false,"id":17560,"mutability":"mutable","name":"recipient","nameLocation":"9135:9:105","nodeType":"VariableDeclaration","scope":17603,"src":"9127:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17559,"name":"address","nodeType":"ElementaryTypeName","src":"9127:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17561,"nodeType":"VariableDeclarationStatement","src":"9127:17:105"},{"assignments":[17563],"declarations":[{"constant":false,"id":17563,"mutability":"mutable","name":"amountIn","nameLocation":"9178:8:105","nodeType":"VariableDeclaration","scope":17603,"src":"9170:16:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17562,"name":"uint256","nodeType":"ElementaryTypeName","src":"9170:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17564,"nodeType":"VariableDeclarationStatement","src":"9170:16:105"},{"assignments":[17566],"declarations":[{"constant":false,"id":17566,"mutability":"mutable","name":"amountOutMin","nameLocation":"9220:12:105","nodeType":"VariableDeclaration","scope":17603,"src":"9212:20:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17565,"name":"uint256","nodeType":"ElementaryTypeName","src":"9212:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17567,"nodeType":"VariableDeclarationStatement","src":"9212:20:105"},{"assignments":[17569],"declarations":[{"constant":false,"id":17569,"mutability":"mutable","name":"payerIsUser","nameLocation":"9263:11:105","nodeType":"VariableDeclaration","scope":17603,"src":"9258:16:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":17568,"name":"bool","nodeType":"ElementaryTypeName","src":"9258:4:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":17570,"nodeType":"VariableDeclarationStatement","src":"9258:16:105"},{"AST":{"nativeSrc":"9309:410:105","nodeType":"YulBlock","src":"9309:410:105","statements":[{"nativeSrc":"9339:40:105","nodeType":"YulAssignment","src":"9339:40:105","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"9365:13:105","nodeType":"YulIdentifier","src":"9365:13:105"}],"functionName":{"name":"calldataload","nativeSrc":"9352:12:105","nodeType":"YulIdentifier","src":"9352:12:105"},"nativeSrc":"9352:27:105","nodeType":"YulFunctionCall","src":"9352:27:105"},"variableNames":[{"name":"recipient","nativeSrc":"9339:9:105","nodeType":"YulIdentifier","src":"9339:9:105"}]},{"nativeSrc":"9408:50:105","nodeType":"YulAssignment","src":"9408:50:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"9437:13:105","nodeType":"YulIdentifier","src":"9437:13:105"},{"kind":"number","nativeSrc":"9452:4:105","nodeType":"YulLiteral","src":"9452:4:105","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"9433:3:105","nodeType":"YulIdentifier","src":"9433:3:105"},"nativeSrc":"9433:24:105","nodeType":"YulFunctionCall","src":"9433:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"9420:12:105","nodeType":"YulIdentifier","src":"9420:12:105"},"nativeSrc":"9420:38:105","nodeType":"YulFunctionCall","src":"9420:38:105"},"variableNames":[{"name":"amountIn","nativeSrc":"9408:8:105","nodeType":"YulIdentifier","src":"9408:8:105"}]},{"nativeSrc":"9487:54:105","nodeType":"YulAssignment","src":"9487:54:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"9520:13:105","nodeType":"YulIdentifier","src":"9520:13:105"},{"kind":"number","nativeSrc":"9535:4:105","nodeType":"YulLiteral","src":"9535:4:105","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"9516:3:105","nodeType":"YulIdentifier","src":"9516:3:105"},"nativeSrc":"9516:24:105","nodeType":"YulFunctionCall","src":"9516:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"9503:12:105","nodeType":"YulIdentifier","src":"9503:12:105"},"nativeSrc":"9503:38:105","nodeType":"YulFunctionCall","src":"9503:38:105"},"variableNames":[{"name":"amountOutMin","nativeSrc":"9487:12:105","nodeType":"YulIdentifier","src":"9487:12:105"}]},{"nativeSrc":"9640:53:105","nodeType":"YulAssignment","src":"9640:53:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"9672:13:105","nodeType":"YulIdentifier","src":"9672:13:105"},{"kind":"number","nativeSrc":"9687:4:105","nodeType":"YulLiteral","src":"9687:4:105","type":"","value":"0x80"}],"functionName":{"name":"add","nativeSrc":"9668:3:105","nodeType":"YulIdentifier","src":"9668:3:105"},"nativeSrc":"9668:24:105","nodeType":"YulFunctionCall","src":"9668:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"9655:12:105","nodeType":"YulIdentifier","src":"9655:12:105"},"nativeSrc":"9655:38:105","nodeType":"YulFunctionCall","src":"9655:38:105"},"variableNames":[{"name":"payerIsUser","nativeSrc":"9640:11:105","nodeType":"YulIdentifier","src":"9640:11:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17563,"isOffset":false,"isSlot":false,"src":"9408:8:105","valueSize":1},{"declaration":17566,"isOffset":false,"isSlot":false,"src":"9487:12:105","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"9365:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"9437:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"9520:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"9672:13:105","suffix":"offset","valueSize":1},{"declaration":17569,"isOffset":false,"isSlot":false,"src":"9640:11:105","valueSize":1},{"declaration":17560,"isOffset":false,"isSlot":false,"src":"9339:9:105","valueSize":1}],"id":17571,"nodeType":"InlineAssembly","src":"9300:419:105"},{"assignments":[17576],"declarations":[{"constant":false,"id":17576,"mutability":"mutable","name":"path","nameLocation":"9763:4:105","nodeType":"VariableDeclaration","scope":17603,"src":"9744:23:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":17574,"name":"address","nodeType":"ElementaryTypeName","src":"9744:7:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17575,"nodeType":"ArrayTypeName","src":"9744:9:105","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"}],"id":17581,"initialValue":{"arguments":[{"hexValue":"33","id":17579,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9792:1:105","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"}],"expression":{"id":17577,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"9770:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":17578,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9777:14:105","memberName":"toAddressArray","nodeType":"MemberAccess","referencedDeclaration":19946,"src":"9770:21:105","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_array$_t_address_$dyn_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (address[] calldata)"}},"id":17580,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9770:24:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"nodeType":"VariableDeclarationStatement","src":"9744:50:105"},{"assignments":[17583],"declarations":[{"constant":false,"id":17583,"mutability":"mutable","name":"payer","nameLocation":"9828:5:105","nodeType":"VariableDeclaration","scope":17603,"src":"9820:13:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17582,"name":"address","nodeType":"ElementaryTypeName","src":"9820:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17592,"initialValue":{"condition":{"id":17584,"name":"payerIsUser","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17569,"src":"9836:11:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":17589,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"9872:4:105","typeDescriptions":{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}],"id":17588,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9864:7:105","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17587,"name":"address","nodeType":"ElementaryTypeName","src":"9864:7:105","typeDescriptions":{}}},"id":17590,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9864:13:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17591,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"9836:41:105","trueExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":17585,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[17274],"referencedDeclaration":17274,"src":"9850:9:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":17586,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9850:11:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"9820:57:105"},{"expression":{"arguments":[{"arguments":[{"id":17595,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17560,"src":"9924:9:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":17594,"name":"map","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18014,"src":"9920:3:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":17596,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9920:14:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":17597,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17563,"src":"9936:8:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":17598,"name":"amountOutMin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17566,"src":"9946:12:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":17599,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17576,"src":"9960:4:105","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},{"id":17600,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17583,"src":"9966:5:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"},{"typeIdentifier":"t_address","typeString":"address"}],"id":17593,"name":"v2SwapExactInput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19793,"src":"9903:16:105","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_array$_t_address_$dyn_calldata_ptr_$_t_address_$returns$__$","typeString":"function (address,uint256,uint256,address[] calldata,address)"}},"id":17601,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9903:69:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17602,"nodeType":"ExpressionStatement","src":"9903:69:105"}]}}]},"id":17812,"nodeType":"IfStatement","src":"3080:11269:105","trueBody":{"id":17554,"nodeType":"Block","src":"3121:5764:105","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17315,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17312,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"3147:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17313,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"3158:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17314,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3167:16:105","memberName":"V3_SWAP_EXACT_IN","nodeType":"MemberAccess","referencedDeclaration":18131,"src":"3158:25:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3147:36:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17361,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17358,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"4178:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17359,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"4189:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17360,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4198:17:105","memberName":"V3_SWAP_EXACT_OUT","nodeType":"MemberAccess","referencedDeclaration":18134,"src":"4189:26:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4178:37:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17407,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17404,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"5211:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17405,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"5222:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17406,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5231:21:105","memberName":"PERMIT2_TRANSFER_FROM","nodeType":"MemberAccess","referencedDeclaration":18137,"src":"5222:30:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5211:41:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17432,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17429,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"5868:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17430,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"5879:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17431,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5888:20:105","memberName":"PERMIT2_PERMIT_BATCH","nodeType":"MemberAccess","referencedDeclaration":18140,"src":"5879:29:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5868:40:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17470,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17467,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"6843:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17468,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"6854:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17469,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6863:5:105","memberName":"SWEEP","nodeType":"MemberAccess","referencedDeclaration":18143,"src":"6854:14:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6843:25:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17495,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17492,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"7476:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17493,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"7487:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17494,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7496:8:105","memberName":"TRANSFER","nodeType":"MemberAccess","referencedDeclaration":18146,"src":"7487:17:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7476:28:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":17520,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17517,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"8098:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17518,"name":"Commands","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18189,"src":"8109:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Commands_$18189_$","typeString":"type(library Commands)"}},"id":17519,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8118:11:105","memberName":"PAY_PORTION","nodeType":"MemberAccess","referencedDeclaration":18149,"src":"8109:20:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8098:31:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":17546,"nodeType":"Block","src":"8723:144:105","statements":[{"errorCall":{"arguments":[{"id":17543,"name":"command","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17287,"src":"8836:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":17542,"name":"InvalidCommandType","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17252,"src":"8817:18:105","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":17544,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8817:27:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":17545,"nodeType":"RevertStatement","src":"8810:34:105"}]},"id":17547,"nodeType":"IfStatement","src":"8094:773:105","trueBody":{"id":17541,"nodeType":"Block","src":"8131:586:105","statements":[{"assignments":[17522],"declarations":[{"constant":false,"id":17522,"mutability":"mutable","name":"token","nameLocation":"8253:5:105","nodeType":"VariableDeclaration","scope":17541,"src":"8245:13:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17521,"name":"address","nodeType":"ElementaryTypeName","src":"8245:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17523,"nodeType":"VariableDeclarationStatement","src":"8245:13:105"},{"assignments":[17525],"declarations":[{"constant":false,"id":17525,"mutability":"mutable","name":"recipient","nameLocation":"8292:9:105","nodeType":"VariableDeclaration","scope":17541,"src":"8284:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17524,"name":"address","nodeType":"ElementaryTypeName","src":"8284:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17526,"nodeType":"VariableDeclarationStatement","src":"8284:17:105"},{"assignments":[17528],"declarations":[{"constant":false,"id":17528,"mutability":"mutable","name":"bips","nameLocation":"8335:4:105","nodeType":"VariableDeclaration","scope":17541,"src":"8327:12:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17527,"name":"uint256","nodeType":"ElementaryTypeName","src":"8327:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17529,"nodeType":"VariableDeclarationStatement","src":"8327:12:105"},{"AST":{"nativeSrc":"8374:247:105","nodeType":"YulBlock","src":"8374:247:105","statements":[{"nativeSrc":"8404:36:105","nodeType":"YulAssignment","src":"8404:36:105","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"8426:13:105","nodeType":"YulIdentifier","src":"8426:13:105"}],"functionName":{"name":"calldataload","nativeSrc":"8413:12:105","nodeType":"YulIdentifier","src":"8413:12:105"},"nativeSrc":"8413:27:105","nodeType":"YulFunctionCall","src":"8413:27:105"},"variableNames":[{"name":"token","nativeSrc":"8404:5:105","nodeType":"YulIdentifier","src":"8404:5:105"}]},{"nativeSrc":"8469:51:105","nodeType":"YulAssignment","src":"8469:51:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"8499:13:105","nodeType":"YulIdentifier","src":"8499:13:105"},{"kind":"number","nativeSrc":"8514:4:105","nodeType":"YulLiteral","src":"8514:4:105","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"8495:3:105","nodeType":"YulIdentifier","src":"8495:3:105"},"nativeSrc":"8495:24:105","nodeType":"YulFunctionCall","src":"8495:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"8482:12:105","nodeType":"YulIdentifier","src":"8482:12:105"},"nativeSrc":"8482:38:105","nodeType":"YulFunctionCall","src":"8482:38:105"},"variableNames":[{"name":"recipient","nativeSrc":"8469:9:105","nodeType":"YulIdentifier","src":"8469:9:105"}]},{"nativeSrc":"8549:46:105","nodeType":"YulAssignment","src":"8549:46:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"8574:13:105","nodeType":"YulIdentifier","src":"8574:13:105"},{"kind":"number","nativeSrc":"8589:4:105","nodeType":"YulLiteral","src":"8589:4:105","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"8570:3:105","nodeType":"YulIdentifier","src":"8570:3:105"},"nativeSrc":"8570:24:105","nodeType":"YulFunctionCall","src":"8570:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"8557:12:105","nodeType":"YulIdentifier","src":"8557:12:105"},"nativeSrc":"8557:38:105","nodeType":"YulFunctionCall","src":"8557:38:105"},"variableNames":[{"name":"bips","nativeSrc":"8549:4:105","nodeType":"YulIdentifier","src":"8549:4:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17528,"isOffset":false,"isSlot":false,"src":"8549:4:105","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"8426:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"8499:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"8574:13:105","suffix":"offset","valueSize":1},{"declaration":17525,"isOffset":false,"isSlot":false,"src":"8469:9:105","valueSize":1},{"declaration":17522,"isOffset":false,"isSlot":false,"src":"8404:5:105","valueSize":1}],"id":17530,"nodeType":"InlineAssembly","src":"8365:256:105"},{"expression":{"arguments":[{"id":17534,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17522,"src":"8666:5:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":17536,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17525,"src":"8677:9:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":17535,"name":"map","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18014,"src":"8673:3:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":17537,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8673:14:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":17538,"name":"bips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17528,"src":"8689:4:105","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":17531,"name":"Payments","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18670,"src":"8646:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Payments_$18670_$","typeString":"type(contract Payments)"}},"id":17533,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8655:10:105","memberName":"payPortion","nodeType":"MemberAccess","referencedDeclaration":18478,"src":"8646:19:105","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":17539,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8646:48:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17540,"nodeType":"ExpressionStatement","src":"8646:48:105"}]}},"id":17548,"nodeType":"IfStatement","src":"7472:1395:105","trueBody":{"id":17516,"nodeType":"Block","src":"7506:582:105","statements":[{"assignments":[17497],"declarations":[{"constant":false,"id":17497,"mutability":"mutable","name":"token","nameLocation":"7628:5:105","nodeType":"VariableDeclaration","scope":17516,"src":"7620:13:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17496,"name":"address","nodeType":"ElementaryTypeName","src":"7620:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17498,"nodeType":"VariableDeclarationStatement","src":"7620:13:105"},{"assignments":[17500],"declarations":[{"constant":false,"id":17500,"mutability":"mutable","name":"recipient","nameLocation":"7667:9:105","nodeType":"VariableDeclaration","scope":17516,"src":"7659:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17499,"name":"address","nodeType":"ElementaryTypeName","src":"7659:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17501,"nodeType":"VariableDeclarationStatement","src":"7659:17:105"},{"assignments":[17503],"declarations":[{"constant":false,"id":17503,"mutability":"mutable","name":"value","nameLocation":"7710:5:105","nodeType":"VariableDeclaration","scope":17516,"src":"7702:13:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17502,"name":"uint256","nodeType":"ElementaryTypeName","src":"7702:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17504,"nodeType":"VariableDeclarationStatement","src":"7702:13:105"},{"AST":{"nativeSrc":"7750:248:105","nodeType":"YulBlock","src":"7750:248:105","statements":[{"nativeSrc":"7780:36:105","nodeType":"YulAssignment","src":"7780:36:105","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"7802:13:105","nodeType":"YulIdentifier","src":"7802:13:105"}],"functionName":{"name":"calldataload","nativeSrc":"7789:12:105","nodeType":"YulIdentifier","src":"7789:12:105"},"nativeSrc":"7789:27:105","nodeType":"YulFunctionCall","src":"7789:27:105"},"variableNames":[{"name":"token","nativeSrc":"7780:5:105","nodeType":"YulIdentifier","src":"7780:5:105"}]},{"nativeSrc":"7845:51:105","nodeType":"YulAssignment","src":"7845:51:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"7875:13:105","nodeType":"YulIdentifier","src":"7875:13:105"},{"kind":"number","nativeSrc":"7890:4:105","nodeType":"YulLiteral","src":"7890:4:105","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"7871:3:105","nodeType":"YulIdentifier","src":"7871:3:105"},"nativeSrc":"7871:24:105","nodeType":"YulFunctionCall","src":"7871:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"7858:12:105","nodeType":"YulIdentifier","src":"7858:12:105"},"nativeSrc":"7858:38:105","nodeType":"YulFunctionCall","src":"7858:38:105"},"variableNames":[{"name":"recipient","nativeSrc":"7845:9:105","nodeType":"YulIdentifier","src":"7845:9:105"}]},{"nativeSrc":"7925:47:105","nodeType":"YulAssignment","src":"7925:47:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"7951:13:105","nodeType":"YulIdentifier","src":"7951:13:105"},{"kind":"number","nativeSrc":"7966:4:105","nodeType":"YulLiteral","src":"7966:4:105","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"7947:3:105","nodeType":"YulIdentifier","src":"7947:3:105"},"nativeSrc":"7947:24:105","nodeType":"YulFunctionCall","src":"7947:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"7934:12:105","nodeType":"YulIdentifier","src":"7934:12:105"},"nativeSrc":"7934:38:105","nodeType":"YulFunctionCall","src":"7934:38:105"},"variableNames":[{"name":"value","nativeSrc":"7925:5:105","nodeType":"YulIdentifier","src":"7925:5:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17279,"isOffset":true,"isSlot":false,"src":"7802:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"7875:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"7951:13:105","suffix":"offset","valueSize":1},{"declaration":17500,"isOffset":false,"isSlot":false,"src":"7845:9:105","valueSize":1},{"declaration":17497,"isOffset":false,"isSlot":false,"src":"7780:5:105","valueSize":1},{"declaration":17503,"isOffset":false,"isSlot":false,"src":"7925:5:105","valueSize":1}],"id":17505,"nodeType":"InlineAssembly","src":"7741:257:105"},{"expression":{"arguments":[{"id":17509,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17497,"src":"8036:5:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":17511,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17500,"src":"8047:9:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":17510,"name":"map","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18014,"src":"8043:3:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":17512,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8043:14:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":17513,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17503,"src":"8059:5:105","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":17506,"name":"Payments","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18670,"src":"8023:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Payments_$18670_$","typeString":"type(contract Payments)"}},"id":17508,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8032:3:105","memberName":"pay","nodeType":"MemberAccess","referencedDeclaration":18412,"src":"8023:12:105","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":17514,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8023:42:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17515,"nodeType":"ExpressionStatement","src":"8023:42:105"}]}},"id":17549,"nodeType":"IfStatement","src":"6839:2028:105","trueBody":{"id":17491,"nodeType":"Block","src":"6870:596:105","statements":[{"assignments":[17472],"declarations":[{"constant":false,"id":17472,"mutability":"mutable","name":"token","nameLocation":"6992:5:105","nodeType":"VariableDeclaration","scope":17491,"src":"6984:13:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17471,"name":"address","nodeType":"ElementaryTypeName","src":"6984:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17473,"nodeType":"VariableDeclarationStatement","src":"6984:13:105"},{"assignments":[17475],"declarations":[{"constant":false,"id":17475,"mutability":"mutable","name":"recipient","nameLocation":"7031:9:105","nodeType":"VariableDeclaration","scope":17491,"src":"7023:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17474,"name":"address","nodeType":"ElementaryTypeName","src":"7023:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17476,"nodeType":"VariableDeclarationStatement","src":"7023:17:105"},{"assignments":[17478],"declarations":[{"constant":false,"id":17478,"mutability":"mutable","name":"amountMin","nameLocation":"7074:9:105","nodeType":"VariableDeclaration","scope":17491,"src":"7066:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":17477,"name":"uint160","nodeType":"ElementaryTypeName","src":"7066:7:105","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"id":17479,"nodeType":"VariableDeclarationStatement","src":"7066:17:105"},{"AST":{"nativeSrc":"7118:252:105","nodeType":"YulBlock","src":"7118:252:105","statements":[{"nativeSrc":"7148:36:105","nodeType":"YulAssignment","src":"7148:36:105","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"7170:13:105","nodeType":"YulIdentifier","src":"7170:13:105"}],"functionName":{"name":"calldataload","nativeSrc":"7157:12:105","nodeType":"YulIdentifier","src":"7157:12:105"},"nativeSrc":"7157:27:105","nodeType":"YulFunctionCall","src":"7157:27:105"},"variableNames":[{"name":"token","nativeSrc":"7148:5:105","nodeType":"YulIdentifier","src":"7148:5:105"}]},{"nativeSrc":"7213:51:105","nodeType":"YulAssignment","src":"7213:51:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"7243:13:105","nodeType":"YulIdentifier","src":"7243:13:105"},{"kind":"number","nativeSrc":"7258:4:105","nodeType":"YulLiteral","src":"7258:4:105","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"7239:3:105","nodeType":"YulIdentifier","src":"7239:3:105"},"nativeSrc":"7239:24:105","nodeType":"YulFunctionCall","src":"7239:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"7226:12:105","nodeType":"YulIdentifier","src":"7226:12:105"},"nativeSrc":"7226:38:105","nodeType":"YulFunctionCall","src":"7226:38:105"},"variableNames":[{"name":"recipient","nativeSrc":"7213:9:105","nodeType":"YulIdentifier","src":"7213:9:105"}]},{"nativeSrc":"7293:51:105","nodeType":"YulAssignment","src":"7293:51:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"7323:13:105","nodeType":"YulIdentifier","src":"7323:13:105"},{"kind":"number","nativeSrc":"7338:4:105","nodeType":"YulLiteral","src":"7338:4:105","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"7319:3:105","nodeType":"YulIdentifier","src":"7319:3:105"},"nativeSrc":"7319:24:105","nodeType":"YulFunctionCall","src":"7319:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"7306:12:105","nodeType":"YulIdentifier","src":"7306:12:105"},"nativeSrc":"7306:38:105","nodeType":"YulFunctionCall","src":"7306:38:105"},"variableNames":[{"name":"amountMin","nativeSrc":"7293:9:105","nodeType":"YulIdentifier","src":"7293:9:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17478,"isOffset":false,"isSlot":false,"src":"7293:9:105","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"7170:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"7243:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"7323:13:105","suffix":"offset","valueSize":1},{"declaration":17475,"isOffset":false,"isSlot":false,"src":"7213:9:105","valueSize":1},{"declaration":17472,"isOffset":false,"isSlot":false,"src":"7148:5:105","valueSize":1}],"id":17480,"nodeType":"InlineAssembly","src":"7109:261:105"},{"expression":{"arguments":[{"id":17484,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17472,"src":"7410:5:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":17486,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17475,"src":"7421:9:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":17485,"name":"map","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18014,"src":"7417:3:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":17487,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7417:14:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":17488,"name":"amountMin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17478,"src":"7433:9:105","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":17481,"name":"Payments","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18670,"src":"7395:8:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Payments_$18670_$","typeString":"type(contract Payments)"}},"id":17483,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7404:5:105","memberName":"sweep","nodeType":"MemberAccess","referencedDeclaration":18555,"src":"7395:14:105","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":17489,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7395:48:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17490,"nodeType":"ExpressionStatement","src":"7395:48:105"}]}},"id":17550,"nodeType":"IfStatement","src":"5864:3003:105","trueBody":{"id":17466,"nodeType":"Block","src":"5910:923:105","statements":[{"assignments":[17437],"declarations":[{"constant":false,"id":17437,"mutability":"mutable","name":"permitBatch","nameLocation":"5976:11:105","nodeType":"VariableDeclaration","scope":17466,"src":"5936:51:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatch_$20890_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitBatch"},"typeName":{"id":17436,"nodeType":"UserDefinedTypeName","pathNode":{"id":17435,"name":"IAllowanceTransfer.PermitBatch","nameLocations":["5936:18:105","5955:11:105"],"nodeType":"IdentifierPath","referencedDeclaration":20890,"src":"5936:30:105"},"referencedDeclaration":20890,"src":"5936:30:105","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatch_$20890_storage_ptr","typeString":"struct IAllowanceTransfer.PermitBatch"}},"visibility":"internal"}],"id":17438,"nodeType":"VariableDeclarationStatement","src":"5936:51:105"},{"AST":{"nativeSrc":"6022:311:105","nodeType":"YulBlock","src":"6022:311:105","statements":[{"nativeSrc":"6245:62:105","nodeType":"YulAssignment","src":"6245:62:105","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"6264:13:105","nodeType":"YulIdentifier","src":"6264:13:105"},{"arguments":[{"name":"inputs.offset","nativeSrc":"6292:13:105","nodeType":"YulIdentifier","src":"6292:13:105"}],"functionName":{"name":"calldataload","nativeSrc":"6279:12:105","nodeType":"YulIdentifier","src":"6279:12:105"},"nativeSrc":"6279:27:105","nodeType":"YulFunctionCall","src":"6279:27:105"}],"functionName":{"name":"add","nativeSrc":"6260:3:105","nodeType":"YulIdentifier","src":"6260:3:105"},"nativeSrc":"6260:47:105","nodeType":"YulFunctionCall","src":"6260:47:105"},"variableNames":[{"name":"permitBatch","nativeSrc":"6245:11:105","nodeType":"YulIdentifier","src":"6245:11:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17279,"isOffset":true,"isSlot":false,"src":"6264:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"6292:13:105","suffix":"offset","valueSize":1},{"declaration":17437,"isOffset":false,"isSlot":false,"src":"6245:11:105","valueSize":1}],"id":17439,"nodeType":"InlineAssembly","src":"6013:320:105"},{"assignments":[17441],"declarations":[{"constant":false,"id":17441,"mutability":"mutable","name":"data","nameLocation":"6373:4:105","nodeType":"VariableDeclaration","scope":17466,"src":"6358:19:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":17440,"name":"bytes","nodeType":"ElementaryTypeName","src":"6358:5:105","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":17446,"initialValue":{"arguments":[{"hexValue":"31","id":17444,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6395:1:105","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"}],"expression":{"id":17442,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"6380:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":17443,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6387:7:105","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":16367,"src":"6380:14:105","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (bytes calldata)"}},"id":17445,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6380:17:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"VariableDeclarationStatement","src":"6358:39:105"},{"expression":{"id":17464,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":17447,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17282,"src":"6424:7:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":17448,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17284,"src":"6433:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":17449,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"6423:17:105","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"hexValue":"7065726d697428616464726573732c2828616464726573732c75696e743136302c75696e7434382c75696e743438295b5d2c616464726573732c75696e74323536292c627974657329","id":17457,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6551:75:105","typeDescriptions":{"typeIdentifier":"t_stringliteral_2a2d80d1de76481ad3ea113332678e361cfb487de1b9c0ff708af47f3fa24ebb","typeString":"literal_string \"permit(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\""},"value":"permit(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)"},{"arguments":[],"expression":{"argumentTypes":[],"id":17458,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[17274],"referencedDeclaration":17274,"src":"6660:9:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":17459,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6660:11:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":17460,"name":"permitBatch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17437,"src":"6705:11:105","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatch_$20890_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitBatch calldata"}},{"id":17461,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17441,"src":"6750:4:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_2a2d80d1de76481ad3ea113332678e361cfb487de1b9c0ff708af47f3fa24ebb","typeString":"literal_string \"permit(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\""},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_struct$_PermitBatch_$20890_calldata_ptr","typeString":"struct IAllowanceTransfer.PermitBatch calldata"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"id":17455,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"6494:3:105","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":17456,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6498:19:105","memberName":"encodeWithSignature","nodeType":"MemberAccess","src":"6494:23:105","typeDescriptions":{"typeIdentifier":"t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (string memory) pure returns (bytes memory)"}},"id":17462,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6494:290:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"arguments":[{"id":17452,"name":"PERMIT2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18689,"src":"6451:7:105","typeDescriptions":{"typeIdentifier":"t_contract$_IPermit2_$21036","typeString":"contract IPermit2"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPermit2_$21036","typeString":"contract IPermit2"}],"id":17451,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6443:7:105","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17450,"name":"address","nodeType":"ElementaryTypeName","src":"6443:7:105","typeDescriptions":{}}},"id":17453,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6443:16:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17454,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6460:4:105","memberName":"call","nodeType":"MemberAccess","src":"6443:21:105","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":17463,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6443:367:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"src":"6423:387:105","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17465,"nodeType":"ExpressionStatement","src":"6423:387:105"}]}},"id":17551,"nodeType":"IfStatement","src":"5207:3660:105","trueBody":{"id":17428,"nodeType":"Block","src":"5254:604:105","statements":[{"assignments":[17409],"declarations":[{"constant":false,"id":17409,"mutability":"mutable","name":"token","nameLocation":"5375:5:105","nodeType":"VariableDeclaration","scope":17428,"src":"5367:13:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17408,"name":"address","nodeType":"ElementaryTypeName","src":"5367:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17410,"nodeType":"VariableDeclarationStatement","src":"5367:13:105"},{"assignments":[17412],"declarations":[{"constant":false,"id":17412,"mutability":"mutable","name":"recipient","nameLocation":"5414:9:105","nodeType":"VariableDeclaration","scope":17428,"src":"5406:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17411,"name":"address","nodeType":"ElementaryTypeName","src":"5406:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17413,"nodeType":"VariableDeclarationStatement","src":"5406:17:105"},{"assignments":[17415],"declarations":[{"constant":false,"id":17415,"mutability":"mutable","name":"amount","nameLocation":"5457:6:105","nodeType":"VariableDeclaration","scope":17428,"src":"5449:14:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":17414,"name":"uint160","nodeType":"ElementaryTypeName","src":"5449:7:105","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"id":17416,"nodeType":"VariableDeclarationStatement","src":"5449:14:105"},{"AST":{"nativeSrc":"5498:249:105","nodeType":"YulBlock","src":"5498:249:105","statements":[{"nativeSrc":"5528:36:105","nodeType":"YulAssignment","src":"5528:36:105","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"5550:13:105","nodeType":"YulIdentifier","src":"5550:13:105"}],"functionName":{"name":"calldataload","nativeSrc":"5537:12:105","nodeType":"YulIdentifier","src":"5537:12:105"},"nativeSrc":"5537:27:105","nodeType":"YulFunctionCall","src":"5537:27:105"},"variableNames":[{"name":"token","nativeSrc":"5528:5:105","nodeType":"YulIdentifier","src":"5528:5:105"}]},{"nativeSrc":"5593:51:105","nodeType":"YulAssignment","src":"5593:51:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"5623:13:105","nodeType":"YulIdentifier","src":"5623:13:105"},{"kind":"number","nativeSrc":"5638:4:105","nodeType":"YulLiteral","src":"5638:4:105","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"5619:3:105","nodeType":"YulIdentifier","src":"5619:3:105"},"nativeSrc":"5619:24:105","nodeType":"YulFunctionCall","src":"5619:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"5606:12:105","nodeType":"YulIdentifier","src":"5606:12:105"},"nativeSrc":"5606:38:105","nodeType":"YulFunctionCall","src":"5606:38:105"},"variableNames":[{"name":"recipient","nativeSrc":"5593:9:105","nodeType":"YulIdentifier","src":"5593:9:105"}]},{"nativeSrc":"5673:48:105","nodeType":"YulAssignment","src":"5673:48:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"5700:13:105","nodeType":"YulIdentifier","src":"5700:13:105"},{"kind":"number","nativeSrc":"5715:4:105","nodeType":"YulLiteral","src":"5715:4:105","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"5696:3:105","nodeType":"YulIdentifier","src":"5696:3:105"},"nativeSrc":"5696:24:105","nodeType":"YulFunctionCall","src":"5696:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"5683:12:105","nodeType":"YulIdentifier","src":"5683:12:105"},"nativeSrc":"5683:38:105","nodeType":"YulFunctionCall","src":"5683:38:105"},"variableNames":[{"name":"amount","nativeSrc":"5673:6:105","nodeType":"YulIdentifier","src":"5673:6:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17415,"isOffset":false,"isSlot":false,"src":"5673:6:105","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"5550:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"5623:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"5700:13:105","suffix":"offset","valueSize":1},{"declaration":17412,"isOffset":false,"isSlot":false,"src":"5593:9:105","valueSize":1},{"declaration":17409,"isOffset":false,"isSlot":false,"src":"5528:5:105","valueSize":1}],"id":17417,"nodeType":"InlineAssembly","src":"5489:258:105"},{"expression":{"arguments":[{"id":17419,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17409,"src":"5792:5:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"id":17420,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[17274],"referencedDeclaration":17274,"src":"5799:9:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":17421,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5799:11:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":17423,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17412,"src":"5816:9:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":17422,"name":"map","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18014,"src":"5812:3:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":17424,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5812:14:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":17425,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17415,"src":"5828:6:105","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":17418,"name":"permit2TransferFrom","nodeType":"Identifier","overloadedDeclarations":[18749,18793],"referencedDeclaration":18749,"src":"5772:19:105","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint160_$returns$__$","typeString":"function (address,address,address,uint160)"}},"id":17426,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5772:63:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17427,"nodeType":"ExpressionStatement","src":"5772:63:105"}]}},"id":17552,"nodeType":"IfStatement","src":"4174:4693:105","trueBody":{"id":17403,"nodeType":"Block","src":"4217:984:105","statements":[{"assignments":[17363],"declarations":[{"constant":false,"id":17363,"mutability":"mutable","name":"recipient","nameLocation":"4351:9:105","nodeType":"VariableDeclaration","scope":17403,"src":"4343:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17362,"name":"address","nodeType":"ElementaryTypeName","src":"4343:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17364,"nodeType":"VariableDeclarationStatement","src":"4343:17:105"},{"assignments":[17366],"declarations":[{"constant":false,"id":17366,"mutability":"mutable","name":"amountOut","nameLocation":"4394:9:105","nodeType":"VariableDeclaration","scope":17403,"src":"4386:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17365,"name":"uint256","nodeType":"ElementaryTypeName","src":"4386:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17367,"nodeType":"VariableDeclarationStatement","src":"4386:17:105"},{"assignments":[17369],"declarations":[{"constant":false,"id":17369,"mutability":"mutable","name":"amountInMax","nameLocation":"4437:11:105","nodeType":"VariableDeclaration","scope":17403,"src":"4429:19:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17368,"name":"uint256","nodeType":"ElementaryTypeName","src":"4429:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17370,"nodeType":"VariableDeclarationStatement","src":"4429:19:105"},{"assignments":[17372],"declarations":[{"constant":false,"id":17372,"mutability":"mutable","name":"payerIsUser","nameLocation":"4479:11:105","nodeType":"VariableDeclaration","scope":17403,"src":"4474:16:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":17371,"name":"bool","nodeType":"ElementaryTypeName","src":"4474:4:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":17373,"nodeType":"VariableDeclarationStatement","src":"4474:16:105"},{"AST":{"nativeSrc":"4525:410:105","nodeType":"YulBlock","src":"4525:410:105","statements":[{"nativeSrc":"4555:40:105","nodeType":"YulAssignment","src":"4555:40:105","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"4581:13:105","nodeType":"YulIdentifier","src":"4581:13:105"}],"functionName":{"name":"calldataload","nativeSrc":"4568:12:105","nodeType":"YulIdentifier","src":"4568:12:105"},"nativeSrc":"4568:27:105","nodeType":"YulFunctionCall","src":"4568:27:105"},"variableNames":[{"name":"recipient","nativeSrc":"4555:9:105","nodeType":"YulIdentifier","src":"4555:9:105"}]},{"nativeSrc":"4624:51:105","nodeType":"YulAssignment","src":"4624:51:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"4654:13:105","nodeType":"YulIdentifier","src":"4654:13:105"},{"kind":"number","nativeSrc":"4669:4:105","nodeType":"YulLiteral","src":"4669:4:105","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"4650:3:105","nodeType":"YulIdentifier","src":"4650:3:105"},"nativeSrc":"4650:24:105","nodeType":"YulFunctionCall","src":"4650:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"4637:12:105","nodeType":"YulIdentifier","src":"4637:12:105"},"nativeSrc":"4637:38:105","nodeType":"YulFunctionCall","src":"4637:38:105"},"variableNames":[{"name":"amountOut","nativeSrc":"4624:9:105","nodeType":"YulIdentifier","src":"4624:9:105"}]},{"nativeSrc":"4704:53:105","nodeType":"YulAssignment","src":"4704:53:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"4736:13:105","nodeType":"YulIdentifier","src":"4736:13:105"},{"kind":"number","nativeSrc":"4751:4:105","nodeType":"YulLiteral","src":"4751:4:105","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"4732:3:105","nodeType":"YulIdentifier","src":"4732:3:105"},"nativeSrc":"4732:24:105","nodeType":"YulFunctionCall","src":"4732:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"4719:12:105","nodeType":"YulIdentifier","src":"4719:12:105"},"nativeSrc":"4719:38:105","nodeType":"YulFunctionCall","src":"4719:38:105"},"variableNames":[{"name":"amountInMax","nativeSrc":"4704:11:105","nodeType":"YulIdentifier","src":"4704:11:105"}]},{"nativeSrc":"4856:53:105","nodeType":"YulAssignment","src":"4856:53:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"4888:13:105","nodeType":"YulIdentifier","src":"4888:13:105"},{"kind":"number","nativeSrc":"4903:4:105","nodeType":"YulLiteral","src":"4903:4:105","type":"","value":"0x80"}],"functionName":{"name":"add","nativeSrc":"4884:3:105","nodeType":"YulIdentifier","src":"4884:3:105"},"nativeSrc":"4884:24:105","nodeType":"YulFunctionCall","src":"4884:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"4871:12:105","nodeType":"YulIdentifier","src":"4871:12:105"},"nativeSrc":"4871:38:105","nodeType":"YulFunctionCall","src":"4871:38:105"},"variableNames":[{"name":"payerIsUser","nativeSrc":"4856:11:105","nodeType":"YulIdentifier","src":"4856:11:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17369,"isOffset":false,"isSlot":false,"src":"4704:11:105","valueSize":1},{"declaration":17366,"isOffset":false,"isSlot":false,"src":"4624:9:105","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"4581:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"4654:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"4736:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"4888:13:105","suffix":"offset","valueSize":1},{"declaration":17372,"isOffset":false,"isSlot":false,"src":"4856:11:105","valueSize":1},{"declaration":17363,"isOffset":false,"isSlot":false,"src":"4555:9:105","valueSize":1}],"id":17374,"nodeType":"InlineAssembly","src":"4516:419:105"},{"assignments":[17376],"declarations":[{"constant":false,"id":17376,"mutability":"mutable","name":"path","nameLocation":"4975:4:105","nodeType":"VariableDeclaration","scope":17403,"src":"4960:19:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":17375,"name":"bytes","nodeType":"ElementaryTypeName","src":"4960:5:105","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":17381,"initialValue":{"arguments":[{"hexValue":"33","id":17379,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4997:1:105","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"}],"expression":{"id":17377,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"4982:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":17378,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4989:7:105","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":16367,"src":"4982:14:105","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (bytes calldata)"}},"id":17380,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4982:17:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"VariableDeclarationStatement","src":"4960:39:105"},{"assignments":[17383],"declarations":[{"constant":false,"id":17383,"mutability":"mutable","name":"payer","nameLocation":"5033:5:105","nodeType":"VariableDeclaration","scope":17403,"src":"5025:13:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17382,"name":"address","nodeType":"ElementaryTypeName","src":"5025:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17392,"initialValue":{"condition":{"id":17384,"name":"payerIsUser","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17372,"src":"5041:11:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":17389,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"5077:4:105","typeDescriptions":{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}],"id":17388,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5069:7:105","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17387,"name":"address","nodeType":"ElementaryTypeName","src":"5069:7:105","typeDescriptions":{}}},"id":17390,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5069:13:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17391,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"5041:41:105","trueExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":17385,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[17274],"referencedDeclaration":17274,"src":"5055:9:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":17386,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5055:11:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"5025:57:105"},{"expression":{"arguments":[{"arguments":[{"id":17395,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17363,"src":"5130:9:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":17394,"name":"map","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18014,"src":"5126:3:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":17396,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5126:14:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":17397,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17366,"src":"5142:9:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":17398,"name":"amountInMax","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17369,"src":"5153:11:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":17399,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17376,"src":"5166:4:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":17400,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17383,"src":"5172:5:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_address","typeString":"address"}],"id":17393,"name":"v3SwapExactOutput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20431,"src":"5108:17:105","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$_t_address_$returns$__$","typeString":"function (address,uint256,uint256,bytes calldata,address)"}},"id":17401,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5108:70:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17402,"nodeType":"ExpressionStatement","src":"5108:70:105"}]}},"id":17553,"nodeType":"IfStatement","src":"3143:5724:105","trueBody":{"id":17357,"nodeType":"Block","src":"3185:983:105","statements":[{"assignments":[17317],"declarations":[{"constant":false,"id":17317,"mutability":"mutable","name":"recipient","nameLocation":"3319:9:105","nodeType":"VariableDeclaration","scope":17357,"src":"3311:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17316,"name":"address","nodeType":"ElementaryTypeName","src":"3311:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17318,"nodeType":"VariableDeclarationStatement","src":"3311:17:105"},{"assignments":[17320],"declarations":[{"constant":false,"id":17320,"mutability":"mutable","name":"amountIn","nameLocation":"3362:8:105","nodeType":"VariableDeclaration","scope":17357,"src":"3354:16:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17319,"name":"uint256","nodeType":"ElementaryTypeName","src":"3354:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17321,"nodeType":"VariableDeclarationStatement","src":"3354:16:105"},{"assignments":[17323],"declarations":[{"constant":false,"id":17323,"mutability":"mutable","name":"amountOutMin","nameLocation":"3404:12:105","nodeType":"VariableDeclaration","scope":17357,"src":"3396:20:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":17322,"name":"uint256","nodeType":"ElementaryTypeName","src":"3396:7:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":17324,"nodeType":"VariableDeclarationStatement","src":"3396:20:105"},{"assignments":[17326],"declarations":[{"constant":false,"id":17326,"mutability":"mutable","name":"payerIsUser","nameLocation":"3447:11:105","nodeType":"VariableDeclaration","scope":17357,"src":"3442:16:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":17325,"name":"bool","nodeType":"ElementaryTypeName","src":"3442:4:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":17327,"nodeType":"VariableDeclarationStatement","src":"3442:16:105"},{"AST":{"nativeSrc":"3493:410:105","nodeType":"YulBlock","src":"3493:410:105","statements":[{"nativeSrc":"3523:40:105","nodeType":"YulAssignment","src":"3523:40:105","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"3549:13:105","nodeType":"YulIdentifier","src":"3549:13:105"}],"functionName":{"name":"calldataload","nativeSrc":"3536:12:105","nodeType":"YulIdentifier","src":"3536:12:105"},"nativeSrc":"3536:27:105","nodeType":"YulFunctionCall","src":"3536:27:105"},"variableNames":[{"name":"recipient","nativeSrc":"3523:9:105","nodeType":"YulIdentifier","src":"3523:9:105"}]},{"nativeSrc":"3592:50:105","nodeType":"YulAssignment","src":"3592:50:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"3621:13:105","nodeType":"YulIdentifier","src":"3621:13:105"},{"kind":"number","nativeSrc":"3636:4:105","nodeType":"YulLiteral","src":"3636:4:105","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"3617:3:105","nodeType":"YulIdentifier","src":"3617:3:105"},"nativeSrc":"3617:24:105","nodeType":"YulFunctionCall","src":"3617:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"3604:12:105","nodeType":"YulIdentifier","src":"3604:12:105"},"nativeSrc":"3604:38:105","nodeType":"YulFunctionCall","src":"3604:38:105"},"variableNames":[{"name":"amountIn","nativeSrc":"3592:8:105","nodeType":"YulIdentifier","src":"3592:8:105"}]},{"nativeSrc":"3671:54:105","nodeType":"YulAssignment","src":"3671:54:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"3704:13:105","nodeType":"YulIdentifier","src":"3704:13:105"},{"kind":"number","nativeSrc":"3719:4:105","nodeType":"YulLiteral","src":"3719:4:105","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"3700:3:105","nodeType":"YulIdentifier","src":"3700:3:105"},"nativeSrc":"3700:24:105","nodeType":"YulFunctionCall","src":"3700:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"3687:12:105","nodeType":"YulIdentifier","src":"3687:12:105"},"nativeSrc":"3687:38:105","nodeType":"YulFunctionCall","src":"3687:38:105"},"variableNames":[{"name":"amountOutMin","nativeSrc":"3671:12:105","nodeType":"YulIdentifier","src":"3671:12:105"}]},{"nativeSrc":"3824:53:105","nodeType":"YulAssignment","src":"3824:53:105","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"3856:13:105","nodeType":"YulIdentifier","src":"3856:13:105"},{"kind":"number","nativeSrc":"3871:4:105","nodeType":"YulLiteral","src":"3871:4:105","type":"","value":"0x80"}],"functionName":{"name":"add","nativeSrc":"3852:3:105","nodeType":"YulIdentifier","src":"3852:3:105"},"nativeSrc":"3852:24:105","nodeType":"YulFunctionCall","src":"3852:24:105"}],"functionName":{"name":"calldataload","nativeSrc":"3839:12:105","nodeType":"YulIdentifier","src":"3839:12:105"},"nativeSrc":"3839:38:105","nodeType":"YulFunctionCall","src":"3839:38:105"},"variableNames":[{"name":"payerIsUser","nativeSrc":"3824:11:105","nodeType":"YulIdentifier","src":"3824:11:105"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":17320,"isOffset":false,"isSlot":false,"src":"3592:8:105","valueSize":1},{"declaration":17323,"isOffset":false,"isSlot":false,"src":"3671:12:105","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"3549:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"3621:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"3704:13:105","suffix":"offset","valueSize":1},{"declaration":17279,"isOffset":true,"isSlot":false,"src":"3856:13:105","suffix":"offset","valueSize":1},{"declaration":17326,"isOffset":false,"isSlot":false,"src":"3824:11:105","valueSize":1},{"declaration":17317,"isOffset":false,"isSlot":false,"src":"3523:9:105","valueSize":1}],"id":17328,"nodeType":"InlineAssembly","src":"3484:419:105"},{"assignments":[17330],"declarations":[{"constant":false,"id":17330,"mutability":"mutable","name":"path","nameLocation":"3943:4:105","nodeType":"VariableDeclaration","scope":17357,"src":"3928:19:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":17329,"name":"bytes","nodeType":"ElementaryTypeName","src":"3928:5:105","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":17335,"initialValue":{"arguments":[{"hexValue":"33","id":17333,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3965:1:105","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"}],"expression":{"id":17331,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17279,"src":"3950:6:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":17332,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3957:7:105","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":16367,"src":"3950:14:105","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (bytes calldata)"}},"id":17334,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3950:17:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"VariableDeclarationStatement","src":"3928:39:105"},{"assignments":[17337],"declarations":[{"constant":false,"id":17337,"mutability":"mutable","name":"payer","nameLocation":"4001:5:105","nodeType":"VariableDeclaration","scope":17357,"src":"3993:13:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17336,"name":"address","nodeType":"ElementaryTypeName","src":"3993:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":17346,"initialValue":{"condition":{"id":17338,"name":"payerIsUser","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17326,"src":"4009:11:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":17343,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"4045:4:105","typeDescriptions":{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}],"id":17342,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4037:7:105","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":17341,"name":"address","nodeType":"ElementaryTypeName","src":"4037:7:105","typeDescriptions":{}}},"id":17344,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4037:13:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":17345,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"4009:41:105","trueExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":17339,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[17274],"referencedDeclaration":17274,"src":"4023:9:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":17340,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4023:11:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"3993:57:105"},{"expression":{"arguments":[{"arguments":[{"id":17349,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17317,"src":"4097:9:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":17348,"name":"map","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18014,"src":"4093:3:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_address_$","typeString":"function (address) view returns (address)"}},"id":17350,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4093:14:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":17351,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17320,"src":"4109:8:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":17352,"name":"amountOutMin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17323,"src":"4119:12:105","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":17353,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17330,"src":"4133:4:105","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":17354,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17337,"src":"4139:5:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_address","typeString":"address"}],"id":17347,"name":"v3SwapExactInput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20365,"src":"4076:16:105","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$_t_address_$returns$__$","typeString":"function (address,uint256,uint256,bytes calldata,address)"}},"id":17355,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4076:69:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":17356,"nodeType":"ExpressionStatement","src":"4076:69:105"}]}}]}}]}}]}}]},"documentation":{"id":17275,"nodeType":"StructuredDocumentation","src":"2186:445:105","text":"@notice Decodes and executes the given command with the given inputs\n @param commandType The command type to execute\n @param inputs The inputs to execute the command with\n @dev 2 masks are used to enable use of a nested-if statement in execution for efficiency reasons\n @return success True on success of the command, false on failure\n @return output The outputs or error messages, if any, from the command"},"id":17982,"implemented":true,"kind":"function","modifiers":[],"name":"dispatch","nameLocation":"2645:8:105","nodeType":"FunctionDefinition","parameters":{"id":17280,"nodeType":"ParameterList","parameters":[{"constant":false,"id":17277,"mutability":"mutable","name":"commandType","nameLocation":"2661:11:105","nodeType":"VariableDeclaration","scope":17982,"src":"2654:18:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"typeName":{"id":17276,"name":"bytes1","nodeType":"ElementaryTypeName","src":"2654:6:105","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"visibility":"internal"},{"constant":false,"id":17279,"mutability":"mutable","name":"inputs","nameLocation":"2689:6:105","nodeType":"VariableDeclaration","scope":17982,"src":"2674:21:105","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":17278,"name":"bytes","nodeType":"ElementaryTypeName","src":"2674:5:105","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2653:43:105"},"returnParameters":{"id":17285,"nodeType":"ParameterList","parameters":[{"constant":false,"id":17282,"mutability":"mutable","name":"success","nameLocation":"2720:7:105","nodeType":"VariableDeclaration","scope":17982,"src":"2715:12:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":17281,"name":"bool","nodeType":"ElementaryTypeName","src":"2715:4:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":17284,"mutability":"mutable","name":"output","nameLocation":"2742:6:105","nodeType":"VariableDeclaration","scope":17982,"src":"2729:19:105","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":17283,"name":"bytes","nodeType":"ElementaryTypeName","src":"2729:5:105","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2714:35:105"},"scope":18015,"src":"2636:14026:105","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":18013,"nodeType":"Block","src":"16931:249:105","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":17993,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17990,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17985,"src":"16945:9:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17991,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"16958:15:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":17992,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16974:10:105","memberName":"MSG_SENDER","nodeType":"MemberAccess","referencedDeclaration":15908,"src":"16958:26:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"16945:39:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":18001,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":17998,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17985,"src":"17039:9:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":17999,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"17052:15:105","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":18000,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"17068:12:105","memberName":"ADDRESS_THIS","nodeType":"MemberAccess","referencedDeclaration":15915,"src":"17052:28:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"17039:41:105","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":18010,"nodeType":"Block","src":"17133:41:105","statements":[{"expression":{"id":18008,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":17985,"src":"17154:9:105","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":17989,"id":18009,"nodeType":"Return","src":"17147:16:105"}]},"id":18011,"nodeType":"IfStatement","src":"17035:139:105","trueBody":{"id":18007,"nodeType":"Block","src":"17082:45:105","statements":[{"expression":{"arguments":[{"id":18004,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"17111:4:105","typeDescriptions":{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Dispatcher_$18015","typeString":"contract Dispatcher"}],"id":18003,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"17103:7:105","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18002,"name":"address","nodeType":"ElementaryTypeName","src":"17103:7:105","typeDescriptions":{}}},"id":18005,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17103:13:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":17989,"id":18006,"nodeType":"Return","src":"17096:20:105"}]}},"id":18012,"nodeType":"IfStatement","src":"16941:233:105","trueBody":{"id":17997,"nodeType":"Block","src":"16986:43:105","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":17994,"name":"msgSender","nodeType":"Identifier","overloadedDeclarations":[17274],"referencedDeclaration":17274,"src":"17007:9:105","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":17995,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17007:11:105","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":17989,"id":17996,"nodeType":"Return","src":"17000:18:105"}]}}]},"documentation":{"id":17983,"nodeType":"StructuredDocumentation","src":"16668:194:105","text":"@notice Calculates the recipient address for a command\n @param recipient The recipient or recipient-flag for the command\n @return output The resultant recipient for the command"},"id":18014,"implemented":true,"kind":"function","modifiers":[],"name":"map","nameLocation":"16876:3:105","nodeType":"FunctionDefinition","parameters":{"id":17986,"nodeType":"ParameterList","parameters":[{"constant":false,"id":17985,"mutability":"mutable","name":"recipient","nameLocation":"16888:9:105","nodeType":"VariableDeclaration","scope":18014,"src":"16880:17:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17984,"name":"address","nodeType":"ElementaryTypeName","src":"16880:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"16879:19:105"},"returnParameters":{"id":17989,"nodeType":"ParameterList","parameters":[{"constant":false,"id":17988,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":18014,"src":"16922:7:105","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":17987,"name":"address","nodeType":"ElementaryTypeName","src":"16922:7:105","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"16921:9:105"},"scope":18015,"src":"16867:313:105","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":18016,"src":"1207:15975:105","usedErrors":[13604,13609,13798,13804,13807,14483,15812,15819,16004,17252,17254,18023,18360,18362,18727,18851,18853,18857,19521,19523,19525,19855,20093,20095,20097,20099,20101,21181],"usedEvents":[]}],"src":"45:17138:105"},"id":105},"contracts/base/Lock.sol":{"ast":{"absolutePath":"contracts/base/Lock.sol","exportedSymbols":{"Lock":[18074],"Locker":[18266]},"id":18075,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":18017,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:106"},{"absolutePath":"contracts/libraries/Locker.sol","file":"../libraries/Locker.sol","id":18019,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18075,"sourceUnit":18267,"src":"71:47:106","symbolAliases":[{"foreign":{"id":18018,"name":"Locker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18266,"src":"79:6:106","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"Lock","contractDependencies":[],"contractKind":"contract","documentation":{"id":18020,"nodeType":"StructuredDocumentation","src":"120:90:106","text":"@title Lock\n @notice A contract that provides a reentrancy lock for external calls"},"fullyImplemented":true,"id":18074,"linearizedBaseContracts":[18074],"name":"Lock","nameLocation":"219:4:106","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":18021,"nodeType":"StructuredDocumentation","src":"230:87:106","text":"@notice Thrown when attempting to reenter a locked function from an external caller"},"errorSelector":"6f5ffb7e","id":18023,"name":"ContractLocked","nameLocation":"328:14:106","nodeType":"ErrorDefinition","parameters":{"id":18022,"nodeType":"ParameterList","parameters":[],"src":"342:2:106"},"src":"322:23:106"},{"body":{"id":18061,"nodeType":"Block","src":"528:384:106","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":18032,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":18026,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"602:3:106","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":18027,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"606:6:106","memberName":"sender","nodeType":"MemberAccess","src":"602:10:106","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":18030,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"624:4:106","typeDescriptions":{"typeIdentifier":"t_contract$_Lock_$18074","typeString":"contract Lock"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Lock_$18074","typeString":"contract Lock"}],"id":18029,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"616:7:106","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18028,"name":"address","nodeType":"ElementaryTypeName","src":"616:7:106","typeDescriptions":{}}},"id":18031,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"616:13:106","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"602:27:106","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":18059,"nodeType":"Block","src":"795:111:106","statements":[{"id":18058,"nodeType":"PlaceholderStatement","src":"894:1:106"}]},"id":18060,"nodeType":"IfStatement","src":"598:308:106","trueBody":{"id":18057,"nodeType":"Block","src":"631:158:106","statements":[{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":18033,"name":"Locker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18266,"src":"649:6:106","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Locker_$18266_$","typeString":"type(library Locker)"}},"id":18034,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"656:8:106","memberName":"isLocked","nodeType":"MemberAccess","referencedDeclaration":18265,"src":"649:15:106","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bool_$","typeString":"function () view returns (bool)"}},"id":18035,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"649:17:106","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18039,"nodeType":"IfStatement","src":"645:46:106","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":18036,"name":"ContractLocked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18023,"src":"675:14:106","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":18037,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"675:16:106","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":18038,"nodeType":"RevertStatement","src":"668:23:106"}},{"expression":{"arguments":[{"expression":{"id":18043,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"716:3:106","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":18044,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"720:6:106","memberName":"sender","nodeType":"MemberAccess","src":"716:10:106","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":18040,"name":"Locker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18266,"src":"705:6:106","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Locker_$18266_$","typeString":"type(library Locker)"}},"id":18042,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"712:3:106","memberName":"set","nodeType":"MemberAccess","referencedDeclaration":18243,"src":"705:10:106","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":18045,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"705:22:106","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18046,"nodeType":"ExpressionStatement","src":"705:22:106"},{"id":18047,"nodeType":"PlaceholderStatement","src":"741:1:106"},{"expression":{"arguments":[{"arguments":[{"hexValue":"30","id":18053,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"775:1:106","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":18052,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"767:7:106","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18051,"name":"address","nodeType":"ElementaryTypeName","src":"767:7:106","typeDescriptions":{}}},"id":18054,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"767:10:106","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":18048,"name":"Locker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18266,"src":"756:6:106","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Locker_$18266_$","typeString":"type(library Locker)"}},"id":18050,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"763:3:106","memberName":"set","nodeType":"MemberAccess","referencedDeclaration":18243,"src":"756:10:106","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":18055,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"756:22:106","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18056,"nodeType":"ExpressionStatement","src":"756:22:106"}]}}]},"documentation":{"id":18024,"nodeType":"StructuredDocumentation","src":"351:149:106","text":"@notice Modifier enforcing a reentrancy lock that allows self-reentrancy\n @dev If the contract is not locked, use msg.sender as the locker"},"id":18062,"name":"isNotLocked","nameLocation":"514:11:106","nodeType":"ModifierDefinition","parameters":{"id":18025,"nodeType":"ParameterList","parameters":[],"src":"525:2:106"},"src":"505:407:106","virtual":false,"visibility":"internal"},{"body":{"id":18072,"nodeType":"Block","src":"1030:36:106","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":18068,"name":"Locker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18266,"src":"1047:6:106","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Locker_$18266_$","typeString":"type(library Locker)"}},"id":18069,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1054:3:106","memberName":"get","nodeType":"MemberAccess","referencedDeclaration":18250,"src":"1047:10:106","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":18070,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1047:12:106","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":18067,"id":18071,"nodeType":"Return","src":"1040:19:106"}]},"documentation":{"id":18063,"nodeType":"StructuredDocumentation","src":"918:53:106","text":"@notice return the current locker of the contract"},"id":18073,"implemented":true,"kind":"function","modifiers":[],"name":"_getLocker","nameLocation":"985:10:106","nodeType":"FunctionDefinition","parameters":{"id":18064,"nodeType":"ParameterList","parameters":[],"src":"995:2:106"},"returnParameters":{"id":18067,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18066,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":18073,"src":"1021:7:106","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18065,"name":"address","nodeType":"ElementaryTypeName","src":"1021:7:106","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1020:9:106"},"scope":18074,"src":"976:90:106","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":18075,"src":"210:858:106","usedErrors":[18023],"usedEvents":[]}],"src":"45:1024:106"},"id":106},"contracts/deploy/UnsupportedProtocol.sol":{"ast":{"absolutePath":"contracts/deploy/UnsupportedProtocol.sol","exportedSymbols":{"UnsupportedProtocol":[18087]},"id":18088,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":18076,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:107"},{"abstract":false,"baseContracts":[],"canonicalName":"UnsupportedProtocol","contractDependencies":[],"contractKind":"contract","documentation":{"id":18077,"nodeType":"StructuredDocumentation","src":"71:159:107","text":"@title Dummy contract that always reverts\n @notice Used as a placeholder to ensure reverts on attempted calls to protocols unsupported on a given chain"},"fullyImplemented":true,"id":18087,"linearizedBaseContracts":[18087],"name":"UnsupportedProtocol","nameLocation":"239:19:107","nodeType":"ContractDefinition","nodes":[{"errorSelector":"ea3559ef","id":18079,"name":"UnsupportedProtocolError","nameLocation":"271:24:107","nodeType":"ErrorDefinition","parameters":{"id":18078,"nodeType":"ParameterList","parameters":[],"src":"295:2:107"},"src":"265:33:107"},{"body":{"id":18085,"nodeType":"Block","src":"324:50:107","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":18082,"name":"UnsupportedProtocolError","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18079,"src":"341:24:107","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":18083,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"341:26:107","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":18084,"nodeType":"RevertStatement","src":"334:33:107"}]},"id":18086,"implemented":true,"kind":"fallback","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":18080,"nodeType":"ParameterList","parameters":[],"src":"312:2:107"},"returnParameters":{"id":18081,"nodeType":"ParameterList","parameters":[],"src":"324:0:107"},"scope":18087,"src":"304:70:107","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":18088,"src":"230:146:107","usedErrors":[18079],"usedEvents":[]}],"src":"45:332:107"},"id":107},"contracts/interfaces/IUniversalRouter.sol":{"ast":{"absolutePath":"contracts/interfaces/IUniversalRouter.sol","exportedSymbols":{"IUniversalRouter":[18119]},"id":18120,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":18089,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:108"},{"abstract":false,"baseContracts":[],"canonicalName":"IUniversalRouter","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":18119,"linearizedBaseContracts":[18119],"name":"IUniversalRouter","nameLocation":"81:16:108","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":18090,"nodeType":"StructuredDocumentation","src":"104:53:108","text":"@notice Thrown when a required command has failed"},"errorSelector":"2c4029e9","id":18096,"name":"ExecutionFailed","nameLocation":"168:15:108","nodeType":"ErrorDefinition","parameters":{"id":18095,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18092,"mutability":"mutable","name":"commandIndex","nameLocation":"192:12:108","nodeType":"VariableDeclaration","scope":18096,"src":"184:20:108","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18091,"name":"uint256","nodeType":"ElementaryTypeName","src":"184:7:108","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":18094,"mutability":"mutable","name":"message","nameLocation":"212:7:108","nodeType":"VariableDeclaration","scope":18096,"src":"206:13:108","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":18093,"name":"bytes","nodeType":"ElementaryTypeName","src":"206:5:108","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"183:37:108"},"src":"162:59:108"},{"documentation":{"id":18097,"nodeType":"StructuredDocumentation","src":"227:71:108","text":"@notice Thrown when attempting to send ETH directly to the contract"},"errorSelector":"1231ae40","id":18099,"name":"ETHNotAccepted","nameLocation":"309:14:108","nodeType":"ErrorDefinition","parameters":{"id":18098,"nodeType":"ParameterList","parameters":[],"src":"323:2:108"},"src":"303:23:108"},{"documentation":{"id":18100,"nodeType":"StructuredDocumentation","src":"332:67:108","text":"@notice Thrown when executing commands with an expired deadline"},"errorSelector":"5bf6f916","id":18102,"name":"TransactionDeadlinePassed","nameLocation":"410:25:108","nodeType":"ErrorDefinition","parameters":{"id":18101,"nodeType":"ParameterList","parameters":[],"src":"435:2:108"},"src":"404:34:108"},{"documentation":{"id":18103,"nodeType":"StructuredDocumentation","src":"444:101:108","text":"@notice Thrown when attempting to execute commands and an incorrect number of inputs are provided"},"errorSelector":"ff633a38","id":18105,"name":"LengthMismatch","nameLocation":"556:14:108","nodeType":"ErrorDefinition","parameters":{"id":18104,"nodeType":"ParameterList","parameters":[],"src":"570:2:108"},"src":"550:23:108"},{"errorSelector":"38bbd576","id":18107,"name":"InvalidEthSender","nameLocation":"688:16:108","nodeType":"ErrorDefinition","parameters":{"id":18106,"nodeType":"ParameterList","parameters":[],"src":"704:2:108"},"src":"682:25:108"},{"documentation":{"id":18108,"nodeType":"StructuredDocumentation","src":"713:349:108","text":"@notice Executes encoded commands along with provided inputs. Reverts if deadline has expired.\n @param commands A set of concatenated commands, each 1 byte in length\n @param inputs An array of byte strings containing abi encoded inputs for each command\n @param deadline The deadline by which the transaction must be executed"},"functionSelector":"3593564c","id":18118,"implemented":false,"kind":"function","modifiers":[],"name":"execute","nameLocation":"1076:7:108","nodeType":"FunctionDefinition","parameters":{"id":18116,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18110,"mutability":"mutable","name":"commands","nameLocation":"1099:8:108","nodeType":"VariableDeclaration","scope":18118,"src":"1084:23:108","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":18109,"name":"bytes","nodeType":"ElementaryTypeName","src":"1084:5:108","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":18113,"mutability":"mutable","name":"inputs","nameLocation":"1126:6:108","nodeType":"VariableDeclaration","scope":18118,"src":"1109:23:108","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":18111,"name":"bytes","nodeType":"ElementaryTypeName","src":"1109:5:108","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":18112,"nodeType":"ArrayTypeName","src":"1109:7:108","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"},{"constant":false,"id":18115,"mutability":"mutable","name":"deadline","nameLocation":"1142:8:108","nodeType":"VariableDeclaration","scope":18118,"src":"1134:16:108","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18114,"name":"uint256","nodeType":"ElementaryTypeName","src":"1134:7:108","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1083:68:108"},"returnParameters":{"id":18117,"nodeType":"ParameterList","parameters":[],"src":"1168:0:108"},"scope":18119,"src":"1067:102:108","stateMutability":"payable","virtual":false,"visibility":"external"}],"scope":18120,"src":"71:1100:108","usedErrors":[18096,18099,18102,18105,18107],"usedEvents":[]}],"src":"45:1127:108"},"id":108},"contracts/libraries/Commands.sol":{"ast":{"absolutePath":"contracts/libraries/Commands.sol","exportedSymbols":{"Commands":[18189]},"id":18190,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":18121,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:109"},{"abstract":false,"baseContracts":[],"canonicalName":"Commands","contractDependencies":[],"contractKind":"library","documentation":{"id":18122,"nodeType":"StructuredDocumentation","src":"71:70:109","text":"@title Commands\n @notice Command Flags used to decode commands"},"fullyImplemented":true,"id":18189,"linearizedBaseContracts":[18189],"name":"Commands","nameLocation":"149:8:109","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":18125,"mutability":"constant","name":"FLAG_ALLOW_REVERT","nameLocation":"238:17:109","nodeType":"VariableDeclaration","scope":18189,"src":"213:49:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"typeName":{"id":18123,"name":"bytes1","nodeType":"ElementaryTypeName","src":"213:6:109","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"value":{"hexValue":"30783830","id":18124,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"258:4:109","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"0x80"},"visibility":"internal"},{"constant":true,"id":18128,"mutability":"constant","name":"COMMAND_TYPE_MASK","nameLocation":"293:17:109","nodeType":"VariableDeclaration","scope":18189,"src":"268:49:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"typeName":{"id":18126,"name":"bytes1","nodeType":"ElementaryTypeName","src":"268:6:109","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"value":{"hexValue":"30783366","id":18127,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"313:4:109","typeDescriptions":{"typeIdentifier":"t_rational_63_by_1","typeString":"int_const 63"},"value":"0x3f"},"visibility":"internal"},{"constant":true,"id":18131,"mutability":"constant","name":"V3_SWAP_EXACT_IN","nameLocation":"573:16:109","nodeType":"VariableDeclaration","scope":18189,"src":"556:40:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18129,"name":"uint256","nodeType":"ElementaryTypeName","src":"556:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783030","id":18130,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"592:4:109","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0x00"},"visibility":"internal"},{"constant":true,"id":18134,"mutability":"constant","name":"V3_SWAP_EXACT_OUT","nameLocation":"619:17:109","nodeType":"VariableDeclaration","scope":18189,"src":"602:41:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18132,"name":"uint256","nodeType":"ElementaryTypeName","src":"602:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783031","id":18133,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"639:4:109","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"0x01"},"visibility":"internal"},{"constant":true,"id":18137,"mutability":"constant","name":"PERMIT2_TRANSFER_FROM","nameLocation":"666:21:109","nodeType":"VariableDeclaration","scope":18189,"src":"649:45:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18135,"name":"uint256","nodeType":"ElementaryTypeName","src":"649:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783032","id":18136,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"690:4:109","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"0x02"},"visibility":"internal"},{"constant":true,"id":18140,"mutability":"constant","name":"PERMIT2_PERMIT_BATCH","nameLocation":"717:20:109","nodeType":"VariableDeclaration","scope":18189,"src":"700:44:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18138,"name":"uint256","nodeType":"ElementaryTypeName","src":"700:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783033","id":18139,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"740:4:109","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"0x03"},"visibility":"internal"},{"constant":true,"id":18143,"mutability":"constant","name":"SWEEP","nameLocation":"767:5:109","nodeType":"VariableDeclaration","scope":18189,"src":"750:29:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18141,"name":"uint256","nodeType":"ElementaryTypeName","src":"750:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783034","id":18142,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"775:4:109","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"0x04"},"visibility":"internal"},{"constant":true,"id":18146,"mutability":"constant","name":"TRANSFER","nameLocation":"802:8:109","nodeType":"VariableDeclaration","scope":18189,"src":"785:32:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18144,"name":"uint256","nodeType":"ElementaryTypeName","src":"785:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783035","id":18145,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"813:4:109","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"0x05"},"visibility":"internal"},{"constant":true,"id":18149,"mutability":"constant","name":"PAY_PORTION","nameLocation":"840:11:109","nodeType":"VariableDeclaration","scope":18189,"src":"823:35:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18147,"name":"uint256","nodeType":"ElementaryTypeName","src":"823:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783036","id":18148,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"854:4:109","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"0x06"},"visibility":"internal"},{"constant":true,"id":18152,"mutability":"constant","name":"V2_SWAP_EXACT_IN","nameLocation":"1002:16:109","nodeType":"VariableDeclaration","scope":18189,"src":"985:40:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18150,"name":"uint256","nodeType":"ElementaryTypeName","src":"985:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783038","id":18151,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1021:4:109","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"0x08"},"visibility":"internal"},{"constant":true,"id":18155,"mutability":"constant","name":"V2_SWAP_EXACT_OUT","nameLocation":"1048:17:109","nodeType":"VariableDeclaration","scope":18189,"src":"1031:41:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18153,"name":"uint256","nodeType":"ElementaryTypeName","src":"1031:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783039","id":18154,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1068:4:109","typeDescriptions":{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},"value":"0x09"},"visibility":"internal"},{"constant":true,"id":18158,"mutability":"constant","name":"PERMIT2_PERMIT","nameLocation":"1095:14:109","nodeType":"VariableDeclaration","scope":18189,"src":"1078:38:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18156,"name":"uint256","nodeType":"ElementaryTypeName","src":"1078:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783061","id":18157,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1112:4:109","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"0x0a"},"visibility":"internal"},{"constant":true,"id":18161,"mutability":"constant","name":"WRAP_ETH","nameLocation":"1139:8:109","nodeType":"VariableDeclaration","scope":18189,"src":"1122:32:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18159,"name":"uint256","nodeType":"ElementaryTypeName","src":"1122:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783062","id":18160,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1150:4:109","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"0x0b"},"visibility":"internal"},{"constant":true,"id":18164,"mutability":"constant","name":"UNWRAP_WETH","nameLocation":"1177:11:109","nodeType":"VariableDeclaration","scope":18189,"src":"1160:35:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18162,"name":"uint256","nodeType":"ElementaryTypeName","src":"1160:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783063","id":18163,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1191:4:109","typeDescriptions":{"typeIdentifier":"t_rational_12_by_1","typeString":"int_const 12"},"value":"0x0c"},"visibility":"internal"},{"constant":true,"id":18167,"mutability":"constant","name":"PERMIT2_TRANSFER_FROM_BATCH","nameLocation":"1218:27:109","nodeType":"VariableDeclaration","scope":18189,"src":"1201:51:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18165,"name":"uint256","nodeType":"ElementaryTypeName","src":"1201:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783064","id":18166,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1248:4:109","typeDescriptions":{"typeIdentifier":"t_rational_13_by_1","typeString":"int_const 13"},"value":"0x0d"},"visibility":"internal"},{"constant":true,"id":18170,"mutability":"constant","name":"BALANCE_CHECK_ERC20","nameLocation":"1275:19:109","nodeType":"VariableDeclaration","scope":18189,"src":"1258:43:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18168,"name":"uint256","nodeType":"ElementaryTypeName","src":"1258:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783065","id":18169,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1297:4:109","typeDescriptions":{"typeIdentifier":"t_rational_14_by_1","typeString":"int_const 14"},"value":"0x0e"},"visibility":"internal"},{"constant":true,"id":18173,"mutability":"constant","name":"V4_SWAP","nameLocation":"1444:7:109","nodeType":"VariableDeclaration","scope":18189,"src":"1427:31:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18171,"name":"uint256","nodeType":"ElementaryTypeName","src":"1427:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783130","id":18172,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1454:4:109","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"0x10"},"visibility":"internal"},{"constant":true,"id":18176,"mutability":"constant","name":"V3_POSITION_MANAGER_PERMIT","nameLocation":"1481:26:109","nodeType":"VariableDeclaration","scope":18189,"src":"1464:50:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18174,"name":"uint256","nodeType":"ElementaryTypeName","src":"1464:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783131","id":18175,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1510:4:109","typeDescriptions":{"typeIdentifier":"t_rational_17_by_1","typeString":"int_const 17"},"value":"0x11"},"visibility":"internal"},{"constant":true,"id":18179,"mutability":"constant","name":"V3_POSITION_MANAGER_CALL","nameLocation":"1537:24:109","nodeType":"VariableDeclaration","scope":18189,"src":"1520:48:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18177,"name":"uint256","nodeType":"ElementaryTypeName","src":"1520:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783132","id":18178,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1564:4:109","typeDescriptions":{"typeIdentifier":"t_rational_18_by_1","typeString":"int_const 18"},"value":"0x12"},"visibility":"internal"},{"constant":true,"id":18182,"mutability":"constant","name":"V4_INITIALIZE_POOL","nameLocation":"1591:18:109","nodeType":"VariableDeclaration","scope":18189,"src":"1574:42:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18180,"name":"uint256","nodeType":"ElementaryTypeName","src":"1574:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783133","id":18181,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1612:4:109","typeDescriptions":{"typeIdentifier":"t_rational_19_by_1","typeString":"int_const 19"},"value":"0x13"},"visibility":"internal"},{"constant":true,"id":18185,"mutability":"constant","name":"V4_POSITION_MANAGER_CALL","nameLocation":"1639:24:109","nodeType":"VariableDeclaration","scope":18189,"src":"1622:48:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18183,"name":"uint256","nodeType":"ElementaryTypeName","src":"1622:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783134","id":18184,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1666:4:109","typeDescriptions":{"typeIdentifier":"t_rational_20_by_1","typeString":"int_const 20"},"value":"0x14"},"visibility":"internal"},{"constant":true,"id":18188,"mutability":"constant","name":"EXECUTE_SUB_PLAN","nameLocation":"1781:16:109","nodeType":"VariableDeclaration","scope":18189,"src":"1764:40:109","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18186,"name":"uint256","nodeType":"ElementaryTypeName","src":"1764:7:109","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783231","id":18187,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1800:4:109","typeDescriptions":{"typeIdentifier":"t_rational_33_by_1","typeString":"int_const 33"},"value":"0x21"},"visibility":"internal"}],"scope":18190,"src":"141:1710:109","usedErrors":[],"usedEvents":[]}],"src":"45:1807:109"},"id":109},"contracts/libraries/Constants.sol":{"ast":{"absolutePath":"contracts/libraries/Constants.sol","exportedSymbols":{"Constants":[18230]},"id":18231,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":18191,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:110"},{"abstract":false,"baseContracts":[],"canonicalName":"Constants","contractDependencies":[],"contractKind":"library","documentation":{"id":18192,"nodeType":"StructuredDocumentation","src":"71:82:110","text":"@title Constant state\n @notice Constant state used by the Universal Router"},"fullyImplemented":true,"id":18230,"linearizedBaseContracts":[18230],"name":"Constants","nameLocation":"161:9:110","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":18193,"nodeType":"StructuredDocumentation","src":"177:84:110","text":"@dev Used for identifying cases when a v2 pair has already received input tokens"},"id":18196,"mutability":"constant","name":"ALREADY_PAID","nameLocation":"292:12:110","nodeType":"VariableDeclaration","scope":18230,"src":"266:42:110","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18194,"name":"uint256","nodeType":"ElementaryTypeName","src":"266:7:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30","id":18195,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"307:1:110","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"visibility":"internal"},{"constant":true,"documentation":{"id":18197,"nodeType":"StructuredDocumentation","src":"315:78:110","text":"@dev Used as a flag for identifying the transfer of ETH instead of a token"},"id":18203,"mutability":"constant","name":"ETH","nameLocation":"424:3:110","nodeType":"VariableDeclaration","scope":18230,"src":"398:42:110","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18198,"name":"address","nodeType":"ElementaryTypeName","src":"398:7:110","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"value":{"arguments":[{"hexValue":"30","id":18201,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"438:1:110","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":18200,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"430:7:110","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18199,"name":"address","nodeType":"ElementaryTypeName","src":"430:7:110","typeDescriptions":{}}},"id":18202,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"430:10:110","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":true,"documentation":{"id":18204,"nodeType":"StructuredDocumentation","src":"447:48:110","text":"@dev The length of the bytes encoded address"},"id":18207,"mutability":"constant","name":"ADDR_SIZE","nameLocation":"526:9:110","nodeType":"VariableDeclaration","scope":18230,"src":"500:40:110","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18205,"name":"uint256","nodeType":"ElementaryTypeName","src":"500:7:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"3230","id":18206,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"538:2:110","typeDescriptions":{"typeIdentifier":"t_rational_20_by_1","typeString":"int_const 20"},"value":"20"},"visibility":"internal"},{"constant":true,"documentation":{"id":18208,"nodeType":"StructuredDocumentation","src":"547:44:110","text":"@dev The length of the bytes encoded fee"},"id":18211,"mutability":"constant","name":"V3_FEE_SIZE","nameLocation":"622:11:110","nodeType":"VariableDeclaration","scope":18230,"src":"596:41:110","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18209,"name":"uint256","nodeType":"ElementaryTypeName","src":"596:7:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"33","id":18210,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"636:1:110","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"visibility":"internal"},{"constant":true,"documentation":{"id":18212,"nodeType":"StructuredDocumentation","src":"644:67:110","text":"@dev The offset of a single token address (20) and pool fee (3)"},"id":18217,"mutability":"constant","name":"NEXT_V3_POOL_OFFSET","nameLocation":"742:19:110","nodeType":"VariableDeclaration","scope":18230,"src":"716:71:110","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18213,"name":"uint256","nodeType":"ElementaryTypeName","src":"716:7:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18216,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"id":18214,"name":"ADDR_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18207,"src":"764:9:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":18215,"name":"V3_FEE_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18211,"src":"776:11:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"764:23:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":true,"documentation":{"id":18218,"nodeType":"StructuredDocumentation","src":"794:89:110","text":"@dev The offset of an encoded pool key\n Token (20) + Fee (3) + Token (20) = 43"},"id":18223,"mutability":"constant","name":"V3_POP_OFFSET","nameLocation":"914:13:110","nodeType":"VariableDeclaration","scope":18230,"src":"888:73:110","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18219,"name":"uint256","nodeType":"ElementaryTypeName","src":"888:7:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18222,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"id":18220,"name":"NEXT_V3_POOL_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18217,"src":"930:19:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":18221,"name":"ADDR_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18207,"src":"952:9:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"930:31:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":true,"documentation":{"id":18224,"nodeType":"StructuredDocumentation","src":"968:72:110","text":"@dev The minimum length of an encoding that contains 2 or more pools"},"id":18229,"mutability":"constant","name":"MULTIPLE_V3_POOLS_MIN_LENGTH","nameLocation":"1071:28:110","nodeType":"VariableDeclaration","scope":18230,"src":"1045:92:110","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18225,"name":"uint256","nodeType":"ElementaryTypeName","src":"1045:7:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18228,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"id":18226,"name":"V3_POP_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18223,"src":"1102:13:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":18227,"name":"NEXT_V3_POOL_OFFSET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18217,"src":"1118:19:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1102:35:110","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"scope":18231,"src":"153:987:110","usedErrors":[],"usedEvents":[]}],"src":"45:1096:110"},"id":110},"contracts/libraries/Locker.sol":{"ast":{"absolutePath":"contracts/libraries/Locker.sol","exportedSymbols":{"Locker":[18266]},"id":18267,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":18232,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:111"},{"abstract":false,"baseContracts":[],"canonicalName":"Locker","contractDependencies":[],"contractKind":"library","documentation":{"id":18233,"nodeType":"StructuredDocumentation","src":"71:293:111","text":"@notice A library to implement a reentrancy lock in transient storage.\n @dev Instead of storing a boolean, the locker's address is stored to allow the contract to know who locked the contract\n TODO: This library can be deleted when we have the transient keyword support in solidity."},"fullyImplemented":true,"id":18266,"linearizedBaseContracts":[18266],"name":"Locker","nameLocation":"372:6:111","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":18236,"mutability":"constant","name":"LOCKER_SLOT","nameLocation":"499:11:111","nodeType":"VariableDeclaration","scope":18266,"src":"482:97:111","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":18234,"name":"bytes32","nodeType":"ElementaryTypeName","src":"482:7:111","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307830653837653137383865626439656436613765363363373061333734636433323833653431636164363031643231666265323738363338393965643461373038","id":18235,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"513:66:111","typeDescriptions":{"typeIdentifier":"t_rational_6572460377064790007545423697063243272169175606111651981087972364803718293256_by_1","typeString":"int_const 6572...(68 digits omitted)...3256"},"value":"0x0e87e1788ebd9ed6a7e63c70a374cd3283e41cad601d21fbe27863899ed4a708"},"visibility":"internal"},{"body":{"id":18242,"nodeType":"Block","src":"624:180:111","statements":[{"AST":{"nativeSrc":"747:51:111","nodeType":"YulBlock","src":"747:51:111","statements":[{"expression":{"arguments":[{"name":"LOCKER_SLOT","nativeSrc":"768:11:111","nodeType":"YulIdentifier","src":"768:11:111"},{"name":"locker","nativeSrc":"781:6:111","nodeType":"YulIdentifier","src":"781:6:111"}],"functionName":{"name":"tstore","nativeSrc":"761:6:111","nodeType":"YulIdentifier","src":"761:6:111"},"nativeSrc":"761:27:111","nodeType":"YulFunctionCall","src":"761:27:111"},"nativeSrc":"761:27:111","nodeType":"YulExpressionStatement","src":"761:27:111"}]},"evmVersion":"cancun","externalReferences":[{"declaration":18236,"isOffset":false,"isSlot":false,"src":"768:11:111","valueSize":1},{"declaration":18238,"isOffset":false,"isSlot":false,"src":"781:6:111","valueSize":1}],"flags":["memory-safe"],"id":18241,"nodeType":"InlineAssembly","src":"722:76:111"}]},"id":18243,"implemented":true,"kind":"function","modifiers":[],"name":"set","nameLocation":"595:3:111","nodeType":"FunctionDefinition","parameters":{"id":18239,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18238,"mutability":"mutable","name":"locker","nameLocation":"607:6:111","nodeType":"VariableDeclaration","scope":18243,"src":"599:14:111","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18237,"name":"address","nodeType":"ElementaryTypeName","src":"599:7:111","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"598:16:111"},"returnParameters":{"id":18240,"nodeType":"ParameterList","parameters":[],"src":"624:0:111"},"scope":18266,"src":"586:218:111","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":18249,"nodeType":"Block","src":"864:93:111","statements":[{"AST":{"nativeSrc":"899:52:111","nodeType":"YulBlock","src":"899:52:111","statements":[{"nativeSrc":"913:28:111","nodeType":"YulAssignment","src":"913:28:111","value":{"arguments":[{"name":"LOCKER_SLOT","nativeSrc":"929:11:111","nodeType":"YulIdentifier","src":"929:11:111"}],"functionName":{"name":"tload","nativeSrc":"923:5:111","nodeType":"YulIdentifier","src":"923:5:111"},"nativeSrc":"923:18:111","nodeType":"YulFunctionCall","src":"923:18:111"},"variableNames":[{"name":"locker","nativeSrc":"913:6:111","nodeType":"YulIdentifier","src":"913:6:111"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":18236,"isOffset":false,"isSlot":false,"src":"929:11:111","valueSize":1},{"declaration":18246,"isOffset":false,"isSlot":false,"src":"913:6:111","valueSize":1}],"flags":["memory-safe"],"id":18248,"nodeType":"InlineAssembly","src":"874:77:111"}]},"id":18250,"implemented":true,"kind":"function","modifiers":[],"name":"get","nameLocation":"819:3:111","nodeType":"FunctionDefinition","parameters":{"id":18244,"nodeType":"ParameterList","parameters":[],"src":"822:2:111"},"returnParameters":{"id":18247,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18246,"mutability":"mutable","name":"locker","nameLocation":"856:6:111","nodeType":"VariableDeclaration","scope":18250,"src":"848:14:111","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18245,"name":"address","nodeType":"ElementaryTypeName","src":"848:7:111","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"847:16:111"},"scope":18266,"src":"810:147:111","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":18264,"nodeType":"Block","src":"1012:50:111","statements":[{"expression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":18262,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":18255,"name":"Locker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18266,"src":"1029:6:111","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Locker_$18266_$","typeString":"type(library Locker)"}},"id":18256,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1036:3:111","memberName":"get","nodeType":"MemberAccess","referencedDeclaration":18250,"src":"1029:10:111","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":18257,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1029:12:111","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":18260,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1053:1:111","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":18259,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1045:7:111","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18258,"name":"address","nodeType":"ElementaryTypeName","src":"1045:7:111","typeDescriptions":{}}},"id":18261,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1045:10:111","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1029:26:111","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":18254,"id":18263,"nodeType":"Return","src":"1022:33:111"}]},"id":18265,"implemented":true,"kind":"function","modifiers":[],"name":"isLocked","nameLocation":"972:8:111","nodeType":"FunctionDefinition","parameters":{"id":18251,"nodeType":"ParameterList","parameters":[],"src":"980:2:111"},"returnParameters":{"id":18254,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18253,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":18265,"src":"1006:4:111","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":18252,"name":"bool","nodeType":"ElementaryTypeName","src":"1006:4:111","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1005:6:111"},"scope":18266,"src":"963:99:111","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":18267,"src":"364:700:111","usedErrors":[],"usedEvents":[]}],"src":"45:1020:111"},"id":111},"contracts/libraries/MaxInputAmount.sol":{"ast":{"absolutePath":"contracts/libraries/MaxInputAmount.sol","exportedSymbols":{"MaxInputAmount":[18287]},"id":18288,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":18268,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:112"},{"abstract":false,"baseContracts":[],"canonicalName":"MaxInputAmount","contractDependencies":[],"contractKind":"library","documentation":{"id":18269,"nodeType":"StructuredDocumentation","src":"71:130:112","text":"@notice A library used to store the maximum desired amount of input tokens for exact output swaps; used for checking slippage"},"fullyImplemented":true,"id":18287,"linearizedBaseContracts":[18287],"name":"MaxInputAmount","nameLocation":"209:14:112","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":18272,"mutability":"constant","name":"MAX_AMOUNT_IN_SLOT","nameLocation":"379:18:112","nodeType":"VariableDeclaration","scope":18287,"src":"362:104:112","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":18270,"name":"bytes32","nodeType":"ElementaryTypeName","src":"362:7:112","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307861663238643938363461383164666466373163616236356634653564373961306366396230383339303566623839373134323565366362353831623366363932","id":18271,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"400:66:112","typeDescriptions":{"typeIdentifier":"t_rational_79226923684099397144257231144944576837863452274720318423306024562787301455506_by_1","typeString":"int_const 7922...(69 digits omitted)...5506"},"value":"0xaf28d9864a81dfdf71cab65f4e5d79a0cf9b083905fb8971425e6cb581b3f692"},"visibility":"internal"},{"body":{"id":18278,"nodeType":"Block","src":"516:104:112","statements":[{"AST":{"nativeSrc":"551:63:112","nodeType":"YulBlock","src":"551:63:112","statements":[{"expression":{"arguments":[{"name":"MAX_AMOUNT_IN_SLOT","nativeSrc":"572:18:112","nodeType":"YulIdentifier","src":"572:18:112"},{"name":"maxAmountIn","nativeSrc":"592:11:112","nodeType":"YulIdentifier","src":"592:11:112"}],"functionName":{"name":"tstore","nativeSrc":"565:6:112","nodeType":"YulIdentifier","src":"565:6:112"},"nativeSrc":"565:39:112","nodeType":"YulFunctionCall","src":"565:39:112"},"nativeSrc":"565:39:112","nodeType":"YulExpressionStatement","src":"565:39:112"}]},"evmVersion":"cancun","externalReferences":[{"declaration":18272,"isOffset":false,"isSlot":false,"src":"572:18:112","valueSize":1},{"declaration":18274,"isOffset":false,"isSlot":false,"src":"592:11:112","valueSize":1}],"flags":["memory-safe"],"id":18277,"nodeType":"InlineAssembly","src":"526:88:112"}]},"id":18279,"implemented":true,"kind":"function","modifiers":[],"name":"set","nameLocation":"482:3:112","nodeType":"FunctionDefinition","parameters":{"id":18275,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18274,"mutability":"mutable","name":"maxAmountIn","nameLocation":"494:11:112","nodeType":"VariableDeclaration","scope":18279,"src":"486:19:112","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18273,"name":"uint256","nodeType":"ElementaryTypeName","src":"486:7:112","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"485:21:112"},"returnParameters":{"id":18276,"nodeType":"ParameterList","parameters":[],"src":"516:0:112"},"scope":18287,"src":"473:147:112","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":18285,"nodeType":"Block","src":"685:105:112","statements":[{"AST":{"nativeSrc":"720:64:112","nodeType":"YulBlock","src":"720:64:112","statements":[{"nativeSrc":"734:40:112","nodeType":"YulAssignment","src":"734:40:112","value":{"arguments":[{"name":"MAX_AMOUNT_IN_SLOT","nativeSrc":"755:18:112","nodeType":"YulIdentifier","src":"755:18:112"}],"functionName":{"name":"tload","nativeSrc":"749:5:112","nodeType":"YulIdentifier","src":"749:5:112"},"nativeSrc":"749:25:112","nodeType":"YulFunctionCall","src":"749:25:112"},"variableNames":[{"name":"maxAmountIn","nativeSrc":"734:11:112","nodeType":"YulIdentifier","src":"734:11:112"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":18272,"isOffset":false,"isSlot":false,"src":"755:18:112","valueSize":1},{"declaration":18282,"isOffset":false,"isSlot":false,"src":"734:11:112","valueSize":1}],"flags":["memory-safe"],"id":18284,"nodeType":"InlineAssembly","src":"695:89:112"}]},"id":18286,"implemented":true,"kind":"function","modifiers":[],"name":"get","nameLocation":"635:3:112","nodeType":"FunctionDefinition","parameters":{"id":18280,"nodeType":"ParameterList","parameters":[],"src":"638:2:112"},"returnParameters":{"id":18283,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18282,"mutability":"mutable","name":"maxAmountIn","nameLocation":"672:11:112","nodeType":"VariableDeclaration","scope":18286,"src":"664:19:112","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18281,"name":"uint256","nodeType":"ElementaryTypeName","src":"664:7:112","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"663:21:112"},"scope":18287,"src":"626:164:112","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":18288,"src":"201:591:112","usedErrors":[],"usedEvents":[]}],"src":"45:748:112"},"id":112},"contracts/modules/MigratorImmutables.sol":{"ast":{"absolutePath":"contracts/modules/MigratorImmutables.sol","exportedSymbols":{"INonfungiblePositionManager":[1268],"IPoolManager":[3917],"IPositionManager":[15721],"MigratorImmutables":[18331],"MigratorParameters":[18300]},"id":18332,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":18289,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:113"},{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol","file":"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol","id":18291,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18332,"sourceUnit":1269,"src":"71:119:113","symbolAliases":[{"foreign":{"id":18290,"name":"INonfungiblePositionManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1268,"src":"79:27:113","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol","file":"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol","id":18293,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18332,"sourceUnit":15722,"src":"191:91:113","symbolAliases":[{"foreign":{"id":18292,"name":"IPositionManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15721,"src":"199:16:113","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","id":18295,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18332,"sourceUnit":3918,"src":"283:78:113","symbolAliases":[{"foreign":{"id":18294,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"291:12:113","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"canonicalName":"MigratorParameters","id":18300,"members":[{"constant":false,"id":18297,"mutability":"mutable","name":"v3PositionManager","nameLocation":"403:17:113","nodeType":"VariableDeclaration","scope":18300,"src":"395:25:113","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18296,"name":"address","nodeType":"ElementaryTypeName","src":"395:7:113","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18299,"mutability":"mutable","name":"v4PositionManager","nameLocation":"434:17:113","nodeType":"VariableDeclaration","scope":18300,"src":"426:25:113","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18298,"name":"address","nodeType":"ElementaryTypeName","src":"426:7:113","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"name":"MigratorParameters","nameLocation":"370:18:113","nodeType":"StructDefinition","scope":18332,"src":"363:91:113","visibility":"public"},{"abstract":false,"baseContracts":[],"canonicalName":"MigratorImmutables","contractDependencies":[],"contractKind":"contract","documentation":{"id":18301,"nodeType":"StructuredDocumentation","src":"456:93:113","text":"@title Migrator Immutables\n @notice Immutable state for liquidity-migration contracts"},"fullyImplemented":true,"id":18331,"linearizedBaseContracts":[18331],"name":"MigratorImmutables","nameLocation":"558:18:113","nodeType":"ContractDefinition","nodes":[{"constant":false,"documentation":{"id":18302,"nodeType":"StructuredDocumentation","src":"583:38:113","text":"@notice v3 PositionManager address"},"functionSelector":"817122dc","id":18305,"mutability":"immutable","name":"V3_POSITION_MANAGER","nameLocation":"671:19:113","nodeType":"VariableDeclaration","scope":18331,"src":"626:64:113","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_INonfungiblePositionManager_$1268","typeString":"contract INonfungiblePositionManager"},"typeName":{"id":18304,"nodeType":"UserDefinedTypeName","pathNode":{"id":18303,"name":"INonfungiblePositionManager","nameLocations":["626:27:113"],"nodeType":"IdentifierPath","referencedDeclaration":1268,"src":"626:27:113"},"referencedDeclaration":1268,"src":"626:27:113","typeDescriptions":{"typeIdentifier":"t_contract$_INonfungiblePositionManager_$1268","typeString":"contract INonfungiblePositionManager"}},"visibility":"public"},{"constant":false,"documentation":{"id":18306,"nodeType":"StructuredDocumentation","src":"696:38:113","text":"@notice v4 PositionManager address"},"functionSelector":"d0c9f6cb","id":18309,"mutability":"immutable","name":"V4_POSITION_MANAGER","nameLocation":"773:19:113","nodeType":"VariableDeclaration","scope":18331,"src":"739:53:113","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionManager_$15721","typeString":"contract IPositionManager"},"typeName":{"id":18308,"nodeType":"UserDefinedTypeName","pathNode":{"id":18307,"name":"IPositionManager","nameLocations":["739:16:113"],"nodeType":"IdentifierPath","referencedDeclaration":15721,"src":"739:16:113"},"referencedDeclaration":15721,"src":"739:16:113","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionManager_$15721","typeString":"contract IPositionManager"}},"visibility":"public"},{"body":{"id":18329,"nodeType":"Block","src":"845:166:113","statements":[{"expression":{"id":18320,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":18315,"name":"V3_POSITION_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18305,"src":"855:19:113","typeDescriptions":{"typeIdentifier":"t_contract$_INonfungiblePositionManager_$1268","typeString":"contract INonfungiblePositionManager"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":18317,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18312,"src":"905:6:113","typeDescriptions":{"typeIdentifier":"t_struct$_MigratorParameters_$18300_memory_ptr","typeString":"struct MigratorParameters memory"}},"id":18318,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"912:17:113","memberName":"v3PositionManager","nodeType":"MemberAccess","referencedDeclaration":18297,"src":"905:24:113","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":18316,"name":"INonfungiblePositionManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1268,"src":"877:27:113","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_INonfungiblePositionManager_$1268_$","typeString":"type(contract INonfungiblePositionManager)"}},"id":18319,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"877:53:113","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_INonfungiblePositionManager_$1268","typeString":"contract INonfungiblePositionManager"}},"src":"855:75:113","typeDescriptions":{"typeIdentifier":"t_contract$_INonfungiblePositionManager_$1268","typeString":"contract INonfungiblePositionManager"}},"id":18321,"nodeType":"ExpressionStatement","src":"855:75:113"},{"expression":{"id":18327,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":18322,"name":"V4_POSITION_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18309,"src":"940:19:113","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionManager_$15721","typeString":"contract IPositionManager"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":18324,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18312,"src":"979:6:113","typeDescriptions":{"typeIdentifier":"t_struct$_MigratorParameters_$18300_memory_ptr","typeString":"struct MigratorParameters memory"}},"id":18325,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"986:17:113","memberName":"v4PositionManager","nodeType":"MemberAccess","referencedDeclaration":18299,"src":"979:24:113","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":18323,"name":"IPositionManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15721,"src":"962:16:113","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IPositionManager_$15721_$","typeString":"type(contract IPositionManager)"}},"id":18326,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"962:42:113","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IPositionManager_$15721","typeString":"contract IPositionManager"}},"src":"940:64:113","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionManager_$15721","typeString":"contract IPositionManager"}},"id":18328,"nodeType":"ExpressionStatement","src":"940:64:113"}]},"id":18330,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":18313,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18312,"mutability":"mutable","name":"params","nameLocation":"837:6:113","nodeType":"VariableDeclaration","scope":18330,"src":"811:32:113","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_MigratorParameters_$18300_memory_ptr","typeString":"struct MigratorParameters"},"typeName":{"id":18311,"nodeType":"UserDefinedTypeName","pathNode":{"id":18310,"name":"MigratorParameters","nameLocations":["811:18:113"],"nodeType":"IdentifierPath","referencedDeclaration":18300,"src":"811:18:113"},"referencedDeclaration":18300,"src":"811:18:113","typeDescriptions":{"typeIdentifier":"t_struct$_MigratorParameters_$18300_storage_ptr","typeString":"struct MigratorParameters"}},"visibility":"internal"}],"src":"810:34:113"},"returnParameters":{"id":18314,"nodeType":"ParameterList","parameters":[],"src":"845:0:113"},"scope":18331,"src":"799:212:113","stateMutability":"nonpayable","virtual":false,"visibility":"public"}],"scope":18332,"src":"549:464:113","usedErrors":[],"usedEvents":[]}],"src":"45:969:113"},"id":113},"contracts/modules/Payments.sol":{"ast":{"absolutePath":"contracts/modules/Payments.sol","exportedSymbols":{"ActionConstants":[15916],"BipsLibrary":[16030],"Constants":[18230],"ERC20":[21824],"Payments":[18670],"PaymentsImmutables":[18711],"SafeTransferLib":[22473]},"id":18671,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":18333,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:114"},{"absolutePath":"contracts/libraries/Constants.sol","file":"../libraries/Constants.sol","id":18335,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18671,"sourceUnit":18231,"src":"71:53:114","symbolAliases":[{"foreign":{"id":18334,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18230,"src":"79:9:114","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/ActionConstants.sol","file":"@uniswap/v4-periphery/src/libraries/ActionConstants.sol","id":18337,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18671,"sourceUnit":15917,"src":"125:88:114","symbolAliases":[{"foreign":{"id":18336,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"133:15:114","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol","file":"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol","id":18339,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18671,"sourceUnit":16031,"src":"214:80:114","symbolAliases":[{"foreign":{"id":18338,"name":"BipsLibrary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16030,"src":"222:11:114","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/PaymentsImmutables.sol","file":"../modules/PaymentsImmutables.sol","id":18341,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18671,"sourceUnit":18712,"src":"295:69:114","symbolAliases":[{"foreign":{"id":18340,"name":"PaymentsImmutables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18711,"src":"303:18:114","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"solmate/src/utils/SafeTransferLib.sol","file":"solmate/src/utils/SafeTransferLib.sol","id":18343,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18671,"sourceUnit":22474,"src":"365:70:114","symbolAliases":[{"foreign":{"id":18342,"name":"SafeTransferLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22473,"src":"373:15:114","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"solmate/src/tokens/ERC20.sol","file":"solmate/src/tokens/ERC20.sol","id":18345,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18671,"sourceUnit":21825,"src":"436:51:114","symbolAliases":[{"foreign":{"id":18344,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"444:5:114","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":18347,"name":"PaymentsImmutables","nameLocations":["625:18:114"],"nodeType":"IdentifierPath","referencedDeclaration":18711,"src":"625:18:114"},"id":18348,"nodeType":"InheritanceSpecifier","src":"625:18:114"}],"canonicalName":"Payments","contractDependencies":[],"contractKind":"contract","documentation":{"id":18346,"nodeType":"StructuredDocumentation","src":"489:106:114","text":"@title Payments contract\n @notice Performs various operations around the payment of ETH and tokens"},"fullyImplemented":true,"id":18670,"linearizedBaseContracts":[18670,18711],"name":"Payments","nameLocation":"613:8:114","nodeType":"ContractDefinition","nodes":[{"global":false,"id":18352,"libraryName":{"id":18349,"name":"SafeTransferLib","nameLocations":["656:15:114"],"nodeType":"IdentifierPath","referencedDeclaration":22473,"src":"656:15:114"},"nodeType":"UsingForDirective","src":"650:32:114","typeName":{"id":18351,"nodeType":"UserDefinedTypeName","pathNode":{"id":18350,"name":"ERC20","nameLocations":["676:5:114"],"nodeType":"IdentifierPath","referencedDeclaration":21824,"src":"676:5:114"},"referencedDeclaration":21824,"src":"676:5:114","typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}}},{"global":false,"id":18355,"libraryName":{"id":18353,"name":"SafeTransferLib","nameLocations":["693:15:114"],"nodeType":"IdentifierPath","referencedDeclaration":22473,"src":"693:15:114"},"nodeType":"UsingForDirective","src":"687:34:114","typeName":{"id":18354,"name":"address","nodeType":"ElementaryTypeName","src":"713:7:114","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}},{"global":false,"id":18358,"libraryName":{"id":18356,"name":"BipsLibrary","nameLocations":["732:11:114"],"nodeType":"IdentifierPath","referencedDeclaration":16030,"src":"732:11:114"},"nodeType":"UsingForDirective","src":"726:30:114","typeName":{"id":18357,"name":"uint256","nodeType":"ElementaryTypeName","src":"748:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"errorSelector":"675cae38","id":18360,"name":"InsufficientToken","nameLocation":"768:17:114","nodeType":"ErrorDefinition","parameters":{"id":18359,"nodeType":"ParameterList","parameters":[],"src":"785:2:114"},"src":"762:26:114"},{"errorSelector":"6a12f104","id":18362,"name":"InsufficientETH","nameLocation":"799:15:114","nodeType":"ErrorDefinition","parameters":{"id":18361,"nodeType":"ParameterList","parameters":[],"src":"814:2:114"},"src":"793:24:114"},{"body":{"id":18411,"nodeType":"Block","src":"1133:314:114","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":18375,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18372,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18365,"src":"1147:5:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":18373,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18230,"src":"1156:9:114","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$18230_$","typeString":"type(library Constants)"}},"id":18374,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1166:3:114","memberName":"ETH","nodeType":"MemberAccess","referencedDeclaration":18203,"src":"1156:13:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1147:22:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":18409,"nodeType":"Block","src":"1234:207:114","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18386,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18383,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18369,"src":"1252:5:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":18384,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"1261:15:114","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":18385,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1277:16:114","memberName":"CONTRACT_BALANCE","nodeType":"MemberAccess","referencedDeclaration":15901,"src":"1261:32:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1252:41:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18400,"nodeType":"IfStatement","src":"1248:125:114","trueBody":{"id":18399,"nodeType":"Block","src":"1295:78:114","statements":[{"expression":{"id":18397,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":18387,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18369,"src":"1313:5:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":18394,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"1352:4:114","typeDescriptions":{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}],"id":18393,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1344:7:114","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18392,"name":"address","nodeType":"ElementaryTypeName","src":"1344:7:114","typeDescriptions":{}}},"id":18395,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1344:13:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":18389,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18365,"src":"1327:5:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":18388,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"1321:5:114","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC20_$21824_$","typeString":"type(contract ERC20)"}},"id":18390,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1321:12:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"id":18391,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1334:9:114","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":21467,"src":"1321:22:114","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":18396,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1321:37:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1313:45:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":18398,"nodeType":"ExpressionStatement","src":"1313:45:114"}]}},{"expression":{"arguments":[{"id":18405,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18367,"src":"1413:9:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":18406,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18369,"src":"1424:5:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":18402,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18365,"src":"1393:5:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":18401,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"1387:5:114","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC20_$21824_$","typeString":"type(contract ERC20)"}},"id":18403,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1387:12:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"id":18404,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1400:12:114","memberName":"safeTransfer","nodeType":"MemberAccess","referencedDeclaration":22452,"src":"1387:25:114","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_ERC20_$21824_$_t_address_$_t_uint256_$returns$__$attached_to$_t_contract$_ERC20_$21824_$","typeString":"function (contract ERC20,address,uint256)"}},"id":18407,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1387:43:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18408,"nodeType":"ExpressionStatement","src":"1387:43:114"}]},"id":18410,"nodeType":"IfStatement","src":"1143:298:114","trueBody":{"id":18382,"nodeType":"Block","src":"1171:57:114","statements":[{"expression":{"arguments":[{"id":18379,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18369,"src":"1211:5:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":18376,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18367,"src":"1185:9:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":18378,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1195:15:114","memberName":"safeTransferETH","nodeType":"MemberAccess","referencedDeclaration":22410,"src":"1185:25:114","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$attached_to$_t_address_$","typeString":"function (address,uint256)"}},"id":18380,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1185:32:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18381,"nodeType":"ExpressionStatement","src":"1185:32:114"}]}}]},"documentation":{"id":18363,"nodeType":"StructuredDocumentation","src":"823:234:114","text":"@notice Pays an amount of ETH or ERC20 to a recipient\n @param token The token to pay (can be ETH using Constants.ETH)\n @param recipient The address that will receive the payment\n @param value The amount to pay"},"id":18412,"implemented":true,"kind":"function","modifiers":[],"name":"pay","nameLocation":"1071:3:114","nodeType":"FunctionDefinition","parameters":{"id":18370,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18365,"mutability":"mutable","name":"token","nameLocation":"1083:5:114","nodeType":"VariableDeclaration","scope":18412,"src":"1075:13:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18364,"name":"address","nodeType":"ElementaryTypeName","src":"1075:7:114","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18367,"mutability":"mutable","name":"recipient","nameLocation":"1098:9:114","nodeType":"VariableDeclaration","scope":18412,"src":"1090:17:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18366,"name":"address","nodeType":"ElementaryTypeName","src":"1090:7:114","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18369,"mutability":"mutable","name":"value","nameLocation":"1117:5:114","nodeType":"VariableDeclaration","scope":18412,"src":"1109:13:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18368,"name":"uint256","nodeType":"ElementaryTypeName","src":"1109:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1074:49:114"},"returnParameters":{"id":18371,"nodeType":"ParameterList","parameters":[],"src":"1133:0:114"},"scope":18670,"src":"1062:385:114","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":18477,"nodeType":"Block","src":"1813:421:114","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":18425,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18422,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18415,"src":"1827:5:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":18423,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18230,"src":"1836:9:114","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$18230_$","typeString":"type(library Constants)"}},"id":18424,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1846:3:114","memberName":"ETH","nodeType":"MemberAccess","referencedDeclaration":18203,"src":"1836:13:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1827:22:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":18475,"nodeType":"Block","src":"2029:199:114","statements":[{"assignments":[18449],"declarations":[{"constant":false,"id":18449,"mutability":"mutable","name":"balance","nameLocation":"2051:7:114","nodeType":"VariableDeclaration","scope":18475,"src":"2043:15:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18448,"name":"uint256","nodeType":"ElementaryTypeName","src":"2043:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":18459,"initialValue":{"arguments":[{"arguments":[{"id":18456,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"2092:4:114","typeDescriptions":{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}],"id":18455,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2084:7:114","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18454,"name":"address","nodeType":"ElementaryTypeName","src":"2084:7:114","typeDescriptions":{}}},"id":18457,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2084:13:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":18451,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18415,"src":"2067:5:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":18450,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"2061:5:114","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC20_$21824_$","typeString":"type(contract ERC20)"}},"id":18452,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2061:12:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"id":18453,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2074:9:114","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":21467,"src":"2061:22:114","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":18458,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2061:37:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2043:55:114"},{"assignments":[18461],"declarations":[{"constant":false,"id":18461,"mutability":"mutable","name":"amount","nameLocation":"2120:6:114","nodeType":"VariableDeclaration","scope":18475,"src":"2112:14:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18460,"name":"uint256","nodeType":"ElementaryTypeName","src":"2112:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":18466,"initialValue":{"arguments":[{"id":18464,"name":"bips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18419,"src":"2154:4:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":18462,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18449,"src":"2129:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":18463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2137:16:114","memberName":"calculatePortion","nodeType":"MemberAccess","referencedDeclaration":16029,"src":"2129:24:114","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$attached_to$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":18465,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2129:30:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2112:47:114"},{"expression":{"arguments":[{"id":18471,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18417,"src":"2199:9:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":18472,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18461,"src":"2210:6:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":18468,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18415,"src":"2179:5:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":18467,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"2173:5:114","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC20_$21824_$","typeString":"type(contract ERC20)"}},"id":18469,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2173:12:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"id":18470,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2186:12:114","memberName":"safeTransfer","nodeType":"MemberAccess","referencedDeclaration":22452,"src":"2173:25:114","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_ERC20_$21824_$_t_address_$_t_uint256_$returns$__$attached_to$_t_contract$_ERC20_$21824_$","typeString":"function (contract ERC20,address,uint256)"}},"id":18473,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2173:44:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18474,"nodeType":"ExpressionStatement","src":"2173:44:114"}]},"id":18476,"nodeType":"IfStatement","src":"1823:405:114","trueBody":{"id":18447,"nodeType":"Block","src":"1851:172:114","statements":[{"assignments":[18427],"declarations":[{"constant":false,"id":18427,"mutability":"mutable","name":"balance","nameLocation":"1873:7:114","nodeType":"VariableDeclaration","scope":18447,"src":"1865:15:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18426,"name":"uint256","nodeType":"ElementaryTypeName","src":"1865:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":18433,"initialValue":{"expression":{"arguments":[{"id":18430,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"1891:4:114","typeDescriptions":{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}],"id":18429,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1883:7:114","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18428,"name":"address","nodeType":"ElementaryTypeName","src":"1883:7:114","typeDescriptions":{}}},"id":18431,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1883:13:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":18432,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1897:7:114","memberName":"balance","nodeType":"MemberAccess","src":"1883:21:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1865:39:114"},{"assignments":[18435],"declarations":[{"constant":false,"id":18435,"mutability":"mutable","name":"amount","nameLocation":"1926:6:114","nodeType":"VariableDeclaration","scope":18447,"src":"1918:14:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18434,"name":"uint256","nodeType":"ElementaryTypeName","src":"1918:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":18440,"initialValue":{"arguments":[{"id":18438,"name":"bips","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18419,"src":"1960:4:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":18436,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18427,"src":"1935:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":18437,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1943:16:114","memberName":"calculatePortion","nodeType":"MemberAccess","referencedDeclaration":16029,"src":"1935:24:114","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$attached_to$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":18439,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1935:30:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1918:47:114"},{"expression":{"arguments":[{"id":18444,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18435,"src":"2005:6:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":18441,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18417,"src":"1979:9:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":18443,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1989:15:114","memberName":"safeTransferETH","nodeType":"MemberAccess","referencedDeclaration":22410,"src":"1979:25:114","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$attached_to$_t_address_$","typeString":"function (address,uint256)"}},"id":18445,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1979:33:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18446,"nodeType":"ExpressionStatement","src":"1979:33:114"}]}}]},"documentation":{"id":18413,"nodeType":"StructuredDocumentation","src":"1453:278:114","text":"@notice Pays a proportion of the contract's ETH or ERC20 to a recipient\n @param token The token to pay (can be ETH using Constants.ETH)\n @param recipient The address that will receive payment\n @param bips Portion in bips of whole balance of the contract"},"id":18478,"implemented":true,"kind":"function","modifiers":[],"name":"payPortion","nameLocation":"1745:10:114","nodeType":"FunctionDefinition","parameters":{"id":18420,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18415,"mutability":"mutable","name":"token","nameLocation":"1764:5:114","nodeType":"VariableDeclaration","scope":18478,"src":"1756:13:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18414,"name":"address","nodeType":"ElementaryTypeName","src":"1756:7:114","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18417,"mutability":"mutable","name":"recipient","nameLocation":"1779:9:114","nodeType":"VariableDeclaration","scope":18478,"src":"1771:17:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18416,"name":"address","nodeType":"ElementaryTypeName","src":"1771:7:114","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18419,"mutability":"mutable","name":"bips","nameLocation":"1798:4:114","nodeType":"VariableDeclaration","scope":18478,"src":"1790:12:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18418,"name":"uint256","nodeType":"ElementaryTypeName","src":"1790:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1755:48:114"},"returnParameters":{"id":18421,"nodeType":"ParameterList","parameters":[],"src":"1813:0:114"},"scope":18670,"src":"1736:498:114","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":18554,"nodeType":"Block","src":"2585:480:114","statements":[{"assignments":[18489],"declarations":[{"constant":false,"id":18489,"mutability":"mutable","name":"balance","nameLocation":"2603:7:114","nodeType":"VariableDeclaration","scope":18554,"src":"2595:15:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18488,"name":"uint256","nodeType":"ElementaryTypeName","src":"2595:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":18490,"nodeType":"VariableDeclarationStatement","src":"2595:15:114"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":18494,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18491,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18481,"src":"2624:5:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":18492,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18230,"src":"2633:9:114","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$18230_$","typeString":"type(library Constants)"}},"id":18493,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2643:3:114","memberName":"ETH","nodeType":"MemberAccess","referencedDeclaration":18203,"src":"2633:13:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2624:22:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":18552,"nodeType":"Block","src":"2842:217:114","statements":[{"expression":{"id":18531,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":18521,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18489,"src":"2856:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":18528,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"2897:4:114","typeDescriptions":{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}],"id":18527,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2889:7:114","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18526,"name":"address","nodeType":"ElementaryTypeName","src":"2889:7:114","typeDescriptions":{}}},"id":18529,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2889:13:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":18523,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18481,"src":"2872:5:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":18522,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"2866:5:114","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC20_$21824_$","typeString":"type(contract ERC20)"}},"id":18524,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2866:12:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"id":18525,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2879:9:114","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":21467,"src":"2866:22:114","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":18530,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2866:37:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2856:47:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":18532,"nodeType":"ExpressionStatement","src":"2856:47:114"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18535,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18533,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18489,"src":"2921:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":18534,"name":"amountMinimum","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18485,"src":"2931:13:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2921:23:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18539,"nodeType":"IfStatement","src":"2917:55:114","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":18536,"name":"InsufficientToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18360,"src":"2953:17:114","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":18537,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2953:19:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":18538,"nodeType":"RevertStatement","src":"2946:26:114"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18542,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18540,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18489,"src":"2990:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":18541,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3000:1:114","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2990:11:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18551,"nodeType":"IfStatement","src":"2986:62:114","trueBody":{"expression":{"arguments":[{"id":18547,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18483,"src":"3029:9:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":18548,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18489,"src":"3040:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":18544,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18481,"src":"3009:5:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":18543,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"3003:5:114","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC20_$21824_$","typeString":"type(contract ERC20)"}},"id":18545,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3003:12:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"id":18546,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3016:12:114","memberName":"safeTransfer","nodeType":"MemberAccess","referencedDeclaration":22452,"src":"3003:25:114","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_contract$_ERC20_$21824_$_t_address_$_t_uint256_$returns$__$attached_to$_t_contract$_ERC20_$21824_$","typeString":"function (contract ERC20,address,uint256)"}},"id":18549,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3003:45:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18550,"nodeType":"ExpressionStatement","src":"3003:45:114"}}]},"id":18553,"nodeType":"IfStatement","src":"2620:439:114","trueBody":{"id":18520,"nodeType":"Block","src":"2648:188:114","statements":[{"expression":{"id":18501,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":18495,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18489,"src":"2662:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"arguments":[{"id":18498,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"2680:4:114","typeDescriptions":{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}],"id":18497,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2672:7:114","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18496,"name":"address","nodeType":"ElementaryTypeName","src":"2672:7:114","typeDescriptions":{}}},"id":18499,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2672:13:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":18500,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2686:7:114","memberName":"balance","nodeType":"MemberAccess","src":"2672:21:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2662:31:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":18502,"nodeType":"ExpressionStatement","src":"2662:31:114"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18505,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18503,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18489,"src":"2711:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":18504,"name":"amountMinimum","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18485,"src":"2721:13:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2711:23:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18509,"nodeType":"IfStatement","src":"2707:53:114","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":18506,"name":"InsufficientETH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18362,"src":"2743:15:114","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":18507,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2743:17:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":18508,"nodeType":"RevertStatement","src":"2736:24:114"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18512,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18510,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18489,"src":"2778:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":18511,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2788:1:114","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2778:11:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18519,"nodeType":"IfStatement","src":"2774:51:114","trueBody":{"expression":{"arguments":[{"id":18516,"name":"balance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18489,"src":"2817:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":18513,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18483,"src":"2791:9:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":18515,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2801:15:114","memberName":"safeTransferETH","nodeType":"MemberAccess","referencedDeclaration":22410,"src":"2791:25:114","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$attached_to$_t_address_$","typeString":"function (address,uint256)"}},"id":18517,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2791:34:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18518,"nodeType":"ExpressionStatement","src":"2791:34:114"}}]}}]},"documentation":{"id":18479,"nodeType":"StructuredDocumentation","src":"2240:259:114","text":"@notice Sweeps all of the contract's ERC20 or ETH to an address\n @param token The token to sweep (can be ETH using Constants.ETH)\n @param recipient The address that will receive payment\n @param amountMinimum The minimum desired amount"},"id":18555,"implemented":true,"kind":"function","modifiers":[],"name":"sweep","nameLocation":"2513:5:114","nodeType":"FunctionDefinition","parameters":{"id":18486,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18481,"mutability":"mutable","name":"token","nameLocation":"2527:5:114","nodeType":"VariableDeclaration","scope":18555,"src":"2519:13:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18480,"name":"address","nodeType":"ElementaryTypeName","src":"2519:7:114","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18483,"mutability":"mutable","name":"recipient","nameLocation":"2542:9:114","nodeType":"VariableDeclaration","scope":18555,"src":"2534:17:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18482,"name":"address","nodeType":"ElementaryTypeName","src":"2534:7:114","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18485,"mutability":"mutable","name":"amountMinimum","nameLocation":"2561:13:114","nodeType":"VariableDeclaration","scope":18555,"src":"2553:21:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18484,"name":"uint256","nodeType":"ElementaryTypeName","src":"2553:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2518:57:114"},"returnParameters":{"id":18487,"nodeType":"ParameterList","parameters":[],"src":"2585:0:114"},"scope":18670,"src":"2504:561:114","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":18616,"nodeType":"Block","src":"3299:401:114","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18566,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18563,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18560,"src":"3313:6:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":18564,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"3323:15:114","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":18565,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3339:16:114","memberName":"CONTRACT_BALANCE","nodeType":"MemberAccess","referencedDeclaration":15901,"src":"3323:32:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3313:42:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18582,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18576,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18560,"src":"3422:6:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":18579,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3439:4:114","typeDescriptions":{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}],"id":18578,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3431:7:114","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18577,"name":"address","nodeType":"ElementaryTypeName","src":"3431:7:114","typeDescriptions":{}}},"id":18580,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3431:13:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":18581,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3445:7:114","memberName":"balance","nodeType":"MemberAccess","src":"3431:21:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3422:30:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18587,"nodeType":"IfStatement","src":"3418:85:114","trueBody":{"id":18586,"nodeType":"Block","src":"3454:49:114","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":18583,"name":"InsufficientETH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18362,"src":"3475:15:114","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":18584,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3475:17:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":18585,"nodeType":"RevertStatement","src":"3468:24:114"}]}},"id":18588,"nodeType":"IfStatement","src":"3309:194:114","trueBody":{"id":18575,"nodeType":"Block","src":"3357:55:114","statements":[{"expression":{"id":18573,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":18567,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18560,"src":"3371:6:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"arguments":[{"id":18570,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3388:4:114","typeDescriptions":{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}],"id":18569,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3380:7:114","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18568,"name":"address","nodeType":"ElementaryTypeName","src":"3380:7:114","typeDescriptions":{}}},"id":18571,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3380:13:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":18572,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3394:7:114","memberName":"balance","nodeType":"MemberAccess","src":"3380:21:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3371:30:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":18574,"nodeType":"ExpressionStatement","src":"3371:30:114"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18591,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18589,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18560,"src":"3516:6:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":18590,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3525:1:114","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3516:10:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18615,"nodeType":"IfStatement","src":"3512:182:114","trueBody":{"id":18614,"nodeType":"Block","src":"3528:166:114","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"argumentTypes":[],"expression":{"id":18592,"name":"WETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18685,"src":"3542:5:114","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"id":18594,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3548:7:114","memberName":"deposit","nodeType":"MemberAccess","referencedDeclaration":15883,"src":"3542:13:114","typeDescriptions":{"typeIdentifier":"t_function_external_payable$__$returns$__$","typeString":"function () payable external"}},"id":18596,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":18595,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18560,"src":"3563:6:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"3542:28:114","typeDescriptions":{"typeIdentifier":"t_function_external_payable$__$returns$__$value","typeString":"function () payable external"}},"id":18597,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3542:30:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18598,"nodeType":"ExpressionStatement","src":"3542:30:114"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":18604,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18599,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18558,"src":"3590:9:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":18602,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3611:4:114","typeDescriptions":{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}],"id":18601,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3603:7:114","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18600,"name":"address","nodeType":"ElementaryTypeName","src":"3603:7:114","typeDescriptions":{}}},"id":18603,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3603:13:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3590:26:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18613,"nodeType":"IfStatement","src":"3586:98:114","trueBody":{"id":18612,"nodeType":"Block","src":"3618:66:114","statements":[{"expression":{"arguments":[{"id":18608,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18558,"src":"3651:9:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":18609,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18560,"src":"3662:6:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":18605,"name":"WETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18685,"src":"3636:5:114","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"id":18607,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3642:8:114","memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":44,"src":"3636:14:114","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":18610,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3636:33:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18611,"nodeType":"ExpressionStatement","src":"3636:33:114"}]}}]}}]},"documentation":{"id":18556,"nodeType":"StructuredDocumentation","src":"3071:162:114","text":"@notice Wraps an amount of ETH into WETH\n @param recipient The recipient of the WETH\n @param amount The amount to wrap (can be CONTRACT_BALANCE)"},"id":18617,"implemented":true,"kind":"function","modifiers":[],"name":"wrapETH","nameLocation":"3247:7:114","nodeType":"FunctionDefinition","parameters":{"id":18561,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18558,"mutability":"mutable","name":"recipient","nameLocation":"3263:9:114","nodeType":"VariableDeclaration","scope":18617,"src":"3255:17:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18557,"name":"address","nodeType":"ElementaryTypeName","src":"3255:7:114","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18560,"mutability":"mutable","name":"amount","nameLocation":"3282:6:114","nodeType":"VariableDeclaration","scope":18617,"src":"3274:14:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18559,"name":"uint256","nodeType":"ElementaryTypeName","src":"3274:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3254:35:114"},"returnParameters":{"id":18562,"nodeType":"ParameterList","parameters":[],"src":"3299:0:114"},"scope":18670,"src":"3238:462:114","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":18668,"nodeType":"Block","src":"3951:328:114","statements":[{"assignments":[18626],"declarations":[{"constant":false,"id":18626,"mutability":"mutable","name":"value","nameLocation":"3969:5:114","nodeType":"VariableDeclaration","scope":18668,"src":"3961:13:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18625,"name":"uint256","nodeType":"ElementaryTypeName","src":"3961:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":18634,"initialValue":{"arguments":[{"arguments":[{"id":18631,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"4001:4:114","typeDescriptions":{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}],"id":18630,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3993:7:114","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18629,"name":"address","nodeType":"ElementaryTypeName","src":"3993:7:114","typeDescriptions":{}}},"id":18632,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3993:13:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":18627,"name":"WETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18685,"src":"3977:5:114","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"id":18628,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3983:9:114","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":34,"src":"3977:15:114","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":18633,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3977:30:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3961:46:114"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18637,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18635,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18626,"src":"4021:5:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":18636,"name":"amountMinimum","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18622,"src":"4029:13:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4021:21:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18642,"nodeType":"IfStatement","src":"4017:76:114","trueBody":{"id":18641,"nodeType":"Block","src":"4044:49:114","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":18638,"name":"InsufficientETH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18362,"src":"4065:15:114","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":18639,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4065:17:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":18640,"nodeType":"RevertStatement","src":"4058:24:114"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18645,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18643,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18626,"src":"4106:5:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":18644,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4114:1:114","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4106:9:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18667,"nodeType":"IfStatement","src":"4102:171:114","trueBody":{"id":18666,"nodeType":"Block","src":"4117:156:114","statements":[{"expression":{"arguments":[{"id":18649,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18626,"src":"4146:5:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":18646,"name":"WETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18685,"src":"4131:5:114","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"id":18648,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4137:8:114","memberName":"withdraw","nodeType":"MemberAccess","referencedDeclaration":15889,"src":"4131:14:114","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256) external"}},"id":18650,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4131:21:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18651,"nodeType":"ExpressionStatement","src":"4131:21:114"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":18657,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18652,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18620,"src":"4170:9:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"id":18655,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"4191:4:114","typeDescriptions":{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Payments_$18670","typeString":"contract Payments"}],"id":18654,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4183:7:114","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18653,"name":"address","nodeType":"ElementaryTypeName","src":"4183:7:114","typeDescriptions":{}}},"id":18656,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4183:13:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4170:26:114","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18665,"nodeType":"IfStatement","src":"4166:97:114","trueBody":{"id":18664,"nodeType":"Block","src":"4198:65:114","statements":[{"expression":{"arguments":[{"id":18661,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18626,"src":"4242:5:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":18658,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18620,"src":"4216:9:114","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":18660,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4226:15:114","memberName":"safeTransferETH","nodeType":"MemberAccess","referencedDeclaration":22410,"src":"4216:25:114","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$attached_to$_t_address_$","typeString":"function (address,uint256)"}},"id":18662,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4216:32:114","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18663,"nodeType":"ExpressionStatement","src":"4216:32:114"}]}}]}}]},"documentation":{"id":18618,"nodeType":"StructuredDocumentation","src":"3706:168:114","text":"@notice Unwraps all of the contract's WETH into ETH\n @param recipient The recipient of the ETH\n @param amountMinimum The minimum amount of ETH desired"},"id":18669,"implemented":true,"kind":"function","modifiers":[],"name":"unwrapWETH9","nameLocation":"3888:11:114","nodeType":"FunctionDefinition","parameters":{"id":18623,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18620,"mutability":"mutable","name":"recipient","nameLocation":"3908:9:114","nodeType":"VariableDeclaration","scope":18669,"src":"3900:17:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18619,"name":"address","nodeType":"ElementaryTypeName","src":"3900:7:114","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18622,"mutability":"mutable","name":"amountMinimum","nameLocation":"3927:13:114","nodeType":"VariableDeclaration","scope":18669,"src":"3919:21:114","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18621,"name":"uint256","nodeType":"ElementaryTypeName","src":"3919:7:114","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3899:42:114"},"returnParameters":{"id":18624,"nodeType":"ParameterList","parameters":[],"src":"3951:0:114"},"scope":18670,"src":"3879:400:114","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":18671,"src":"595:3686:114","usedErrors":[18360,18362],"usedEvents":[]}],"src":"45:4237:114"},"id":114},"contracts/modules/PaymentsImmutables.sol":{"ast":{"absolutePath":"contracts/modules/PaymentsImmutables.sol","exportedSymbols":{"IPermit2":[21036],"IWETH9":[15890],"PaymentsImmutables":[18711],"PaymentsParameters":[18681]},"id":18712,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":18672,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:115"},{"absolutePath":"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol","file":"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol","id":18674,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18712,"sourceUnit":15891,"src":"71:80:115","symbolAliases":[{"foreign":{"id":18673,"name":"IWETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15890,"src":"79:6:115","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"permit2/src/interfaces/IPermit2.sol","file":"permit2/src/interfaces/IPermit2.sol","id":18676,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18712,"sourceUnit":21037,"src":"152:61:115","symbolAliases":[{"foreign":{"id":18675,"name":"IPermit2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21036,"src":"160:8:115","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"canonicalName":"PaymentsParameters","id":18681,"members":[{"constant":false,"id":18678,"mutability":"mutable","name":"permit2","nameLocation":"255:7:115","nodeType":"VariableDeclaration","scope":18681,"src":"247:15:115","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18677,"name":"address","nodeType":"ElementaryTypeName","src":"247:7:115","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18680,"mutability":"mutable","name":"weth9","nameLocation":"276:5:115","nodeType":"VariableDeclaration","scope":18681,"src":"268:13:115","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18679,"name":"address","nodeType":"ElementaryTypeName","src":"268:7:115","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"name":"PaymentsParameters","nameLocation":"222:18:115","nodeType":"StructDefinition","scope":18712,"src":"215:69:115","visibility":"public"},{"abstract":false,"baseContracts":[],"canonicalName":"PaymentsImmutables","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":18711,"linearizedBaseContracts":[18711],"name":"PaymentsImmutables","nameLocation":"295:18:115","nodeType":"ContractDefinition","nodes":[{"constant":false,"documentation":{"id":18682,"nodeType":"StructuredDocumentation","src":"320:25:115","text":"@notice WETH9 address"},"id":18685,"mutability":"immutable","name":"WETH9","nameLocation":"376:5:115","nodeType":"VariableDeclaration","scope":18711,"src":"350:31:115","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"},"typeName":{"id":18684,"nodeType":"UserDefinedTypeName","pathNode":{"id":18683,"name":"IWETH9","nameLocations":["350:6:115"],"nodeType":"IdentifierPath","referencedDeclaration":15890,"src":"350:6:115"},"referencedDeclaration":15890,"src":"350:6:115","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"visibility":"internal"},{"constant":false,"documentation":{"id":18686,"nodeType":"StructuredDocumentation","src":"388:27:115","text":"@notice Permit2 address"},"id":18689,"mutability":"immutable","name":"PERMIT2","nameLocation":"448:7:115","nodeType":"VariableDeclaration","scope":18711,"src":"420:35:115","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IPermit2_$21036","typeString":"contract IPermit2"},"typeName":{"id":18688,"nodeType":"UserDefinedTypeName","pathNode":{"id":18687,"name":"IPermit2","nameLocations":["420:8:115"],"nodeType":"IdentifierPath","referencedDeclaration":21036,"src":"420:8:115"},"referencedDeclaration":21036,"src":"420:8:115","typeDescriptions":{"typeIdentifier":"t_contract$_IPermit2_$21036","typeString":"contract IPermit2"}},"visibility":"internal"},{"body":{"id":18709,"nodeType":"Block","src":"508:89:115","statements":[{"expression":{"id":18700,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":18695,"name":"WETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18685,"src":"518:5:115","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":18697,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18692,"src":"533:6:115","typeDescriptions":{"typeIdentifier":"t_struct$_PaymentsParameters_$18681_memory_ptr","typeString":"struct PaymentsParameters memory"}},"id":18698,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"540:5:115","memberName":"weth9","nodeType":"MemberAccess","referencedDeclaration":18680,"src":"533:12:115","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":18696,"name":"IWETH9","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15890,"src":"526:6:115","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IWETH9_$15890_$","typeString":"type(contract IWETH9)"}},"id":18699,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"526:20:115","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"src":"518:28:115","typeDescriptions":{"typeIdentifier":"t_contract$_IWETH9_$15890","typeString":"contract IWETH9"}},"id":18701,"nodeType":"ExpressionStatement","src":"518:28:115"},{"expression":{"id":18707,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":18702,"name":"PERMIT2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18689,"src":"556:7:115","typeDescriptions":{"typeIdentifier":"t_contract$_IPermit2_$21036","typeString":"contract IPermit2"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":18704,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18692,"src":"575:6:115","typeDescriptions":{"typeIdentifier":"t_struct$_PaymentsParameters_$18681_memory_ptr","typeString":"struct PaymentsParameters memory"}},"id":18705,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"582:7:115","memberName":"permit2","nodeType":"MemberAccess","referencedDeclaration":18678,"src":"575:14:115","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":18703,"name":"IPermit2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21036,"src":"566:8:115","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IPermit2_$21036_$","typeString":"type(contract IPermit2)"}},"id":18706,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"566:24:115","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IPermit2_$21036","typeString":"contract IPermit2"}},"src":"556:34:115","typeDescriptions":{"typeIdentifier":"t_contract$_IPermit2_$21036","typeString":"contract IPermit2"}},"id":18708,"nodeType":"ExpressionStatement","src":"556:34:115"}]},"id":18710,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":18693,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18692,"mutability":"mutable","name":"params","nameLocation":"500:6:115","nodeType":"VariableDeclaration","scope":18710,"src":"474:32:115","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PaymentsParameters_$18681_memory_ptr","typeString":"struct PaymentsParameters"},"typeName":{"id":18691,"nodeType":"UserDefinedTypeName","pathNode":{"id":18690,"name":"PaymentsParameters","nameLocations":["474:18:115"],"nodeType":"IdentifierPath","referencedDeclaration":18681,"src":"474:18:115"},"referencedDeclaration":18681,"src":"474:18:115","typeDescriptions":{"typeIdentifier":"t_struct$_PaymentsParameters_$18681_storage_ptr","typeString":"struct PaymentsParameters"}},"visibility":"internal"}],"src":"473:34:115"},"returnParameters":{"id":18694,"nodeType":"ParameterList","parameters":[],"src":"508:0:115"},"scope":18711,"src":"462:135:115","stateMutability":"nonpayable","virtual":false,"visibility":"public"}],"scope":18712,"src":"286:313:115","usedErrors":[],"usedEvents":[]}],"src":"45:555:115"},"id":115},"contracts/modules/Permit2Payments.sol":{"ast":{"absolutePath":"contracts/modules/Permit2Payments.sol","exportedSymbols":{"IAllowanceTransfer":[21003],"Payments":[18670],"Permit2Payments":[18829],"SafeCast160":[21207]},"id":18830,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":18713,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:116"},{"absolutePath":"permit2/src/interfaces/IAllowanceTransfer.sol","file":"permit2/src/interfaces/IAllowanceTransfer.sol","id":18715,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18830,"sourceUnit":21004,"src":"71:81:116","symbolAliases":[{"foreign":{"id":18714,"name":"IAllowanceTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21003,"src":"79:18:116","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"permit2/src/libraries/SafeCast160.sol","file":"permit2/src/libraries/SafeCast160.sol","id":18717,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18830,"sourceUnit":21208,"src":"153:66:116","symbolAliases":[{"foreign":{"id":18716,"name":"SafeCast160","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21207,"src":"161:11:116","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/Payments.sol","file":"./Payments.sol","id":18719,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":18830,"sourceUnit":18671,"src":"220:40:116","symbolAliases":[{"foreign":{"id":18718,"name":"Payments","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18670,"src":"228:8:116","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":18721,"name":"Payments","nameLocations":["401:8:116"],"nodeType":"IdentifierPath","referencedDeclaration":18670,"src":"401:8:116"},"id":18722,"nodeType":"InheritanceSpecifier","src":"401:8:116"}],"canonicalName":"Permit2Payments","contractDependencies":[],"contractKind":"contract","documentation":{"id":18720,"nodeType":"StructuredDocumentation","src":"262:102:116","text":"@title Payments through Permit2\n @notice Performs interactions with Permit2 to transfer tokens"},"fullyImplemented":true,"id":18829,"linearizedBaseContracts":[18829,18670,18711],"name":"Permit2Payments","nameLocation":"382:15:116","nodeType":"ContractDefinition","nodes":[{"global":false,"id":18725,"libraryName":{"id":18723,"name":"SafeCast160","nameLocations":["422:11:116"],"nodeType":"IdentifierPath","referencedDeclaration":21207,"src":"422:11:116"},"nodeType":"UsingForDirective","src":"416:30:116","typeName":{"id":18724,"name":"uint256","nodeType":"ElementaryTypeName","src":"438:7:116","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"errorSelector":"e7002877","id":18727,"name":"FromAddressIsNotOwner","nameLocation":"458:21:116","nodeType":"ErrorDefinition","parameters":{"id":18726,"nodeType":"ParameterList","parameters":[],"src":"479:2:116"},"src":"452:30:116"},{"body":{"id":18748,"nodeType":"Block","src":"819:62:116","statements":[{"expression":{"arguments":[{"id":18742,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18732,"src":"850:4:116","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":18743,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18734,"src":"856:2:116","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":18744,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18736,"src":"860:6:116","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":18745,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18730,"src":"868:5:116","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":18739,"name":"PERMIT2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18689,"src":"829:7:116","typeDescriptions":{"typeIdentifier":"t_contract$_IPermit2_$21036","typeString":"contract IPermit2"}},"id":18741,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"837:12:116","memberName":"transferFrom","nodeType":"MemberAccess","referencedDeclaration":20976,"src":"829:20:116","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint160_$_t_address_$returns$__$","typeString":"function (address,address,uint160,address) external"}},"id":18746,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"829:45:116","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18747,"nodeType":"ExpressionStatement","src":"829:45:116"}]},"documentation":{"id":18728,"nodeType":"StructuredDocumentation","src":"488:231:116","text":"@notice Performs a transferFrom on Permit2\n @param token The token to transfer\n @param from The address to transfer from\n @param to The recipient of the transfer\n @param amount The amount to transfer"},"id":18749,"implemented":true,"kind":"function","modifiers":[],"name":"permit2TransferFrom","nameLocation":"733:19:116","nodeType":"FunctionDefinition","parameters":{"id":18737,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18730,"mutability":"mutable","name":"token","nameLocation":"761:5:116","nodeType":"VariableDeclaration","scope":18749,"src":"753:13:116","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18729,"name":"address","nodeType":"ElementaryTypeName","src":"753:7:116","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18732,"mutability":"mutable","name":"from","nameLocation":"776:4:116","nodeType":"VariableDeclaration","scope":18749,"src":"768:12:116","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18731,"name":"address","nodeType":"ElementaryTypeName","src":"768:7:116","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18734,"mutability":"mutable","name":"to","nameLocation":"790:2:116","nodeType":"VariableDeclaration","scope":18749,"src":"782:10:116","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18733,"name":"address","nodeType":"ElementaryTypeName","src":"782:7:116","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18736,"mutability":"mutable","name":"amount","nameLocation":"802:6:116","nodeType":"VariableDeclaration","scope":18749,"src":"794:14:116","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":18735,"name":"uint160","nodeType":"ElementaryTypeName","src":"794:7:116","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"752:57:116"},"returnParameters":{"id":18738,"nodeType":"ParameterList","parameters":[],"src":"819:0:116"},"scope":18829,"src":"724:157:116","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":18792,"nodeType":"Block","src":"1240:243:116","statements":[{"assignments":[18760],"declarations":[{"constant":false,"id":18760,"mutability":"mutable","name":"batchLength","nameLocation":"1258:11:116","nodeType":"VariableDeclaration","scope":18792,"src":"1250:19:116","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18759,"name":"uint256","nodeType":"ElementaryTypeName","src":"1250:7:116","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":18763,"initialValue":{"expression":{"id":18761,"name":"batchDetails","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18754,"src":"1272:12:116","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_AllowanceTransferDetails_$20914_calldata_ptr_$dyn_calldata_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails calldata[] calldata"}},"id":18762,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1285:6:116","memberName":"length","nodeType":"MemberAccess","src":"1272:19:116","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1250:41:116"},{"body":{"id":18784,"nodeType":"Block","src":"1343:90:116","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":18779,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":18774,"name":"batchDetails","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18754,"src":"1361:12:116","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_AllowanceTransferDetails_$20914_calldata_ptr_$dyn_calldata_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails calldata[] calldata"}},"id":18776,"indexExpression":{"id":18775,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18765,"src":"1374:1:116","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1361:15:116","typeDescriptions":{"typeIdentifier":"t_struct$_AllowanceTransferDetails_$20914_calldata_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails calldata"}},"id":18777,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1377:4:116","memberName":"from","nodeType":"MemberAccess","referencedDeclaration":20907,"src":"1361:20:116","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":18778,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18756,"src":"1385:5:116","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1361:29:116","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18783,"nodeType":"IfStatement","src":"1357:65:116","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":18780,"name":"FromAddressIsNotOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18727,"src":"1399:21:116","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":18781,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1399:23:116","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":18782,"nodeType":"RevertStatement","src":"1392:30:116"}}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":18770,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18768,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18765,"src":"1321:1:116","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":18769,"name":"batchLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18760,"src":"1325:11:116","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1321:15:116","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18785,"initializationExpression":{"assignments":[18765],"declarations":[{"constant":false,"id":18765,"mutability":"mutable","name":"i","nameLocation":"1314:1:116","nodeType":"VariableDeclaration","scope":18785,"src":"1306:9:116","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18764,"name":"uint256","nodeType":"ElementaryTypeName","src":"1306:7:116","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":18767,"initialValue":{"hexValue":"30","id":18766,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1318:1:116","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"1306:13:116"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":18772,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":true,"src":"1338:3:116","subExpression":{"id":18771,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18765,"src":"1340:1:116","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":18773,"nodeType":"ExpressionStatement","src":"1338:3:116"},"nodeType":"ForStatement","src":"1301:132:116"},{"expression":{"arguments":[{"id":18789,"name":"batchDetails","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18754,"src":"1463:12:116","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_AllowanceTransferDetails_$20914_calldata_ptr_$dyn_calldata_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails calldata[] calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_struct$_AllowanceTransferDetails_$20914_calldata_ptr_$dyn_calldata_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails calldata[] calldata"}],"expression":{"id":18786,"name":"PERMIT2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18689,"src":"1442:7:116","typeDescriptions":{"typeIdentifier":"t_contract$_IPermit2_$21036","typeString":"contract IPermit2"}},"id":18788,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1450:12:116","memberName":"transferFrom","nodeType":"MemberAccess","referencedDeclaration":20984,"src":"1442:20:116","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_array$_t_struct$_AllowanceTransferDetails_$20914_memory_ptr_$dyn_memory_ptr_$returns$__$","typeString":"function (struct IAllowanceTransfer.AllowanceTransferDetails memory[] memory) external"}},"id":18790,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1442:34:116","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18791,"nodeType":"ExpressionStatement","src":"1442:34:116"}]},"documentation":{"id":18750,"nodeType":"StructuredDocumentation","src":"887:214:116","text":"@notice Performs a batch transferFrom on Permit2\n @param batchDetails An array detailing each of the transfers that should occur\n @param owner The address that should be the owner of all transfers"},"id":18793,"implemented":true,"kind":"function","modifiers":[],"name":"permit2TransferFrom","nameLocation":"1115:19:116","nodeType":"FunctionDefinition","parameters":{"id":18757,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18754,"mutability":"mutable","name":"batchDetails","nameLocation":"1190:12:116","nodeType":"VariableDeclaration","scope":18793,"src":"1135:67:116","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_AllowanceTransferDetails_$20914_calldata_ptr_$dyn_calldata_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails[]"},"typeName":{"baseType":{"id":18752,"nodeType":"UserDefinedTypeName","pathNode":{"id":18751,"name":"IAllowanceTransfer.AllowanceTransferDetails","nameLocations":["1135:18:116","1154:24:116"],"nodeType":"IdentifierPath","referencedDeclaration":20914,"src":"1135:43:116"},"referencedDeclaration":20914,"src":"1135:43:116","typeDescriptions":{"typeIdentifier":"t_struct$_AllowanceTransferDetails_$20914_storage_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails"}},"id":18753,"nodeType":"ArrayTypeName","src":"1135:45:116","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_AllowanceTransferDetails_$20914_storage_$dyn_storage_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails[]"}},"visibility":"internal"},{"constant":false,"id":18756,"mutability":"mutable","name":"owner","nameLocation":"1212:5:116","nodeType":"VariableDeclaration","scope":18793,"src":"1204:13:116","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18755,"name":"address","nodeType":"ElementaryTypeName","src":"1204:7:116","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1134:84:116"},"returnParameters":{"id":18758,"nodeType":"ParameterList","parameters":[],"src":"1240:0:116"},"scope":18829,"src":"1106:377:116","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":18827,"nodeType":"Block","src":"1902:153:116","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":18810,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18805,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18798,"src":"1916:5:116","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"id":18808,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"1933:4:116","typeDescriptions":{"typeIdentifier":"t_contract$_Permit2Payments_$18829","typeString":"contract Permit2Payments"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Permit2Payments_$18829","typeString":"contract Permit2Payments"}],"id":18807,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1925:7:116","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":18806,"name":"address","nodeType":"ElementaryTypeName","src":"1925:7:116","typeDescriptions":{}}},"id":18809,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1925:13:116","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1916:22:116","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"expression":{"arguments":[{"id":18818,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18796,"src":"2004:5:116","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":18819,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18798,"src":"2011:5:116","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":18820,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18800,"src":"2018:9:116","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":18821,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18802,"src":"2029:6:116","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":18822,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2036:9:116","memberName":"toUint160","nodeType":"MemberAccess","referencedDeclaration":21206,"src":"2029:16:116","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint160_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (uint160)"}},"id":18823,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2029:18:116","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":18817,"name":"permit2TransferFrom","nodeType":"Identifier","overloadedDeclarations":[18749,18793],"referencedDeclaration":18749,"src":"1984:19:116","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint160_$returns$__$","typeString":"function (address,address,address,uint160)"}},"id":18824,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1984:64:116","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18825,"nodeType":"ExpressionStatement","src":"1984:64:116"},"id":18826,"nodeType":"IfStatement","src":"1912:136:116","trueBody":{"expression":{"arguments":[{"id":18812,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18796,"src":"1944:5:116","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":18813,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18800,"src":"1951:9:116","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":18814,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18802,"src":"1962:6:116","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":18811,"name":"pay","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18412,"src":"1940:3:116","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":18815,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1940:29:116","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":18816,"nodeType":"ExpressionStatement","src":"1940:29:116"}}]},"documentation":{"id":18794,"nodeType":"StructuredDocumentation","src":"1489:304:116","text":"@notice Either performs a regular payment or transferFrom on Permit2, depending on the payer address\n @param token The token to transfer\n @param payer The address to pay for the transfer\n @param recipient The recipient of the transfer\n @param amount The amount to transfer"},"id":18828,"implemented":true,"kind":"function","modifiers":[],"name":"payOrPermit2Transfer","nameLocation":"1807:20:116","nodeType":"FunctionDefinition","parameters":{"id":18803,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18796,"mutability":"mutable","name":"token","nameLocation":"1836:5:116","nodeType":"VariableDeclaration","scope":18828,"src":"1828:13:116","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18795,"name":"address","nodeType":"ElementaryTypeName","src":"1828:7:116","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18798,"mutability":"mutable","name":"payer","nameLocation":"1851:5:116","nodeType":"VariableDeclaration","scope":18828,"src":"1843:13:116","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18797,"name":"address","nodeType":"ElementaryTypeName","src":"1843:7:116","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18800,"mutability":"mutable","name":"recipient","nameLocation":"1866:9:116","nodeType":"VariableDeclaration","scope":18828,"src":"1858:17:116","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18799,"name":"address","nodeType":"ElementaryTypeName","src":"1858:7:116","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18802,"mutability":"mutable","name":"amount","nameLocation":"1885:6:116","nodeType":"VariableDeclaration","scope":18828,"src":"1877:14:116","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18801,"name":"uint256","nodeType":"ElementaryTypeName","src":"1877:7:116","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1827:65:116"},"returnParameters":{"id":18804,"nodeType":"ParameterList","parameters":[],"src":"1902:0:116"},"scope":18829,"src":"1798:257:116","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":18830,"src":"364:1693:116","usedErrors":[18360,18362,18727],"usedEvents":[]}],"src":"45:2013:116"},"id":116},"contracts/modules/V3ToV4Migrator.sol":{"ast":{"absolutePath":"contracts/modules/V3ToV4Migrator.sol","exportedSymbols":{"Actions":[15995],"CalldataDecoder":[16368],"IERC721Permit":[1069],"INonfungiblePositionManager":[1268],"MigratorImmutables":[18331],"V3ToV4Migrator":[19063]},"id":19064,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":18831,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:117"},{"absolutePath":"contracts/modules/MigratorImmutables.sol","file":"../modules/MigratorImmutables.sol","id":18833,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19064,"sourceUnit":18332,"src":"71:69:117","symbolAliases":[{"foreign":{"id":18832,"name":"MigratorImmutables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18331,"src":"79:18:117","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol","file":"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol","id":18835,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19064,"sourceUnit":1269,"src":"141:119:117","symbolAliases":[{"foreign":{"id":18834,"name":"INonfungiblePositionManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1268,"src":"149:27:117","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/Actions.sol","file":"@uniswap/v4-periphery/src/libraries/Actions.sol","id":18837,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19064,"sourceUnit":15996,"src":"261:72:117","symbolAliases":[{"foreign":{"id":18836,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"269:7:117","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol","file":"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol","id":18839,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19064,"sourceUnit":1070,"src":"334:91:117","symbolAliases":[{"foreign":{"id":18838,"name":"IERC721Permit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1069,"src":"342:13:117","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol","file":"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol","id":18841,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19064,"sourceUnit":16369,"src":"426:88:117","symbolAliases":[{"foreign":{"id":18840,"name":"CalldataDecoder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16368,"src":"434:15:117","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":18843,"name":"MigratorImmutables","nameLocations":["650:18:117"],"nodeType":"IdentifierPath","referencedDeclaration":18331,"src":"650:18:117"},"id":18844,"nodeType":"InheritanceSpecifier","src":"650:18:117"}],"canonicalName":"V3ToV4Migrator","contractDependencies":[],"contractKind":"contract","documentation":{"id":18842,"nodeType":"StructuredDocumentation","src":"516:98:117","text":"@title V3 to V4 Migrator\n @notice A contract that migrates liquidity from Uniswap V3 to V4"},"fullyImplemented":true,"id":19063,"linearizedBaseContracts":[19063,18331],"name":"V3ToV4Migrator","nameLocation":"632:14:117","nodeType":"ContractDefinition","nodes":[{"global":false,"id":18847,"libraryName":{"id":18845,"name":"CalldataDecoder","nameLocations":["681:15:117"],"nodeType":"IdentifierPath","referencedDeclaration":16368,"src":"681:15:117"},"nodeType":"UsingForDirective","src":"675:32:117","typeName":{"id":18846,"name":"bytes","nodeType":"ElementaryTypeName","src":"701:5:117","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"errorSelector":"f801e525","id":18851,"name":"InvalidAction","nameLocation":"719:13:117","nodeType":"ErrorDefinition","parameters":{"id":18850,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18849,"mutability":"mutable","name":"action","nameLocation":"740:6:117","nodeType":"VariableDeclaration","scope":18851,"src":"733:13:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":18848,"name":"bytes4","nodeType":"ElementaryTypeName","src":"733:6:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"732:15:117"},"src":"713:35:117"},{"errorSelector":"5d1d0f9f","id":18853,"name":"OnlyMintAllowed","nameLocation":"759:15:117","nodeType":"ErrorDefinition","parameters":{"id":18852,"nodeType":"ParameterList","parameters":[],"src":"774:2:117"},"src":"753:24:117"},{"errorSelector":"bb25d4c5","id":18857,"name":"NotAuthorizedForToken","nameLocation":"788:21:117","nodeType":"ErrorDefinition","parameters":{"id":18856,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18855,"mutability":"mutable","name":"tokenId","nameLocation":"818:7:117","nodeType":"VariableDeclaration","scope":18857,"src":"810:15:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18854,"name":"uint256","nodeType":"ElementaryTypeName","src":"810:7:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"809:17:117"},"src":"782:45:117"},{"body":{"id":18883,"nodeType":"Block","src":"976:231:117","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":18881,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":18875,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":18869,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18865,"name":"selector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18860,"src":"993:8:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"expression":{"id":18866,"name":"INonfungiblePositionManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1268,"src":"1005:27:117","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_INonfungiblePositionManager_$1268_$","typeString":"type(contract INonfungiblePositionManager)"}},"id":18867,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1033:17:117","memberName":"decreaseLiquidity","nodeType":"MemberAccess","referencedDeclaration":1241,"src":"1005:45:117","typeDescriptions":{"typeIdentifier":"t_function_declaration_payable$_t_struct$_DecreaseLiquidityParams_$1230_calldata_ptr_$returns$_t_uint256_$_t_uint256_$","typeString":"function INonfungiblePositionManager.decreaseLiquidity(struct INonfungiblePositionManager.DecreaseLiquidityParams calldata) payable returns (uint256,uint256)"}},"id":18868,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1051:8:117","memberName":"selector","nodeType":"MemberAccess","src":"1005:54:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"993:66:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":18874,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18870,"name":"selector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18860,"src":"1075:8:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"expression":{"id":18871,"name":"INonfungiblePositionManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1268,"src":"1087:27:117","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_INonfungiblePositionManager_$1268_$","typeString":"type(contract INonfungiblePositionManager)"}},"id":18872,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1115:7:117","memberName":"collect","nodeType":"MemberAccess","referencedDeclaration":1261,"src":"1087:35:117","typeDescriptions":{"typeIdentifier":"t_function_declaration_payable$_t_struct$_CollectParams_$1250_calldata_ptr_$returns$_t_uint256_$_t_uint256_$","typeString":"function INonfungiblePositionManager.collect(struct INonfungiblePositionManager.CollectParams calldata) payable returns (uint256,uint256)"}},"id":18873,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1123:8:117","memberName":"selector","nodeType":"MemberAccess","src":"1087:44:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"1075:56:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"993:138:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":18880,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18876,"name":"selector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18860,"src":"1147:8:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"expression":{"id":18877,"name":"INonfungiblePositionManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1268,"src":"1159:27:117","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_INonfungiblePositionManager_$1268_$","typeString":"type(contract INonfungiblePositionManager)"}},"id":18878,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1187:4:117","memberName":"burn","nodeType":"MemberAccess","referencedDeclaration":1267,"src":"1159:32:117","typeDescriptions":{"typeIdentifier":"t_function_declaration_payable$_t_uint256_$returns$__$","typeString":"function INonfungiblePositionManager.burn(uint256) payable"}},"id":18879,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1192:8:117","memberName":"selector","nodeType":"MemberAccess","src":"1159:41:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"1147:53:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"993:207:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":18864,"id":18882,"nodeType":"Return","src":"986:214:117"}]},"documentation":{"id":18858,"nodeType":"StructuredDocumentation","src":"833:69:117","text":"@dev validate if an action is decreaseLiquidity, collect, or burn"},"id":18884,"implemented":true,"kind":"function","modifiers":[],"name":"_isValidAction","nameLocation":"916:14:117","nodeType":"FunctionDefinition","parameters":{"id":18861,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18860,"mutability":"mutable","name":"selector","nameLocation":"938:8:117","nodeType":"VariableDeclaration","scope":18884,"src":"931:15:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":18859,"name":"bytes4","nodeType":"ElementaryTypeName","src":"931:6:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"930:17:117"},"returnParameters":{"id":18864,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18863,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":18884,"src":"970:4:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":18862,"name":"bool","nodeType":"ElementaryTypeName","src":"970:4:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"969:6:117"},"scope":19063,"src":"907:300:117","stateMutability":"pure","virtual":false,"visibility":"private"},{"body":{"id":18918,"nodeType":"Block","src":"1396:222:117","statements":[{"assignments":[18895],"declarations":[{"constant":false,"id":18895,"mutability":"mutable","name":"owner","nameLocation":"1414:5:117","nodeType":"VariableDeclaration","scope":18918,"src":"1406:13:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18894,"name":"address","nodeType":"ElementaryTypeName","src":"1406:7:117","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":18900,"initialValue":{"arguments":[{"id":18898,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18889,"src":"1450:7:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":18896,"name":"V3_POSITION_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18305,"src":"1422:19:117","typeDescriptions":{"typeIdentifier":"t_contract$_INonfungiblePositionManager_$1268","typeString":"contract INonfungiblePositionManager"}},"id":18897,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1442:7:117","memberName":"ownerOf","nodeType":"MemberAccess","referencedDeclaration":127,"src":"1422:27:117","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view external returns (address)"}},"id":18899,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1422:36:117","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"1406:52:117"},{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":18916,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":18910,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":18903,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18901,"name":"caller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18887,"src":"1475:6:117","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":18902,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18895,"src":"1485:5:117","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1475:15:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":18909,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":18906,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18889,"src":"1526:7:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":18904,"name":"V3_POSITION_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18305,"src":"1494:19:117","typeDescriptions":{"typeIdentifier":"t_contract$_INonfungiblePositionManager_$1268","typeString":"contract INonfungiblePositionManager"}},"id":18905,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1514:11:117","memberName":"getApproved","nodeType":"MemberAccess","referencedDeclaration":183,"src":"1494:31:117","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view external returns (address)"}},"id":18907,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1494:40:117","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":18908,"name":"caller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18887,"src":"1538:6:117","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1494:50:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1475:69:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":18913,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18895,"src":"1597:5:117","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":18914,"name":"caller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18887,"src":"1604:6:117","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":18911,"name":"V3_POSITION_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18305,"src":"1560:19:117","typeDescriptions":{"typeIdentifier":"t_contract$_INonfungiblePositionManager_$1268","typeString":"contract INonfungiblePositionManager"}},"id":18912,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1580:16:117","memberName":"isApprovedForAll","nodeType":"MemberAccess","referencedDeclaration":193,"src":"1560:36:117","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$_t_address_$returns$_t_bool_$","typeString":"function (address,address) view external returns (bool)"}},"id":18915,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1560:51:117","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1475:136:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":18893,"id":18917,"nodeType":"Return","src":"1468:143:117"}]},"documentation":{"id":18885,"nodeType":"StructuredDocumentation","src":"1213:86:117","text":"@dev the caller is authorized for the token if its the owner, spender, or operator"},"id":18919,"implemented":true,"kind":"function","modifiers":[],"name":"_isAuthorizedForToken","nameLocation":"1313:21:117","nodeType":"FunctionDefinition","parameters":{"id":18890,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18887,"mutability":"mutable","name":"caller","nameLocation":"1343:6:117","nodeType":"VariableDeclaration","scope":18919,"src":"1335:14:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18886,"name":"address","nodeType":"ElementaryTypeName","src":"1335:7:117","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":18889,"mutability":"mutable","name":"tokenId","nameLocation":"1359:7:117","nodeType":"VariableDeclaration","scope":18919,"src":"1351:15:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18888,"name":"uint256","nodeType":"ElementaryTypeName","src":"1351:7:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1334:33:117"},"returnParameters":{"id":18893,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18892,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":18919,"src":"1390:4:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":18891,"name":"bool","nodeType":"ElementaryTypeName","src":"1390:4:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1389:6:117"},"scope":19063,"src":"1304:314:117","stateMutability":"view","virtual":false,"visibility":"private"},{"body":{"id":18940,"nodeType":"Block","src":"1753:225:117","statements":[{"assignments":[18926],"declarations":[{"constant":false,"id":18926,"mutability":"mutable","name":"selector","nameLocation":"1770:8:117","nodeType":"VariableDeclaration","scope":18940,"src":"1763:15:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":18925,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1763:6:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"id":18927,"nodeType":"VariableDeclarationStatement","src":"1763:15:117"},{"AST":{"nativeSrc":"1797:63:117","nodeType":"YulBlock","src":"1797:63:117","statements":[{"nativeSrc":"1811:39:117","nodeType":"YulAssignment","src":"1811:39:117","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"1836:13:117","nodeType":"YulIdentifier","src":"1836:13:117"}],"functionName":{"name":"calldataload","nativeSrc":"1823:12:117","nodeType":"YulIdentifier","src":"1823:12:117"},"nativeSrc":"1823:27:117","nodeType":"YulFunctionCall","src":"1823:27:117"},"variableNames":[{"name":"selector","nativeSrc":"1811:8:117","nodeType":"YulIdentifier","src":"1811:8:117"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":18922,"isOffset":true,"isSlot":false,"src":"1836:13:117","suffix":"offset","valueSize":1},{"declaration":18926,"isOffset":false,"isSlot":false,"src":"1811:8:117","valueSize":1}],"id":18928,"nodeType":"InlineAssembly","src":"1788:72:117"},{"condition":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":18933,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18929,"name":"selector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18926,"src":"1874:8:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"expression":{"id":18930,"name":"IERC721Permit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1069,"src":"1886:13:117","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC721Permit_$1069_$","typeString":"type(contract IERC721Permit)"}},"id":18931,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1900:6:117","memberName":"permit","nodeType":"MemberAccess","referencedDeclaration":1068,"src":"1886:20:117","typeDescriptions":{"typeIdentifier":"t_function_declaration_payable$_t_address_$_t_uint256_$_t_uint256_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$__$","typeString":"function IERC721Permit.permit(address,uint256,uint256,uint8,bytes32,bytes32) payable"}},"id":18932,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1907:8:117","memberName":"selector","nodeType":"MemberAccess","src":"1886:29:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"1874:41:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18939,"nodeType":"IfStatement","src":"1870:102:117","trueBody":{"id":18938,"nodeType":"Block","src":"1917:55:117","statements":[{"errorCall":{"arguments":[{"id":18935,"name":"selector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18926,"src":"1952:8:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":18934,"name":"InvalidAction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18851,"src":"1938:13:117","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_bytes4_$returns$_t_error_$","typeString":"function (bytes4) pure returns (error)"}},"id":18936,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1938:23:117","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":18937,"nodeType":"RevertStatement","src":"1931:30:117"}]}}]},"documentation":{"id":18920,"nodeType":"StructuredDocumentation","src":"1624:59:117","text":"@dev check that a call is to the ERC721 permit function"},"id":18941,"implemented":true,"kind":"function","modifiers":[],"name":"_checkV3PermitCall","nameLocation":"1697:18:117","nodeType":"FunctionDefinition","parameters":{"id":18923,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18922,"mutability":"mutable","name":"inputs","nameLocation":"1731:6:117","nodeType":"VariableDeclaration","scope":18941,"src":"1716:21:117","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":18921,"name":"bytes","nodeType":"ElementaryTypeName","src":"1716:5:117","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1715:23:117"},"returnParameters":{"id":18924,"nodeType":"ParameterList","parameters":[],"src":"1753:0:117"},"scope":19063,"src":"1688:290:117","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":18978,"nodeType":"Block","src":"2142:947:117","statements":[{"assignments":[18950],"declarations":[{"constant":false,"id":18950,"mutability":"mutable","name":"selector","nameLocation":"2159:8:117","nodeType":"VariableDeclaration","scope":18978,"src":"2152:15:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":18949,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2152:6:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"id":18951,"nodeType":"VariableDeclarationStatement","src":"2152:15:117"},{"AST":{"nativeSrc":"2186:63:117","nodeType":"YulBlock","src":"2186:63:117","statements":[{"nativeSrc":"2200:39:117","nodeType":"YulAssignment","src":"2200:39:117","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"2225:13:117","nodeType":"YulIdentifier","src":"2225:13:117"}],"functionName":{"name":"calldataload","nativeSrc":"2212:12:117","nodeType":"YulIdentifier","src":"2212:12:117"},"nativeSrc":"2212:27:117","nodeType":"YulFunctionCall","src":"2212:27:117"},"variableNames":[{"name":"selector","nativeSrc":"2200:8:117","nodeType":"YulIdentifier","src":"2200:8:117"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":18944,"isOffset":true,"isSlot":false,"src":"2225:13:117","suffix":"offset","valueSize":1},{"declaration":18950,"isOffset":false,"isSlot":false,"src":"2200:8:117","valueSize":1}],"id":18952,"nodeType":"InlineAssembly","src":"2177:72:117"},{"condition":{"id":18956,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"2263:25:117","subExpression":{"arguments":[{"id":18954,"name":"selector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18950,"src":"2279:8:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":18953,"name":"_isValidAction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18884,"src":"2264:14:117","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes4_$returns$_t_bool_$","typeString":"function (bytes4) pure returns (bool)"}},"id":18955,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2264:24:117","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18962,"nodeType":"IfStatement","src":"2259:86:117","trueBody":{"id":18961,"nodeType":"Block","src":"2290:55:117","statements":[{"errorCall":{"arguments":[{"id":18958,"name":"selector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18950,"src":"2325:8:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":18957,"name":"InvalidAction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18851,"src":"2311:13:117","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_bytes4_$returns$_t_error_$","typeString":"function (bytes4) pure returns (error)"}},"id":18959,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2311:23:117","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":18960,"nodeType":"RevertStatement","src":"2304:30:117"}]}},{"assignments":[18964],"declarations":[{"constant":false,"id":18964,"mutability":"mutable","name":"tokenId","nameLocation":"2363:7:117","nodeType":"VariableDeclaration","scope":18978,"src":"2355:15:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":18963,"name":"uint256","nodeType":"ElementaryTypeName","src":"2355:7:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":18965,"nodeType":"VariableDeclarationStatement","src":"2355:15:117"},{"AST":{"nativeSrc":"2389:147:117","nodeType":"YulBlock","src":"2389:147:117","statements":[{"nativeSrc":"2477:49:117","nodeType":"YulAssignment","src":"2477:49:117","value":{"arguments":[{"arguments":[{"name":"inputs.offset","nativeSrc":"2505:13:117","nodeType":"YulIdentifier","src":"2505:13:117"},{"kind":"number","nativeSrc":"2520:4:117","nodeType":"YulLiteral","src":"2520:4:117","type":"","value":"0x04"}],"functionName":{"name":"add","nativeSrc":"2501:3:117","nodeType":"YulIdentifier","src":"2501:3:117"},"nativeSrc":"2501:24:117","nodeType":"YulFunctionCall","src":"2501:24:117"}],"functionName":{"name":"calldataload","nativeSrc":"2488:12:117","nodeType":"YulIdentifier","src":"2488:12:117"},"nativeSrc":"2488:38:117","nodeType":"YulFunctionCall","src":"2488:38:117"},"variableNames":[{"name":"tokenId","nativeSrc":"2477:7:117","nodeType":"YulIdentifier","src":"2477:7:117"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":18944,"isOffset":true,"isSlot":false,"src":"2505:13:117","suffix":"offset","valueSize":1},{"declaration":18964,"isOffset":false,"isSlot":false,"src":"2477:7:117","valueSize":1}],"id":18966,"nodeType":"InlineAssembly","src":"2380:156:117"},{"condition":{"id":18971,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"2980:39:117","subExpression":{"arguments":[{"id":18968,"name":"caller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18946,"src":"3003:6:117","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":18969,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18964,"src":"3011:7:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":18967,"name":"_isAuthorizedForToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18919,"src":"2981:21:117","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) view returns (bool)"}},"id":18970,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2981:38:117","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18977,"nodeType":"IfStatement","src":"2976:107:117","trueBody":{"id":18976,"nodeType":"Block","src":"3021:62:117","statements":[{"errorCall":{"arguments":[{"id":18973,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18964,"src":"3064:7:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":18972,"name":"NotAuthorizedForToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18857,"src":"3042:21:117","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":18974,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3042:30:117","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":18975,"nodeType":"RevertStatement","src":"3035:37:117"}]}}]},"documentation":{"id":18942,"nodeType":"StructuredDocumentation","src":"1984:63:117","text":"@dev check that the v3 position manager call is a safe call"},"id":18979,"implemented":true,"kind":"function","modifiers":[],"name":"_checkV3PositionManagerCall","nameLocation":"2061:27:117","nodeType":"FunctionDefinition","parameters":{"id":18947,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18944,"mutability":"mutable","name":"inputs","nameLocation":"2104:6:117","nodeType":"VariableDeclaration","scope":18979,"src":"2089:21:117","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":18943,"name":"bytes","nodeType":"ElementaryTypeName","src":"2089:5:117","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":18946,"mutability":"mutable","name":"caller","nameLocation":"2120:6:117","nodeType":"VariableDeclaration","scope":18979,"src":"2112:14:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":18945,"name":"address","nodeType":"ElementaryTypeName","src":"2112:7:117","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2088:39:117"},"returnParameters":{"id":18948,"nodeType":"ParameterList","parameters":[],"src":"2142:0:117"},"scope":19063,"src":"2052:1037:117","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":19061,"nodeType":"Block","src":"3487:1083:117","statements":[{"assignments":[18986],"declarations":[{"constant":false,"id":18986,"mutability":"mutable","name":"selector","nameLocation":"3504:8:117","nodeType":"VariableDeclaration","scope":19061,"src":"3497:15:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":18985,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3497:6:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"id":18987,"nodeType":"VariableDeclarationStatement","src":"3497:15:117"},{"AST":{"nativeSrc":"3531:63:117","nodeType":"YulBlock","src":"3531:63:117","statements":[{"nativeSrc":"3545:39:117","nodeType":"YulAssignment","src":"3545:39:117","value":{"arguments":[{"name":"inputs.offset","nativeSrc":"3570:13:117","nodeType":"YulIdentifier","src":"3570:13:117"}],"functionName":{"name":"calldataload","nativeSrc":"3557:12:117","nodeType":"YulIdentifier","src":"3557:12:117"},"nativeSrc":"3557:27:117","nodeType":"YulFunctionCall","src":"3557:27:117"},"variableNames":[{"name":"selector","nativeSrc":"3545:8:117","nodeType":"YulIdentifier","src":"3545:8:117"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":18982,"isOffset":true,"isSlot":false,"src":"3570:13:117","suffix":"offset","valueSize":1},{"declaration":18986,"isOffset":false,"isSlot":false,"src":"3545:8:117","valueSize":1}],"id":18988,"nodeType":"InlineAssembly","src":"3522:72:117"},{"condition":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":18993,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":18989,"name":"selector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18986,"src":"3607:8:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"expression":{"id":18990,"name":"V4_POSITION_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18309,"src":"3619:19:117","typeDescriptions":{"typeIdentifier":"t_contract$_IPositionManager_$15721","typeString":"contract IPositionManager"}},"id":18991,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3639:17:117","memberName":"modifyLiquidities","nodeType":"MemberAccess","referencedDeclaration":15676,"src":"3619:37:117","typeDescriptions":{"typeIdentifier":"t_function_external_payable$_t_bytes_memory_ptr_$_t_uint256_$returns$__$","typeString":"function (bytes memory,uint256) payable external"}},"id":18992,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3657:8:117","memberName":"selector","nodeType":"MemberAccess","src":"3619:46:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"3607:58:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":18999,"nodeType":"IfStatement","src":"3603:119:117","trueBody":{"id":18998,"nodeType":"Block","src":"3667:55:117","statements":[{"errorCall":{"arguments":[{"id":18995,"name":"selector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18986,"src":"3702:8:117","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":18994,"name":"InvalidAction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18851,"src":"3688:13:117","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_bytes4_$returns$_t_error_$","typeString":"function (bytes4) pure returns (error)"}},"id":18996,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3688:23:117","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":18997,"nodeType":"RevertStatement","src":"3681:30:117"}]}},{"assignments":[19001],"declarations":[{"constant":false,"id":19001,"mutability":"mutable","name":"slice","nameLocation":"3816:5:117","nodeType":"VariableDeclaration","scope":19061,"src":"3801:20:117","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":19000,"name":"bytes","nodeType":"ElementaryTypeName","src":"3801:5:117","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":19005,"initialValue":{"baseExpression":{"id":19002,"name":"inputs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18982,"src":"3824:6:117","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":19004,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexRangeAccess","src":"3824:10:117","startExpression":{"hexValue":"34","id":19003,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3831:1:117","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr_slice","typeString":"bytes calldata slice"}},"nodeType":"VariableDeclarationStatement","src":"3801:33:117"},{"assignments":[19007],"declarations":[{"constant":false,"id":19007,"mutability":"mutable","name":"actions","nameLocation":"4092:7:117","nodeType":"VariableDeclaration","scope":19061,"src":"4077:22:117","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":19006,"name":"bytes","nodeType":"ElementaryTypeName","src":"4077:5:117","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":19015,"initialValue":{"arguments":[{"hexValue":"30","id":19013,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4127:1:117","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"arguments":[{"hexValue":"30","id":19010,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4116:1:117","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"id":19008,"name":"slice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19001,"src":"4102:5:117","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":19009,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4108:7:117","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":16367,"src":"4102:13:117","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (bytes calldata)"}},"id":19011,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4102:16:117","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":19012,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4119:7:117","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":16367,"src":"4102:24:117","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (bytes calldata)"}},"id":19014,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4102:27:117","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"VariableDeclarationStatement","src":"4077:52:117"},{"assignments":[19017],"declarations":[{"constant":false,"id":19017,"mutability":"mutable","name":"numActions","nameLocation":"4148:10:117","nodeType":"VariableDeclaration","scope":19061,"src":"4140:18:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19016,"name":"uint256","nodeType":"ElementaryTypeName","src":"4140:7:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19020,"initialValue":{"expression":{"id":19018,"name":"actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19007,"src":"4161:7:117","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":19019,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4169:6:117","memberName":"length","nodeType":"MemberAccess","src":"4161:14:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4140:35:117"},{"body":{"id":19059,"nodeType":"Block","src":"4257:307:117","statements":[{"assignments":[19032],"declarations":[{"constant":false,"id":19032,"mutability":"mutable","name":"action","nameLocation":"4279:6:117","nodeType":"VariableDeclaration","scope":19059,"src":"4271:14:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19031,"name":"uint256","nodeType":"ElementaryTypeName","src":"4271:7:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19039,"initialValue":{"arguments":[{"baseExpression":{"id":19035,"name":"actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19007,"src":"4294:7:117","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":19037,"indexExpression":{"id":19036,"name":"actionIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19022,"src":"4302:11:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4294:20:117","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":19034,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4288:5:117","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":19033,"name":"uint8","nodeType":"ElementaryTypeName","src":"4288:5:117","typeDescriptions":{}}},"id":19038,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4288:27:117","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"4271:44:117"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":19053,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":19048,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19043,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19040,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19032,"src":"4351:6:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":19041,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"4361:7:117","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":19042,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4369:18:117","memberName":"INCREASE_LIQUIDITY","nodeType":"MemberAccess","referencedDeclaration":15922,"src":"4361:26:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4351:36:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19047,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19044,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19032,"src":"4391:6:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":19045,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"4401:7:117","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":19046,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4409:18:117","memberName":"DECREASE_LIQUIDITY","nodeType":"MemberAccess","referencedDeclaration":15925,"src":"4401:26:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4391:36:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4351:76:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19052,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19049,"name":"action","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19032,"src":"4451:6:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":19050,"name":"Actions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15995,"src":"4461:7:117","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Actions_$15995_$","typeString":"type(library Actions)"}},"id":19051,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4469:13:117","memberName":"BURN_POSITION","nodeType":"MemberAccess","referencedDeclaration":15931,"src":"4461:21:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4451:31:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4351:131:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19058,"nodeType":"IfStatement","src":"4330:224:117","trueBody":{"id":19057,"nodeType":"Block","src":"4497:57:117","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":19054,"name":"OnlyMintAllowed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18853,"src":"4522:15:117","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":19055,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4522:17:117","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":19056,"nodeType":"RevertStatement","src":"4515:24:117"}]}}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19027,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19025,"name":"actionIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19022,"src":"4216:11:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":19026,"name":"numActions","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19017,"src":"4230:10:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4216:24:117","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19060,"initializationExpression":{"assignments":[19022],"declarations":[{"constant":false,"id":19022,"mutability":"mutable","name":"actionIndex","nameLocation":"4199:11:117","nodeType":"VariableDeclaration","scope":19060,"src":"4191:19:117","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19021,"name":"uint256","nodeType":"ElementaryTypeName","src":"4191:7:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19024,"initialValue":{"hexValue":"30","id":19023,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4213:1:117","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"4191:23:117"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":19029,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"4242:13:117","subExpression":{"id":19028,"name":"actionIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19022,"src":"4242:11:117","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":19030,"nodeType":"ExpressionStatement","src":"4242:13:117"},"nodeType":"ForStatement","src":"4186:378:117"}]},"documentation":{"id":18980,"nodeType":"StructuredDocumentation","src":"3095:313:117","text":"@dev check that the v4 position manager call is a safe call\n of the position-altering Actions, we only allow Actions.MINT\n this is because, if a user could be tricked into approving the UniversalRouter for\n their position, an attacker could take their fees, or drain their entire position"},"id":19062,"implemented":true,"kind":"function","modifiers":[],"name":"_checkV4PositionManagerCall","nameLocation":"3422:27:117","nodeType":"FunctionDefinition","parameters":{"id":18983,"nodeType":"ParameterList","parameters":[{"constant":false,"id":18982,"mutability":"mutable","name":"inputs","nameLocation":"3465:6:117","nodeType":"VariableDeclaration","scope":19062,"src":"3450:21:117","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":18981,"name":"bytes","nodeType":"ElementaryTypeName","src":"3450:5:117","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3449:23:117"},"returnParameters":{"id":18984,"nodeType":"ParameterList","parameters":[],"src":"3487:0:117"},"scope":19063,"src":"3413:1157:117","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":19064,"src":"614:3958:117","usedErrors":[18851,18853,18857],"usedEvents":[]}],"src":"45:4528:117"},"id":117},"contracts/modules/uniswap/UniswapImmutables.sol":{"ast":{"absolutePath":"contracts/modules/uniswap/UniswapImmutables.sol","exportedSymbols":{"UniswapImmutables":[19114],"UniswapParameters":[19074]},"id":19115,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":19065,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:118"},{"canonicalName":"UniswapParameters","id":19074,"members":[{"constant":false,"id":19067,"mutability":"mutable","name":"v2Factory","nameLocation":"110:9:118","nodeType":"VariableDeclaration","scope":19074,"src":"102:17:118","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19066,"name":"address","nodeType":"ElementaryTypeName","src":"102:7:118","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19069,"mutability":"mutable","name":"v3Factory","nameLocation":"133:9:118","nodeType":"VariableDeclaration","scope":19074,"src":"125:17:118","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19068,"name":"address","nodeType":"ElementaryTypeName","src":"125:7:118","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19071,"mutability":"mutable","name":"pairInitCodeHash","nameLocation":"156:16:118","nodeType":"VariableDeclaration","scope":19074,"src":"148:24:118","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":19070,"name":"bytes32","nodeType":"ElementaryTypeName","src":"148:7:118","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":19073,"mutability":"mutable","name":"poolInitCodeHash","nameLocation":"186:16:118","nodeType":"VariableDeclaration","scope":19074,"src":"178:24:118","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":19072,"name":"bytes32","nodeType":"ElementaryTypeName","src":"178:7:118","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"name":"UniswapParameters","nameLocation":"78:17:118","nodeType":"StructDefinition","scope":19115,"src":"71:134:118","visibility":"public"},{"abstract":false,"baseContracts":[],"canonicalName":"UniswapImmutables","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":19114,"linearizedBaseContracts":[19114],"name":"UniswapImmutables","nameLocation":"216:17:118","nodeType":"ContractDefinition","nodes":[{"constant":false,"documentation":{"id":19075,"nodeType":"StructuredDocumentation","src":"240:43:118","text":"@notice The address of UniswapV2Factory"},"id":19077,"mutability":"immutable","name":"UNISWAP_V2_FACTORY","nameLocation":"315:18:118","nodeType":"VariableDeclaration","scope":19114,"src":"288:45:118","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19076,"name":"address","nodeType":"ElementaryTypeName","src":"288:7:118","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"documentation":{"id":19078,"nodeType":"StructuredDocumentation","src":"340:42:118","text":"@notice The UniswapV2Pair initcodehash"},"id":19080,"mutability":"immutable","name":"UNISWAP_V2_PAIR_INIT_CODE_HASH","nameLocation":"414:30:118","nodeType":"VariableDeclaration","scope":19114,"src":"387:57:118","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":19079,"name":"bytes32","nodeType":"ElementaryTypeName","src":"387:7:118","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"documentation":{"id":19081,"nodeType":"StructuredDocumentation","src":"451:43:118","text":"@notice The address of UniswapV3Factory"},"id":19083,"mutability":"immutable","name":"UNISWAP_V3_FACTORY","nameLocation":"526:18:118","nodeType":"VariableDeclaration","scope":19114,"src":"499:45:118","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19082,"name":"address","nodeType":"ElementaryTypeName","src":"499:7:118","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"documentation":{"id":19084,"nodeType":"StructuredDocumentation","src":"551:42:118","text":"@notice The UniswapV3Pool initcodehash"},"id":19086,"mutability":"immutable","name":"UNISWAP_V3_POOL_INIT_CODE_HASH","nameLocation":"625:30:118","nodeType":"VariableDeclaration","scope":19114,"src":"598:57:118","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":19085,"name":"bytes32","nodeType":"ElementaryTypeName","src":"598:7:118","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"body":{"id":19112,"nodeType":"Block","src":"707:233:118","statements":[{"expression":{"id":19095,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":19092,"name":"UNISWAP_V2_FACTORY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19077,"src":"717:18:118","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":19093,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19089,"src":"738:6:118","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapParameters_$19074_memory_ptr","typeString":"struct UniswapParameters memory"}},"id":19094,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"745:9:118","memberName":"v2Factory","nodeType":"MemberAccess","referencedDeclaration":19067,"src":"738:16:118","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"717:37:118","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":19096,"nodeType":"ExpressionStatement","src":"717:37:118"},{"expression":{"id":19100,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":19097,"name":"UNISWAP_V2_PAIR_INIT_CODE_HASH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19080,"src":"764:30:118","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":19098,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19089,"src":"797:6:118","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapParameters_$19074_memory_ptr","typeString":"struct UniswapParameters memory"}},"id":19099,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"804:16:118","memberName":"pairInitCodeHash","nodeType":"MemberAccess","referencedDeclaration":19071,"src":"797:23:118","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"764:56:118","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":19101,"nodeType":"ExpressionStatement","src":"764:56:118"},{"expression":{"id":19105,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":19102,"name":"UNISWAP_V3_FACTORY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19083,"src":"830:18:118","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":19103,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19089,"src":"851:6:118","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapParameters_$19074_memory_ptr","typeString":"struct UniswapParameters memory"}},"id":19104,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"858:9:118","memberName":"v3Factory","nodeType":"MemberAccess","referencedDeclaration":19069,"src":"851:16:118","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"830:37:118","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":19106,"nodeType":"ExpressionStatement","src":"830:37:118"},{"expression":{"id":19110,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":19107,"name":"UNISWAP_V3_POOL_INIT_CODE_HASH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19086,"src":"877:30:118","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":19108,"name":"params","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19089,"src":"910:6:118","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapParameters_$19074_memory_ptr","typeString":"struct UniswapParameters memory"}},"id":19109,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"917:16:118","memberName":"poolInitCodeHash","nodeType":"MemberAccess","referencedDeclaration":19073,"src":"910:23:118","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"877:56:118","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":19111,"nodeType":"ExpressionStatement","src":"877:56:118"}]},"id":19113,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":19090,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19089,"mutability":"mutable","name":"params","nameLocation":"699:6:118","nodeType":"VariableDeclaration","scope":19113,"src":"674:31:118","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapParameters_$19074_memory_ptr","typeString":"struct UniswapParameters"},"typeName":{"id":19088,"nodeType":"UserDefinedTypeName","pathNode":{"id":19087,"name":"UniswapParameters","nameLocations":["674:17:118"],"nodeType":"IdentifierPath","referencedDeclaration":19074,"src":"674:17:118"},"referencedDeclaration":19074,"src":"674:17:118","typeDescriptions":{"typeIdentifier":"t_struct$_UniswapParameters_$19074_storage_ptr","typeString":"struct UniswapParameters"}},"visibility":"internal"}],"src":"673:33:118"},"returnParameters":{"id":19091,"nodeType":"ParameterList","parameters":[],"src":"707:0:118"},"scope":19114,"src":"662:278:118","stateMutability":"nonpayable","virtual":false,"visibility":"public"}],"scope":19115,"src":"207:735:118","usedErrors":[],"usedEvents":[]}],"src":"45:898:118"},"id":118},"contracts/modules/uniswap/v2/UniswapV2Library.sol":{"ast":{"absolutePath":"contracts/modules/uniswap/v2/UniswapV2Library.sol","exportedSymbols":{"IUniswapV2Pair":[508],"UniswapV2Library":[19500]},"id":19501,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":19116,"literals":["solidity",">=","0.8",".0"],"nodeType":"PragmaDirective","src":"45:24:119"},{"absolutePath":"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol","file":"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol","id":19118,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19501,"sourceUnit":509,"src":"71:88:119","symbolAliases":[{"foreign":{"id":19117,"name":"IUniswapV2Pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":508,"src":"79:14:119","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"UniswapV2Library","contractDependencies":[],"contractKind":"library","documentation":{"id":19119,"nodeType":"StructuredDocumentation","src":"161:96:119","text":"@title Uniswap v2 Helper Library\n @notice Calculates the recipient address for a command"},"fullyImplemented":true,"id":19500,"linearizedBaseContracts":[19500],"name":"UniswapV2Library","nameLocation":"265:16:119","nodeType":"ContractDefinition","nodes":[{"errorSelector":"7b9c8916","id":19121,"name":"InvalidReserves","nameLocation":"294:15:119","nodeType":"ErrorDefinition","parameters":{"id":19120,"nodeType":"ParameterList","parameters":[],"src":"309:2:119"},"src":"288:24:119"},{"errorSelector":"20db8267","id":19123,"name":"InvalidPath","nameLocation":"323:11:119","nodeType":"ErrorDefinition","parameters":{"id":19122,"nodeType":"ParameterList","parameters":[],"src":"334:2:119"},"src":"317:20:119"},{"body":{"id":19155,"nodeType":"Block","src":"847:150:119","statements":[{"assignments":[19138,19140],"declarations":[{"constant":false,"id":19138,"mutability":"mutable","name":"token0","nameLocation":"866:6:119","nodeType":"VariableDeclaration","scope":19155,"src":"858:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19137,"name":"address","nodeType":"ElementaryTypeName","src":"858:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19140,"mutability":"mutable","name":"token1","nameLocation":"882:6:119","nodeType":"VariableDeclaration","scope":19155,"src":"874:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19139,"name":"address","nodeType":"ElementaryTypeName","src":"874:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":19145,"initialValue":{"arguments":[{"id":19142,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19130,"src":"903:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19143,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19132,"src":"911:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":19141,"name":"sortTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19499,"src":"892:10:119","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_address_$returns$_t_address_$_t_address_$","typeString":"function (address,address) pure returns (address,address)"}},"id":19144,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"892:26:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"nodeType":"VariableDeclarationStatement","src":"857:61:119"},{"expression":{"id":19153,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":19146,"name":"pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19135,"src":"928:4:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":19148,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19126,"src":"952:7:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19149,"name":"initCodeHash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19128,"src":"961:12:119","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":19150,"name":"token0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19138,"src":"975:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19151,"name":"token1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19140,"src":"983:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":19147,"name":"pairForPreSorted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19236,"src":"935:16:119","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_bytes32_$_t_address_$_t_address_$returns$_t_address_$","typeString":"function (address,bytes32,address,address) pure returns (address)"}},"id":19152,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"935:55:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"928:62:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":19154,"nodeType":"ExpressionStatement","src":"928:62:119"}]},"documentation":{"id":19124,"nodeType":"StructuredDocumentation","src":"343:346:119","text":"@notice Calculates the v2 address for a pair without making any external calls\n @param factory The address of the v2 factory\n @param initCodeHash The hash of the pair initcode\n @param tokenA One of the tokens in the pair\n @param tokenB The other token in the pair\n @return pair The resultant v2 pair address"},"id":19156,"implemented":true,"kind":"function","modifiers":[],"name":"pairFor","nameLocation":"703:7:119","nodeType":"FunctionDefinition","parameters":{"id":19133,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19126,"mutability":"mutable","name":"factory","nameLocation":"719:7:119","nodeType":"VariableDeclaration","scope":19156,"src":"711:15:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19125,"name":"address","nodeType":"ElementaryTypeName","src":"711:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19128,"mutability":"mutable","name":"initCodeHash","nameLocation":"736:12:119","nodeType":"VariableDeclaration","scope":19156,"src":"728:20:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":19127,"name":"bytes32","nodeType":"ElementaryTypeName","src":"728:7:119","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":19130,"mutability":"mutable","name":"tokenA","nameLocation":"758:6:119","nodeType":"VariableDeclaration","scope":19156,"src":"750:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19129,"name":"address","nodeType":"ElementaryTypeName","src":"750:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19132,"mutability":"mutable","name":"tokenB","nameLocation":"774:6:119","nodeType":"VariableDeclaration","scope":19156,"src":"766:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19131,"name":"address","nodeType":"ElementaryTypeName","src":"766:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"710:71:119"},"returnParameters":{"id":19136,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19135,"mutability":"mutable","name":"pair","nameLocation":"837:4:119","nodeType":"VariableDeclaration","scope":19156,"src":"829:12:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19134,"name":"address","nodeType":"ElementaryTypeName","src":"829:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"828:14:119"},"scope":19500,"src":"694:303:119","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":19193,"nodeType":"Block","src":"1584:158:119","statements":[{"assignments":[19173],"declarations":[{"constant":false,"id":19173,"mutability":"mutable","name":"token1","nameLocation":"1602:6:119","nodeType":"VariableDeclaration","scope":19193,"src":"1594:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19172,"name":"address","nodeType":"ElementaryTypeName","src":"1594:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":19174,"nodeType":"VariableDeclarationStatement","src":"1594:14:119"},{"expression":{"id":19182,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":19175,"name":"token0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19170,"src":"1619:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19176,"name":"token1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19173,"src":"1627:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":19177,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1618:16:119","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":19179,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19163,"src":"1648:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19180,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19165,"src":"1656:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":19178,"name":"sortTokens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19499,"src":"1637:10:119","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_address_$returns$_t_address_$_t_address_$","typeString":"function (address,address) pure returns (address,address)"}},"id":19181,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1637:26:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"src":"1618:45:119","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":19183,"nodeType":"ExpressionStatement","src":"1618:45:119"},{"expression":{"id":19191,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":19184,"name":"pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19168,"src":"1673:4:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":19186,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19159,"src":"1697:7:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19187,"name":"initCodeHash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19161,"src":"1706:12:119","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":19188,"name":"token0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19170,"src":"1720:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19189,"name":"token1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19173,"src":"1728:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":19185,"name":"pairForPreSorted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19236,"src":"1680:16:119","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_bytes32_$_t_address_$_t_address_$returns$_t_address_$","typeString":"function (address,bytes32,address,address) pure returns (address)"}},"id":19190,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1680:55:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1673:62:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":19192,"nodeType":"ExpressionStatement","src":"1673:62:119"}]},"documentation":{"id":19157,"nodeType":"StructuredDocumentation","src":"1003:398:119","text":"@notice Calculates the v2 address for a pair and the pair's token0\n @param factory The address of the v2 factory\n @param initCodeHash The hash of the pair initcode\n @param tokenA One of the tokens in the pair\n @param tokenB The other token in the pair\n @return pair The resultant v2 pair address\n @return token0 The token considered token0 in this pair"},"id":19194,"implemented":true,"kind":"function","modifiers":[],"name":"pairAndToken0For","nameLocation":"1415:16:119","nodeType":"FunctionDefinition","parameters":{"id":19166,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19159,"mutability":"mutable","name":"factory","nameLocation":"1440:7:119","nodeType":"VariableDeclaration","scope":19194,"src":"1432:15:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19158,"name":"address","nodeType":"ElementaryTypeName","src":"1432:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19161,"mutability":"mutable","name":"initCodeHash","nameLocation":"1457:12:119","nodeType":"VariableDeclaration","scope":19194,"src":"1449:20:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":19160,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1449:7:119","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":19163,"mutability":"mutable","name":"tokenA","nameLocation":"1479:6:119","nodeType":"VariableDeclaration","scope":19194,"src":"1471:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19162,"name":"address","nodeType":"ElementaryTypeName","src":"1471:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19165,"mutability":"mutable","name":"tokenB","nameLocation":"1495:6:119","nodeType":"VariableDeclaration","scope":19194,"src":"1487:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19164,"name":"address","nodeType":"ElementaryTypeName","src":"1487:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1431:71:119"},"returnParameters":{"id":19171,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19168,"mutability":"mutable","name":"pair","nameLocation":"1558:4:119","nodeType":"VariableDeclaration","scope":19194,"src":"1550:12:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19167,"name":"address","nodeType":"ElementaryTypeName","src":"1550:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19170,"mutability":"mutable","name":"token0","nameLocation":"1572:6:119","nodeType":"VariableDeclaration","scope":19194,"src":"1564:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19169,"name":"address","nodeType":"ElementaryTypeName","src":"1564:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1549:30:119"},"scope":19500,"src":"1406:336:119","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":19235,"nodeType":"Block","src":"2245:291:119","statements":[{"expression":{"id":19233,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":19208,"name":"pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19206,"src":"2255:4:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"hexValue":"ff","id":19218,"isConstant":false,"isLValue":false,"isPure":true,"kind":"hexString","lValueRequested":false,"nodeType":"Literal","src":"2389:7:119","typeDescriptions":{"typeIdentifier":"t_stringliteral_8b1a944cf13a9a1c08facb2c9e98623ef3254d2ddb48113885c3e8e97fec8db9","typeString":"literal_string hex\"ff\""}},{"id":19219,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19197,"src":"2398:7:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"arguments":[{"id":19223,"name":"token0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19201,"src":"2434:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19224,"name":"token1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19203,"src":"2442:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":19221,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"2417:3:119","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":19222,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2421:12:119","memberName":"encodePacked","nodeType":"MemberAccess","src":"2417:16:119","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":19225,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2417:32:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":19220,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"2407:9:119","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":19226,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2407:43:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":19227,"name":"initCodeHash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19199,"src":"2452:12:119","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_8b1a944cf13a9a1c08facb2c9e98623ef3254d2ddb48113885c3e8e97fec8db9","typeString":"literal_string hex\"ff\""},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":19216,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"2372:3:119","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":19217,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2376:12:119","memberName":"encodePacked","nodeType":"MemberAccess","src":"2372:16:119","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":19228,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2372:93:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":19215,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"2337:9:119","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":19229,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2337:150:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":19214,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2308:7:119","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":19213,"name":"uint256","nodeType":"ElementaryTypeName","src":"2308:7:119","typeDescriptions":{}}},"id":19230,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2308:197:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":19212,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2283:7:119","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":19211,"name":"uint160","nodeType":"ElementaryTypeName","src":"2283:7:119","typeDescriptions":{}}},"id":19231,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2283:236:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":19210,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2262:7:119","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":19209,"name":"address","nodeType":"ElementaryTypeName","src":"2262:7:119","typeDescriptions":{}}},"id":19232,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2262:267:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2255:274:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":19234,"nodeType":"ExpressionStatement","src":"2255:274:119"}]},"documentation":{"id":19195,"nodeType":"StructuredDocumentation","src":"1748:331:119","text":"@notice Calculates the v2 address for a pair assuming the input tokens are pre-sorted\n @param factory The address of the v2 factory\n @param initCodeHash The hash of the pair initcode\n @param token0 The pair's token0\n @param token1 The pair's token1\n @return pair The resultant v2 pair address"},"id":19236,"implemented":true,"kind":"function","modifiers":[],"name":"pairForPreSorted","nameLocation":"2093:16:119","nodeType":"FunctionDefinition","parameters":{"id":19204,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19197,"mutability":"mutable","name":"factory","nameLocation":"2118:7:119","nodeType":"VariableDeclaration","scope":19236,"src":"2110:15:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19196,"name":"address","nodeType":"ElementaryTypeName","src":"2110:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19199,"mutability":"mutable","name":"initCodeHash","nameLocation":"2135:12:119","nodeType":"VariableDeclaration","scope":19236,"src":"2127:20:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":19198,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2127:7:119","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":19201,"mutability":"mutable","name":"token0","nameLocation":"2157:6:119","nodeType":"VariableDeclaration","scope":19236,"src":"2149:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19200,"name":"address","nodeType":"ElementaryTypeName","src":"2149:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19203,"mutability":"mutable","name":"token1","nameLocation":"2173:6:119","nodeType":"VariableDeclaration","scope":19236,"src":"2165:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19202,"name":"address","nodeType":"ElementaryTypeName","src":"2165:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2109:71:119"},"returnParameters":{"id":19207,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19206,"mutability":"mutable","name":"pair","nameLocation":"2235:4:119","nodeType":"VariableDeclaration","scope":19236,"src":"2227:12:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19205,"name":"address","nodeType":"ElementaryTypeName","src":"2227:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2226:14:119"},"scope":19500,"src":"2084:452:119","stateMutability":"pure","virtual":false,"visibility":"private"},{"body":{"id":19293,"nodeType":"Block","src":"3196:292:119","statements":[{"assignments":[19255],"declarations":[{"constant":false,"id":19255,"mutability":"mutable","name":"token0","nameLocation":"3214:6:119","nodeType":"VariableDeclaration","scope":19293,"src":"3206:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19254,"name":"address","nodeType":"ElementaryTypeName","src":"3206:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":19256,"nodeType":"VariableDeclarationStatement","src":"3206:14:119"},{"expression":{"id":19266,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":19257,"name":"pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19248,"src":"3231:4:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19258,"name":"token0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19255,"src":"3237:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":19259,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"3230:14:119","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":19261,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19239,"src":"3264:7:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19262,"name":"initCodeHash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19241,"src":"3273:12:119","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":19263,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19243,"src":"3287:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19264,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19245,"src":"3295:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":19260,"name":"pairAndToken0For","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19194,"src":"3247:16:119","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_bytes32_$_t_address_$_t_address_$returns$_t_address_$_t_address_$","typeString":"function (address,bytes32,address,address) pure returns (address,address)"}},"id":19265,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3247:55:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"src":"3230:72:119","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":19267,"nodeType":"ExpressionStatement","src":"3230:72:119"},{"assignments":[19269,19271,null],"declarations":[{"constant":false,"id":19269,"mutability":"mutable","name":"reserve0","nameLocation":"3321:8:119","nodeType":"VariableDeclaration","scope":19293,"src":"3313:16:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19268,"name":"uint256","nodeType":"ElementaryTypeName","src":"3313:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19271,"mutability":"mutable","name":"reserve1","nameLocation":"3339:8:119","nodeType":"VariableDeclaration","scope":19293,"src":"3331:16:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19270,"name":"uint256","nodeType":"ElementaryTypeName","src":"3331:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},null],"id":19277,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":19273,"name":"pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19248,"src":"3367:4:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":19272,"name":"IUniswapV2Pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":508,"src":"3352:14:119","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IUniswapV2Pair_$508_$","typeString":"type(contract IUniswapV2Pair)"}},"id":19274,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3352:20:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IUniswapV2Pair_$508","typeString":"contract IUniswapV2Pair"}},"id":19275,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3373:11:119","memberName":"getReserves","nodeType":"MemberAccess","referencedDeclaration":450,"src":"3352:32:119","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_uint112_$_t_uint112_$_t_uint32_$","typeString":"function () view external returns (uint112,uint112,uint32)"}},"id":19276,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3352:34:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint112_$_t_uint112_$_t_uint32_$","typeString":"tuple(uint112,uint112,uint32)"}},"nodeType":"VariableDeclarationStatement","src":"3312:74:119"},{"expression":{"id":19291,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":19278,"name":"reserveA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19250,"src":"3397:8:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19279,"name":"reserveB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19252,"src":"3407:8:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":19280,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"3396:20:119","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":19283,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19281,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19243,"src":"3419:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":19282,"name":"token0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19255,"src":"3429:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3419:16:119","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"components":[{"id":19287,"name":"reserve1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19271,"src":"3462:8:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19288,"name":"reserve0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19269,"src":"3472:8:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":19289,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3461:20:119","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"id":19290,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"3419:62:119","trueExpression":{"components":[{"id":19284,"name":"reserve0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19269,"src":"3439:8:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19285,"name":"reserve1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19271,"src":"3449:8:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":19286,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3438:20:119","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"src":"3396:85:119","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":19292,"nodeType":"ExpressionStatement","src":"3396:85:119"}]},"documentation":{"id":19237,"nodeType":"StructuredDocumentation","src":"2542:450:119","text":"@notice Calculates the v2 address for a pair and fetches the reserves for each token\n @param factory The address of the v2 factory\n @param initCodeHash The hash of the pair initcode\n @param tokenA One of the tokens in the pair\n @param tokenB The other token in the pair\n @return pair The resultant v2 pair address\n @return reserveA The reserves for tokenA\n @return reserveB The reserves for tokenB"},"id":19294,"implemented":true,"kind":"function","modifiers":[],"name":"pairAndReservesFor","nameLocation":"3006:18:119","nodeType":"FunctionDefinition","parameters":{"id":19246,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19239,"mutability":"mutable","name":"factory","nameLocation":"3033:7:119","nodeType":"VariableDeclaration","scope":19294,"src":"3025:15:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19238,"name":"address","nodeType":"ElementaryTypeName","src":"3025:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19241,"mutability":"mutable","name":"initCodeHash","nameLocation":"3050:12:119","nodeType":"VariableDeclaration","scope":19294,"src":"3042:20:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":19240,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3042:7:119","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":19243,"mutability":"mutable","name":"tokenA","nameLocation":"3072:6:119","nodeType":"VariableDeclaration","scope":19294,"src":"3064:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19242,"name":"address","nodeType":"ElementaryTypeName","src":"3064:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19245,"mutability":"mutable","name":"tokenB","nameLocation":"3088:6:119","nodeType":"VariableDeclaration","scope":19294,"src":"3080:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19244,"name":"address","nodeType":"ElementaryTypeName","src":"3080:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3024:71:119"},"returnParameters":{"id":19253,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19248,"mutability":"mutable","name":"pair","nameLocation":"3150:4:119","nodeType":"VariableDeclaration","scope":19294,"src":"3142:12:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19247,"name":"address","nodeType":"ElementaryTypeName","src":"3142:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19250,"mutability":"mutable","name":"reserveA","nameLocation":"3164:8:119","nodeType":"VariableDeclaration","scope":19294,"src":"3156:16:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19249,"name":"uint256","nodeType":"ElementaryTypeName","src":"3156:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19252,"mutability":"mutable","name":"reserveB","nameLocation":"3182:8:119","nodeType":"VariableDeclaration","scope":19294,"src":"3174:16:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19251,"name":"uint256","nodeType":"ElementaryTypeName","src":"3174:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3141:50:119"},"scope":19500,"src":"2997:491:119","stateMutability":"view","virtual":false,"visibility":"private"},{"body":{"id":19343,"nodeType":"Block","src":"3987:299:119","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":19312,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19308,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19306,"name":"reserveIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19299,"src":"4001:9:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":19307,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4014:1:119","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4001:14:119","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19311,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19309,"name":"reserveOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19301,"src":"4019:10:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":19310,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4033:1:119","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4019:15:119","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4001:33:119","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19316,"nodeType":"IfStatement","src":"3997:63:119","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":19313,"name":"InvalidReserves","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19121,"src":"4043:15:119","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":19314,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4043:17:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":19315,"nodeType":"RevertStatement","src":"4036:24:119"}},{"assignments":[19318],"declarations":[{"constant":false,"id":19318,"mutability":"mutable","name":"amountInWithFee","nameLocation":"4078:15:119","nodeType":"VariableDeclaration","scope":19343,"src":"4070:23:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19317,"name":"uint256","nodeType":"ElementaryTypeName","src":"4070:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19322,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19319,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19297,"src":"4096:8:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"393937","id":19320,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4107:3:119","typeDescriptions":{"typeIdentifier":"t_rational_997_by_1","typeString":"int_const 997"},"value":"997"},"src":"4096:14:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4070:40:119"},{"assignments":[19324],"declarations":[{"constant":false,"id":19324,"mutability":"mutable","name":"numerator","nameLocation":"4128:9:119","nodeType":"VariableDeclaration","scope":19343,"src":"4120:17:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19323,"name":"uint256","nodeType":"ElementaryTypeName","src":"4120:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19328,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19327,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19325,"name":"amountInWithFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19318,"src":"4140:15:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":19326,"name":"reserveOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19301,"src":"4158:10:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4140:28:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4120:48:119"},{"assignments":[19330],"declarations":[{"constant":false,"id":19330,"mutability":"mutable","name":"denominator","nameLocation":"4186:11:119","nodeType":"VariableDeclaration","scope":19343,"src":"4178:19:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19329,"name":"uint256","nodeType":"ElementaryTypeName","src":"4178:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19336,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19335,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19333,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19331,"name":"reserveIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19299,"src":"4200:9:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31303030","id":19332,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4212:4:119","typeDescriptions":{"typeIdentifier":"t_rational_1000_by_1","typeString":"int_const 1000"},"value":"1000"},"src":"4200:16:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":19334,"name":"amountInWithFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19318,"src":"4219:15:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4200:34:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4178:56:119"},{"expression":{"id":19341,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":19337,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19304,"src":"4244:9:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19340,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19338,"name":"numerator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19324,"src":"4256:9:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":19339,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19330,"src":"4268:11:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4256:23:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4244:35:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":19342,"nodeType":"ExpressionStatement","src":"4244:35:119"}]},"documentation":{"id":19295,"nodeType":"StructuredDocumentation","src":"3494:339:119","text":"@notice Given an input asset amount returns the maximum output amount of the other asset\n @param amountIn The token input amount\n @param reserveIn The reserves available of the input token\n @param reserveOut The reserves available of the output token\n @return amountOut The output amount of the output token"},"id":19344,"implemented":true,"kind":"function","modifiers":[],"name":"getAmountOut","nameLocation":"3847:12:119","nodeType":"FunctionDefinition","parameters":{"id":19302,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19297,"mutability":"mutable","name":"amountIn","nameLocation":"3868:8:119","nodeType":"VariableDeclaration","scope":19344,"src":"3860:16:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19296,"name":"uint256","nodeType":"ElementaryTypeName","src":"3860:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19299,"mutability":"mutable","name":"reserveIn","nameLocation":"3886:9:119","nodeType":"VariableDeclaration","scope":19344,"src":"3878:17:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19298,"name":"uint256","nodeType":"ElementaryTypeName","src":"3878:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19301,"mutability":"mutable","name":"reserveOut","nameLocation":"3905:10:119","nodeType":"VariableDeclaration","scope":19344,"src":"3897:18:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19300,"name":"uint256","nodeType":"ElementaryTypeName","src":"3897:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3859:57:119"},"returnParameters":{"id":19305,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19304,"mutability":"mutable","name":"amountOut","nameLocation":"3972:9:119","nodeType":"VariableDeclaration","scope":19344,"src":"3964:17:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19303,"name":"uint256","nodeType":"ElementaryTypeName","src":"3964:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3963:19:119"},"scope":19500,"src":"3838:448:119","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":19393,"nodeType":"Block","src":"4786:250:119","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":19362,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19358,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19356,"name":"reserveIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19349,"src":"4800:9:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":19357,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4813:1:119","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4800:14:119","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19361,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19359,"name":"reserveOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19351,"src":"4818:10:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":19360,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4832:1:119","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4818:15:119","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4800:33:119","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19366,"nodeType":"IfStatement","src":"4796:63:119","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":19363,"name":"InvalidReserves","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19121,"src":"4842:15:119","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":19364,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4842:17:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":19365,"nodeType":"RevertStatement","src":"4835:24:119"}},{"assignments":[19368],"declarations":[{"constant":false,"id":19368,"mutability":"mutable","name":"numerator","nameLocation":"4877:9:119","nodeType":"VariableDeclaration","scope":19393,"src":"4869:17:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19367,"name":"uint256","nodeType":"ElementaryTypeName","src":"4869:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19374,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19373,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19371,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19369,"name":"reserveIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19349,"src":"4889:9:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":19370,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19347,"src":"4901:9:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4889:21:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31303030","id":19372,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4913:4:119","typeDescriptions":{"typeIdentifier":"t_rational_1000_by_1","typeString":"int_const 1000"},"value":"1000"},"src":"4889:28:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4869:48:119"},{"assignments":[19376],"declarations":[{"constant":false,"id":19376,"mutability":"mutable","name":"denominator","nameLocation":"4935:11:119","nodeType":"VariableDeclaration","scope":19393,"src":"4927:19:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19375,"name":"uint256","nodeType":"ElementaryTypeName","src":"4927:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19383,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19382,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19379,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19377,"name":"reserveOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19351,"src":"4950:10:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":19378,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19347,"src":"4963:9:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4950:22:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":19380,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4949:24:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"393937","id":19381,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4976:3:119","typeDescriptions":{"typeIdentifier":"t_rational_997_by_1","typeString":"int_const 997"},"value":"997"},"src":"4949:30:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4927:52:119"},{"expression":{"id":19391,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":19384,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19354,"src":"4989:8:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19390,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19387,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19385,"name":"numerator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19368,"src":"5001:9:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":19386,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19376,"src":"5013:11:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5001:23:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":19388,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5000:25:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":19389,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5028:1:119","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"5000:29:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4989:40:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":19392,"nodeType":"ExpressionStatement","src":"4989:40:119"}]},"documentation":{"id":19345,"nodeType":"StructuredDocumentation","src":"4292:341:119","text":"@notice Returns the input amount needed for a desired output amount in a single-hop trade\n @param amountOut The desired output amount\n @param reserveIn The reserves available of the input token\n @param reserveOut The reserves available of the output token\n @return amountIn The input amount of the input token"},"id":19394,"implemented":true,"kind":"function","modifiers":[],"name":"getAmountIn","nameLocation":"4647:11:119","nodeType":"FunctionDefinition","parameters":{"id":19352,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19347,"mutability":"mutable","name":"amountOut","nameLocation":"4667:9:119","nodeType":"VariableDeclaration","scope":19394,"src":"4659:17:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19346,"name":"uint256","nodeType":"ElementaryTypeName","src":"4659:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19349,"mutability":"mutable","name":"reserveIn","nameLocation":"4686:9:119","nodeType":"VariableDeclaration","scope":19394,"src":"4678:17:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19348,"name":"uint256","nodeType":"ElementaryTypeName","src":"4678:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19351,"mutability":"mutable","name":"reserveOut","nameLocation":"4705:10:119","nodeType":"VariableDeclaration","scope":19394,"src":"4697:18:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19350,"name":"uint256","nodeType":"ElementaryTypeName","src":"4697:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4658:58:119"},"returnParameters":{"id":19355,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19354,"mutability":"mutable","name":"amountIn","nameLocation":"4772:8:119","nodeType":"VariableDeclaration","scope":19394,"src":"4764:16:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19353,"name":"uint256","nodeType":"ElementaryTypeName","src":"4764:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4763:18:119"},"scope":19500,"src":"4638:398:119","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":19470,"nodeType":"Block","src":"5654:390:119","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19414,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":19411,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19404,"src":"5668:4:119","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19412,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5673:6:119","memberName":"length","nodeType":"MemberAccess","src":"5668:11:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"32","id":19413,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5682:1:119","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"5668:15:119","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19418,"nodeType":"IfStatement","src":"5664:41:119","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":19415,"name":"InvalidPath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19123,"src":"5692:11:119","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":19416,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5692:13:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":19417,"nodeType":"RevertStatement","src":"5685:20:119"}},{"expression":{"id":19421,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":19419,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19407,"src":"5715:6:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":19420,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19401,"src":"5724:9:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5715:18:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":19422,"nodeType":"ExpressionStatement","src":"5715:18:119"},{"body":{"id":19468,"nodeType":"Block","src":"5789:249:119","statements":[{"assignments":[19437],"declarations":[{"constant":false,"id":19437,"mutability":"mutable","name":"reserveIn","nameLocation":"5811:9:119","nodeType":"VariableDeclaration","scope":19468,"src":"5803:17:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19436,"name":"uint256","nodeType":"ElementaryTypeName","src":"5803:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19438,"nodeType":"VariableDeclarationStatement","src":"5803:17:119"},{"assignments":[19440],"declarations":[{"constant":false,"id":19440,"mutability":"mutable","name":"reserveOut","nameLocation":"5842:10:119","nodeType":"VariableDeclaration","scope":19468,"src":"5834:18:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19439,"name":"uint256","nodeType":"ElementaryTypeName","src":"5834:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19441,"nodeType":"VariableDeclarationStatement","src":"5834:18:119"},{"expression":{"id":19458,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":19442,"name":"pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19409,"src":"5868:4:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19443,"name":"reserveIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19437,"src":"5874:9:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19444,"name":"reserveOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19440,"src":"5885:10:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":19445,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"5867:29:119","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_uint256_$_t_uint256_$","typeString":"tuple(address,uint256,uint256)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":19447,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19397,"src":"5918:7:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19448,"name":"initCodeHash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19399,"src":"5927:12:119","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"baseExpression":{"id":19449,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19404,"src":"5941:4:119","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19453,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19452,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19450,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19424,"src":"5946:1:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":19451,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5950:1:119","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"5946:5:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5941:11:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"id":19454,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19404,"src":"5954:4:119","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19456,"indexExpression":{"id":19455,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19424,"src":"5959:1:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5954:7:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":19446,"name":"pairAndReservesFor","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19294,"src":"5899:18:119","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bytes32_$_t_address_$_t_address_$returns$_t_address_$_t_uint256_$_t_uint256_$","typeString":"function (address,bytes32,address,address) view returns (address,uint256,uint256)"}},"id":19457,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5899:63:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_uint256_$_t_uint256_$","typeString":"tuple(address,uint256,uint256)"}},"src":"5867:95:119","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":19459,"nodeType":"ExpressionStatement","src":"5867:95:119"},{"expression":{"id":19466,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":19460,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19407,"src":"5976:6:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":19462,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19407,"src":"5997:6:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19463,"name":"reserveIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19437,"src":"6005:9:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19464,"name":"reserveOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19440,"src":"6016:10:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":19461,"name":"getAmountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19394,"src":"5985:11:119","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":19465,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5985:42:119","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5976:51:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":19467,"nodeType":"ExpressionStatement","src":"5976:51:119"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19432,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19430,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19424,"src":"5777:1:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":19431,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5781:1:119","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5777:5:119","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19469,"initializationExpression":{"assignments":[19424],"declarations":[{"constant":false,"id":19424,"mutability":"mutable","name":"i","nameLocation":"5756:1:119","nodeType":"VariableDeclaration","scope":19469,"src":"5748:9:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19423,"name":"uint256","nodeType":"ElementaryTypeName","src":"5748:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19429,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19428,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":19425,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19404,"src":"5760:4:119","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19426,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5765:6:119","memberName":"length","nodeType":"MemberAccess","src":"5760:11:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":19427,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5774:1:119","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"5760:15:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5748:27:119"},"isSimpleCounterLoop":false,"loopExpression":{"expression":{"id":19434,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"--","prefix":false,"src":"5784:3:119","subExpression":{"id":19433,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19424,"src":"5784:1:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":19435,"nodeType":"ExpressionStatement","src":"5784:3:119"},"nodeType":"ForStatement","src":"5743:295:119"}]},"documentation":{"id":19395,"nodeType":"StructuredDocumentation","src":"5042:414:119","text":"@notice Returns the input amount needed for a desired output amount in a multi-hop trade\n @param factory The address of the v2 factory\n @param initCodeHash The hash of the pair initcode\n @param amountOut The desired output amount\n @param path The path of the multi-hop trade\n @return amount The input amount of the input token\n @return pair The first pair in the trade"},"id":19471,"implemented":true,"kind":"function","modifiers":[],"name":"getAmountInMultihop","nameLocation":"5470:19:119","nodeType":"FunctionDefinition","parameters":{"id":19405,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19397,"mutability":"mutable","name":"factory","nameLocation":"5498:7:119","nodeType":"VariableDeclaration","scope":19471,"src":"5490:15:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19396,"name":"address","nodeType":"ElementaryTypeName","src":"5490:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19399,"mutability":"mutable","name":"initCodeHash","nameLocation":"5515:12:119","nodeType":"VariableDeclaration","scope":19471,"src":"5507:20:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":19398,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5507:7:119","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":19401,"mutability":"mutable","name":"amountOut","nameLocation":"5537:9:119","nodeType":"VariableDeclaration","scope":19471,"src":"5529:17:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19400,"name":"uint256","nodeType":"ElementaryTypeName","src":"5529:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19404,"mutability":"mutable","name":"path","nameLocation":"5567:4:119","nodeType":"VariableDeclaration","scope":19471,"src":"5548:23:119","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":19402,"name":"address","nodeType":"ElementaryTypeName","src":"5548:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":19403,"nodeType":"ArrayTypeName","src":"5548:9:119","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"}],"src":"5489:83:119"},"returnParameters":{"id":19410,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19407,"mutability":"mutable","name":"amount","nameLocation":"5628:6:119","nodeType":"VariableDeclaration","scope":19471,"src":"5620:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19406,"name":"uint256","nodeType":"ElementaryTypeName","src":"5620:7:119","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19409,"mutability":"mutable","name":"pair","nameLocation":"5644:4:119","nodeType":"VariableDeclaration","scope":19471,"src":"5636:12:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19408,"name":"address","nodeType":"ElementaryTypeName","src":"5636:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5619:30:119"},"scope":19500,"src":"5461:583:119","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":19498,"nodeType":"Block","src":"6425:89:119","statements":[{"expression":{"id":19496,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":19483,"name":"token0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19479,"src":"6436:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19484,"name":"token1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19481,"src":"6444:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":19485,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"6435:16:119","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":19488,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19486,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19474,"src":"6454:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":19487,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19476,"src":"6463:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6454:15:119","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"components":[{"id":19492,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19476,"src":"6492:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19493,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19474,"src":"6500:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":19494,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6491:16:119","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"id":19495,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"6454:53:119","trueExpression":{"components":[{"id":19489,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19474,"src":"6473:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19490,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19476,"src":"6481:6:119","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":19491,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6472:16:119","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"src":"6435:72:119","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":19497,"nodeType":"ExpressionStatement","src":"6435:72:119"}]},"documentation":{"id":19472,"nodeType":"StructuredDocumentation","src":"6050:263:119","text":"@notice Sorts two tokens to return token0 and token1\n @param tokenA The first token to sort\n @param tokenB The other token to sort\n @return token0 The smaller token by address value\n @return token1 The larger token by address value"},"id":19499,"implemented":true,"kind":"function","modifiers":[],"name":"sortTokens","nameLocation":"6327:10:119","nodeType":"FunctionDefinition","parameters":{"id":19477,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19474,"mutability":"mutable","name":"tokenA","nameLocation":"6346:6:119","nodeType":"VariableDeclaration","scope":19499,"src":"6338:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19473,"name":"address","nodeType":"ElementaryTypeName","src":"6338:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19476,"mutability":"mutable","name":"tokenB","nameLocation":"6362:6:119","nodeType":"VariableDeclaration","scope":19499,"src":"6354:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19475,"name":"address","nodeType":"ElementaryTypeName","src":"6354:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6337:32:119"},"returnParameters":{"id":19482,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19479,"mutability":"mutable","name":"token0","nameLocation":"6401:6:119","nodeType":"VariableDeclaration","scope":19499,"src":"6393:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19478,"name":"address","nodeType":"ElementaryTypeName","src":"6393:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19481,"mutability":"mutable","name":"token1","nameLocation":"6417:6:119","nodeType":"VariableDeclaration","scope":19499,"src":"6409:14:119","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19480,"name":"address","nodeType":"ElementaryTypeName","src":"6409:7:119","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6392:32:119"},"scope":19500,"src":"6318:196:119","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":19501,"src":"257:6259:119","usedErrors":[19121,19123],"usedEvents":[]}],"src":"45:6472:119"},"id":119},"contracts/modules/uniswap/v2/V2SwapRouter.sol":{"ast":{"absolutePath":"contracts/modules/uniswap/v2/V2SwapRouter.sol","exportedSymbols":{"Constants":[18230],"ERC20":[21824],"IUniswapV2Pair":[508],"Permit2Payments":[18829],"UniswapImmutables":[19114],"UniswapV2Library":[19500],"V2SwapRouter":[19844]},"id":19845,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":19502,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:120"},{"absolutePath":"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol","file":"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol","id":19504,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19845,"sourceUnit":509,"src":"71:88:120","symbolAliases":[{"foreign":{"id":19503,"name":"IUniswapV2Pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":508,"src":"79:14:120","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/uniswap/v2/UniswapV2Library.sol","file":"./UniswapV2Library.sol","id":19506,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19845,"sourceUnit":19501,"src":"160:56:120","symbolAliases":[{"foreign":{"id":19505,"name":"UniswapV2Library","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19500,"src":"168:16:120","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/uniswap/UniswapImmutables.sol","file":"../UniswapImmutables.sol","id":19508,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19845,"sourceUnit":19115,"src":"217:59:120","symbolAliases":[{"foreign":{"id":19507,"name":"UniswapImmutables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19114,"src":"225:17:120","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/Permit2Payments.sol","file":"../../Permit2Payments.sol","id":19510,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19845,"sourceUnit":18830,"src":"277:58:120","symbolAliases":[{"foreign":{"id":19509,"name":"Permit2Payments","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18829,"src":"285:15:120","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/libraries/Constants.sol","file":"../../../libraries/Constants.sol","id":19512,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19845,"sourceUnit":18231,"src":"336:59:120","symbolAliases":[{"foreign":{"id":19511,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18230,"src":"344:9:120","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"solmate/src/tokens/ERC20.sol","file":"solmate/src/tokens/ERC20.sol","id":19514,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19845,"sourceUnit":21825,"src":"396:51:120","symbolAliases":[{"foreign":{"id":19513,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"404:5:120","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":19516,"name":"UniswapImmutables","nameLocations":["523:17:120"],"nodeType":"IdentifierPath","referencedDeclaration":19114,"src":"523:17:120"},"id":19517,"nodeType":"InheritanceSpecifier","src":"523:17:120"},{"baseName":{"id":19518,"name":"Permit2Payments","nameLocations":["542:15:120"],"nodeType":"IdentifierPath","referencedDeclaration":18829,"src":"542:15:120"},"id":19519,"nodeType":"InheritanceSpecifier","src":"542:15:120"}],"canonicalName":"V2SwapRouter","contractDependencies":[],"contractKind":"contract","documentation":{"id":19515,"nodeType":"StructuredDocumentation","src":"449:40:120","text":"@title Router for Uniswap v2 Trades"},"fullyImplemented":true,"id":19844,"linearizedBaseContracts":[19844,18829,18670,18711,19114],"name":"V2SwapRouter","nameLocation":"507:12:120","nodeType":"ContractDefinition","nodes":[{"errorSelector":"849eaf98","id":19521,"name":"V2TooLittleReceived","nameLocation":"570:19:120","nodeType":"ErrorDefinition","parameters":{"id":19520,"nodeType":"ParameterList","parameters":[],"src":"589:2:120"},"src":"564:28:120"},{"errorSelector":"8ab0bc16","id":19523,"name":"V2TooMuchRequested","nameLocation":"603:18:120","nodeType":"ErrorDefinition","parameters":{"id":19522,"nodeType":"ParameterList","parameters":[],"src":"621:2:120"},"src":"597:27:120"},{"errorSelector":"ae52ad0c","id":19525,"name":"V2InvalidPath","nameLocation":"635:13:120","nodeType":"ErrorDefinition","parameters":{"id":19524,"nodeType":"ParameterList","parameters":[],"src":"648:2:120"},"src":"629:22:120"},{"body":{"id":19706,"nodeType":"Block","src":"740:1518:120","statements":[{"id":19705,"nodeType":"UncheckedBlock","src":"750:1502:120","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19538,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":19535,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19528,"src":"778:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19536,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"783:6:120","memberName":"length","nodeType":"MemberAccess","src":"778:11:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"32","id":19537,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"792:1:120","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"778:15:120","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19542,"nodeType":"IfStatement","src":"774:43:120","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":19539,"name":"V2InvalidPath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19525,"src":"802:13:120","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":19540,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"802:15:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":19541,"nodeType":"RevertStatement","src":"795:22:120"}},{"assignments":[19544,null],"declarations":[{"constant":false,"id":19544,"mutability":"mutable","name":"token0","nameLocation":"895:6:120","nodeType":"VariableDeclaration","scope":19705,"src":"887:14:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19543,"name":"address","nodeType":"ElementaryTypeName","src":"887:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},null],"id":19554,"initialValue":{"arguments":[{"baseExpression":{"id":19547,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19528,"src":"934:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19549,"indexExpression":{"hexValue":"30","id":19548,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"939:1:120","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"934:7:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"id":19550,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19528,"src":"943:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19552,"indexExpression":{"hexValue":"31","id":19551,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"948:1:120","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"943:7:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":19545,"name":"UniswapV2Library","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19500,"src":"906:16:120","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UniswapV2Library_$19500_$","typeString":"type(library UniswapV2Library)"}},"id":19546,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"923:10:120","memberName":"sortTokens","nodeType":"MemberAccess","referencedDeclaration":19499,"src":"906:27:120","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_address_$returns$_t_address_$_t_address_$","typeString":"function (address,address) pure returns (address,address)"}},"id":19553,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"906:45:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"nodeType":"VariableDeclarationStatement","src":"886:65:120"},{"assignments":[19556],"declarations":[{"constant":false,"id":19556,"mutability":"mutable","name":"finalPairIndex","nameLocation":"973:14:120","nodeType":"VariableDeclaration","scope":19705,"src":"965:22:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19555,"name":"uint256","nodeType":"ElementaryTypeName","src":"965:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19561,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19560,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":19557,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19528,"src":"990:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19558,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"995:6:120","memberName":"length","nodeType":"MemberAccess","src":"990:11:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":19559,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1004:1:120","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"990:15:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"965:40:120"},{"assignments":[19563],"declarations":[{"constant":false,"id":19563,"mutability":"mutable","name":"penultimatePairIndex","nameLocation":"1027:20:120","nodeType":"VariableDeclaration","scope":19705,"src":"1019:28:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19562,"name":"uint256","nodeType":"ElementaryTypeName","src":"1019:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19567,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19566,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19564,"name":"finalPairIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19556,"src":"1050:14:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":19565,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1067:1:120","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"1050:18:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1019:49:120"},{"body":{"id":19703,"nodeType":"Block","src":"1123:1119:120","statements":[{"assignments":[19578,19580],"declarations":[{"constant":false,"id":19578,"mutability":"mutable","name":"input","nameLocation":"1150:5:120","nodeType":"VariableDeclaration","scope":19703,"src":"1142:13:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19577,"name":"address","nodeType":"ElementaryTypeName","src":"1142:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19580,"mutability":"mutable","name":"output","nameLocation":"1165:6:120","nodeType":"VariableDeclaration","scope":19703,"src":"1157:14:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19579,"name":"address","nodeType":"ElementaryTypeName","src":"1157:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":19590,"initialValue":{"components":[{"baseExpression":{"id":19581,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19528,"src":"1176:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19583,"indexExpression":{"id":19582,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19569,"src":"1181:1:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1176:7:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"id":19584,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19528,"src":"1185:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19588,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19587,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19585,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19569,"src":"1190:1:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":19586,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1194:1:120","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"1190:5:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1185:11:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":19589,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1175:22:120","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"nodeType":"VariableDeclarationStatement","src":"1141:56:120"},{"assignments":[19592,19594,null],"declarations":[{"constant":false,"id":19592,"mutability":"mutable","name":"reserve0","nameLocation":"1224:8:120","nodeType":"VariableDeclaration","scope":19703,"src":"1216:16:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19591,"name":"uint256","nodeType":"ElementaryTypeName","src":"1216:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19594,"mutability":"mutable","name":"reserve1","nameLocation":"1242:8:120","nodeType":"VariableDeclaration","scope":19703,"src":"1234:16:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19593,"name":"uint256","nodeType":"ElementaryTypeName","src":"1234:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},null],"id":19600,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":19596,"name":"pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19532,"src":"1270:4:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":19595,"name":"IUniswapV2Pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":508,"src":"1255:14:120","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IUniswapV2Pair_$508_$","typeString":"type(contract IUniswapV2Pair)"}},"id":19597,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1255:20:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IUniswapV2Pair_$508","typeString":"contract IUniswapV2Pair"}},"id":19598,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1276:11:120","memberName":"getReserves","nodeType":"MemberAccess","referencedDeclaration":450,"src":"1255:32:120","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_uint112_$_t_uint112_$_t_uint32_$","typeString":"function () view external returns (uint112,uint112,uint32)"}},"id":19599,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1255:34:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint112_$_t_uint112_$_t_uint32_$","typeString":"tuple(uint112,uint112,uint32)"}},"nodeType":"VariableDeclarationStatement","src":"1215:74:120"},{"assignments":[19602,19604],"declarations":[{"constant":false,"id":19602,"mutability":"mutable","name":"reserveInput","nameLocation":"1316:12:120","nodeType":"VariableDeclaration","scope":19703,"src":"1308:20:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19601,"name":"uint256","nodeType":"ElementaryTypeName","src":"1308:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19604,"mutability":"mutable","name":"reserveOutput","nameLocation":"1338:13:120","nodeType":"VariableDeclaration","scope":19703,"src":"1330:21:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19603,"name":"uint256","nodeType":"ElementaryTypeName","src":"1330:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19615,"initialValue":{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":19607,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19605,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19578,"src":"1375:5:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":19606,"name":"token0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19544,"src":"1384:6:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1375:15:120","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"components":[{"id":19611,"name":"reserve1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19594,"src":"1417:8:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19612,"name":"reserve0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19592,"src":"1427:8:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":19613,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1416:20:120","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"id":19614,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"1375:61:120","trueExpression":{"components":[{"id":19608,"name":"reserve0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19592,"src":"1394:8:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19609,"name":"reserve1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19594,"src":"1404:8:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":19610,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1393:20:120","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"1307:129:120"},{"assignments":[19617],"declarations":[{"constant":false,"id":19617,"mutability":"mutable","name":"amountInput","nameLocation":"1462:11:120","nodeType":"VariableDeclaration","scope":19703,"src":"1454:19:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19616,"name":"uint256","nodeType":"ElementaryTypeName","src":"1454:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19626,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19625,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":19622,"name":"pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19532,"src":"1499:4:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":19619,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19578,"src":"1482:5:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":19618,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"1476:5:120","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC20_$21824_$","typeString":"type(contract ERC20)"}},"id":19620,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1476:12:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"id":19621,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1489:9:120","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":21467,"src":"1476:22:120","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":19623,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1476:28:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":19624,"name":"reserveInput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19602,"src":"1507:12:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1476:43:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1454:65:120"},{"assignments":[19628],"declarations":[{"constant":false,"id":19628,"mutability":"mutable","name":"amountOutput","nameLocation":"1545:12:120","nodeType":"VariableDeclaration","scope":19703,"src":"1537:20:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19627,"name":"uint256","nodeType":"ElementaryTypeName","src":"1537:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19635,"initialValue":{"arguments":[{"id":19631,"name":"amountInput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19617,"src":"1590:11:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19632,"name":"reserveInput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19602,"src":"1603:12:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19633,"name":"reserveOutput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19604,"src":"1617:13:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":19629,"name":"UniswapV2Library","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19500,"src":"1560:16:120","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UniswapV2Library_$19500_$","typeString":"type(library UniswapV2Library)"}},"id":19630,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1577:12:120","memberName":"getAmountOut","nodeType":"MemberAccess","referencedDeclaration":19344,"src":"1560:29:120","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":19634,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1560:71:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1537:94:120"},{"assignments":[19637,19639],"declarations":[{"constant":false,"id":19637,"mutability":"mutable","name":"amount0Out","nameLocation":"1658:10:120","nodeType":"VariableDeclaration","scope":19703,"src":"1650:18:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19636,"name":"uint256","nodeType":"ElementaryTypeName","src":"1650:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19639,"mutability":"mutable","name":"amount1Out","nameLocation":"1678:10:120","nodeType":"VariableDeclaration","scope":19703,"src":"1670:18:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19638,"name":"uint256","nodeType":"ElementaryTypeName","src":"1670:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19656,"initialValue":{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":19642,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19640,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19578,"src":"1712:5:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":19641,"name":"token0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19544,"src":"1721:6:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1712:15:120","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"components":[{"id":19649,"name":"amountOutput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19628,"src":"1760:12:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"hexValue":"30","id":19652,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1782:1:120","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":19651,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1774:7:120","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":19650,"name":"uint256","nodeType":"ElementaryTypeName","src":"1774:7:120","typeDescriptions":{}}},"id":19653,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1774:10:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":19654,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1759:26:120","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"id":19655,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"1712:73:120","trueExpression":{"components":[{"arguments":[{"hexValue":"30","id":19645,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1739:1:120","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":19644,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1731:7:120","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":19643,"name":"uint256","nodeType":"ElementaryTypeName","src":"1731:7:120","typeDescriptions":{}}},"id":19646,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1731:10:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19647,"name":"amountOutput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19628,"src":"1743:12:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":19648,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1730:26:120","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"1649:136:120"},{"assignments":[19658],"declarations":[{"constant":false,"id":19658,"mutability":"mutable","name":"nextPair","nameLocation":"1811:8:120","nodeType":"VariableDeclaration","scope":19703,"src":"1803:16:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19657,"name":"address","nodeType":"ElementaryTypeName","src":"1803:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":19659,"nodeType":"VariableDeclarationStatement","src":"1803:16:120"},{"expression":{"id":19684,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":19660,"name":"nextPair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19658,"src":"1838:8:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19661,"name":"token0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19544,"src":"1848:6:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":19662,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1837:18:120","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19665,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19663,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19569,"src":"1858:1:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":19664,"name":"penultimatePairIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19563,"src":"1862:20:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1858:24:120","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"components":[{"id":19677,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19530,"src":"2081:9:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":19680,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2100:1:120","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":19679,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2092:7:120","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":19678,"name":"address","nodeType":"ElementaryTypeName","src":"2092:7:120","typeDescriptions":{}}},"id":19681,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2092:10:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":19682,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2080:23:120","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"id":19683,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"1858:245:120","trueExpression":{"arguments":[{"id":19668,"name":"UNISWAP_V2_FACTORY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19077,"src":"1964:18:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19669,"name":"UNISWAP_V2_PAIR_INIT_CODE_HASH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19080,"src":"1984:30:120","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":19670,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19580,"src":"2016:6:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"id":19671,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19528,"src":"2024:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19675,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19674,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19672,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19569,"src":"2029:1:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"32","id":19673,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2033:1:120","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"2029:5:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2024:11:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":19666,"name":"UniswapV2Library","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19500,"src":"1905:16:120","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UniswapV2Library_$19500_$","typeString":"type(library UniswapV2Library)"}},"id":19667,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1922:16:120","memberName":"pairAndToken0For","nodeType":"MemberAccess","referencedDeclaration":19194,"src":"1905:33:120","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_bytes32_$_t_address_$_t_address_$returns$_t_address_$_t_address_$","typeString":"function (address,bytes32,address,address) pure returns (address,address)"}},"id":19676,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1905:152:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"src":"1837:266:120","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":19685,"nodeType":"ExpressionStatement","src":"1837:266:120"},{"expression":{"arguments":[{"id":19690,"name":"amount0Out","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19637,"src":"2147:10:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19691,"name":"amount1Out","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19639,"src":"2159:10:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19692,"name":"nextPair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19658,"src":"2171:8:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":19695,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2191:1:120","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":19694,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"2181:9:120","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"},"typeName":{"id":19693,"name":"bytes","nodeType":"ElementaryTypeName","src":"2185:5:120","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},"id":19696,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2181:12:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"arguments":[{"id":19687,"name":"pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19532,"src":"2136:4:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":19686,"name":"IUniswapV2Pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":508,"src":"2121:14:120","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IUniswapV2Pair_$508_$","typeString":"type(contract IUniswapV2Pair)"}},"id":19688,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2121:20:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IUniswapV2Pair_$508","typeString":"contract IUniswapV2Pair"}},"id":19689,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2142:4:120","memberName":"swap","nodeType":"MemberAccess","referencedDeclaration":492,"src":"2121:25:120","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint256_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (uint256,uint256,address,bytes memory) external"}},"id":19697,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2121:73:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":19698,"nodeType":"ExpressionStatement","src":"2121:73:120"},{"expression":{"id":19701,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":19699,"name":"pair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19532,"src":"2212:4:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":19700,"name":"nextPair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19658,"src":"2219:8:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2212:15:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":19702,"nodeType":"ExpressionStatement","src":"2212:15:120"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19573,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19571,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19569,"src":"1098:1:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":19572,"name":"finalPairIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19556,"src":"1102:14:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1098:18:120","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19704,"initializationExpression":{"assignments":[19569],"declarations":[{"constant":false,"id":19569,"mutability":"mutable","name":"i","nameLocation":"1095:1:120","nodeType":"VariableDeclaration","scope":19704,"src":"1087:9:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19568,"name":"uint256","nodeType":"ElementaryTypeName","src":"1087:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19570,"nodeType":"VariableDeclarationStatement","src":"1087:9:120"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":19575,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"1118:3:120","subExpression":{"id":19574,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19569,"src":"1118:1:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":19576,"nodeType":"ExpressionStatement","src":"1118:3:120"},"nodeType":"ForStatement","src":"1082:1160:120"}]}]},"id":19707,"implemented":true,"kind":"function","modifiers":[],"name":"_v2Swap","nameLocation":"666:7:120","nodeType":"FunctionDefinition","parameters":{"id":19533,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19528,"mutability":"mutable","name":"path","nameLocation":"693:4:120","nodeType":"VariableDeclaration","scope":19707,"src":"674:23:120","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":19526,"name":"address","nodeType":"ElementaryTypeName","src":"674:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":19527,"nodeType":"ArrayTypeName","src":"674:9:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":19530,"mutability":"mutable","name":"recipient","nameLocation":"707:9:120","nodeType":"VariableDeclaration","scope":19707,"src":"699:17:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19529,"name":"address","nodeType":"ElementaryTypeName","src":"699:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19532,"mutability":"mutable","name":"pair","nameLocation":"726:4:120","nodeType":"VariableDeclaration","scope":19707,"src":"718:12:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19531,"name":"address","nodeType":"ElementaryTypeName","src":"718:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"673:58:120"},"returnParameters":{"id":19534,"nodeType":"ParameterList","parameters":[],"src":"740:0:120"},"scope":19844,"src":"657:1601:120","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":19792,"nodeType":"Block","src":"2840:673:120","statements":[{"assignments":[19723],"declarations":[{"constant":false,"id":19723,"mutability":"mutable","name":"firstPair","nameLocation":"2858:9:120","nodeType":"VariableDeclaration","scope":19792,"src":"2850:17:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19722,"name":"address","nodeType":"ElementaryTypeName","src":"2850:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":19735,"initialValue":{"arguments":[{"id":19726,"name":"UNISWAP_V2_FACTORY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19077,"src":"2907:18:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19727,"name":"UNISWAP_V2_PAIR_INIT_CODE_HASH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19080,"src":"2927:30:120","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"baseExpression":{"id":19728,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19717,"src":"2959:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19730,"indexExpression":{"hexValue":"30","id":19729,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2964:1:120","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2959:7:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"id":19731,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19717,"src":"2968:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19733,"indexExpression":{"hexValue":"31","id":19732,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2973:1:120","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2968:7:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":19724,"name":"UniswapV2Library","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19500,"src":"2882:16:120","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UniswapV2Library_$19500_$","typeString":"type(library UniswapV2Library)"}},"id":19725,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2899:7:120","memberName":"pairFor","nodeType":"MemberAccess","referencedDeclaration":19156,"src":"2882:24:120","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$_t_bytes32_$_t_address_$_t_address_$returns$_t_address_$","typeString":"function (address,bytes32,address,address) pure returns (address)"}},"id":19734,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2882:94:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"2850:126:120"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19739,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19736,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19712,"src":"3003:8:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"id":19737,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18230,"src":"3015:9:120","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$18230_$","typeString":"type(library Constants)"}},"id":19738,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3025:12:120","memberName":"ALREADY_PAID","nodeType":"MemberAccess","referencedDeclaration":18196,"src":"3015:22:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3003:34:120","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19750,"nodeType":"IfStatement","src":"2986:208:120","trueBody":{"id":19749,"nodeType":"Block","src":"3112:82:120","statements":[{"expression":{"arguments":[{"baseExpression":{"id":19741,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19717,"src":"3147:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19743,"indexExpression":{"hexValue":"30","id":19742,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3152:1:120","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3147:7:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19744,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19719,"src":"3156:5:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19745,"name":"firstPair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19723,"src":"3163:9:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19746,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19712,"src":"3174:8:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":19740,"name":"payOrPermit2Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18828,"src":"3126:20:120","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,address,uint256)"}},"id":19747,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3126:57:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":19748,"nodeType":"ExpressionStatement","src":"3126:57:120"}]}},{"assignments":[19753],"declarations":[{"constant":false,"id":19753,"mutability":"mutable","name":"tokenOut","nameLocation":"3210:8:120","nodeType":"VariableDeclaration","scope":19792,"src":"3204:14:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"},"typeName":{"id":19752,"nodeType":"UserDefinedTypeName","pathNode":{"id":19751,"name":"ERC20","nameLocations":["3204:5:120"],"nodeType":"IdentifierPath","referencedDeclaration":21824,"src":"3204:5:120"},"referencedDeclaration":21824,"src":"3204:5:120","typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"visibility":"internal"}],"id":19762,"initialValue":{"arguments":[{"baseExpression":{"id":19755,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19717,"src":"3227:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19760,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19759,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":19756,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19717,"src":"3232:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19757,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3237:6:120","memberName":"length","nodeType":"MemberAccess","src":"3232:11:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":19758,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3246:1:120","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3232:15:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3227:21:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":19754,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"3221:5:120","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC20_$21824_$","typeString":"type(contract ERC20)"}},"id":19761,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3221:28:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"nodeType":"VariableDeclarationStatement","src":"3204:45:120"},{"assignments":[19764],"declarations":[{"constant":false,"id":19764,"mutability":"mutable","name":"balanceBefore","nameLocation":"3267:13:120","nodeType":"VariableDeclaration","scope":19792,"src":"3259:21:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19763,"name":"uint256","nodeType":"ElementaryTypeName","src":"3259:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19769,"initialValue":{"arguments":[{"id":19767,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19710,"src":"3302:9:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":19765,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19753,"src":"3283:8:120","typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"id":19766,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3292:9:120","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":21467,"src":"3283:18:120","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":19768,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3283:29:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3259:53:120"},{"expression":{"arguments":[{"id":19771,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19717,"src":"3331:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},{"id":19772,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19710,"src":"3337:9:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19773,"name":"firstPair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19723,"src":"3348:9:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":19770,"name":"_v2Swap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19707,"src":"3323:7:120","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_array$_t_address_$dyn_calldata_ptr_$_t_address_$_t_address_$returns$__$","typeString":"function (address[] calldata,address,address)"}},"id":19774,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3323:35:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":19775,"nodeType":"ExpressionStatement","src":"3323:35:120"},{"assignments":[19777],"declarations":[{"constant":false,"id":19777,"mutability":"mutable","name":"amountOut","nameLocation":"3377:9:120","nodeType":"VariableDeclaration","scope":19792,"src":"3369:17:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19776,"name":"uint256","nodeType":"ElementaryTypeName","src":"3369:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19784,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19783,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":19780,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19710,"src":"3408:9:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":19778,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19753,"src":"3389:8:120","typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"id":19779,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3398:9:120","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":21467,"src":"3389:18:120","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":19781,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3389:29:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":19782,"name":"balanceBefore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19764,"src":"3421:13:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3389:45:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3369:65:120"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19787,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19785,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19777,"src":"3448:9:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":19786,"name":"amountOutMinimum","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19714,"src":"3460:16:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3448:28:120","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19791,"nodeType":"IfStatement","src":"3444:62:120","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":19788,"name":"V2TooLittleReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19521,"src":"3485:19:120","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":19789,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3485:21:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":19790,"nodeType":"RevertStatement","src":"3478:28:120"}}]},"documentation":{"id":19708,"nodeType":"StructuredDocumentation","src":"2264:387:120","text":"@notice Performs a Uniswap v2 exact input swap\n @param recipient The recipient of the output tokens\n @param amountIn The amount of input tokens for the trade\n @param amountOutMinimum The minimum desired amount of output tokens\n @param path The path of the trade as an array of token addresses\n @param payer The address that will be paying the input"},"id":19793,"implemented":true,"kind":"function","modifiers":[],"name":"v2SwapExactInput","nameLocation":"2665:16:120","nodeType":"FunctionDefinition","parameters":{"id":19720,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19710,"mutability":"mutable","name":"recipient","nameLocation":"2699:9:120","nodeType":"VariableDeclaration","scope":19793,"src":"2691:17:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19709,"name":"address","nodeType":"ElementaryTypeName","src":"2691:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19712,"mutability":"mutable","name":"amountIn","nameLocation":"2726:8:120","nodeType":"VariableDeclaration","scope":19793,"src":"2718:16:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19711,"name":"uint256","nodeType":"ElementaryTypeName","src":"2718:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19714,"mutability":"mutable","name":"amountOutMinimum","nameLocation":"2752:16:120","nodeType":"VariableDeclaration","scope":19793,"src":"2744:24:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19713,"name":"uint256","nodeType":"ElementaryTypeName","src":"2744:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19717,"mutability":"mutable","name":"path","nameLocation":"2797:4:120","nodeType":"VariableDeclaration","scope":19793,"src":"2778:23:120","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":19715,"name":"address","nodeType":"ElementaryTypeName","src":"2778:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":19716,"nodeType":"ArrayTypeName","src":"2778:9:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":19719,"mutability":"mutable","name":"payer","nameLocation":"2819:5:120","nodeType":"VariableDeclaration","scope":19793,"src":"2811:13:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19718,"name":"address","nodeType":"ElementaryTypeName","src":"2811:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2681:149:120"},"returnParameters":{"id":19721,"nodeType":"ParameterList","parameters":[],"src":"2840:0:120"},"scope":19844,"src":"2656:857:120","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":19842,"nodeType":"Block","src":"4108:356:120","statements":[{"assignments":[19809,19811],"declarations":[{"constant":false,"id":19809,"mutability":"mutable","name":"amountIn","nameLocation":"4127:8:120","nodeType":"VariableDeclaration","scope":19842,"src":"4119:16:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19808,"name":"uint256","nodeType":"ElementaryTypeName","src":"4119:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19811,"mutability":"mutable","name":"firstPair","nameLocation":"4145:9:120","nodeType":"VariableDeclaration","scope":19842,"src":"4137:17:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19810,"name":"address","nodeType":"ElementaryTypeName","src":"4137:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":19819,"initialValue":{"arguments":[{"id":19814,"name":"UNISWAP_V2_FACTORY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19077,"src":"4207:18:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19815,"name":"UNISWAP_V2_PAIR_INIT_CODE_HASH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19080,"src":"4227:30:120","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":19816,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19798,"src":"4259:9:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":19817,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19803,"src":"4270:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}],"expression":{"id":19812,"name":"UniswapV2Library","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19500,"src":"4170:16:120","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_UniswapV2Library_$19500_$","typeString":"type(library UniswapV2Library)"}},"id":19813,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4187:19:120","memberName":"getAmountInMultihop","nodeType":"MemberAccess","referencedDeclaration":19471,"src":"4170:36:120","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bytes32_$_t_uint256_$_t_array$_t_address_$dyn_calldata_ptr_$returns$_t_uint256_$_t_address_$","typeString":"function (address,bytes32,uint256,address[] calldata) view returns (uint256,address)"}},"id":19818,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4170:105:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_address_$","typeString":"tuple(uint256,address)"}},"nodeType":"VariableDeclarationStatement","src":"4118:157:120"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19822,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19820,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19809,"src":"4289:8:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":19821,"name":"amountInMaximum","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19800,"src":"4300:15:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4289:26:120","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19826,"nodeType":"IfStatement","src":"4285:59:120","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":19823,"name":"V2TooMuchRequested","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19523,"src":"4324:18:120","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":19824,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4324:20:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":19825,"nodeType":"RevertStatement","src":"4317:27:120"}},{"expression":{"arguments":[{"baseExpression":{"id":19828,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19803,"src":"4376:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":19830,"indexExpression":{"hexValue":"30","id":19829,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4381:1:120","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4376:7:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19831,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19805,"src":"4385:5:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19832,"name":"firstPair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19811,"src":"4392:9:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19833,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19809,"src":"4403:8:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":19827,"name":"payOrPermit2Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18828,"src":"4355:20:120","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,address,uint256)"}},"id":19834,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4355:57:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":19835,"nodeType":"ExpressionStatement","src":"4355:57:120"},{"expression":{"arguments":[{"id":19837,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19803,"src":"4430:4:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},{"id":19838,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19796,"src":"4436:9:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":19839,"name":"firstPair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19811,"src":"4447:9:120","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":19836,"name":"_v2Swap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19707,"src":"4422:7:120","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_array$_t_address_$dyn_calldata_ptr_$_t_address_$_t_address_$returns$__$","typeString":"function (address[] calldata,address,address)"}},"id":19840,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4422:35:120","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":19841,"nodeType":"ExpressionStatement","src":"4422:35:120"}]},"documentation":{"id":19794,"nodeType":"StructuredDocumentation","src":"3519:399:120","text":"@notice Performs a Uniswap v2 exact output swap\n @param recipient The recipient of the output tokens\n @param amountOut The amount of output tokens to receive for the trade\n @param amountInMaximum The maximum desired amount of input tokens\n @param path The path of the trade as an array of token addresses\n @param payer The address that will be paying the input"},"id":19843,"implemented":true,"kind":"function","modifiers":[],"name":"v2SwapExactOutput","nameLocation":"3932:17:120","nodeType":"FunctionDefinition","parameters":{"id":19806,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19796,"mutability":"mutable","name":"recipient","nameLocation":"3967:9:120","nodeType":"VariableDeclaration","scope":19843,"src":"3959:17:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19795,"name":"address","nodeType":"ElementaryTypeName","src":"3959:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19798,"mutability":"mutable","name":"amountOut","nameLocation":"3994:9:120","nodeType":"VariableDeclaration","scope":19843,"src":"3986:17:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19797,"name":"uint256","nodeType":"ElementaryTypeName","src":"3986:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19800,"mutability":"mutable","name":"amountInMaximum","nameLocation":"4021:15:120","nodeType":"VariableDeclaration","scope":19843,"src":"4013:23:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19799,"name":"uint256","nodeType":"ElementaryTypeName","src":"4013:7:120","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19803,"mutability":"mutable","name":"path","nameLocation":"4065:4:120","nodeType":"VariableDeclaration","scope":19843,"src":"4046:23:120","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":19801,"name":"address","nodeType":"ElementaryTypeName","src":"4046:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":19802,"nodeType":"ArrayTypeName","src":"4046:9:120","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":19805,"mutability":"mutable","name":"payer","nameLocation":"4087:5:120","nodeType":"VariableDeclaration","scope":19843,"src":"4079:13:120","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19804,"name":"address","nodeType":"ElementaryTypeName","src":"4079:7:120","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3949:149:120"},"returnParameters":{"id":19807,"nodeType":"ParameterList","parameters":[],"src":"4108:0:120"},"scope":19844,"src":"3923:541:120","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":19845,"src":"489:3977:120","usedErrors":[18360,18362,18727,19521,19523,19525],"usedEvents":[]}],"src":"45:4422:120"},"id":120},"contracts/modules/uniswap/v3/BytesLib.sol":{"ast":{"absolutePath":"contracts/modules/uniswap/v3/BytesLib.sol","exportedSymbols":{"BytesLib":[19963],"CalldataDecoder":[16368],"Constants":[18230]},"id":19964,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":19846,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"88:23:121"},{"absolutePath":"contracts/libraries/Constants.sol","file":"../../../libraries/Constants.sol","id":19848,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19964,"sourceUnit":18231,"src":"113:59:121","symbolAliases":[{"foreign":{"id":19847,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18230,"src":"121:9:121","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol","file":"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol","id":19850,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":19964,"sourceUnit":16369,"src":"173:88:121","symbolAliases":[{"foreign":{"id":19849,"name":"CalldataDecoder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16368,"src":"181:15:121","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"BytesLib","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"id":19963,"linearizedBaseContracts":[19963],"name":"BytesLib","nameLocation":"271:8:121","nodeType":"ContractDefinition","nodes":[{"global":false,"id":19853,"libraryName":{"id":19851,"name":"CalldataDecoder","nameLocations":["292:15:121"],"nodeType":"IdentifierPath","referencedDeclaration":16368,"src":"292:15:121"},"nodeType":"UsingForDirective","src":"286:32:121","typeName":{"id":19852,"name":"bytes","nodeType":"ElementaryTypeName","src":"312:5:121","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"errorSelector":"3b99b53d","id":19855,"name":"SliceOutOfBounds","nameLocation":"330:16:121","nodeType":"ErrorDefinition","parameters":{"id":19854,"nodeType":"ParameterList","parameters":[],"src":"346:2:121"},"src":"324:25:121"},{"body":{"id":19873,"nodeType":"Block","src":"678:173:121","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19867,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":19863,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19858,"src":"692:6:121","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":19864,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"699:6:121","memberName":"length","nodeType":"MemberAccess","src":"692:13:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":19865,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18230,"src":"708:9:121","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$18230_$","typeString":"type(library Constants)"}},"id":19866,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"718:9:121","memberName":"ADDR_SIZE","nodeType":"MemberAccess","referencedDeclaration":18207,"src":"708:19:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"692:35:121","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19871,"nodeType":"IfStatement","src":"688:66:121","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":19868,"name":"SliceOutOfBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19855,"src":"736:16:121","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":19869,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"736:18:121","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":19870,"nodeType":"RevertStatement","src":"729:25:121"}},{"AST":{"nativeSrc":"773:72:121","nodeType":"YulBlock","src":"773:72:121","statements":[{"nativeSrc":"787:48:121","nodeType":"YulAssignment","src":"787:48:121","value":{"arguments":[{"kind":"number","nativeSrc":"803:2:121","nodeType":"YulLiteral","src":"803:2:121","type":"","value":"96"},{"arguments":[{"name":"_bytes.offset","nativeSrc":"820:13:121","nodeType":"YulIdentifier","src":"820:13:121"}],"functionName":{"name":"calldataload","nativeSrc":"807:12:121","nodeType":"YulIdentifier","src":"807:12:121"},"nativeSrc":"807:27:121","nodeType":"YulFunctionCall","src":"807:27:121"}],"functionName":{"name":"shr","nativeSrc":"799:3:121","nodeType":"YulIdentifier","src":"799:3:121"},"nativeSrc":"799:36:121","nodeType":"YulFunctionCall","src":"799:36:121"},"variableNames":[{"name":"_address","nativeSrc":"787:8:121","nodeType":"YulIdentifier","src":"787:8:121"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":19861,"isOffset":false,"isSlot":false,"src":"787:8:121","valueSize":1},{"declaration":19858,"isOffset":true,"isSlot":false,"src":"820:13:121","suffix":"offset","valueSize":1}],"id":19872,"nodeType":"InlineAssembly","src":"764:81:121"}]},"documentation":{"id":19856,"nodeType":"StructuredDocumentation","src":"355:235:121","text":"@notice Returns the address starting at byte 0\n @dev length and overflow checks must be carried out before calling\n @param _bytes The input bytes string to slice\n @return _address The address starting at byte 0"},"id":19874,"implemented":true,"kind":"function","modifiers":[],"name":"toAddress","nameLocation":"604:9:121","nodeType":"FunctionDefinition","parameters":{"id":19859,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19858,"mutability":"mutable","name":"_bytes","nameLocation":"629:6:121","nodeType":"VariableDeclaration","scope":19874,"src":"614:21:121","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":19857,"name":"bytes","nodeType":"ElementaryTypeName","src":"614:5:121","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"613:23:121"},"returnParameters":{"id":19862,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19861,"mutability":"mutable","name":"_address","nameLocation":"668:8:121","nodeType":"VariableDeclaration","scope":19874,"src":"660:16:121","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19860,"name":"address","nodeType":"ElementaryTypeName","src":"660:7:121","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"659:18:121"},"scope":19963,"src":"595:256:121","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":19896,"nodeType":"Block","src":"1294:335:121","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19890,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":19886,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19877,"src":"1308:6:121","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":19887,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1315:6:121","memberName":"length","nodeType":"MemberAccess","src":"1308:13:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":19888,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18230,"src":"1324:9:121","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$18230_$","typeString":"type(library Constants)"}},"id":19889,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1334:13:121","memberName":"V3_POP_OFFSET","nodeType":"MemberAccess","referencedDeclaration":18223,"src":"1324:23:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1308:39:121","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19894,"nodeType":"IfStatement","src":"1304:70:121","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":19891,"name":"SliceOutOfBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19855,"src":"1356:16:121","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":19892,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1356:18:121","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":19893,"nodeType":"RevertStatement","src":"1349:25:121"}},{"AST":{"nativeSrc":"1393:230:121","nodeType":"YulBlock","src":"1393:230:121","statements":[{"nativeSrc":"1407:44:121","nodeType":"YulVariableDeclaration","src":"1407:44:121","value":{"arguments":[{"name":"_bytes.offset","nativeSrc":"1437:13:121","nodeType":"YulIdentifier","src":"1437:13:121"}],"functionName":{"name":"calldataload","nativeSrc":"1424:12:121","nodeType":"YulIdentifier","src":"1424:12:121"},"nativeSrc":"1424:27:121","nodeType":"YulFunctionCall","src":"1424:27:121"},"variables":[{"name":"firstWord","nativeSrc":"1411:9:121","nodeType":"YulTypedName","src":"1411:9:121","type":""}]},{"nativeSrc":"1464:28:121","nodeType":"YulAssignment","src":"1464:28:121","value":{"arguments":[{"kind":"number","nativeSrc":"1478:2:121","nodeType":"YulLiteral","src":"1478:2:121","type":"","value":"96"},{"name":"firstWord","nativeSrc":"1482:9:121","nodeType":"YulIdentifier","src":"1482:9:121"}],"functionName":{"name":"shr","nativeSrc":"1474:3:121","nodeType":"YulIdentifier","src":"1474:3:121"},"nativeSrc":"1474:18:121","nodeType":"YulFunctionCall","src":"1474:18:121"},"variableNames":[{"name":"token0","nativeSrc":"1464:6:121","nodeType":"YulIdentifier","src":"1464:6:121"}]},{"nativeSrc":"1505:40:121","nodeType":"YulAssignment","src":"1505:40:121","value":{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"1520:2:121","nodeType":"YulLiteral","src":"1520:2:121","type":"","value":"72"},{"name":"firstWord","nativeSrc":"1524:9:121","nodeType":"YulIdentifier","src":"1524:9:121"}],"functionName":{"name":"shr","nativeSrc":"1516:3:121","nodeType":"YulIdentifier","src":"1516:3:121"},"nativeSrc":"1516:18:121","nodeType":"YulFunctionCall","src":"1516:18:121"},{"kind":"number","nativeSrc":"1536:8:121","nodeType":"YulLiteral","src":"1536:8:121","type":"","value":"0xffffff"}],"functionName":{"name":"and","nativeSrc":"1512:3:121","nodeType":"YulIdentifier","src":"1512:3:121"},"nativeSrc":"1512:33:121","nodeType":"YulFunctionCall","src":"1512:33:121"},"variableNames":[{"name":"fee","nativeSrc":"1505:3:121","nodeType":"YulIdentifier","src":"1505:3:121"}]},{"nativeSrc":"1558:55:121","nodeType":"YulAssignment","src":"1558:55:121","value":{"arguments":[{"kind":"number","nativeSrc":"1572:2:121","nodeType":"YulLiteral","src":"1572:2:121","type":"","value":"96"},{"arguments":[{"arguments":[{"name":"_bytes.offset","nativeSrc":"1593:13:121","nodeType":"YulIdentifier","src":"1593:13:121"},{"kind":"number","nativeSrc":"1608:2:121","nodeType":"YulLiteral","src":"1608:2:121","type":"","value":"23"}],"functionName":{"name":"add","nativeSrc":"1589:3:121","nodeType":"YulIdentifier","src":"1589:3:121"},"nativeSrc":"1589:22:121","nodeType":"YulFunctionCall","src":"1589:22:121"}],"functionName":{"name":"calldataload","nativeSrc":"1576:12:121","nodeType":"YulIdentifier","src":"1576:12:121"},"nativeSrc":"1576:36:121","nodeType":"YulFunctionCall","src":"1576:36:121"}],"functionName":{"name":"shr","nativeSrc":"1568:3:121","nodeType":"YulIdentifier","src":"1568:3:121"},"nativeSrc":"1568:45:121","nodeType":"YulFunctionCall","src":"1568:45:121"},"variableNames":[{"name":"token1","nativeSrc":"1558:6:121","nodeType":"YulIdentifier","src":"1558:6:121"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":19877,"isOffset":true,"isSlot":false,"src":"1437:13:121","suffix":"offset","valueSize":1},{"declaration":19877,"isOffset":true,"isSlot":false,"src":"1593:13:121","suffix":"offset","valueSize":1},{"declaration":19882,"isOffset":false,"isSlot":false,"src":"1505:3:121","valueSize":1},{"declaration":19880,"isOffset":false,"isSlot":false,"src":"1464:6:121","valueSize":1},{"declaration":19884,"isOffset":false,"isSlot":false,"src":"1558:6:121","valueSize":1}],"id":19895,"nodeType":"InlineAssembly","src":"1384:239:121"}]},"documentation":{"id":19875,"nodeType":"StructuredDocumentation","src":"857:326:121","text":"@notice Returns the pool details starting at byte 0\n @dev length and overflow checks must be carried out before calling\n @param _bytes The input bytes string to slice\n @return token0 The address at byte 0\n @return fee The uint24 starting at byte 20\n @return token1 The address at byte 23"},"id":19897,"implemented":true,"kind":"function","modifiers":[],"name":"toPool","nameLocation":"1197:6:121","nodeType":"FunctionDefinition","parameters":{"id":19878,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19877,"mutability":"mutable","name":"_bytes","nameLocation":"1219:6:121","nodeType":"VariableDeclaration","scope":19897,"src":"1204:21:121","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":19876,"name":"bytes","nodeType":"ElementaryTypeName","src":"1204:5:121","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1203:23:121"},"returnParameters":{"id":19885,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19880,"mutability":"mutable","name":"token0","nameLocation":"1258:6:121","nodeType":"VariableDeclaration","scope":19897,"src":"1250:14:121","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19879,"name":"address","nodeType":"ElementaryTypeName","src":"1250:7:121","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19882,"mutability":"mutable","name":"fee","nameLocation":"1273:3:121","nodeType":"VariableDeclaration","scope":19897,"src":"1266:10:121","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":19881,"name":"uint24","nodeType":"ElementaryTypeName","src":"1266:6:121","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":19884,"mutability":"mutable","name":"token1","nameLocation":"1286:6:121","nodeType":"VariableDeclaration","scope":19897,"src":"1278:14:121","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19883,"name":"address","nodeType":"ElementaryTypeName","src":"1278:7:121","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1249:44:121"},"scope":19963,"src":"1188:441:121","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":19923,"nodeType":"Block","src":"2220:556:121","statements":[{"assignments":[19910],"declarations":[{"constant":false,"id":19910,"mutability":"mutable","name":"relativeOffset","nameLocation":"2238:14:121","nodeType":"VariableDeclaration","scope":19923,"src":"2230:22:121","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19909,"name":"uint256","nodeType":"ElementaryTypeName","src":"2230:7:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19911,"nodeType":"VariableDeclarationStatement","src":"2230:22:121"},{"AST":{"nativeSrc":"2271:419:121","nodeType":"YulBlock","src":"2271:419:121","statements":[{"nativeSrc":"2451:83:121","nodeType":"YulVariableDeclaration","src":"2451:83:121","value":{"arguments":[{"name":"_bytes.offset","nativeSrc":"2472:13:121","nodeType":"YulIdentifier","src":"2472:13:121"},{"arguments":[{"arguments":[{"name":"_bytes.offset","nativeSrc":"2504:13:121","nodeType":"YulIdentifier","src":"2504:13:121"},{"arguments":[{"kind":"number","nativeSrc":"2523:1:121","nodeType":"YulLiteral","src":"2523:1:121","type":"","value":"5"},{"name":"_arg","nativeSrc":"2526:4:121","nodeType":"YulIdentifier","src":"2526:4:121"}],"functionName":{"name":"shl","nativeSrc":"2519:3:121","nodeType":"YulIdentifier","src":"2519:3:121"},"nativeSrc":"2519:12:121","nodeType":"YulFunctionCall","src":"2519:12:121"}],"functionName":{"name":"add","nativeSrc":"2500:3:121","nodeType":"YulIdentifier","src":"2500:3:121"},"nativeSrc":"2500:32:121","nodeType":"YulFunctionCall","src":"2500:32:121"}],"functionName":{"name":"calldataload","nativeSrc":"2487:12:121","nodeType":"YulIdentifier","src":"2487:12:121"},"nativeSrc":"2487:46:121","nodeType":"YulFunctionCall","src":"2487:46:121"}],"functionName":{"name":"add","nativeSrc":"2468:3:121","nodeType":"YulIdentifier","src":"2468:3:121"},"nativeSrc":"2468:66:121","nodeType":"YulFunctionCall","src":"2468:66:121"},"variables":[{"name":"lengthPtr","nativeSrc":"2455:9:121","nodeType":"YulTypedName","src":"2455:9:121","type":""}]},{"nativeSrc":"2547:33:121","nodeType":"YulAssignment","src":"2547:33:121","value":{"arguments":[{"name":"lengthPtr","nativeSrc":"2570:9:121","nodeType":"YulIdentifier","src":"2570:9:121"}],"functionName":{"name":"calldataload","nativeSrc":"2557:12:121","nodeType":"YulIdentifier","src":"2557:12:121"},"nativeSrc":"2557:23:121","nodeType":"YulFunctionCall","src":"2557:23:121"},"variableNames":[{"name":"length","nativeSrc":"2547:6:121","nodeType":"YulIdentifier","src":"2547:6:121"}]},{"nativeSrc":"2593:30:121","nodeType":"YulAssignment","src":"2593:30:121","value":{"arguments":[{"name":"lengthPtr","nativeSrc":"2607:9:121","nodeType":"YulIdentifier","src":"2607:9:121"},{"kind":"number","nativeSrc":"2618:4:121","nodeType":"YulLiteral","src":"2618:4:121","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2603:3:121","nodeType":"YulIdentifier","src":"2603:3:121"},"nativeSrc":"2603:20:121","nodeType":"YulFunctionCall","src":"2603:20:121"},"variableNames":[{"name":"offset","nativeSrc":"2593:6:121","nodeType":"YulIdentifier","src":"2593:6:121"}]},{"nativeSrc":"2636:44:121","nodeType":"YulAssignment","src":"2636:44:121","value":{"arguments":[{"name":"offset","nativeSrc":"2658:6:121","nodeType":"YulIdentifier","src":"2658:6:121"},{"name":"_bytes.offset","nativeSrc":"2666:13:121","nodeType":"YulIdentifier","src":"2666:13:121"}],"functionName":{"name":"sub","nativeSrc":"2654:3:121","nodeType":"YulIdentifier","src":"2654:3:121"},"nativeSrc":"2654:26:121","nodeType":"YulFunctionCall","src":"2654:26:121"},"variableNames":[{"name":"relativeOffset","nativeSrc":"2636:14:121","nodeType":"YulIdentifier","src":"2636:14:121"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":19902,"isOffset":false,"isSlot":false,"src":"2526:4:121","valueSize":1},{"declaration":19900,"isOffset":true,"isSlot":false,"src":"2472:13:121","suffix":"offset","valueSize":1},{"declaration":19900,"isOffset":true,"isSlot":false,"src":"2504:13:121","suffix":"offset","valueSize":1},{"declaration":19900,"isOffset":true,"isSlot":false,"src":"2666:13:121","suffix":"offset","valueSize":1},{"declaration":19905,"isOffset":false,"isSlot":false,"src":"2547:6:121","valueSize":1},{"declaration":19907,"isOffset":false,"isSlot":false,"src":"2593:6:121","valueSize":1},{"declaration":19907,"isOffset":false,"isSlot":false,"src":"2658:6:121","valueSize":1},{"declaration":19910,"isOffset":false,"isSlot":false,"src":"2636:14:121","valueSize":1}],"id":19912,"nodeType":"InlineAssembly","src":"2262:428:121"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19918,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":19913,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19900,"src":"2703:6:121","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":19914,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2710:6:121","memberName":"length","nodeType":"MemberAccess","src":"2703:13:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19917,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":19915,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19905,"src":"2719:6:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":19916,"name":"relativeOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19910,"src":"2728:14:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2719:23:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2703:39:121","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":19922,"nodeType":"IfStatement","src":"2699:70:121","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":19919,"name":"SliceOutOfBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19855,"src":"2751:16:121","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":19920,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2751:18:121","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":19921,"nodeType":"RevertStatement","src":"2744:25:121"}}]},"documentation":{"id":19898,"nodeType":"StructuredDocumentation","src":"1635:436:121","text":"@notice Decode the `_arg`-th element in `_bytes` as a dynamic array\n @dev The decoding of `length` and `offset` is universal,\n whereas the type declaration of `res` instructs the compiler how to read it.\n @param _bytes The input bytes string to slice\n @param _arg The index of the argument to extract\n @return length Length of the array\n @return offset Pointer to the data part of the array"},"id":19924,"implemented":true,"kind":"function","modifiers":[],"name":"toLengthOffset","nameLocation":"2085:14:121","nodeType":"FunctionDefinition","parameters":{"id":19903,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19900,"mutability":"mutable","name":"_bytes","nameLocation":"2115:6:121","nodeType":"VariableDeclaration","scope":19924,"src":"2100:21:121","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":19899,"name":"bytes","nodeType":"ElementaryTypeName","src":"2100:5:121","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":19902,"mutability":"mutable","name":"_arg","nameLocation":"2131:4:121","nodeType":"VariableDeclaration","scope":19924,"src":"2123:12:121","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19901,"name":"uint256","nodeType":"ElementaryTypeName","src":"2123:7:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2099:37:121"},"returnParameters":{"id":19908,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19905,"mutability":"mutable","name":"length","nameLocation":"2192:6:121","nodeType":"VariableDeclaration","scope":19924,"src":"2184:14:121","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19904,"name":"uint256","nodeType":"ElementaryTypeName","src":"2184:7:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19907,"mutability":"mutable","name":"offset","nameLocation":"2208:6:121","nodeType":"VariableDeclaration","scope":19924,"src":"2200:14:121","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19906,"name":"uint256","nodeType":"ElementaryTypeName","src":"2200:7:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2183:32:121"},"scope":19963,"src":"2076:700:121","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":19945,"nodeType":"Block","src":"3097:175:121","statements":[{"assignments":[19936,19938],"declarations":[{"constant":false,"id":19936,"mutability":"mutable","name":"length","nameLocation":"3116:6:121","nodeType":"VariableDeclaration","scope":19945,"src":"3108:14:121","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19935,"name":"uint256","nodeType":"ElementaryTypeName","src":"3108:7:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":19938,"mutability":"mutable","name":"offset","nameLocation":"3132:6:121","nodeType":"VariableDeclaration","scope":19945,"src":"3124:14:121","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19937,"name":"uint256","nodeType":"ElementaryTypeName","src":"3124:7:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":19943,"initialValue":{"arguments":[{"id":19940,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19927,"src":"3157:6:121","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":19941,"name":"_arg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19929,"src":"3165:4:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":19939,"name":"toLengthOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19924,"src":"3142:14:121","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_uint256_$_t_uint256_$","typeString":"function (bytes calldata,uint256) pure returns (uint256,uint256)"}},"id":19942,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3142:28:121","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"3107:63:121"},{"AST":{"nativeSrc":"3189:77:121","nodeType":"YulBlock","src":"3189:77:121","statements":[{"nativeSrc":"3203:20:121","nodeType":"YulAssignment","src":"3203:20:121","value":{"name":"length","nativeSrc":"3217:6:121","nodeType":"YulIdentifier","src":"3217:6:121"},"variableNames":[{"name":"res.length","nativeSrc":"3203:10:121","nodeType":"YulIdentifier","src":"3203:10:121"}]},{"nativeSrc":"3236:20:121","nodeType":"YulAssignment","src":"3236:20:121","value":{"name":"offset","nativeSrc":"3250:6:121","nodeType":"YulIdentifier","src":"3250:6:121"},"variableNames":[{"name":"res.offset","nativeSrc":"3236:10:121","nodeType":"YulIdentifier","src":"3236:10:121"}]}]},"evmVersion":"cancun","externalReferences":[{"declaration":19936,"isOffset":false,"isSlot":false,"src":"3217:6:121","valueSize":1},{"declaration":19938,"isOffset":false,"isSlot":false,"src":"3250:6:121","valueSize":1},{"declaration":19933,"isOffset":false,"isSlot":false,"src":"3203:10:121","suffix":"length","valueSize":1},{"declaration":19933,"isOffset":true,"isSlot":false,"src":"3236:10:121","suffix":"offset","valueSize":1}],"id":19944,"nodeType":"InlineAssembly","src":"3180:86:121"}]},"documentation":{"id":19925,"nodeType":"StructuredDocumentation","src":"2782:202:121","text":"@notice Decode the `_arg`-th element in `_bytes` as `address[]`\n @param _bytes The input bytes string to extract an address array from\n @param _arg The index of the argument to extract"},"id":19946,"implemented":true,"kind":"function","modifiers":[],"name":"toAddressArray","nameLocation":"2998:14:121","nodeType":"FunctionDefinition","parameters":{"id":19930,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19927,"mutability":"mutable","name":"_bytes","nameLocation":"3028:6:121","nodeType":"VariableDeclaration","scope":19946,"src":"3013:21:121","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":19926,"name":"bytes","nodeType":"ElementaryTypeName","src":"3013:5:121","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":19929,"mutability":"mutable","name":"_arg","nameLocation":"3044:4:121","nodeType":"VariableDeclaration","scope":19946,"src":"3036:12:121","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":19928,"name":"uint256","nodeType":"ElementaryTypeName","src":"3036:7:121","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3012:37:121"},"returnParameters":{"id":19934,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19933,"mutability":"mutable","name":"res","nameLocation":"3092:3:121","nodeType":"VariableDeclaration","scope":19946,"src":"3073:22:121","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":19931,"name":"address","nodeType":"ElementaryTypeName","src":"3073:7:121","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":19932,"nodeType":"ArrayTypeName","src":"3073:9:121","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"}],"src":"3072:24:121"},"scope":19963,"src":"2989:283:121","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":19961,"nodeType":"Block","src":"3523:58:121","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":19957,"name":"_bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19949,"src":"3540:6:121","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":19958,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3547:25:121","memberName":"decodeActionsRouterParams","nodeType":"MemberAccess","referencedDeclaration":16068,"src":"3540:32:121","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_bytes_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (bytes calldata,bytes calldata[] calldata)"}},"id":19959,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3540:34:121","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_calldata_ptr_$_t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr_$","typeString":"tuple(bytes calldata,bytes calldata[] calldata)"}},"functionReturnParameters":19956,"id":19960,"nodeType":"Return","src":"3533:41:121"}]},"documentation":{"id":19947,"nodeType":"StructuredDocumentation","src":"3278:127:121","text":"@notice Equivalent to abi.decode(bytes, bytes[])\n @param _bytes The input bytes string to extract an parameters from"},"id":19962,"implemented":true,"kind":"function","modifiers":[],"name":"decodeCommandsAndInputs","nameLocation":"3419:23:121","nodeType":"FunctionDefinition","parameters":{"id":19950,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19949,"mutability":"mutable","name":"_bytes","nameLocation":"3458:6:121","nodeType":"VariableDeclaration","scope":19962,"src":"3443:21:121","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":19948,"name":"bytes","nodeType":"ElementaryTypeName","src":"3443:5:121","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3442:23:121"},"returnParameters":{"id":19956,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19952,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":19962,"src":"3489:14:121","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":19951,"name":"bytes","nodeType":"ElementaryTypeName","src":"3489:5:121","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":19955,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":19962,"src":"3505:16:121","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":19953,"name":"bytes","nodeType":"ElementaryTypeName","src":"3505:5:121","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":19954,"nodeType":"ArrayTypeName","src":"3505:7:121","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"src":"3488:34:121"},"scope":19963,"src":"3410:171:121","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":19964,"src":"263:3320:121","usedErrors":[19855],"usedEvents":[]}],"src":"88:3496:121"},"id":121},"contracts/modules/uniswap/v3/V3Path.sol":{"ast":{"absolutePath":"contracts/modules/uniswap/v3/V3Path.sol","exportedSymbols":{"BytesLib":[19963],"Constants":[18230],"V3Path":[20048]},"id":20049,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":19965,"literals":["solidity",">=","0.6",".0"],"nodeType":"PragmaDirective","src":"45:24:122"},{"absolutePath":"contracts/modules/uniswap/v3/BytesLib.sol","file":"./BytesLib.sol","id":19967,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20049,"sourceUnit":19964,"src":"71:40:122","symbolAliases":[{"foreign":{"id":19966,"name":"BytesLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19963,"src":"79:8:122","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/libraries/Constants.sol","file":"../../../libraries/Constants.sol","id":19969,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20049,"sourceUnit":18231,"src":"112:59:122","symbolAliases":[{"foreign":{"id":19968,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18230,"src":"120:9:122","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"V3Path","contractDependencies":[],"contractKind":"library","documentation":{"id":19970,"nodeType":"StructuredDocumentation","src":"173:67:122","text":"@title Functions for manipulating path data for multihop swaps"},"fullyImplemented":true,"id":20048,"linearizedBaseContracts":[20048],"name":"V3Path","nameLocation":"248:6:122","nodeType":"ContractDefinition","nodes":[{"global":false,"id":19973,"libraryName":{"id":19971,"name":"BytesLib","nameLocations":["267:8:122"],"nodeType":"IdentifierPath","referencedDeclaration":19963,"src":"267:8:122"},"nodeType":"UsingForDirective","src":"261:25:122","typeName":{"id":19972,"name":"bytes","nodeType":"ElementaryTypeName","src":"280:5:122","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"body":{"id":19987,"nodeType":"Block","src":"552:77:122","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":19985,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":19981,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19976,"src":"569:4:122","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":19982,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"574:6:122","memberName":"length","nodeType":"MemberAccess","src":"569:11:122","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":19983,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18230,"src":"584:9:122","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$18230_$","typeString":"type(library Constants)"}},"id":19984,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"594:28:122","memberName":"MULTIPLE_V3_POOLS_MIN_LENGTH","nodeType":"MemberAccess","referencedDeclaration":18229,"src":"584:38:122","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"569:53:122","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":19980,"id":19986,"nodeType":"Return","src":"562:60:122"}]},"documentation":{"id":19974,"nodeType":"StructuredDocumentation","src":"292:179:122","text":"@notice Returns true iff the path contains two or more pools\n @param path The encoded swap path\n @return True if path contains two or more pools, otherwise false"},"id":19988,"implemented":true,"kind":"function","modifiers":[],"name":"hasMultiplePools","nameLocation":"485:16:122","nodeType":"FunctionDefinition","parameters":{"id":19977,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19976,"mutability":"mutable","name":"path","nameLocation":"517:4:122","nodeType":"VariableDeclaration","scope":19988,"src":"502:19:122","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":19975,"name":"bytes","nodeType":"ElementaryTypeName","src":"502:5:122","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"501:21:122"},"returnParameters":{"id":19980,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19979,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":19988,"src":"546:4:122","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":19978,"name":"bool","nodeType":"ElementaryTypeName","src":"546:4:122","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"545:6:122"},"scope":20048,"src":"476:153:122","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":20004,"nodeType":"Block","src":"986:37:122","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20000,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19991,"src":"1003:4:122","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20001,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1008:6:122","memberName":"toPool","nodeType":"MemberAccess","referencedDeclaration":19897,"src":"1003:11:122","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_address_$_t_uint24_$_t_address_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (address,uint24,address)"}},"id":20002,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1003:13:122","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_uint24_$_t_address_$","typeString":"tuple(address,uint24,address)"}},"functionReturnParameters":19999,"id":20003,"nodeType":"Return","src":"996:20:122"}]},"documentation":{"id":19989,"nodeType":"StructuredDocumentation","src":"635:251:122","text":"@notice Decodes the first pool in path\n @param path The bytes encoded swap path\n @return tokenA The first token of the given pool\n @return fee The fee level of the pool\n @return tokenB The second token of the given pool"},"id":20005,"implemented":true,"kind":"function","modifiers":[],"name":"decodeFirstPool","nameLocation":"900:15:122","nodeType":"FunctionDefinition","parameters":{"id":19992,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19991,"mutability":"mutable","name":"path","nameLocation":"931:4:122","nodeType":"VariableDeclaration","scope":20005,"src":"916:19:122","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":19990,"name":"bytes","nodeType":"ElementaryTypeName","src":"916:5:122","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"915:21:122"},"returnParameters":{"id":19999,"nodeType":"ParameterList","parameters":[{"constant":false,"id":19994,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":20005,"src":"960:7:122","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19993,"name":"address","nodeType":"ElementaryTypeName","src":"960:7:122","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":19996,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":20005,"src":"969:6:122","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":19995,"name":"uint24","nodeType":"ElementaryTypeName","src":"969:6:122","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":19998,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":20005,"src":"977:7:122","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":19997,"name":"address","nodeType":"ElementaryTypeName","src":"977:7:122","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"959:26:122"},"scope":20048,"src":"891:132:122","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":20018,"nodeType":"Block","src":"1331:54:122","statements":[{"expression":{"baseExpression":{"id":20013,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20008,"src":"1348:4:122","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"endExpression":{"expression":{"id":20014,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18230,"src":"1354:9:122","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$18230_$","typeString":"type(library Constants)"}},"id":20015,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1364:13:122","memberName":"V3_POP_OFFSET","nodeType":"MemberAccess","referencedDeclaration":18223,"src":"1354:23:122","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":20016,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexRangeAccess","src":"1348:30:122","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr_slice","typeString":"bytes calldata slice"}},"functionReturnParameters":20012,"id":20017,"nodeType":"Return","src":"1341:37:122"}]},"documentation":{"id":20006,"nodeType":"StructuredDocumentation","src":"1029:215:122","text":"@notice Gets the segment corresponding to the first pool in the path\n @param path The bytes encoded swap path\n @return The segment containing all data necessary to target the first pool in the path"},"id":20019,"implemented":true,"kind":"function","modifiers":[],"name":"getFirstPool","nameLocation":"1258:12:122","nodeType":"FunctionDefinition","parameters":{"id":20009,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20008,"mutability":"mutable","name":"path","nameLocation":"1286:4:122","nodeType":"VariableDeclaration","scope":20019,"src":"1271:19:122","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":20007,"name":"bytes","nodeType":"ElementaryTypeName","src":"1271:5:122","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1270:21:122"},"returnParameters":{"id":20012,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20011,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":20019,"src":"1315:14:122","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":20010,"name":"bytes","nodeType":"ElementaryTypeName","src":"1315:5:122","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1314:16:122"},"scope":20048,"src":"1249:136:122","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":20032,"nodeType":"Block","src":"1477:42:122","statements":[{"expression":{"id":20030,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":20026,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20024,"src":"1487:6:122","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20027,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20021,"src":"1496:4:122","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20028,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1501:9:122","memberName":"toAddress","nodeType":"MemberAccess","referencedDeclaration":19874,"src":"1496:14:122","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_address_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (address)"}},"id":20029,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1496:16:122","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1487:25:122","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":20031,"nodeType":"ExpressionStatement","src":"1487:25:122"}]},"id":20033,"implemented":true,"kind":"function","modifiers":[],"name":"decodeFirstToken","nameLocation":"1400:16:122","nodeType":"FunctionDefinition","parameters":{"id":20022,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20021,"mutability":"mutable","name":"path","nameLocation":"1432:4:122","nodeType":"VariableDeclaration","scope":20033,"src":"1417:19:122","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":20020,"name":"bytes","nodeType":"ElementaryTypeName","src":"1417:5:122","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1416:21:122"},"returnParameters":{"id":20025,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20024,"mutability":"mutable","name":"tokenA","nameLocation":"1469:6:122","nodeType":"VariableDeclaration","scope":20033,"src":"1461:14:122","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20023,"name":"address","nodeType":"ElementaryTypeName","src":"1461:7:122","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1460:16:122"},"scope":20048,"src":"1391:128:122","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":20046,"nodeType":"Block","src":"1682:60:122","statements":[{"expression":{"baseExpression":{"id":20041,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20036,"src":"1699:4:122","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20044,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexRangeAccess","src":"1699:36:122","startExpression":{"expression":{"id":20042,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18230,"src":"1704:9:122","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$18230_$","typeString":"type(library Constants)"}},"id":20043,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1714:19:122","memberName":"NEXT_V3_POOL_OFFSET","nodeType":"MemberAccess","referencedDeclaration":18217,"src":"1704:29:122","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr_slice","typeString":"bytes calldata slice"}},"functionReturnParameters":20040,"id":20045,"nodeType":"Return","src":"1692:43:122"}]},"documentation":{"id":20034,"nodeType":"StructuredDocumentation","src":"1525:73:122","text":"@notice Skips a token + fee element\n @param path The swap path"},"id":20047,"implemented":true,"kind":"function","modifiers":[],"name":"skipToken","nameLocation":"1612:9:122","nodeType":"FunctionDefinition","parameters":{"id":20037,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20036,"mutability":"mutable","name":"path","nameLocation":"1637:4:122","nodeType":"VariableDeclaration","scope":20047,"src":"1622:19:122","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":20035,"name":"bytes","nodeType":"ElementaryTypeName","src":"1622:5:122","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1621:21:122"},"returnParameters":{"id":20040,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20039,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":20047,"src":"1666:14:122","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":20038,"name":"bytes","nodeType":"ElementaryTypeName","src":"1666:5:122","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1665:16:122"},"scope":20048,"src":"1603:139:122","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":20049,"src":"240:1504:122","usedErrors":[],"usedEvents":[]}],"src":"45:1700:122"},"id":122},"contracts/modules/uniswap/v3/V3SwapRouter.sol":{"ast":{"absolutePath":"contracts/modules/uniswap/v3/V3SwapRouter.sol","exportedSymbols":{"ActionConstants":[15916],"BytesLib":[19963],"CalldataDecoder":[16368],"ERC20":[21824],"IUniswapV3Pool":[530],"IUniswapV3SwapCallback":[544],"MaxInputAmount":[18287],"Permit2Payments":[18829],"SafeCast":[1034],"UniswapImmutables":[19114],"V3Path":[20048],"V3SwapRouter":[20557]},"id":20558,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":20050,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:123"},{"absolutePath":"contracts/modules/uniswap/v3/V3Path.sol","file":"./V3Path.sol","id":20052,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20558,"sourceUnit":20049,"src":"71:36:123","symbolAliases":[{"foreign":{"id":20051,"name":"V3Path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20048,"src":"79:6:123","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/uniswap/v3/BytesLib.sol","file":"./BytesLib.sol","id":20054,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20558,"sourceUnit":19964,"src":"108:40:123","symbolAliases":[{"foreign":{"id":20053,"name":"BytesLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19963,"src":"116:8:123","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v3-core/contracts/libraries/SafeCast.sol","file":"@uniswap/v3-core/contracts/libraries/SafeCast.sol","id":20056,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20558,"sourceUnit":1035,"src":"149:75:123","symbolAliases":[{"foreign":{"id":20055,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1034,"src":"157:8:123","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol","file":"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol","id":20058,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20558,"sourceUnit":531,"src":"225:88:123","symbolAliases":[{"foreign":{"id":20057,"name":"IUniswapV3Pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":530,"src":"233:14:123","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol","file":"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol","id":20060,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20558,"sourceUnit":545,"src":"314:113:123","symbolAliases":[{"foreign":{"id":20059,"name":"IUniswapV3SwapCallback","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":544,"src":"322:22:123","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/ActionConstants.sol","file":"@uniswap/v4-periphery/src/libraries/ActionConstants.sol","id":20062,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20558,"sourceUnit":15917,"src":"428:88:123","symbolAliases":[{"foreign":{"id":20061,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"436:15:123","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol","file":"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol","id":20064,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20558,"sourceUnit":16369,"src":"517:88:123","symbolAliases":[{"foreign":{"id":20063,"name":"CalldataDecoder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16368,"src":"525:15:123","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/Permit2Payments.sol","file":"../../Permit2Payments.sol","id":20066,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20558,"sourceUnit":18830,"src":"606:58:123","symbolAliases":[{"foreign":{"id":20065,"name":"Permit2Payments","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18829,"src":"614:15:123","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/uniswap/UniswapImmutables.sol","file":"../UniswapImmutables.sol","id":20068,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20558,"sourceUnit":19115,"src":"665:59:123","symbolAliases":[{"foreign":{"id":20067,"name":"UniswapImmutables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19114,"src":"673:17:123","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/libraries/MaxInputAmount.sol","file":"../../../libraries/MaxInputAmount.sol","id":20070,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20558,"sourceUnit":18288,"src":"725:69:123","symbolAliases":[{"foreign":{"id":20069,"name":"MaxInputAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18287,"src":"733:14:123","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"solmate/src/tokens/ERC20.sol","file":"solmate/src/tokens/ERC20.sol","id":20072,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20558,"sourceUnit":21825,"src":"795:51:123","symbolAliases":[{"foreign":{"id":20071,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"803:5:123","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":20074,"name":"UniswapImmutables","nameLocations":["922:17:123"],"nodeType":"IdentifierPath","referencedDeclaration":19114,"src":"922:17:123"},"id":20075,"nodeType":"InheritanceSpecifier","src":"922:17:123"},{"baseName":{"id":20076,"name":"Permit2Payments","nameLocations":["941:15:123"],"nodeType":"IdentifierPath","referencedDeclaration":18829,"src":"941:15:123"},"id":20077,"nodeType":"InheritanceSpecifier","src":"941:15:123"},{"baseName":{"id":20078,"name":"IUniswapV3SwapCallback","nameLocations":["958:22:123"],"nodeType":"IdentifierPath","referencedDeclaration":544,"src":"958:22:123"},"id":20079,"nodeType":"InheritanceSpecifier","src":"958:22:123"}],"canonicalName":"V3SwapRouter","contractDependencies":[],"contractKind":"contract","documentation":{"id":20073,"nodeType":"StructuredDocumentation","src":"848:40:123","text":"@title Router for Uniswap v3 Trades"},"fullyImplemented":true,"id":20557,"linearizedBaseContracts":[20557,544,18829,18670,18711,19114],"name":"V3SwapRouter","nameLocation":"906:12:123","nodeType":"ContractDefinition","nodes":[{"global":false,"id":20082,"libraryName":{"id":20080,"name":"V3Path","nameLocations":["993:6:123"],"nodeType":"IdentifierPath","referencedDeclaration":20048,"src":"993:6:123"},"nodeType":"UsingForDirective","src":"987:23:123","typeName":{"id":20081,"name":"bytes","nodeType":"ElementaryTypeName","src":"1004:5:123","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"global":false,"id":20085,"libraryName":{"id":20083,"name":"BytesLib","nameLocations":["1021:8:123"],"nodeType":"IdentifierPath","referencedDeclaration":19963,"src":"1021:8:123"},"nodeType":"UsingForDirective","src":"1015:25:123","typeName":{"id":20084,"name":"bytes","nodeType":"ElementaryTypeName","src":"1034:5:123","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"global":false,"id":20088,"libraryName":{"id":20086,"name":"CalldataDecoder","nameLocations":["1051:15:123"],"nodeType":"IdentifierPath","referencedDeclaration":16368,"src":"1051:15:123"},"nodeType":"UsingForDirective","src":"1045:32:123","typeName":{"id":20087,"name":"bytes","nodeType":"ElementaryTypeName","src":"1071:5:123","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},{"global":false,"id":20091,"libraryName":{"id":20089,"name":"SafeCast","nameLocations":["1088:8:123"],"nodeType":"IdentifierPath","referencedDeclaration":1034,"src":"1088:8:123"},"nodeType":"UsingForDirective","src":"1082:27:123","typeName":{"id":20090,"name":"uint256","nodeType":"ElementaryTypeName","src":"1101:7:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"errorSelector":"316cf0eb","id":20093,"name":"V3InvalidSwap","nameLocation":"1121:13:123","nodeType":"ErrorDefinition","parameters":{"id":20092,"nodeType":"ParameterList","parameters":[],"src":"1134:2:123"},"src":"1115:22:123"},{"errorSelector":"39d35496","id":20095,"name":"V3TooLittleReceived","nameLocation":"1148:19:123","nodeType":"ErrorDefinition","parameters":{"id":20094,"nodeType":"ParameterList","parameters":[],"src":"1167:2:123"},"src":"1142:28:123"},{"errorSelector":"739dbe52","id":20097,"name":"V3TooMuchRequested","nameLocation":"1181:18:123","nodeType":"ErrorDefinition","parameters":{"id":20096,"nodeType":"ParameterList","parameters":[],"src":"1199:2:123"},"src":"1175:27:123"},{"errorSelector":"d4e0248e","id":20099,"name":"V3InvalidAmountOut","nameLocation":"1213:18:123","nodeType":"ErrorDefinition","parameters":{"id":20098,"nodeType":"ParameterList","parameters":[],"src":"1231:2:123"},"src":"1207:27:123"},{"errorSelector":"32b13d91","id":20101,"name":"V3InvalidCaller","nameLocation":"1245:15:123","nodeType":"ErrorDefinition","parameters":{"id":20100,"nodeType":"ParameterList","parameters":[],"src":"1260:2:123"},"src":"1239:24:123"},{"constant":true,"documentation":{"id":20102,"nodeType":"StructuredDocumentation","src":"1269:116:123","text":"@dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)"},"id":20105,"mutability":"constant","name":"MIN_SQRT_RATIO","nameLocation":"1416:14:123","nodeType":"VariableDeclaration","scope":20557,"src":"1390:53:123","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":20103,"name":"uint160","nodeType":"ElementaryTypeName","src":"1390:7:123","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"hexValue":"34323935313238373339","id":20104,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1433:10:123","typeDescriptions":{"typeIdentifier":"t_rational_4295128739_by_1","typeString":"int_const 4295128739"},"value":"4295128739"},"visibility":"internal"},{"constant":true,"documentation":{"id":20106,"nodeType":"StructuredDocumentation","src":"1450:116:123","text":"@dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)"},"id":20109,"mutability":"constant","name":"MAX_SQRT_RATIO","nameLocation":"1597:14:123","nodeType":"VariableDeclaration","scope":20557,"src":"1571:92:123","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":20107,"name":"uint160","nodeType":"ElementaryTypeName","src":"1571:7:123","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"hexValue":"31343631343436373033343835323130313033323837323733303532323033393838383232333738373233393730333432","id":20108,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1614:49:123","typeDescriptions":{"typeIdentifier":"t_rational_1461446703485210103287273052203988822378723970342_by_1","typeString":"int_const 1461...(41 digits omitted)...0342"},"value":"1461446703485210103287273052203988822378723970342"},"visibility":"internal"},{"baseFunctions":[543],"body":{"id":20248,"nodeType":"Block","src":"1773:1513:123","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":20124,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":20120,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":20118,"name":"amount0Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20111,"src":"1787:12:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"hexValue":"30","id":20119,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1803:1:123","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1787:17:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":20123,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":20121,"name":"amount1Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20113,"src":"1808:12:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"hexValue":"30","id":20122,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1824:1:123","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1808:17:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1787:38:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":20128,"nodeType":"IfStatement","src":"1783:66:123","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":20125,"name":"V3InvalidSwap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20093,"src":"1834:13:123","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":20126,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1834:15:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":20127,"nodeType":"RevertStatement","src":"1827:22:123"}},{"assignments":[null,20130],"declarations":[null,{"constant":false,"id":20130,"mutability":"mutable","name":"payer","nameLocation":"1933:5:123","nodeType":"VariableDeclaration","scope":20248,"src":"1925:13:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20129,"name":"address","nodeType":"ElementaryTypeName","src":"1925:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":20140,"initialValue":{"arguments":[{"id":20133,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20115,"src":"1953:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"components":[{"id":20135,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1960:5:123","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":20134,"name":"bytes","nodeType":"ElementaryTypeName","src":"1960:5:123","typeDescriptions":{}}},{"id":20137,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1967:7:123","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":20136,"name":"address","nodeType":"ElementaryTypeName","src":"1967:7:123","typeDescriptions":{}}}],"id":20138,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"1959:16:123","typeDescriptions":{"typeIdentifier":"t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_address_$_$","typeString":"tuple(type(bytes storage pointer),type(address))"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_tuple$_t_type$_t_bytes_storage_ptr_$_$_t_type$_t_address_$_$","typeString":"tuple(type(bytes storage pointer),type(address))"}],"expression":{"id":20131,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1942:3:123","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":20132,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1946:6:123","memberName":"decode","nodeType":"MemberAccess","src":"1942:10:123","typeDescriptions":{"typeIdentifier":"t_function_abidecode_pure$__$returns$__$","typeString":"function () pure"}},"id":20139,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1942:34:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_address_payable_$","typeString":"tuple(bytes memory,address payable)"}},"nodeType":"VariableDeclarationStatement","src":"1922:54:123"},{"assignments":[20142],"declarations":[{"constant":false,"id":20142,"mutability":"mutable","name":"path","nameLocation":"2001:4:123","nodeType":"VariableDeclaration","scope":20248,"src":"1986:19:123","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":20141,"name":"bytes","nodeType":"ElementaryTypeName","src":"1986:5:123","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":20147,"initialValue":{"arguments":[{"hexValue":"30","id":20145,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2021:1:123","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"id":20143,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20115,"src":"2008:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20144,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2013:7:123","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":16367,"src":"2008:12:123","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$_t_uint256_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata,uint256) pure returns (bytes calldata)"}},"id":20146,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2008:15:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"VariableDeclarationStatement","src":"1986:37:123"},{"assignments":[20149,20151,20153],"declarations":[{"constant":false,"id":20149,"mutability":"mutable","name":"tokenIn","nameLocation":"2154:7:123","nodeType":"VariableDeclaration","scope":20248,"src":"2146:15:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20148,"name":"address","nodeType":"ElementaryTypeName","src":"2146:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20151,"mutability":"mutable","name":"fee","nameLocation":"2170:3:123","nodeType":"VariableDeclaration","scope":20248,"src":"2163:10:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":20150,"name":"uint24","nodeType":"ElementaryTypeName","src":"2163:6:123","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":20153,"mutability":"mutable","name":"tokenOut","nameLocation":"2183:8:123","nodeType":"VariableDeclaration","scope":20248,"src":"2175:16:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20152,"name":"address","nodeType":"ElementaryTypeName","src":"2175:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":20157,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20154,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20142,"src":"2195:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20155,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2200:15:123","memberName":"decodeFirstPool","nodeType":"MemberAccess","referencedDeclaration":20005,"src":"2195:20:123","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_address_$_t_uint24_$_t_address_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (address,uint24,address)"}},"id":20156,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2195:22:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_uint24_$_t_address_$","typeString":"tuple(address,uint24,address)"}},"nodeType":"VariableDeclarationStatement","src":"2145:72:123"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":20165,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":20159,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20149,"src":"2251:7:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20160,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20153,"src":"2260:8:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20161,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20151,"src":"2270:3:123","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":20158,"name":"computePoolAddress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20556,"src":"2232:18:123","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_address_$_t_uint24_$returns$_t_address_$","typeString":"function (address,address,uint24) view returns (address)"}},"id":20162,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2232:42:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"id":20163,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2278:3:123","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":20164,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2282:6:123","memberName":"sender","nodeType":"MemberAccess","src":"2278:10:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2232:56:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":20169,"nodeType":"IfStatement","src":"2228:86:123","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":20166,"name":"V3InvalidCaller","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20101,"src":"2297:15:123","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":20167,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2297:17:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":20168,"nodeType":"RevertStatement","src":"2290:24:123"}},{"assignments":[20171,20173],"declarations":[{"constant":false,"id":20171,"mutability":"mutable","name":"isExactInput","nameLocation":"2331:12:123","nodeType":"VariableDeclaration","scope":20248,"src":"2326:17:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":20170,"name":"bool","nodeType":"ElementaryTypeName","src":"2326:4:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":20173,"mutability":"mutable","name":"amountToPay","nameLocation":"2353:11:123","nodeType":"VariableDeclaration","scope":20248,"src":"2345:19:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20172,"name":"uint256","nodeType":"ElementaryTypeName","src":"2345:7:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":20194,"initialValue":{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":20176,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":20174,"name":"amount0Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20111,"src":"2380:12:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":20175,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2395:1:123","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2380:16:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"components":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":20187,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":20185,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20153,"src":"2446:8:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":20186,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20149,"src":"2457:7:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2446:18:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[{"id":20190,"name":"amount1Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20113,"src":"2474:12:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":20189,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2466:7:123","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":20188,"name":"uint256","nodeType":"ElementaryTypeName","src":"2466:7:123","typeDescriptions":{}}},"id":20191,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2466:21:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":20192,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2445:43:123","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"id":20193,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"2380:108:123","trueExpression":{"components":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":20179,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":20177,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20149,"src":"2400:7:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":20178,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20153,"src":"2410:8:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2400:18:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[{"id":20182,"name":"amount0Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20111,"src":"2428:12:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":20181,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2420:7:123","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":20180,"name":"uint256","nodeType":"ElementaryTypeName","src":"2420:7:123","typeDescriptions":{}}},"id":20183,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2420:21:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":20184,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2399:43:123","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"2325:163:123"},{"condition":{"id":20195,"name":"isExactInput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20171,"src":"2503:12:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":20246,"nodeType":"Block","src":"2650:630:123","statements":[{"condition":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20205,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20142,"src":"2720:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20206,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2725:16:123","memberName":"hasMultiplePools","nodeType":"MemberAccess","referencedDeclaration":19988,"src":"2720:21:123","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_bool_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (bool)"}},"id":20207,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2720:23:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":20244,"nodeType":"Block","src":"2974:296:123","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":20231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":20227,"name":"amountToPay","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20173,"src":"2996:11:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20228,"name":"MaxInputAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18287,"src":"3010:14:123","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_MaxInputAmount_$18287_$","typeString":"type(library MaxInputAmount)"}},"id":20229,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3025:3:123","memberName":"get","nodeType":"MemberAccess","referencedDeclaration":18286,"src":"3010:18:123","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint256_$","typeString":"function () view returns (uint256)"}},"id":20230,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3010:20:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2996:34:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":20235,"nodeType":"IfStatement","src":"2992:67:123","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":20232,"name":"V3TooMuchRequested","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20097,"src":"3039:18:123","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":20233,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3039:20:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":20234,"nodeType":"RevertStatement","src":"3032:27:123"}},{"expression":{"arguments":[{"id":20237,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20153,"src":"3214:8:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20238,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20130,"src":"3224:5:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":20239,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3231:3:123","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":20240,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3235:6:123","memberName":"sender","nodeType":"MemberAccess","src":"3231:10:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20241,"name":"amountToPay","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20173,"src":"3243:11:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":20236,"name":"payOrPermit2Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18828,"src":"3193:20:123","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,address,uint256)"}},"id":20242,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3193:62:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":20243,"nodeType":"ExpressionStatement","src":"3193:62:123"}]},"id":20245,"nodeType":"IfStatement","src":"2716:554:123","trueBody":{"id":20226,"nodeType":"Block","src":"2745:223:123","statements":[{"expression":{"id":20212,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":20208,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20142,"src":"2850:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20209,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20142,"src":"2857:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20210,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2862:9:123","memberName":"skipToken","nodeType":"MemberAccess","referencedDeclaration":20047,"src":"2857:14:123","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (bytes calldata)"}},"id":20211,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2857:16:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"src":"2850:23:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20213,"nodeType":"ExpressionStatement","src":"2850:23:123"},{"expression":{"arguments":[{"id":20218,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"2897:23:123","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20215,"name":"amountToPay","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20173,"src":"2898:11:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":20216,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2910:8:123","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":1033,"src":"2898:20:123","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":20217,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2898:22:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"expression":{"id":20219,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2922:3:123","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":20220,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2926:6:123","memberName":"sender","nodeType":"MemberAccess","src":"2922:10:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20221,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20142,"src":"2934:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":20222,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20130,"src":"2940:5:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"hexValue":"66616c7365","id":20223,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2947:5:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":20214,"name":"_swap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20504,"src":"2891:5:123","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_int256_$_t_address_$_t_bytes_calldata_ptr_$_t_address_$_t_bool_$returns$_t_int256_$_t_int256_$_t_bool_$","typeString":"function (int256,address,bytes calldata,address,bool) returns (int256,int256,bool)"}},"id":20224,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2891:62:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_int256_$_t_int256_$_t_bool_$","typeString":"tuple(int256,int256,bool)"}},"id":20225,"nodeType":"ExpressionStatement","src":"2891:62:123"}]}}]},"id":20247,"nodeType":"IfStatement","src":"2499:781:123","trueBody":{"id":20204,"nodeType":"Block","src":"2517:127:123","statements":[{"expression":{"arguments":[{"id":20197,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20149,"src":"2593:7:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20198,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20130,"src":"2602:5:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":20199,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2609:3:123","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":20200,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2613:6:123","memberName":"sender","nodeType":"MemberAccess","src":"2609:10:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20201,"name":"amountToPay","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20173,"src":"2621:11:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":20196,"name":"payOrPermit2Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18828,"src":"2572:20:123","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,address,uint256)"}},"id":20202,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2572:61:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":20203,"nodeType":"ExpressionStatement","src":"2572:61:123"}]}}]},"functionSelector":"fa461e33","id":20249,"implemented":true,"kind":"function","modifiers":[],"name":"uniswapV3SwapCallback","nameLocation":"1679:21:123","nodeType":"FunctionDefinition","parameters":{"id":20116,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20111,"mutability":"mutable","name":"amount0Delta","nameLocation":"1708:12:123","nodeType":"VariableDeclaration","scope":20249,"src":"1701:19:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":20110,"name":"int256","nodeType":"ElementaryTypeName","src":"1701:6:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":20113,"mutability":"mutable","name":"amount1Delta","nameLocation":"1729:12:123","nodeType":"VariableDeclaration","scope":20249,"src":"1722:19:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":20112,"name":"int256","nodeType":"ElementaryTypeName","src":"1722:6:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":20115,"mutability":"mutable","name":"data","nameLocation":"1758:4:123","nodeType":"VariableDeclaration","scope":20249,"src":"1743:19:123","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":20114,"name":"bytes","nodeType":"ElementaryTypeName","src":"1743:5:123","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1700:63:123"},"returnParameters":{"id":20117,"nodeType":"ParameterList","parameters":[],"src":"1773:0:123"},"scope":20557,"src":"1670:1616:123","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":20364,"nodeType":"Block","src":"3851:1341:123","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":20266,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":20263,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20254,"src":"3978:8:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":20264,"name":"ActionConstants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15916,"src":"3990:15:123","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ActionConstants_$15916_$","typeString":"type(library ActionConstants)"}},"id":20265,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4006:16:123","memberName":"CONTRACT_BALANCE","nodeType":"MemberAccess","referencedDeclaration":15901,"src":"3990:32:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3978:44:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":20286,"nodeType":"IfStatement","src":"3974:180:123","trueBody":{"id":20285,"nodeType":"Block","src":"4024:130:123","statements":[{"assignments":[20268],"declarations":[{"constant":false,"id":20268,"mutability":"mutable","name":"tokenIn","nameLocation":"4046:7:123","nodeType":"VariableDeclaration","scope":20285,"src":"4038:15:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20267,"name":"address","nodeType":"ElementaryTypeName","src":"4038:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":20272,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20269,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20258,"src":"4056:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20270,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4061:16:123","memberName":"decodeFirstToken","nodeType":"MemberAccess","referencedDeclaration":20033,"src":"4056:21:123","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_address_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (address)"}},"id":20271,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4056:23:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"4038:41:123"},{"expression":{"id":20283,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":20273,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20254,"src":"4093:8:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":20280,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"4137:4:123","typeDescriptions":{"typeIdentifier":"t_contract$_V3SwapRouter_$20557","typeString":"contract V3SwapRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_V3SwapRouter_$20557","typeString":"contract V3SwapRouter"}],"id":20279,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4129:7:123","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":20278,"name":"address","nodeType":"ElementaryTypeName","src":"4129:7:123","typeDescriptions":{}}},"id":20281,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4129:13:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":20275,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20268,"src":"4110:7:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":20274,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"4104:5:123","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC20_$21824_$","typeString":"type(contract ERC20)"}},"id":20276,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4104:14:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"id":20277,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4119:9:123","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":21467,"src":"4104:24:123","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":20282,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4104:39:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4093:50:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":20284,"nodeType":"ExpressionStatement","src":"4093:50:123"}]}},{"assignments":[20288],"declarations":[{"constant":false,"id":20288,"mutability":"mutable","name":"amountOut","nameLocation":"4172:9:123","nodeType":"VariableDeclaration","scope":20364,"src":"4164:17:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20287,"name":"uint256","nodeType":"ElementaryTypeName","src":"4164:7:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":20289,"nodeType":"VariableDeclarationStatement","src":"4164:17:123"},{"body":{"id":20355,"nodeType":"Block","src":"4204:909:123","statements":[{"assignments":[20292],"declarations":[{"constant":false,"id":20292,"mutability":"mutable","name":"hasMultiplePools","nameLocation":"4223:16:123","nodeType":"VariableDeclaration","scope":20355,"src":"4218:21:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":20291,"name":"bool","nodeType":"ElementaryTypeName","src":"4218:4:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":20296,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20293,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20258,"src":"4242:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20294,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4247:16:123","memberName":"hasMultiplePools","nodeType":"MemberAccess","referencedDeclaration":19988,"src":"4242:21:123","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_bool_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (bool)"}},"id":20295,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4242:23:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"4218:47:123"},{"assignments":[20298,20300,20302],"declarations":[{"constant":false,"id":20298,"mutability":"mutable","name":"amount0Delta","nameLocation":"4367:12:123","nodeType":"VariableDeclaration","scope":20355,"src":"4360:19:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":20297,"name":"int256","nodeType":"ElementaryTypeName","src":"4360:6:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":20300,"mutability":"mutable","name":"amount1Delta","nameLocation":"4388:12:123","nodeType":"VariableDeclaration","scope":20355,"src":"4381:19:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":20299,"name":"int256","nodeType":"ElementaryTypeName","src":"4381:6:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":20302,"mutability":"mutable","name":"zeroForOne","nameLocation":"4407:10:123","nodeType":"VariableDeclaration","scope":20355,"src":"4402:15:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":20301,"name":"bool","nodeType":"ElementaryTypeName","src":"4402:4:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":20320,"initialValue":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20304,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20254,"src":"4444:8:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":20305,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4453:8:123","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":1033,"src":"4444:17:123","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":20306,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4444:19:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"condition":{"id":20307,"name":"hasMultiplePools","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20292,"src":"4481:16:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":20312,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20252,"src":"4516:9:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":20313,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"4481:44:123","trueExpression":{"arguments":[{"id":20310,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"4508:4:123","typeDescriptions":{"typeIdentifier":"t_contract$_V3SwapRouter_$20557","typeString":"contract V3SwapRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_V3SwapRouter_$20557","typeString":"contract V3SwapRouter"}],"id":20309,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4500:7:123","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":20308,"name":"address","nodeType":"ElementaryTypeName","src":"4500:7:123","typeDescriptions":{}}},"id":20311,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4500:13:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20314,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20258,"src":"4594:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20315,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4599:12:123","memberName":"getFirstPool","nodeType":"MemberAccess","referencedDeclaration":20019,"src":"4594:17:123","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (bytes calldata)"}},"id":20316,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4594:19:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":20317,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20260,"src":"4664:5:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"hexValue":"74727565","id":20318,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4738:4:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":20303,"name":"_swap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20504,"src":"4421:5:123","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_int256_$_t_address_$_t_bytes_calldata_ptr_$_t_address_$_t_bool_$returns$_t_int256_$_t_int256_$_t_bool_$","typeString":"function (int256,address,bytes calldata,address,bool) returns (int256,int256,bool)"}},"id":20319,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4421:335:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_int256_$_t_int256_$_t_bool_$","typeString":"tuple(int256,int256,bool)"}},"nodeType":"VariableDeclarationStatement","src":"4359:397:123"},{"expression":{"id":20331,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":20321,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20254,"src":"4771:8:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":20329,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"4790:43:123","subExpression":{"components":[{"condition":{"id":20324,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20302,"src":"4792:10:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":20326,"name":"amount0Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20298,"src":"4820:12:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":20327,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"4792:40:123","trueExpression":{"id":20325,"name":"amount1Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20300,"src":"4805:12:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":20328,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4791:42:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":20323,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4782:7:123","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":20322,"name":"uint256","nodeType":"ElementaryTypeName","src":"4782:7:123","typeDescriptions":{}}},"id":20330,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4782:52:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4771:63:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":20332,"nodeType":"ExpressionStatement","src":"4771:63:123"},{"condition":{"id":20333,"name":"hasMultiplePools","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20292,"src":"4908:16:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":20353,"nodeType":"Block","src":"5027:76:123","statements":[{"expression":{"id":20350,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":20348,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20288,"src":"5045:9:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":20349,"name":"amountIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20254,"src":"5057:8:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5045:20:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":20351,"nodeType":"ExpressionStatement","src":"5045:20:123"},{"id":20352,"nodeType":"Break","src":"5083:5:123"}]},"id":20354,"nodeType":"IfStatement","src":"4904:199:123","trueBody":{"id":20347,"nodeType":"Block","src":"4926:95:123","statements":[{"expression":{"id":20339,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":20334,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20260,"src":"4944:5:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":20337,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"4960:4:123","typeDescriptions":{"typeIdentifier":"t_contract$_V3SwapRouter_$20557","typeString":"contract V3SwapRouter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_V3SwapRouter_$20557","typeString":"contract V3SwapRouter"}],"id":20336,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4952:7:123","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":20335,"name":"address","nodeType":"ElementaryTypeName","src":"4952:7:123","typeDescriptions":{}}},"id":20338,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4952:13:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4944:21:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":20340,"nodeType":"ExpressionStatement","src":"4944:21:123"},{"expression":{"id":20345,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":20341,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20258,"src":"4983:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20342,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20258,"src":"4990:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20343,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4995:9:123","memberName":"skipToken","nodeType":"MemberAccess","referencedDeclaration":20047,"src":"4990:14:123","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_bytes_calldata_ptr_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (bytes calldata)"}},"id":20344,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4990:16:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"src":"4983:23:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20346,"nodeType":"ExpressionStatement","src":"4983:23:123"}]}}]},"condition":{"hexValue":"74727565","id":20290,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4198:4:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"id":20356,"nodeType":"WhileStatement","src":"4191:922:123"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":20359,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":20357,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20288,"src":"5127:9:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":20358,"name":"amountOutMinimum","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20256,"src":"5139:16:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5127:28:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":20363,"nodeType":"IfStatement","src":"5123:62:123","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":20360,"name":"V3TooLittleReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20095,"src":"5164:19:123","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":20361,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5164:21:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":20362,"nodeType":"RevertStatement","src":"5157:28:123"}}]},"documentation":{"id":20250,"nodeType":"StructuredDocumentation","src":"3292:374:123","text":"@notice Performs a Uniswap v3 exact input swap\n @param recipient The recipient of the output tokens\n @param amountIn The amount of input tokens for the trade\n @param amountOutMinimum The minimum desired amount of output tokens\n @param path The path of the trade as a bytes string\n @param payer The address that will be paying the input"},"id":20365,"implemented":true,"kind":"function","modifiers":[],"name":"v3SwapExactInput","nameLocation":"3680:16:123","nodeType":"FunctionDefinition","parameters":{"id":20261,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20252,"mutability":"mutable","name":"recipient","nameLocation":"3714:9:123","nodeType":"VariableDeclaration","scope":20365,"src":"3706:17:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20251,"name":"address","nodeType":"ElementaryTypeName","src":"3706:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20254,"mutability":"mutable","name":"amountIn","nameLocation":"3741:8:123","nodeType":"VariableDeclaration","scope":20365,"src":"3733:16:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20253,"name":"uint256","nodeType":"ElementaryTypeName","src":"3733:7:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":20256,"mutability":"mutable","name":"amountOutMinimum","nameLocation":"3767:16:123","nodeType":"VariableDeclaration","scope":20365,"src":"3759:24:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20255,"name":"uint256","nodeType":"ElementaryTypeName","src":"3759:7:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":20258,"mutability":"mutable","name":"path","nameLocation":"3808:4:123","nodeType":"VariableDeclaration","scope":20365,"src":"3793:19:123","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":20257,"name":"bytes","nodeType":"ElementaryTypeName","src":"3793:5:123","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":20260,"mutability":"mutable","name":"payer","nameLocation":"3830:5:123","nodeType":"VariableDeclaration","scope":20365,"src":"3822:13:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20259,"name":"address","nodeType":"ElementaryTypeName","src":"3822:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3696:145:123"},"returnParameters":{"id":20262,"nodeType":"ParameterList","parameters":[],"src":"3851:0:123"},"scope":20557,"src":"3671:1521:123","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":20430,"nodeType":"Block","src":"5770:400:123","statements":[{"expression":{"arguments":[{"id":20382,"name":"amountInMaximum","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20372,"src":"5799:15:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":20379,"name":"MaxInputAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18287,"src":"5780:14:123","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_MaxInputAmount_$18287_$","typeString":"type(library MaxInputAmount)"}},"id":20381,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5795:3:123","memberName":"set","nodeType":"MemberAccess","referencedDeclaration":18279,"src":"5780:18:123","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":20383,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5780:35:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":20384,"nodeType":"ExpressionStatement","src":"5780:35:123"},{"assignments":[20386,20388,20390],"declarations":[{"constant":false,"id":20386,"mutability":"mutable","name":"amount0Delta","nameLocation":"5833:12:123","nodeType":"VariableDeclaration","scope":20430,"src":"5826:19:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":20385,"name":"int256","nodeType":"ElementaryTypeName","src":"5826:6:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":20388,"mutability":"mutable","name":"amount1Delta","nameLocation":"5854:12:123","nodeType":"VariableDeclaration","scope":20430,"src":"5847:19:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":20387,"name":"int256","nodeType":"ElementaryTypeName","src":"5847:6:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":20390,"mutability":"mutable","name":"zeroForOne","nameLocation":"5873:10:123","nodeType":"VariableDeclaration","scope":20430,"src":"5868:15:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":20389,"name":"bool","nodeType":"ElementaryTypeName","src":"5868:4:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":20401,"initialValue":{"arguments":[{"id":20395,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"5905:21:123","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20392,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20370,"src":"5906:9:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":20393,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5916:8:123","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":1033,"src":"5906:18:123","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":20394,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5906:20:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"id":20396,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20368,"src":"5928:9:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20397,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20374,"src":"5939:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":20398,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20376,"src":"5945:5:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"hexValue":"66616c7365","id":20399,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5952:5:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":20391,"name":"_swap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20504,"src":"5899:5:123","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_int256_$_t_address_$_t_bytes_calldata_ptr_$_t_address_$_t_bool_$returns$_t_int256_$_t_int256_$_t_bool_$","typeString":"function (int256,address,bytes calldata,address,bool) returns (int256,int256,bool)"}},"id":20400,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5899:59:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_int256_$_t_int256_$_t_bool_$","typeString":"tuple(int256,int256,bool)"}},"nodeType":"VariableDeclarationStatement","src":"5825:133:123"},{"assignments":[20403],"declarations":[{"constant":false,"id":20403,"mutability":"mutable","name":"amountOutReceived","nameLocation":"5977:17:123","nodeType":"VariableDeclaration","scope":20430,"src":"5969:25:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20402,"name":"uint256","nodeType":"ElementaryTypeName","src":"5969:7:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":20416,"initialValue":{"condition":{"id":20404,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20390,"src":"5997:10:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":20413,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"6043:13:123","subExpression":{"id":20412,"name":"amount0Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20386,"src":"6044:12:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":20411,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6035:7:123","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":20410,"name":"uint256","nodeType":"ElementaryTypeName","src":"6035:7:123","typeDescriptions":{}}},"id":20414,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6035:22:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":20415,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"5997:60:123","trueExpression":{"arguments":[{"id":20408,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"6018:13:123","subExpression":{"id":20407,"name":"amount1Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20388,"src":"6019:12:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":20406,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6010:7:123","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":20405,"name":"uint256","nodeType":"ElementaryTypeName","src":"6010:7:123","typeDescriptions":{}}},"id":20409,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6010:22:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5969:88:123"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":20419,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":20417,"name":"amountOutReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20403,"src":"6072:17:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":20418,"name":"amountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20370,"src":"6093:9:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6072:30:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":20423,"nodeType":"IfStatement","src":"6068:63:123","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":20420,"name":"V3InvalidAmountOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20099,"src":"6111:18:123","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":20421,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6111:20:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":20422,"nodeType":"RevertStatement","src":"6104:27:123"}},{"expression":{"arguments":[{"hexValue":"30","id":20427,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6161:1:123","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"id":20424,"name":"MaxInputAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18287,"src":"6142:14:123","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_MaxInputAmount_$18287_$","typeString":"type(library MaxInputAmount)"}},"id":20426,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6157:3:123","memberName":"set","nodeType":"MemberAccess","referencedDeclaration":18279,"src":"6142:18:123","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":20428,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6142:21:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":20429,"nodeType":"ExpressionStatement","src":"6142:21:123"}]},"documentation":{"id":20366,"nodeType":"StructuredDocumentation","src":"5198:386:123","text":"@notice Performs a Uniswap v3 exact output swap\n @param recipient The recipient of the output tokens\n @param amountOut The amount of output tokens to receive for the trade\n @param amountInMaximum The maximum desired amount of input tokens\n @param path The path of the trade as a bytes string\n @param payer The address that will be paying the input"},"id":20431,"implemented":true,"kind":"function","modifiers":[],"name":"v3SwapExactOutput","nameLocation":"5598:17:123","nodeType":"FunctionDefinition","parameters":{"id":20377,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20368,"mutability":"mutable","name":"recipient","nameLocation":"5633:9:123","nodeType":"VariableDeclaration","scope":20431,"src":"5625:17:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20367,"name":"address","nodeType":"ElementaryTypeName","src":"5625:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20370,"mutability":"mutable","name":"amountOut","nameLocation":"5660:9:123","nodeType":"VariableDeclaration","scope":20431,"src":"5652:17:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20369,"name":"uint256","nodeType":"ElementaryTypeName","src":"5652:7:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":20372,"mutability":"mutable","name":"amountInMaximum","nameLocation":"5687:15:123","nodeType":"VariableDeclaration","scope":20431,"src":"5679:23:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20371,"name":"uint256","nodeType":"ElementaryTypeName","src":"5679:7:123","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":20374,"mutability":"mutable","name":"path","nameLocation":"5727:4:123","nodeType":"VariableDeclaration","scope":20431,"src":"5712:19:123","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":20373,"name":"bytes","nodeType":"ElementaryTypeName","src":"5712:5:123","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":20376,"mutability":"mutable","name":"payer","nameLocation":"5749:5:123","nodeType":"VariableDeclaration","scope":20431,"src":"5741:13:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20375,"name":"address","nodeType":"ElementaryTypeName","src":"5741:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5615:145:123"},"returnParameters":{"id":20378,"nodeType":"ParameterList","parameters":[],"src":"5770:0:123"},"scope":20557,"src":"5589:581:123","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":20503,"nodeType":"Block","src":"6523:451:123","statements":[{"assignments":[20452,20454,20456],"declarations":[{"constant":false,"id":20452,"mutability":"mutable","name":"tokenIn","nameLocation":"6542:7:123","nodeType":"VariableDeclaration","scope":20503,"src":"6534:15:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20451,"name":"address","nodeType":"ElementaryTypeName","src":"6534:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20454,"mutability":"mutable","name":"fee","nameLocation":"6558:3:123","nodeType":"VariableDeclaration","scope":20503,"src":"6551:10:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":20453,"name":"uint24","nodeType":"ElementaryTypeName","src":"6551:6:123","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":20456,"mutability":"mutable","name":"tokenOut","nameLocation":"6571:8:123","nodeType":"VariableDeclaration","scope":20503,"src":"6563:16:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20455,"name":"address","nodeType":"ElementaryTypeName","src":"6563:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":20460,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":20457,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20438,"src":"6583:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":20458,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6588:15:123","memberName":"decodeFirstPool","nodeType":"MemberAccess","referencedDeclaration":20005,"src":"6583:20:123","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_calldata_ptr_$returns$_t_address_$_t_uint24_$_t_address_$attached_to$_t_bytes_calldata_ptr_$","typeString":"function (bytes calldata) pure returns (address,uint24,address)"}},"id":20459,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6583:22:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_uint24_$_t_address_$","typeString":"tuple(address,uint24,address)"}},"nodeType":"VariableDeclarationStatement","src":"6533:72:123"},{"expression":{"id":20470,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":20461,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20449,"src":"6616:10:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"id":20462,"name":"isExactIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20442,"src":"6629:9:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":20468,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":20466,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20456,"src":"6662:8:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":20467,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20452,"src":"6673:7:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6662:18:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":20469,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"6629:51:123","trueExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":20465,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":20463,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20452,"src":"6641:7:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":20464,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20456,"src":"6651:8:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6641:18:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"6616:64:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":20471,"nodeType":"ExpressionStatement","src":"6616:64:123"},{"expression":{"id":20501,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":20472,"name":"amount0Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20445,"src":"6692:12:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"id":20473,"name":"amount1Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20447,"src":"6706:12:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":20474,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"6691:28:123","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int256_$_t_int256_$","typeString":"tuple(int256,int256)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":20483,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20436,"src":"6799:9:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20484,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20449,"src":"6822:10:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":20485,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20434,"src":"6846:6:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"components":[{"condition":{"id":20486,"name":"zeroForOne","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20449,"src":"6867:10:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":20492,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"id":20490,"name":"MAX_SQRT_RATIO","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20109,"src":"6901:14:123","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":20491,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6918:1:123","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6901:18:123","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":20493,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"6867:52:123","trueExpression":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":20489,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"id":20487,"name":"MIN_SQRT_RATIO","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20105,"src":"6880:14:123","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":20488,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6897:1:123","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6880:18:123","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":20494,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6866:54:123","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":20497,"name":"path","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20438,"src":"6945:4:123","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"id":20498,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20440,"src":"6951:5:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":20495,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"6934:3:123","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":20496,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6938:6:123","memberName":"encode","nodeType":"MemberAccess","src":"6934:10:123","typeDescriptions":{"typeIdentifier":"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":20499,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6934:23:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"arguments":[{"arguments":[{"id":20477,"name":"tokenIn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20452,"src":"6756:7:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20478,"name":"tokenOut","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20456,"src":"6765:8:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20479,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20454,"src":"6775:3:123","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":20476,"name":"computePoolAddress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20556,"src":"6737:18:123","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_address_$_t_uint24_$returns$_t_address_$","typeString":"function (address,address,uint24) view returns (address)"}},"id":20480,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6737:42:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":20475,"name":"IUniswapV3Pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":530,"src":"6722:14:123","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IUniswapV3Pool_$530_$","typeString":"type(contract IUniswapV3Pool)"}},"id":20481,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6722:58:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IUniswapV3Pool_$530","typeString":"contract IUniswapV3Pool"}},"id":20482,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6781:4:123","memberName":"swap","nodeType":"MemberAccess","referencedDeclaration":621,"src":"6722:63:123","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_bool_$_t_int256_$_t_uint160_$_t_bytes_memory_ptr_$returns$_t_int256_$_t_int256_$","typeString":"function (address,bool,int256,uint160,bytes memory) external returns (int256,int256)"}},"id":20500,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6722:245:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_int256_$_t_int256_$","typeString":"tuple(int256,int256)"}},"src":"6691:276:123","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":20502,"nodeType":"ExpressionStatement","src":"6691:276:123"}]},"documentation":{"id":20432,"nodeType":"StructuredDocumentation","src":"6176:145:123","text":"@dev Performs a single swap for both exactIn and exactOut\n For exactIn, `amount` is `amountIn`. For exactOut, `amount` is `-amountOut`"},"id":20504,"implemented":true,"kind":"function","modifiers":[],"name":"_swap","nameLocation":"6335:5:123","nodeType":"FunctionDefinition","parameters":{"id":20443,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20434,"mutability":"mutable","name":"amount","nameLocation":"6348:6:123","nodeType":"VariableDeclaration","scope":20504,"src":"6341:13:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":20433,"name":"int256","nodeType":"ElementaryTypeName","src":"6341:6:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":20436,"mutability":"mutable","name":"recipient","nameLocation":"6364:9:123","nodeType":"VariableDeclaration","scope":20504,"src":"6356:17:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20435,"name":"address","nodeType":"ElementaryTypeName","src":"6356:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20438,"mutability":"mutable","name":"path","nameLocation":"6390:4:123","nodeType":"VariableDeclaration","scope":20504,"src":"6375:19:123","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":20437,"name":"bytes","nodeType":"ElementaryTypeName","src":"6375:5:123","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":20440,"mutability":"mutable","name":"payer","nameLocation":"6404:5:123","nodeType":"VariableDeclaration","scope":20504,"src":"6396:13:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20439,"name":"address","nodeType":"ElementaryTypeName","src":"6396:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20442,"mutability":"mutable","name":"isExactIn","nameLocation":"6416:9:123","nodeType":"VariableDeclaration","scope":20504,"src":"6411:14:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":20441,"name":"bool","nodeType":"ElementaryTypeName","src":"6411:4:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"6340:86:123"},"returnParameters":{"id":20450,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20445,"mutability":"mutable","name":"amount0Delta","nameLocation":"6467:12:123","nodeType":"VariableDeclaration","scope":20504,"src":"6460:19:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":20444,"name":"int256","nodeType":"ElementaryTypeName","src":"6460:6:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":20447,"mutability":"mutable","name":"amount1Delta","nameLocation":"6488:12:123","nodeType":"VariableDeclaration","scope":20504,"src":"6481:19:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":20446,"name":"int256","nodeType":"ElementaryTypeName","src":"6481:6:123","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":20449,"mutability":"mutable","name":"zeroForOne","nameLocation":"6507:10:123","nodeType":"VariableDeclaration","scope":20504,"src":"6502:15:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":20448,"name":"bool","nodeType":"ElementaryTypeName","src":"6502:4:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"6459:59:123"},"scope":20557,"src":"6326:648:123","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":20555,"nodeType":"Block","src":"7088:523:123","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":20517,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":20515,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20506,"src":"7102:6:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":20516,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20508,"src":"7111:6:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7102:15:123","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":20526,"nodeType":"IfStatement","src":"7098:56:123","trueBody":{"expression":{"id":20524,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":20518,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20506,"src":"7120:6:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20519,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20508,"src":"7128:6:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":20520,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"7119:16:123","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":20521,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20508,"src":"7139:6:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20522,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20506,"src":"7147:6:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":20523,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7138:16:123","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"src":"7119:35:123","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":20525,"nodeType":"ExpressionStatement","src":"7119:35:123"}},{"expression":{"id":20553,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":20527,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20513,"src":"7164:4:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"hexValue":"ff","id":20537,"isConstant":false,"isLValue":false,"isPure":true,"kind":"hexString","lValueRequested":false,"nodeType":"Literal","src":"7327:7:123","typeDescriptions":{"typeIdentifier":"t_stringliteral_8b1a944cf13a9a1c08facb2c9e98623ef3254d2ddb48113885c3e8e97fec8db9","typeString":"literal_string hex\"ff\""}},{"id":20538,"name":"UNISWAP_V3_FACTORY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19083,"src":"7364:18:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"arguments":[{"id":20542,"name":"tokenA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20506,"src":"7433:6:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20543,"name":"tokenB","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20508,"src":"7441:6:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20544,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20510,"src":"7449:3:123","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"id":20540,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"7422:3:123","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":20541,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7426:6:123","memberName":"encode","nodeType":"MemberAccess","src":"7422:10:123","typeDescriptions":{"typeIdentifier":"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":20545,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7422:31:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":20539,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"7412:9:123","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":20546,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7412:42:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":20547,"name":"UNISWAP_V3_POOL_INIT_CODE_HASH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19086,"src":"7484:30:123","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_8b1a944cf13a9a1c08facb2c9e98623ef3254d2ddb48113885c3e8e97fec8db9","typeString":"literal_string hex\"ff\""},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":20535,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"7281:3:123","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":20536,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7285:12:123","memberName":"encodePacked","nodeType":"MemberAccess","src":"7281:16:123","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":20548,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7281:259:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":20534,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"7246:9:123","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":20549,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7246:316:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":20533,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7217:7:123","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":20532,"name":"uint256","nodeType":"ElementaryTypeName","src":"7217:7:123","typeDescriptions":{}}},"id":20550,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7217:363:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":20531,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7192:7:123","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":20530,"name":"uint160","nodeType":"ElementaryTypeName","src":"7192:7:123","typeDescriptions":{}}},"id":20551,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7192:402:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":20529,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7171:7:123","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":20528,"name":"address","nodeType":"ElementaryTypeName","src":"7171:7:123","typeDescriptions":{}}},"id":20552,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7171:433:123","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7164:440:123","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":20554,"nodeType":"ExpressionStatement","src":"7164:440:123"}]},"id":20556,"implemented":true,"kind":"function","modifiers":[],"name":"computePoolAddress","nameLocation":"6989:18:123","nodeType":"FunctionDefinition","parameters":{"id":20511,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20506,"mutability":"mutable","name":"tokenA","nameLocation":"7016:6:123","nodeType":"VariableDeclaration","scope":20556,"src":"7008:14:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20505,"name":"address","nodeType":"ElementaryTypeName","src":"7008:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20508,"mutability":"mutable","name":"tokenB","nameLocation":"7032:6:123","nodeType":"VariableDeclaration","scope":20556,"src":"7024:14:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20507,"name":"address","nodeType":"ElementaryTypeName","src":"7024:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20510,"mutability":"mutable","name":"fee","nameLocation":"7047:3:123","nodeType":"VariableDeclaration","scope":20556,"src":"7040:10:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":20509,"name":"uint24","nodeType":"ElementaryTypeName","src":"7040:6:123","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"7007:44:123"},"returnParameters":{"id":20514,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20513,"mutability":"mutable","name":"pool","nameLocation":"7082:4:123","nodeType":"VariableDeclaration","scope":20556,"src":"7074:12:123","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20512,"name":"address","nodeType":"ElementaryTypeName","src":"7074:7:123","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"7073:14:123"},"scope":20557,"src":"6980:631:123","stateMutability":"view","virtual":false,"visibility":"private"}],"scope":20558,"src":"888:6725:123","usedErrors":[18360,18362,18727,19855,20093,20095,20097,20099,20101,21181],"usedEvents":[]}],"src":"45:7569:123"},"id":123},"contracts/modules/uniswap/v4/V4SwapRouter.sol":{"ast":{"absolutePath":"contracts/modules/uniswap/v4/V4SwapRouter.sol","exportedSymbols":{"Currency":[10717],"IPoolManager":[3917],"Permit2Payments":[18829],"UniswapImmutables":[19114],"V4Router":[13585],"V4SwapRouter":[20611]},"id":20612,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":20559,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:124"},{"absolutePath":"contracts/modules/uniswap/UniswapImmutables.sol","file":"../UniswapImmutables.sol","id":20561,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20612,"sourceUnit":19115,"src":"71:59:124","symbolAliases":[{"foreign":{"id":20560,"name":"UniswapImmutables","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":19114,"src":"79:17:124","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"contracts/modules/Permit2Payments.sol","file":"../../Permit2Payments.sol","id":20563,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20612,"sourceUnit":18830,"src":"131:58:124","symbolAliases":[{"foreign":{"id":20562,"name":"Permit2Payments","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18829,"src":"139:15:124","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-periphery/src/V4Router.sol","file":"@uniswap/v4-periphery/src/V4Router.sol","id":20565,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20612,"sourceUnit":13586,"src":"190:64:124","symbolAliases":[{"foreign":{"id":20564,"name":"V4Router","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13585,"src":"198:8:124","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","file":"@uniswap/v4-core/src/interfaces/IPoolManager.sol","id":20567,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20612,"sourceUnit":3918,"src":"255:78:124","symbolAliases":[{"foreign":{"id":20566,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"263:12:124","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/types/Currency.sol","file":"@uniswap/v4-core/src/types/Currency.sol","id":20569,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20612,"sourceUnit":11012,"src":"334:65:124","symbolAliases":[{"foreign":{"id":20568,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"342:8:124","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":20571,"name":"V4Router","nameLocations":["475:8:124"],"nodeType":"IdentifierPath","referencedDeclaration":13585,"src":"475:8:124"},"id":20572,"nodeType":"InheritanceSpecifier","src":"475:8:124"},{"baseName":{"id":20573,"name":"Permit2Payments","nameLocations":["485:15:124"],"nodeType":"IdentifierPath","referencedDeclaration":18829,"src":"485:15:124"},"id":20574,"nodeType":"InheritanceSpecifier","src":"485:15:124"}],"canonicalName":"V4SwapRouter","contractDependencies":[],"contractKind":"contract","documentation":{"id":20570,"nodeType":"StructuredDocumentation","src":"401:40:124","text":"@title Router for Uniswap v4 Trades"},"fullyImplemented":false,"id":20611,"linearizedBaseContracts":[20611,18829,18670,18711,13585,14078,13773,15268,4006,14511,15872,15406],"name":"V4SwapRouter","nameLocation":"459:12:124","nodeType":"ContractDefinition","nodes":[{"body":{"id":20584,"nodeType":"Block","src":"578:2:124","statements":[]},"id":20585,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"arguments":[{"id":20580,"name":"_poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20576,"src":"563:12:124","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":20579,"name":"IPoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"550:12:124","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IPoolManager_$3917_$","typeString":"type(contract IPoolManager)"}},"id":20581,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"550:26:124","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}],"id":20582,"kind":"baseConstructorSpecifier","modifierName":{"id":20578,"name":"V4Router","nameLocations":["541:8:124"],"nodeType":"IdentifierPath","referencedDeclaration":13585,"src":"541:8:124"},"nodeType":"ModifierInvocation","src":"541:36:124"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":20577,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20576,"mutability":"mutable","name":"_poolManager","nameLocation":"527:12:124","nodeType":"VariableDeclaration","scope":20585,"src":"519:20:124","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20575,"name":"address","nodeType":"ElementaryTypeName","src":"519:7:124","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"518:22:124"},"returnParameters":{"id":20583,"nodeType":"ParameterList","parameters":[],"src":"578:0:124"},"scope":20611,"src":"507:73:124","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[13890],"body":{"id":20609,"nodeType":"Block","src":"665:98:124","statements":[{"expression":{"arguments":[{"arguments":[{"id":20599,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20588,"src":"712:5:124","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}],"expression":{"id":20597,"name":"Currency","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10717,"src":"696:8:124","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Currency_$10717_$","typeString":"type(Currency)"}},"id":20598,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"705:6:124","memberName":"unwrap","nodeType":"MemberAccess","src":"696:15:124","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_Currency_$10717_$returns$_t_address_$","typeString":"function (Currency) pure returns (address)"}},"id":20600,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"696:22:124","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20601,"name":"payer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20590,"src":"720:5:124","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":20604,"name":"poolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14480,"src":"735:11:124","typeDescriptions":{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_IPoolManager_$3917","typeString":"contract IPoolManager"}],"id":20603,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"727:7:124","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":20602,"name":"address","nodeType":"ElementaryTypeName","src":"727:7:124","typeDescriptions":{}}},"id":20605,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"727:20:124","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20606,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20592,"src":"749:6:124","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":20596,"name":"payOrPermit2Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":18828,"src":"675:20:124","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,address,uint256)"}},"id":20607,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"675:81:124","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":20608,"nodeType":"ExpressionStatement","src":"675:81:124"}]},"id":20610,"implemented":true,"kind":"function","modifiers":[],"name":"_pay","nameLocation":"595:4:124","nodeType":"FunctionDefinition","overrides":{"id":20594,"nodeType":"OverrideSpecifier","overrides":[],"src":"656:8:124"},"parameters":{"id":20593,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20588,"mutability":"mutable","name":"token","nameLocation":"609:5:124","nodeType":"VariableDeclaration","scope":20610,"src":"600:14:124","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"},"typeName":{"id":20587,"nodeType":"UserDefinedTypeName","pathNode":{"id":20586,"name":"Currency","nameLocations":["600:8:124"],"nodeType":"IdentifierPath","referencedDeclaration":10717,"src":"600:8:124"},"referencedDeclaration":10717,"src":"600:8:124","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Currency_$10717","typeString":"Currency"}},"visibility":"internal"},{"constant":false,"id":20590,"mutability":"mutable","name":"payer","nameLocation":"624:5:124","nodeType":"VariableDeclaration","scope":20610,"src":"616:13:124","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20589,"name":"address","nodeType":"ElementaryTypeName","src":"616:7:124","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20592,"mutability":"mutable","name":"amount","nameLocation":"639:6:124","nodeType":"VariableDeclaration","scope":20610,"src":"631:14:124","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20591,"name":"uint256","nodeType":"ElementaryTypeName","src":"631:7:124","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"599:47:124"},"returnParameters":{"id":20595,"nodeType":"ParameterList","parameters":[],"src":"665:0:124"},"scope":20611,"src":"586:177:124","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":20612,"src":"441:324:124","usedErrors":[13604,13609,13798,13804,13807,14483,15812,15819,16004,18360,18362,18727,21181],"usedEvents":[]}],"src":"45:721:124"},"id":124},"contracts/test/ExampleModule.sol":{"ast":{"absolutePath":"contracts/test/ExampleModule.sol","exportedSymbols":{"ExampleModule":[20635]},"id":20636,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":20613,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:125"},{"abstract":false,"baseContracts":[],"canonicalName":"ExampleModule","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":20635,"linearizedBaseContracts":[20635],"name":"ExampleModule","nameLocation":"80:13:125","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"eventSelector":"f173516ab337f2e7729ba9acd5771deab6be31f2ad8d5dd42dab5269e61701b9","id":20617,"name":"ExampleModuleEvent","nameLocation":"106:18:125","nodeType":"EventDefinition","parameters":{"id":20616,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20615,"indexed":false,"mutability":"mutable","name":"message","nameLocation":"132:7:125","nodeType":"VariableDeclaration","scope":20617,"src":"125:14:125","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":20614,"name":"string","nodeType":"ElementaryTypeName","src":"125:6:125","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"124:16:125"},"src":"100:41:125"},{"errorSelector":"39492f34","id":20619,"name":"CauseRevert","nameLocation":"153:11:125","nodeType":"ErrorDefinition","parameters":{"id":20618,"nodeType":"ParameterList","parameters":[],"src":"164:2:125"},"src":"147:20:125"},{"body":{"id":20626,"nodeType":"Block","src":"200:53:125","statements":[{"eventCall":{"arguments":[{"hexValue":"746573744576656e74","id":20623,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"234:11:125","typeDescriptions":{"typeIdentifier":"t_stringliteral_13fbfd38c1f17ffbb8a4d14101e0a62593668285d69b258cfe9eb119a31a4533","typeString":"literal_string \"testEvent\""},"value":"testEvent"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_13fbfd38c1f17ffbb8a4d14101e0a62593668285d69b258cfe9eb119a31a4533","typeString":"literal_string \"testEvent\""}],"id":20622,"name":"ExampleModuleEvent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20617,"src":"215:18:125","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory)"}},"id":20624,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"215:31:125","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":20625,"nodeType":"EmitStatement","src":"210:36:125"}]},"functionSelector":"a5fe0872","id":20627,"implemented":true,"kind":"function","modifiers":[],"name":"logEvent","nameLocation":"182:8:125","nodeType":"FunctionDefinition","parameters":{"id":20620,"nodeType":"ParameterList","parameters":[],"src":"190:2:125"},"returnParameters":{"id":20621,"nodeType":"ParameterList","parameters":[],"src":"200:0:125"},"scope":20635,"src":"173:80:125","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":20633,"nodeType":"Block","src":"294:37:125","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":20630,"name":"CauseRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20619,"src":"311:11:125","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":20631,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"311:13:125","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":20632,"nodeType":"RevertStatement","src":"304:20:125"}]},"functionSelector":"67192b63","id":20634,"implemented":true,"kind":"function","modifiers":[],"name":"causeRevert","nameLocation":"268:11:125","nodeType":"FunctionDefinition","parameters":{"id":20628,"nodeType":"ParameterList","parameters":[],"src":"279:2:125"},"returnParameters":{"id":20629,"nodeType":"ParameterList","parameters":[],"src":"294:0:125"},"scope":20635,"src":"259:72:125","stateMutability":"pure","virtual":false,"visibility":"public"}],"scope":20636,"src":"71:262:125","usedErrors":[20619],"usedEvents":[20617]}],"src":"45:289:125"},"id":125},"contracts/test/ImportsForTypechain.sol":{"ast":{"absolutePath":"contracts/test/ImportsForTypechain.sol","exportedSymbols":{"ERC6909":[1720],"ERC721":[22368],"ImportsForTypechain":[20666],"PoolManager":[3138],"PositionManager":[12832]},"id":20667,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":20637,"literals":["solidity","^","0.8",".17"],"nodeType":"PragmaDirective","src":"45:24:126"},{"absolutePath":"@uniswap/v4-periphery/src/PositionManager.sol","file":"@uniswap/v4-periphery/src/PositionManager.sol","id":20639,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20667,"sourceUnit":12833,"src":"71:78:126","symbolAliases":[{"foreign":{"id":20638,"name":"PositionManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12832,"src":"79:15:126","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/PoolManager.sol","file":"@uniswap/v4-core/src/PoolManager.sol","id":20641,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20667,"sourceUnit":3139,"src":"150:65:126","symbolAliases":[{"foreign":{"id":20640,"name":"PoolManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3138,"src":"158:11:126","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"solmate/src/tokens/ERC721.sol","file":"solmate/src/tokens/ERC721.sol","id":20643,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20667,"sourceUnit":22389,"src":"216:53:126","symbolAliases":[{"foreign":{"id":20642,"name":"ERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22368,"src":"224:6:126","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@uniswap/v4-core/src/ERC6909.sol","file":"@uniswap/v4-core/src/ERC6909.sol","id":20645,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20667,"sourceUnit":1721,"src":"270:57:126","symbolAliases":[{"foreign":{"id":20644,"name":"ERC6909","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1720,"src":"278:7:126","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":20646,"name":"PositionManager","nameLocations":["523:15:126"],"nodeType":"IdentifierPath","referencedDeclaration":12832,"src":"523:15:126"},"id":20647,"nodeType":"InheritanceSpecifier","src":"523:15:126"},{"baseName":{"id":20648,"name":"PoolManager","nameLocations":["540:11:126"],"nodeType":"IdentifierPath","referencedDeclaration":3138,"src":"540:11:126"},"id":20649,"nodeType":"InheritanceSpecifier","src":"540:11:126"}],"canonicalName":"ImportsForTypechain","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":20666,"linearizedBaseContracts":[20666,3138,1866,1836,1793,1720,1918,3365,21436,3917,3420,3398,4192,3994,12832,14665,15124,15036,13773,15268,4006,15221,14078,14577,15171,14467,15343,15721,15540,15792,15557,14511,15420,14174,15353,15393,15406,15508,22368],"name":"ImportsForTypechain","nameLocation":"500:19:126","nodeType":"ContractDefinition","nodes":[{"baseFunctions":[1659,22187],"body":{"id":20664,"nodeType":"Block","src":"666:60:126","statements":[{"expression":{"arguments":[{"id":20661,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20651,"src":"707:11:126","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":20659,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"683:5:126","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_ImportsForTypechain_$20666_$","typeString":"type(contract super ImportsForTypechain)"}},"id":20660,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"689:17:126","memberName":"supportsInterface","nodeType":"MemberAccess","referencedDeclaration":1659,"src":"683:23:126","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes4_$returns$_t_bool_$","typeString":"function (bytes4) view returns (bool)"}},"id":20662,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"683:36:126","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":20658,"id":20663,"nodeType":"Return","src":"676:43:126"}]},"functionSelector":"01ffc9a7","id":20665,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"567:17:126","nodeType":"FunctionDefinition","overrides":{"id":20655,"nodeType":"OverrideSpecifier","overrides":[{"id":20653,"name":"ERC6909","nameLocations":["634:7:126"],"nodeType":"IdentifierPath","referencedDeclaration":1720,"src":"634:7:126"},{"id":20654,"name":"ERC721","nameLocations":["643:6:126"],"nodeType":"IdentifierPath","referencedDeclaration":22368,"src":"643:6:126"}],"src":"625:25:126"},"parameters":{"id":20652,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20651,"mutability":"mutable","name":"interfaceId","nameLocation":"592:11:126","nodeType":"VariableDeclaration","scope":20665,"src":"585:18:126","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":20650,"name":"bytes4","nodeType":"ElementaryTypeName","src":"585:6:126","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"584:20:126"},"returnParameters":{"id":20658,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20657,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":20665,"src":"660:4:126","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":20656,"name":"bool","nodeType":"ElementaryTypeName","src":"660:4:126","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"659:6:126"},"scope":20666,"src":"558:168:126","stateMutability":"view","virtual":true,"visibility":"public"}],"scope":20667,"src":"482:246:126","usedErrors":[1876,3650,3653,3656,3659,3664,3669,3676,3679,3682,3685,3688,3931,3934,3937,13604,13609,13798,13804,13807,14483,14595,15178,15358,15360,15362,15428,15431,15434,15441,15448,15455,15462,15660,15665,15668,15775,16846,16852,21214,21217,21220,21223],"usedEvents":[3711,3727,3747,3759,3942,3950,4089,4099,4111,15469,15476,21385,21835,21843,21851]}],"src":"45:684:126"},"id":126},"contracts/test/MintableERC20.sol":{"ast":{"absolutePath":"contracts/test/MintableERC20.sol","exportedSymbols":{"ERC20":[21824],"MintableERC20":[20708]},"id":20709,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":20668,"literals":["solidity","^","0.8",".15"],"nodeType":"PragmaDirective","src":"45:24:127"},{"absolutePath":"solmate/src/tokens/ERC20.sol","file":"solmate/src/tokens/ERC20.sol","id":20670,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20709,"sourceUnit":21825,"src":"71:51:127","symbolAliases":[{"foreign":{"id":20669,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"79:5:127","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":20671,"name":"ERC20","nameLocations":["150:5:127"],"nodeType":"IdentifierPath","referencedDeclaration":21824,"src":"150:5:127"},"id":20672,"nodeType":"InheritanceSpecifier","src":"150:5:127"}],"canonicalName":"MintableERC20","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":20708,"linearizedBaseContracts":[20708,21824],"name":"MintableERC20","nameLocation":"133:13:127","nodeType":"ContractDefinition","nodes":[{"body":{"id":20688,"nodeType":"Block","src":"222:47:127","statements":[{"expression":{"arguments":[{"expression":{"id":20683,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"237:3:127","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":20684,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"241:6:127","memberName":"sender","nodeType":"MemberAccess","src":"237:10:127","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":20685,"name":"amountToMint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20674,"src":"249:12:127","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":20682,"name":"mint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20707,"src":"232:4:127","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":20686,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"232:30:127","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":20687,"nodeType":"ExpressionStatement","src":"232:30:127"}]},"id":20689,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"hexValue":"74657374","id":20677,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"202:6:127","typeDescriptions":{"typeIdentifier":"t_stringliteral_9c22ff5f21f0b81b113e63f7db6da94fedef11b2119b4088b89664fb9a3cb658","typeString":"literal_string \"test\""},"value":"test"},{"hexValue":"54455354","id":20678,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"210:6:127","typeDescriptions":{"typeIdentifier":"t_stringliteral_852daa74cc3c31fe64542bb9b8764cfb91cc30f9acf9389071ffb44a9eefde46","typeString":"literal_string \"TEST\""},"value":"TEST"},{"hexValue":"3138","id":20679,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"218:2:127","typeDescriptions":{"typeIdentifier":"t_rational_18_by_1","typeString":"int_const 18"},"value":"18"}],"id":20680,"kind":"baseConstructorSpecifier","modifierName":{"id":20676,"name":"ERC20","nameLocations":["196:5:127"],"nodeType":"IdentifierPath","referencedDeclaration":21824,"src":"196:5:127"},"nodeType":"ModifierInvocation","src":"196:25:127"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":20675,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20674,"mutability":"mutable","name":"amountToMint","nameLocation":"182:12:127","nodeType":"VariableDeclaration","scope":20689,"src":"174:20:127","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20673,"name":"uint256","nodeType":"ElementaryTypeName","src":"174:7:127","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"173:22:127"},"returnParameters":{"id":20681,"nodeType":"ParameterList","parameters":[],"src":"222:0:127"},"scope":20708,"src":"162:107:127","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":20706,"nodeType":"Block","src":"324:71:127","statements":[{"expression":{"id":20700,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":20696,"name":"balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21467,"src":"334:9:127","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":20698,"indexExpression":{"id":20697,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20691,"src":"344:2:127","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"334:13:127","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":20699,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20693,"src":"351:6:127","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"334:23:127","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":20701,"nodeType":"ExpressionStatement","src":"334:23:127"},{"expression":{"id":20704,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":20702,"name":"totalSupply","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21463,"src":"367:11:127","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":20703,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20693,"src":"382:6:127","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"367:21:127","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":20705,"nodeType":"ExpressionStatement","src":"367:21:127"}]},"functionSelector":"40c10f19","id":20707,"implemented":true,"kind":"function","modifiers":[],"name":"mint","nameLocation":"284:4:127","nodeType":"FunctionDefinition","parameters":{"id":20694,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20691,"mutability":"mutable","name":"to","nameLocation":"297:2:127","nodeType":"VariableDeclaration","scope":20707,"src":"289:10:127","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20690,"name":"address","nodeType":"ElementaryTypeName","src":"289:7:127","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20693,"mutability":"mutable","name":"amount","nameLocation":"309:6:127","nodeType":"VariableDeclaration","scope":20707,"src":"301:14:127","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20692,"name":"uint256","nodeType":"ElementaryTypeName","src":"301:7:127","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"288:28:127"},"returnParameters":{"id":20695,"nodeType":"ParameterList","parameters":[],"src":"324:0:127"},"scope":20708,"src":"275:120:127","stateMutability":"nonpayable","virtual":false,"visibility":"public"}],"scope":20709,"src":"124:273:127","usedErrors":[],"usedEvents":[21447,21455]}],"src":"45:353:127"},"id":127},"contracts/test/ReenteringWETH.sol":{"ast":{"absolutePath":"contracts/test/ReenteringWETH.sol","exportedSymbols":{"ERC20":[21824],"ReenteringWETH":[20763]},"id":20764,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":20710,"literals":["solidity","^","0.8",".15"],"nodeType":"PragmaDirective","src":"45:24:128"},{"absolutePath":"solmate/src/tokens/ERC20.sol","file":"solmate/src/tokens/ERC20.sol","id":20712,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":20764,"sourceUnit":21825,"src":"71:51:128","symbolAliases":[{"foreign":{"id":20711,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"79:5:128","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":20713,"name":"ERC20","nameLocations":["151:5:128"],"nodeType":"IdentifierPath","referencedDeclaration":21824,"src":"151:5:128"},"id":20714,"nodeType":"InheritanceSpecifier","src":"151:5:128"}],"canonicalName":"ReenteringWETH","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":20763,"linearizedBaseContracts":[20763,21824],"name":"ReenteringWETH","nameLocation":"133:14:128","nodeType":"ContractDefinition","nodes":[{"errorSelector":"b418cb98","id":20716,"name":"NotAllowedReenter","nameLocation":"169:17:128","nodeType":"ErrorDefinition","parameters":{"id":20715,"nodeType":"ParameterList","parameters":[],"src":"186:2:128"},"src":"163:26:128"},{"constant":false,"id":20718,"mutability":"mutable","name":"universalRouter","nameLocation":"203:15:128","nodeType":"VariableDeclaration","scope":20763,"src":"195:23:128","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20717,"name":"address","nodeType":"ElementaryTypeName","src":"195:7:128","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20720,"mutability":"mutable","name":"data","nameLocation":"230:4:128","nodeType":"VariableDeclaration","scope":20763,"src":"224:10:128","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_storage","typeString":"bytes"},"typeName":{"id":20719,"name":"bytes","nodeType":"ElementaryTypeName","src":"224:5:128","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"body":{"id":20728,"nodeType":"Block","src":"289:2:128","statements":[]},"id":20729,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"hexValue":"5265656e746572696e6757455448","id":20723,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"261:16:128","typeDescriptions":{"typeIdentifier":"t_stringliteral_77895fea20093517aff10063a65af66472a6da3aa78d05bef39f635f9129c053","typeString":"literal_string \"ReenteringWETH\""},"value":"ReenteringWETH"},{"hexValue":"5257","id":20724,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"279:4:128","typeDescriptions":{"typeIdentifier":"t_stringliteral_eae81ad68203b97af1cc5beba3627d37bd9279e22cf8afeca2b2425a6b135d39","typeString":"literal_string \"RW\""},"value":"RW"},{"hexValue":"3138","id":20725,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"285:2:128","typeDescriptions":{"typeIdentifier":"t_rational_18_by_1","typeString":"int_const 18"},"value":"18"}],"id":20726,"kind":"baseConstructorSpecifier","modifierName":{"id":20722,"name":"ERC20","nameLocations":["255:5:128"],"nodeType":"IdentifierPath","referencedDeclaration":21824,"src":"255:5:128"},"nodeType":"ModifierInvocation","src":"255:33:128"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":20721,"nodeType":"ParameterList","parameters":[],"src":"252:2:128"},"returnParameters":{"id":20727,"nodeType":"ParameterList","parameters":[],"src":"289:0:128"},"scope":20763,"src":"241:50:128","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":20744,"nodeType":"Block","src":"375:73:128","statements":[{"expression":{"id":20738,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":20736,"name":"universalRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20718,"src":"385:15:128","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":20737,"name":"_universalRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20731,"src":"403:16:128","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"385:34:128","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":20739,"nodeType":"ExpressionStatement","src":"385:34:128"},{"expression":{"id":20742,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":20740,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20720,"src":"429:4:128","typeDescriptions":{"typeIdentifier":"t_bytes_storage","typeString":"bytes storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":20741,"name":"_data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20733,"src":"436:5:128","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"429:12:128","typeDescriptions":{"typeIdentifier":"t_bytes_storage","typeString":"bytes storage ref"}},"id":20743,"nodeType":"ExpressionStatement","src":"429:12:128"}]},"functionSelector":"472ec443","id":20745,"implemented":true,"kind":"function","modifiers":[],"name":"setParameters","nameLocation":"306:13:128","nodeType":"FunctionDefinition","parameters":{"id":20734,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20731,"mutability":"mutable","name":"_universalRouter","nameLocation":"328:16:128","nodeType":"VariableDeclaration","scope":20745,"src":"320:24:128","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20730,"name":"address","nodeType":"ElementaryTypeName","src":"320:7:128","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20733,"mutability":"mutable","name":"_data","nameLocation":"359:5:128","nodeType":"VariableDeclaration","scope":20745,"src":"346:18:128","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":20732,"name":"bytes","nodeType":"ElementaryTypeName","src":"346:5:128","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"319:46:128"},"returnParameters":{"id":20735,"nodeType":"ParameterList","parameters":[],"src":"375:0:128"},"scope":20763,"src":"297:151:128","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":20761,"nodeType":"Block","src":"488:111:128","statements":[{"assignments":[20749,null],"declarations":[{"constant":false,"id":20749,"mutability":"mutable","name":"success","nameLocation":"504:7:128","nodeType":"VariableDeclaration","scope":20761,"src":"499:12:128","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":20748,"name":"bool","nodeType":"ElementaryTypeName","src":"499:4:128","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},null],"id":20754,"initialValue":{"arguments":[{"id":20752,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20720,"src":"537:4:128","typeDescriptions":{"typeIdentifier":"t_bytes_storage","typeString":"bytes storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_storage","typeString":"bytes storage ref"}],"expression":{"id":20750,"name":"universalRouter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20718,"src":"516:15:128","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":20751,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"532:4:128","memberName":"call","nodeType":"MemberAccess","src":"516:20:128","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":20753,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"516:26:128","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"498:44:128"},{"condition":{"id":20756,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"556:8:128","subExpression":{"id":20755,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20749,"src":"557:7:128","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":20760,"nodeType":"IfStatement","src":"552:40:128","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":20757,"name":"NotAllowedReenter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20716,"src":"573:17:128","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":20758,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"573:19:128","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":20759,"nodeType":"RevertStatement","src":"566:26:128"}}]},"functionSelector":"d0e30db0","id":20762,"implemented":true,"kind":"function","modifiers":[],"name":"deposit","nameLocation":"463:7:128","nodeType":"FunctionDefinition","parameters":{"id":20746,"nodeType":"ParameterList","parameters":[],"src":"470:2:128"},"returnParameters":{"id":20747,"nodeType":"ParameterList","parameters":[],"src":"488:0:128"},"scope":20763,"src":"454:145:128","stateMutability":"payable","virtual":false,"visibility":"public"}],"scope":20764,"src":"124:477:128","usedErrors":[20716],"usedEvents":[21447,21455]}],"src":"45:557:128"},"id":128},"contracts/test/TestCustomErrors.sol":{"ast":{"absolutePath":"contracts/test/TestCustomErrors.sol","exportedSymbols":{"TestCustomErrors":[20770]},"id":20771,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":20765,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:129"},{"abstract":false,"baseContracts":[],"canonicalName":"TestCustomErrors","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":20770,"linearizedBaseContracts":[20770],"name":"TestCustomErrors","nameLocation":"80:16:129","nodeType":"ContractDefinition","nodes":[{"errorSelector":"8baa579f","id":20767,"name":"InvalidSignature","nameLocation":"199:16:129","nodeType":"ErrorDefinition","parameters":{"id":20766,"nodeType":"ParameterList","parameters":[],"src":"215:2:129"},"src":"193:25:129"},{"errorSelector":"c4bd89a9","id":20769,"name":"UnsafeCast","nameLocation":"229:10:129","nodeType":"ErrorDefinition","parameters":{"id":20768,"nodeType":"ParameterList","parameters":[],"src":"239:2:129"},"src":"223:19:129"}],"scope":20771,"src":"71:173:129","usedErrors":[20767,20769],"usedEvents":[]}],"src":"45:200:129"},"id":129},"contracts/types/RouterParameters.sol":{"ast":{"absolutePath":"contracts/types/RouterParameters.sol","exportedSymbols":{"RouterParameters":[20791]},"id":20792,"license":"GPL-3.0-or-later","nodeType":"SourceUnit","nodes":[{"id":20772,"literals":["solidity","^","0.8",".24"],"nodeType":"PragmaDirective","src":"45:24:130"},{"canonicalName":"RouterParameters","id":20791,"members":[{"constant":false,"id":20774,"mutability":"mutable","name":"permit2","nameLocation":"135:7:130","nodeType":"VariableDeclaration","scope":20791,"src":"127:15:130","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20773,"name":"address","nodeType":"ElementaryTypeName","src":"127:7:130","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20776,"mutability":"mutable","name":"weth9","nameLocation":"156:5:130","nodeType":"VariableDeclaration","scope":20791,"src":"148:13:130","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20775,"name":"address","nodeType":"ElementaryTypeName","src":"148:7:130","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20778,"mutability":"mutable","name":"v2Factory","nameLocation":"210:9:130","nodeType":"VariableDeclaration","scope":20791,"src":"202:17:130","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20777,"name":"address","nodeType":"ElementaryTypeName","src":"202:7:130","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20780,"mutability":"mutable","name":"v3Factory","nameLocation":"233:9:130","nodeType":"VariableDeclaration","scope":20791,"src":"225:17:130","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20779,"name":"address","nodeType":"ElementaryTypeName","src":"225:7:130","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20782,"mutability":"mutable","name":"pairInitCodeHash","nameLocation":"256:16:130","nodeType":"VariableDeclaration","scope":20791,"src":"248:24:130","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":20781,"name":"bytes32","nodeType":"ElementaryTypeName","src":"248:7:130","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":20784,"mutability":"mutable","name":"poolInitCodeHash","nameLocation":"286:16:130","nodeType":"VariableDeclaration","scope":20791,"src":"278:24:130","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":20783,"name":"bytes32","nodeType":"ElementaryTypeName","src":"278:7:130","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":20786,"mutability":"mutable","name":"v4PoolManager","nameLocation":"316:13:130","nodeType":"VariableDeclaration","scope":20791,"src":"308:21:130","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20785,"name":"address","nodeType":"ElementaryTypeName","src":"308:7:130","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20788,"mutability":"mutable","name":"v3NFTPositionManager","nameLocation":"386:20:130","nodeType":"VariableDeclaration","scope":20791,"src":"378:28:130","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20787,"name":"address","nodeType":"ElementaryTypeName","src":"378:7:130","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20790,"mutability":"mutable","name":"v4PositionManager","nameLocation":"420:17:130","nodeType":"VariableDeclaration","scope":20791,"src":"412:25:130","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20789,"name":"address","nodeType":"ElementaryTypeName","src":"412:7:130","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"name":"RouterParameters","nameLocation":"78:16:130","nodeType":"StructDefinition","scope":20792,"src":"71:369:130","visibility":"public"}],"src":"45:396:130"},"id":130},"permit2/src/interfaces/IAllowanceTransfer.sol":{"ast":{"absolutePath":"permit2/src/interfaces/IAllowanceTransfer.sol","exportedSymbols":{"IAllowanceTransfer":[21003],"IEIP712":[21011]},"id":21004,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":20793,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:131"},{"absolutePath":"permit2/src/interfaces/IEIP712.sol","file":"./IEIP712.sol","id":20795,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":21004,"sourceUnit":21012,"src":"57:38:131","symbolAliases":[{"foreign":{"id":20794,"name":"IEIP712","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21011,"src":"65:7:131","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":20797,"name":"IEIP712","nameLocations":["362:7:131"],"nodeType":"IdentifierPath","referencedDeclaration":21011,"src":"362:7:131"},"id":20798,"nodeType":"InheritanceSpecifier","src":"362:7:131"}],"canonicalName":"IAllowanceTransfer","contractDependencies":[],"contractKind":"interface","documentation":{"id":20796,"nodeType":"StructuredDocumentation","src":"97:233:131","text":"@title AllowanceTransfer\n @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts\n @dev Requires user's token approval on the Permit2 contract"},"fullyImplemented":false,"id":21003,"linearizedBaseContracts":[21003,21011],"name":"IAllowanceTransfer","nameLocation":"340:18:131","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":20799,"nodeType":"StructuredDocumentation","src":"376:145:131","text":"@notice Thrown when an allowance on a token has expired.\n @param deadline The timestamp at which the allowed amount is no longer valid"},"errorSelector":"d81b2f2e","id":20803,"name":"AllowanceExpired","nameLocation":"532:16:131","nodeType":"ErrorDefinition","parameters":{"id":20802,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20801,"mutability":"mutable","name":"deadline","nameLocation":"557:8:131","nodeType":"VariableDeclaration","scope":20803,"src":"549:16:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20800,"name":"uint256","nodeType":"ElementaryTypeName","src":"549:7:131","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"548:18:131"},"src":"526:41:131"},{"documentation":{"id":20804,"nodeType":"StructuredDocumentation","src":"573:115:131","text":"@notice Thrown when an allowance on a token has been depleted.\n @param amount The maximum amount allowed"},"errorSelector":"f96fb071","id":20808,"name":"InsufficientAllowance","nameLocation":"699:21:131","nodeType":"ErrorDefinition","parameters":{"id":20807,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20806,"mutability":"mutable","name":"amount","nameLocation":"729:6:131","nodeType":"VariableDeclaration","scope":20808,"src":"721:14:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20805,"name":"uint256","nodeType":"ElementaryTypeName","src":"721:7:131","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"720:16:131"},"src":"693:44:131"},{"documentation":{"id":20809,"nodeType":"StructuredDocumentation","src":"743:56:131","text":"@notice Thrown when too many nonces are invalidated."},"errorSelector":"24d35a26","id":20811,"name":"ExcessiveInvalidation","nameLocation":"810:21:131","nodeType":"ErrorDefinition","parameters":{"id":20810,"nodeType":"ParameterList","parameters":[],"src":"831:2:131"},"src":"804:30:131"},{"anonymous":false,"documentation":{"id":20812,"nodeType":"StructuredDocumentation","src":"840:84:131","text":"@notice Emits an event when the owner successfully invalidates an ordered nonce."},"eventSelector":"55eb90d810e1700b35a8e7e25395ff7f2b2259abd7415ca2284dfb1c246418f3","id":20824,"name":"NonceInvalidation","nameLocation":"935:17:131","nodeType":"EventDefinition","parameters":{"id":20823,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20814,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"978:5:131","nodeType":"VariableDeclaration","scope":20824,"src":"962:21:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20813,"name":"address","nodeType":"ElementaryTypeName","src":"962:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20816,"indexed":true,"mutability":"mutable","name":"token","nameLocation":"1001:5:131","nodeType":"VariableDeclaration","scope":20824,"src":"985:21:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20815,"name":"address","nodeType":"ElementaryTypeName","src":"985:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20818,"indexed":true,"mutability":"mutable","name":"spender","nameLocation":"1024:7:131","nodeType":"VariableDeclaration","scope":20824,"src":"1008:23:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20817,"name":"address","nodeType":"ElementaryTypeName","src":"1008:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20820,"indexed":false,"mutability":"mutable","name":"newNonce","nameLocation":"1040:8:131","nodeType":"VariableDeclaration","scope":20824,"src":"1033:15:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":20819,"name":"uint48","nodeType":"ElementaryTypeName","src":"1033:6:131","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"},{"constant":false,"id":20822,"indexed":false,"mutability":"mutable","name":"oldNonce","nameLocation":"1057:8:131","nodeType":"VariableDeclaration","scope":20824,"src":"1050:15:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":20821,"name":"uint48","nodeType":"ElementaryTypeName","src":"1050:6:131","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"}],"src":"952:119:131"},"src":"929:143:131"},{"anonymous":false,"documentation":{"id":20825,"nodeType":"StructuredDocumentation","src":"1078:99:131","text":"@notice Emits an event when the owner successfully sets permissions on a token for the spender."},"eventSelector":"da9fa7c1b00402c17d0161b249b1ab8bbec047c5a52207b9c112deffd817036b","id":20837,"name":"Approval","nameLocation":"1188:8:131","nodeType":"EventDefinition","parameters":{"id":20836,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20827,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"1222:5:131","nodeType":"VariableDeclaration","scope":20837,"src":"1206:21:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20826,"name":"address","nodeType":"ElementaryTypeName","src":"1206:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20829,"indexed":true,"mutability":"mutable","name":"token","nameLocation":"1245:5:131","nodeType":"VariableDeclaration","scope":20837,"src":"1229:21:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20828,"name":"address","nodeType":"ElementaryTypeName","src":"1229:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20831,"indexed":true,"mutability":"mutable","name":"spender","nameLocation":"1268:7:131","nodeType":"VariableDeclaration","scope":20837,"src":"1252:23:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20830,"name":"address","nodeType":"ElementaryTypeName","src":"1252:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20833,"indexed":false,"mutability":"mutable","name":"amount","nameLocation":"1285:6:131","nodeType":"VariableDeclaration","scope":20837,"src":"1277:14:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":20832,"name":"uint160","nodeType":"ElementaryTypeName","src":"1277:7:131","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":20835,"indexed":false,"mutability":"mutable","name":"expiration","nameLocation":"1300:10:131","nodeType":"VariableDeclaration","scope":20837,"src":"1293:17:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":20834,"name":"uint48","nodeType":"ElementaryTypeName","src":"1293:6:131","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"}],"src":"1196:120:131"},"src":"1182:135:131"},{"anonymous":false,"documentation":{"id":20838,"nodeType":"StructuredDocumentation","src":"1323:124:131","text":"@notice Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender."},"eventSelector":"c6a377bfc4eb120024a8ac08eef205be16b817020812c73223e81d1bdb9708ec","id":20852,"name":"Permit","nameLocation":"1458:6:131","nodeType":"EventDefinition","parameters":{"id":20851,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20840,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"1490:5:131","nodeType":"VariableDeclaration","scope":20852,"src":"1474:21:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20839,"name":"address","nodeType":"ElementaryTypeName","src":"1474:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20842,"indexed":true,"mutability":"mutable","name":"token","nameLocation":"1521:5:131","nodeType":"VariableDeclaration","scope":20852,"src":"1505:21:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20841,"name":"address","nodeType":"ElementaryTypeName","src":"1505:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20844,"indexed":true,"mutability":"mutable","name":"spender","nameLocation":"1552:7:131","nodeType":"VariableDeclaration","scope":20852,"src":"1536:23:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20843,"name":"address","nodeType":"ElementaryTypeName","src":"1536:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20846,"indexed":false,"mutability":"mutable","name":"amount","nameLocation":"1577:6:131","nodeType":"VariableDeclaration","scope":20852,"src":"1569:14:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":20845,"name":"uint160","nodeType":"ElementaryTypeName","src":"1569:7:131","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":20848,"indexed":false,"mutability":"mutable","name":"expiration","nameLocation":"1600:10:131","nodeType":"VariableDeclaration","scope":20852,"src":"1593:17:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":20847,"name":"uint48","nodeType":"ElementaryTypeName","src":"1593:6:131","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"},{"constant":false,"id":20850,"indexed":false,"mutability":"mutable","name":"nonce","nameLocation":"1627:5:131","nodeType":"VariableDeclaration","scope":20852,"src":"1620:12:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":20849,"name":"uint48","nodeType":"ElementaryTypeName","src":"1620:6:131","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"}],"src":"1464:174:131"},"src":"1452:187:131"},{"anonymous":false,"documentation":{"id":20853,"nodeType":"StructuredDocumentation","src":"1645:98:131","text":"@notice Emits an event when the owner sets the allowance back to 0 with the lockdown function."},"eventSelector":"89b1add15eff56b3dfe299ad94e01f2b52fbcb80ae1a3baea6ae8c04cb2b98a4","id":20861,"name":"Lockdown","nameLocation":"1754:8:131","nodeType":"EventDefinition","parameters":{"id":20860,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20855,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"1779:5:131","nodeType":"VariableDeclaration","scope":20861,"src":"1763:21:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20854,"name":"address","nodeType":"ElementaryTypeName","src":"1763:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20857,"indexed":false,"mutability":"mutable","name":"token","nameLocation":"1794:5:131","nodeType":"VariableDeclaration","scope":20861,"src":"1786:13:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20856,"name":"address","nodeType":"ElementaryTypeName","src":"1786:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20859,"indexed":false,"mutability":"mutable","name":"spender","nameLocation":"1809:7:131","nodeType":"VariableDeclaration","scope":20861,"src":"1801:15:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20858,"name":"address","nodeType":"ElementaryTypeName","src":"1801:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1762:55:131"},"src":"1748:70:131"},{"canonicalName":"IAllowanceTransfer.PermitDetails","documentation":{"id":20862,"nodeType":"StructuredDocumentation","src":"1824:39:131","text":"@notice The permit data for a token"},"id":20871,"members":[{"constant":false,"id":20864,"mutability":"mutable","name":"token","nameLocation":"1938:5:131","nodeType":"VariableDeclaration","scope":20871,"src":"1930:13:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20863,"name":"address","nodeType":"ElementaryTypeName","src":"1930:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20866,"mutability":"mutable","name":"amount","nameLocation":"2008:6:131","nodeType":"VariableDeclaration","scope":20871,"src":"2000:14:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":20865,"name":"uint160","nodeType":"ElementaryTypeName","src":"2000:7:131","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":20868,"mutability":"mutable","name":"expiration","nameLocation":"2105:10:131","nodeType":"VariableDeclaration","scope":20871,"src":"2098:17:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":20867,"name":"uint48","nodeType":"ElementaryTypeName","src":"2098:6:131","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"},{"constant":false,"id":20870,"mutability":"mutable","name":"nonce","nameLocation":"2220:5:131","nodeType":"VariableDeclaration","scope":20871,"src":"2213:12:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":20869,"name":"uint48","nodeType":"ElementaryTypeName","src":"2213:6:131","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"}],"name":"PermitDetails","nameLocation":"1875:13:131","nodeType":"StructDefinition","scope":21003,"src":"1868:364:131","visibility":"public"},{"canonicalName":"IAllowanceTransfer.PermitSingle","documentation":{"id":20872,"nodeType":"StructuredDocumentation","src":"2238:66:131","text":"@notice The permit message signed for a single token allowance"},"id":20880,"members":[{"constant":false,"id":20875,"mutability":"mutable","name":"details","nameLocation":"2407:7:131","nodeType":"VariableDeclaration","scope":20880,"src":"2393:21:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_struct$_PermitDetails_$20871_storage_ptr","typeString":"struct IAllowanceTransfer.PermitDetails"},"typeName":{"id":20874,"nodeType":"UserDefinedTypeName","pathNode":{"id":20873,"name":"PermitDetails","nameLocations":["2393:13:131"],"nodeType":"IdentifierPath","referencedDeclaration":20871,"src":"2393:13:131"},"referencedDeclaration":20871,"src":"2393:13:131","typeDescriptions":{"typeIdentifier":"t_struct$_PermitDetails_$20871_storage_ptr","typeString":"struct IAllowanceTransfer.PermitDetails"}},"visibility":"internal"},{"constant":false,"id":20877,"mutability":"mutable","name":"spender","nameLocation":"2486:7:131","nodeType":"VariableDeclaration","scope":20880,"src":"2478:15:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20876,"name":"address","nodeType":"ElementaryTypeName","src":"2478:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20879,"mutability":"mutable","name":"sigDeadline","nameLocation":"2555:11:131","nodeType":"VariableDeclaration","scope":20880,"src":"2547:19:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20878,"name":"uint256","nodeType":"ElementaryTypeName","src":"2547:7:131","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"PermitSingle","nameLocation":"2316:12:131","nodeType":"StructDefinition","scope":21003,"src":"2309:264:131","visibility":"public"},{"canonicalName":"IAllowanceTransfer.PermitBatch","documentation":{"id":20881,"nodeType":"StructuredDocumentation","src":"2579:67:131","text":"@notice The permit message signed for multiple token allowances"},"id":20890,"members":[{"constant":false,"id":20885,"mutability":"mutable","name":"details","nameLocation":"2753:7:131","nodeType":"VariableDeclaration","scope":20890,"src":"2737:23:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_PermitDetails_$20871_storage_$dyn_storage_ptr","typeString":"struct IAllowanceTransfer.PermitDetails[]"},"typeName":{"baseType":{"id":20883,"nodeType":"UserDefinedTypeName","pathNode":{"id":20882,"name":"PermitDetails","nameLocations":["2737:13:131"],"nodeType":"IdentifierPath","referencedDeclaration":20871,"src":"2737:13:131"},"referencedDeclaration":20871,"src":"2737:13:131","typeDescriptions":{"typeIdentifier":"t_struct$_PermitDetails_$20871_storage_ptr","typeString":"struct IAllowanceTransfer.PermitDetails"}},"id":20884,"nodeType":"ArrayTypeName","src":"2737:15:131","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_PermitDetails_$20871_storage_$dyn_storage_ptr","typeString":"struct IAllowanceTransfer.PermitDetails[]"}},"visibility":"internal"},{"constant":false,"id":20887,"mutability":"mutable","name":"spender","nameLocation":"2832:7:131","nodeType":"VariableDeclaration","scope":20890,"src":"2824:15:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20886,"name":"address","nodeType":"ElementaryTypeName","src":"2824:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20889,"mutability":"mutable","name":"sigDeadline","nameLocation":"2901:11:131","nodeType":"VariableDeclaration","scope":20890,"src":"2893:19:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":20888,"name":"uint256","nodeType":"ElementaryTypeName","src":"2893:7:131","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"PermitBatch","nameLocation":"2658:11:131","nodeType":"StructDefinition","scope":21003,"src":"2651:268:131","visibility":"public"},{"canonicalName":"IAllowanceTransfer.PackedAllowance","documentation":{"id":20891,"nodeType":"StructuredDocumentation","src":"2925:217:131","text":"@notice The saved permissions\n @dev This info is saved per owner, per token, per spender and all signed over in the permit message\n @dev Setting amount to type(uint160).max sets an unlimited approval"},"id":20898,"members":[{"constant":false,"id":20893,"mutability":"mutable","name":"amount","nameLocation":"3214:6:131","nodeType":"VariableDeclaration","scope":20898,"src":"3206:14:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":20892,"name":"uint160","nodeType":"ElementaryTypeName","src":"3206:7:131","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":20895,"mutability":"mutable","name":"expiration","nameLocation":"3266:10:131","nodeType":"VariableDeclaration","scope":20898,"src":"3259:17:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":20894,"name":"uint48","nodeType":"ElementaryTypeName","src":"3259:6:131","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"},{"constant":false,"id":20897,"mutability":"mutable","name":"nonce","nameLocation":"3381:5:131","nodeType":"VariableDeclaration","scope":20898,"src":"3374:12:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":20896,"name":"uint48","nodeType":"ElementaryTypeName","src":"3374:6:131","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"}],"name":"PackedAllowance","nameLocation":"3154:15:131","nodeType":"StructDefinition","scope":21003,"src":"3147:246:131","visibility":"public"},{"canonicalName":"IAllowanceTransfer.TokenSpenderPair","documentation":{"id":20899,"nodeType":"StructuredDocumentation","src":"3399:33:131","text":"@notice A token spender pair."},"id":20904,"members":[{"constant":false,"id":20901,"mutability":"mutable","name":"token","nameLocation":"3524:5:131","nodeType":"VariableDeclaration","scope":20904,"src":"3516:13:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20900,"name":"address","nodeType":"ElementaryTypeName","src":"3516:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20903,"mutability":"mutable","name":"spender","nameLocation":"3578:7:131","nodeType":"VariableDeclaration","scope":20904,"src":"3570:15:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20902,"name":"address","nodeType":"ElementaryTypeName","src":"3570:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"name":"TokenSpenderPair","nameLocation":"3444:16:131","nodeType":"StructDefinition","scope":21003,"src":"3437:155:131","visibility":"public"},{"canonicalName":"IAllowanceTransfer.AllowanceTransferDetails","documentation":{"id":20905,"nodeType":"StructuredDocumentation","src":"3598:41:131","text":"@notice Details for a token transfer."},"id":20914,"members":[{"constant":false,"id":20907,"mutability":"mutable","name":"from","nameLocation":"3728:4:131","nodeType":"VariableDeclaration","scope":20914,"src":"3720:12:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20906,"name":"address","nodeType":"ElementaryTypeName","src":"3720:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20909,"mutability":"mutable","name":"to","nameLocation":"3788:2:131","nodeType":"VariableDeclaration","scope":20914,"src":"3780:10:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20908,"name":"address","nodeType":"ElementaryTypeName","src":"3780:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20911,"mutability":"mutable","name":"amount","nameLocation":"3843:6:131","nodeType":"VariableDeclaration","scope":20914,"src":"3835:14:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":20910,"name":"uint160","nodeType":"ElementaryTypeName","src":"3835:7:131","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":20913,"mutability":"mutable","name":"token","nameLocation":"3906:5:131","nodeType":"VariableDeclaration","scope":20914,"src":"3898:13:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20912,"name":"address","nodeType":"ElementaryTypeName","src":"3898:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"name":"AllowanceTransferDetails","nameLocation":"3651:24:131","nodeType":"StructDefinition","scope":21003,"src":"3644:274:131","visibility":"public"},{"documentation":{"id":20915,"nodeType":"StructuredDocumentation","src":"3924:455:131","text":"@notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.\n @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\n @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals."},"functionSelector":"927da105","id":20930,"implemented":false,"kind":"function","modifiers":[],"name":"allowance","nameLocation":"4393:9:131","nodeType":"FunctionDefinition","parameters":{"id":20922,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20917,"mutability":"mutable","name":"user","nameLocation":"4411:4:131","nodeType":"VariableDeclaration","scope":20930,"src":"4403:12:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20916,"name":"address","nodeType":"ElementaryTypeName","src":"4403:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20919,"mutability":"mutable","name":"token","nameLocation":"4425:5:131","nodeType":"VariableDeclaration","scope":20930,"src":"4417:13:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20918,"name":"address","nodeType":"ElementaryTypeName","src":"4417:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20921,"mutability":"mutable","name":"spender","nameLocation":"4440:7:131","nodeType":"VariableDeclaration","scope":20930,"src":"4432:15:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20920,"name":"address","nodeType":"ElementaryTypeName","src":"4432:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4402:46:131"},"returnParameters":{"id":20929,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20924,"mutability":"mutable","name":"amount","nameLocation":"4504:6:131","nodeType":"VariableDeclaration","scope":20930,"src":"4496:14:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":20923,"name":"uint160","nodeType":"ElementaryTypeName","src":"4496:7:131","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":20926,"mutability":"mutable","name":"expiration","nameLocation":"4519:10:131","nodeType":"VariableDeclaration","scope":20930,"src":"4512:17:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":20925,"name":"uint48","nodeType":"ElementaryTypeName","src":"4512:6:131","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"},{"constant":false,"id":20928,"mutability":"mutable","name":"nonce","nameLocation":"4538:5:131","nodeType":"VariableDeclaration","scope":20930,"src":"4531:12:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":20927,"name":"uint48","nodeType":"ElementaryTypeName","src":"4531:6:131","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"}],"src":"4495:49:131"},"scope":21003,"src":"4384:161:131","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":20931,"nodeType":"StructuredDocumentation","src":"4551:498:131","text":"@notice Approves the spender to use up to amount of the specified token up until the expiration\n @param token The token to approve\n @param spender The spender address to approve\n @param amount The approved amount of the token\n @param expiration The timestamp at which the approval is no longer valid\n @dev The packed allowance also holds a nonce, which will stay unchanged in approve\n @dev Setting amount to type(uint160).max sets an unlimited approval"},"functionSelector":"87517c45","id":20942,"implemented":false,"kind":"function","modifiers":[],"name":"approve","nameLocation":"5063:7:131","nodeType":"FunctionDefinition","parameters":{"id":20940,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20933,"mutability":"mutable","name":"token","nameLocation":"5079:5:131","nodeType":"VariableDeclaration","scope":20942,"src":"5071:13:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20932,"name":"address","nodeType":"ElementaryTypeName","src":"5071:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20935,"mutability":"mutable","name":"spender","nameLocation":"5094:7:131","nodeType":"VariableDeclaration","scope":20942,"src":"5086:15:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20934,"name":"address","nodeType":"ElementaryTypeName","src":"5086:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20937,"mutability":"mutable","name":"amount","nameLocation":"5111:6:131","nodeType":"VariableDeclaration","scope":20942,"src":"5103:14:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":20936,"name":"uint160","nodeType":"ElementaryTypeName","src":"5103:7:131","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":20939,"mutability":"mutable","name":"expiration","nameLocation":"5126:10:131","nodeType":"VariableDeclaration","scope":20942,"src":"5119:17:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":20938,"name":"uint48","nodeType":"ElementaryTypeName","src":"5119:6:131","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"}],"src":"5070:67:131"},"returnParameters":{"id":20941,"nodeType":"ParameterList","parameters":[],"src":"5146:0:131"},"scope":21003,"src":"5054:93:131","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":20943,"nodeType":"StructuredDocumentation","src":"5153:407:131","text":"@notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\n @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n @param owner The owner of the tokens being approved\n @param permitSingle Data signed over by the owner specifying the terms of approval\n @param signature The owner's signature over the permit data"},"functionSelector":"2b67b570","id":20953,"implemented":false,"kind":"function","modifiers":[],"name":"permit","nameLocation":"5574:6:131","nodeType":"FunctionDefinition","parameters":{"id":20951,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20945,"mutability":"mutable","name":"owner","nameLocation":"5589:5:131","nodeType":"VariableDeclaration","scope":20953,"src":"5581:13:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20944,"name":"address","nodeType":"ElementaryTypeName","src":"5581:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20948,"mutability":"mutable","name":"permitSingle","nameLocation":"5616:12:131","nodeType":"VariableDeclaration","scope":20953,"src":"5596:32:131","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PermitSingle_$20880_memory_ptr","typeString":"struct IAllowanceTransfer.PermitSingle"},"typeName":{"id":20947,"nodeType":"UserDefinedTypeName","pathNode":{"id":20946,"name":"PermitSingle","nameLocations":["5596:12:131"],"nodeType":"IdentifierPath","referencedDeclaration":20880,"src":"5596:12:131"},"referencedDeclaration":20880,"src":"5596:12:131","typeDescriptions":{"typeIdentifier":"t_struct$_PermitSingle_$20880_storage_ptr","typeString":"struct IAllowanceTransfer.PermitSingle"}},"visibility":"internal"},{"constant":false,"id":20950,"mutability":"mutable","name":"signature","nameLocation":"5645:9:131","nodeType":"VariableDeclaration","scope":20953,"src":"5630:24:131","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":20949,"name":"bytes","nodeType":"ElementaryTypeName","src":"5630:5:131","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5580:75:131"},"returnParameters":{"id":20952,"nodeType":"ParameterList","parameters":[],"src":"5664:0:131"},"scope":21003,"src":"5565:100:131","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":20954,"nodeType":"StructuredDocumentation","src":"5671:411:131","text":"@notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\n @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n @param owner The owner of the tokens being approved\n @param permitBatch Data signed over by the owner specifying the terms of approval\n @param signature The owner's signature over the permit data"},"functionSelector":"2a2d80d1","id":20964,"implemented":false,"kind":"function","modifiers":[],"name":"permit","nameLocation":"6096:6:131","nodeType":"FunctionDefinition","parameters":{"id":20962,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20956,"mutability":"mutable","name":"owner","nameLocation":"6111:5:131","nodeType":"VariableDeclaration","scope":20964,"src":"6103:13:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20955,"name":"address","nodeType":"ElementaryTypeName","src":"6103:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20959,"mutability":"mutable","name":"permitBatch","nameLocation":"6137:11:131","nodeType":"VariableDeclaration","scope":20964,"src":"6118:30:131","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatch_$20890_memory_ptr","typeString":"struct IAllowanceTransfer.PermitBatch"},"typeName":{"id":20958,"nodeType":"UserDefinedTypeName","pathNode":{"id":20957,"name":"PermitBatch","nameLocations":["6118:11:131"],"nodeType":"IdentifierPath","referencedDeclaration":20890,"src":"6118:11:131"},"referencedDeclaration":20890,"src":"6118:11:131","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatch_$20890_storage_ptr","typeString":"struct IAllowanceTransfer.PermitBatch"}},"visibility":"internal"},{"constant":false,"id":20961,"mutability":"mutable","name":"signature","nameLocation":"6165:9:131","nodeType":"VariableDeclaration","scope":20964,"src":"6150:24:131","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":20960,"name":"bytes","nodeType":"ElementaryTypeName","src":"6150:5:131","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6102:73:131"},"returnParameters":{"id":20963,"nodeType":"ParameterList","parameters":[],"src":"6184:0:131"},"scope":21003,"src":"6087:98:131","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":20965,"nodeType":"StructuredDocumentation","src":"6191:386:131","text":"@notice Transfer approved tokens from one address to another\n @param from The address to transfer from\n @param to The address of the recipient\n @param amount The amount of the token to transfer\n @param token The token address to transfer\n @dev Requires the from address to have approved at least the desired amount\n of tokens to msg.sender."},"functionSelector":"36c78516","id":20976,"implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"6591:12:131","nodeType":"FunctionDefinition","parameters":{"id":20974,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20967,"mutability":"mutable","name":"from","nameLocation":"6612:4:131","nodeType":"VariableDeclaration","scope":20976,"src":"6604:12:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20966,"name":"address","nodeType":"ElementaryTypeName","src":"6604:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20969,"mutability":"mutable","name":"to","nameLocation":"6626:2:131","nodeType":"VariableDeclaration","scope":20976,"src":"6618:10:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20968,"name":"address","nodeType":"ElementaryTypeName","src":"6618:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20971,"mutability":"mutable","name":"amount","nameLocation":"6638:6:131","nodeType":"VariableDeclaration","scope":20976,"src":"6630:14:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":20970,"name":"uint160","nodeType":"ElementaryTypeName","src":"6630:7:131","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":20973,"mutability":"mutable","name":"token","nameLocation":"6654:5:131","nodeType":"VariableDeclaration","scope":20976,"src":"6646:13:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20972,"name":"address","nodeType":"ElementaryTypeName","src":"6646:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6603:57:131"},"returnParameters":{"id":20975,"nodeType":"ParameterList","parameters":[],"src":"6669:0:131"},"scope":21003,"src":"6582:88:131","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":20977,"nodeType":"StructuredDocumentation","src":"6676:264:131","text":"@notice Transfer approved tokens in a batch\n @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers\n @dev Requires the from addresses to have approved at least the desired amount\n of tokens to msg.sender."},"functionSelector":"0d58b1db","id":20984,"implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"6954:12:131","nodeType":"FunctionDefinition","parameters":{"id":20982,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20981,"mutability":"mutable","name":"transferDetails","nameLocation":"7003:15:131","nodeType":"VariableDeclaration","scope":20984,"src":"6967:51:131","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_AllowanceTransferDetails_$20914_calldata_ptr_$dyn_calldata_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails[]"},"typeName":{"baseType":{"id":20979,"nodeType":"UserDefinedTypeName","pathNode":{"id":20978,"name":"AllowanceTransferDetails","nameLocations":["6967:24:131"],"nodeType":"IdentifierPath","referencedDeclaration":20914,"src":"6967:24:131"},"referencedDeclaration":20914,"src":"6967:24:131","typeDescriptions":{"typeIdentifier":"t_struct$_AllowanceTransferDetails_$20914_storage_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails"}},"id":20980,"nodeType":"ArrayTypeName","src":"6967:26:131","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_AllowanceTransferDetails_$20914_storage_$dyn_storage_ptr","typeString":"struct IAllowanceTransfer.AllowanceTransferDetails[]"}},"visibility":"internal"}],"src":"6966:53:131"},"returnParameters":{"id":20983,"nodeType":"ParameterList","parameters":[],"src":"7028:0:131"},"scope":21003,"src":"6945:84:131","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":20985,"nodeType":"StructuredDocumentation","src":"7035:167:131","text":"@notice Enables performing a \"lockdown\" of the sender's Permit2 identity\n by batch revoking approvals\n @param approvals Array of approvals to revoke."},"functionSelector":"cc53287f","id":20992,"implemented":false,"kind":"function","modifiers":[],"name":"lockdown","nameLocation":"7216:8:131","nodeType":"FunctionDefinition","parameters":{"id":20990,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20989,"mutability":"mutable","name":"approvals","nameLocation":"7253:9:131","nodeType":"VariableDeclaration","scope":20992,"src":"7225:37:131","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TokenSpenderPair_$20904_calldata_ptr_$dyn_calldata_ptr","typeString":"struct IAllowanceTransfer.TokenSpenderPair[]"},"typeName":{"baseType":{"id":20987,"nodeType":"UserDefinedTypeName","pathNode":{"id":20986,"name":"TokenSpenderPair","nameLocations":["7225:16:131"],"nodeType":"IdentifierPath","referencedDeclaration":20904,"src":"7225:16:131"},"referencedDeclaration":20904,"src":"7225:16:131","typeDescriptions":{"typeIdentifier":"t_struct$_TokenSpenderPair_$20904_storage_ptr","typeString":"struct IAllowanceTransfer.TokenSpenderPair"}},"id":20988,"nodeType":"ArrayTypeName","src":"7225:18:131","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TokenSpenderPair_$20904_storage_$dyn_storage_ptr","typeString":"struct IAllowanceTransfer.TokenSpenderPair[]"}},"visibility":"internal"}],"src":"7224:39:131"},"returnParameters":{"id":20991,"nodeType":"ParameterList","parameters":[],"src":"7272:0:131"},"scope":21003,"src":"7207:66:131","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":20993,"nodeType":"StructuredDocumentation","src":"7279:332:131","text":"@notice Invalidate nonces for a given (token, spender) pair\n @param token The token to invalidate nonces for\n @param spender The spender to invalidate nonces for\n @param newNonce The new nonce to set. Invalidates all nonces less than it.\n @dev Can't invalidate more than 2**16 nonces per transaction."},"functionSelector":"65d9723c","id":21002,"implemented":false,"kind":"function","modifiers":[],"name":"invalidateNonces","nameLocation":"7625:16:131","nodeType":"FunctionDefinition","parameters":{"id":21000,"nodeType":"ParameterList","parameters":[{"constant":false,"id":20995,"mutability":"mutable","name":"token","nameLocation":"7650:5:131","nodeType":"VariableDeclaration","scope":21002,"src":"7642:13:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20994,"name":"address","nodeType":"ElementaryTypeName","src":"7642:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20997,"mutability":"mutable","name":"spender","nameLocation":"7665:7:131","nodeType":"VariableDeclaration","scope":21002,"src":"7657:15:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":20996,"name":"address","nodeType":"ElementaryTypeName","src":"7657:7:131","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":20999,"mutability":"mutable","name":"newNonce","nameLocation":"7681:8:131","nodeType":"VariableDeclaration","scope":21002,"src":"7674:15:131","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":20998,"name":"uint48","nodeType":"ElementaryTypeName","src":"7674:6:131","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"}],"src":"7641:49:131"},"returnParameters":{"id":21001,"nodeType":"ParameterList","parameters":[],"src":"7699:0:131"},"scope":21003,"src":"7616:84:131","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":21004,"src":"330:7372:131","usedErrors":[20803,20808,20811],"usedEvents":[20824,20837,20852,20861]}],"src":"32:7671:131"},"id":131},"permit2/src/interfaces/IEIP712.sol":{"ast":{"absolutePath":"permit2/src/interfaces/IEIP712.sol","exportedSymbols":{"IEIP712":[21011]},"id":21012,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":21005,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:132"},{"abstract":false,"baseContracts":[],"canonicalName":"IEIP712","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":21011,"linearizedBaseContracts":[21011],"name":"IEIP712","nameLocation":"67:7:132","nodeType":"ContractDefinition","nodes":[{"functionSelector":"3644e515","id":21010,"implemented":false,"kind":"function","modifiers":[],"name":"DOMAIN_SEPARATOR","nameLocation":"90:16:132","nodeType":"FunctionDefinition","parameters":{"id":21006,"nodeType":"ParameterList","parameters":[],"src":"106:2:132"},"returnParameters":{"id":21009,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21008,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":21010,"src":"132:7:132","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21007,"name":"bytes32","nodeType":"ElementaryTypeName","src":"132:7:132","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"131:9:132"},"scope":21011,"src":"81:60:132","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":21012,"src":"57:86:132","usedErrors":[],"usedEvents":[]}],"src":"32:112:132"},"id":132},"permit2/src/interfaces/IERC1271.sol":{"ast":{"absolutePath":"permit2/src/interfaces/IERC1271.sol","exportedSymbols":{"IERC1271":[21024]},"id":21025,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":21013,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:133"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC1271","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":21024,"linearizedBaseContracts":[21024],"name":"IERC1271","nameLocation":"67:8:133","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":21014,"nodeType":"StructuredDocumentation","src":"82:268:133","text":"@dev Should return whether the signature provided is valid for the provided data\n @param hash      Hash of the data to be signed\n @param signature Signature byte array associated with _data\n @return magicValue The bytes4 magic value 0x1626ba7e"},"functionSelector":"1626ba7e","id":21023,"implemented":false,"kind":"function","modifiers":[],"name":"isValidSignature","nameLocation":"364:16:133","nodeType":"FunctionDefinition","parameters":{"id":21019,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21016,"mutability":"mutable","name":"hash","nameLocation":"389:4:133","nodeType":"VariableDeclaration","scope":21023,"src":"381:12:133","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21015,"name":"bytes32","nodeType":"ElementaryTypeName","src":"381:7:133","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":21018,"mutability":"mutable","name":"signature","nameLocation":"408:9:133","nodeType":"VariableDeclaration","scope":21023,"src":"395:22:133","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":21017,"name":"bytes","nodeType":"ElementaryTypeName","src":"395:5:133","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"380:38:133"},"returnParameters":{"id":21022,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21021,"mutability":"mutable","name":"magicValue","nameLocation":"449:10:133","nodeType":"VariableDeclaration","scope":21023,"src":"442:17:133","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":21020,"name":"bytes4","nodeType":"ElementaryTypeName","src":"442:6:133","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"441:19:133"},"scope":21024,"src":"355:106:133","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":21025,"src":"57:406:133","usedErrors":[],"usedEvents":[]}],"src":"32:432:133"},"id":133},"permit2/src/interfaces/IPermit2.sol":{"ast":{"absolutePath":"permit2/src/interfaces/IPermit2.sol","exportedSymbols":{"IAllowanceTransfer":[21003],"IPermit2":[21036],"ISignatureTransfer":[21176]},"id":21037,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":21026,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:134"},{"absolutePath":"permit2/src/interfaces/ISignatureTransfer.sol","file":"./ISignatureTransfer.sol","id":21028,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":21037,"sourceUnit":21177,"src":"57:60:134","symbolAliases":[{"foreign":{"id":21027,"name":"ISignatureTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21176,"src":"65:18:134","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"permit2/src/interfaces/IAllowanceTransfer.sol","file":"./IAllowanceTransfer.sol","id":21030,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":21037,"sourceUnit":21004,"src":"118:60:134","symbolAliases":[{"foreign":{"id":21029,"name":"IAllowanceTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21003,"src":"126:18:134","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":21032,"name":"ISignatureTransfer","nameLocations":["411:18:134"],"nodeType":"IdentifierPath","referencedDeclaration":21176,"src":"411:18:134"},"id":21033,"nodeType":"InheritanceSpecifier","src":"411:18:134"},{"baseName":{"id":21034,"name":"IAllowanceTransfer","nameLocations":["431:18:134"],"nodeType":"IdentifierPath","referencedDeclaration":21003,"src":"431:18:134"},"id":21035,"nodeType":"InheritanceSpecifier","src":"431:18:134"}],"canonicalName":"IPermit2","contractDependencies":[],"contractKind":"interface","documentation":{"id":21031,"nodeType":"StructuredDocumentation","src":"180:209:134","text":"@notice Permit2 handles signature-based transfers in SignatureTransfer and allowance-based transfers in AllowanceTransfer.\n @dev Users must approve Permit2 before calling any of the transfer functions."},"fullyImplemented":false,"id":21036,"linearizedBaseContracts":[21036,21003,21176,21011],"name":"IPermit2","nameLocation":"399:8:134","nodeType":"ContractDefinition","nodes":[],"scope":21037,"src":"389:158:134","usedErrors":[20803,20808,20811,21048,21051],"usedEvents":[20824,20837,20852,20861,21060]}],"src":"32:516:134"},"id":134},"permit2/src/interfaces/ISignatureTransfer.sol":{"ast":{"absolutePath":"permit2/src/interfaces/ISignatureTransfer.sol","exportedSymbols":{"IEIP712":[21011],"ISignatureTransfer":[21176]},"id":21177,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":21038,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:135"},{"absolutePath":"permit2/src/interfaces/IEIP712.sol","file":"./IEIP712.sol","id":21040,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":21177,"sourceUnit":21012,"src":"57:38:135","symbolAliases":[{"foreign":{"id":21039,"name":"IEIP712","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21011,"src":"65:7:135","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":21042,"name":"IEIP712","nameLocations":["296:7:135"],"nodeType":"IdentifierPath","referencedDeclaration":21011,"src":"296:7:135"},"id":21043,"nodeType":"InheritanceSpecifier","src":"296:7:135"}],"canonicalName":"ISignatureTransfer","contractDependencies":[],"contractKind":"interface","documentation":{"id":21041,"nodeType":"StructuredDocumentation","src":"97:167:135","text":"@title SignatureTransfer\n @notice Handles ERC20 token transfers through signature based actions\n @dev Requires user's token approval on the Permit2 contract"},"fullyImplemented":false,"id":21176,"linearizedBaseContracts":[21176,21011],"name":"ISignatureTransfer","nameLocation":"274:18:135","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":21044,"nodeType":"StructuredDocumentation","src":"310:176:135","text":"@notice Thrown when the requested amount for a transfer is larger than the permissioned amount\n @param maxAmount The maximum amount a spender can request to transfer"},"errorSelector":"3728b83d","id":21048,"name":"InvalidAmount","nameLocation":"497:13:135","nodeType":"ErrorDefinition","parameters":{"id":21047,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21046,"mutability":"mutable","name":"maxAmount","nameLocation":"519:9:135","nodeType":"VariableDeclaration","scope":21048,"src":"511:17:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21045,"name":"uint256","nodeType":"ElementaryTypeName","src":"511:7:135","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"510:19:135"},"src":"491:39:135"},{"documentation":{"id":21049,"nodeType":"StructuredDocumentation","src":"536:261:135","text":"@notice Thrown when the number of tokens permissioned to a spender does not match the number of tokens being transferred\n @dev If the spender does not need to transfer the number of tokens permitted, the spender can request amount 0 to be transferred"},"errorSelector":"ff633a38","id":21051,"name":"LengthMismatch","nameLocation":"808:14:135","nodeType":"ErrorDefinition","parameters":{"id":21050,"nodeType":"ParameterList","parameters":[],"src":"822:2:135"},"src":"802:23:135"},{"anonymous":false,"documentation":{"id":21052,"nodeType":"StructuredDocumentation","src":"831:86:135","text":"@notice Emits an event when the owner successfully invalidates an unordered nonce."},"eventSelector":"3704902f963766a4e561bbaab6e6cdc1b1dd12f6e9e99648da8843b3f46b918d","id":21060,"name":"UnorderedNonceInvalidation","nameLocation":"928:26:135","nodeType":"EventDefinition","parameters":{"id":21059,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21054,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"971:5:135","nodeType":"VariableDeclaration","scope":21060,"src":"955:21:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21053,"name":"address","nodeType":"ElementaryTypeName","src":"955:7:135","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21056,"indexed":false,"mutability":"mutable","name":"word","nameLocation":"986:4:135","nodeType":"VariableDeclaration","scope":21060,"src":"978:12:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21055,"name":"uint256","nodeType":"ElementaryTypeName","src":"978:7:135","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":21058,"indexed":false,"mutability":"mutable","name":"mask","nameLocation":"1000:4:135","nodeType":"VariableDeclaration","scope":21060,"src":"992:12:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21057,"name":"uint256","nodeType":"ElementaryTypeName","src":"992:7:135","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"954:51:135"},"src":"922:84:135"},{"canonicalName":"ISignatureTransfer.TokenPermissions","documentation":{"id":21061,"nodeType":"StructuredDocumentation","src":"1012:95:135","text":"@notice The token and amount details for a transfer signed in the permit transfer signature"},"id":21066,"members":[{"constant":false,"id":21063,"mutability":"mutable","name":"token","nameLocation":"1185:5:135","nodeType":"VariableDeclaration","scope":21066,"src":"1177:13:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21062,"name":"address","nodeType":"ElementaryTypeName","src":"1177:7:135","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21065,"mutability":"mutable","name":"amount","nameLocation":"1256:6:135","nodeType":"VariableDeclaration","scope":21066,"src":"1248:14:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21064,"name":"uint256","nodeType":"ElementaryTypeName","src":"1248:7:135","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"TokenPermissions","nameLocation":"1119:16:135","nodeType":"StructDefinition","scope":21176,"src":"1112:157:135","visibility":"public"},{"canonicalName":"ISignatureTransfer.PermitTransferFrom","documentation":{"id":21067,"nodeType":"StructuredDocumentation","src":"1275:65:135","text":"@notice The signed permit message for a single token transfer"},"id":21075,"members":[{"constant":false,"id":21070,"mutability":"mutable","name":"permitted","nameLocation":"1398:9:135","nodeType":"VariableDeclaration","scope":21075,"src":"1381:26:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_struct$_TokenPermissions_$21066_storage_ptr","typeString":"struct ISignatureTransfer.TokenPermissions"},"typeName":{"id":21069,"nodeType":"UserDefinedTypeName","pathNode":{"id":21068,"name":"TokenPermissions","nameLocations":["1381:16:135"],"nodeType":"IdentifierPath","referencedDeclaration":21066,"src":"1381:16:135"},"referencedDeclaration":21066,"src":"1381:16:135","typeDescriptions":{"typeIdentifier":"t_struct$_TokenPermissions_$21066_storage_ptr","typeString":"struct ISignatureTransfer.TokenPermissions"}},"visibility":"internal"},{"constant":false,"id":21072,"mutability":"mutable","name":"nonce","nameLocation":"1514:5:135","nodeType":"VariableDeclaration","scope":21075,"src":"1506:13:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21071,"name":"uint256","nodeType":"ElementaryTypeName","src":"1506:7:135","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":21074,"mutability":"mutable","name":"deadline","nameLocation":"1581:8:135","nodeType":"VariableDeclaration","scope":21075,"src":"1573:16:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21073,"name":"uint256","nodeType":"ElementaryTypeName","src":"1573:7:135","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"PermitTransferFrom","nameLocation":"1352:18:135","nodeType":"StructDefinition","scope":21176,"src":"1345:251:135","visibility":"public"},{"canonicalName":"ISignatureTransfer.SignatureTransferDetails","documentation":{"id":21076,"nodeType":"StructuredDocumentation","src":"1602:266:135","text":"@notice Specifies the recipient address and amount for batched transfers.\n @dev Recipients and amounts correspond to the index of the signed token permissions array.\n @dev Reverts if the requested amount is greater than the permitted signed amount."},"id":21081,"members":[{"constant":false,"id":21078,"mutability":"mutable","name":"to","nameLocation":"1952:2:135","nodeType":"VariableDeclaration","scope":21081,"src":"1944:10:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21077,"name":"address","nodeType":"ElementaryTypeName","src":"1944:7:135","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21080,"mutability":"mutable","name":"requestedAmount","nameLocation":"2008:15:135","nodeType":"VariableDeclaration","scope":21081,"src":"2000:23:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21079,"name":"uint256","nodeType":"ElementaryTypeName","src":"2000:7:135","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"SignatureTransferDetails","nameLocation":"1880:24:135","nodeType":"StructDefinition","scope":21176,"src":"1873:157:135","visibility":"public"},{"canonicalName":"ISignatureTransfer.PermitBatchTransferFrom","documentation":{"id":21082,"nodeType":"StructuredDocumentation","src":"2036:243:135","text":"@notice Used to reconstruct the signed permit message for multiple token transfers\n @dev Do not need to pass in spender address as it is required that it is msg.sender\n @dev Note that a user still signs over a spender address"},"id":21091,"members":[{"constant":false,"id":21086,"mutability":"mutable","name":"permitted","nameLocation":"2417:9:135","nodeType":"VariableDeclaration","scope":21091,"src":"2398:28:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TokenPermissions_$21066_storage_$dyn_storage_ptr","typeString":"struct ISignatureTransfer.TokenPermissions[]"},"typeName":{"baseType":{"id":21084,"nodeType":"UserDefinedTypeName","pathNode":{"id":21083,"name":"TokenPermissions","nameLocations":["2398:16:135"],"nodeType":"IdentifierPath","referencedDeclaration":21066,"src":"2398:16:135"},"referencedDeclaration":21066,"src":"2398:16:135","typeDescriptions":{"typeIdentifier":"t_struct$_TokenPermissions_$21066_storage_ptr","typeString":"struct ISignatureTransfer.TokenPermissions"}},"id":21085,"nodeType":"ArrayTypeName","src":"2398:18:135","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TokenPermissions_$21066_storage_$dyn_storage_ptr","typeString":"struct ISignatureTransfer.TokenPermissions[]"}},"visibility":"internal"},{"constant":false,"id":21088,"mutability":"mutable","name":"nonce","nameLocation":"2533:5:135","nodeType":"VariableDeclaration","scope":21091,"src":"2525:13:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21087,"name":"uint256","nodeType":"ElementaryTypeName","src":"2525:7:135","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":21090,"mutability":"mutable","name":"deadline","nameLocation":"2600:8:135","nodeType":"VariableDeclaration","scope":21091,"src":"2592:16:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21089,"name":"uint256","nodeType":"ElementaryTypeName","src":"2592:7:135","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"PermitBatchTransferFrom","nameLocation":"2291:23:135","nodeType":"StructDefinition","scope":21176,"src":"2284:331:135","visibility":"public"},{"documentation":{"id":21092,"nodeType":"StructuredDocumentation","src":"2621:483:135","text":"@notice A map from token owner address and a caller specified word index to a bitmap. Used to set bits in the bitmap to prevent against signature replay protection\n @dev Uses unordered nonces so that permit messages do not need to be spent in a certain order\n @dev The mapping is indexed first by the token owner, then by an index specified in the nonce\n @dev It returns a uint256 bitmap\n @dev The index, or wordPosition is capped at type(uint248).max"},"functionSelector":"4fe02b44","id":21101,"implemented":false,"kind":"function","modifiers":[],"name":"nonceBitmap","nameLocation":"3118:11:135","nodeType":"FunctionDefinition","parameters":{"id":21097,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21094,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":21101,"src":"3130:7:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21093,"name":"address","nodeType":"ElementaryTypeName","src":"3130:7:135","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21096,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":21101,"src":"3139:7:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21095,"name":"uint256","nodeType":"ElementaryTypeName","src":"3139:7:135","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3129:18:135"},"returnParameters":{"id":21100,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21099,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":21101,"src":"3171:7:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21098,"name":"uint256","nodeType":"ElementaryTypeName","src":"3171:7:135","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3170:9:135"},"scope":21176,"src":"3109:71:135","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":21102,"nodeType":"StructuredDocumentation","src":"3186:413:135","text":"@notice Transfers a token using a signed permit message\n @dev Reverts if the requested amount is greater than the permitted signed amount\n @param permit The permit data signed over by the owner\n @param owner The owner of the tokens to transfer\n @param transferDetails The spender's requested transfer details for the permitted token\n @param signature The signature to verify"},"functionSelector":"30f28b7a","id":21115,"implemented":false,"kind":"function","modifiers":[],"name":"permitTransferFrom","nameLocation":"3613:18:135","nodeType":"FunctionDefinition","parameters":{"id":21113,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21105,"mutability":"mutable","name":"permit","nameLocation":"3667:6:135","nodeType":"VariableDeclaration","scope":21115,"src":"3641:32:135","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PermitTransferFrom_$21075_memory_ptr","typeString":"struct ISignatureTransfer.PermitTransferFrom"},"typeName":{"id":21104,"nodeType":"UserDefinedTypeName","pathNode":{"id":21103,"name":"PermitTransferFrom","nameLocations":["3641:18:135"],"nodeType":"IdentifierPath","referencedDeclaration":21075,"src":"3641:18:135"},"referencedDeclaration":21075,"src":"3641:18:135","typeDescriptions":{"typeIdentifier":"t_struct$_PermitTransferFrom_$21075_storage_ptr","typeString":"struct ISignatureTransfer.PermitTransferFrom"}},"visibility":"internal"},{"constant":false,"id":21108,"mutability":"mutable","name":"transferDetails","nameLocation":"3717:15:135","nodeType":"VariableDeclaration","scope":21115,"src":"3683:49:135","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SignatureTransferDetails_$21081_calldata_ptr","typeString":"struct ISignatureTransfer.SignatureTransferDetails"},"typeName":{"id":21107,"nodeType":"UserDefinedTypeName","pathNode":{"id":21106,"name":"SignatureTransferDetails","nameLocations":["3683:24:135"],"nodeType":"IdentifierPath","referencedDeclaration":21081,"src":"3683:24:135"},"referencedDeclaration":21081,"src":"3683:24:135","typeDescriptions":{"typeIdentifier":"t_struct$_SignatureTransferDetails_$21081_storage_ptr","typeString":"struct ISignatureTransfer.SignatureTransferDetails"}},"visibility":"internal"},{"constant":false,"id":21110,"mutability":"mutable","name":"owner","nameLocation":"3750:5:135","nodeType":"VariableDeclaration","scope":21115,"src":"3742:13:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21109,"name":"address","nodeType":"ElementaryTypeName","src":"3742:7:135","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21112,"mutability":"mutable","name":"signature","nameLocation":"3780:9:135","nodeType":"VariableDeclaration","scope":21115,"src":"3765:24:135","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":21111,"name":"bytes","nodeType":"ElementaryTypeName","src":"3765:5:135","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3631:164:135"},"returnParameters":{"id":21114,"nodeType":"ParameterList","parameters":[],"src":"3804:0:135"},"scope":21176,"src":"3604:201:135","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":21116,"nodeType":"StructuredDocumentation","src":"3811:815:135","text":"@notice Transfers a token using a signed permit message\n @notice Includes extra data provided by the caller to verify signature over\n @dev The witness type string must follow EIP712 ordering of nested structs and must include the TokenPermissions type definition\n @dev Reverts if the requested amount is greater than the permitted signed amount\n @param permit The permit data signed over by the owner\n @param owner The owner of the tokens to transfer\n @param transferDetails The spender's requested transfer details for the permitted token\n @param witness Extra data to include when checking the user signature\n @param witnessTypeString The EIP-712 type definition for remaining string stub of the typehash\n @param signature The signature to verify"},"functionSelector":"137c29fe","id":21133,"implemented":false,"kind":"function","modifiers":[],"name":"permitWitnessTransferFrom","nameLocation":"4640:25:135","nodeType":"FunctionDefinition","parameters":{"id":21131,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21119,"mutability":"mutable","name":"permit","nameLocation":"4701:6:135","nodeType":"VariableDeclaration","scope":21133,"src":"4675:32:135","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PermitTransferFrom_$21075_memory_ptr","typeString":"struct ISignatureTransfer.PermitTransferFrom"},"typeName":{"id":21118,"nodeType":"UserDefinedTypeName","pathNode":{"id":21117,"name":"PermitTransferFrom","nameLocations":["4675:18:135"],"nodeType":"IdentifierPath","referencedDeclaration":21075,"src":"4675:18:135"},"referencedDeclaration":21075,"src":"4675:18:135","typeDescriptions":{"typeIdentifier":"t_struct$_PermitTransferFrom_$21075_storage_ptr","typeString":"struct ISignatureTransfer.PermitTransferFrom"}},"visibility":"internal"},{"constant":false,"id":21122,"mutability":"mutable","name":"transferDetails","nameLocation":"4751:15:135","nodeType":"VariableDeclaration","scope":21133,"src":"4717:49:135","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_struct$_SignatureTransferDetails_$21081_calldata_ptr","typeString":"struct ISignatureTransfer.SignatureTransferDetails"},"typeName":{"id":21121,"nodeType":"UserDefinedTypeName","pathNode":{"id":21120,"name":"SignatureTransferDetails","nameLocations":["4717:24:135"],"nodeType":"IdentifierPath","referencedDeclaration":21081,"src":"4717:24:135"},"referencedDeclaration":21081,"src":"4717:24:135","typeDescriptions":{"typeIdentifier":"t_struct$_SignatureTransferDetails_$21081_storage_ptr","typeString":"struct ISignatureTransfer.SignatureTransferDetails"}},"visibility":"internal"},{"constant":false,"id":21124,"mutability":"mutable","name":"owner","nameLocation":"4784:5:135","nodeType":"VariableDeclaration","scope":21133,"src":"4776:13:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21123,"name":"address","nodeType":"ElementaryTypeName","src":"4776:7:135","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21126,"mutability":"mutable","name":"witness","nameLocation":"4807:7:135","nodeType":"VariableDeclaration","scope":21133,"src":"4799:15:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21125,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4799:7:135","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":21128,"mutability":"mutable","name":"witnessTypeString","nameLocation":"4840:17:135","nodeType":"VariableDeclaration","scope":21133,"src":"4824:33:135","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string"},"typeName":{"id":21127,"name":"string","nodeType":"ElementaryTypeName","src":"4824:6:135","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":21130,"mutability":"mutable","name":"signature","nameLocation":"4882:9:135","nodeType":"VariableDeclaration","scope":21133,"src":"4867:24:135","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":21129,"name":"bytes","nodeType":"ElementaryTypeName","src":"4867:5:135","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4665:232:135"},"returnParameters":{"id":21132,"nodeType":"ParameterList","parameters":[],"src":"4906:0:135"},"scope":21176,"src":"4631:276:135","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":21134,"nodeType":"StructuredDocumentation","src":"4913:335:135","text":"@notice Transfers multiple tokens using a signed permit message\n @param permit The permit data signed over by the owner\n @param owner The owner of the tokens to transfer\n @param transferDetails Specifies the recipient and requested amount for the token transfer\n @param signature The signature to verify"},"functionSelector":"edd9444b","id":21148,"implemented":false,"kind":"function","modifiers":[],"name":"permitTransferFrom","nameLocation":"5262:18:135","nodeType":"FunctionDefinition","parameters":{"id":21146,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21137,"mutability":"mutable","name":"permit","nameLocation":"5321:6:135","nodeType":"VariableDeclaration","scope":21148,"src":"5290:37:135","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatchTransferFrom_$21091_memory_ptr","typeString":"struct ISignatureTransfer.PermitBatchTransferFrom"},"typeName":{"id":21136,"nodeType":"UserDefinedTypeName","pathNode":{"id":21135,"name":"PermitBatchTransferFrom","nameLocations":["5290:23:135"],"nodeType":"IdentifierPath","referencedDeclaration":21091,"src":"5290:23:135"},"referencedDeclaration":21091,"src":"5290:23:135","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatchTransferFrom_$21091_storage_ptr","typeString":"struct ISignatureTransfer.PermitBatchTransferFrom"}},"visibility":"internal"},{"constant":false,"id":21141,"mutability":"mutable","name":"transferDetails","nameLocation":"5373:15:135","nodeType":"VariableDeclaration","scope":21148,"src":"5337:51:135","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_SignatureTransferDetails_$21081_calldata_ptr_$dyn_calldata_ptr","typeString":"struct ISignatureTransfer.SignatureTransferDetails[]"},"typeName":{"baseType":{"id":21139,"nodeType":"UserDefinedTypeName","pathNode":{"id":21138,"name":"SignatureTransferDetails","nameLocations":["5337:24:135"],"nodeType":"IdentifierPath","referencedDeclaration":21081,"src":"5337:24:135"},"referencedDeclaration":21081,"src":"5337:24:135","typeDescriptions":{"typeIdentifier":"t_struct$_SignatureTransferDetails_$21081_storage_ptr","typeString":"struct ISignatureTransfer.SignatureTransferDetails"}},"id":21140,"nodeType":"ArrayTypeName","src":"5337:26:135","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_SignatureTransferDetails_$21081_storage_$dyn_storage_ptr","typeString":"struct ISignatureTransfer.SignatureTransferDetails[]"}},"visibility":"internal"},{"constant":false,"id":21143,"mutability":"mutable","name":"owner","nameLocation":"5406:5:135","nodeType":"VariableDeclaration","scope":21148,"src":"5398:13:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21142,"name":"address","nodeType":"ElementaryTypeName","src":"5398:7:135","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21145,"mutability":"mutable","name":"signature","nameLocation":"5436:9:135","nodeType":"VariableDeclaration","scope":21148,"src":"5421:24:135","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":21144,"name":"bytes","nodeType":"ElementaryTypeName","src":"5421:5:135","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5280:171:135"},"returnParameters":{"id":21147,"nodeType":"ParameterList","parameters":[],"src":"5460:0:135"},"scope":21176,"src":"5253:208:135","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":21149,"nodeType":"StructuredDocumentation","src":"5467:737:135","text":"@notice Transfers multiple tokens using a signed permit message\n @dev The witness type string must follow EIP712 ordering of nested structs and must include the TokenPermissions type definition\n @notice Includes extra data provided by the caller to verify signature over\n @param permit The permit data signed over by the owner\n @param owner The owner of the tokens to transfer\n @param transferDetails Specifies the recipient and requested amount for the token transfer\n @param witness Extra data to include when checking the user signature\n @param witnessTypeString The EIP-712 type definition for remaining string stub of the typehash\n @param signature The signature to verify"},"functionSelector":"fe8ec1a7","id":21167,"implemented":false,"kind":"function","modifiers":[],"name":"permitWitnessTransferFrom","nameLocation":"6218:25:135","nodeType":"FunctionDefinition","parameters":{"id":21165,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21152,"mutability":"mutable","name":"permit","nameLocation":"6284:6:135","nodeType":"VariableDeclaration","scope":21167,"src":"6253:37:135","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatchTransferFrom_$21091_memory_ptr","typeString":"struct ISignatureTransfer.PermitBatchTransferFrom"},"typeName":{"id":21151,"nodeType":"UserDefinedTypeName","pathNode":{"id":21150,"name":"PermitBatchTransferFrom","nameLocations":["6253:23:135"],"nodeType":"IdentifierPath","referencedDeclaration":21091,"src":"6253:23:135"},"referencedDeclaration":21091,"src":"6253:23:135","typeDescriptions":{"typeIdentifier":"t_struct$_PermitBatchTransferFrom_$21091_storage_ptr","typeString":"struct ISignatureTransfer.PermitBatchTransferFrom"}},"visibility":"internal"},{"constant":false,"id":21156,"mutability":"mutable","name":"transferDetails","nameLocation":"6336:15:135","nodeType":"VariableDeclaration","scope":21167,"src":"6300:51:135","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_SignatureTransferDetails_$21081_calldata_ptr_$dyn_calldata_ptr","typeString":"struct ISignatureTransfer.SignatureTransferDetails[]"},"typeName":{"baseType":{"id":21154,"nodeType":"UserDefinedTypeName","pathNode":{"id":21153,"name":"SignatureTransferDetails","nameLocations":["6300:24:135"],"nodeType":"IdentifierPath","referencedDeclaration":21081,"src":"6300:24:135"},"referencedDeclaration":21081,"src":"6300:24:135","typeDescriptions":{"typeIdentifier":"t_struct$_SignatureTransferDetails_$21081_storage_ptr","typeString":"struct ISignatureTransfer.SignatureTransferDetails"}},"id":21155,"nodeType":"ArrayTypeName","src":"6300:26:135","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_SignatureTransferDetails_$21081_storage_$dyn_storage_ptr","typeString":"struct ISignatureTransfer.SignatureTransferDetails[]"}},"visibility":"internal"},{"constant":false,"id":21158,"mutability":"mutable","name":"owner","nameLocation":"6369:5:135","nodeType":"VariableDeclaration","scope":21167,"src":"6361:13:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21157,"name":"address","nodeType":"ElementaryTypeName","src":"6361:7:135","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21160,"mutability":"mutable","name":"witness","nameLocation":"6392:7:135","nodeType":"VariableDeclaration","scope":21167,"src":"6384:15:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21159,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6384:7:135","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":21162,"mutability":"mutable","name":"witnessTypeString","nameLocation":"6425:17:135","nodeType":"VariableDeclaration","scope":21167,"src":"6409:33:135","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string"},"typeName":{"id":21161,"name":"string","nodeType":"ElementaryTypeName","src":"6409:6:135","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":21164,"mutability":"mutable","name":"signature","nameLocation":"6467:9:135","nodeType":"VariableDeclaration","scope":21167,"src":"6452:24:135","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":21163,"name":"bytes","nodeType":"ElementaryTypeName","src":"6452:5:135","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6243:239:135"},"returnParameters":{"id":21166,"nodeType":"ParameterList","parameters":[],"src":"6491:0:135"},"scope":21176,"src":"6209:283:135","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":21168,"nodeType":"StructuredDocumentation","src":"6498:294:135","text":"@notice Invalidates the bits specified in mask for the bitmap at the word position\n @dev The wordPos is maxed at type(uint248).max\n @param wordPos A number to index the nonceBitmap at\n @param mask A bitmap masked against msg.sender's current bitmap at the word position"},"functionSelector":"3ff9dcb1","id":21175,"implemented":false,"kind":"function","modifiers":[],"name":"invalidateUnorderedNonces","nameLocation":"6806:25:135","nodeType":"FunctionDefinition","parameters":{"id":21173,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21170,"mutability":"mutable","name":"wordPos","nameLocation":"6840:7:135","nodeType":"VariableDeclaration","scope":21175,"src":"6832:15:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21169,"name":"uint256","nodeType":"ElementaryTypeName","src":"6832:7:135","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":21172,"mutability":"mutable","name":"mask","nameLocation":"6857:4:135","nodeType":"VariableDeclaration","scope":21175,"src":"6849:12:135","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21171,"name":"uint256","nodeType":"ElementaryTypeName","src":"6849:7:135","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6831:31:135"},"returnParameters":{"id":21174,"nodeType":"ParameterList","parameters":[],"src":"6871:0:135"},"scope":21176,"src":"6797:75:135","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":21177,"src":"264:6610:135","usedErrors":[21048,21051],"usedEvents":[21060]}],"src":"32:6843:135"},"id":135},"permit2/src/libraries/SafeCast160.sol":{"ast":{"absolutePath":"permit2/src/libraries/SafeCast160.sol","exportedSymbols":{"SafeCast160":[21207]},"id":21208,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":21178,"literals":["solidity","^","0.8",".17"],"nodeType":"PragmaDirective","src":"32:24:136"},{"abstract":false,"baseContracts":[],"canonicalName":"SafeCast160","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"id":21207,"linearizedBaseContracts":[21207],"name":"SafeCast160","nameLocation":"66:11:136","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":21179,"nodeType":"StructuredDocumentation","src":"84:82:136","text":"@notice Thrown when a valude greater than type(uint160).max is cast to uint160"},"errorSelector":"c4bd89a9","id":21181,"name":"UnsafeCast","nameLocation":"177:10:136","nodeType":"ErrorDefinition","parameters":{"id":21180,"nodeType":"ParameterList","parameters":[],"src":"187:2:136"},"src":"171:19:136"},{"body":{"id":21205,"nodeType":"Block","src":"354:98:136","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":21195,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":21189,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21184,"src":"368:5:136","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":21192,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"381:7:136","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":21191,"name":"uint160","nodeType":"ElementaryTypeName","src":"381:7:136","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"}],"id":21190,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"376:4:136","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":21193,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"376:13:136","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint160","typeString":"type(uint160)"}},"id":21194,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"390:3:136","memberName":"max","nodeType":"MemberAccess","src":"376:17:136","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"368:25:136","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":21199,"nodeType":"IfStatement","src":"364:50:136","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":21196,"name":"UnsafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21181,"src":"402:10:136","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":21197,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"402:12:136","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":21198,"nodeType":"RevertStatement","src":"395:19:136"}},{"expression":{"arguments":[{"id":21202,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21184,"src":"439:5:136","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":21201,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"431:7:136","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":21200,"name":"uint160","nodeType":"ElementaryTypeName","src":"431:7:136","typeDescriptions":{}}},"id":21203,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"431:14:136","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"functionReturnParameters":21188,"id":21204,"nodeType":"Return","src":"424:21:136"}]},"documentation":{"id":21182,"nodeType":"StructuredDocumentation","src":"196:87:136","text":"@notice Safely casts uint256 to uint160\n @param value The uint256 to be cast"},"id":21206,"implemented":true,"kind":"function","modifiers":[],"name":"toUint160","nameLocation":"297:9:136","nodeType":"FunctionDefinition","parameters":{"id":21185,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21184,"mutability":"mutable","name":"value","nameLocation":"315:5:136","nodeType":"VariableDeclaration","scope":21206,"src":"307:13:136","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21183,"name":"uint256","nodeType":"ElementaryTypeName","src":"307:7:136","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"306:15:136"},"returnParameters":{"id":21188,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21187,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":21206,"src":"345:7:136","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":21186,"name":"uint160","nodeType":"ElementaryTypeName","src":"345:7:136","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"344:9:136"},"scope":21207,"src":"288:164:136","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":21208,"src":"58:396:136","usedErrors":[21181],"usedEvents":[]}],"src":"32:423:136"},"id":136},"permit2/src/libraries/SignatureVerification.sol":{"ast":{"absolutePath":"permit2/src/libraries/SignatureVerification.sol","exportedSymbols":{"IERC1271":[21024],"SignatureVerification":[21376]},"id":21377,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":21209,"literals":["solidity","^","0.8",".17"],"nodeType":"PragmaDirective","src":"32:24:137"},{"absolutePath":"permit2/src/interfaces/IERC1271.sol","file":"../interfaces/IERC1271.sol","id":21211,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":21377,"sourceUnit":21025,"src":"58:52:137","symbolAliases":[{"foreign":{"id":21210,"name":"IERC1271","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21024,"src":"66:8:137","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"SignatureVerification","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"id":21376,"linearizedBaseContracts":[21376],"name":"SignatureVerification","nameLocation":"120:21:137","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":21212,"nodeType":"StructuredDocumentation","src":"148:69:137","text":"@notice Thrown when the passed in signature is not a valid length"},"errorSelector":"4be6321b","id":21214,"name":"InvalidSignatureLength","nameLocation":"228:22:137","nodeType":"ErrorDefinition","parameters":{"id":21213,"nodeType":"ParameterList","parameters":[],"src":"250:2:137"},"src":"222:31:137"},{"documentation":{"id":21215,"nodeType":"StructuredDocumentation","src":"259:73:137","text":"@notice Thrown when the recovered signer is equal to the zero address"},"errorSelector":"8baa579f","id":21217,"name":"InvalidSignature","nameLocation":"343:16:137","nodeType":"ErrorDefinition","parameters":{"id":21216,"nodeType":"ParameterList","parameters":[],"src":"359:2:137"},"src":"337:25:137"},{"documentation":{"id":21218,"nodeType":"StructuredDocumentation","src":"368:77:137","text":"@notice Thrown when the recovered signer does not equal the claimedSigner"},"errorSelector":"815e1d64","id":21220,"name":"InvalidSigner","nameLocation":"456:13:137","nodeType":"ErrorDefinition","parameters":{"id":21219,"nodeType":"ParameterList","parameters":[],"src":"469:2:137"},"src":"450:22:137"},{"documentation":{"id":21221,"nodeType":"StructuredDocumentation","src":"478:69:137","text":"@notice Thrown when the recovered contract signature is incorrect"},"errorSelector":"b0669cbc","id":21223,"name":"InvalidContractSignature","nameLocation":"558:24:137","nodeType":"ErrorDefinition","parameters":{"id":21222,"nodeType":"ParameterList","parameters":[],"src":"582:2:137"},"src":"552:33:137"},{"constant":true,"id":21227,"mutability":"constant","name":"UPPER_BIT_MASK","nameLocation":"608:14:137","nodeType":"VariableDeclaration","scope":21376,"src":"591:102:137","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21224,"name":"bytes32","nodeType":"ElementaryTypeName","src":"591:7:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"components":[{"hexValue":"307837666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666","id":21225,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"626:66:137","typeDescriptions":{"typeIdentifier":"t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819967_by_1","typeString":"int_const 5789...(69 digits omitted)...9967"},"value":"0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"id":21226,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"625:68:137","typeDescriptions":{"typeIdentifier":"t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819967_by_1","typeString":"int_const 5789...(69 digits omitted)...9967"}},"visibility":"internal"},{"body":{"id":21374,"nodeType":"Block","src":"793:1016:137","statements":[{"assignments":[21237],"declarations":[{"constant":false,"id":21237,"mutability":"mutable","name":"r","nameLocation":"811:1:137","nodeType":"VariableDeclaration","scope":21374,"src":"803:9:137","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21236,"name":"bytes32","nodeType":"ElementaryTypeName","src":"803:7:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":21238,"nodeType":"VariableDeclarationStatement","src":"803:9:137"},{"assignments":[21240],"declarations":[{"constant":false,"id":21240,"mutability":"mutable","name":"s","nameLocation":"830:1:137","nodeType":"VariableDeclaration","scope":21374,"src":"822:9:137","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21239,"name":"bytes32","nodeType":"ElementaryTypeName","src":"822:7:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":21241,"nodeType":"VariableDeclarationStatement","src":"822:9:137"},{"assignments":[21243],"declarations":[{"constant":false,"id":21243,"mutability":"mutable","name":"v","nameLocation":"847:1:137","nodeType":"VariableDeclaration","scope":21374,"src":"841:7:137","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":21242,"name":"uint8","nodeType":"ElementaryTypeName","src":"841:5:137","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":21244,"nodeType":"VariableDeclarationStatement","src":"841:7:137"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":21249,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":21245,"name":"claimedSigner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21233,"src":"863:13:137","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":21246,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"877:4:137","memberName":"code","nodeType":"MemberAccess","src":"863:18:137","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":21247,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"882:6:137","memberName":"length","nodeType":"MemberAccess","src":"863:25:137","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":21248,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"892:1:137","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"863:30:137","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":21372,"nodeType":"Block","src":"1600:203:137","statements":[{"assignments":[21354],"declarations":[{"constant":false,"id":21354,"mutability":"mutable","name":"magicValue","nameLocation":"1621:10:137","nodeType":"VariableDeclaration","scope":21372,"src":"1614:17:137","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":21353,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1614:6:137","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"id":21362,"initialValue":{"arguments":[{"id":21359,"name":"hash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21231,"src":"1675:4:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":21360,"name":"signature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21229,"src":"1681:9:137","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"arguments":[{"id":21356,"name":"claimedSigner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21233,"src":"1643:13:137","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":21355,"name":"IERC1271","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21024,"src":"1634:8:137","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC1271_$21024_$","typeString":"type(contract IERC1271)"}},"id":21357,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1634:23:137","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC1271_$21024","typeString":"contract IERC1271"}},"id":21358,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1658:16:137","memberName":"isValidSignature","nodeType":"MemberAccess","referencedDeclaration":21023,"src":"1634:40:137","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes4_$","typeString":"function (bytes32,bytes memory) view external returns (bytes4)"}},"id":21361,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1634:57:137","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"VariableDeclarationStatement","src":"1614:77:137"},{"condition":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":21367,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":21363,"name":"magicValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21354,"src":"1709:10:137","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"expression":{"id":21364,"name":"IERC1271","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21024,"src":"1723:8:137","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC1271_$21024_$","typeString":"type(contract IERC1271)"}},"id":21365,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1732:16:137","memberName":"isValidSignature","nodeType":"MemberAccess","referencedDeclaration":21023,"src":"1723:25:137","typeDescriptions":{"typeIdentifier":"t_function_declaration_view$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_bytes4_$","typeString":"function IERC1271.isValidSignature(bytes32,bytes memory) view returns (bytes4)"}},"id":21366,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1749:8:137","memberName":"selector","nodeType":"MemberAccess","src":"1723:34:137","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"1709:48:137","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":21371,"nodeType":"IfStatement","src":"1705:87:137","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":21368,"name":"InvalidContractSignature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21223,"src":"1766:24:137","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":21369,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1766:26:137","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":21370,"nodeType":"RevertStatement","src":"1759:33:137"}}]},"id":21373,"nodeType":"IfStatement","src":"859:944:137","trueBody":{"id":21352,"nodeType":"Block","src":"895:699:137","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":21253,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":21250,"name":"signature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21229,"src":"913:9:137","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":21251,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"923:6:137","memberName":"length","nodeType":"MemberAccess","src":"913:16:137","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"3635","id":21252,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"933:2:137","typeDescriptions":{"typeIdentifier":"t_rational_65_by_1","typeString":"int_const 65"},"value":"65"},"src":"913:22:137","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":21281,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":21278,"name":"signature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21229,"src":"1072:9:137","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":21279,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1082:6:137","memberName":"length","nodeType":"MemberAccess","src":"1072:16:137","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"3634","id":21280,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1092:2:137","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"1072:22:137","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":21323,"nodeType":"Block","src":"1335:64:137","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":21320,"name":"InvalidSignatureLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21214,"src":"1360:22:137","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":21321,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1360:24:137","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":21322,"nodeType":"RevertStatement","src":"1353:31:137"}]},"id":21324,"nodeType":"IfStatement","src":"1068:331:137","trueBody":{"id":21319,"nodeType":"Block","src":"1096:233:137","statements":[{"assignments":[21283],"declarations":[{"constant":false,"id":21283,"mutability":"mutable","name":"vs","nameLocation":"1150:2:137","nodeType":"VariableDeclaration","scope":21319,"src":"1142:10:137","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21282,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1142:7:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":21284,"nodeType":"VariableDeclarationStatement","src":"1142:10:137"},{"expression":{"id":21297,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":21285,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21237,"src":"1171:1:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":21286,"name":"vs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21283,"src":"1174:2:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":21287,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1170:7:137","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes32_$_t_bytes32_$","typeString":"tuple(bytes32,bytes32)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":21290,"name":"signature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21229,"src":"1191:9:137","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"components":[{"id":21292,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1203:7:137","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":21291,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1203:7:137","typeDescriptions":{}}},{"id":21294,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1212:7:137","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":21293,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1212:7:137","typeDescriptions":{}}}],"id":21295,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"1202:18:137","typeDescriptions":{"typeIdentifier":"t_tuple$_t_type$_t_bytes32_$_$_t_type$_t_bytes32_$_$","typeString":"tuple(type(bytes32),type(bytes32))"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_tuple$_t_type$_t_bytes32_$_$_t_type$_t_bytes32_$_$","typeString":"tuple(type(bytes32),type(bytes32))"}],"expression":{"id":21288,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1180:3:137","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":21289,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1184:6:137","memberName":"decode","nodeType":"MemberAccess","src":"1180:10:137","typeDescriptions":{"typeIdentifier":"t_function_abidecode_pure$__$returns$__$","typeString":"function () pure"}},"id":21296,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1180:41:137","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes32_$_t_bytes32_$","typeString":"tuple(bytes32,bytes32)"}},"src":"1170:51:137","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21298,"nodeType":"ExpressionStatement","src":"1170:51:137"},{"expression":{"id":21303,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21299,"name":"s","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21240,"src":"1239:1:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"id":21302,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":21300,"name":"vs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21283,"src":"1243:2:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":21301,"name":"UPPER_BIT_MASK","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21227,"src":"1248:14:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1243:19:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"1239:23:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":21304,"nodeType":"ExpressionStatement","src":"1239:23:137"},{"expression":{"id":21317,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21305,"name":"v","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21243,"src":"1280:1:137","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":21316,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"arguments":[{"commonType":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"id":21312,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":21310,"name":"vs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21283,"src":"1298:2:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"323535","id":21311,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1304:3:137","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"255"},"src":"1298:9:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":21309,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1290:7:137","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":21308,"name":"uint256","nodeType":"ElementaryTypeName","src":"1290:7:137","typeDescriptions":{}}},"id":21313,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1290:18:137","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":21307,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1284:5:137","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":21306,"name":"uint8","nodeType":"ElementaryTypeName","src":"1284:5:137","typeDescriptions":{}}},"id":21314,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1284:25:137","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"3237","id":21315,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1312:2:137","typeDescriptions":{"typeIdentifier":"t_rational_27_by_1","typeString":"int_const 27"},"value":"27"},"src":"1284:30:137","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"1280:34:137","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":21318,"nodeType":"ExpressionStatement","src":"1280:34:137"}]}},"id":21325,"nodeType":"IfStatement","src":"909:490:137","trueBody":{"id":21277,"nodeType":"Block","src":"937:125:137","statements":[{"expression":{"id":21266,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":21254,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21237,"src":"956:1:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":21255,"name":"s","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21240,"src":"959:1:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":21256,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"955:6:137","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes32_$_t_bytes32_$","typeString":"tuple(bytes32,bytes32)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":21259,"name":"signature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21229,"src":"975:9:137","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},{"components":[{"id":21261,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"987:7:137","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":21260,"name":"bytes32","nodeType":"ElementaryTypeName","src":"987:7:137","typeDescriptions":{}}},{"id":21263,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"996:7:137","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":21262,"name":"bytes32","nodeType":"ElementaryTypeName","src":"996:7:137","typeDescriptions":{}}}],"id":21264,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"986:18:137","typeDescriptions":{"typeIdentifier":"t_tuple$_t_type$_t_bytes32_$_$_t_type$_t_bytes32_$_$","typeString":"tuple(type(bytes32),type(bytes32))"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"},{"typeIdentifier":"t_tuple$_t_type$_t_bytes32_$_$_t_type$_t_bytes32_$_$","typeString":"tuple(type(bytes32),type(bytes32))"}],"expression":{"id":21257,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"964:3:137","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":21258,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"968:6:137","memberName":"decode","nodeType":"MemberAccess","src":"964:10:137","typeDescriptions":{"typeIdentifier":"t_function_abidecode_pure$__$returns$__$","typeString":"function () pure"}},"id":21265,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"964:41:137","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes32_$_t_bytes32_$","typeString":"tuple(bytes32,bytes32)"}},"src":"955:50:137","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21267,"nodeType":"ExpressionStatement","src":"955:50:137"},{"expression":{"id":21275,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21268,"name":"v","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21243,"src":"1023:1:137","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"baseExpression":{"id":21271,"name":"signature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21229,"src":"1033:9:137","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"id":21273,"indexExpression":{"hexValue":"3634","id":21272,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1043:2:137","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1033:13:137","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":21270,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1027:5:137","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":21269,"name":"uint8","nodeType":"ElementaryTypeName","src":"1027:5:137","typeDescriptions":{}}},"id":21274,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1027:20:137","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"1023:24:137","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":21276,"nodeType":"ExpressionStatement","src":"1023:24:137"}]}},{"assignments":[21327],"declarations":[{"constant":false,"id":21327,"mutability":"mutable","name":"signer","nameLocation":"1420:6:137","nodeType":"VariableDeclaration","scope":21352,"src":"1412:14:137","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21326,"name":"address","nodeType":"ElementaryTypeName","src":"1412:7:137","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":21334,"initialValue":{"arguments":[{"id":21329,"name":"hash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21231,"src":"1439:4:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":21330,"name":"v","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21243,"src":"1445:1:137","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":21331,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21237,"src":"1448:1:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":21332,"name":"s","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21240,"src":"1451:1:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":21328,"name":"ecrecover","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-6,"src":"1429:9:137","typeDescriptions":{"typeIdentifier":"t_function_ecrecover_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$","typeString":"function (bytes32,uint8,bytes32,bytes32) pure returns (address)"}},"id":21333,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1429:24:137","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"1412:41:137"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":21340,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":21335,"name":"signer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21327,"src":"1471:6:137","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":21338,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1489:1:137","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":21337,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1481:7:137","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":21336,"name":"address","nodeType":"ElementaryTypeName","src":"1481:7:137","typeDescriptions":{}}},"id":21339,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1481:10:137","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1471:20:137","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":21344,"nodeType":"IfStatement","src":"1467:51:137","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":21341,"name":"InvalidSignature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21217,"src":"1500:16:137","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":21342,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1500:18:137","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":21343,"nodeType":"RevertStatement","src":"1493:25:137"}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":21347,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":21345,"name":"signer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21327,"src":"1536:6:137","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":21346,"name":"claimedSigner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21233,"src":"1546:13:137","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1536:23:137","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":21351,"nodeType":"IfStatement","src":"1532:51:137","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":21348,"name":"InvalidSigner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21220,"src":"1568:13:137","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":21349,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1568:15:137","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":21350,"nodeType":"RevertStatement","src":"1561:22:137"}}]}}]},"id":21375,"implemented":true,"kind":"function","modifiers":[],"name":"verify","nameLocation":"709:6:137","nodeType":"FunctionDefinition","parameters":{"id":21234,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21229,"mutability":"mutable","name":"signature","nameLocation":"731:9:137","nodeType":"VariableDeclaration","scope":21375,"src":"716:24:137","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":21228,"name":"bytes","nodeType":"ElementaryTypeName","src":"716:5:137","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":21231,"mutability":"mutable","name":"hash","nameLocation":"750:4:137","nodeType":"VariableDeclaration","scope":21375,"src":"742:12:137","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21230,"name":"bytes32","nodeType":"ElementaryTypeName","src":"742:7:137","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":21233,"mutability":"mutable","name":"claimedSigner","nameLocation":"764:13:137","nodeType":"VariableDeclaration","scope":21375,"src":"756:21:137","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21232,"name":"address","nodeType":"ElementaryTypeName","src":"756:7:137","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"715:63:137"},"returnParameters":{"id":21235,"nodeType":"ParameterList","parameters":[],"src":"793:0:137"},"scope":21376,"src":"700:1109:137","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":21377,"src":"112:1699:137","usedErrors":[21214,21217,21220,21223],"usedEvents":[]}],"src":"32:1780:137"},"id":137},"solmate/src/auth/Owned.sol":{"ast":{"absolutePath":"solmate/src/auth/Owned.sol","exportedSymbols":{"Owned":[21436]},"id":21437,"license":"AGPL-3.0-only","nodeType":"SourceUnit","nodes":[{"id":21378,"literals":["solidity",">=","0.8",".0"],"nodeType":"PragmaDirective","src":"42:24:138"},{"abstract":true,"baseContracts":[],"canonicalName":"Owned","contractDependencies":[],"contractKind":"contract","documentation":{"id":21379,"nodeType":"StructuredDocumentation","src":"68:147:138","text":"@notice Simple single owner authorization mixin.\n @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol)"},"fullyImplemented":true,"id":21436,"linearizedBaseContracts":[21436],"name":"Owned","nameLocation":"233:5:138","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"eventSelector":"8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0","id":21385,"name":"OwnershipTransferred","nameLocation":"430:20:138","nodeType":"EventDefinition","parameters":{"id":21384,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21381,"indexed":true,"mutability":"mutable","name":"user","nameLocation":"467:4:138","nodeType":"VariableDeclaration","scope":21385,"src":"451:20:138","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21380,"name":"address","nodeType":"ElementaryTypeName","src":"451:7:138","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21383,"indexed":true,"mutability":"mutable","name":"newOwner","nameLocation":"489:8:138","nodeType":"VariableDeclaration","scope":21385,"src":"473:24:138","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21382,"name":"address","nodeType":"ElementaryTypeName","src":"473:7:138","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"450:48:138"},"src":"424:75:138"},{"constant":false,"functionSelector":"8da5cb5b","id":21387,"mutability":"mutable","name":"owner","nameLocation":"705:5:138","nodeType":"VariableDeclaration","scope":21436,"src":"690:20:138","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21386,"name":"address","nodeType":"ElementaryTypeName","src":"690:7:138","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"body":{"id":21398,"nodeType":"Block","src":"746:73:138","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":21393,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":21390,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"764:3:138","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":21391,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"768:6:138","memberName":"sender","nodeType":"MemberAccess","src":"764:10:138","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":21392,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21387,"src":"778:5:138","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"764:19:138","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"554e415554484f52495a4544","id":21394,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"785:14:138","typeDescriptions":{"typeIdentifier":"t_stringliteral_269df367cd41cace5897a935d0e0858fe4543b5619d45e09af6b124c1bb3d528","typeString":"literal_string \"UNAUTHORIZED\""},"value":"UNAUTHORIZED"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_269df367cd41cace5897a935d0e0858fe4543b5619d45e09af6b124c1bb3d528","typeString":"literal_string \"UNAUTHORIZED\""}],"id":21389,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"756:7:138","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":21395,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"756:44:138","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21396,"nodeType":"ExpressionStatement","src":"756:44:138"},{"id":21397,"nodeType":"PlaceholderStatement","src":"811:1:138"}]},"id":21399,"name":"onlyOwner","nameLocation":"726:9:138","nodeType":"ModifierDefinition","parameters":{"id":21388,"nodeType":"ParameterList","parameters":[],"src":"735:2:138"},"src":"717:102:138","virtual":true,"visibility":"internal"},{"body":{"id":21416,"nodeType":"Block","src":"1035:87:138","statements":[{"expression":{"id":21406,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21404,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21387,"src":"1045:5:138","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":21405,"name":"_owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21401,"src":"1053:6:138","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1045:14:138","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":21407,"nodeType":"ExpressionStatement","src":"1045:14:138"},{"eventCall":{"arguments":[{"arguments":[{"hexValue":"30","id":21411,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1104:1:138","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":21410,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1096:7:138","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":21409,"name":"address","nodeType":"ElementaryTypeName","src":"1096:7:138","typeDescriptions":{}}},"id":21412,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1096:10:138","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21413,"name":"_owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21401,"src":"1108:6:138","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":21408,"name":"OwnershipTransferred","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21385,"src":"1075:20:138","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$returns$__$","typeString":"function (address,address)"}},"id":21414,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1075:40:138","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21415,"nodeType":"EmitStatement","src":"1070:45:138"}]},"id":21417,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":21402,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21401,"mutability":"mutable","name":"_owner","nameLocation":"1027:6:138","nodeType":"VariableDeclaration","scope":21417,"src":"1019:14:138","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21400,"name":"address","nodeType":"ElementaryTypeName","src":"1019:7:138","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1018:16:138"},"returnParameters":{"id":21403,"nodeType":"ParameterList","parameters":[],"src":"1035:0:138"},"scope":21436,"src":"1007:115:138","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":21434,"nodeType":"Block","src":"1382:91:138","statements":[{"expression":{"id":21426,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21424,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21387,"src":"1392:5:138","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":21425,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21419,"src":"1400:8:138","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1392:16:138","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":21427,"nodeType":"ExpressionStatement","src":"1392:16:138"},{"eventCall":{"arguments":[{"expression":{"id":21429,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1445:3:138","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":21430,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1449:6:138","memberName":"sender","nodeType":"MemberAccess","src":"1445:10:138","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21431,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21419,"src":"1457:8:138","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":21428,"name":"OwnershipTransferred","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21385,"src":"1424:20:138","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$returns$__$","typeString":"function (address,address)"}},"id":21432,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1424:42:138","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21433,"nodeType":"EmitStatement","src":"1419:47:138"}]},"functionSelector":"f2fde38b","id":21435,"implemented":true,"kind":"function","modifiers":[{"id":21422,"kind":"modifierInvocation","modifierName":{"id":21421,"name":"onlyOwner","nameLocations":["1372:9:138"],"nodeType":"IdentifierPath","referencedDeclaration":21399,"src":"1372:9:138"},"nodeType":"ModifierInvocation","src":"1372:9:138"}],"name":"transferOwnership","nameLocation":"1321:17:138","nodeType":"FunctionDefinition","parameters":{"id":21420,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21419,"mutability":"mutable","name":"newOwner","nameLocation":"1347:8:138","nodeType":"VariableDeclaration","scope":21435,"src":"1339:16:138","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21418,"name":"address","nodeType":"ElementaryTypeName","src":"1339:7:138","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1338:18:138"},"returnParameters":{"id":21423,"nodeType":"ParameterList","parameters":[],"src":"1382:0:138"},"scope":21436,"src":"1312:161:138","stateMutability":"nonpayable","virtual":true,"visibility":"public"}],"scope":21437,"src":"215:1260:138","usedErrors":[],"usedEvents":[21385]}],"src":"42:1434:138"},"id":138},"solmate/src/tokens/ERC20.sol":{"ast":{"absolutePath":"solmate/src/tokens/ERC20.sol","exportedSymbols":{"ERC20":[21824]},"id":21825,"license":"AGPL-3.0-only","nodeType":"SourceUnit","nodes":[{"id":21438,"literals":["solidity",">=","0.8",".0"],"nodeType":"PragmaDirective","src":"42:24:139"},{"abstract":true,"baseContracts":[],"canonicalName":"ERC20","contractDependencies":[],"contractKind":"contract","documentation":{"id":21439,"nodeType":"StructuredDocumentation","src":"68:406:139","text":"@notice Modern and gas efficient ERC20 + EIP-2612 implementation.\n @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)\n @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)\n @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it."},"fullyImplemented":true,"id":21824,"linearizedBaseContracts":[21824],"name":"ERC20","nameLocation":"492:5:139","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"eventSelector":"ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","id":21447,"name":"Transfer","nameLocation":"689:8:139","nodeType":"EventDefinition","parameters":{"id":21446,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21441,"indexed":true,"mutability":"mutable","name":"from","nameLocation":"714:4:139","nodeType":"VariableDeclaration","scope":21447,"src":"698:20:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21440,"name":"address","nodeType":"ElementaryTypeName","src":"698:7:139","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21443,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"736:2:139","nodeType":"VariableDeclaration","scope":21447,"src":"720:18:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21442,"name":"address","nodeType":"ElementaryTypeName","src":"720:7:139","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21445,"indexed":false,"mutability":"mutable","name":"amount","nameLocation":"748:6:139","nodeType":"VariableDeclaration","scope":21447,"src":"740:14:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21444,"name":"uint256","nodeType":"ElementaryTypeName","src":"740:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"697:58:139"},"src":"683:73:139"},{"anonymous":false,"eventSelector":"8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925","id":21455,"name":"Approval","nameLocation":"768:8:139","nodeType":"EventDefinition","parameters":{"id":21454,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21449,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"793:5:139","nodeType":"VariableDeclaration","scope":21455,"src":"777:21:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21448,"name":"address","nodeType":"ElementaryTypeName","src":"777:7:139","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21451,"indexed":true,"mutability":"mutable","name":"spender","nameLocation":"816:7:139","nodeType":"VariableDeclaration","scope":21455,"src":"800:23:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21450,"name":"address","nodeType":"ElementaryTypeName","src":"800:7:139","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21453,"indexed":false,"mutability":"mutable","name":"amount","nameLocation":"833:6:139","nodeType":"VariableDeclaration","scope":21455,"src":"825:14:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21452,"name":"uint256","nodeType":"ElementaryTypeName","src":"825:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"776:64:139"},"src":"762:79:139"},{"constant":false,"functionSelector":"06fdde03","id":21457,"mutability":"mutable","name":"name","nameLocation":"1045:4:139","nodeType":"VariableDeclaration","scope":21824,"src":"1031:18:139","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":21456,"name":"string","nodeType":"ElementaryTypeName","src":"1031:6:139","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"public"},{"constant":false,"functionSelector":"95d89b41","id":21459,"mutability":"mutable","name":"symbol","nameLocation":"1070:6:139","nodeType":"VariableDeclaration","scope":21824,"src":"1056:20:139","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":21458,"name":"string","nodeType":"ElementaryTypeName","src":"1056:6:139","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"public"},{"constant":false,"functionSelector":"313ce567","id":21461,"mutability":"immutable","name":"decimals","nameLocation":"1106:8:139","nodeType":"VariableDeclaration","scope":21824,"src":"1083:31:139","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":21460,"name":"uint8","nodeType":"ElementaryTypeName","src":"1083:5:139","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"public"},{"constant":false,"functionSelector":"18160ddd","id":21463,"mutability":"mutable","name":"totalSupply","nameLocation":"1319:11:139","nodeType":"VariableDeclaration","scope":21824,"src":"1304:26:139","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21462,"name":"uint256","nodeType":"ElementaryTypeName","src":"1304:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"public"},{"constant":false,"functionSelector":"70a08231","id":21467,"mutability":"mutable","name":"balanceOf","nameLocation":"1372:9:139","nodeType":"VariableDeclaration","scope":21824,"src":"1337:44:139","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"typeName":{"id":21466,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":21464,"name":"address","nodeType":"ElementaryTypeName","src":"1345:7:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1337:27:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":21465,"name":"uint256","nodeType":"ElementaryTypeName","src":"1356:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"public"},{"constant":false,"functionSelector":"dd62ed3e","id":21473,"mutability":"mutable","name":"allowance","nameLocation":"1443:9:139","nodeType":"VariableDeclaration","scope":21824,"src":"1388:64:139","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"},"typeName":{"id":21472,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":21468,"name":"address","nodeType":"ElementaryTypeName","src":"1396:7:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1388:47:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":21471,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":21469,"name":"address","nodeType":"ElementaryTypeName","src":"1415:7:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1407:27:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":21470,"name":"uint256","nodeType":"ElementaryTypeName","src":"1426:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}}},"visibility":"public"},{"constant":false,"id":21475,"mutability":"immutable","name":"INITIAL_CHAIN_ID","nameLocation":"1670:16:139","nodeType":"VariableDeclaration","scope":21824,"src":"1643:43:139","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21474,"name":"uint256","nodeType":"ElementaryTypeName","src":"1643:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":21477,"mutability":"immutable","name":"INITIAL_DOMAIN_SEPARATOR","nameLocation":"1720:24:139","nodeType":"VariableDeclaration","scope":21824,"src":"1693:51:139","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21476,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1693:7:139","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"functionSelector":"7ecebe00","id":21481,"mutability":"mutable","name":"nonces","nameLocation":"1786:6:139","nodeType":"VariableDeclaration","scope":21824,"src":"1751:41:139","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"typeName":{"id":21480,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":21478,"name":"address","nodeType":"ElementaryTypeName","src":"1759:7:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1751:27:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":21479,"name":"uint256","nodeType":"ElementaryTypeName","src":"1770:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"public"},{"body":{"id":21512,"nodeType":"Block","src":"2084:189:139","statements":[{"expression":{"id":21492,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21490,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21457,"src":"2094:4:139","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":21491,"name":"_name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21483,"src":"2101:5:139","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"2094:12:139","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":21493,"nodeType":"ExpressionStatement","src":"2094:12:139"},{"expression":{"id":21496,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21494,"name":"symbol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21459,"src":"2116:6:139","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":21495,"name":"_symbol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21485,"src":"2125:7:139","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"2116:16:139","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":21497,"nodeType":"ExpressionStatement","src":"2116:16:139"},{"expression":{"id":21500,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21498,"name":"decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21461,"src":"2142:8:139","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":21499,"name":"_decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21487,"src":"2153:9:139","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"2142:20:139","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":21501,"nodeType":"ExpressionStatement","src":"2142:20:139"},{"expression":{"id":21505,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21502,"name":"INITIAL_CHAIN_ID","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21475,"src":"2173:16:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":21503,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"2192:5:139","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":21504,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2198:7:139","memberName":"chainid","nodeType":"MemberAccess","src":"2192:13:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2173:32:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":21506,"nodeType":"ExpressionStatement","src":"2173:32:139"},{"expression":{"id":21510,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21507,"name":"INITIAL_DOMAIN_SEPARATOR","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21477,"src":"2215:24:139","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"id":21508,"name":"computeDomainSeparator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21767,"src":"2242:22:139","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bytes32_$","typeString":"function () view returns (bytes32)"}},"id":21509,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2242:24:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"2215:51:139","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":21511,"nodeType":"ExpressionStatement","src":"2215:51:139"}]},"id":21513,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":21488,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21483,"mutability":"mutable","name":"_name","nameLocation":"2016:5:139","nodeType":"VariableDeclaration","scope":21513,"src":"2002:19:139","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":21482,"name":"string","nodeType":"ElementaryTypeName","src":"2002:6:139","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":21485,"mutability":"mutable","name":"_symbol","nameLocation":"2045:7:139","nodeType":"VariableDeclaration","scope":21513,"src":"2031:21:139","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":21484,"name":"string","nodeType":"ElementaryTypeName","src":"2031:6:139","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":21487,"mutability":"mutable","name":"_decimals","nameLocation":"2068:9:139","nodeType":"VariableDeclaration","scope":21513,"src":"2062:15:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":21486,"name":"uint8","nodeType":"ElementaryTypeName","src":"2062:5:139","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"1992:91:139"},"returnParameters":{"id":21489,"nodeType":"ParameterList","parameters":[],"src":"2084:0:139"},"scope":21824,"src":"1981:292:139","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":21540,"nodeType":"Block","src":"2541:131:139","statements":[{"expression":{"id":21529,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":21522,"name":"allowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21473,"src":"2551:9:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":21526,"indexExpression":{"expression":{"id":21523,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2561:3:139","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":21524,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2565:6:139","memberName":"sender","nodeType":"MemberAccess","src":"2561:10:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2551:21:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":21527,"indexExpression":{"id":21525,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21515,"src":"2573:7:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2551:30:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":21528,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21517,"src":"2584:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2551:39:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":21530,"nodeType":"ExpressionStatement","src":"2551:39:139"},{"eventCall":{"arguments":[{"expression":{"id":21532,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2615:3:139","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":21533,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2619:6:139","memberName":"sender","nodeType":"MemberAccess","src":"2615:10:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21534,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21515,"src":"2627:7:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21535,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21517,"src":"2636:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":21531,"name":"Approval","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21455,"src":"2606:8:139","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":21536,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2606:37:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21537,"nodeType":"EmitStatement","src":"2601:42:139"},{"expression":{"hexValue":"74727565","id":21538,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2661:4:139","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":21521,"id":21539,"nodeType":"Return","src":"2654:11:139"}]},"functionSelector":"095ea7b3","id":21541,"implemented":true,"kind":"function","modifiers":[],"name":"approve","nameLocation":"2470:7:139","nodeType":"FunctionDefinition","parameters":{"id":21518,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21515,"mutability":"mutable","name":"spender","nameLocation":"2486:7:139","nodeType":"VariableDeclaration","scope":21541,"src":"2478:15:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21514,"name":"address","nodeType":"ElementaryTypeName","src":"2478:7:139","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21517,"mutability":"mutable","name":"amount","nameLocation":"2503:6:139","nodeType":"VariableDeclaration","scope":21541,"src":"2495:14:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21516,"name":"uint256","nodeType":"ElementaryTypeName","src":"2495:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2477:33:139"},"returnParameters":{"id":21521,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21520,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":21541,"src":"2535:4:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":21519,"name":"bool","nodeType":"ElementaryTypeName","src":"2535:4:139","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2534:6:139"},"scope":21824,"src":"2461:211:139","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":21573,"nodeType":"Block","src":"2754:297:139","statements":[{"expression":{"id":21555,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":21550,"name":"balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21467,"src":"2764:9:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":21553,"indexExpression":{"expression":{"id":21551,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2774:3:139","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":21552,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2778:6:139","memberName":"sender","nodeType":"MemberAccess","src":"2774:10:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2764:21:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":21554,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21545,"src":"2789:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2764:31:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":21556,"nodeType":"ExpressionStatement","src":"2764:31:139"},{"id":21563,"nodeType":"UncheckedBlock","src":"2917:58:139","statements":[{"expression":{"id":21561,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":21557,"name":"balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21467,"src":"2941:9:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":21559,"indexExpression":{"id":21558,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21543,"src":"2951:2:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2941:13:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":21560,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21545,"src":"2958:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2941:23:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":21562,"nodeType":"ExpressionStatement","src":"2941:23:139"}]},{"eventCall":{"arguments":[{"expression":{"id":21565,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2999:3:139","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":21566,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3003:6:139","memberName":"sender","nodeType":"MemberAccess","src":"2999:10:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21567,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21543,"src":"3011:2:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21568,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21545,"src":"3015:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":21564,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21447,"src":"2990:8:139","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":21569,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2990:32:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21570,"nodeType":"EmitStatement","src":"2985:37:139"},{"expression":{"hexValue":"74727565","id":21571,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3040:4:139","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":21549,"id":21572,"nodeType":"Return","src":"3033:11:139"}]},"functionSelector":"a9059cbb","id":21574,"implemented":true,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"2687:8:139","nodeType":"FunctionDefinition","parameters":{"id":21546,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21543,"mutability":"mutable","name":"to","nameLocation":"2704:2:139","nodeType":"VariableDeclaration","scope":21574,"src":"2696:10:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21542,"name":"address","nodeType":"ElementaryTypeName","src":"2696:7:139","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21545,"mutability":"mutable","name":"amount","nameLocation":"2716:6:139","nodeType":"VariableDeclaration","scope":21574,"src":"2708:14:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21544,"name":"uint256","nodeType":"ElementaryTypeName","src":"2708:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2695:28:139"},"returnParameters":{"id":21549,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21548,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":21574,"src":"2748:4:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":21547,"name":"bool","nodeType":"ElementaryTypeName","src":"2748:4:139","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2747:6:139"},"scope":21824,"src":"2678:373:139","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":21634,"nodeType":"Block","src":"3181:468:139","statements":[{"assignments":[21586],"declarations":[{"constant":false,"id":21586,"mutability":"mutable","name":"allowed","nameLocation":"3199:7:139","nodeType":"VariableDeclaration","scope":21634,"src":"3191:15:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21585,"name":"uint256","nodeType":"ElementaryTypeName","src":"3191:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":21593,"initialValue":{"baseExpression":{"baseExpression":{"id":21587,"name":"allowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21473,"src":"3209:9:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":21589,"indexExpression":{"id":21588,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21576,"src":"3219:4:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3209:15:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":21592,"indexExpression":{"expression":{"id":21590,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3225:3:139","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":21591,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3229:6:139","memberName":"sender","nodeType":"MemberAccess","src":"3225:10:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3209:27:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3191:45:139"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":21600,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":21594,"name":"allowed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21586,"src":"3287:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"arguments":[{"id":21597,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3303:7:139","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":21596,"name":"uint256","nodeType":"ElementaryTypeName","src":"3303:7:139","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"}],"id":21595,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"3298:4:139","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":21598,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3298:13:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint256","typeString":"type(uint256)"}},"id":21599,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3312:3:139","memberName":"max","nodeType":"MemberAccess","src":"3298:17:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3287:28:139","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":21612,"nodeType":"IfStatement","src":"3283:80:139","trueBody":{"expression":{"id":21610,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":21601,"name":"allowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21473,"src":"3317:9:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":21605,"indexExpression":{"id":21602,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21576,"src":"3327:4:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3317:15:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":21606,"indexExpression":{"expression":{"id":21603,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3333:3:139","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":21604,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3337:6:139","memberName":"sender","nodeType":"MemberAccess","src":"3333:10:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3317:27:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":21609,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":21607,"name":"allowed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21586,"src":"3347:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":21608,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21580,"src":"3357:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3347:16:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3317:46:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":21611,"nodeType":"ExpressionStatement","src":"3317:46:139"}},{"expression":{"id":21617,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":21613,"name":"balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21467,"src":"3374:9:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":21615,"indexExpression":{"id":21614,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21576,"src":"3384:4:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3374:15:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":21616,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21580,"src":"3393:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3374:25:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":21618,"nodeType":"ExpressionStatement","src":"3374:25:139"},{"id":21625,"nodeType":"UncheckedBlock","src":"3521:58:139","statements":[{"expression":{"id":21623,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":21619,"name":"balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21467,"src":"3545:9:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":21621,"indexExpression":{"id":21620,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21578,"src":"3555:2:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3545:13:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":21622,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21580,"src":"3562:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3545:23:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":21624,"nodeType":"ExpressionStatement","src":"3545:23:139"}]},{"eventCall":{"arguments":[{"id":21627,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21576,"src":"3603:4:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21628,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21578,"src":"3609:2:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21629,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21580,"src":"3613:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":21626,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21447,"src":"3594:8:139","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":21630,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3594:26:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21631,"nodeType":"EmitStatement","src":"3589:31:139"},{"expression":{"hexValue":"74727565","id":21632,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3638:4:139","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":21584,"id":21633,"nodeType":"Return","src":"3631:11:139"}]},"functionSelector":"23b872dd","id":21635,"implemented":true,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"3066:12:139","nodeType":"FunctionDefinition","parameters":{"id":21581,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21576,"mutability":"mutable","name":"from","nameLocation":"3096:4:139","nodeType":"VariableDeclaration","scope":21635,"src":"3088:12:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21575,"name":"address","nodeType":"ElementaryTypeName","src":"3088:7:139","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21578,"mutability":"mutable","name":"to","nameLocation":"3118:2:139","nodeType":"VariableDeclaration","scope":21635,"src":"3110:10:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21577,"name":"address","nodeType":"ElementaryTypeName","src":"3110:7:139","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21580,"mutability":"mutable","name":"amount","nameLocation":"3138:6:139","nodeType":"VariableDeclaration","scope":21635,"src":"3130:14:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21579,"name":"uint256","nodeType":"ElementaryTypeName","src":"3130:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3078:72:139"},"returnParameters":{"id":21584,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21583,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":21635,"src":"3175:4:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":21582,"name":"bool","nodeType":"ElementaryTypeName","src":"3175:4:139","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3174:6:139"},"scope":21824,"src":"3057:592:139","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":21721,"nodeType":"Block","src":"4027:1294:139","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":21656,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":21653,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21643,"src":"4045:8:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":21654,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"4057:5:139","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":21655,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4063:9:139","memberName":"timestamp","nodeType":"MemberAccess","src":"4057:15:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4045:27:139","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5045524d49545f444541444c494e455f45585049524544","id":21657,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4074:25:139","typeDescriptions":{"typeIdentifier":"t_stringliteral_dd18cfd81b4c1281b56302a044e7f751a261543590362c41d86af048f8ed4b3e","typeString":"literal_string \"PERMIT_DEADLINE_EXPIRED\""},"value":"PERMIT_DEADLINE_EXPIRED"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_dd18cfd81b4c1281b56302a044e7f751a261543590362c41d86af048f8ed4b3e","typeString":"literal_string \"PERMIT_DEADLINE_EXPIRED\""}],"id":21652,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"4037:7:139","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":21658,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4037:63:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21659,"nodeType":"ExpressionStatement","src":"4037:63:139"},{"id":21714,"nodeType":"UncheckedBlock","src":"4241:1027:139","statements":[{"assignments":[21661],"declarations":[{"constant":false,"id":21661,"mutability":"mutable","name":"recoveredAddress","nameLocation":"4273:16:139","nodeType":"VariableDeclaration","scope":21714,"src":"4265:24:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21660,"name":"address","nodeType":"ElementaryTypeName","src":"4265:7:139","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":21691,"initialValue":{"arguments":[{"arguments":[{"arguments":[{"hexValue":"1901","id":21666,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4392:10:139","typeDescriptions":{"typeIdentifier":"t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541","typeString":"literal_string hex\"1901\""},"value":"\u0019\u0001"},{"arguments":[],"expression":{"argumentTypes":[],"id":21667,"name":"DOMAIN_SEPARATOR","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21737,"src":"4428:16:139","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bytes32_$","typeString":"function () view returns (bytes32)"}},"id":21668,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4428:18:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"arguments":[{"arguments":[{"arguments":[{"hexValue":"5065726d69742861646472657373206f776e65722c61646472657373207370656e6465722c75696e743235362076616c75652c75696e74323536206e6f6e63652c75696e7432353620646561646c696e6529","id":21673,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4602:84:139","typeDescriptions":{"typeIdentifier":"t_stringliteral_6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9","typeString":"literal_string \"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\""},"value":"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9","typeString":"literal_string \"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\""}],"id":21672,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"4555:9:139","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":21674,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4555:165:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":21675,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21637,"src":"4754:5:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21676,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21639,"src":"4793:7:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21677,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21641,"src":"4834:5:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":21681,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"4873:15:139","subExpression":{"baseExpression":{"id":21678,"name":"nonces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21481,"src":"4873:6:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":21680,"indexExpression":{"id":21679,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21637,"src":"4880:5:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4873:13:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":21682,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21643,"src":"4922:8:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":21670,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"4511:3:139","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":21671,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4515:6:139","memberName":"encode","nodeType":"MemberAccess","src":"4511:10:139","typeDescriptions":{"typeIdentifier":"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":21683,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4511:449:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":21669,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"4472:9:139","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":21684,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4472:514:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_301a50b291d33ce1e8e9064e3f6a6c51d902ec22892b50d58abf6357c6a45541","typeString":"literal_string hex\"1901\""},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":21664,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"4350:3:139","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":21665,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4354:12:139","memberName":"encodePacked","nodeType":"MemberAccess","src":"4350:16:139","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":21685,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4350:658:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":21663,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"4319:9:139","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":21686,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4319:707:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":21687,"name":"v","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21645,"src":"5044:1:139","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":21688,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21647,"src":"5063:1:139","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":21689,"name":"s","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21649,"src":"5082:1:139","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":21662,"name":"ecrecover","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-6,"src":"4292:9:139","typeDescriptions":{"typeIdentifier":"t_function_ecrecover_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$","typeString":"function (bytes32,uint8,bytes32,bytes32) pure returns (address)"}},"id":21690,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4292:805:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"4265:832:139"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":21702,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":21698,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":21693,"name":"recoveredAddress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21661,"src":"5120:16:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":21696,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5148:1:139","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":21695,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5140:7:139","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":21694,"name":"address","nodeType":"ElementaryTypeName","src":"5140:7:139","typeDescriptions":{}}},"id":21697,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5140:10:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5120:30:139","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":21701,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":21699,"name":"recoveredAddress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21661,"src":"5154:16:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":21700,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21637,"src":"5174:5:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5154:25:139","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5120:59:139","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"494e56414c49445f5349474e4552","id":21703,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5181:16:139","typeDescriptions":{"typeIdentifier":"t_stringliteral_ba2319f5fa9f0c8e55f0d6899910b7354e6f643d1d349de47190066d85e68a1c","typeString":"literal_string \"INVALID_SIGNER\""},"value":"INVALID_SIGNER"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_ba2319f5fa9f0c8e55f0d6899910b7354e6f643d1d349de47190066d85e68a1c","typeString":"literal_string \"INVALID_SIGNER\""}],"id":21692,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"5112:7:139","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":21704,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5112:86:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21705,"nodeType":"ExpressionStatement","src":"5112:86:139"},{"expression":{"id":21712,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":21706,"name":"allowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21473,"src":"5213:9:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":21709,"indexExpression":{"id":21707,"name":"recoveredAddress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21661,"src":"5223:16:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5213:27:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":21710,"indexExpression":{"id":21708,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21639,"src":"5241:7:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5213:36:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":21711,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21641,"src":"5252:5:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5213:44:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":21713,"nodeType":"ExpressionStatement","src":"5213:44:139"}]},{"eventCall":{"arguments":[{"id":21716,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21637,"src":"5292:5:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21717,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21639,"src":"5299:7:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21718,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21641,"src":"5308:5:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":21715,"name":"Approval","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21455,"src":"5283:8:139","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":21719,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5283:31:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21720,"nodeType":"EmitStatement","src":"5278:36:139"}]},"functionSelector":"d505accf","id":21722,"implemented":true,"kind":"function","modifiers":[],"name":"permit","nameLocation":"3847:6:139","nodeType":"FunctionDefinition","parameters":{"id":21650,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21637,"mutability":"mutable","name":"owner","nameLocation":"3871:5:139","nodeType":"VariableDeclaration","scope":21722,"src":"3863:13:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21636,"name":"address","nodeType":"ElementaryTypeName","src":"3863:7:139","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21639,"mutability":"mutable","name":"spender","nameLocation":"3894:7:139","nodeType":"VariableDeclaration","scope":21722,"src":"3886:15:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21638,"name":"address","nodeType":"ElementaryTypeName","src":"3886:7:139","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21641,"mutability":"mutable","name":"value","nameLocation":"3919:5:139","nodeType":"VariableDeclaration","scope":21722,"src":"3911:13:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21640,"name":"uint256","nodeType":"ElementaryTypeName","src":"3911:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":21643,"mutability":"mutable","name":"deadline","nameLocation":"3942:8:139","nodeType":"VariableDeclaration","scope":21722,"src":"3934:16:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21642,"name":"uint256","nodeType":"ElementaryTypeName","src":"3934:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":21645,"mutability":"mutable","name":"v","nameLocation":"3966:1:139","nodeType":"VariableDeclaration","scope":21722,"src":"3960:7:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":21644,"name":"uint8","nodeType":"ElementaryTypeName","src":"3960:5:139","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":21647,"mutability":"mutable","name":"r","nameLocation":"3985:1:139","nodeType":"VariableDeclaration","scope":21722,"src":"3977:9:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21646,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3977:7:139","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":21649,"mutability":"mutable","name":"s","nameLocation":"4004:1:139","nodeType":"VariableDeclaration","scope":21722,"src":"3996:9:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21648,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3996:7:139","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3853:158:139"},"returnParameters":{"id":21651,"nodeType":"ParameterList","parameters":[],"src":"4027:0:139"},"scope":21824,"src":"3838:1483:139","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":21736,"nodeType":"Block","src":"5393:111:139","statements":[{"expression":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":21730,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":21727,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"5410:5:139","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":21728,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5416:7:139","memberName":"chainid","nodeType":"MemberAccess","src":"5410:13:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":21729,"name":"INITIAL_CHAIN_ID","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21475,"src":"5427:16:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5410:33:139","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":21732,"name":"computeDomainSeparator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21767,"src":"5473:22:139","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bytes32_$","typeString":"function () view returns (bytes32)"}},"id":21733,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5473:24:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":21734,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"5410:87:139","trueExpression":{"id":21731,"name":"INITIAL_DOMAIN_SEPARATOR","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21477,"src":"5446:24:139","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":21726,"id":21735,"nodeType":"Return","src":"5403:94:139"}]},"functionSelector":"3644e515","id":21737,"implemented":true,"kind":"function","modifiers":[],"name":"DOMAIN_SEPARATOR","nameLocation":"5336:16:139","nodeType":"FunctionDefinition","parameters":{"id":21723,"nodeType":"ParameterList","parameters":[],"src":"5352:2:139"},"returnParameters":{"id":21726,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21725,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":21737,"src":"5384:7:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21724,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5384:7:139","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5383:9:139"},"scope":21824,"src":"5327:177:139","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":21766,"nodeType":"Block","src":"5584:372:139","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[{"hexValue":"454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429","id":21746,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5682:84:139","typeDescriptions":{"typeIdentifier":"t_stringliteral_8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f","typeString":"literal_string \"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\""},"value":"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f","typeString":"literal_string \"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\""}],"id":21745,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"5672:9:139","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":21747,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5672:95:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"arguments":[{"arguments":[{"id":21751,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21457,"src":"5805:4:139","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}],"id":21750,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5799:5:139","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":21749,"name":"bytes","nodeType":"ElementaryTypeName","src":"5799:5:139","typeDescriptions":{}}},"id":21752,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5799:11:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes storage pointer"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes storage pointer"}],"id":21748,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"5789:9:139","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":21753,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5789:22:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"arguments":[{"hexValue":"31","id":21755,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5843:3:139","typeDescriptions":{"typeIdentifier":"t_stringliteral_c89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6","typeString":"literal_string \"1\""},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6","typeString":"literal_string \"1\""}],"id":21754,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"5833:9:139","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":21756,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5833:14:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":21757,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"5869:5:139","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":21758,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5875:7:139","memberName":"chainid","nodeType":"MemberAccess","src":"5869:13:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"id":21761,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"5912:4:139","typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}],"id":21760,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5904:7:139","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":21759,"name":"address","nodeType":"ElementaryTypeName","src":"5904:7:139","typeDescriptions":{}}},"id":21762,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5904:13:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":21743,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"5640:3:139","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":21744,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5644:6:139","memberName":"encode","nodeType":"MemberAccess","src":"5640:10:139","typeDescriptions":{"typeIdentifier":"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":21763,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5640:295:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":21742,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"5613:9:139","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":21764,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5613:336:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":21741,"id":21765,"nodeType":"Return","src":"5594:355:139"}]},"id":21767,"implemented":true,"kind":"function","modifiers":[],"name":"computeDomainSeparator","nameLocation":"5519:22:139","nodeType":"FunctionDefinition","parameters":{"id":21738,"nodeType":"ParameterList","parameters":[],"src":"5541:2:139"},"returnParameters":{"id":21741,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21740,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":21767,"src":"5575:7:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":21739,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5575:7:139","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5574:9:139"},"scope":21824,"src":"5510:446:139","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":21794,"nodeType":"Block","src":"6210:265:139","statements":[{"expression":{"id":21776,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21774,"name":"totalSupply","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21463,"src":"6220:11:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":21775,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21771,"src":"6235:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6220:21:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":21777,"nodeType":"ExpressionStatement","src":"6220:21:139"},{"id":21784,"nodeType":"UncheckedBlock","src":"6363:58:139","statements":[{"expression":{"id":21782,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":21778,"name":"balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21467,"src":"6387:9:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":21780,"indexExpression":{"id":21779,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21769,"src":"6397:2:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6387:13:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":21781,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21771,"src":"6404:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6387:23:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":21783,"nodeType":"ExpressionStatement","src":"6387:23:139"}]},{"eventCall":{"arguments":[{"arguments":[{"hexValue":"30","id":21788,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6453:1:139","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":21787,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6445:7:139","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":21786,"name":"address","nodeType":"ElementaryTypeName","src":"6445:7:139","typeDescriptions":{}}},"id":21789,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6445:10:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21790,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21769,"src":"6457:2:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21791,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21771,"src":"6461:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":21785,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21447,"src":"6436:8:139","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":21792,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6436:32:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21793,"nodeType":"EmitStatement","src":"6431:37:139"}]},"id":21795,"implemented":true,"kind":"function","modifiers":[],"name":"_mint","nameLocation":"6159:5:139","nodeType":"FunctionDefinition","parameters":{"id":21772,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21769,"mutability":"mutable","name":"to","nameLocation":"6173:2:139","nodeType":"VariableDeclaration","scope":21795,"src":"6165:10:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21768,"name":"address","nodeType":"ElementaryTypeName","src":"6165:7:139","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21771,"mutability":"mutable","name":"amount","nameLocation":"6185:6:139","nodeType":"VariableDeclaration","scope":21795,"src":"6177:14:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21770,"name":"uint256","nodeType":"ElementaryTypeName","src":"6177:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6164:28:139"},"returnParameters":{"id":21773,"nodeType":"ParameterList","parameters":[],"src":"6210:0:139"},"scope":21824,"src":"6150:325:139","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":21822,"nodeType":"Block","src":"6543:266:139","statements":[{"expression":{"id":21806,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":21802,"name":"balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21467,"src":"6553:9:139","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":21804,"indexExpression":{"id":21803,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21797,"src":"6563:4:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6553:15:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":21805,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21799,"src":"6572:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6553:25:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":21807,"nodeType":"ExpressionStatement","src":"6553:25:139"},{"id":21812,"nodeType":"UncheckedBlock","src":"6697:56:139","statements":[{"expression":{"id":21810,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21808,"name":"totalSupply","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21463,"src":"6721:11:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":21809,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21799,"src":"6736:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6721:21:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":21811,"nodeType":"ExpressionStatement","src":"6721:21:139"}]},{"eventCall":{"arguments":[{"id":21814,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21797,"src":"6777:4:139","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":21817,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6791:1:139","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":21816,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6783:7:139","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":21815,"name":"address","nodeType":"ElementaryTypeName","src":"6783:7:139","typeDescriptions":{}}},"id":21818,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6783:10:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21819,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21799,"src":"6795:6:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":21813,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21447,"src":"6768:8:139","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":21820,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6768:34:139","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21821,"nodeType":"EmitStatement","src":"6763:39:139"}]},"id":21823,"implemented":true,"kind":"function","modifiers":[],"name":"_burn","nameLocation":"6490:5:139","nodeType":"FunctionDefinition","parameters":{"id":21800,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21797,"mutability":"mutable","name":"from","nameLocation":"6504:4:139","nodeType":"VariableDeclaration","scope":21823,"src":"6496:12:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21796,"name":"address","nodeType":"ElementaryTypeName","src":"6496:7:139","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21799,"mutability":"mutable","name":"amount","nameLocation":"6518:6:139","nodeType":"VariableDeclaration","scope":21823,"src":"6510:14:139","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21798,"name":"uint256","nodeType":"ElementaryTypeName","src":"6510:7:139","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6495:30:139"},"returnParameters":{"id":21801,"nodeType":"ParameterList","parameters":[],"src":"6543:0:139"},"scope":21824,"src":"6481:328:139","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":21825,"src":"474:6337:139","usedErrors":[],"usedEvents":[21447,21455]}],"src":"42:6770:139"},"id":139},"solmate/src/tokens/ERC721.sol":{"ast":{"absolutePath":"solmate/src/tokens/ERC721.sol","exportedSymbols":{"ERC721":[22368],"ERC721TokenReceiver":[22388]},"id":22389,"license":"AGPL-3.0-only","nodeType":"SourceUnit","nodes":[{"id":21826,"literals":["solidity",">=","0.8",".0"],"nodeType":"PragmaDirective","src":"42:24:140"},{"abstract":true,"baseContracts":[],"canonicalName":"ERC721","contractDependencies":[],"contractKind":"contract","documentation":{"id":21827,"nodeType":"StructuredDocumentation","src":"68:171:140","text":"@notice Modern, minimalist, and gas efficient ERC-721 implementation.\n @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)"},"fullyImplemented":false,"id":22368,"linearizedBaseContracts":[22368],"name":"ERC721","nameLocation":"257:6:140","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"eventSelector":"ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","id":21835,"name":"Transfer","nameLocation":"455:8:140","nodeType":"EventDefinition","parameters":{"id":21834,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21829,"indexed":true,"mutability":"mutable","name":"from","nameLocation":"480:4:140","nodeType":"VariableDeclaration","scope":21835,"src":"464:20:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21828,"name":"address","nodeType":"ElementaryTypeName","src":"464:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21831,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"502:2:140","nodeType":"VariableDeclaration","scope":21835,"src":"486:18:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21830,"name":"address","nodeType":"ElementaryTypeName","src":"486:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21833,"indexed":true,"mutability":"mutable","name":"id","nameLocation":"522:2:140","nodeType":"VariableDeclaration","scope":21835,"src":"506:18:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21832,"name":"uint256","nodeType":"ElementaryTypeName","src":"506:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"463:62:140"},"src":"449:77:140"},{"anonymous":false,"eventSelector":"8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925","id":21843,"name":"Approval","nameLocation":"538:8:140","nodeType":"EventDefinition","parameters":{"id":21842,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21837,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"563:5:140","nodeType":"VariableDeclaration","scope":21843,"src":"547:21:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21836,"name":"address","nodeType":"ElementaryTypeName","src":"547:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21839,"indexed":true,"mutability":"mutable","name":"spender","nameLocation":"586:7:140","nodeType":"VariableDeclaration","scope":21843,"src":"570:23:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21838,"name":"address","nodeType":"ElementaryTypeName","src":"570:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21841,"indexed":true,"mutability":"mutable","name":"id","nameLocation":"611:2:140","nodeType":"VariableDeclaration","scope":21843,"src":"595:18:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21840,"name":"uint256","nodeType":"ElementaryTypeName","src":"595:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"546:68:140"},"src":"532:83:140"},{"anonymous":false,"eventSelector":"17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31","id":21851,"name":"ApprovalForAll","nameLocation":"627:14:140","nodeType":"EventDefinition","parameters":{"id":21850,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21845,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"658:5:140","nodeType":"VariableDeclaration","scope":21851,"src":"642:21:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21844,"name":"address","nodeType":"ElementaryTypeName","src":"642:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21847,"indexed":true,"mutability":"mutable","name":"operator","nameLocation":"681:8:140","nodeType":"VariableDeclaration","scope":21851,"src":"665:24:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21846,"name":"address","nodeType":"ElementaryTypeName","src":"665:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21849,"indexed":false,"mutability":"mutable","name":"approved","nameLocation":"696:8:140","nodeType":"VariableDeclaration","scope":21851,"src":"691:13:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":21848,"name":"bool","nodeType":"ElementaryTypeName","src":"691:4:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"641:64:140"},"src":"621:85:140"},{"constant":false,"functionSelector":"06fdde03","id":21853,"mutability":"mutable","name":"name","nameLocation":"913:4:140","nodeType":"VariableDeclaration","scope":22368,"src":"899:18:140","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":21852,"name":"string","nodeType":"ElementaryTypeName","src":"899:6:140","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"public"},{"constant":false,"functionSelector":"95d89b41","id":21855,"mutability":"mutable","name":"symbol","nameLocation":"938:6:140","nodeType":"VariableDeclaration","scope":22368,"src":"924:20:140","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":21854,"name":"string","nodeType":"ElementaryTypeName","src":"924:6:140","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"public"},{"functionSelector":"c87b56dd","id":21862,"implemented":false,"kind":"function","modifiers":[],"name":"tokenURI","nameLocation":"960:8:140","nodeType":"FunctionDefinition","parameters":{"id":21858,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21857,"mutability":"mutable","name":"id","nameLocation":"977:2:140","nodeType":"VariableDeclaration","scope":21862,"src":"969:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21856,"name":"uint256","nodeType":"ElementaryTypeName","src":"969:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"968:12:140"},"returnParameters":{"id":21861,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21860,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":21862,"src":"1010:13:140","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":21859,"name":"string","nodeType":"ElementaryTypeName","src":"1010:6:140","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1009:15:140"},"scope":22368,"src":"951:74:140","stateMutability":"view","virtual":true,"visibility":"public"},{"constant":false,"id":21866,"mutability":"mutable","name":"_ownerOf","nameLocation":"1258:8:140","nodeType":"VariableDeclaration","scope":22368,"src":"1221:45:140","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"},"typeName":{"id":21865,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":21863,"name":"uint256","nodeType":"ElementaryTypeName","src":"1229:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"1221:27:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":21864,"name":"address","nodeType":"ElementaryTypeName","src":"1240:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}},"visibility":"internal"},{"constant":false,"id":21870,"mutability":"mutable","name":"_balanceOf","nameLocation":"1310:10:140","nodeType":"VariableDeclaration","scope":22368,"src":"1273:47:140","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"typeName":{"id":21869,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":21867,"name":"address","nodeType":"ElementaryTypeName","src":"1281:7:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1273:27:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":21868,"name":"uint256","nodeType":"ElementaryTypeName","src":"1292:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"internal"},{"body":{"id":21892,"nodeType":"Block","src":"1400:76:140","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":21888,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"id":21882,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21878,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21875,"src":"1419:5:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":21879,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21866,"src":"1427:8:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":21881,"indexExpression":{"id":21880,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21872,"src":"1436:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1427:12:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1419:20:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":21883,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1418:22:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":21886,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1452:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":21885,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1444:7:140","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":21884,"name":"address","nodeType":"ElementaryTypeName","src":"1444:7:140","typeDescriptions":{}}},"id":21887,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1444:10:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1418:36:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e4f545f4d494e544544","id":21889,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1456:12:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_e904b298bc24890ae0c043938d840f08b90773c1635904efe1336d6f851f98ca","typeString":"literal_string \"NOT_MINTED\""},"value":"NOT_MINTED"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e904b298bc24890ae0c043938d840f08b90773c1635904efe1336d6f851f98ca","typeString":"literal_string \"NOT_MINTED\""}],"id":21877,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1410:7:140","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":21890,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1410:59:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21891,"nodeType":"ExpressionStatement","src":"1410:59:140"}]},"functionSelector":"6352211e","id":21893,"implemented":true,"kind":"function","modifiers":[],"name":"ownerOf","nameLocation":"1336:7:140","nodeType":"FunctionDefinition","parameters":{"id":21873,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21872,"mutability":"mutable","name":"id","nameLocation":"1352:2:140","nodeType":"VariableDeclaration","scope":21893,"src":"1344:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21871,"name":"uint256","nodeType":"ElementaryTypeName","src":"1344:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1343:12:140"},"returnParameters":{"id":21876,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21875,"mutability":"mutable","name":"owner","nameLocation":"1393:5:140","nodeType":"VariableDeclaration","scope":21893,"src":"1385:13:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21874,"name":"address","nodeType":"ElementaryTypeName","src":"1385:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1384:15:140"},"scope":22368,"src":"1327:149:140","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":21914,"nodeType":"Block","src":"1554:96:140","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":21906,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":21901,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21895,"src":"1572:5:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":21904,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1589:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":21903,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1581:7:140","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":21902,"name":"address","nodeType":"ElementaryTypeName","src":"1581:7:140","typeDescriptions":{}}},"id":21905,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1581:10:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1572:19:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5a45524f5f41444452455353","id":21907,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1593:14:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_71869b3729b99fadce3ee30cb1aa2a0d639e6a2d24158c1ae1ae0059e81b72af","typeString":"literal_string \"ZERO_ADDRESS\""},"value":"ZERO_ADDRESS"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_71869b3729b99fadce3ee30cb1aa2a0d639e6a2d24158c1ae1ae0059e81b72af","typeString":"literal_string \"ZERO_ADDRESS\""}],"id":21900,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1564:7:140","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":21908,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1564:44:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21909,"nodeType":"ExpressionStatement","src":"1564:44:140"},{"expression":{"baseExpression":{"id":21910,"name":"_balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21870,"src":"1626:10:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":21912,"indexExpression":{"id":21911,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21895,"src":"1637:5:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1626:17:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":21899,"id":21913,"nodeType":"Return","src":"1619:24:140"}]},"functionSelector":"70a08231","id":21915,"implemented":true,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"1491:9:140","nodeType":"FunctionDefinition","parameters":{"id":21896,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21895,"mutability":"mutable","name":"owner","nameLocation":"1509:5:140","nodeType":"VariableDeclaration","scope":21915,"src":"1501:13:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21894,"name":"address","nodeType":"ElementaryTypeName","src":"1501:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1500:15:140"},"returnParameters":{"id":21899,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21898,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":21915,"src":"1545:7:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21897,"name":"uint256","nodeType":"ElementaryTypeName","src":"1545:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1544:9:140"},"scope":22368,"src":"1482:168:140","stateMutability":"view","virtual":true,"visibility":"public"},{"constant":false,"functionSelector":"081812fc","id":21919,"mutability":"mutable","name":"getApproved","nameLocation":"1879:11:140","nodeType":"VariableDeclaration","scope":22368,"src":"1844:46:140","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"},"typeName":{"id":21918,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":21916,"name":"uint256","nodeType":"ElementaryTypeName","src":"1852:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"1844:27:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":21917,"name":"address","nodeType":"ElementaryTypeName","src":"1863:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}},"visibility":"public"},{"constant":false,"functionSelector":"e985e9c5","id":21925,"mutability":"mutable","name":"isApprovedForAll","nameLocation":"1949:16:140","nodeType":"VariableDeclaration","scope":22368,"src":"1897:68:140","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"},"typeName":{"id":21924,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":21920,"name":"address","nodeType":"ElementaryTypeName","src":"1905:7:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1897:44:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":21923,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":21921,"name":"address","nodeType":"ElementaryTypeName","src":"1924:7:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1916:24:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":21922,"name":"bool","nodeType":"ElementaryTypeName","src":"1935:4:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}}},"visibility":"public"},{"body":{"id":21940,"nodeType":"Block","src":"2210:55:140","statements":[{"expression":{"id":21934,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21932,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21853,"src":"2220:4:140","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":21933,"name":"_name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21927,"src":"2227:5:140","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"2220:12:140","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":21935,"nodeType":"ExpressionStatement","src":"2220:12:140"},{"expression":{"id":21938,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":21936,"name":"symbol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21855,"src":"2242:6:140","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":21937,"name":"_symbol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21929,"src":"2251:7:140","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"2242:16:140","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":21939,"nodeType":"ExpressionStatement","src":"2242:16:140"}]},"id":21941,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":21930,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21927,"mutability":"mutable","name":"_name","nameLocation":"2180:5:140","nodeType":"VariableDeclaration","scope":21941,"src":"2166:19:140","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":21926,"name":"string","nodeType":"ElementaryTypeName","src":"2166:6:140","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":21929,"mutability":"mutable","name":"_symbol","nameLocation":"2201:7:140","nodeType":"VariableDeclaration","scope":21941,"src":"2187:21:140","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":21928,"name":"string","nodeType":"ElementaryTypeName","src":"2187:6:140","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2165:44:140"},"returnParameters":{"id":21931,"nodeType":"ParameterList","parameters":[],"src":"2210:0:140"},"scope":22368,"src":"2154:111:140","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":21981,"nodeType":"Block","src":"2514:221:140","statements":[{"assignments":[21949],"declarations":[{"constant":false,"id":21949,"mutability":"mutable","name":"owner","nameLocation":"2532:5:140","nodeType":"VariableDeclaration","scope":21981,"src":"2524:13:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21948,"name":"address","nodeType":"ElementaryTypeName","src":"2524:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":21953,"initialValue":{"baseExpression":{"id":21950,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21866,"src":"2540:8:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":21952,"indexExpression":{"id":21951,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21945,"src":"2549:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2540:12:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"2524:28:140"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":21965,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":21958,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":21955,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2571:3:140","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":21956,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2575:6:140","memberName":"sender","nodeType":"MemberAccess","src":"2571:10:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":21957,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21949,"src":"2585:5:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2571:19:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"baseExpression":{"baseExpression":{"id":21959,"name":"isApprovedForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21925,"src":"2594:16:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":21961,"indexExpression":{"id":21960,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21949,"src":"2611:5:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2594:23:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":21964,"indexExpression":{"expression":{"id":21962,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2618:3:140","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":21963,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2622:6:140","memberName":"sender","nodeType":"MemberAccess","src":"2618:10:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2594:35:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2571:58:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e4f545f415554484f52495a4544","id":21966,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2631:16:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_e7e213d5e2bee0acc2c7bf8bfda19ef0cae82e7b8c997e7e898919269971e7c4","typeString":"literal_string \"NOT_AUTHORIZED\""},"value":"NOT_AUTHORIZED"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e7e213d5e2bee0acc2c7bf8bfda19ef0cae82e7b8c997e7e898919269971e7c4","typeString":"literal_string \"NOT_AUTHORIZED\""}],"id":21954,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"2563:7:140","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":21967,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2563:85:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21968,"nodeType":"ExpressionStatement","src":"2563:85:140"},{"expression":{"id":21973,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":21969,"name":"getApproved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21919,"src":"2659:11:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":21971,"indexExpression":{"id":21970,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21945,"src":"2671:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2659:15:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":21972,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21943,"src":"2677:7:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2659:25:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":21974,"nodeType":"ExpressionStatement","src":"2659:25:140"},{"eventCall":{"arguments":[{"id":21976,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21949,"src":"2709:5:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21977,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21943,"src":"2716:7:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":21978,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21945,"src":"2725:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":21975,"name":"Approval","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21843,"src":"2700:8:140","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":21979,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2700:28:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":21980,"nodeType":"EmitStatement","src":"2695:33:140"}]},"functionSelector":"095ea7b3","id":21982,"implemented":true,"kind":"function","modifiers":[],"name":"approve","nameLocation":"2462:7:140","nodeType":"FunctionDefinition","parameters":{"id":21946,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21943,"mutability":"mutable","name":"spender","nameLocation":"2478:7:140","nodeType":"VariableDeclaration","scope":21982,"src":"2470:15:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21942,"name":"address","nodeType":"ElementaryTypeName","src":"2470:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21945,"mutability":"mutable","name":"id","nameLocation":"2495:2:140","nodeType":"VariableDeclaration","scope":21982,"src":"2487:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":21944,"name":"uint256","nodeType":"ElementaryTypeName","src":"2487:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2469:29:140"},"returnParameters":{"id":21947,"nodeType":"ParameterList","parameters":[],"src":"2514:0:140"},"scope":22368,"src":"2453:282:140","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":22005,"nodeType":"Block","src":"2816:128:140","statements":[{"expression":{"id":21996,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":21989,"name":"isApprovedForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21925,"src":"2826:16:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":21993,"indexExpression":{"expression":{"id":21990,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2843:3:140","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":21991,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2847:6:140","memberName":"sender","nodeType":"MemberAccess","src":"2843:10:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2826:28:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":21994,"indexExpression":{"id":21992,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21984,"src":"2855:8:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2826:38:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":21995,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21986,"src":"2867:8:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2826:49:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":21997,"nodeType":"ExpressionStatement","src":"2826:49:140"},{"eventCall":{"arguments":[{"expression":{"id":21999,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2906:3:140","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":22000,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2910:6:140","memberName":"sender","nodeType":"MemberAccess","src":"2906:10:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22001,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21984,"src":"2918:8:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22002,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21986,"src":"2928:8:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":21998,"name":"ApprovalForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21851,"src":"2891:14:140","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$","typeString":"function (address,address,bool)"}},"id":22003,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2891:46:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22004,"nodeType":"EmitStatement","src":"2886:51:140"}]},"functionSelector":"a22cb465","id":22006,"implemented":true,"kind":"function","modifiers":[],"name":"setApprovalForAll","nameLocation":"2750:17:140","nodeType":"FunctionDefinition","parameters":{"id":21987,"nodeType":"ParameterList","parameters":[{"constant":false,"id":21984,"mutability":"mutable","name":"operator","nameLocation":"2776:8:140","nodeType":"VariableDeclaration","scope":22006,"src":"2768:16:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":21983,"name":"address","nodeType":"ElementaryTypeName","src":"2768:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":21986,"mutability":"mutable","name":"approved","nameLocation":"2791:8:140","nodeType":"VariableDeclaration","scope":22006,"src":"2786:13:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":21985,"name":"bool","nodeType":"ElementaryTypeName","src":"2786:4:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2767:33:140"},"returnParameters":{"id":21988,"nodeType":"ParameterList","parameters":[],"src":"2816:0:140"},"scope":22368,"src":"2741:203:140","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":22084,"nodeType":"Block","src":"3055:636:140","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":22020,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":22016,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22008,"src":"3073:4:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"baseExpression":{"id":22017,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21866,"src":"3081:8:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":22019,"indexExpression":{"id":22018,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22012,"src":"3090:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3081:12:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3073:20:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"57524f4e475f46524f4d","id":22021,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3095:12:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_f70366941d4d371c05a2457cbc0f4d05a3d6bc57ab01a7c3338bfed233eebe93","typeString":"literal_string \"WRONG_FROM\""},"value":"WRONG_FROM"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_f70366941d4d371c05a2457cbc0f4d05a3d6bc57ab01a7c3338bfed233eebe93","typeString":"literal_string \"WRONG_FROM\""}],"id":22015,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3065:7:140","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22022,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3065:43:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22023,"nodeType":"ExpressionStatement","src":"3065:43:140"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":22030,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":22025,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22010,"src":"3127:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":22028,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3141:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":22027,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3133:7:140","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":22026,"name":"address","nodeType":"ElementaryTypeName","src":"3133:7:140","typeDescriptions":{}}},"id":22029,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3133:10:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3127:16:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"494e56414c49445f524543495049454e54","id":22031,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3145:19:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_5e7bf34c5f9e77c6f415365fc02ea1195419ccebda18d14265f0c098f3687483","typeString":"literal_string \"INVALID_RECIPIENT\""},"value":"INVALID_RECIPIENT"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_5e7bf34c5f9e77c6f415365fc02ea1195419ccebda18d14265f0c098f3687483","typeString":"literal_string \"INVALID_RECIPIENT\""}],"id":22024,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3119:7:140","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22032,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3119:46:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22033,"nodeType":"ExpressionStatement","src":"3119:46:140"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":22052,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":22045,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":22038,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":22035,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3197:3:140","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":22036,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3201:6:140","memberName":"sender","nodeType":"MemberAccess","src":"3197:10:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":22037,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22008,"src":"3211:4:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3197:18:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"baseExpression":{"baseExpression":{"id":22039,"name":"isApprovedForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21925,"src":"3219:16:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":22041,"indexExpression":{"id":22040,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22008,"src":"3236:4:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3219:22:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":22044,"indexExpression":{"expression":{"id":22042,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3242:3:140","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":22043,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3246:6:140","memberName":"sender","nodeType":"MemberAccess","src":"3242:10:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3219:34:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3197:56:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":22051,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":22046,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3257:3:140","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":22047,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3261:6:140","memberName":"sender","nodeType":"MemberAccess","src":"3257:10:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"baseExpression":{"id":22048,"name":"getApproved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21919,"src":"3271:11:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":22050,"indexExpression":{"id":22049,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22012,"src":"3283:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3271:15:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3257:29:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3197:89:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e4f545f415554484f52495a4544","id":22053,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3300:16:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_e7e213d5e2bee0acc2c7bf8bfda19ef0cae82e7b8c997e7e898919269971e7c4","typeString":"literal_string \"NOT_AUTHORIZED\""},"value":"NOT_AUTHORIZED"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e7e213d5e2bee0acc2c7bf8bfda19ef0cae82e7b8c997e7e898919269971e7c4","typeString":"literal_string \"NOT_AUTHORIZED\""}],"id":22034,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3176:7:140","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22054,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3176:150:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22055,"nodeType":"ExpressionStatement","src":"3176:150:140"},{"id":22066,"nodeType":"UncheckedBlock","src":"3502:84:140","statements":[{"expression":{"id":22059,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"--","prefix":false,"src":"3526:18:140","subExpression":{"baseExpression":{"id":22056,"name":"_balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21870,"src":"3526:10:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":22058,"indexExpression":{"id":22057,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22008,"src":"3537:4:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3526:16:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":22060,"nodeType":"ExpressionStatement","src":"3526:18:140"},{"expression":{"id":22064,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"3559:16:140","subExpression":{"baseExpression":{"id":22061,"name":"_balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21870,"src":"3559:10:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":22063,"indexExpression":{"id":22062,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22010,"src":"3570:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3559:14:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":22065,"nodeType":"ExpressionStatement","src":"3559:16:140"}]},{"expression":{"id":22071,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":22067,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21866,"src":"3596:8:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":22069,"indexExpression":{"id":22068,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22012,"src":"3605:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3596:12:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":22070,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22010,"src":"3611:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3596:17:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":22072,"nodeType":"ExpressionStatement","src":"3596:17:140"},{"expression":{"id":22076,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"3624:22:140","subExpression":{"baseExpression":{"id":22073,"name":"getApproved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21919,"src":"3631:11:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":22075,"indexExpression":{"id":22074,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22012,"src":"3643:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3631:15:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22077,"nodeType":"ExpressionStatement","src":"3624:22:140"},{"eventCall":{"arguments":[{"id":22079,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22008,"src":"3671:4:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22080,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22010,"src":"3677:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22081,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22012,"src":"3681:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":22078,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21835,"src":"3662:8:140","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":22082,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3662:22:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22083,"nodeType":"EmitStatement","src":"3657:27:140"}]},"functionSelector":"23b872dd","id":22085,"implemented":true,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"2959:12:140","nodeType":"FunctionDefinition","parameters":{"id":22013,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22008,"mutability":"mutable","name":"from","nameLocation":"2989:4:140","nodeType":"VariableDeclaration","scope":22085,"src":"2981:12:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22007,"name":"address","nodeType":"ElementaryTypeName","src":"2981:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22010,"mutability":"mutable","name":"to","nameLocation":"3011:2:140","nodeType":"VariableDeclaration","scope":22085,"src":"3003:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22009,"name":"address","nodeType":"ElementaryTypeName","src":"3003:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22012,"mutability":"mutable","name":"id","nameLocation":"3031:2:140","nodeType":"VariableDeclaration","scope":22085,"src":"3023:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":22011,"name":"uint256","nodeType":"ElementaryTypeName","src":"3023:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2971:68:140"},"returnParameters":{"id":22014,"nodeType":"ParameterList","parameters":[],"src":"3055:0:140"},"scope":22368,"src":"2950:741:140","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":22124,"nodeType":"Block","src":"3806:287:140","statements":[{"expression":{"arguments":[{"id":22095,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22087,"src":"3829:4:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22096,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22089,"src":"3835:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22097,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22091,"src":"3839:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":22094,"name":"transferFrom","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22085,"src":"3816:12:140","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":22098,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3816:26:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22099,"nodeType":"ExpressionStatement","src":"3816:26:140"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":22120,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":22105,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":22101,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22089,"src":"3874:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":22102,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3877:4:140","memberName":"code","nodeType":"MemberAccess","src":"3874:7:140","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":22103,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3882:6:140","memberName":"length","nodeType":"MemberAccess","src":"3874:14:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":22104,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3892:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3874:19:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":22119,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"expression":{"id":22110,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3954:3:140","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":22111,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3958:6:140","memberName":"sender","nodeType":"MemberAccess","src":"3954:10:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22112,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22087,"src":"3966:4:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22113,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22091,"src":"3972:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"","id":22114,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3976:2:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"expression":{"arguments":[{"id":22107,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22089,"src":"3933:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":22106,"name":"ERC721TokenReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22388,"src":"3913:19:140","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721TokenReceiver_$22388_$","typeString":"type(contract ERC721TokenReceiver)"}},"id":22108,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3913:23:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC721TokenReceiver_$22388","typeString":"contract ERC721TokenReceiver"}},"id":22109,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3937:16:140","memberName":"onERC721Received","nodeType":"MemberAccess","referencedDeclaration":22387,"src":"3913:40:140","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$","typeString":"function (address,address,uint256,bytes memory) external returns (bytes4)"}},"id":22115,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3913:66:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"expression":{"id":22116,"name":"ERC721TokenReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22388,"src":"3999:19:140","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721TokenReceiver_$22388_$","typeString":"type(contract ERC721TokenReceiver)"}},"id":22117,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4019:16:140","memberName":"onERC721Received","nodeType":"MemberAccess","referencedDeclaration":22387,"src":"3999:36:140","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function ERC721TokenReceiver.onERC721Received(address,address,uint256,bytes calldata) returns (bytes4)"}},"id":22118,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4036:8:140","memberName":"selector","nodeType":"MemberAccess","src":"3999:45:140","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"3913:131:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3874:170:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"554e534146455f524543495049454e54","id":22121,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4058:18:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_91aca405bce635db2380c779628055bea528973696064aeec59f909f41accf6d","typeString":"literal_string \"UNSAFE_RECIPIENT\""},"value":"UNSAFE_RECIPIENT"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_91aca405bce635db2380c779628055bea528973696064aeec59f909f41accf6d","typeString":"literal_string \"UNSAFE_RECIPIENT\""}],"id":22100,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3853:7:140","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22122,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3853:233:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22123,"nodeType":"ExpressionStatement","src":"3853:233:140"}]},"functionSelector":"42842e0e","id":22125,"implemented":true,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"3706:16:140","nodeType":"FunctionDefinition","parameters":{"id":22092,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22087,"mutability":"mutable","name":"from","nameLocation":"3740:4:140","nodeType":"VariableDeclaration","scope":22125,"src":"3732:12:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22086,"name":"address","nodeType":"ElementaryTypeName","src":"3732:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22089,"mutability":"mutable","name":"to","nameLocation":"3762:2:140","nodeType":"VariableDeclaration","scope":22125,"src":"3754:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22088,"name":"address","nodeType":"ElementaryTypeName","src":"3754:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22091,"mutability":"mutable","name":"id","nameLocation":"3782:2:140","nodeType":"VariableDeclaration","scope":22125,"src":"3774:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":22090,"name":"uint256","nodeType":"ElementaryTypeName","src":"3774:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3722:68:140"},"returnParameters":{"id":22093,"nodeType":"ParameterList","parameters":[],"src":"3806:0:140"},"scope":22368,"src":"3697:396:140","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":22166,"nodeType":"Block","src":"4237:289:140","statements":[{"expression":{"arguments":[{"id":22137,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22127,"src":"4260:4:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22138,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22129,"src":"4266:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22139,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22131,"src":"4270:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":22136,"name":"transferFrom","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22085,"src":"4247:12:140","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":22140,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4247:26:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22141,"nodeType":"ExpressionStatement","src":"4247:26:140"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":22162,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":22147,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":22143,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22129,"src":"4305:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":22144,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4308:4:140","memberName":"code","nodeType":"MemberAccess","src":"4305:7:140","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":22145,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4313:6:140","memberName":"length","nodeType":"MemberAccess","src":"4305:14:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":22146,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4323:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4305:19:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":22161,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"expression":{"id":22152,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"4385:3:140","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":22153,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4389:6:140","memberName":"sender","nodeType":"MemberAccess","src":"4385:10:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22154,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22127,"src":"4397:4:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22155,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22131,"src":"4403:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":22156,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22133,"src":"4407:4:140","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"arguments":[{"id":22149,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22129,"src":"4364:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":22148,"name":"ERC721TokenReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22388,"src":"4344:19:140","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721TokenReceiver_$22388_$","typeString":"type(contract ERC721TokenReceiver)"}},"id":22150,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4344:23:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC721TokenReceiver_$22388","typeString":"contract ERC721TokenReceiver"}},"id":22151,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4368:16:140","memberName":"onERC721Received","nodeType":"MemberAccess","referencedDeclaration":22387,"src":"4344:40:140","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$","typeString":"function (address,address,uint256,bytes memory) external returns (bytes4)"}},"id":22157,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4344:68:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"expression":{"id":22158,"name":"ERC721TokenReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22388,"src":"4432:19:140","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721TokenReceiver_$22388_$","typeString":"type(contract ERC721TokenReceiver)"}},"id":22159,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4452:16:140","memberName":"onERC721Received","nodeType":"MemberAccess","referencedDeclaration":22387,"src":"4432:36:140","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function ERC721TokenReceiver.onERC721Received(address,address,uint256,bytes calldata) returns (bytes4)"}},"id":22160,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4469:8:140","memberName":"selector","nodeType":"MemberAccess","src":"4432:45:140","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"4344:133:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4305:172:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"554e534146455f524543495049454e54","id":22163,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4491:18:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_91aca405bce635db2380c779628055bea528973696064aeec59f909f41accf6d","typeString":"literal_string \"UNSAFE_RECIPIENT\""},"value":"UNSAFE_RECIPIENT"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_91aca405bce635db2380c779628055bea528973696064aeec59f909f41accf6d","typeString":"literal_string \"UNSAFE_RECIPIENT\""}],"id":22142,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"4284:7:140","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22164,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4284:235:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22165,"nodeType":"ExpressionStatement","src":"4284:235:140"}]},"functionSelector":"b88d4fde","id":22167,"implemented":true,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"4108:16:140","nodeType":"FunctionDefinition","parameters":{"id":22134,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22127,"mutability":"mutable","name":"from","nameLocation":"4142:4:140","nodeType":"VariableDeclaration","scope":22167,"src":"4134:12:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22126,"name":"address","nodeType":"ElementaryTypeName","src":"4134:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22129,"mutability":"mutable","name":"to","nameLocation":"4164:2:140","nodeType":"VariableDeclaration","scope":22167,"src":"4156:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22128,"name":"address","nodeType":"ElementaryTypeName","src":"4156:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22131,"mutability":"mutable","name":"id","nameLocation":"4184:2:140","nodeType":"VariableDeclaration","scope":22167,"src":"4176:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":22130,"name":"uint256","nodeType":"ElementaryTypeName","src":"4176:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":22133,"mutability":"mutable","name":"data","nameLocation":"4211:4:140","nodeType":"VariableDeclaration","scope":22167,"src":"4196:19:140","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":22132,"name":"bytes","nodeType":"ElementaryTypeName","src":"4196:5:140","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4124:97:140"},"returnParameters":{"id":22135,"nodeType":"ParameterList","parameters":[],"src":"4237:0:140"},"scope":22368,"src":"4099:427:140","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":22186,"nodeType":"Block","src":"4796:253:140","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":22184,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":22180,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":22176,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":22174,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22169,"src":"4825:11:140","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30783031666663396137","id":22175,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4840:10:140","typeDescriptions":{"typeIdentifier":"t_rational_33540519_by_1","typeString":"int_const 33540519"},"value":"0x01ffc9a7"},"src":"4825:25:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":22179,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":22177,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22169,"src":"4900:11:140","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30783830616335386364","id":22178,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4915:10:140","typeDescriptions":{"typeIdentifier":"t_rational_2158778573_by_1","typeString":"int_const 2158778573"},"value":"0x80ac58cd"},"src":"4900:25:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4825:100:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":22183,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":22181,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22169,"src":"4975:11:140","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30783562356531333966","id":22182,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4990:10:140","typeDescriptions":{"typeIdentifier":"t_rational_1532892063_by_1","typeString":"int_const 1532892063"},"value":"0x5b5e139f"},"src":"4975:25:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4825:175:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":22173,"id":22185,"nodeType":"Return","src":"4806:194:140"}]},"functionSelector":"01ffc9a7","id":22187,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"4723:17:140","nodeType":"FunctionDefinition","parameters":{"id":22170,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22169,"mutability":"mutable","name":"interfaceId","nameLocation":"4748:11:140","nodeType":"VariableDeclaration","scope":22187,"src":"4741:18:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":22168,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4741:6:140","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"4740:20:140"},"returnParameters":{"id":22173,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22172,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":22187,"src":"4790:4:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":22171,"name":"bool","nodeType":"ElementaryTypeName","src":"4790:4:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4789:6:140"},"scope":22368,"src":"4714:335:140","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":22237,"nodeType":"Block","src":"5299:315:140","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":22200,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":22195,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22189,"src":"5317:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":22198,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5331:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":22197,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5323:7:140","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":22196,"name":"address","nodeType":"ElementaryTypeName","src":"5323:7:140","typeDescriptions":{}}},"id":22199,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5323:10:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5317:16:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"494e56414c49445f524543495049454e54","id":22201,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5335:19:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_5e7bf34c5f9e77c6f415365fc02ea1195419ccebda18d14265f0c098f3687483","typeString":"literal_string \"INVALID_RECIPIENT\""},"value":"INVALID_RECIPIENT"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_5e7bf34c5f9e77c6f415365fc02ea1195419ccebda18d14265f0c098f3687483","typeString":"literal_string \"INVALID_RECIPIENT\""}],"id":22194,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"5309:7:140","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22202,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5309:46:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22203,"nodeType":"ExpressionStatement","src":"5309:46:140"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":22212,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":22205,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21866,"src":"5374:8:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":22207,"indexExpression":{"id":22206,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22191,"src":"5383:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5374:12:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":22210,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5398:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":22209,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5390:7:140","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":22208,"name":"address","nodeType":"ElementaryTypeName","src":"5390:7:140","typeDescriptions":{}}},"id":22211,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5390:10:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5374:26:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"414c52454144595f4d494e544544","id":22213,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5402:16:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_e3f56786f4dc15ea567a5bcea1aa6e11424106cac78b0acf41b1b7deccad9f1b","typeString":"literal_string \"ALREADY_MINTED\""},"value":"ALREADY_MINTED"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e3f56786f4dc15ea567a5bcea1aa6e11424106cac78b0acf41b1b7deccad9f1b","typeString":"literal_string \"ALREADY_MINTED\""}],"id":22204,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"5366:7:140","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22214,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5366:53:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22215,"nodeType":"ExpressionStatement","src":"5366:53:140"},{"id":22221,"nodeType":"UncheckedBlock","src":"5485:51:140","statements":[{"expression":{"id":22219,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"5509:16:140","subExpression":{"baseExpression":{"id":22216,"name":"_balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21870,"src":"5509:10:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":22218,"indexExpression":{"id":22217,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22189,"src":"5520:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5509:14:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":22220,"nodeType":"ExpressionStatement","src":"5509:16:140"}]},{"expression":{"id":22226,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":22222,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21866,"src":"5546:8:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":22224,"indexExpression":{"id":22223,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22191,"src":"5555:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5546:12:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":22225,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22189,"src":"5561:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5546:17:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":22227,"nodeType":"ExpressionStatement","src":"5546:17:140"},{"eventCall":{"arguments":[{"arguments":[{"hexValue":"30","id":22231,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5596:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":22230,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5588:7:140","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":22229,"name":"address","nodeType":"ElementaryTypeName","src":"5588:7:140","typeDescriptions":{}}},"id":22232,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5588:10:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22233,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22189,"src":"5600:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22234,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22191,"src":"5604:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":22228,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21835,"src":"5579:8:140","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":22235,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5579:28:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22236,"nodeType":"EmitStatement","src":"5574:33:140"}]},"id":22238,"implemented":true,"kind":"function","modifiers":[],"name":"_mint","nameLocation":"5252:5:140","nodeType":"FunctionDefinition","parameters":{"id":22192,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22189,"mutability":"mutable","name":"to","nameLocation":"5266:2:140","nodeType":"VariableDeclaration","scope":22238,"src":"5258:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22188,"name":"address","nodeType":"ElementaryTypeName","src":"5258:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22191,"mutability":"mutable","name":"id","nameLocation":"5278:2:140","nodeType":"VariableDeclaration","scope":22238,"src":"5270:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":22190,"name":"uint256","nodeType":"ElementaryTypeName","src":"5270:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5257:24:140"},"returnParameters":{"id":22193,"nodeType":"ParameterList","parameters":[],"src":"5299:0:140"},"scope":22368,"src":"5243:371:140","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":22284,"nodeType":"Block","src":"5664:327:140","statements":[{"assignments":[22244],"declarations":[{"constant":false,"id":22244,"mutability":"mutable","name":"owner","nameLocation":"5682:5:140","nodeType":"VariableDeclaration","scope":22284,"src":"5674:13:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22243,"name":"address","nodeType":"ElementaryTypeName","src":"5674:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":22248,"initialValue":{"baseExpression":{"id":22245,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21866,"src":"5690:8:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":22247,"indexExpression":{"id":22246,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22240,"src":"5699:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5690:12:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"5674:28:140"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":22255,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":22250,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22244,"src":"5721:5:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":22253,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5738:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":22252,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5730:7:140","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":22251,"name":"address","nodeType":"ElementaryTypeName","src":"5730:7:140","typeDescriptions":{}}},"id":22254,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5730:10:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5721:19:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e4f545f4d494e544544","id":22256,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5742:12:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_e904b298bc24890ae0c043938d840f08b90773c1635904efe1336d6f851f98ca","typeString":"literal_string \"NOT_MINTED\""},"value":"NOT_MINTED"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e904b298bc24890ae0c043938d840f08b90773c1635904efe1336d6f851f98ca","typeString":"literal_string \"NOT_MINTED\""}],"id":22249,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"5713:7:140","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22257,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5713:42:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22258,"nodeType":"ExpressionStatement","src":"5713:42:140"},{"id":22264,"nodeType":"UncheckedBlock","src":"5821:54:140","statements":[{"expression":{"id":22262,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"--","prefix":false,"src":"5845:19:140","subExpression":{"baseExpression":{"id":22259,"name":"_balanceOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21870,"src":"5845:10:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":22261,"indexExpression":{"id":22260,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22244,"src":"5856:5:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5845:17:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":22263,"nodeType":"ExpressionStatement","src":"5845:19:140"}]},{"expression":{"id":22268,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"5885:19:140","subExpression":{"baseExpression":{"id":22265,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21866,"src":"5892:8:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":22267,"indexExpression":{"id":22266,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22240,"src":"5901:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5892:12:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22269,"nodeType":"ExpressionStatement","src":"5885:19:140"},{"expression":{"id":22273,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"5915:22:140","subExpression":{"baseExpression":{"id":22270,"name":"getApproved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21919,"src":"5922:11:140","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":22272,"indexExpression":{"id":22271,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22240,"src":"5934:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5922:15:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22274,"nodeType":"ExpressionStatement","src":"5915:22:140"},{"eventCall":{"arguments":[{"id":22276,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22244,"src":"5962:5:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":22279,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5977:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":22278,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5969:7:140","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":22277,"name":"address","nodeType":"ElementaryTypeName","src":"5969:7:140","typeDescriptions":{}}},"id":22280,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5969:10:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22281,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22240,"src":"5981:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":22275,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21835,"src":"5953:8:140","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":22282,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5953:31:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22283,"nodeType":"EmitStatement","src":"5948:36:140"}]},"id":22285,"implemented":true,"kind":"function","modifiers":[],"name":"_burn","nameLocation":"5629:5:140","nodeType":"FunctionDefinition","parameters":{"id":22241,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22240,"mutability":"mutable","name":"id","nameLocation":"5643:2:140","nodeType":"VariableDeclaration","scope":22285,"src":"5635:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":22239,"name":"uint256","nodeType":"ElementaryTypeName","src":"5635:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5634:12:140"},"returnParameters":{"id":22242,"nodeType":"ParameterList","parameters":[],"src":"5664:0:140"},"scope":22368,"src":"5620:371:140","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":22324,"nodeType":"Block","src":"6245:280:140","statements":[{"expression":{"arguments":[{"id":22293,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22287,"src":"6261:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22294,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22289,"src":"6265:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":22292,"name":"_mint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22238,"src":"6255:5:140","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":22295,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6255:13:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22296,"nodeType":"ExpressionStatement","src":"6255:13:140"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":22320,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":22302,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":22298,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22287,"src":"6300:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":22299,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6303:4:140","memberName":"code","nodeType":"MemberAccess","src":"6300:7:140","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":22300,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6308:6:140","memberName":"length","nodeType":"MemberAccess","src":"6300:14:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":22301,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6318:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6300:19:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":22319,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"expression":{"id":22307,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"6380:3:140","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":22308,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6384:6:140","memberName":"sender","nodeType":"MemberAccess","src":"6380:10:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":22311,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6400:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":22310,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6392:7:140","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":22309,"name":"address","nodeType":"ElementaryTypeName","src":"6392:7:140","typeDescriptions":{}}},"id":22312,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6392:10:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22313,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22289,"src":"6404:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"","id":22314,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6408:2:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"expression":{"arguments":[{"id":22304,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22287,"src":"6359:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":22303,"name":"ERC721TokenReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22388,"src":"6339:19:140","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721TokenReceiver_$22388_$","typeString":"type(contract ERC721TokenReceiver)"}},"id":22305,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6339:23:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC721TokenReceiver_$22388","typeString":"contract ERC721TokenReceiver"}},"id":22306,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6363:16:140","memberName":"onERC721Received","nodeType":"MemberAccess","referencedDeclaration":22387,"src":"6339:40:140","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$","typeString":"function (address,address,uint256,bytes memory) external returns (bytes4)"}},"id":22315,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6339:72:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"expression":{"id":22316,"name":"ERC721TokenReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22388,"src":"6431:19:140","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721TokenReceiver_$22388_$","typeString":"type(contract ERC721TokenReceiver)"}},"id":22317,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6451:16:140","memberName":"onERC721Received","nodeType":"MemberAccess","referencedDeclaration":22387,"src":"6431:36:140","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function ERC721TokenReceiver.onERC721Received(address,address,uint256,bytes calldata) returns (bytes4)"}},"id":22318,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6468:8:140","memberName":"selector","nodeType":"MemberAccess","src":"6431:45:140","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"6339:137:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"6300:176:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"554e534146455f524543495049454e54","id":22321,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6490:18:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_91aca405bce635db2380c779628055bea528973696064aeec59f909f41accf6d","typeString":"literal_string \"UNSAFE_RECIPIENT\""},"value":"UNSAFE_RECIPIENT"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_91aca405bce635db2380c779628055bea528973696064aeec59f909f41accf6d","typeString":"literal_string \"UNSAFE_RECIPIENT\""}],"id":22297,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"6279:7:140","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22322,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6279:239:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22323,"nodeType":"ExpressionStatement","src":"6279:239:140"}]},"id":22325,"implemented":true,"kind":"function","modifiers":[],"name":"_safeMint","nameLocation":"6194:9:140","nodeType":"FunctionDefinition","parameters":{"id":22290,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22287,"mutability":"mutable","name":"to","nameLocation":"6212:2:140","nodeType":"VariableDeclaration","scope":22325,"src":"6204:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22286,"name":"address","nodeType":"ElementaryTypeName","src":"6204:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22289,"mutability":"mutable","name":"id","nameLocation":"6224:2:140","nodeType":"VariableDeclaration","scope":22325,"src":"6216:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":22288,"name":"uint256","nodeType":"ElementaryTypeName","src":"6216:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6203:24:140"},"returnParameters":{"id":22291,"nodeType":"ParameterList","parameters":[],"src":"6245:0:140"},"scope":22368,"src":"6185:340:140","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":22366,"nodeType":"Block","src":"6640:282:140","statements":[{"expression":{"arguments":[{"id":22335,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22327,"src":"6656:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22336,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22329,"src":"6660:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":22334,"name":"_mint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22238,"src":"6650:5:140","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":22337,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6650:13:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22338,"nodeType":"ExpressionStatement","src":"6650:13:140"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":22362,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":22344,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":22340,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22327,"src":"6695:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":22341,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6698:4:140","memberName":"code","nodeType":"MemberAccess","src":"6695:7:140","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":22342,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6703:6:140","memberName":"length","nodeType":"MemberAccess","src":"6695:14:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":22343,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6713:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6695:19:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":22361,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"expression":{"id":22349,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"6775:3:140","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":22350,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6779:6:140","memberName":"sender","nodeType":"MemberAccess","src":"6775:10:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":22353,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6795:1:140","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":22352,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6787:7:140","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":22351,"name":"address","nodeType":"ElementaryTypeName","src":"6787:7:140","typeDescriptions":{}}},"id":22354,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6787:10:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":22355,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22329,"src":"6799:2:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":22356,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22331,"src":"6803:4:140","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"arguments":[{"id":22346,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22327,"src":"6754:2:140","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":22345,"name":"ERC721TokenReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22388,"src":"6734:19:140","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721TokenReceiver_$22388_$","typeString":"type(contract ERC721TokenReceiver)"}},"id":22347,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6734:23:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_ERC721TokenReceiver_$22388","typeString":"contract ERC721TokenReceiver"}},"id":22348,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6758:16:140","memberName":"onERC721Received","nodeType":"MemberAccess","referencedDeclaration":22387,"src":"6734:40:140","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$","typeString":"function (address,address,uint256,bytes memory) external returns (bytes4)"}},"id":22357,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6734:74:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"expression":{"id":22358,"name":"ERC721TokenReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22388,"src":"6828:19:140","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721TokenReceiver_$22388_$","typeString":"type(contract ERC721TokenReceiver)"}},"id":22359,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6848:16:140","memberName":"onERC721Received","nodeType":"MemberAccess","referencedDeclaration":22387,"src":"6828:36:140","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function ERC721TokenReceiver.onERC721Received(address,address,uint256,bytes calldata) returns (bytes4)"}},"id":22360,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6865:8:140","memberName":"selector","nodeType":"MemberAccess","src":"6828:45:140","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"6734:139:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"6695:178:140","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"554e534146455f524543495049454e54","id":22363,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6887:18:140","typeDescriptions":{"typeIdentifier":"t_stringliteral_91aca405bce635db2380c779628055bea528973696064aeec59f909f41accf6d","typeString":"literal_string \"UNSAFE_RECIPIENT\""},"value":"UNSAFE_RECIPIENT"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_91aca405bce635db2380c779628055bea528973696064aeec59f909f41accf6d","typeString":"literal_string \"UNSAFE_RECIPIENT\""}],"id":22339,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"6674:7:140","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22364,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6674:241:140","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22365,"nodeType":"ExpressionStatement","src":"6674:241:140"}]},"id":22367,"implemented":true,"kind":"function","modifiers":[],"name":"_safeMint","nameLocation":"6540:9:140","nodeType":"FunctionDefinition","parameters":{"id":22332,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22327,"mutability":"mutable","name":"to","nameLocation":"6567:2:140","nodeType":"VariableDeclaration","scope":22367,"src":"6559:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22326,"name":"address","nodeType":"ElementaryTypeName","src":"6559:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22329,"mutability":"mutable","name":"id","nameLocation":"6587:2:140","nodeType":"VariableDeclaration","scope":22367,"src":"6579:10:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":22328,"name":"uint256","nodeType":"ElementaryTypeName","src":"6579:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":22331,"mutability":"mutable","name":"data","nameLocation":"6612:4:140","nodeType":"VariableDeclaration","scope":22367,"src":"6599:17:140","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":22330,"name":"bytes","nodeType":"ElementaryTypeName","src":"6599:5:140","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6549:73:140"},"returnParameters":{"id":22333,"nodeType":"ParameterList","parameters":[],"src":"6640:0:140"},"scope":22368,"src":"6531:391:140","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":22389,"src":"239:6685:140","usedErrors":[],"usedEvents":[21835,21843,21851]},{"abstract":true,"baseContracts":[],"canonicalName":"ERC721TokenReceiver","contractDependencies":[],"contractKind":"contract","documentation":{"id":22369,"nodeType":"StructuredDocumentation","src":"6926:182:140","text":"@notice A generic interface for a contract which properly accepts ERC721 tokens.\n @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)"},"fullyImplemented":true,"id":22388,"linearizedBaseContracts":[22388],"name":"ERC721TokenReceiver","nameLocation":"7126:19:140","nodeType":"ContractDefinition","nodes":[{"body":{"id":22386,"nodeType":"Block","src":"7293:69:140","statements":[{"expression":{"expression":{"expression":{"id":22382,"name":"ERC721TokenReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22388,"src":"7310:19:140","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721TokenReceiver_$22388_$","typeString":"type(contract ERC721TokenReceiver)"}},"id":22383,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7330:16:140","memberName":"onERC721Received","nodeType":"MemberAccess","referencedDeclaration":22387,"src":"7310:36:140","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function ERC721TokenReceiver.onERC721Received(address,address,uint256,bytes calldata) returns (bytes4)"}},"id":22384,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7347:8:140","memberName":"selector","nodeType":"MemberAccess","src":"7310:45:140","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":22381,"id":22385,"nodeType":"Return","src":"7303:52:140"}]},"functionSelector":"150b7a02","id":22387,"implemented":true,"kind":"function","modifiers":[],"name":"onERC721Received","nameLocation":"7161:16:140","nodeType":"FunctionDefinition","parameters":{"id":22378,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22371,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":22387,"src":"7187:7:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22370,"name":"address","nodeType":"ElementaryTypeName","src":"7187:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22373,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":22387,"src":"7204:7:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22372,"name":"address","nodeType":"ElementaryTypeName","src":"7204:7:140","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22375,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":22387,"src":"7221:7:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":22374,"name":"uint256","nodeType":"ElementaryTypeName","src":"7221:7:140","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":22377,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":22387,"src":"7238:14:140","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":22376,"name":"bytes","nodeType":"ElementaryTypeName","src":"7238:5:140","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7177:81:140"},"returnParameters":{"id":22381,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22380,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":22387,"src":"7285:6:140","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":22379,"name":"bytes4","nodeType":"ElementaryTypeName","src":"7285:6:140","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"7284:8:140"},"scope":22388,"src":"7152:210:140","stateMutability":"nonpayable","virtual":true,"visibility":"external"}],"scope":22389,"src":"7108:256:140","usedErrors":[],"usedEvents":[]}],"src":"42:7323:140"},"id":140},"solmate/src/utils/SafeTransferLib.sol":{"ast":{"absolutePath":"solmate/src/utils/SafeTransferLib.sol","exportedSymbols":{"ERC20":[21824],"SafeTransferLib":[22473]},"id":22474,"license":"AGPL-3.0-only","nodeType":"SourceUnit","nodes":[{"id":22390,"literals":["solidity",">=","0.8",".0"],"nodeType":"PragmaDirective","src":"42:24:141"},{"absolutePath":"solmate/src/tokens/ERC20.sol","file":"../tokens/ERC20.sol","id":22392,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":22474,"sourceUnit":21825,"src":"68:42:141","symbolAliases":[{"foreign":{"id":22391,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":21824,"src":"76:5:141","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"SafeTransferLib","contractDependencies":[],"contractKind":"library","documentation":{"id":22393,"nodeType":"StructuredDocumentation","src":"112:474:141","text":"@notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.\n @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)\n @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer.\n @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller."},"fullyImplemented":true,"id":22473,"linearizedBaseContracts":[22473],"name":"SafeTransferLib","nameLocation":"594:15:141","nodeType":"ContractDefinition","nodes":[{"body":{"id":22409,"nodeType":"Block","src":"861:277:141","statements":[{"assignments":[22401],"declarations":[{"constant":false,"id":22401,"mutability":"mutable","name":"success","nameLocation":"876:7:141","nodeType":"VariableDeclaration","scope":22409,"src":"871:12:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":22400,"name":"bool","nodeType":"ElementaryTypeName","src":"871:4:141","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":22402,"nodeType":"VariableDeclarationStatement","src":"871:12:141"},{"AST":{"nativeSrc":"946:136:141","nodeType":"YulBlock","src":"946:136:141","statements":[{"nativeSrc":"1026:46:141","nodeType":"YulAssignment","src":"1026:46:141","value":{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"1042:3:141","nodeType":"YulIdentifier","src":"1042:3:141"},"nativeSrc":"1042:5:141","nodeType":"YulFunctionCall","src":"1042:5:141"},{"name":"to","nativeSrc":"1049:2:141","nodeType":"YulIdentifier","src":"1049:2:141"},{"name":"amount","nativeSrc":"1053:6:141","nodeType":"YulIdentifier","src":"1053:6:141"},{"kind":"number","nativeSrc":"1061:1:141","nodeType":"YulLiteral","src":"1061:1:141","type":"","value":"0"},{"kind":"number","nativeSrc":"1064:1:141","nodeType":"YulLiteral","src":"1064:1:141","type":"","value":"0"},{"kind":"number","nativeSrc":"1067:1:141","nodeType":"YulLiteral","src":"1067:1:141","type":"","value":"0"},{"kind":"number","nativeSrc":"1070:1:141","nodeType":"YulLiteral","src":"1070:1:141","type":"","value":"0"}],"functionName":{"name":"call","nativeSrc":"1037:4:141","nodeType":"YulIdentifier","src":"1037:4:141"},"nativeSrc":"1037:35:141","nodeType":"YulFunctionCall","src":"1037:35:141"},"variableNames":[{"name":"success","nativeSrc":"1026:7:141","nodeType":"YulIdentifier","src":"1026:7:141"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"cancun","externalReferences":[{"declaration":22397,"isOffset":false,"isSlot":false,"src":"1053:6:141","valueSize":1},{"declaration":22401,"isOffset":false,"isSlot":false,"src":"1026:7:141","valueSize":1},{"declaration":22395,"isOffset":false,"isSlot":false,"src":"1049:2:141","valueSize":1}],"id":22403,"nodeType":"InlineAssembly","src":"937:145:141"},{"expression":{"arguments":[{"id":22405,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22401,"src":"1100:7:141","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4554485f5452414e534645525f4641494c4544","id":22406,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1109:21:141","typeDescriptions":{"typeIdentifier":"t_stringliteral_d383913ea1996930a2623a0d739b8fc033c734c1d71d4759d3ccba1d3a719c29","typeString":"literal_string \"ETH_TRANSFER_FAILED\""},"value":"ETH_TRANSFER_FAILED"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_d383913ea1996930a2623a0d739b8fc033c734c1d71d4759d3ccba1d3a719c29","typeString":"literal_string \"ETH_TRANSFER_FAILED\""}],"id":22404,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1092:7:141","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22407,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1092:39:141","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22408,"nodeType":"ExpressionStatement","src":"1092:39:141"}]},"id":22410,"implemented":true,"kind":"function","modifiers":[],"name":"safeTransferETH","nameLocation":"808:15:141","nodeType":"FunctionDefinition","parameters":{"id":22398,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22395,"mutability":"mutable","name":"to","nameLocation":"832:2:141","nodeType":"VariableDeclaration","scope":22410,"src":"824:10:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22394,"name":"address","nodeType":"ElementaryTypeName","src":"824:7:141","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22397,"mutability":"mutable","name":"amount","nameLocation":"844:6:141","nodeType":"VariableDeclaration","scope":22410,"src":"836:14:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":22396,"name":"uint256","nodeType":"ElementaryTypeName","src":"836:7:141","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"823:28:141"},"returnParameters":{"id":22399,"nodeType":"ParameterList","parameters":[],"src":"861:0:141"},"scope":22473,"src":"799:339:141","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":22431,"nodeType":"Block","src":"1456:1488:141","statements":[{"assignments":[22423],"declarations":[{"constant":false,"id":22423,"mutability":"mutable","name":"success","nameLocation":"1471:7:141","nodeType":"VariableDeclaration","scope":22431,"src":"1466:12:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":22422,"name":"bool","nodeType":"ElementaryTypeName","src":"1466:4:141","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":22424,"nodeType":"VariableDeclarationStatement","src":"1466:12:141"},{"AST":{"nativeSrc":"1541:1346:141","nodeType":"YulBlock","src":"1541:1346:141","statements":[{"nativeSrc":"1605:36:141","nodeType":"YulVariableDeclaration","src":"1605:36:141","value":{"arguments":[{"kind":"number","nativeSrc":"1636:4:141","nodeType":"YulLiteral","src":"1636:4:141","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"1630:5:141","nodeType":"YulIdentifier","src":"1630:5:141"},"nativeSrc":"1630:11:141","nodeType":"YulFunctionCall","src":"1630:11:141"},"variables":[{"name":"freeMemoryPointer","nativeSrc":"1609:17:141","nodeType":"YulTypedName","src":"1609:17:141","type":""}]},{"expression":{"arguments":[{"name":"freeMemoryPointer","nativeSrc":"1759:17:141","nodeType":"YulIdentifier","src":"1759:17:141"},{"kind":"number","nativeSrc":"1778:66:141","nodeType":"YulLiteral","src":"1778:66:141","type":"","value":"0x23b872dd00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"mstore","nativeSrc":"1752:6:141","nodeType":"YulIdentifier","src":"1752:6:141"},"nativeSrc":"1752:93:141","nodeType":"YulFunctionCall","src":"1752:93:141"},"nativeSrc":"1752:93:141","nodeType":"YulExpressionStatement","src":"1752:93:141"},{"expression":{"arguments":[{"arguments":[{"name":"freeMemoryPointer","nativeSrc":"1869:17:141","nodeType":"YulIdentifier","src":"1869:17:141"},{"kind":"number","nativeSrc":"1888:1:141","nodeType":"YulLiteral","src":"1888:1:141","type":"","value":"4"}],"functionName":{"name":"add","nativeSrc":"1865:3:141","nodeType":"YulIdentifier","src":"1865:3:141"},"nativeSrc":"1865:25:141","nodeType":"YulFunctionCall","src":"1865:25:141"},{"name":"from","nativeSrc":"1892:4:141","nodeType":"YulIdentifier","src":"1892:4:141"}],"functionName":{"name":"mstore","nativeSrc":"1858:6:141","nodeType":"YulIdentifier","src":"1858:6:141"},"nativeSrc":"1858:39:141","nodeType":"YulFunctionCall","src":"1858:39:141"},"nativeSrc":"1858:39:141","nodeType":"YulExpressionStatement","src":"1858:39:141"},{"expression":{"arguments":[{"arguments":[{"name":"freeMemoryPointer","nativeSrc":"1952:17:141","nodeType":"YulIdentifier","src":"1952:17:141"},{"kind":"number","nativeSrc":"1971:2:141","nodeType":"YulLiteral","src":"1971:2:141","type":"","value":"36"}],"functionName":{"name":"add","nativeSrc":"1948:3:141","nodeType":"YulIdentifier","src":"1948:3:141"},"nativeSrc":"1948:26:141","nodeType":"YulFunctionCall","src":"1948:26:141"},{"name":"to","nativeSrc":"1976:2:141","nodeType":"YulIdentifier","src":"1976:2:141"}],"functionName":{"name":"mstore","nativeSrc":"1941:6:141","nodeType":"YulIdentifier","src":"1941:6:141"},"nativeSrc":"1941:38:141","nodeType":"YulFunctionCall","src":"1941:38:141"},"nativeSrc":"1941:38:141","nodeType":"YulExpressionStatement","src":"1941:38:141"},{"expression":{"arguments":[{"arguments":[{"name":"freeMemoryPointer","nativeSrc":"2032:17:141","nodeType":"YulIdentifier","src":"2032:17:141"},{"kind":"number","nativeSrc":"2051:2:141","nodeType":"YulLiteral","src":"2051:2:141","type":"","value":"68"}],"functionName":{"name":"add","nativeSrc":"2028:3:141","nodeType":"YulIdentifier","src":"2028:3:141"},"nativeSrc":"2028:26:141","nodeType":"YulFunctionCall","src":"2028:26:141"},{"name":"amount","nativeSrc":"2056:6:141","nodeType":"YulIdentifier","src":"2056:6:141"}],"functionName":{"name":"mstore","nativeSrc":"2021:6:141","nodeType":"YulIdentifier","src":"2021:6:141"},"nativeSrc":"2021:42:141","nodeType":"YulFunctionCall","src":"2021:42:141"},"nativeSrc":"2021:42:141","nodeType":"YulExpressionStatement","src":"2021:42:141"},{"nativeSrc":"2110:767:141","nodeType":"YulAssignment","src":"2110:767:141","value":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"2337:1:141","nodeType":"YulLiteral","src":"2337:1:141","type":"","value":"0"}],"functionName":{"name":"mload","nativeSrc":"2331:5:141","nodeType":"YulIdentifier","src":"2331:5:141"},"nativeSrc":"2331:8:141","nodeType":"YulFunctionCall","src":"2331:8:141"},{"kind":"number","nativeSrc":"2341:1:141","nodeType":"YulLiteral","src":"2341:1:141","type":"","value":"1"}],"functionName":{"name":"eq","nativeSrc":"2328:2:141","nodeType":"YulIdentifier","src":"2328:2:141"},"nativeSrc":"2328:15:141","nodeType":"YulFunctionCall","src":"2328:15:141"},{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"2348:14:141","nodeType":"YulIdentifier","src":"2348:14:141"},"nativeSrc":"2348:16:141","nodeType":"YulFunctionCall","src":"2348:16:141"},{"kind":"number","nativeSrc":"2366:2:141","nodeType":"YulLiteral","src":"2366:2:141","type":"","value":"31"}],"functionName":{"name":"gt","nativeSrc":"2345:2:141","nodeType":"YulIdentifier","src":"2345:2:141"},"nativeSrc":"2345:24:141","nodeType":"YulFunctionCall","src":"2345:24:141"}],"functionName":{"name":"and","nativeSrc":"2324:3:141","nodeType":"YulIdentifier","src":"2324:3:141"},"nativeSrc":"2324:46:141","nodeType":"YulFunctionCall","src":"2324:46:141"},{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"2379:14:141","nodeType":"YulIdentifier","src":"2379:14:141"},"nativeSrc":"2379:16:141","nodeType":"YulFunctionCall","src":"2379:16:141"}],"functionName":{"name":"iszero","nativeSrc":"2372:6:141","nodeType":"YulIdentifier","src":"2372:6:141"},"nativeSrc":"2372:24:141","nodeType":"YulFunctionCall","src":"2372:24:141"}],"functionName":{"name":"or","nativeSrc":"2321:2:141","nodeType":"YulIdentifier","src":"2321:2:141"},"nativeSrc":"2321:76:141","nodeType":"YulFunctionCall","src":"2321:76:141"},{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"2816:3:141","nodeType":"YulIdentifier","src":"2816:3:141"},"nativeSrc":"2816:5:141","nodeType":"YulFunctionCall","src":"2816:5:141"},{"name":"token","nativeSrc":"2823:5:141","nodeType":"YulIdentifier","src":"2823:5:141"},{"kind":"number","nativeSrc":"2830:1:141","nodeType":"YulLiteral","src":"2830:1:141","type":"","value":"0"},{"name":"freeMemoryPointer","nativeSrc":"2833:17:141","nodeType":"YulIdentifier","src":"2833:17:141"},{"kind":"number","nativeSrc":"2852:3:141","nodeType":"YulLiteral","src":"2852:3:141","type":"","value":"100"},{"kind":"number","nativeSrc":"2857:1:141","nodeType":"YulLiteral","src":"2857:1:141","type":"","value":"0"},{"kind":"number","nativeSrc":"2860:2:141","nodeType":"YulLiteral","src":"2860:2:141","type":"","value":"32"}],"functionName":{"name":"call","nativeSrc":"2811:4:141","nodeType":"YulIdentifier","src":"2811:4:141"},"nativeSrc":"2811:52:141","nodeType":"YulFunctionCall","src":"2811:52:141"}],"functionName":{"name":"and","nativeSrc":"2121:3:141","nodeType":"YulIdentifier","src":"2121:3:141"},"nativeSrc":"2121:756:141","nodeType":"YulFunctionCall","src":"2121:756:141"},"variableNames":[{"name":"success","nativeSrc":"2110:7:141","nodeType":"YulIdentifier","src":"2110:7:141"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"cancun","externalReferences":[{"declaration":22419,"isOffset":false,"isSlot":false,"src":"2056:6:141","valueSize":1},{"declaration":22415,"isOffset":false,"isSlot":false,"src":"1892:4:141","valueSize":1},{"declaration":22423,"isOffset":false,"isSlot":false,"src":"2110:7:141","valueSize":1},{"declaration":22417,"isOffset":false,"isSlot":false,"src":"1976:2:141","valueSize":1},{"declaration":22413,"isOffset":false,"isSlot":false,"src":"2823:5:141","valueSize":1}],"id":22425,"nodeType":"InlineAssembly","src":"1532:1355:141"},{"expression":{"arguments":[{"id":22427,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22423,"src":"2905:7:141","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5452414e534645525f46524f4d5f4641494c4544","id":22428,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2914:22:141","typeDescriptions":{"typeIdentifier":"t_stringliteral_77631768048ee92f9dcf4b9b9d762877d6b9723214862c733f0596708fc219b7","typeString":"literal_string \"TRANSFER_FROM_FAILED\""},"value":"TRANSFER_FROM_FAILED"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_77631768048ee92f9dcf4b9b9d762877d6b9723214862c733f0596708fc219b7","typeString":"literal_string \"TRANSFER_FROM_FAILED\""}],"id":22426,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"2897:7:141","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22429,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2897:40:141","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22430,"nodeType":"ExpressionStatement","src":"2897:40:141"}]},"id":22432,"implemented":true,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"1337:16:141","nodeType":"FunctionDefinition","parameters":{"id":22420,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22413,"mutability":"mutable","name":"token","nameLocation":"1369:5:141","nodeType":"VariableDeclaration","scope":22432,"src":"1363:11:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"},"typeName":{"id":22412,"nodeType":"UserDefinedTypeName","pathNode":{"id":22411,"name":"ERC20","nameLocations":["1363:5:141"],"nodeType":"IdentifierPath","referencedDeclaration":21824,"src":"1363:5:141"},"referencedDeclaration":21824,"src":"1363:5:141","typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"visibility":"internal"},{"constant":false,"id":22415,"mutability":"mutable","name":"from","nameLocation":"1392:4:141","nodeType":"VariableDeclaration","scope":22432,"src":"1384:12:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22414,"name":"address","nodeType":"ElementaryTypeName","src":"1384:7:141","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22417,"mutability":"mutable","name":"to","nameLocation":"1414:2:141","nodeType":"VariableDeclaration","scope":22432,"src":"1406:10:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22416,"name":"address","nodeType":"ElementaryTypeName","src":"1406:7:141","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22419,"mutability":"mutable","name":"amount","nameLocation":"1434:6:141","nodeType":"VariableDeclaration","scope":22432,"src":"1426:14:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":22418,"name":"uint256","nodeType":"ElementaryTypeName","src":"1426:7:141","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1353:93:141"},"returnParameters":{"id":22421,"nodeType":"ParameterList","parameters":[],"src":"1456:0:141"},"scope":22473,"src":"1328:1616:141","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":22451,"nodeType":"Block","src":"3052:1397:141","statements":[{"assignments":[22443],"declarations":[{"constant":false,"id":22443,"mutability":"mutable","name":"success","nameLocation":"3067:7:141","nodeType":"VariableDeclaration","scope":22451,"src":"3062:12:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":22442,"name":"bool","nodeType":"ElementaryTypeName","src":"3062:4:141","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":22444,"nodeType":"VariableDeclarationStatement","src":"3062:12:141"},{"AST":{"nativeSrc":"3137:1260:141","nodeType":"YulBlock","src":"3137:1260:141","statements":[{"nativeSrc":"3201:36:141","nodeType":"YulVariableDeclaration","src":"3201:36:141","value":{"arguments":[{"kind":"number","nativeSrc":"3232:4:141","nodeType":"YulLiteral","src":"3232:4:141","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"3226:5:141","nodeType":"YulIdentifier","src":"3226:5:141"},"nativeSrc":"3226:11:141","nodeType":"YulFunctionCall","src":"3226:11:141"},"variables":[{"name":"freeMemoryPointer","nativeSrc":"3205:17:141","nodeType":"YulTypedName","src":"3205:17:141","type":""}]},{"expression":{"arguments":[{"name":"freeMemoryPointer","nativeSrc":"3355:17:141","nodeType":"YulIdentifier","src":"3355:17:141"},{"kind":"number","nativeSrc":"3374:66:141","nodeType":"YulLiteral","src":"3374:66:141","type":"","value":"0xa9059cbb00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"mstore","nativeSrc":"3348:6:141","nodeType":"YulIdentifier","src":"3348:6:141"},"nativeSrc":"3348:93:141","nodeType":"YulFunctionCall","src":"3348:93:141"},"nativeSrc":"3348:93:141","nodeType":"YulExpressionStatement","src":"3348:93:141"},{"expression":{"arguments":[{"arguments":[{"name":"freeMemoryPointer","nativeSrc":"3465:17:141","nodeType":"YulIdentifier","src":"3465:17:141"},{"kind":"number","nativeSrc":"3484:1:141","nodeType":"YulLiteral","src":"3484:1:141","type":"","value":"4"}],"functionName":{"name":"add","nativeSrc":"3461:3:141","nodeType":"YulIdentifier","src":"3461:3:141"},"nativeSrc":"3461:25:141","nodeType":"YulFunctionCall","src":"3461:25:141"},{"name":"to","nativeSrc":"3488:2:141","nodeType":"YulIdentifier","src":"3488:2:141"}],"functionName":{"name":"mstore","nativeSrc":"3454:6:141","nodeType":"YulIdentifier","src":"3454:6:141"},"nativeSrc":"3454:37:141","nodeType":"YulFunctionCall","src":"3454:37:141"},"nativeSrc":"3454:37:141","nodeType":"YulExpressionStatement","src":"3454:37:141"},{"expression":{"arguments":[{"arguments":[{"name":"freeMemoryPointer","nativeSrc":"3544:17:141","nodeType":"YulIdentifier","src":"3544:17:141"},{"kind":"number","nativeSrc":"3563:2:141","nodeType":"YulLiteral","src":"3563:2:141","type":"","value":"36"}],"functionName":{"name":"add","nativeSrc":"3540:3:141","nodeType":"YulIdentifier","src":"3540:3:141"},"nativeSrc":"3540:26:141","nodeType":"YulFunctionCall","src":"3540:26:141"},{"name":"amount","nativeSrc":"3568:6:141","nodeType":"YulIdentifier","src":"3568:6:141"}],"functionName":{"name":"mstore","nativeSrc":"3533:6:141","nodeType":"YulIdentifier","src":"3533:6:141"},"nativeSrc":"3533:42:141","nodeType":"YulFunctionCall","src":"3533:42:141"},"nativeSrc":"3533:42:141","nodeType":"YulExpressionStatement","src":"3533:42:141"},{"nativeSrc":"3622:765:141","nodeType":"YulAssignment","src":"3622:765:141","value":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"3849:1:141","nodeType":"YulLiteral","src":"3849:1:141","type":"","value":"0"}],"functionName":{"name":"mload","nativeSrc":"3843:5:141","nodeType":"YulIdentifier","src":"3843:5:141"},"nativeSrc":"3843:8:141","nodeType":"YulFunctionCall","src":"3843:8:141"},{"kind":"number","nativeSrc":"3853:1:141","nodeType":"YulLiteral","src":"3853:1:141","type":"","value":"1"}],"functionName":{"name":"eq","nativeSrc":"3840:2:141","nodeType":"YulIdentifier","src":"3840:2:141"},"nativeSrc":"3840:15:141","nodeType":"YulFunctionCall","src":"3840:15:141"},{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"3860:14:141","nodeType":"YulIdentifier","src":"3860:14:141"},"nativeSrc":"3860:16:141","nodeType":"YulFunctionCall","src":"3860:16:141"},{"kind":"number","nativeSrc":"3878:2:141","nodeType":"YulLiteral","src":"3878:2:141","type":"","value":"31"}],"functionName":{"name":"gt","nativeSrc":"3857:2:141","nodeType":"YulIdentifier","src":"3857:2:141"},"nativeSrc":"3857:24:141","nodeType":"YulFunctionCall","src":"3857:24:141"}],"functionName":{"name":"and","nativeSrc":"3836:3:141","nodeType":"YulIdentifier","src":"3836:3:141"},"nativeSrc":"3836:46:141","nodeType":"YulFunctionCall","src":"3836:46:141"},{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"3891:14:141","nodeType":"YulIdentifier","src":"3891:14:141"},"nativeSrc":"3891:16:141","nodeType":"YulFunctionCall","src":"3891:16:141"}],"functionName":{"name":"iszero","nativeSrc":"3884:6:141","nodeType":"YulIdentifier","src":"3884:6:141"},"nativeSrc":"3884:24:141","nodeType":"YulFunctionCall","src":"3884:24:141"}],"functionName":{"name":"or","nativeSrc":"3833:2:141","nodeType":"YulIdentifier","src":"3833:2:141"},"nativeSrc":"3833:76:141","nodeType":"YulFunctionCall","src":"3833:76:141"},{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"4327:3:141","nodeType":"YulIdentifier","src":"4327:3:141"},"nativeSrc":"4327:5:141","nodeType":"YulFunctionCall","src":"4327:5:141"},{"name":"token","nativeSrc":"4334:5:141","nodeType":"YulIdentifier","src":"4334:5:141"},{"kind":"number","nativeSrc":"4341:1:141","nodeType":"YulLiteral","src":"4341:1:141","type":"","value":"0"},{"name":"freeMemoryPointer","nativeSrc":"4344:17:141","nodeType":"YulIdentifier","src":"4344:17:141"},{"kind":"number","nativeSrc":"4363:2:141","nodeType":"YulLiteral","src":"4363:2:141","type":"","value":"68"},{"kind":"number","nativeSrc":"4367:1:141","nodeType":"YulLiteral","src":"4367:1:141","type":"","value":"0"},{"kind":"number","nativeSrc":"4370:2:141","nodeType":"YulLiteral","src":"4370:2:141","type":"","value":"32"}],"functionName":{"name":"call","nativeSrc":"4322:4:141","nodeType":"YulIdentifier","src":"4322:4:141"},"nativeSrc":"4322:51:141","nodeType":"YulFunctionCall","src":"4322:51:141"}],"functionName":{"name":"and","nativeSrc":"3633:3:141","nodeType":"YulIdentifier","src":"3633:3:141"},"nativeSrc":"3633:754:141","nodeType":"YulFunctionCall","src":"3633:754:141"},"variableNames":[{"name":"success","nativeSrc":"3622:7:141","nodeType":"YulIdentifier","src":"3622:7:141"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"cancun","externalReferences":[{"declaration":22439,"isOffset":false,"isSlot":false,"src":"3568:6:141","valueSize":1},{"declaration":22443,"isOffset":false,"isSlot":false,"src":"3622:7:141","valueSize":1},{"declaration":22437,"isOffset":false,"isSlot":false,"src":"3488:2:141","valueSize":1},{"declaration":22435,"isOffset":false,"isSlot":false,"src":"4334:5:141","valueSize":1}],"id":22445,"nodeType":"InlineAssembly","src":"3128:1269:141"},{"expression":{"arguments":[{"id":22447,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22443,"src":"4415:7:141","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5452414e534645525f4641494c4544","id":22448,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4424:17:141","typeDescriptions":{"typeIdentifier":"t_stringliteral_8bf8f0d780f13740660fe63233b17f96cb1813889e7dce4121e55b817b367b72","typeString":"literal_string \"TRANSFER_FAILED\""},"value":"TRANSFER_FAILED"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_8bf8f0d780f13740660fe63233b17f96cb1813889e7dce4121e55b817b367b72","typeString":"literal_string \"TRANSFER_FAILED\""}],"id":22446,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"4407:7:141","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22449,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4407:35:141","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22450,"nodeType":"ExpressionStatement","src":"4407:35:141"}]},"id":22452,"implemented":true,"kind":"function","modifiers":[],"name":"safeTransfer","nameLocation":"2959:12:141","nodeType":"FunctionDefinition","parameters":{"id":22440,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22435,"mutability":"mutable","name":"token","nameLocation":"2987:5:141","nodeType":"VariableDeclaration","scope":22452,"src":"2981:11:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"},"typeName":{"id":22434,"nodeType":"UserDefinedTypeName","pathNode":{"id":22433,"name":"ERC20","nameLocations":["2981:5:141"],"nodeType":"IdentifierPath","referencedDeclaration":21824,"src":"2981:5:141"},"referencedDeclaration":21824,"src":"2981:5:141","typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"visibility":"internal"},{"constant":false,"id":22437,"mutability":"mutable","name":"to","nameLocation":"3010:2:141","nodeType":"VariableDeclaration","scope":22452,"src":"3002:10:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22436,"name":"address","nodeType":"ElementaryTypeName","src":"3002:7:141","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22439,"mutability":"mutable","name":"amount","nameLocation":"3030:6:141","nodeType":"VariableDeclaration","scope":22452,"src":"3022:14:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":22438,"name":"uint256","nodeType":"ElementaryTypeName","src":"3022:7:141","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2971:71:141"},"returnParameters":{"id":22441,"nodeType":"ParameterList","parameters":[],"src":"3052:0:141"},"scope":22473,"src":"2950:1499:141","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":22471,"nodeType":"Block","src":"4556:1396:141","statements":[{"assignments":[22463],"declarations":[{"constant":false,"id":22463,"mutability":"mutable","name":"success","nameLocation":"4571:7:141","nodeType":"VariableDeclaration","scope":22471,"src":"4566:12:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":22462,"name":"bool","nodeType":"ElementaryTypeName","src":"4566:4:141","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":22464,"nodeType":"VariableDeclarationStatement","src":"4566:12:141"},{"AST":{"nativeSrc":"4641:1260:141","nodeType":"YulBlock","src":"4641:1260:141","statements":[{"nativeSrc":"4705:36:141","nodeType":"YulVariableDeclaration","src":"4705:36:141","value":{"arguments":[{"kind":"number","nativeSrc":"4736:4:141","nodeType":"YulLiteral","src":"4736:4:141","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"4730:5:141","nodeType":"YulIdentifier","src":"4730:5:141"},"nativeSrc":"4730:11:141","nodeType":"YulFunctionCall","src":"4730:11:141"},"variables":[{"name":"freeMemoryPointer","nativeSrc":"4709:17:141","nodeType":"YulTypedName","src":"4709:17:141","type":""}]},{"expression":{"arguments":[{"name":"freeMemoryPointer","nativeSrc":"4859:17:141","nodeType":"YulIdentifier","src":"4859:17:141"},{"kind":"number","nativeSrc":"4878:66:141","nodeType":"YulLiteral","src":"4878:66:141","type":"","value":"0x095ea7b300000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"mstore","nativeSrc":"4852:6:141","nodeType":"YulIdentifier","src":"4852:6:141"},"nativeSrc":"4852:93:141","nodeType":"YulFunctionCall","src":"4852:93:141"},"nativeSrc":"4852:93:141","nodeType":"YulExpressionStatement","src":"4852:93:141"},{"expression":{"arguments":[{"arguments":[{"name":"freeMemoryPointer","nativeSrc":"4969:17:141","nodeType":"YulIdentifier","src":"4969:17:141"},{"kind":"number","nativeSrc":"4988:1:141","nodeType":"YulLiteral","src":"4988:1:141","type":"","value":"4"}],"functionName":{"name":"add","nativeSrc":"4965:3:141","nodeType":"YulIdentifier","src":"4965:3:141"},"nativeSrc":"4965:25:141","nodeType":"YulFunctionCall","src":"4965:25:141"},{"name":"to","nativeSrc":"4992:2:141","nodeType":"YulIdentifier","src":"4992:2:141"}],"functionName":{"name":"mstore","nativeSrc":"4958:6:141","nodeType":"YulIdentifier","src":"4958:6:141"},"nativeSrc":"4958:37:141","nodeType":"YulFunctionCall","src":"4958:37:141"},"nativeSrc":"4958:37:141","nodeType":"YulExpressionStatement","src":"4958:37:141"},{"expression":{"arguments":[{"arguments":[{"name":"freeMemoryPointer","nativeSrc":"5048:17:141","nodeType":"YulIdentifier","src":"5048:17:141"},{"kind":"number","nativeSrc":"5067:2:141","nodeType":"YulLiteral","src":"5067:2:141","type":"","value":"36"}],"functionName":{"name":"add","nativeSrc":"5044:3:141","nodeType":"YulIdentifier","src":"5044:3:141"},"nativeSrc":"5044:26:141","nodeType":"YulFunctionCall","src":"5044:26:141"},{"name":"amount","nativeSrc":"5072:6:141","nodeType":"YulIdentifier","src":"5072:6:141"}],"functionName":{"name":"mstore","nativeSrc":"5037:6:141","nodeType":"YulIdentifier","src":"5037:6:141"},"nativeSrc":"5037:42:141","nodeType":"YulFunctionCall","src":"5037:42:141"},"nativeSrc":"5037:42:141","nodeType":"YulExpressionStatement","src":"5037:42:141"},{"nativeSrc":"5126:765:141","nodeType":"YulAssignment","src":"5126:765:141","value":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"5353:1:141","nodeType":"YulLiteral","src":"5353:1:141","type":"","value":"0"}],"functionName":{"name":"mload","nativeSrc":"5347:5:141","nodeType":"YulIdentifier","src":"5347:5:141"},"nativeSrc":"5347:8:141","nodeType":"YulFunctionCall","src":"5347:8:141"},{"kind":"number","nativeSrc":"5357:1:141","nodeType":"YulLiteral","src":"5357:1:141","type":"","value":"1"}],"functionName":{"name":"eq","nativeSrc":"5344:2:141","nodeType":"YulIdentifier","src":"5344:2:141"},"nativeSrc":"5344:15:141","nodeType":"YulFunctionCall","src":"5344:15:141"},{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"5364:14:141","nodeType":"YulIdentifier","src":"5364:14:141"},"nativeSrc":"5364:16:141","nodeType":"YulFunctionCall","src":"5364:16:141"},{"kind":"number","nativeSrc":"5382:2:141","nodeType":"YulLiteral","src":"5382:2:141","type":"","value":"31"}],"functionName":{"name":"gt","nativeSrc":"5361:2:141","nodeType":"YulIdentifier","src":"5361:2:141"},"nativeSrc":"5361:24:141","nodeType":"YulFunctionCall","src":"5361:24:141"}],"functionName":{"name":"and","nativeSrc":"5340:3:141","nodeType":"YulIdentifier","src":"5340:3:141"},"nativeSrc":"5340:46:141","nodeType":"YulFunctionCall","src":"5340:46:141"},{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nativeSrc":"5395:14:141","nodeType":"YulIdentifier","src":"5395:14:141"},"nativeSrc":"5395:16:141","nodeType":"YulFunctionCall","src":"5395:16:141"}],"functionName":{"name":"iszero","nativeSrc":"5388:6:141","nodeType":"YulIdentifier","src":"5388:6:141"},"nativeSrc":"5388:24:141","nodeType":"YulFunctionCall","src":"5388:24:141"}],"functionName":{"name":"or","nativeSrc":"5337:2:141","nodeType":"YulIdentifier","src":"5337:2:141"},"nativeSrc":"5337:76:141","nodeType":"YulFunctionCall","src":"5337:76:141"},{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"5831:3:141","nodeType":"YulIdentifier","src":"5831:3:141"},"nativeSrc":"5831:5:141","nodeType":"YulFunctionCall","src":"5831:5:141"},{"name":"token","nativeSrc":"5838:5:141","nodeType":"YulIdentifier","src":"5838:5:141"},{"kind":"number","nativeSrc":"5845:1:141","nodeType":"YulLiteral","src":"5845:1:141","type":"","value":"0"},{"name":"freeMemoryPointer","nativeSrc":"5848:17:141","nodeType":"YulIdentifier","src":"5848:17:141"},{"kind":"number","nativeSrc":"5867:2:141","nodeType":"YulLiteral","src":"5867:2:141","type":"","value":"68"},{"kind":"number","nativeSrc":"5871:1:141","nodeType":"YulLiteral","src":"5871:1:141","type":"","value":"0"},{"kind":"number","nativeSrc":"5874:2:141","nodeType":"YulLiteral","src":"5874:2:141","type":"","value":"32"}],"functionName":{"name":"call","nativeSrc":"5826:4:141","nodeType":"YulIdentifier","src":"5826:4:141"},"nativeSrc":"5826:51:141","nodeType":"YulFunctionCall","src":"5826:51:141"}],"functionName":{"name":"and","nativeSrc":"5137:3:141","nodeType":"YulIdentifier","src":"5137:3:141"},"nativeSrc":"5137:754:141","nodeType":"YulFunctionCall","src":"5137:754:141"},"variableNames":[{"name":"success","nativeSrc":"5126:7:141","nodeType":"YulIdentifier","src":"5126:7:141"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"cancun","externalReferences":[{"declaration":22459,"isOffset":false,"isSlot":false,"src":"5072:6:141","valueSize":1},{"declaration":22463,"isOffset":false,"isSlot":false,"src":"5126:7:141","valueSize":1},{"declaration":22457,"isOffset":false,"isSlot":false,"src":"4992:2:141","valueSize":1},{"declaration":22455,"isOffset":false,"isSlot":false,"src":"5838:5:141","valueSize":1}],"id":22465,"nodeType":"InlineAssembly","src":"4632:1269:141"},{"expression":{"arguments":[{"id":22467,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22463,"src":"5919:7:141","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"415050524f56455f4641494c4544","id":22468,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5928:16:141","typeDescriptions":{"typeIdentifier":"t_stringliteral_cd400c5237ae346977ee020ef8d0d26a880c07edf7eba69a8848f0d31e9a88f2","typeString":"literal_string \"APPROVE_FAILED\""},"value":"APPROVE_FAILED"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_cd400c5237ae346977ee020ef8d0d26a880c07edf7eba69a8848f0d31e9a88f2","typeString":"literal_string \"APPROVE_FAILED\""}],"id":22466,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"5911:7:141","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":22469,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5911:34:141","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":22470,"nodeType":"ExpressionStatement","src":"5911:34:141"}]},"id":22472,"implemented":true,"kind":"function","modifiers":[],"name":"safeApprove","nameLocation":"4464:11:141","nodeType":"FunctionDefinition","parameters":{"id":22460,"nodeType":"ParameterList","parameters":[{"constant":false,"id":22455,"mutability":"mutable","name":"token","nameLocation":"4491:5:141","nodeType":"VariableDeclaration","scope":22472,"src":"4485:11:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"},"typeName":{"id":22454,"nodeType":"UserDefinedTypeName","pathNode":{"id":22453,"name":"ERC20","nameLocations":["4485:5:141"],"nodeType":"IdentifierPath","referencedDeclaration":21824,"src":"4485:5:141"},"referencedDeclaration":21824,"src":"4485:5:141","typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$21824","typeString":"contract ERC20"}},"visibility":"internal"},{"constant":false,"id":22457,"mutability":"mutable","name":"to","nameLocation":"4514:2:141","nodeType":"VariableDeclaration","scope":22472,"src":"4506:10:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":22456,"name":"address","nodeType":"ElementaryTypeName","src":"4506:7:141","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":22459,"mutability":"mutable","name":"amount","nameLocation":"4534:6:141","nodeType":"VariableDeclaration","scope":22472,"src":"4526:14:141","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":22458,"name":"uint256","nodeType":"ElementaryTypeName","src":"4526:7:141","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4475:71:141"},"returnParameters":{"id":22461,"nodeType":"ParameterList","parameters":[],"src":"4556:0:141"},"scope":22473,"src":"4455:1497:141","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":22474,"src":"586:5368:141","usedErrors":[],"usedEvents":[]}],"src":"42:5913:141"},"id":141}},"contracts":{"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"IERC20":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC20 standard as defined in the EIP.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets a `value` amount of tokens as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the value of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the value of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism. `value` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC721/IERC721.sol":{"IERC721":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","getApproved(uint256)":"081812fc","isApprovedForAll(address,address)":"e985e9c5","ownerOf(uint256)":"6352211e","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","supportsInterface(bytes4)":"01ffc9a7","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Required interface of an ERC721 compliant contract.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when `owner` enables `approved` to manage the `tokenId` token.\"},\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or   {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the address zero. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":\"IERC721\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f8f2a76e23b02fc69e8cd24c3cb47da6c7af3a2d6c3a382f8ac25c6e094ade7\",\"dweb:/ipfs/QmPV4ZS4tPVv4mTCf9ejyZ1ai57EEibDRj7mN2ARDCLV5n\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol":{"IERC721Enumerable":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","getApproved(uint256)":"081812fc","isApprovedForAll(address,address)":"e985e9c5","ownerOf(uint256)":"6352211e","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","supportsInterface(bytes4)":"01ffc9a7","tokenByIndex(uint256)":"4f6ccce7","tokenOfOwnerByIndex(address,uint256)":"2f745c59","totalSupply()":"18160ddd","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-721\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when `owner` enables `approved` to manage the `tokenId` token.\"},\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or   {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the address zero. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"tokenByIndex(uint256)\":{\"details\":\"Returns a token ID at a given `index` of all the tokens stored by the contract. Use along with {totalSupply} to enumerate all tokens.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"Returns a token ID owned by `owner` at a given `index` of its token list. Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\"},\"totalSupply()\":{\"details\":\"Returns the total amount of tokens stored by the contract.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"title\":\"ERC-721 Non-Fungible Token Standard, optional enumeration extension\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":\"IERC721Enumerable\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f8f2a76e23b02fc69e8cd24c3cb47da6c7af3a2d6c3a382f8ac25c6e094ade7\",\"dweb:/ipfs/QmPV4ZS4tPVv4mTCf9ejyZ1ai57EEibDRj7mN2ARDCLV5n\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":{\"keccak256\":\"0x3d6954a93ac198a2ffa384fa58ccf18e7e235263e051a394328002eff4e073de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f58c799bd939d3951c94893e83ef86acd56989d1d7db7f9d180c515e29e28ff\",\"dweb:/ipfs/QmTgAxHAAys4kq9ZfU9YB24MWYoHLGAKSxnYUigPFrNW7g\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"IERC721Metadata":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","getApproved(uint256)":"081812fc","isApprovedForAll(address,address)":"e985e9c5","name()":"06fdde03","ownerOf(uint256)":"6352211e","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","tokenURI(uint256)":"c87b56dd","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-721\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when `owner` enables `approved` to manage the `tokenId` token.\"},\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"name()\":{\"details\":\"Returns the token collection name.\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or   {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the address zero. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"Returns the token collection symbol.\"},\"tokenURI(uint256)\":{\"details\":\"Returns the Uniform Resource Identifier (URI) for `tokenId` token.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"title\":\"ERC-721 Non-Fungible Token Standard, optional metadata extension\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":\"IERC721Metadata\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f8f2a76e23b02fc69e8cd24c3cb47da6c7af3a2d6c3a382f8ac25c6e094ade7\",\"dweb:/ipfs/QmPV4ZS4tPVv4mTCf9ejyZ1ai57EEibDRj7mN2ARDCLV5n\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02\",\"dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"IERC165":{"abi":[{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"supportsInterface(bytes4)":"01ffc9a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]}},\"version\":1}"}},"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol":{"IUniswapV2Pair":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount0Out","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1Out","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint112","name":"reserve0","type":"uint112"},{"indexed":false,"internalType":"uint112","name":"reserve1","type":"uint112"}],"name":"Sync","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINIMUM_LIQUIDITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"burn","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint112","name":"reserve0","type":"uint112"},{"internalType":"uint112","name":"reserve1","type":"uint112"},{"internalType":"uint32","name":"blockTimestampLast","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"kLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"price0CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price1CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"skim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0Out","type":"uint256"},{"internalType":"uint256","name":"amount1Out","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"sync","outputs":[],"stateMutability":"nonpayable","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","MINIMUM_LIQUIDITY()":"ba9a7a56","PERMIT_TYPEHASH()":"30adf81f","allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","burn(address)":"89afcb44","decimals()":"313ce567","factory()":"c45a0155","getReserves()":"0902f1ac","initialize(address,address)":"485cc955","kLast()":"7464fc3d","mint(address)":"6a627842","name()":"06fdde03","nonces(address)":"7ecebe00","permit(address,address,uint256,uint256,uint8,bytes32,bytes32)":"d505accf","price0CumulativeLast()":"5909c0d5","price1CumulativeLast()":"5a3d5493","skim(address)":"bc25cf77","swap(uint256,uint256,address,bytes)":"022c0d9f","symbol()":"95d89b41","sync()":"fff6cae9","token0()":"0dfe1681","token1()":"d21220a7","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve0\",\"type\":\"uint112\"},{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve1\",\"type\":\"uint112\"}],\"name\":\"Sync\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINIMUM_LIQUIDITY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReserves\",\"outputs\":[{\"internalType\":\"uint112\",\"name\":\"reserve0\",\"type\":\"uint112\"},{\"internalType\":\"uint112\",\"name\":\"reserve1\",\"type\":\"uint112\"},{\"internalType\":\"uint32\",\"name\":\"blockTimestampLast\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"price0CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"price1CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"skim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sync\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol\":\"IUniswapV2Pair\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol\":{\"keccak256\":\"0x7c9bc70e5996c763e02ff38905282bc24fb242b0ef2519a003b36824fc524a4b\",\"urls\":[\"bzz-raw://85d5ad2dd23ee127f40907a12865a1e8cb5828814f6f2480285e1827dd72dedf\",\"dweb:/ipfs/QmayKQWJgWmr46DqWseADyUanmqxh662hPNdAkdHRjiQQH\"]}},\"version\":1}"}},"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol":{"IUniswapV3Pool":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"int24","name":"tickLower","type":"int24"},{"indexed":true,"internalType":"int24","name":"tickUpper","type":"int24"},{"indexed":false,"internalType":"uint128","name":"amount","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":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"int24","name":"tickLower","type":"int24"},{"indexed":true,"internalType":"int24","name":"tickUpper","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":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount0","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"amount1","type":"uint128"}],"name":"CollectProtocol","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":"uint16","name":"observationCardinalityNextOld","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"observationCardinalityNextNew","type":"uint16"}],"name":"IncreaseObservationCardinalityNext","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint160","name":"sqrtPriceX96","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":"tickLower","type":"int24"},{"indexed":true,"internalType":"int24","name":"tickUpper","type":"int24"},{"indexed":false,"internalType":"uint128","name":"amount","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":"uint8","name":"feeProtocol0Old","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"feeProtocol1Old","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"feeProtocol0New","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"feeProtocol1New","type":"uint8"}],"name":"SetFeeProtocol","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":"sqrtPriceX96","type":"uint160"},{"indexed":false,"internalType":"uint128","name":"liquidity","type":"uint128"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"}],"name":"Swap","type":"event"},{"inputs":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"amount","type":"uint128"}],"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":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","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":"uint128","name":"amount0Requested","type":"uint128"},{"internalType":"uint128","name":"amount1Requested","type":"uint128"}],"name":"collectProtocol","outputs":[{"internalType":"uint128","name":"amount0","type":"uint128"},{"internalType":"uint128","name":"amount1","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeGrowthGlobal0X128","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeGrowthGlobal1X128","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint16","name":"observationCardinalityNext","type":"uint16"}],"name":"increaseObservationCardinalityNext","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":"recipient","type":"address"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"observations","outputs":[{"internalType":"uint32","name":"blockTimestamp","type":"uint32"},{"internalType":"int56","name":"tickCumulative","type":"int56"},{"internalType":"uint160","name":"secondsPerLiquidityCumulativeX128","type":"uint160"},{"internalType":"bool","name":"initialized","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32[]","name":"secondsAgos","type":"uint32[]"}],"name":"observe","outputs":[{"internalType":"int56[]","name":"tickCumulatives","type":"int56[]"},{"internalType":"uint160[]","name":"secondsPerLiquidityCumulativeX128s","type":"uint160[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"key","type":"bytes32"}],"name":"positions","outputs":[{"internalType":"uint128","name":"_liquidity","type":"uint128"},{"internalType":"uint256","name":"feeGrowthInside0LastX128","type":"uint256"},{"internalType":"uint256","name":"feeGrowthInside1LastX128","type":"uint256"},{"internalType":"uint128","name":"tokensOwed0","type":"uint128"},{"internalType":"uint128","name":"tokensOwed1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolFees","outputs":[{"internalType":"uint128","name":"token0","type":"uint128"},{"internalType":"uint128","name":"token1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"feeProtocol0","type":"uint8"},{"internalType":"uint8","name":"feeProtocol1","type":"uint8"}],"name":"setFeeProtocol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slot0","outputs":[{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"internalType":"int24","name":"tick","type":"int24"},{"internalType":"uint16","name":"observationIndex","type":"uint16"},{"internalType":"uint16","name":"observationCardinality","type":"uint16"},{"internalType":"uint16","name":"observationCardinalityNext","type":"uint16"},{"internalType":"uint8","name":"feeProtocol","type":"uint8"},{"internalType":"bool","name":"unlocked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"}],"name":"snapshotCumulativesInside","outputs":[{"internalType":"int56","name":"tickCumulativeInside","type":"int56"},{"internalType":"uint160","name":"secondsPerLiquidityInsideX128","type":"uint160"},{"internalType":"uint32","name":"secondsInside","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","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":"int16","name":"wordPosition","type":"int16"}],"name":"tickBitmap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickSpacing","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int24","name":"tick","type":"int24"}],"name":"ticks","outputs":[{"internalType":"uint128","name":"liquidityGross","type":"uint128"},{"internalType":"int128","name":"liquidityNet","type":"int128"},{"internalType":"uint256","name":"feeGrowthOutside0X128","type":"uint256"},{"internalType":"uint256","name":"feeGrowthOutside1X128","type":"uint256"},{"internalType":"int56","name":"tickCumulativeOutside","type":"int56"},{"internalType":"uint160","name":"secondsPerLiquidityOutsideX128","type":"uint160"},{"internalType":"uint32","name":"secondsOutside","type":"uint32"},{"internalType":"bool","name":"initialized","type":"bool"}],"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":{"burn(int24,int24,uint128)":"a34123a7","collect(address,int24,int24,uint128,uint128)":"4f1eb3d8","collectProtocol(address,uint128,uint128)":"85b66729","factory()":"c45a0155","fee()":"ddca3f43","feeGrowthGlobal0X128()":"f3058399","feeGrowthGlobal1X128()":"46141319","flash(address,uint256,uint256,bytes)":"490e6cbc","increaseObservationCardinalityNext(uint16)":"32148f67","initialize(uint160)":"f637731d","liquidity()":"1a686502","maxLiquidityPerTick()":"70cf754a","mint(address,int24,int24,uint128,bytes)":"3c8a7d8d","observations(uint256)":"252c09d7","observe(uint32[])":"883bdbfd","positions(bytes32)":"514ea4bf","protocolFees()":"1ad8b03b","setFeeProtocol(uint8,uint8)":"8206a4d1","slot0()":"3850c7bd","snapshotCumulativesInside(int24,int24)":"a38807f2","swap(address,bool,int256,uint160,bytes)":"128acb08","tickBitmap(int16)":"5339c296","tickSpacing()":"d0c93a7c","ticks(int24)":"f30dba93","token0()":"0dfe1681","token1()":"d21220a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"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\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"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\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"name\":\"CollectProtocol\",\"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\":\"uint16\",\"name\":\"observationCardinalityNextOld\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"observationCardinalityNextNew\",\"type\":\"uint16\"}],\"name\":\"IncreaseObservationCardinalityNext\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"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\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"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\":\"uint8\",\"name\":\"feeProtocol0Old\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol1Old\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol0New\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol1New\",\"type\":\"uint8\"}],\"name\":\"SetFeeProtocol\",\"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\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"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\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"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\":\"uint128\",\"name\":\"amount0Requested\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1Requested\",\"type\":\"uint128\"}],\"name\":\"collectProtocol\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeGrowthGlobal0X128\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeGrowthGlobal1X128\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":[{\"internalType\":\"uint16\",\"name\":\"observationCardinalityNext\",\"type\":\"uint16\"}],\"name\":\"increaseObservationCardinalityNext\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"observations\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"blockTimestamp\",\"type\":\"uint32\"},{\"internalType\":\"int56\",\"name\":\"tickCumulative\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityCumulativeX128\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"initialized\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32[]\",\"name\":\"secondsAgos\",\"type\":\"uint32[]\"}],\"name\":\"observe\",\"outputs\":[{\"internalType\":\"int56[]\",\"name\":\"tickCumulatives\",\"type\":\"int56[]\"},{\"internalType\":\"uint160[]\",\"name\":\"secondsPerLiquidityCumulativeX128s\",\"type\":\"uint160[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"name\":\"positions\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"_liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthInside0LastX128\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthInside1LastX128\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"tokensOwed0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"tokensOwed1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFees\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"token0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"token1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"feeProtocol0\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"feeProtocol1\",\"type\":\"uint8\"}],\"name\":\"setFeeProtocol\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slot0\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"internalType\":\"uint16\",\"name\":\"observationIndex\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"observationCardinality\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"observationCardinalityNext\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"feeProtocol\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"unlocked\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"}],\"name\":\"snapshotCumulativesInside\",\"outputs\":[{\"internalType\":\"int56\",\"name\":\"tickCumulativeInside\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityInsideX128\",\"type\":\"uint160\"},{\"internalType\":\"uint32\",\"name\":\"secondsInside\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountSpecified\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"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\":\"int16\",\"name\":\"wordPosition\",\"type\":\"int16\"}],\"name\":\"tickBitmap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"ticks\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidityGross\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"liquidityNet\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthOutside0X128\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthOutside1X128\",\"type\":\"uint256\"},{\"internalType\":\"int56\",\"name\":\"tickCumulativeOutside\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityOutsideX128\",\"type\":\"uint160\"},{\"internalType\":\"uint32\",\"name\":\"secondsOutside\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"initialized\",\"type\":\"bool\"}],\"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\":\"The pool interface is broken up into many smaller pieces\",\"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\":{\"amount\":\"The amount of liquidity to remove\",\"amount0\":\"The amount of token0 withdrawn\",\"amount1\":\"The amount of token1 withdrawn\",\"owner\":\"The owner of the position for which liquidity is removed\",\"tickLower\":\"The lower tick of the position\",\"tickUpper\":\"The upper tick of the position\"}},\"Collect(address,address,int24,int24,uint128,uint128)\":{\"details\":\"Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees\",\"params\":{\"amount0\":\"The amount of token0 fees collected\",\"amount1\":\"The amount of token1 fees collected\",\"owner\":\"The owner of the position for which fees are collected\",\"tickLower\":\"The lower tick of the position\",\"tickUpper\":\"The upper tick of the position\"}},\"CollectProtocol(address,address,uint128,uint128)\":{\"params\":{\"amount0\":\"The amount of token1 protocol fees that is withdrawn\",\"recipient\":\"The address that receives the collected protocol fees\",\"sender\":\"The address that collects the protocol fees\"}},\"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\"}},\"IncreaseObservationCardinalityNext(uint16,uint16)\":{\"details\":\"observationCardinalityNext is not the observation cardinality until an observation is written at the index just before a mint/swap/burn.\",\"params\":{\"observationCardinalityNextNew\":\"The updated value of the next observation cardinality\",\"observationCardinalityNextOld\":\"The previous value of the next observation cardinality\"}},\"Initialize(uint160,int24)\":{\"details\":\"Mint/Burn/Swap cannot be emitted by the pool before Initialize\",\"params\":{\"sqrtPriceX96\":\"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\":{\"amount\":\"The amount of liquidity minted to the position range\",\"amount0\":\"How much token0 was required for the minted liquidity\",\"amount1\":\"How much token1 was required for the minted liquidity\",\"owner\":\"The owner of the position and recipient of any minted liquidity\",\"sender\":\"The address that minted the liquidity\",\"tickLower\":\"The lower tick of the position\",\"tickUpper\":\"The upper tick of the position\"}},\"SetFeeProtocol(uint8,uint8,uint8,uint8)\":{\"params\":{\"feeProtocol0New\":\"The updated value of the token0 protocol fee\",\"feeProtocol0Old\":\"The previous value of the token0 protocol fee\",\"feeProtocol1New\":\"The updated value of the token1 protocol fee\",\"feeProtocol1Old\":\"The previous value of the token1 protocol fee\"}},\"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\",\"recipient\":\"The address that received the output of the swap\",\"sender\":\"The address that initiated the swap call, and that received the callback\",\"sqrtPriceX96\":\"The sqrt(price) of the pool after the swap, as a Q64.96\",\"tick\":\"The log base 1.0001 of price of the pool after the swap\"}}},\"kind\":\"dev\",\"methods\":{\"burn(int24,int24,uint128)\":{\"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\",\"tickLower\":\"The lower tick of the position for which to burn liquidity\",\"tickUpper\":\"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\",\"recipient\":\"The address which should receive the fees collected\",\"tickLower\":\"The lower tick of the position for which to collect fees\",\"tickUpper\":\"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\"}},\"collectProtocol(address,uint128,uint128)\":{\"params\":{\"amount0Requested\":\"The maximum amount of token0 to send, can be 0 to collect fees in only token1\",\"amount1Requested\":\"The maximum amount of token1 to send, can be 0 to collect fees in only token0\",\"recipient\":\"The address to which collected protocol fees should be sent\"},\"returns\":{\"amount0\":\"The protocol fee collected in token0\",\"amount1\":\"The protocol fee collected in token1\"}},\"factory()\":{\"returns\":{\"_0\":\"The contract address\"}},\"fee()\":{\"returns\":{\"_0\":\"The fee\"}},\"feeGrowthGlobal0X128()\":{\"details\":\"This value can overflow the uint256\"},\"feeGrowthGlobal1X128()\":{\"details\":\"This value can overflow the uint256\"},\"flash(address,uint256,uint256,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IUniswapV3FlashCallback#uniswapV3FlashCallbackCan be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling with 0 amount{0,1} and sending the donation amount(s) from the callback\",\"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\"}},\"increaseObservationCardinalityNext(uint16)\":{\"details\":\"This method is no-op if the pool already has an observationCardinalityNext greater than or equal to the input observationCardinalityNext.\",\"params\":{\"observationCardinalityNext\":\"The desired minimum number of observations for the pool to store\"}},\"initialize(uint160)\":{\"details\":\"Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value\",\"params\":{\"sqrtPriceX96\":\"the initial sqrt price of the pool as a Q64.96\"}},\"liquidity()\":{\"details\":\"This value has no relationship to the total liquidity across all ticks\"},\"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,int24,int24,uint128,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends on tickLower, tickUpper, the amount of liquidity, and the current price.\",\"params\":{\"amount\":\"The amount of liquidity to mint\",\"data\":\"Any data that should be passed through to the callback\",\"recipient\":\"The address for which the liquidity will be created\",\"tickLower\":\"The lower tick of the position in which to add liquidity\",\"tickUpper\":\"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\"}},\"observations(uint256)\":{\"details\":\"You most likely want to use #observe() instead of this method to get an observation as of some amount of time ago, rather than at a specific index in the array.\",\"params\":{\"index\":\"The element of the observations array to fetch\"},\"returns\":{\"blockTimestamp\":\"The timestamp of the observation, Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp, Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp, Returns initialized whether the observation has been initialized and the values are safe to use\"}},\"observe(uint32[])\":{\"details\":\"To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick, you must call it with secondsAgos = [3600, 0].The time weighted average tick represents the geometric time weighted average price of the pool, in log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.\",\"params\":{\"secondsAgos\":\"From how long ago each cumulative tick and liquidity value should be returned\"},\"returns\":{\"secondsPerLiquidityCumulativeX128s\":\"Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block timestamp\",\"tickCumulatives\":\"Cumulative tick values as of each `secondsAgos` from the current block timestamp\"}},\"positions(bytes32)\":{\"params\":{\"key\":\"The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper\"},\"returns\":{\"_liquidity\":\"The amount of liquidity in the position, Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke, Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke, Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke, Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke\"}},\"protocolFees()\":{\"details\":\"Protocol fees will never exceed uint128 max in either token\"},\"setFeeProtocol(uint8,uint8)\":{\"params\":{\"feeProtocol0\":\"new protocol fee for token0 of the pool\",\"feeProtocol1\":\"new protocol fee for token1 of the pool\"}},\"slot0()\":{\"returns\":{\"sqrtPriceX96\":\"The current price of the pool as a sqrt(token1/token0) 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(sqrtPriceX96) if the price is on a tick boundary. observationIndex The index of the last oracle observation that was written, observationCardinality The current maximum number of observations stored in the pool, observationCardinalityNext The next maximum number of observations, to be updated when the observation. feeProtocol The protocol fee for both tokens of the pool. Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0 is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee. unlocked Whether the pool is currently locked to reentrancy\"}},\"snapshotCumulativesInside(int24,int24)\":{\"details\":\"Snapshots must only be compared to other snapshots, taken over a period for which a position existed. I.e., snapshots cannot be compared if a position is not held for the entire period between when the first snapshot is taken and the second snapshot is taken.\",\"params\":{\"tickLower\":\"The lower tick of the range\",\"tickUpper\":\"The upper tick of the range\"},\"returns\":{\"secondsInside\":\"The snapshot of seconds per liquidity for the range\",\"secondsPerLiquidityInsideX128\":\"The snapshot of seconds per liquidity for the range\",\"tickCumulativeInside\":\"The snapshot of the tick accumulator for the range\"}},\"swap(address,bool,int256,uint160,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback\",\"params\":{\"amountSpecified\":\"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\",\"recipient\":\"The address to receive the output of the swap\",\"sqrtPriceLimitX96\":\"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\",\"zeroForOne\":\"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\"}},\"tickSpacing()\":{\"details\":\"Ticks can only be used at multiples of this value, minimum of 1 and always positive e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ... This value is an int24 to avoid casting even though it is always positive.\",\"returns\":{\"_0\":\"The tick spacing\"}},\"ticks(int24)\":{\"params\":{\"tick\":\"The tick to look up\"},\"returns\":{\"liquidityGross\":\"the total amount of position liquidity that uses the pool either as tick lower or tick upper, liquidityNet how much liquidity changes when the pool price crosses the tick, feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0, feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1, tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick, secondsOutside the seconds spent on the other side of the tick from the current tick, initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false. Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0. In addition, these values are only relative and must be used only in comparison to previous snapshots for a specific position.\"}},\"token0()\":{\"returns\":{\"_0\":\"The token contract address\"}},\"token1()\":{\"returns\":{\"_0\":\"The token contract address\"}}},\"title\":\"The interface for a Uniswap V3 Pool\",\"version\":1},\"userdoc\":{\"events\":{\"Burn(address,int24,int24,uint128,uint256,uint256)\":{\"notice\":\"Emitted when a position's liquidity is removed\"},\"Collect(address,address,int24,int24,uint128,uint128)\":{\"notice\":\"Emitted when fees are collected by the owner of a position\"},\"CollectProtocol(address,address,uint128,uint128)\":{\"notice\":\"Emitted when the collected protocol fees are withdrawn by the factory owner\"},\"Flash(address,address,uint256,uint256,uint256,uint256)\":{\"notice\":\"Emitted by the pool for any flashes of token0/token1\"},\"IncreaseObservationCardinalityNext(uint16,uint16)\":{\"notice\":\"Emitted by the pool for increases to the number of observations that can be stored\"},\"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\"},\"SetFeeProtocol(uint8,uint8,uint8,uint8)\":{\"notice\":\"Emitted when the protocol fee is changed by the pool\"},\"Swap(address,address,int256,int256,uint160,uint128,int24)\":{\"notice\":\"Emitted by the pool for any swaps between token0 and token1\"}},\"kind\":\"user\",\"methods\":{\"burn(int24,int24,uint128)\":{\"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\"},\"collectProtocol(address,uint128,uint128)\":{\"notice\":\"Collect the protocol fee accrued to the pool\"},\"factory()\":{\"notice\":\"The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface\"},\"fee()\":{\"notice\":\"The pool's fee in hundredths of a bip, i.e. 1e-6\"},\"feeGrowthGlobal0X128()\":{\"notice\":\"The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool\"},\"feeGrowthGlobal1X128()\":{\"notice\":\"The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool\"},\"flash(address,uint256,uint256,bytes)\":{\"notice\":\"Receive token0 and/or token1 and pay it back, plus a fee, in the callback\"},\"increaseObservationCardinalityNext(uint16)\":{\"notice\":\"Increase the maximum number of price and liquidity observations that this pool will store\"},\"initialize(uint160)\":{\"notice\":\"Sets the initial price for the pool\"},\"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,int24,int24,uint128,bytes)\":{\"notice\":\"Adds liquidity for the given recipient/tickLower/tickUpper position\"},\"observations(uint256)\":{\"notice\":\"Returns data about a specific observation index\"},\"observe(uint32[])\":{\"notice\":\"Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp\"},\"positions(bytes32)\":{\"notice\":\"Returns the information about a position by the position's key\"},\"protocolFees()\":{\"notice\":\"The amounts of token0 and token1 that are owed to the protocol\"},\"setFeeProtocol(uint8,uint8)\":{\"notice\":\"Set the denominator of the protocol's % share of the fees\"},\"slot0()\":{\"notice\":\"The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas when accessed externally.\"},\"snapshotCumulativesInside(int24,int24)\":{\"notice\":\"Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range\"},\"swap(address,bool,int256,uint160,bytes)\":{\"notice\":\"Swap token0 for token1, or token1 for token0\"},\"tickBitmap(int16)\":{\"notice\":\"Returns 256 packed tick initialized boolean values. See TickBitmap for more information\"},\"tickSpacing()\":{\"notice\":\"The pool tick spacing\"},\"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\"}},\"notice\":\"A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform to the ERC20 specification\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol\":\"IUniswapV3Pool\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol\":{\"keccak256\":\"0xfe6113d518466cd6652c85b111e01f33eb62157f49ae5ed7d5a3947a2044adb1\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://1c42b9e6f5902ac38dd43e25750939baa7e0c1425dc75afd717c4412731065d5\",\"dweb:/ipfs/QmWaoacnzsucTvBME2o7YgZBZMhaHv7fkj83htHMVWJKWh\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol\":{\"keccak256\":\"0x9453dd0e7442188667d01d9b65de3f1e14e9511ff3e303179a15f6fc267f7634\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://982f4328f956c3e60e67501e759eb292ac487f76460c774c50e9ae4fcc92aae5\",\"dweb:/ipfs/QmRnzEDsaqtd9PJEVcgQi7p5aV5pMSvRUoGZJAdwFUJxgZ\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol\":{\"keccak256\":\"0xe603ac5b17ecdee73ba2b27efdf386c257a19c14206e87eee77e2017b742d9e5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://8febc9bdb399a4d94bb89f5377732652e2400e4a8dee808201ade6848f9004e7\",\"dweb:/ipfs/QmaKDqYYFU4d2W2iN77aDHptfbFmYZRrMYXHeGpJmM8C1c\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol\":{\"keccak256\":\"0x8071514d0fe5d17d6fbd31c191cdfb703031c24e0ece3621d88ab10e871375cd\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0b571930cc7488b1d546a7e9cea7c52d8b3c4e207da657ed0e0db7343b8cd03\",\"dweb:/ipfs/QmaGK6vVwB95QSTR1XMYvrh7ivYAYZxi3fD7v6VMA4jZ39\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol\":{\"keccak256\":\"0xf6e5d2cd1139c4c276bdbc8e1d2b256e456c866a91f1b868da265c6d2685c3f7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b99c8c9ae8e27ee6559e5866bea82cbc9ffc8247f8d15b7422a4deb287d4d047\",\"dweb:/ipfs/QmfL8gaqt3ffAnm6nVj5ksuNpLygXuL3xq5VBqrkwC2JJ3\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol\":{\"keccak256\":\"0x759b78a2918af9e99e246dc3af084f654e48ef32bb4e4cb8a966aa3dcaece235\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://64144fb96e1c7fdba87305acadb98a198d26a3d46c097cb3a666e567f6f29735\",\"dweb:/ipfs/QmUnWVwN9FKB9uV5Pr8YfLpWZnYM2DENnRMaadZ492JS9u\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol\":{\"keccak256\":\"0x852dc1f5df7dcf7f11e7bb3eed79f0cea72ad4b25f6a9d2c35aafb48925fd49f\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://ed63907c38ff36b0e22bc9ffc53e791ea74f0d4f0e7c257fdfb5aaf8825b1f0f\",\"dweb:/ipfs/QmSQrckghEjs6HVsA5GVgpNpZWvTXMY5eQLF7cN6deFeEg\"]}},\"version\":1}"}},"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol":{"IUniswapV3SwapCallback":{"abi":[{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"uniswapV3SwapCallback(int256,int256,bytes)":"fa461e33"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"details\":\"In the implementation you must pay the pool tokens owed for the swap. The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\",\"params\":{\"amount0Delta\":\"The amount of token0 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token0 to the pool.\",\"amount1Delta\":\"The amount of token1 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token1 to the pool.\",\"data\":\"Any data passed through by the caller via the IUniswapV3PoolActions#swap call\"}}},\"title\":\"Callback for IUniswapV3PoolActions#swap\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"notice\":\"Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\"}},\"notice\":\"Any contract that calls IUniswapV3PoolActions#swap must implement this interface\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":\"IUniswapV3SwapCallback\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]}},\"version\":1}"}},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol":{"IUniswapV3PoolActions":{"abi":[{"inputs":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"amount","type":"uint128"}],"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":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","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":"uint16","name":"observationCardinalityNext","type":"uint16"}],"name":"increaseObservationCardinalityNext","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","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":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","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"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"burn(int24,int24,uint128)":"a34123a7","collect(address,int24,int24,uint128,uint128)":"4f1eb3d8","flash(address,uint256,uint256,bytes)":"490e6cbc","increaseObservationCardinalityNext(uint16)":"32148f67","initialize(uint160)":"f637731d","mint(address,int24,int24,uint128,bytes)":"3c8a7d8d","swap(address,bool,int256,uint160,bytes)":"128acb08"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"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\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"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\":\"uint16\",\"name\":\"observationCardinalityNext\",\"type\":\"uint16\"}],\"name\":\"increaseObservationCardinalityNext\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"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\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountSpecified\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"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\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"burn(int24,int24,uint128)\":{\"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\",\"tickLower\":\"The lower tick of the position for which to burn liquidity\",\"tickUpper\":\"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\",\"recipient\":\"The address which should receive the fees collected\",\"tickLower\":\"The lower tick of the position for which to collect fees\",\"tickUpper\":\"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 IUniswapV3FlashCallback#uniswapV3FlashCallbackCan be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling with 0 amount{0,1} and sending the donation amount(s) from the callback\",\"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\"}},\"increaseObservationCardinalityNext(uint16)\":{\"details\":\"This method is no-op if the pool already has an observationCardinalityNext greater than or equal to the input observationCardinalityNext.\",\"params\":{\"observationCardinalityNext\":\"The desired minimum number of observations for the pool to store\"}},\"initialize(uint160)\":{\"details\":\"Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value\",\"params\":{\"sqrtPriceX96\":\"the initial sqrt price of the pool as a Q64.96\"}},\"mint(address,int24,int24,uint128,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends on tickLower, tickUpper, the amount of liquidity, and the current price.\",\"params\":{\"amount\":\"The amount of liquidity to mint\",\"data\":\"Any data that should be passed through to the callback\",\"recipient\":\"The address for which the liquidity will be created\",\"tickLower\":\"The lower tick of the position in which to add liquidity\",\"tickUpper\":\"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\"}},\"swap(address,bool,int256,uint160,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback\",\"params\":{\"amountSpecified\":\"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\",\"recipient\":\"The address to receive the output of the swap\",\"sqrtPriceLimitX96\":\"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\",\"zeroForOne\":\"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)\":{\"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\"},\"increaseObservationCardinalityNext(uint16)\":{\"notice\":\"Increase the maximum number of price and liquidity observations that this pool will store\"},\"initialize(uint160)\":{\"notice\":\"Sets the initial price for the pool\"},\"mint(address,int24,int24,uint128,bytes)\":{\"notice\":\"Adds liquidity for the given recipient/tickLower/tickUpper position\"},\"swap(address,bool,int256,uint160,bytes)\":{\"notice\":\"Swap token0 for token1, or token1 for token0\"}},\"notice\":\"Contains pool methods that can be called by anyone\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol\":\"IUniswapV3PoolActions\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol\":{\"keccak256\":\"0x9453dd0e7442188667d01d9b65de3f1e14e9511ff3e303179a15f6fc267f7634\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://982f4328f956c3e60e67501e759eb292ac487f76460c774c50e9ae4fcc92aae5\",\"dweb:/ipfs/QmRnzEDsaqtd9PJEVcgQi7p5aV5pMSvRUoGZJAdwFUJxgZ\"]}},\"version\":1}"}},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol":{"IUniswapV3PoolDerivedState":{"abi":[{"inputs":[{"internalType":"uint32[]","name":"secondsAgos","type":"uint32[]"}],"name":"observe","outputs":[{"internalType":"int56[]","name":"tickCumulatives","type":"int56[]"},{"internalType":"uint160[]","name":"secondsPerLiquidityCumulativeX128s","type":"uint160[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"}],"name":"snapshotCumulativesInside","outputs":[{"internalType":"int56","name":"tickCumulativeInside","type":"int56"},{"internalType":"uint160","name":"secondsPerLiquidityInsideX128","type":"uint160"},{"internalType":"uint32","name":"secondsInside","type":"uint32"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"observe(uint32[])":"883bdbfd","snapshotCumulativesInside(int24,int24)":"a38807f2"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint32[]\",\"name\":\"secondsAgos\",\"type\":\"uint32[]\"}],\"name\":\"observe\",\"outputs\":[{\"internalType\":\"int56[]\",\"name\":\"tickCumulatives\",\"type\":\"int56[]\"},{\"internalType\":\"uint160[]\",\"name\":\"secondsPerLiquidityCumulativeX128s\",\"type\":\"uint160[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"}],\"name\":\"snapshotCumulativesInside\",\"outputs\":[{\"internalType\":\"int56\",\"name\":\"tickCumulativeInside\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityInsideX128\",\"type\":\"uint160\"},{\"internalType\":\"uint32\",\"name\":\"secondsInside\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"observe(uint32[])\":{\"details\":\"To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick, you must call it with secondsAgos = [3600, 0].The time weighted average tick represents the geometric time weighted average price of the pool, in log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.\",\"params\":{\"secondsAgos\":\"From how long ago each cumulative tick and liquidity value should be returned\"},\"returns\":{\"secondsPerLiquidityCumulativeX128s\":\"Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block timestamp\",\"tickCumulatives\":\"Cumulative tick values as of each `secondsAgos` from the current block timestamp\"}},\"snapshotCumulativesInside(int24,int24)\":{\"details\":\"Snapshots must only be compared to other snapshots, taken over a period for which a position existed. I.e., snapshots cannot be compared if a position is not held for the entire period between when the first snapshot is taken and the second snapshot is taken.\",\"params\":{\"tickLower\":\"The lower tick of the range\",\"tickUpper\":\"The upper tick of the range\"},\"returns\":{\"secondsInside\":\"The snapshot of seconds per liquidity for the range\",\"secondsPerLiquidityInsideX128\":\"The snapshot of seconds per liquidity for the range\",\"tickCumulativeInside\":\"The snapshot of the tick accumulator for the range\"}}},\"title\":\"Pool state that is not stored\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"observe(uint32[])\":{\"notice\":\"Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp\"},\"snapshotCumulativesInside(int24,int24)\":{\"notice\":\"Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range\"}},\"notice\":\"Contains view functions to provide information about the pool that is computed rather than stored on the blockchain. The functions here may have variable gas costs.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol\":\"IUniswapV3PoolDerivedState\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol\":{\"keccak256\":\"0xe603ac5b17ecdee73ba2b27efdf386c257a19c14206e87eee77e2017b742d9e5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://8febc9bdb399a4d94bb89f5377732652e2400e4a8dee808201ade6848f9004e7\",\"dweb:/ipfs/QmaKDqYYFU4d2W2iN77aDHptfbFmYZRrMYXHeGpJmM8C1c\"]}},\"version\":1}"}},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol":{"IUniswapV3PoolEvents":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"int24","name":"tickLower","type":"int24"},{"indexed":true,"internalType":"int24","name":"tickUpper","type":"int24"},{"indexed":false,"internalType":"uint128","name":"amount","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":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"int24","name":"tickLower","type":"int24"},{"indexed":true,"internalType":"int24","name":"tickUpper","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":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount0","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"amount1","type":"uint128"}],"name":"CollectProtocol","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":"uint16","name":"observationCardinalityNextOld","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"observationCardinalityNextNew","type":"uint16"}],"name":"IncreaseObservationCardinalityNext","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint160","name":"sqrtPriceX96","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":"tickLower","type":"int24"},{"indexed":true,"internalType":"int24","name":"tickUpper","type":"int24"},{"indexed":false,"internalType":"uint128","name":"amount","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":"uint8","name":"feeProtocol0Old","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"feeProtocol1Old","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"feeProtocol0New","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"feeProtocol1New","type":"uint8"}],"name":"SetFeeProtocol","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":"sqrtPriceX96","type":"uint160"},{"indexed":false,"internalType":"uint128","name":"liquidity","type":"uint128"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"}],"name":"Swap","type":"event"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"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\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"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\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"name\":\"CollectProtocol\",\"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\":\"uint16\",\"name\":\"observationCardinalityNextOld\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"observationCardinalityNextNew\",\"type\":\"uint16\"}],\"name\":\"IncreaseObservationCardinalityNext\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"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\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"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\":\"uint8\",\"name\":\"feeProtocol0Old\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol1Old\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol0New\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol1New\",\"type\":\"uint8\"}],\"name\":\"SetFeeProtocol\",\"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\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Swap\",\"type\":\"event\"}],\"devdoc\":{\"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\":{\"amount\":\"The amount of liquidity to remove\",\"amount0\":\"The amount of token0 withdrawn\",\"amount1\":\"The amount of token1 withdrawn\",\"owner\":\"The owner of the position for which liquidity is removed\",\"tickLower\":\"The lower tick of the position\",\"tickUpper\":\"The upper tick of the position\"}},\"Collect(address,address,int24,int24,uint128,uint128)\":{\"details\":\"Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees\",\"params\":{\"amount0\":\"The amount of token0 fees collected\",\"amount1\":\"The amount of token1 fees collected\",\"owner\":\"The owner of the position for which fees are collected\",\"tickLower\":\"The lower tick of the position\",\"tickUpper\":\"The upper tick of the position\"}},\"CollectProtocol(address,address,uint128,uint128)\":{\"params\":{\"amount0\":\"The amount of token1 protocol fees that is withdrawn\",\"recipient\":\"The address that receives the collected protocol fees\",\"sender\":\"The address that collects the protocol fees\"}},\"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\"}},\"IncreaseObservationCardinalityNext(uint16,uint16)\":{\"details\":\"observationCardinalityNext is not the observation cardinality until an observation is written at the index just before a mint/swap/burn.\",\"params\":{\"observationCardinalityNextNew\":\"The updated value of the next observation cardinality\",\"observationCardinalityNextOld\":\"The previous value of the next observation cardinality\"}},\"Initialize(uint160,int24)\":{\"details\":\"Mint/Burn/Swap cannot be emitted by the pool before Initialize\",\"params\":{\"sqrtPriceX96\":\"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\":{\"amount\":\"The amount of liquidity minted to the position range\",\"amount0\":\"How much token0 was required for the minted liquidity\",\"amount1\":\"How much token1 was required for the minted liquidity\",\"owner\":\"The owner of the position and recipient of any minted liquidity\",\"sender\":\"The address that minted the liquidity\",\"tickLower\":\"The lower tick of the position\",\"tickUpper\":\"The upper tick of the position\"}},\"SetFeeProtocol(uint8,uint8,uint8,uint8)\":{\"params\":{\"feeProtocol0New\":\"The updated value of the token0 protocol fee\",\"feeProtocol0Old\":\"The previous value of the token0 protocol fee\",\"feeProtocol1New\":\"The updated value of the token1 protocol fee\",\"feeProtocol1Old\":\"The previous value of the token1 protocol fee\"}},\"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\",\"recipient\":\"The address that received the output of the swap\",\"sender\":\"The address that initiated the swap call, and that received the callback\",\"sqrtPriceX96\":\"The sqrt(price) of the pool after the swap, as a Q64.96\",\"tick\":\"The log base 1.0001 of price of the pool after the swap\"}}},\"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\"},\"Collect(address,address,int24,int24,uint128,uint128)\":{\"notice\":\"Emitted when fees are collected by the owner of a position\"},\"CollectProtocol(address,address,uint128,uint128)\":{\"notice\":\"Emitted when the collected protocol fees are withdrawn by the factory owner\"},\"Flash(address,address,uint256,uint256,uint256,uint256)\":{\"notice\":\"Emitted by the pool for any flashes of token0/token1\"},\"IncreaseObservationCardinalityNext(uint16,uint16)\":{\"notice\":\"Emitted by the pool for increases to the number of observations that can be stored\"},\"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\"},\"SetFeeProtocol(uint8,uint8,uint8,uint8)\":{\"notice\":\"Emitted when the protocol fee is changed by the pool\"},\"Swap(address,address,int256,int256,uint160,uint128,int24)\":{\"notice\":\"Emitted by the pool for any swaps between token0 and token1\"}},\"kind\":\"user\",\"methods\":{},\"notice\":\"Contains all events emitted by the pool\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol\":\"IUniswapV3PoolEvents\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol\":{\"keccak256\":\"0x8071514d0fe5d17d6fbd31c191cdfb703031c24e0ece3621d88ab10e871375cd\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0b571930cc7488b1d546a7e9cea7c52d8b3c4e207da657ed0e0db7343b8cd03\",\"dweb:/ipfs/QmaGK6vVwB95QSTR1XMYvrh7ivYAYZxi3fD7v6VMA4jZ39\"]}},\"version\":1}"}},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol":{"IUniswapV3PoolImmutables":{"abi":[{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLiquidityPerTick","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickSpacing","outputs":[{"internalType":"int24","name":"","type":"int24"}],"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","fee()":"ddca3f43","maxLiquidityPerTick()":"70cf754a","tickSpacing()":"d0c93a7c","token0()":"0dfe1681","token1()":"d21220a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxLiquidityPerTick\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"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\":{\"kind\":\"dev\",\"methods\":{\"factory()\":{\"returns\":{\"_0\":\"The contract address\"}},\"fee()\":{\"returns\":{\"_0\":\"The fee\"}},\"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\"}},\"tickSpacing()\":{\"details\":\"Ticks can only be used at multiples of this value, minimum of 1 and always positive e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ... This value is an int24 to avoid casting even though it is always positive.\",\"returns\":{\"_0\":\"The tick spacing\"}},\"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 contract that deployed the pool, which must adhere to the IUniswapV3Factory interface\"},\"fee()\":{\"notice\":\"The pool's fee in hundredths of a bip, i.e. 1e-6\"},\"maxLiquidityPerTick()\":{\"notice\":\"The maximum amount of position liquidity that can use any tick in the range\"},\"tickSpacing()\":{\"notice\":\"The pool tick spacing\"},\"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\"}},\"notice\":\"These parameters are fixed for a pool forever, i.e., the methods will always return the same values\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol\":\"IUniswapV3PoolImmutables\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol\":{\"keccak256\":\"0xf6e5d2cd1139c4c276bdbc8e1d2b256e456c866a91f1b868da265c6d2685c3f7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b99c8c9ae8e27ee6559e5866bea82cbc9ffc8247f8d15b7422a4deb287d4d047\",\"dweb:/ipfs/QmfL8gaqt3ffAnm6nVj5ksuNpLygXuL3xq5VBqrkwC2JJ3\"]}},\"version\":1}"}},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol":{"IUniswapV3PoolOwnerActions":{"abi":[{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint128","name":"amount0Requested","type":"uint128"},{"internalType":"uint128","name":"amount1Requested","type":"uint128"}],"name":"collectProtocol","outputs":[{"internalType":"uint128","name":"amount0","type":"uint128"},{"internalType":"uint128","name":"amount1","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"feeProtocol0","type":"uint8"},{"internalType":"uint8","name":"feeProtocol1","type":"uint8"}],"name":"setFeeProtocol","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"collectProtocol(address,uint128,uint128)":"85b66729","setFeeProtocol(uint8,uint8)":"8206a4d1"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"amount0Requested\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1Requested\",\"type\":\"uint128\"}],\"name\":\"collectProtocol\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"feeProtocol0\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"feeProtocol1\",\"type\":\"uint8\"}],\"name\":\"setFeeProtocol\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"collectProtocol(address,uint128,uint128)\":{\"params\":{\"amount0Requested\":\"The maximum amount of token0 to send, can be 0 to collect fees in only token1\",\"amount1Requested\":\"The maximum amount of token1 to send, can be 0 to collect fees in only token0\",\"recipient\":\"The address to which collected protocol fees should be sent\"},\"returns\":{\"amount0\":\"The protocol fee collected in token0\",\"amount1\":\"The protocol fee collected in token1\"}},\"setFeeProtocol(uint8,uint8)\":{\"params\":{\"feeProtocol0\":\"new protocol fee for token0 of the pool\",\"feeProtocol1\":\"new protocol fee for token1 of the pool\"}}},\"title\":\"Permissioned pool actions\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"collectProtocol(address,uint128,uint128)\":{\"notice\":\"Collect the protocol fee accrued to the pool\"},\"setFeeProtocol(uint8,uint8)\":{\"notice\":\"Set the denominator of the protocol's % share of the fees\"}},\"notice\":\"Contains pool methods that may only be called by the factory owner\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol\":\"IUniswapV3PoolOwnerActions\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol\":{\"keccak256\":\"0x759b78a2918af9e99e246dc3af084f654e48ef32bb4e4cb8a966aa3dcaece235\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://64144fb96e1c7fdba87305acadb98a198d26a3d46c097cb3a666e567f6f29735\",\"dweb:/ipfs/QmUnWVwN9FKB9uV5Pr8YfLpWZnYM2DENnRMaadZ492JS9u\"]}},\"version\":1}"}},"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol":{"IUniswapV3PoolState":{"abi":[{"inputs":[],"name":"feeGrowthGlobal0X128","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeGrowthGlobal1X128","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidity","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"observations","outputs":[{"internalType":"uint32","name":"blockTimestamp","type":"uint32"},{"internalType":"int56","name":"tickCumulative","type":"int56"},{"internalType":"uint160","name":"secondsPerLiquidityCumulativeX128","type":"uint160"},{"internalType":"bool","name":"initialized","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"key","type":"bytes32"}],"name":"positions","outputs":[{"internalType":"uint128","name":"_liquidity","type":"uint128"},{"internalType":"uint256","name":"feeGrowthInside0LastX128","type":"uint256"},{"internalType":"uint256","name":"feeGrowthInside1LastX128","type":"uint256"},{"internalType":"uint128","name":"tokensOwed0","type":"uint128"},{"internalType":"uint128","name":"tokensOwed1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolFees","outputs":[{"internalType":"uint128","name":"token0","type":"uint128"},{"internalType":"uint128","name":"token1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slot0","outputs":[{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"internalType":"int24","name":"tick","type":"int24"},{"internalType":"uint16","name":"observationIndex","type":"uint16"},{"internalType":"uint16","name":"observationCardinality","type":"uint16"},{"internalType":"uint16","name":"observationCardinalityNext","type":"uint16"},{"internalType":"uint8","name":"feeProtocol","type":"uint8"},{"internalType":"bool","name":"unlocked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int16","name":"wordPosition","type":"int16"}],"name":"tickBitmap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int24","name":"tick","type":"int24"}],"name":"ticks","outputs":[{"internalType":"uint128","name":"liquidityGross","type":"uint128"},{"internalType":"int128","name":"liquidityNet","type":"int128"},{"internalType":"uint256","name":"feeGrowthOutside0X128","type":"uint256"},{"internalType":"uint256","name":"feeGrowthOutside1X128","type":"uint256"},{"internalType":"int56","name":"tickCumulativeOutside","type":"int56"},{"internalType":"uint160","name":"secondsPerLiquidityOutsideX128","type":"uint160"},{"internalType":"uint32","name":"secondsOutside","type":"uint32"},{"internalType":"bool","name":"initialized","type":"bool"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"feeGrowthGlobal0X128()":"f3058399","feeGrowthGlobal1X128()":"46141319","liquidity()":"1a686502","observations(uint256)":"252c09d7","positions(bytes32)":"514ea4bf","protocolFees()":"1ad8b03b","slot0()":"3850c7bd","tickBitmap(int16)":"5339c296","ticks(int24)":"f30dba93"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"feeGrowthGlobal0X128\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeGrowthGlobal1X128\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidity\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"observations\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"blockTimestamp\",\"type\":\"uint32\"},{\"internalType\":\"int56\",\"name\":\"tickCumulative\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityCumulativeX128\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"initialized\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"name\":\"positions\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"_liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthInside0LastX128\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthInside1LastX128\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"tokensOwed0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"tokensOwed1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFees\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"token0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"token1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slot0\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"internalType\":\"uint16\",\"name\":\"observationIndex\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"observationCardinality\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"observationCardinalityNext\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"feeProtocol\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"unlocked\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int16\",\"name\":\"wordPosition\",\"type\":\"int16\"}],\"name\":\"tickBitmap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"ticks\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidityGross\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"liquidityNet\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthOutside0X128\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthOutside1X128\",\"type\":\"uint256\"},{\"internalType\":\"int56\",\"name\":\"tickCumulativeOutside\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityOutsideX128\",\"type\":\"uint160\"},{\"internalType\":\"uint32\",\"name\":\"secondsOutside\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"initialized\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"feeGrowthGlobal0X128()\":{\"details\":\"This value can overflow the uint256\"},\"feeGrowthGlobal1X128()\":{\"details\":\"This value can overflow the uint256\"},\"liquidity()\":{\"details\":\"This value has no relationship to the total liquidity across all ticks\"},\"observations(uint256)\":{\"details\":\"You most likely want to use #observe() instead of this method to get an observation as of some amount of time ago, rather than at a specific index in the array.\",\"params\":{\"index\":\"The element of the observations array to fetch\"},\"returns\":{\"blockTimestamp\":\"The timestamp of the observation, Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp, Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp, Returns initialized whether the observation has been initialized and the values are safe to use\"}},\"positions(bytes32)\":{\"params\":{\"key\":\"The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper\"},\"returns\":{\"_liquidity\":\"The amount of liquidity in the position, Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke, Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke, Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke, Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke\"}},\"protocolFees()\":{\"details\":\"Protocol fees will never exceed uint128 max in either token\"},\"slot0()\":{\"returns\":{\"sqrtPriceX96\":\"The current price of the pool as a sqrt(token1/token0) 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(sqrtPriceX96) if the price is on a tick boundary. observationIndex The index of the last oracle observation that was written, observationCardinality The current maximum number of observations stored in the pool, observationCardinalityNext The next maximum number of observations, to be updated when the observation. feeProtocol The protocol fee for both tokens of the pool. Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0 is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee. unlocked Whether the pool is currently locked to reentrancy\"}},\"ticks(int24)\":{\"params\":{\"tick\":\"The tick to look up\"},\"returns\":{\"liquidityGross\":\"the total amount of position liquidity that uses the pool either as tick lower or tick upper, liquidityNet how much liquidity changes when the pool price crosses the tick, feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0, feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1, tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick, secondsOutside the seconds spent on the other side of the tick from the current tick, initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false. Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0. In addition, these values are only relative and must be used only in comparison to previous snapshots for a specific position.\"}}},\"title\":\"Pool state that can change\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"feeGrowthGlobal0X128()\":{\"notice\":\"The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool\"},\"feeGrowthGlobal1X128()\":{\"notice\":\"The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool\"},\"liquidity()\":{\"notice\":\"The currently in range liquidity available to the pool\"},\"observations(uint256)\":{\"notice\":\"Returns data about a specific observation index\"},\"positions(bytes32)\":{\"notice\":\"Returns the information about a position by the position's key\"},\"protocolFees()\":{\"notice\":\"The amounts of token0 and token1 that are owed to the protocol\"},\"slot0()\":{\"notice\":\"The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas when accessed externally.\"},\"tickBitmap(int16)\":{\"notice\":\"Returns 256 packed tick initialized boolean values. See TickBitmap for more information\"},\"ticks(int24)\":{\"notice\":\"Look up information about a specific tick in the pool\"}},\"notice\":\"These methods compose the pool's state, and can change with any frequency including multiple times per transaction\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol\":\"IUniswapV3PoolState\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol\":{\"keccak256\":\"0x852dc1f5df7dcf7f11e7bb3eed79f0cea72ad4b25f6a9d2c35aafb48925fd49f\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://ed63907c38ff36b0e22bc9ffc53e791ea74f0d4f0e7c257fdfb5aaf8825b1f0f\",\"dweb:/ipfs/QmSQrckghEjs6HVsA5GVgpNpZWvTXMY5eQLF7cN6deFeEg\"]}},\"version\":1}"}},"@uniswap/v3-core/contracts/libraries/SafeCast.sol":{"SafeCast":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"165:882:14:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"165:882:14:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Safe casting methods\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Contains methods for safely casting between types\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-core/contracts/libraries/SafeCast.sol\":\"SafeCast\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v3-core/contracts/libraries/SafeCast.sol\":{\"keccak256\":\"0x4c12bf820c0b011f5490a209960ca34dd8af34660ef9e01de0438393d15e3fd8\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://fed11489e218e55d087d42b4f350a30e10cd2aedec8f432bd3cc712f648d5869\",\"dweb:/ipfs/QmWfRnRxyXwHUDcTQPazxYYk5jxErGeQqdvnYtyg5nBPbU\"]}},\"version\":1}"}},"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol":{"IERC721Permit":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","PERMIT_TYPEHASH()":"30adf81f","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","getApproved(uint256)":"081812fc","isApprovedForAll(address,address)":"e985e9c5","ownerOf(uint256)":"6352211e","permit(address,uint256,uint256,uint8,bytes32,bytes32)":"7ac2ff7b","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","supportsInterface(bytes4)":"01ffc9a7","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when `owner` enables `approved` to manage the `tokenId` token.\"},\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"returns\":{\"_0\":\"The domain seperator used in encoding of permit signature\"}},\"PERMIT_TYPEHASH()\":{\"returns\":{\"_0\":\"The typehash for the permit\"}},\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"permit(address,uint256,uint256,uint8,bytes32,bytes32)\":{\"params\":{\"deadline\":\"The deadline timestamp by which the call must be mined for the approve to work\",\"r\":\"Must produce valid secp256k1 signature from the holder along with `v` and `s`\",\"s\":\"Must produce valid secp256k1 signature from the holder along with `r` and `v`\",\"spender\":\"The account that is being approved\",\"tokenId\":\"The ID of the token that is being approved for spending\",\"v\":\"Must produce valid secp256k1 signature from the holder along with `r` and `s`\"}},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or   {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the address zero. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"title\":\"ERC721 with permit\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"notice\":\"The domain separator used in the permit signature\"},\"PERMIT_TYPEHASH()\":{\"notice\":\"The permit typehash used in the permit signature\"},\"permit(address,uint256,uint256,uint8,bytes32,bytes32)\":{\"notice\":\"Approve of a specific token ID for spending by spender via signature\"}},\"notice\":\"Extension to ERC721 that includes a permit function for signature based approvals\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol\":\"IERC721Permit\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f8f2a76e23b02fc69e8cd24c3cb47da6c7af3a2d6c3a382f8ac25c6e094ade7\",\"dweb:/ipfs/QmPV4ZS4tPVv4mTCf9ejyZ1ai57EEibDRj7mN2ARDCLV5n\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]},\"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol\":{\"keccak256\":\"0x9e3c2a4ee65ddf95b2dfcb0815784eea3a295707e6f8b83e4c4f0f8fe2e3a1d4\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://bfd939085b3618101b955f87c7fabf38338ba1aad480295acb8102ebc5d72471\",\"dweb:/ipfs/QmauQD8bGDHTztmTDfaKXjzM7Wacrq2XU7VcTbwn1WrDBL\"]}},\"version\":1}"}},"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol":{"INonfungiblePositionManager":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Collect","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint128","name":"liquidity","type":"uint128"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"DecreaseLiquidity","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint128","name":"liquidity","type":"uint128"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"IncreaseLiquidity","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"WETH9","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint128","name":"amount0Max","type":"uint128"},{"internalType":"uint128","name":"amount1Max","type":"uint128"}],"internalType":"struct INonfungiblePositionManager.CollectParams","name":"params","type":"tuple"}],"name":"collect","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"createAndInitializePoolIfNecessary","outputs":[{"internalType":"address","name":"pool","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint128","name":"liquidity","type":"uint128"},{"internalType":"uint256","name":"amount0Min","type":"uint256"},{"internalType":"uint256","name":"amount1Min","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct INonfungiblePositionManager.DecreaseLiquidityParams","name":"params","type":"tuple"}],"name":"decreaseLiquidity","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount0Desired","type":"uint256"},{"internalType":"uint256","name":"amount1Desired","type":"uint256"},{"internalType":"uint256","name":"amount0Min","type":"uint256"},{"internalType":"uint256","name":"amount1Min","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct INonfungiblePositionManager.IncreaseLiquidityParams","name":"params","type":"tuple"}],"name":"increaseLiquidity","outputs":[{"internalType":"uint128","name":"liquidity","type":"uint128"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint256","name":"amount0Desired","type":"uint256"},{"internalType":"uint256","name":"amount1Desired","type":"uint256"},{"internalType":"uint256","name":"amount0Min","type":"uint256"},{"internalType":"uint256","name":"amount1Min","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct INonfungiblePositionManager.MintParams","name":"params","type":"tuple"}],"name":"mint","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint128","name":"liquidity","type":"uint128"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"positions","outputs":[{"internalType":"uint96","name":"nonce","type":"uint96"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"uint128","name":"liquidity","type":"uint128"},{"internalType":"uint256","name":"feeGrowthInside0LastX128","type":"uint256"},{"internalType":"uint256","name":"feeGrowthInside1LastX128","type":"uint256"},{"internalType":"uint128","name":"tokensOwed0","type":"uint128"},{"internalType":"uint128","name":"tokensOwed1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refundETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amountMinimum","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"sweepToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountMinimum","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"unwrapWETH9","outputs":[],"stateMutability":"payable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","PERMIT_TYPEHASH()":"30adf81f","WETH9()":"4aa4a4fc","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","burn(uint256)":"42966c68","collect((uint256,address,uint128,uint128))":"fc6f7865","createAndInitializePoolIfNecessary(address,address,uint24,uint160)":"13ead562","decreaseLiquidity((uint256,uint128,uint256,uint256,uint256))":"0c49ccbe","factory()":"c45a0155","getApproved(uint256)":"081812fc","increaseLiquidity((uint256,uint256,uint256,uint256,uint256,uint256))":"219f5d17","isApprovedForAll(address,address)":"e985e9c5","mint((address,address,uint24,int24,int24,uint256,uint256,uint256,uint256,address,uint256))":"88316456","name()":"06fdde03","ownerOf(uint256)":"6352211e","permit(address,uint256,uint256,uint8,bytes32,bytes32)":"7ac2ff7b","positions(uint256)":"99fbab88","refundETH()":"12210e8a","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","supportsInterface(bytes4)":"01ffc9a7","sweepToken(address,uint256,address)":"df2ab5bb","symbol()":"95d89b41","tokenByIndex(uint256)":"4f6ccce7","tokenOfOwnerByIndex(address,uint256)":"2f745c59","tokenURI(uint256)":"c87b56dd","totalSupply()":"18160ddd","transferFrom(address,address,uint256)":"23b872dd","unwrapWETH9(uint256,address)":"49404b7c"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Collect\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"DecreaseLiquidity\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"IncreaseLiquidity\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WETH9\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"amount0Max\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1Max\",\"type\":\"uint128\"}],\"internalType\":\"struct INonfungiblePositionManager.CollectParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"collect\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"createAndInitializePoolIfNecessary\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount0Min\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Min\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct INonfungiblePositionManager.DecreaseLiquidityParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"decreaseLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount0Desired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Desired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount0Min\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Min\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct INonfungiblePositionManager.IncreaseLiquidityParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"increaseLiquidity\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint256\",\"name\":\"amount0Desired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Desired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount0Min\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Min\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct INonfungiblePositionManager.MintParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"positions\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"nonce\",\"type\":\"uint96\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthInside0LastX128\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthInside1LastX128\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"tokensOwed0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"tokensOwed1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"refundETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"sweepToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"unwrapWETH9\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when `owner` enables `approved` to manage the `tokenId` token.\"},\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\"},\"Collect(uint256,address,uint256,uint256)\":{\"details\":\"The amounts reported may not be exactly equivalent to the amounts transferred, due to rounding behavior\",\"params\":{\"amount0\":\"The amount of token0 owed to the position that was collected\",\"amount1\":\"The amount of token1 owed to the position that was collected\",\"recipient\":\"The address of the account that received the collected tokens\",\"tokenId\":\"The ID of the token for which underlying tokens were collected\"}},\"DecreaseLiquidity(uint256,uint128,uint256,uint256)\":{\"params\":{\"amount0\":\"The amount of token0 that was accounted for the decrease in liquidity\",\"amount1\":\"The amount of token1 that was accounted for the decrease in liquidity\",\"liquidity\":\"The amount by which liquidity for the NFT position was decreased\",\"tokenId\":\"The ID of the token for which liquidity was decreased\"}},\"IncreaseLiquidity(uint256,uint128,uint256,uint256)\":{\"details\":\"Also emitted when a token is minted\",\"params\":{\"amount0\":\"The amount of token0 that was paid for the increase in liquidity\",\"amount1\":\"The amount of token1 that was paid for the increase in liquidity\",\"liquidity\":\"The amount by which liquidity for the NFT position was increased\",\"tokenId\":\"The ID of the token for which liquidity was increased\"}},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"returns\":{\"_0\":\"The domain seperator used in encoding of permit signature\"}},\"PERMIT_TYPEHASH()\":{\"returns\":{\"_0\":\"The typehash for the permit\"}},\"WETH9()\":{\"returns\":{\"_0\":\"Returns the address of WETH9\"}},\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"burn(uint256)\":{\"params\":{\"tokenId\":\"The ID of the token that is being burned\"}},\"collect((uint256,address,uint128,uint128))\":{\"params\":{\"params\":\"tokenId The ID of the NFT for which tokens are being collected, recipient The account that should receive the tokens, amount0Max The maximum amount of token0 to collect, amount1Max The maximum amount of token1 to collect\"},\"returns\":{\"amount0\":\"The amount of fees collected in token0\",\"amount1\":\"The amount of fees collected in token1\"}},\"createAndInitializePoolIfNecessary(address,address,uint24,uint160)\":{\"details\":\"This method can be bundled with others via IMulticall for the first action (e.g. mint) performed against a pool\",\"params\":{\"fee\":\"The fee amount of the v3 pool for the specified token pair\",\"sqrtPriceX96\":\"The initial square root price of the pool as a Q64.96 value\",\"token0\":\"The contract address of token0 of the pool\",\"token1\":\"The contract address of token1 of the pool\"},\"returns\":{\"pool\":\"Returns the pool address based on the pair of tokens and fee, will return the newly created pool address if necessary\"}},\"decreaseLiquidity((uint256,uint128,uint256,uint256,uint256))\":{\"params\":{\"params\":\"tokenId The ID of the token for which liquidity is being decreased, amount The amount by which liquidity will be decreased, amount0Min The minimum amount of token0 that should be accounted for the burned liquidity, amount1Min The minimum amount of token1 that should be accounted for the burned liquidity, deadline The time by which the transaction must be included to effect the change\"},\"returns\":{\"amount0\":\"The amount of token0 accounted to the position's tokens owed\",\"amount1\":\"The amount of token1 accounted to the position's tokens owed\"}},\"factory()\":{\"returns\":{\"_0\":\"Returns the address of the Uniswap V3 factory\"}},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"increaseLiquidity((uint256,uint256,uint256,uint256,uint256,uint256))\":{\"params\":{\"params\":\"tokenId The ID of the token for which liquidity is being increased, amount0Desired The desired amount of token0 to be spent, amount1Desired The desired amount of token1 to be spent, amount0Min The minimum amount of token0 to spend, which serves as a slippage check, amount1Min The minimum amount of token1 to spend, which serves as a slippage check, deadline The time by which the transaction must be included to effect the change\"},\"returns\":{\"amount0\":\"The amount of token0 to acheive resulting liquidity\",\"amount1\":\"The amount of token1 to acheive resulting liquidity\",\"liquidity\":\"The new liquidity amount as a result of the increase\"}},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"mint((address,address,uint24,int24,int24,uint256,uint256,uint256,uint256,address,uint256))\":{\"details\":\"Call this when the pool does exist and is initialized. Note that if the pool is created but not initialized a method does not exist, i.e. the pool is assumed to be initialized.\",\"params\":{\"params\":\"The params necessary to mint a position, encoded as `MintParams` in calldata\"},\"returns\":{\"amount0\":\"The amount of token0\",\"amount1\":\"The amount of token1\",\"liquidity\":\"The amount of liquidity for this position\",\"tokenId\":\"The ID of the token that represents the minted position\"}},\"name()\":{\"details\":\"Returns the token collection name.\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"permit(address,uint256,uint256,uint8,bytes32,bytes32)\":{\"params\":{\"deadline\":\"The deadline timestamp by which the call must be mined for the approve to work\",\"r\":\"Must produce valid secp256k1 signature from the holder along with `v` and `s`\",\"s\":\"Must produce valid secp256k1 signature from the holder along with `r` and `v`\",\"spender\":\"The account that is being approved\",\"tokenId\":\"The ID of the token that is being approved for spending\",\"v\":\"Must produce valid secp256k1 signature from the holder along with `r` and `s`\"}},\"positions(uint256)\":{\"details\":\"Throws if the token ID is not valid.\",\"params\":{\"tokenId\":\"The ID of the token that represents the position\"},\"returns\":{\"fee\":\"The fee associated with the pool\",\"feeGrowthInside0LastX128\":\"The fee growth of token0 as of the last action on the individual position\",\"feeGrowthInside1LastX128\":\"The fee growth of token1 as of the last action on the individual position\",\"liquidity\":\"The liquidity of the position\",\"nonce\":\"The nonce for permits\",\"operator\":\"The address that is approved for spending\",\"tickLower\":\"The lower end of the tick range for the position\",\"tickUpper\":\"The higher end of the tick range for the position\",\"token0\":\"The address of the token0 for a specific pool\",\"token1\":\"The address of the token1 for a specific pool\",\"tokensOwed0\":\"The uncollected amount of token0 owed to the position as of the last computation\",\"tokensOwed1\":\"The uncollected amount of token1 owed to the position as of the last computation\"}},\"refundETH()\":{\"details\":\"Useful for bundling with mint or increase liquidity that uses ether, or exact output swaps that use ether for the input amount\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or   {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the address zero. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"sweepToken(address,uint256,address)\":{\"details\":\"The amountMinimum parameter prevents malicious contracts from stealing the token from users\",\"params\":{\"amountMinimum\":\"The minimum amount of token required for a transfer\",\"recipient\":\"The destination address of the token\",\"token\":\"The contract address of the token which will be transferred to `recipient`\"}},\"symbol()\":{\"details\":\"Returns the token collection symbol.\"},\"tokenByIndex(uint256)\":{\"details\":\"Returns a token ID at a given `index` of all the tokens stored by the contract. Use along with {totalSupply} to enumerate all tokens.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"Returns a token ID owned by `owner` at a given `index` of its token list. Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\"},\"tokenURI(uint256)\":{\"details\":\"Returns the Uniform Resource Identifier (URI) for `tokenId` token.\"},\"totalSupply()\":{\"details\":\"Returns the total amount of tokens stored by the contract.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"},\"unwrapWETH9(uint256,address)\":{\"details\":\"The amountMinimum parameter prevents malicious contracts from stealing WETH9 from users.\",\"params\":{\"amountMinimum\":\"The minimum amount of WETH9 to unwrap\",\"recipient\":\"The address receiving ETH\"}}},\"title\":\"Non-fungible token for positions\",\"version\":1},\"userdoc\":{\"events\":{\"Collect(uint256,address,uint256,uint256)\":{\"notice\":\"Emitted when tokens are collected for a position NFT\"},\"DecreaseLiquidity(uint256,uint128,uint256,uint256)\":{\"notice\":\"Emitted when liquidity is decreased for a position NFT\"},\"IncreaseLiquidity(uint256,uint128,uint256,uint256)\":{\"notice\":\"Emitted when liquidity is increased for a position NFT\"}},\"kind\":\"user\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"notice\":\"The domain separator used in the permit signature\"},\"PERMIT_TYPEHASH()\":{\"notice\":\"The permit typehash used in the permit signature\"},\"burn(uint256)\":{\"notice\":\"Burns a token ID, which deletes it from the NFT contract. The token must have 0 liquidity and all tokens must be collected first.\"},\"collect((uint256,address,uint128,uint128))\":{\"notice\":\"Collects up to a maximum amount of fees owed to a specific position to the recipient\"},\"createAndInitializePoolIfNecessary(address,address,uint24,uint160)\":{\"notice\":\"Creates a new pool if it does not exist, then initializes if not initialized\"},\"decreaseLiquidity((uint256,uint128,uint256,uint256,uint256))\":{\"notice\":\"Decreases the amount of liquidity in a position and accounts it to the position\"},\"increaseLiquidity((uint256,uint256,uint256,uint256,uint256,uint256))\":{\"notice\":\"Increases the amount of liquidity in a position, with tokens paid by the `msg.sender`\"},\"mint((address,address,uint24,int24,int24,uint256,uint256,uint256,uint256,address,uint256))\":{\"notice\":\"Creates a new position wrapped in a NFT\"},\"permit(address,uint256,uint256,uint8,bytes32,bytes32)\":{\"notice\":\"Approve of a specific token ID for spending by spender via signature\"},\"positions(uint256)\":{\"notice\":\"Returns the position information associated with a given token ID.\"},\"refundETH()\":{\"notice\":\"Refunds any ETH balance held by this contract to the `msg.sender`\"},\"sweepToken(address,uint256,address)\":{\"notice\":\"Transfers the full amount of a token held by this contract to recipient\"},\"unwrapWETH9(uint256,address)\":{\"notice\":\"Unwraps the contract's WETH9 balance and sends it to recipient as ETH.\"}},\"notice\":\"Wraps Uniswap V3 positions in a non-fungible token interface which allows for them to be transferred and authorized.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol\":\"INonfungiblePositionManager\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f8f2a76e23b02fc69e8cd24c3cb47da6c7af3a2d6c3a382f8ac25c6e094ade7\",\"dweb:/ipfs/QmPV4ZS4tPVv4mTCf9ejyZ1ai57EEibDRj7mN2ARDCLV5n\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":{\"keccak256\":\"0x3d6954a93ac198a2ffa384fa58ccf18e7e235263e051a394328002eff4e073de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f58c799bd939d3951c94893e83ef86acd56989d1d7db7f9d180c515e29e28ff\",\"dweb:/ipfs/QmTgAxHAAys4kq9ZfU9YB24MWYoHLGAKSxnYUigPFrNW7g\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02\",\"dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]},\"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol\":{\"keccak256\":\"0x9e3c2a4ee65ddf95b2dfcb0815784eea3a295707e6f8b83e4c4f0f8fe2e3a1d4\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://bfd939085b3618101b955f87c7fabf38338ba1aad480295acb8102ebc5d72471\",\"dweb:/ipfs/QmauQD8bGDHTztmTDfaKXjzM7Wacrq2XU7VcTbwn1WrDBL\"]},\"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol\":{\"keccak256\":\"0x3357b065654abb7f4a9ebd184a260bc39efde2afa4e99dca2e72ffc28e9c2984\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f7682dab014724be8e0a5a401b047788ff9c70b77fa5bd567ea6adc333cb3b56\",\"dweb:/ipfs/QmatH1Gc6z3AkP4dHjAEBKfCBbgBfD4vCceF4TuZU2bCyW\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol\":{\"keccak256\":\"0x7affcfeb5127c0925a71d6a65345e117c33537523aeca7bc98085ead8452519d\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://e16b291294210e71cb0f20cd0afe62ae2dc6878d627f5ccc19c4dc9cd80aec3f\",\"dweb:/ipfs/QmQGitSyBr26nour81BZmpmDMyJpvZRqHQZvnCD1Acb127\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol\":{\"keccak256\":\"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407\",\"dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol\":{\"keccak256\":\"0x9d7695e8d94c22cc5fcced602017aabb988de89981ea7bee29ea629d5328a862\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://61b50933026ee1017db2a6273af8cedc3238c95dca58880db0918dbdbb2f064f\",\"dweb:/ipfs/QmUebR26pqG25d18aBELKz8aFFKkmHa8PxntzXTA7o9Ldu\"]},\"@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol\":{\"keccak256\":\"0xa72de315bd655a0fd5043ff97c7fd3868a1b5b1986afd75c6f5f8fd0f904985f\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a8838e68aba9caf2b2cb13bd4cb661b1f9c167cca4dfcd50ac72ae96691392df\",\"dweb:/ipfs/QmfLq3cmsSQTuLLxiF4bgceaf2jx8CoiVXQd7BZXGgJG1E\"]}},\"version\":1}"}},"@uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol":{"IPeripheryImmutableState":{"abi":[{"inputs":[],"name":"WETH9","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","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":{"WETH9()":"4aa4a4fc","factory()":"c45a0155"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"WETH9\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"WETH9()\":{\"returns\":{\"_0\":\"Returns the address of WETH9\"}},\"factory()\":{\"returns\":{\"_0\":\"Returns the address of the Uniswap V3 factory\"}}},\"title\":\"Immutable state\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Functions that return immutable state of the router\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol\":\"IPeripheryImmutableState\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol\":{\"keccak256\":\"0x7affcfeb5127c0925a71d6a65345e117c33537523aeca7bc98085ead8452519d\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://e16b291294210e71cb0f20cd0afe62ae2dc6878d627f5ccc19c4dc9cd80aec3f\",\"dweb:/ipfs/QmQGitSyBr26nour81BZmpmDMyJpvZRqHQZvnCD1Acb127\"]}},\"version\":1}"}},"@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol":{"IPeripheryPayments":{"abi":[{"inputs":[],"name":"refundETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amountMinimum","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"sweepToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountMinimum","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"unwrapWETH9","outputs":[],"stateMutability":"payable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"refundETH()":"12210e8a","sweepToken(address,uint256,address)":"df2ab5bb","unwrapWETH9(uint256,address)":"49404b7c"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"refundETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"sweepToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"unwrapWETH9\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"refundETH()\":{\"details\":\"Useful for bundling with mint or increase liquidity that uses ether, or exact output swaps that use ether for the input amount\"},\"sweepToken(address,uint256,address)\":{\"details\":\"The amountMinimum parameter prevents malicious contracts from stealing the token from users\",\"params\":{\"amountMinimum\":\"The minimum amount of token required for a transfer\",\"recipient\":\"The destination address of the token\",\"token\":\"The contract address of the token which will be transferred to `recipient`\"}},\"unwrapWETH9(uint256,address)\":{\"details\":\"The amountMinimum parameter prevents malicious contracts from stealing WETH9 from users.\",\"params\":{\"amountMinimum\":\"The minimum amount of WETH9 to unwrap\",\"recipient\":\"The address receiving ETH\"}}},\"title\":\"Periphery Payments\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"refundETH()\":{\"notice\":\"Refunds any ETH balance held by this contract to the `msg.sender`\"},\"sweepToken(address,uint256,address)\":{\"notice\":\"Transfers the full amount of a token held by this contract to recipient\"},\"unwrapWETH9(uint256,address)\":{\"notice\":\"Unwraps the contract's WETH9 balance and sends it to recipient as ETH.\"}},\"notice\":\"Functions to ease deposits and withdrawals of ETH\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol\":\"IPeripheryPayments\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol\":{\"keccak256\":\"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407\",\"dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp\"]}},\"version\":1}"}},"@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol":{"IPoolInitializer":{"abi":[{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"createAndInitializePoolIfNecessary","outputs":[{"internalType":"address","name":"pool","type":"address"}],"stateMutability":"payable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"createAndInitializePoolIfNecessary(address,address,uint24,uint160)":"13ead562"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"createAndInitializePoolIfNecessary\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"createAndInitializePoolIfNecessary(address,address,uint24,uint160)\":{\"details\":\"This method can be bundled with others via IMulticall for the first action (e.g. mint) performed against a pool\",\"params\":{\"fee\":\"The fee amount of the v3 pool for the specified token pair\",\"sqrtPriceX96\":\"The initial square root price of the pool as a Q64.96 value\",\"token0\":\"The contract address of token0 of the pool\",\"token1\":\"The contract address of token1 of the pool\"},\"returns\":{\"pool\":\"Returns the pool address based on the pair of tokens and fee, will return the newly created pool address if necessary\"}}},\"title\":\"Creates and initializes V3 Pools\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"createAndInitializePoolIfNecessary(address,address,uint24,uint160)\":{\"notice\":\"Creates a new pool if it does not exist, then initializes if not initialized\"}},\"notice\":\"Provides a method for creating and initializing a pool, if necessary, for bundling with other methods that require the pool to exist.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol\":\"IPoolInitializer\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol\":{\"keccak256\":\"0x9d7695e8d94c22cc5fcced602017aabb988de89981ea7bee29ea629d5328a862\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://61b50933026ee1017db2a6273af8cedc3238c95dca58880db0918dbdbb2f064f\",\"dweb:/ipfs/QmUebR26pqG25d18aBELKz8aFFKkmHa8PxntzXTA7o9Ldu\"]}},\"version\":1}"}},"@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol":{"PoolAddress":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"167:1727:20:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"167:1727:20:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Provides functions for deriving a pool address from the factory, tokens, and the fee\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol\":\"PoolAddress\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol\":{\"keccak256\":\"0xa72de315bd655a0fd5043ff97c7fd3868a1b5b1986afd75c6f5f8fd0f904985f\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a8838e68aba9caf2b2cb13bd4cb661b1f9c167cca4dfcd50ac72ae96691392df\",\"dweb:/ipfs/QmfLq3cmsSQTuLLxiF4bgceaf2jx8CoiVXQd7BZXGgJG1E\"]}},\"version\":1}"}},"@uniswap/v4-core/src/ERC6909.sol":{"ERC6909":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"OperatorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address,uint256)":"598af9e7","approve(address,uint256,uint256)":"426a8493","balanceOf(address,uint256)":"00fdd58e","isOperator(address,address)":"b6363cf2","setOperator(address,bool)":"558a7297","supportsInterface(bytes4)":"01ffc9a7","transfer(address,uint256,uint256)":"095bcdb6","transferFrom(address,address,uint256,uint256)":"fe99049a"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"OperatorSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isOperator\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC6909.sol)\",\"details\":\"Copied from the commit at 4b47a19038b798b4a33d9749d25e570443520647This contract has been modified from the implementation at the above link.\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"spender\":\"The address of the spender.\"},\"returns\":{\"_0\":\"bool True, always\"}},\"setOperator(address,bool)\":{\"params\":{\"approved\":\"The approval status.\",\"operator\":\"The address of the operator.\"},\"returns\":{\"_0\":\"bool True, always\"}},\"transfer(address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"receiver\":\"The address of the receiver.\"},\"returns\":{\"_0\":\"bool True, always, unless the function reverts\"}},\"transferFrom(address,address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"receiver\":\"The address of the receiver.\",\"sender\":\"The address of the sender.\"},\"returns\":{\"_0\":\"bool True, always, unless the function reverts\"}}},\"stateVariables\":{\"allowance\":{\"params\":{\"id\":\"The id of the token.\",\"owner\":\"The address of the owner.\",\"spender\":\"The address of the spender.\"},\"return\":\"amount The allowance of the token.\",\"returns\":{\"amount\":\"The allowance of the token.\"}},\"balanceOf\":{\"params\":{\"id\":\"The id of the token.\",\"owner\":\"The address of the owner.\"},\"return\":\"balance The balance of the token.\",\"returns\":{\"balance\":\"The balance of the token.\"}},\"isOperator\":{\"params\":{\"owner\":\"The address of the owner.\",\"spender\":\"The address of the spender.\"},\"return\":\"isOperator The approval status.\",\"returns\":{\"isOperator\":\"The approval status.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"allowance(address,address,uint256)\":{\"notice\":\"Spender allowance of an id.\"},\"approve(address,uint256,uint256)\":{\"notice\":\"Approves an amount of an id to a spender.\"},\"balanceOf(address,uint256)\":{\"notice\":\"Owner balance of an id.\"},\"isOperator(address,address)\":{\"notice\":\"Checks if a spender is approved by an owner as an operator\"},\"setOperator(address,bool)\":{\"notice\":\"Sets or removes an operator for the caller.\"},\"transfer(address,uint256,uint256)\":{\"notice\":\"Transfers an amount of an id from the caller to a receiver.\"},\"transferFrom(address,address,uint256,uint256)\":{\"notice\":\"Transfers an amount of an id from a sender to a receiver.\"}},\"notice\":\"Minimalist and gas efficient standard ERC6909 implementation.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/ERC6909.sol\":\"ERC6909\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/ERC6909.sol\":{\"keccak256\":\"0x22476a1c183be1b547a509b3e6906abaccb6408375f798fce805ff7877aca09f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e85580e1563ea0556705132fb6bd038ca4aa355749039923853ebcb76b7c84e6\",\"dweb:/ipfs/QmVoxPrbagRKpFdRWoaCSKmStYLZrhNFuedcuyGycSGR7q\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]}},\"version\":1}"}},"@uniswap/v4-core/src/ERC6909Claims.sol":{"ERC6909Claims":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"OperatorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address,uint256)":"598af9e7","approve(address,uint256,uint256)":"426a8493","balanceOf(address,uint256)":"00fdd58e","isOperator(address,address)":"b6363cf2","setOperator(address,bool)":"558a7297","supportsInterface(bytes4)":"01ffc9a7","transfer(address,uint256,uint256)":"095bcdb6","transferFrom(address,address,uint256,uint256)":"fe99049a"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"OperatorSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isOperator\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"approve(address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"spender\":\"The address of the spender.\"},\"returns\":{\"_0\":\"bool True, always\"}},\"setOperator(address,bool)\":{\"params\":{\"approved\":\"The approval status.\",\"operator\":\"The address of the operator.\"},\"returns\":{\"_0\":\"bool True, always\"}},\"transfer(address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"receiver\":\"The address of the receiver.\"},\"returns\":{\"_0\":\"bool True, always, unless the function reverts\"}},\"transferFrom(address,address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"receiver\":\"The address of the receiver.\",\"sender\":\"The address of the sender.\"},\"returns\":{\"_0\":\"bool True, always, unless the function reverts\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"allowance(address,address,uint256)\":{\"notice\":\"Spender allowance of an id.\"},\"approve(address,uint256,uint256)\":{\"notice\":\"Approves an amount of an id to a spender.\"},\"balanceOf(address,uint256)\":{\"notice\":\"Owner balance of an id.\"},\"isOperator(address,address)\":{\"notice\":\"Checks if a spender is approved by an owner as an operator\"},\"setOperator(address,bool)\":{\"notice\":\"Sets or removes an operator for the caller.\"},\"transfer(address,uint256,uint256)\":{\"notice\":\"Transfers an amount of an id from the caller to a receiver.\"},\"transferFrom(address,address,uint256,uint256)\":{\"notice\":\"Transfers an amount of an id from a sender to a receiver.\"}},\"notice\":\"ERC6909Claims inherits ERC6909 and implements an internal burnFrom function\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/ERC6909Claims.sol\":\"ERC6909Claims\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/ERC6909.sol\":{\"keccak256\":\"0x22476a1c183be1b547a509b3e6906abaccb6408375f798fce805ff7877aca09f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e85580e1563ea0556705132fb6bd038ca4aa355749039923853ebcb76b7c84e6\",\"dweb:/ipfs/QmVoxPrbagRKpFdRWoaCSKmStYLZrhNFuedcuyGycSGR7q\"]},\"@uniswap/v4-core/src/ERC6909Claims.sol\":{\"keccak256\":\"0xf496ef3a5a9bf4f4aa2eec951dbeff09a01ef058bb9f64b1664cf46c9e85cd49\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2a0a97c359a7a4c526ba9fc4ceb20af8050f9cf7886ea7e1f38c9c10b4a3750c\",\"dweb:/ipfs/QmPy6pCQbvzCdJRqG1thHRSwEZoLBAaLo3KQnueL3wxb8i\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]}},\"version\":1}"}},"@uniswap/v4-core/src/Extsload.sol":{"Extsload":{"abi":[{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"extsload","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"startSlot","type":"bytes32"},{"internalType":"uint256","name":"nSlots","type":"uint256"}],"name":"extsload","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"slots","type":"bytes32[]"}],"name":"extsload","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"extsload(bytes32)":"1e2eaeaf","extsload(bytes32,uint256)":"35fd631a","extsload(bytes32[])":"dbd035ff"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"startSlot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"nSlots\",\"type\":\"uint256\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"slots\",\"type\":\"bytes32[]\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"extsload(bytes32)\":{\"params\":{\"slot\":\"Key of slot to sload\"},\"returns\":{\"_0\":\"The value of the slot as bytes32\"}},\"extsload(bytes32,uint256)\":{\"params\":{\"nSlots\":\"Number of slots to load into return value\",\"startSlot\":\"Key of slot to start sloading from\"},\"returns\":{\"_0\":\"List of loaded values.\"}},\"extsload(bytes32[])\":{\"params\":{\"slots\":\"List of slots to SLOAD from.\"},\"returns\":{\"_0\":\"List of loaded values.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"extsload(bytes32)\":{\"notice\":\"Called by external contracts to access granular pool state\"},\"extsload(bytes32,uint256)\":{\"notice\":\"Called by external contracts to access granular pool state\"},\"extsload(bytes32[])\":{\"notice\":\"Called by external contracts to access sparse pool state\"}},\"notice\":\"Enables public storage access for efficient state retrieval by external contracts. https://eips.ethereum.org/EIPS/eip-2330#rationale\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/Extsload.sol\":\"Extsload\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/Extsload.sol\":{\"keccak256\":\"0x784074bd04a1541c7c6ace074e30245746133fd37c3ba16b025dce394db986ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://35f1f4fb306bf01e98b7eca012b85f3ab978b39fa5136193363e2519c4435e51\",\"dweb:/ipfs/QmeGrjGMt71dJymVhkEadh5CuCW5GxRqNEZLi5AJxvC5tU\"]},\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]}},\"version\":1}"}},"@uniswap/v4-core/src/Exttload.sol":{"Exttload":{"abi":[{"inputs":[{"internalType":"bytes32[]","name":"slots","type":"bytes32[]"}],"name":"exttload","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"exttload","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"exttload(bytes32)":"f135baaa","exttload(bytes32[])":"9bf6645f"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"slots\",\"type\":\"bytes32[]\"}],\"name\":\"exttload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"exttload\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"exttload(bytes32)\":{\"params\":{\"slot\":\"Key of slot to tload\"},\"returns\":{\"_0\":\"The value of the slot as bytes32\"}},\"exttload(bytes32[])\":{\"params\":{\"slots\":\"List of slots to tload\"},\"returns\":{\"_0\":\"List of loaded values\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"exttload(bytes32)\":{\"notice\":\"Called by external contracts to access transient storage of the contract\"},\"exttload(bytes32[])\":{\"notice\":\"Called by external contracts to access sparse transient pool state\"}},\"notice\":\"Enables public transient storage access for efficient state retrieval by external contracts. https://eips.ethereum.org/EIPS/eip-2330#rationale\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/Exttload.sol\":\"Exttload\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/Exttload.sol\":{\"keccak256\":\"0x769ee2733a08112c652274f4b972c45fb56cc46109f233b9a30f81561b15dd54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dd19e88d50ae77c1ed5581baca1c75b3fb828d0b58cded90188d55c4e336266c\",\"dweb:/ipfs/Qmc8YM6Tfpwwa4qivHHzRxNdhZzdzGiD7VexWsDvkaQTxG\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]}},\"version\":1}"}},"@uniswap/v4-core/src/NoDelegateCall.sol":{"NoDelegateCall":{"abi":[{"inputs":[],"name":"DelegateCallNotAllowed","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"DelegateCallNotAllowed\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"original\":{\"details\":\"The original address of this contract\"}},\"title\":\"Prevents delegatecall to a contract\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Base contract that provides a modifier for preventing delegatecall to methods in a child contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/NoDelegateCall.sol\":\"NoDelegateCall\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/NoDelegateCall.sol\":{\"keccak256\":\"0xacb81aecb7c74c86650a035462dae38c313b4b7b5842e14b645f864f61da2b51\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://363a0e15fc30ea68a5d52a78772facecde6433ea156e3ec2ce25068c97cd5ad6\",\"dweb:/ipfs/QmYhWaF3wH71SDx5TZr9qEXXQf5FYQvdjoo3B2qWiAbm18\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]}},\"version\":1}"}},"@uniswap/v4-core/src/PoolManager.sol":{"PoolManager":{"abi":[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyUnlocked","type":"error"},{"inputs":[{"internalType":"address","name":"currency0","type":"address"},{"internalType":"address","name":"currency1","type":"address"}],"name":"CurrenciesOutOfOrderOrEqual","type":"error"},{"inputs":[],"name":"CurrencyNotSettled","type":"error"},{"inputs":[],"name":"DelegateCallNotAllowed","type":"error"},{"inputs":[],"name":"InvalidCaller","type":"error"},{"inputs":[],"name":"ManagerLocked","type":"error"},{"inputs":[],"name":"MustClearExactPositiveDelta","type":"error"},{"inputs":[],"name":"NonzeroNativeValue","type":"error"},{"inputs":[],"name":"PoolNotInitialized","type":"error"},{"inputs":[],"name":"ProtocolFeeCurrencySynced","type":"error"},{"inputs":[{"internalType":"uint24","name":"fee","type":"uint24"}],"name":"ProtocolFeeTooLarge","type":"error"},{"inputs":[],"name":"SwapAmountCannotBeZero","type":"error"},{"inputs":[{"internalType":"int24","name":"tickSpacing","type":"int24"}],"name":"TickSpacingTooLarge","type":"error"},{"inputs":[{"internalType":"int24","name":"tickSpacing","type":"int24"}],"name":"TickSpacingTooSmall","type":"error"},{"inputs":[],"name":"UnauthorizedDynamicLPFeeUpdate","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Donate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":true,"internalType":"Currency","name":"currency0","type":"address"},{"indexed":true,"internalType":"Currency","name":"currency1","type":"address"},{"indexed":false,"internalType":"uint24","name":"fee","type":"uint24"},{"indexed":false,"internalType":"int24","name":"tickSpacing","type":"int24"},{"indexed":false,"internalType":"contract IHooks","name":"hooks","type":"address"},{"indexed":false,"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"}],"name":"Initialize","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"int24","name":"tickLower","type":"int24"},{"indexed":false,"internalType":"int24","name":"tickUpper","type":"int24"},{"indexed":false,"internalType":"int256","name":"liquidityDelta","type":"int256"},{"indexed":false,"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"ModifyLiquidity","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"OperatorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"protocolFeeController","type":"address"}],"name":"ProtocolFeeControllerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":false,"internalType":"uint24","name":"protocolFee","type":"uint24"}],"name":"ProtocolFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"int128","name":"amount0","type":"int128"},{"indexed":false,"internalType":"int128","name":"amount1","type":"int128"},{"indexed":false,"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"indexed":false,"internalType":"uint128","name":"liquidity","type":"uint128"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"},{"indexed":false,"internalType":"uint24","name":"fee","type":"uint24"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"clear","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"Currency","name":"currency","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"collectProtocolFees","outputs":[{"internalType":"uint256","name":"amountCollected","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"donate","outputs":[{"internalType":"BalanceDelta","name":"delta","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"extsload","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"startSlot","type":"bytes32"},{"internalType":"uint256","name":"nSlots","type":"uint256"}],"name":"extsload","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"slots","type":"bytes32[]"}],"name":"extsload","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"slots","type":"bytes32[]"}],"name":"exttload","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"exttload","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"initialize","outputs":[{"internalType":"int24","name":"tick","type":"int24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"components":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"int256","name":"liquidityDelta","type":"int256"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"internalType":"struct IPoolManager.ModifyLiquidityParams","name":"params","type":"tuple"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"modifyLiquidity","outputs":[{"internalType":"BalanceDelta","name":"callerDelta","type":"int256"},{"internalType":"BalanceDelta","name":"feesAccrued","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolFeeController","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"protocolFeesAccrued","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint24","name":"newProtocolFee","type":"uint24"}],"name":"setProtocolFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"setProtocolFeeController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"settle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"settleFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"components":[{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct IPoolManager.SwapParams","name":"params","type":"tuple"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"swap","outputs":[{"internalType":"BalanceDelta","name":"swapDelta","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"sync","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"take","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlock","outputs":[{"internalType":"bytes","name":"result","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint24","name":"newDynamicLPFee","type":"uint24"}],"name":"updateDynamicLPFee","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60a03460a057601f61433a38819003918201601f19168301916001600160401b0383118484101760a45780849260209460405283398101031260a057516001600160a01b0381169081900360a0575f80546001600160a01b0319168217815560405191907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a33060805261428190816100b98239608051816123f80152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe60a0806040526004361015610012575f80fd5b5f3560e01c908162fdd58e14611ee25750806301ffc9a714611e8c578063095bcdb614611e0f5780630b0d9c0914611db457806311da60b414611d8a578063156e29f614611d055780631e2eaeaf14611ce9578063234266d714611af25780632d77138914611a8057806335fd631a14611a2a5780633dd45adb146119f7578063426a84931461197d57806348c89491146117e65780635275965114611742578063558a7297146116b0578063598af9e7146116565780635a6bcfda14610da55780636276cbbe14610ae75780637e87ce7d14610a1757806380f0b44c146109a85780638161b874146108db5780638da5cb5b146108b457806397e8cd4e1461087c5780639bf6645f1461082f578063a5841194146107c8578063b6363cf214610771578063dbd035ff1461071b578063f02de3b2146106f3578063f135baaa146106d7578063f2fde38b14610663578063f3cd914c146103fc578063f5298aca146102d95763fe99049a14610186575f80fd5b346102d55760803660031901126102d55761019f611f21565b6101a7611f37565b60443591606435916001600160a01b03909116905f805160206141f5833981519152906102399033841415806102b2575b610247575b835f52600460205260405f20865f5260205260405f206101fe868254612103565b905560018060a01b031693845f52600460205260405f20865f5260205260405f2061022a828254612110565b9055604051918291338361211d565b0390a4602060405160018152f35b5f84815260056020908152604080832033845282528083208984529091529020548560018201610279575b50506101dd565b61028291612103565b845f52600560205260405f2060018060a01b0333165f5260205260405f20875f5260205260405f20555f85610272565b505f84815260036020908152604080832033845290915290205460ff16156101d8565b5f80fd5b346102d5576102e736611f4d565b5f805160206142158339815191525c156103ed575f805160206141f58339815191526103655f9360018060a01b03169461032b61032385612193565b3390886121b4565b6001600160a01b03169233841415806103cb575b61036a575b8385526004602052604085208686526020526040852061022a828254612103565b0390a4005b8385526005602090815260408087203388528252808720888852909152852054818619820361039b575b5050610344565b6103a491612103565b84865260056020908152604080882033895282528088208989529091528620558681610394565b5083855260036020908152604080872033885290915285205460ff161561033f565b6354e3ca0d60e01b5f5260045ffd5b346102d5576101203660031901126102d55761041736611ffd565b60603660a31901126102d5576040519061043082611f92565b60a43580151581036102d557825260c435602083019081529060e435906001600160a01b03821682036102d55760408401918252610104356001600160401b0381116102d557610484903690600401612084565b9290935f805160206142158339815191525c156103ed576104a36123f6565b51156106545760a0822092835f52600660205260405f20906104c482612437565b60808401958482828a600160a01b600190038b5116936104e39461284e565b90949195606088015160020b908b51151590600160a01b60019003905116916040519861050f8a611fad565b895260208901526040880152606087015262ffffff166080860152885115155f149862ffffff6105fb986105586105e89860209d610641578a516001600160a01b0316956132fd565b949296829192610622575b505060018060a01b03845116938e60018060801b0360408301511691015160020b90604051958860801d600f0b875288600f0b60208801526040870152606086015260808501521660a08301527f40e9cecb9f5f1f1c5b9c97dec2917b7ee92e57ba5563708daca94dd84ad7112f60c03393a3885187906001600160a01b03166129ba565b80949194610603575b50508233916124d8565b604051908152f35b905161061b916001600160a01b0390911690836124d8565b84806105f1565b60018060a01b03165f5260018f5260405f209081540190558e80610563565b8a8e01516001600160a01b0316956132fd565b63be8b850760e01b5f5260045ffd5b346102d55760203660031901126102d55761067c611f21565b5f5490610693336001600160a01b03841614612138565b6001600160a01b03166001600160a01b03199190911681175f90815533907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b346102d55760203660031901126102d5576004355c5f5260205ff35b346102d5575f3660031901126102d5576002546040516001600160a01b039091168152602090f35b346102d557610729366120b1565b6040519160408360208152836020820152019160051b8301916020806040850193925b833554815201910190848382101561076857506020809161074c565b60408186030190f35b346102d55760403660031901126102d55761078a611f21565b610792611f37565b9060018060a01b03165f52600360205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b346102d55760203660031901126102d5576107e1611f21565b6001600160a01b03811690816108055750505f5f805160206141d58339815191525d005b61080e906127c2565b905f805160206141d58339815191525d5f805160206142358339815191525d005b346102d55761083d366120b1565b6040519160408360208152836020820152019160051b8301916020806040850193925b83355c8152019101908483821015610768575060208091610860565b346102d55760203660031901126102d5576001600160a01b0361089d611f21565b165f526001602052602060405f2054604051908152f35b346102d5575f3660031901126102d5575f546040516001600160a01b039091168152602090f35b346102d55760603660031901126102d5576108f4611f21565b6108fc611f37565b600254604435906001600160a01b03163303610999576001600160a01b03821680151580610979575b61096a576020936105fb92806109625750815f526001855260405f20549384925b5f526001865260405f2061095b848254612103565b9055612230565b938492610946565b6318f3cb2960e31b5f5260045ffd5b505f805160206141d58339815191525c6001600160a01b03168114610925565b6348f5c3ed60e01b5f5260045ffd5b346102d55760403660031901126102d5576109c1611f21565b5f805160206142158339815191525c156103ed576109df81336132c4565b5c6109eb602435612193565b9081600f0b03610a0857610a069133915f03600f0b906121b4565b005b63bda73abf60e01b5f5260045ffd5b346102d55760c03660031901126102d557610a3136611ffd565b610a39611feb565b6002549091906001600160a01b0316330361099957623e900062fff0008316106103e9610fff8416101615610acf57602060a07fe9c42593e71f84403b84352cd168d693e2c9fcd1fdbcc3feb21d92b43e6696f9922092835f526006825260405f20610aa481612437565b805462ffffff60b81b191660b883901b62ffffff60b81b1617905560405162ffffff919091168152a2005b62ffffff8263a7abe2f760e01b5f521660045260245ffd5b346102d55760c03660031901126102d557610b0136611ffd565b60a435906001600160a01b0382168083036102d557610b1e6123f6565b6060820191825160020b617fff8113610d935750825160020b60018112610d815750805160208201805190916001600160a01b03908116911680821015610d63575050608082019060018060a01b03825116906040840191610b8662ffffff845116826126f4565b15610d515750610b9b62ffffff8351166127a5565b83519097906001600160a01b0381169033829003610cfe575b505060a085205f8181526006602052604090208054919290916001600160a01b0316610cef576020997fdd466e674ea557f56295e2d0218a125ea4b4f0f6f3307b95f85e6110838d643892610c0a60a093613082565b9162ffffff60d01b9060d01b168a62ffffff851b84861b161717905562ffffff600180841b0389511695600180851b03905116965116995160020b600180841b03885116906040519b8c528c8c015260408b01528860608b015260020b98896080820152a4516001600160a01b0381169033829003610c8e575b8585604051908152f35b61100016610c9d575b80610c84565b610ce692610cc460405193636fe7e6eb60e01b888601523360248601526044850190612457565b60e4830152836101048301526101048252610ce161012483611fc8565b612adb565b50828080610c97565b637983c05160e01b5f5260045ffd5b61200016610d0d575b80610bb4565b604051636e4c1aa760e11b6020820152336024820152610d4a91610d346044830189612457565b8860e483015260e48252610ce161010483611fc8565b5088610d07565b630732d7b560e51b5f5260045260245ffd5b60449250604051916306e6c98360e41b835260048301526024820152fd5b631d3d20b160e31b5f5260045260245ffd5b6316e0049f60e31b5f5260045260245ffd5b346102d5576101403660031901126102d557610dc036611ffd565b60803660a31901126102d55760405190610dd982611f77565b60a4358060020b81036102d557825260c4358060020b81036102d557602083015260e4356040830152610104356060830152610124356001600160401b0381116102d557610e2b903690600401612084565b90925f805160206142158339815191525c156103ed57610e496123f6565b60a0832093845f52600660205260405f20608052610e68608051612437565b60808401516001600160a01b03811690338290036115a1575b5050815160020b92602083015160020b91610e9f604085015161259d565b60608781015190860151604051999296929160020b60c08b016001600160401b0381118c82101761158d57604052338b528860208c01528660408c015287600f0b60608c015260808b015260a08a01525f918588121561156f57620d89e719881261155c57620d89e886136115495760405192610f1b84611f77565b5f84525f60208501525f60408501525f606085015287600f0b611312575b600460805101978960020b5f528860205260405f20988860020b5f5260205260405f206080515460a01c60020b8b81125f146112bc575060028060018c0154600184015490039b015491015490039b5b60a0600180821b03825116910151906040519160268301528960068301528b600383015281525f603a600c83012091816040820152816020820152525f5260066080510160205260405f209760018060801b038954169982600f0b155f1461127d578a1561126e5761103561102f60409f9b6110f49c6111069e5b6001830195611027600261101b848a548503613d02565b95019283548503613d02565b965555612193565b91612193565b60018060801b03169060801b179a8b965f84600f0b12611236575b5082600f0b611133575b5050506110806110718560801d8360801d0161259d565b9185600f0b90600f0b0161259d565b60018060801b03169060801b1791815160020b90602083015160020b8c8401516060850151918e5194855260208501528d84015260608301527ff208f4912782fd25c7f114ca3723a2d5dd6f3bcc3ac8db5af63baa85f711d5ec60803393a3608089015189906001600160a01b03166125f6565b80949194611112575b508333916124d8565b82519182526020820152f35b608082015161112d916001600160a01b0390911690836124d8565b856110fd565b6080515492935090916001600160a01b0381169060a01c60020b8281121561118c575050906111809261117561116b61117b94612c59565b91600f0b92612c59565b90612fd1565b61259d565b60801b5b8b808061105a565b92809193125f1461120c576111cb916111b861117b61117b936111b288600f0b91612c59565b87612fd1565b936111c686600f0b92612c59565b612f86565b6080805160030180549390911b6001600160801b03928316179390926111f691600f0b908316613006565b82546001600160801b0319169116179055611184565b9061117b92509261122261116b61122895612c59565b90612f86565b6001600160801b0316611184565b808f915161125d575b015161124c575b8e611050565b61125882608051612c39565b611246565b61126983608051612c39565b61123f565b632bbfae4960e21b5f5260045ffd5b60409d6111069b6110f49b6110359261102f926001600160801b036112a6600f8a900b83613006565b84546001600160801b0319169116178355611004565b90999089136112e25760028060018c0154600184015490039b015491015490039b610f89565b9860026001608051015460018c01549003600183015490039a81806080510154910154900391015490039b610f89565b6004608051018960020b5f5280602052898960405f2061136a815461134360018060801b03821694600f0b85613006565b6001600160801b03168015941594851415959094611515575b508d600f0b9060801d612995565b60801b82179055602087015285528760020b5f5260205260405f2080549060018060801b0382169061139f8b600f0b83613006565b91156001600160801b0383161581141593906114e8575b600f8c810b60809290921d900b0360016001607f1b0319811260016001607f1b038213176114d45760801b6001600160801b03929092169182179055606086015260408501525f600f89900b1215611452575b8351611436575b604084015115610f395761143160808c015160020b88600560805101612bed565b610f39565b61144d60808c015160020b8a600560805101612bed565b611410565b60808b015160020b60018060801b03602086015116906001808060801b03915f81620d89e719071281620d89e719050390620d89e805030160018060801b0304168091116114c15760608501516001600160801b03161115611409578663b8e3c38560e01b5f5260045260245ffd5b8963b8e3c38560e01b5f5260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6080515460a01c60020b8b136113b6576001608051015460018301556002608051015460028301556113b6565b6080515460a01c60020b121561152c575b8e61135c565b600160805101546001840155600260805101546002840155611526565b8563035aeeff60e31b5f5260045260245ffd5b8763d5e2f7ab60e01b5f5260045260245ffd5b604488876040519163c4433ed560e01b835260048301526024820152fd5b634e487b7160e01b5f52604160045260245ffd5b5f604085015113808091611649575b156115f757505060405163259982e560e01b60208201526115ee91610ce1826115e08887898c336024870161255c565b03601f198101845283611fc8565b505b8580610e81565b15908161163b575b5061160b575b506115f0565b60405163021d0ee760e41b602082015261163491610ce1826115e08887898c336024870161255c565b5085611605565b6102009150161515876115ff565b50610800821615156115b0565b346102d55760603660031901126102d55761166f611f21565b611677611f37565b6001600160a01b039182165f90815260056020908152604080832094909316825292835281812060443582528352819020549051908152f35b346102d55760403660031901126102d5576116c9611f21565b602435908115158092036102d557335f52600360205260405f2060018060a01b0382165f5260205260405f2060ff1981541660ff841617905560405191825260018060a01b0316907fceb576d9f15e4e200fdb5096d64d5dfd667e16def20c1eefd14256d8e3faa26760203392a3602060405160018152f35b346102d55760c03660031901126102d55761175c36611ffd565b611764611feb565b906280000062ffffff604083015116148015906117cf575b6117c05760a09061178c8361250f565b205f52600660205260405f20906117a282612437565b815462ffffff60d01b191660d09190911b62ffffff60d01b16179055005b6330d2164160e01b5f5260045ffd5b5060808101516001600160a01b031633141561177c565b346102d55760203660031901126102d5576004356001600160401b0381116102d557611816903690600401612084565b5f805160206142158339815191525c61196e57611863915f9160015f805160206142158339815191525d6040516348eeb9a360e11b81526020600482015293849283926024840191612173565b038183335af1908115611963575f916118db575b505f805160206142558339815191525c6118cc5760406020915f5f805160206142158339815191525d815192839181835280519182918282860152018484015e5f828201840152601f01601f19168101030190f35b635212cba160e01b5f5260045ffd5b90503d805f833e6118ec8183611fc8565b8101906020818303126102d5578051906001600160401b0382116102d5570181601f820112156102d5578051906001600160401b03821161158d576040519261193f601f8401601f191660200185611fc8565b828452602083830101116102d557815f9260208093018386015e8301015281611877565b6040513d5f823e3d90fd5b6328486b6360e11b5f5260045ffd5b346102d55761198b36611f4d565b9091335f52600560205260405f2060018060a01b0382165f5260205260405f20835f526020528160405f205560405191825260018060a01b0316907fb3fd5071835887567a0671151121894ddccc2842f1d10bedad13e0d17cace9a760203392a4602060405160018152f35b60203660031901126102d557611a0b611f21565b5f805160206142158339815191525c156103ed576105fb602091612373565b346102d55760403660031901126102d5576024356004356040519160408360208152826020820152019060051b8301916001602060408501935b8354815201910190848382101561076857506020600191611a64565b346102d55760203660031901126102d557611a99611f21565b611aad60018060a01b035f54163314612138565b600280546001600160a01b0319166001600160a01b039290921691821790557fb4bd8ef53df690b9943d3318996006dbb82a25f54719d8c8035b516a2a5b8acc5f80a2005b346102d5576101003660031901126102d557611b0d36611ffd565b60c4359060a43560e4356001600160401b0381116102d557611b33903690600401612084565b9190935f805160206142158339815191525c156103ed57611b526123f6565b60a0842094855f52600660205260405f2094611b6d86612437565b6080810180516001600160a01b0381169033829003611caa575b505060038701546001600160801b0316978815611c9b57602098611baa87612193565b5f03611bb587612193565b5f0360018060801b03169060801b179887611c87575b86611c72575b5050611bde3389856124d8565b60405190868252858a8301527f29ef05caaff9404b7cb6d1c0e9bbae9eaa7ab2541feba1a9c4248594c08156cb60403393a3516001600160a01b038116939033859003611c30575b8888604051908152f35b601016611c3e575b80611c26565b611c6695610ce1936115e09260405197889563e1b4af6960e01b8d880152336024880161249a565b50828080808080611c38565b600201908660801b0481540190558980611bd1565b60018101828960801b048154019055611bcb565b63a74f97ab60e01b5f5260045ffd5b602016611cb8575b80611b87565b604051635b54587d60e11b6020820152611ce291610ce1826115e08b898b8d8b336024880161249a565b5088611cb2565b346102d55760203660031901126102d557600435545f5260205ff35b346102d557611d1336611f4d565b905f805160206142158339815191525c156103ed576001600160a01b0316915f905f805160206141f58339815191529061036590611d60611d5386612193565b8503600f0b3390886121b4565b60018060a01b0316938484526004602052604084208685526020526040842061022a828254612110565b5f3660031901126102d5575f805160206142158339815191525c156103ed5760206105fb33612373565b346102d55760603660031901126102d557611dcd611f21565b611dd5611f37565b604435905f805160206142158339815191525c156103ed57610a0692611e0a611dfd84612193565b5f03600f0b3390836121b4565b612230565b346102d557611e1d36611f4d565b9091335f52600460205260405f20835f5260205260405f20611e40838254612103565b905560018060a01b031690815f52600460205260405f20835f5260205260405f20611e6c828254612110565b90555f805160206141f5833981519152604051806102393394338361211d565b346102d55760203660031901126102d55760043563ffffffff60e01b81168091036102d5576020906301ffc9a760e01b8114908115611ed1575b506040519015158152f35b630f632fb360e01b14905082611ec6565b346102d55760403660031901126102d5576020906001600160a01b03611f06611f21565b165f526004825260405f206024355f52825260405f20548152f35b600435906001600160a01b03821682036102d557565b602435906001600160a01b03821682036102d557565b60609060031901126102d5576004356001600160a01b03811681036102d557906024359060443590565b608081019081106001600160401b0382111761158d57604052565b606081019081106001600160401b0382111761158d57604052565b60a081019081106001600160401b0382111761158d57604052565b601f909101601f19168101906001600160401b0382119082101761158d57604052565b60a4359062ffffff821682036102d557565b60a09060031901126102d5576040519061201682611fad565b816004356001600160a01b03811681036102d55781526024356001600160a01b03811681036102d557602082015260443562ffffff811681036102d55760408201526064358060020b81036102d5576060820152608435906001600160a01b03821682036102d55760800152565b9181601f840112156102d5578235916001600160401b0383116102d557602083818601950101116102d557565b9060206003198301126102d5576004356001600160401b0381116102d557826023820112156102d5576004810135926001600160401b0384116102d55760248460051b830101116102d5576024019190565b919082039182116114d457565b919082018092116114d457565b6001600160a01b039091168152602081019190915260400190565b1561213f57565b60405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b6044820152606490fd5b908060209392818452848401375f828201840152601f01601f1916010190565b6001607f1b8110156121a557600f0b90565b6393dafdf160e01b5f5260045ffd5b9190600f0b91821561222b576121c9916132c4565b6121d5815c9283612833565b80915d61220157505f195f805160206142558339815191525c015f805160206142558339815191525d5b565b1561220857565b60015f805160206142558339815191525c015f805160206142558339815191525d565b505050565b9091906001600160a01b03811690816122be5750505f80808093855af1156122555750565b6040516390bfb86560e01b81526001600160a01b0390911660048201525f602482018190526080604483015260a03d601f01601f191690810160648401523d6084840152903d9060a484013e808201600460a482015260c4633d2cec6f60e21b91015260e40190fd5b60205f604481949682604095865198899363a9059cbb60e01b855260018060a01b0316600485015260248401525af13d15601f3d1160018551141617169282815282602082015201521561230f5750565b6040516390bfb86560e01b8152600481019190915263a9059cbb60e01b602482015260806044820152601f3d01601f191660a0810160648301523d60848301523d5f60a484013e808201600460a482015260c4633c9fd93960e21b91015260e40190fd5b5f805160206141d58339815191525c91906001600160a01b0383166123a8576121ff9034935b6123a285612193565b906121b4565b346123e7576121ff906123d15f805160206142358339815191525c6123cc866127c2565b612103565b935f5f805160206141d58339815191525d612399565b635876424f60e11b5f5260045ffd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316300361242857565b6306c4a1c760e11b5f5260045ffd5b546001600160a01b03161561244857565b63486aa30760e01b5f5260045ffd5b80516001600160a01b03908116835260208083015182169084015260408083015162ffffff169084015260608083015160020b9084015260809182015116910152565b91926124bd610120946124d598969360018060a01b031685526020850190612457565b60c083015260e0820152816101008201520191612173565b90565b906121ff92916124f68360018060a01b038351168460801d906121b4565b60200151600f9190910b906001600160a01b03166121b4565b62ffffff16620f424081116125215750565b631400211360e01b5f5260045260245ffd5b60608091805160020b8452602081015160020b6020850152604081015160408501520151910152565b6001600160a01b0390911681526124d594926101609261258f9190612585906020850190612457565b60c0830190612533565b816101408201520191612173565b9081600f0b9182036121a557565b926125dc906125d26124d59997946101a0979460018060a01b031687526020870190612457565b60c0850190612533565b610140830152610160820152816101808201520191612173565b939590919296945f9660018060a01b03861633146126e957885f6040870151135f1461269157610400871661262f575b50505050505050565b612684979998509261267d9695949261266392612671956040519788966327c18fbf60e21b602089015233602489016125ab565b03601f198101835282611fc8565b6002821615159161302f565b809261304f565b915f808080808080612626565b95949392919061010086166126a95750505050505050565b61268497995086985091612663916126dd949361267d98604051978896633615df3f60e11b602089015233602489016125ab565b6001821615159161302f565b505f96505050505050565b608081161580612799575b61276f5760408116158061278d575b61276f5761040081161580612781575b61276f5761010081161580612775575b61276f576001600160a01b03811661274f575062ffffff1662800000141590565b613fff161590811591612760575090565b62800000915062ffffff161490565b50505f90565b5060018116151561272e565b5060028116151561271e565b5060048116151561270e565b506008811615156126ff565b6280000062ffffff8216146127bd576124d58161250f565b505f90565b6001600160a01b0316806127d557504790565b6020602491604051928380926370a0823160e01b82523060048301525afa908115611963575f91612804575090565b90506020813d60201161282b575b8161281f60209383611fc8565b810103126102d5575190565b3d9150612812565b9190915f83820193841291129080158216911516176114d457565b6020830151955f958695919491336001600160a01b03851614612988576080841661287b575b5050505050565b6128f3926126636128ed926128d9946040519586946315d7892d60e21b60208701523360248701526128b0604487018c612457565b8051151560e48701526020810151610104870152604001516001600160a01b0316610124860152565b610140610144850152610164840191612173565b82612adb565b916060835103612979576040015162ffffff16628000001461296d575b600816612921575b80808080612874565b604001519250608083901d600f0b801561291857612942905f861295612833565b9315612965575f84135b612956575f612918565b637d05b8eb60e11b5f5260045ffd5b5f841261294c565b60608201519350612910565b631e048e1d60e01b5f5260045ffd5b505f965086955050505050565b600f91820b910b019060016001607f1b0319821260016001607f1b038313176114d457565b91969592949293336001600160a01b03841614612ace578460801d94600f0b938860408516612a59575b50505050505f9481600f0b15801590612a4d575b612a04575b5050509190565b612a319395505f60208201511290511515145f14612a395760018060801b03169060801b175b809361304f565b5f80806129fd565b60801b6001600160801b0390911617612a2a565b5082600f0b15156129f8565b612ab2612abe9461266361117b95612ac4999895612a976128b09660405197889663b47b2fb160e01b60208901523360248901526044880190612457565b8c610144850152610160610164850152610184840191612173565b6004821615159161302f565b90612995565b5f808080886129e4565b5050505050909150905f90565b9190918251925f8060208301958682865af115612b4357505060405191601f19603f3d011683016040523d83523d9060208401915f833e6020845110918215612b27575b505061297957565b5190516001600160e01b03199182169116141590505f80612b1f565b5183516001600160e01b03198116919060048210612bcd575b50506040516390bfb86560e01b81526001600160a01b0390921660048301526001600160e01b03191660248201526080604482015260a03d601f01601f191690810160648301523d60848301523d5f60a484013e808201600460a482015260c463a9e35b2f60e01b91015260e40190fd5b6001600160e01b031960049290920360031b82901b161690508280612b5c565b919060020b9060020b90818107612c1b5705908160081d5f52602052600160ff60405f2092161b8154189055565b601c906044926040519163d4d8f3e683526020830152604082015201fd5b60049160020b5f52016020525f6002604082208281558260018201550155565b60020b908160ff1d82810118620d89e88111612f735763ffffffff9192600182167001fffcb933bd6fad37aa2d162d1a59400102600160801b189160028116612f57575b60048116612f3b575b60088116612f1f575b60108116612f03575b60208116612ee7575b60408116612ecb575b60808116612eaf575b6101008116612e93575b6102008116612e77575b6104008116612e5b575b6108008116612e3f575b6110008116612e23575b6120008116612e07575b6140008116612deb575b6180008116612dcf575b620100008116612db3575b620200008116612d98575b620400008116612d7d575b6208000016612d64575b5f12612d5c575b0160201c90565b5f1904612d55565b6b048a170391f7dc42444e8fa290910260801c90612d4e565b6d2216e584f5fa1ea926041bedfe9890920260801c91612d44565b916e5d6af8dedb81196699c329225ee6040260801c91612d39565b916f09aa508b5b7a84e1c677de54f3e99bc90260801c91612d2e565b916f31be135f97d08fd981231505542fcfa60260801c91612d23565b916f70d869a156d2a1b890bb3df62baf32f70260801c91612d19565b916fa9f746462d870fdf8a65dc1f90e061e50260801c91612d0f565b916fd097f3bdfd2022b8845ad8f792aa58250260801c91612d05565b916fe7159475a2c29b7443b29c7fa6e889d90260801c91612cfb565b916ff3392b0822b70005940c7a398e4b70f30260801c91612cf1565b916ff987a7253ac413176f2b074cf7815e540260801c91612ce7565b916ffcbe86c7900a88aedcffc83b479aa3a40260801c91612cdd565b916ffe5dee046a99a2a811c461f1969c30530260801c91612cd3565b916fff2ea16466c96a3843ec78b326b528610260801c91612cca565b916fff973b41fa98c081472e6896dfb254c00260801c91612cc1565b916fffcb9843d60f6159c9db58835c9266440260801c91612cb8565b916fffe5caca7e10e4e61c3624eaa0941cd00260801c91612caf565b916ffff2e50f5f656932ef12357cf3c7fdcc0260801c91612ca6565b916ffff97272373d413259a46990580e213a0260801c91612c9d565b826345c3193d60e11b5f5260045260245ffd5b905f83600f0b125f14612fb257612fa8925f036001600160801b031691613f46565b5f81126121a55790565b612fc5926001600160801b031691613f0a565b5f81126121a5575f0390565b905f83600f0b125f14612ff357612fa8925f036001600160801b031691613fde565b612fc5926001600160801b031691613f72565b6001600160801b0316600f9190910b0190608082901c61302257565b6393dafdf15f526004601cfd5b9061303991612adb565b90156127bd576040815103612979576040015190565b613072906130648360801d8260801d0361259d565b92600f0b90600f0b0361259d565b60018060801b03169060801b1790565b73fffd8963efd1fc6a506488495d951d51639616826401000276a21982016001600160a01b0316116132a457693627a301d71055774c85602082901b600160201b600160c01b03168060ff6130d68261403c565b1691608083106132985750607e1982011c5b800280607f1c8160ff1c1c800280607f1c8160ff1c1c800280607f1c8160ff1c1c800280607f1c8160ff1c1c800280607f1c8160ff1c1c800280607f1c8160ff1c1c80029081607f1c8260ff1c1c80029283607f1c8460ff1c1c80029485607f1c8660ff1c1c80029687607f1c8860ff1c1c80029889607f1c8a60ff1c1c80029a8b607f1c8c60ff1c1c80029c8d80607f1c9060ff1c1c600160321b90800260cd1c169d600160331b9060cc1c169c600160341b9060cb1c169b600160351b9060ca1c169a600160361b9060c91c1699600160371b9060c81c1698600160381b9060c71c1697600160391b9060c61c16966001603a1b9060c51c16956001603b1b9060c41c16946001603c1b9060c31c16936001603d1b9060c21c16926001603e1b9060c11c16916001603f1b9060c01c1690607f190160401b1717171717171717171717171717026fdb2df09e81959a81455e260799a0632f6f028f6481ab7f045a5af012a19d003aa919820160801d60020b910160801d60020b918282145f146132745750905090565b6001600160a01b039081169061328984612c59565b1611613293575090565b905090565b905081607f031b6130e8565b6318521d4960e21b5f9081526001600160a01b0391909116600452602490fd5b6001600160a01b039081165f90815291166020526040902090565b81156132e9570490565b634e487b7160e01b5f52601260045260245ffd5b6040519290915f61330d85611f92565b5f855260208501925f845260408601955f875280968654956040860151159586155f14613cf457610fff8860b81c16945b81516001600160a01b038a1680875260a08b901c60020b90945260038b01546001600160801b031690945260808201515f94939062400000811615613ce55762bfffff1661338b8161250f565b61ffff8816613cca575b8096620f424062ffffff83161015613cb2575b845115613c9c57505088613c54576060830180519091906001600160a01b031681811015613c36575050516001600160a01b03166401000276a3811115613c2457505b604051986101008a016001600160401b0381118b82101761158d576040525f8a525f60208b01525f60408b01525f60608b01525f60808b01525f60a08b01525f60c08b015288155f14613c165760018b0154949390945b60e08b01525b80158015613bfb575b613b145760018060a01b038c51168a528a60208d015160020b602085015160020b90815f818307129105038b155f14613a2157600560ff8216938260020b60081d60010b5f520160205260405f205f198460ff031c9054169283151593845f14613a0f57906134c160ff9261403c565b90031660020b900360020b0260020b5b905b151560408c015260020b8060208c0152620d89e7191215613a00575b620d89e860208b015160020b12156139f2575b858c8b8b6001808060a01b0361351e602085015160020b612c59565b16806060850152818060a01b0385511692828060a01b0360608b0151169283911516818310189118021892604060018060801b03910151169060018060a01b038416811015915f87125f146138ca5762ffffff8616620f42400361358481895f03613d4b565b9584156138b957613596838583613f72565b965b87811061381557509660c093929188919062ffffff8216620f424003613801575050865b945b156137f357916135cd92613f46565b925b015260a08d015260808c01526001600160a01b03168c5282515f12156137c35760a08a0151905f82126121a557039261361160808b015160c08c015190612110565b5f81126121a55781039081136001166114d457935b61ffff871661377b575b60408c01516001600160801b031680613761575b508b5160608b01516001600160a01b0391821691168103613732575060408a015161369b575b8861368e575f1960208b015160020b0160020b5b60020b60208d01525b9392613448565b60208a015160020b61367e565b88613717578b6137028c8c600460e08201519260206002820154935b015160020b60020b5f520160205260405f2091600183019081549003905560028201908154900390555460801d8b1561370d575b6040909201516001600160801b0392908316613006565b1660408d015261366a565b5f03600f0b6136eb565b8b6137028c8c6004600183015492602060e0840151936136b7565b8a516001600160a01b0316810361374a575b50613687565b61375390613082565b60020b60208d01525f613744565b60c08b015160801b0460e08b01510160e08b01525f613644565b9662ffffff861661ffff8816036137a65760c08a0151905b8160c08c01510360c08c01520196613630565b620f424060808b015161ffff89169060c08d015101020490613793565b60808a015160c08b015101905f82126121a557019260a08a01515f81126121a5576137ed91612833565b93613626565b6137fc92613fde565b6135cd565b62ffffff6138109216896140be565b6135bc565b9750505093509150839280158315176138ac578e9260c091831561384a5761383e878284614141565b809789015f03946135be565b6001600160a01b03871161388e576138896138846138756001600160801b03841660608b901b6132df565b6001600160a01b038516612110565b6141c0565b61383e565b6138896138846138a76001600160801b0384168a613e00565b613875565b634f2461b85f526004601cfd5b6138c4838286613f0a565b96613598565b919450915083156139e1576138e0818385613f46565b925b83861061392c5780945b1561391d57916138fb92613f72565b905b8c60c061391762ffffff8c16620f424081900390866140be565b916135cf565b61392692613f0a565b906138fd565b5084925081158115176138ac5783156139d1576001600160a01b038511613999576001600160801b038116606086901b8181049190061515015b6001600160a01b038316908082111561398c5790036001600160a01b03165b80946138ec565b634323a5555f526004601cfd5b6001600160801b0381166139b281600160601b88613e8a565b9080156132e957600160601b8709156139665760010180613966575f80fd5b6139dc8582846140e7565b613985565b6139ec818484613fde565b926138e2565b620d89e860208b0152613502565b620d89e71960208b01526134ef565b5060020b900360020b0260020b6134d1565b6001018060020b9060058160ff16948360081d60010b5f520160205260405f2090600160ff5f1992161b0119905416801593841594855f14613afc576102d5578160ff925f03167e1f0d1e100c1d070f090b19131c1706010e11080a1a141802121b1503160405601f6101e07f804040554300526644320000502061067405302602000010750620017611707760fc7fb6db6db6ddddddddd34d34d349249249210842108c6318c639ce739cffffffff860260f81c161b60f71c1692831c63d76453e004161a17031660020b0160020b0260020b5b906134d3565b5060ff809250031660020b0160020b0260020b613af6565b949891955099969298919598602088015160a01b62ffffff60a01b1660018060a01b038951169160018060b81b0319161717825560018060801b0360038301541660018060801b03604089015116809103613bd3575b508215613bc45760e060029101519101555b825190155f821214613bae5750613b96613b9e929361259d565b92510361259d565b60018060801b03169060801b1793565b613b9e925090613bbe910361259d565b9161259d565b60e06001910151910155613b7c565b6003830180546001600160801b0319166001600160801b03929092169190911790555f613b6a565b508b5160608401516001600160a01b03908116911614613451565b60028b015494939094613442565b639e4d7cc760e01b5f5260045260245ffd5b6044925060405191637c9c6e8f60e01b835260048301526024820152fd5b6060830180519091906001600160a01b031681811115613c36575050516001600160a01b031673fffd8963efd1fc6a506488495d951d5263988d26811015613c2457506133eb565b9a509a50509950505050505050505f925f929190565b5f855113156133a857634b10312360e11b5f5260045ffd5b62ffffff610fff89169116620f424081830204910103613395565b508960d01c62ffffff1661338b565b610fff8860c41c169461333e565b81810291905f1982820991838084109303928084039384600160801b11156102d55714613d4257600160801b910990828211900360801b910360801c1790565b50505060801c90565b808202905f1983820990828083109203918083039283620f424011156102d55714613dab577fde8f6cefed634549b62c77574f722e1ac57e23f24d8fd5cb790fb65668c2613993620f4240910990828211900360fa1b910360061c170290565b5050620f424091500490565b81810291905f1982820991838084109303928084039384600160601b11156102d55714613df757600160601b910990828211900360a01b910360601c1790565b50505060601c90565b90606082901b905f19600160601b8409928280851094039380850394858411156102d55714613e83578190600160601b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b5091500490565b91818302915f19818509938380861095039480860395868511156102d55714613f02579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b6001600160a01b0391821691160360ff81901d90810118906001906001600160801b0316613f388382613db7565b928260601b91091515160190565b6124d5926001600160a01b03928316919092160360ff81901d90810118906001600160801b0316613db7565b6001600160a01b0382811690821611613fd8575b6001600160a01b038116928315613fcc57613fc0926001600160a01b0380821693909103169060601b600160601b600160e01b03166140be565b90808206151591040190565b62bfc9215f526004601cfd5b90613f86565b906001600160a01b0380821690831611614036575b6001600160a01b038216918215613fcc576124d593614031926001600160a01b0380821693909103169060601b600160601b600160e01b0316613e8a565b6132df565b90613ff3565b80156102d5577b01c1818141808140018080c0814100004181408140c0c100414140c160221b601f6f8421084210842108cc6318c6db6d54be6001600160801b03841160071b84811c6001600160401b031060061b1784811c63ffffffff1060051b1784811c61ffff1060041b1784811c60ff1060031b1793841c1c161a1790565b9291906140cc828286613e8a565b9382156132e957096140da57565b906001019081156102d557565b9190811561413c576001600160a01b03909216918183029160609190911b600160601b600160e01b03169082048314828211161561412f576124d592613884928203916140be565b63f5c787f15f526004601cfd5b505090565b9190811561413c5760601b600160601b600160e01b0316916001600160a01b0316908082028261417183836132df565b1461419e575b5061418561418a92846132df565b612110565b80820491061515016001600160a01b031690565b8301838110614177576001600160a01b03936141bc939192506140be565b1690565b6001600160a01b038116919082036121a55756fe27e098c505d44ec3574004bca052aabf76bd35004c182099d8c575fb238593b91b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac728859c090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab231e0745a7db1623981f0b2a5d4232364c00787266eb75ad546f190e6cebe9bd957d4b3164c6e45b97e7d87b7125a44c5828d005af88f9d751cfd78729c5d99a0ba164736f6c634300081a000a","opcodes":"PUSH1 0xA0 CALLVALUE PUSH1 0xA0 JUMPI PUSH1 0x1F PUSH2 0x433A CODESIZE DUP2 SWAP1 SUB SWAP2 DUP3 ADD PUSH1 0x1F NOT AND DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT DUP5 DUP5 LT OR PUSH1 0xA4 JUMPI DUP1 DUP5 SWAP3 PUSH1 0x20 SWAP5 PUSH1 0x40 MSTORE DUP4 CODECOPY DUP2 ADD SUB SLT PUSH1 0xA0 JUMPI MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH1 0xA0 JUMPI PUSH0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND DUP3 OR DUP2 SSTORE PUSH1 0x40 MLOAD SWAP2 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 DUP2 DUP1 LOG3 ADDRESS PUSH1 0x80 MSTORE PUSH2 0x4281 SWAP1 DUP2 PUSH2 0xB9 DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 PUSH2 0x23F8 ADD MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT INVALID PUSH1 0xA0 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x12 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH3 0xFDD58E EQ PUSH2 0x1EE2 JUMPI POP DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x1E8C JUMPI DUP1 PUSH4 0x95BCDB6 EQ PUSH2 0x1E0F JUMPI DUP1 PUSH4 0xB0D9C09 EQ PUSH2 0x1DB4 JUMPI DUP1 PUSH4 0x11DA60B4 EQ PUSH2 0x1D8A JUMPI DUP1 PUSH4 0x156E29F6 EQ PUSH2 0x1D05 JUMPI DUP1 PUSH4 0x1E2EAEAF EQ PUSH2 0x1CE9 JUMPI DUP1 PUSH4 0x234266D7 EQ PUSH2 0x1AF2 JUMPI DUP1 PUSH4 0x2D771389 EQ PUSH2 0x1A80 JUMPI DUP1 PUSH4 0x35FD631A EQ PUSH2 0x1A2A JUMPI DUP1 PUSH4 0x3DD45ADB EQ PUSH2 0x19F7 JUMPI DUP1 PUSH4 0x426A8493 EQ PUSH2 0x197D JUMPI DUP1 PUSH4 0x48C89491 EQ PUSH2 0x17E6 JUMPI DUP1 PUSH4 0x52759651 EQ PUSH2 0x1742 JUMPI DUP1 PUSH4 0x558A7297 EQ PUSH2 0x16B0 JUMPI DUP1 PUSH4 0x598AF9E7 EQ PUSH2 0x1656 JUMPI DUP1 PUSH4 0x5A6BCFDA EQ PUSH2 0xDA5 JUMPI DUP1 PUSH4 0x6276CBBE EQ PUSH2 0xAE7 JUMPI DUP1 PUSH4 0x7E87CE7D EQ PUSH2 0xA17 JUMPI DUP1 PUSH4 0x80F0B44C EQ PUSH2 0x9A8 JUMPI DUP1 PUSH4 0x8161B874 EQ PUSH2 0x8DB JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x8B4 JUMPI DUP1 PUSH4 0x97E8CD4E EQ PUSH2 0x87C JUMPI DUP1 PUSH4 0x9BF6645F EQ PUSH2 0x82F JUMPI DUP1 PUSH4 0xA5841194 EQ PUSH2 0x7C8 JUMPI DUP1 PUSH4 0xB6363CF2 EQ PUSH2 0x771 JUMPI DUP1 PUSH4 0xDBD035FF EQ PUSH2 0x71B JUMPI DUP1 PUSH4 0xF02DE3B2 EQ PUSH2 0x6F3 JUMPI DUP1 PUSH4 0xF135BAAA EQ PUSH2 0x6D7 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x663 JUMPI DUP1 PUSH4 0xF3CD914C EQ PUSH2 0x3FC JUMPI DUP1 PUSH4 0xF5298ACA EQ PUSH2 0x2D9 JUMPI PUSH4 0xFE99049A EQ PUSH2 0x186 JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x80 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x19F PUSH2 0x1F21 JUMP JUMPDEST PUSH2 0x1A7 PUSH2 0x1F37 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD SWAP2 PUSH1 0x64 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41F5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 PUSH2 0x239 SWAP1 CALLER DUP5 EQ ISZERO DUP1 PUSH2 0x2B2 JUMPI JUMPDEST PUSH2 0x247 JUMPI JUMPDEST DUP4 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP7 PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x1FE DUP7 DUP3 SLOAD PUSH2 0x2103 JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP4 DUP5 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP7 PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x22A DUP3 DUP3 SLOAD PUSH2 0x2110 JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 CALLER DUP4 PUSH2 0x211D JUMP JUMPDEST SUB SWAP1 LOG4 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST PUSH0 DUP5 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE DUP3 MSTORE DUP1 DUP4 KECCAK256 DUP10 DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP6 PUSH1 0x1 DUP3 ADD PUSH2 0x279 JUMPI JUMPDEST POP POP PUSH2 0x1DD JUMP JUMPDEST PUSH2 0x282 SWAP2 PUSH2 0x2103 JUMP JUMPDEST DUP5 PUSH0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP8 PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SSTORE PUSH0 DUP6 PUSH2 0x272 JUMP JUMPDEST POP PUSH0 DUP5 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x1D8 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x2E7 CALLDATASIZE PUSH2 0x1F4D JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41F5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x365 PUSH0 SWAP4 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP5 PUSH2 0x32B PUSH2 0x323 DUP6 PUSH2 0x2193 JUMP JUMPDEST CALLER SWAP1 DUP9 PUSH2 0x21B4 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP3 CALLER DUP5 EQ ISZERO DUP1 PUSH2 0x3CB JUMPI JUMPDEST PUSH2 0x36A JUMPI JUMPDEST DUP4 DUP6 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP6 KECCAK256 DUP7 DUP7 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP6 KECCAK256 PUSH2 0x22A DUP3 DUP3 SLOAD PUSH2 0x2103 JUMP JUMPDEST SUB SWAP1 LOG4 STOP JUMPDEST DUP4 DUP6 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP8 KECCAK256 CALLER DUP9 MSTORE DUP3 MSTORE DUP1 DUP8 KECCAK256 DUP9 DUP9 MSTORE SWAP1 SWAP2 MSTORE DUP6 KECCAK256 SLOAD DUP2 DUP7 NOT DUP3 SUB PUSH2 0x39B JUMPI JUMPDEST POP POP PUSH2 0x344 JUMP JUMPDEST PUSH2 0x3A4 SWAP2 PUSH2 0x2103 JUMP JUMPDEST DUP5 DUP7 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP9 KECCAK256 CALLER DUP10 MSTORE DUP3 MSTORE DUP1 DUP9 KECCAK256 DUP10 DUP10 MSTORE SWAP1 SWAP2 MSTORE DUP7 KECCAK256 SSTORE DUP7 DUP2 PUSH2 0x394 JUMP JUMPDEST POP DUP4 DUP6 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP8 KECCAK256 CALLER DUP9 MSTORE SWAP1 SWAP2 MSTORE DUP6 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x33F JUMP JUMPDEST PUSH4 0x54E3CA0D PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x120 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x417 CALLDATASIZE PUSH2 0x1FFD JUMP JUMPDEST PUSH1 0x60 CALLDATASIZE PUSH1 0xA3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x40 MLOAD SWAP1 PUSH2 0x430 DUP3 PUSH2 0x1F92 JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x2D5 JUMPI DUP3 MSTORE PUSH1 0xC4 CALLDATALOAD PUSH1 0x20 DUP4 ADD SWAP1 DUP2 MSTORE SWAP1 PUSH1 0xE4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x2D5 JUMPI PUSH1 0x40 DUP5 ADD SWAP2 DUP3 MSTORE PUSH2 0x104 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2D5 JUMPI PUSH2 0x484 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2084 JUMP JUMPDEST SWAP3 SWAP1 SWAP4 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH2 0x4A3 PUSH2 0x23F6 JUMP JUMPDEST MLOAD ISZERO PUSH2 0x654 JUMPI PUSH1 0xA0 DUP3 KECCAK256 SWAP3 DUP4 PUSH0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH2 0x4C4 DUP3 PUSH2 0x2437 JUMP JUMPDEST PUSH1 0x80 DUP5 ADD SWAP6 DUP5 DUP3 DUP3 DUP11 PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 SWAP1 SUB DUP12 MLOAD AND SWAP4 PUSH2 0x4E3 SWAP5 PUSH2 0x284E JUMP JUMPDEST SWAP1 SWAP5 SWAP2 SWAP6 PUSH1 0x60 DUP9 ADD MLOAD PUSH1 0x2 SIGNEXTEND SWAP1 DUP12 MLOAD ISZERO ISZERO SWAP1 PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 SWAP1 SUB SWAP1 MLOAD AND SWAP2 PUSH1 0x40 MLOAD SWAP9 PUSH2 0x50F DUP11 PUSH2 0x1FAD JUMP JUMPDEST DUP10 MSTORE PUSH1 0x20 DUP10 ADD MSTORE PUSH1 0x40 DUP9 ADD MSTORE PUSH1 0x60 DUP8 ADD MSTORE PUSH3 0xFFFFFF AND PUSH1 0x80 DUP7 ADD MSTORE DUP9 MLOAD ISZERO ISZERO PUSH0 EQ SWAP9 PUSH3 0xFFFFFF PUSH2 0x5FB SWAP9 PUSH2 0x558 PUSH2 0x5E8 SWAP9 PUSH1 0x20 SWAP14 PUSH2 0x641 JUMPI DUP11 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP6 PUSH2 0x32FD JUMP JUMPDEST SWAP5 SWAP3 SWAP7 DUP3 SWAP2 SWAP3 PUSH2 0x622 JUMPI JUMPDEST POP POP PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP5 MLOAD AND SWAP4 DUP15 PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB PUSH1 0x40 DUP4 ADD MLOAD AND SWAP2 ADD MLOAD PUSH1 0x2 SIGNEXTEND SWAP1 PUSH1 0x40 MLOAD SWAP6 DUP9 PUSH1 0x80 SAR PUSH1 0xF SIGNEXTEND DUP8 MSTORE DUP9 PUSH1 0xF SIGNEXTEND PUSH1 0x20 DUP9 ADD MSTORE PUSH1 0x40 DUP8 ADD MSTORE PUSH1 0x60 DUP7 ADD MSTORE PUSH1 0x80 DUP6 ADD MSTORE AND PUSH1 0xA0 DUP4 ADD MSTORE PUSH32 0x40E9CECB9F5F1F1C5B9C97DEC2917B7EE92E57BA5563708DACA94DD84AD7112F PUSH1 0xC0 CALLER SWAP4 LOG3 DUP9 MLOAD DUP8 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x29BA JUMP JUMPDEST DUP1 SWAP5 SWAP2 SWAP5 PUSH2 0x603 JUMPI JUMPDEST POP POP DUP3 CALLER SWAP2 PUSH2 0x24D8 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST SWAP1 MLOAD PUSH2 0x61B SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 DUP4 PUSH2 0x24D8 JUMP JUMPDEST DUP5 DUP1 PUSH2 0x5F1 JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x1 DUP16 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 DUP2 SLOAD ADD SWAP1 SSTORE DUP15 DUP1 PUSH2 0x563 JUMP JUMPDEST DUP11 DUP15 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP6 PUSH2 0x32FD JUMP JUMPDEST PUSH4 0xBE8B8507 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x67C PUSH2 0x1F21 JUMP JUMPDEST PUSH0 SLOAD SWAP1 PUSH2 0x693 CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EQ PUSH2 0x2138 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT SWAP2 SWAP1 SWAP2 AND DUP2 OR PUSH0 SWAP1 DUP2 SSTORE CALLER SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 DUP1 LOG3 STOP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x4 CALLDATALOAD TLOAD PUSH0 MSTORE PUSH1 0x20 PUSH0 RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x729 CALLDATASIZE PUSH2 0x20B1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 PUSH1 0x40 DUP4 PUSH1 0x20 DUP2 MSTORE DUP4 PUSH1 0x20 DUP3 ADD MSTORE ADD SWAP2 PUSH1 0x5 SHL DUP4 ADD SWAP2 PUSH1 0x20 DUP1 PUSH1 0x40 DUP6 ADD SWAP4 SWAP3 JUMPDEST DUP4 CALLDATALOAD SLOAD DUP2 MSTORE ADD SWAP2 ADD SWAP1 DUP5 DUP4 DUP3 LT ISZERO PUSH2 0x768 JUMPI POP PUSH1 0x20 DUP1 SWAP2 PUSH2 0x74C JUMP JUMPDEST PUSH1 0x40 DUP2 DUP7 SUB ADD SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x78A PUSH2 0x1F21 JUMP JUMPDEST PUSH2 0x792 PUSH2 0x1F37 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x7E1 PUSH2 0x1F21 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 PUSH2 0x805 JUMPI POP POP PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE STOP JUMPDEST PUSH2 0x80E SWAP1 PUSH2 0x27C2 JUMP JUMPDEST SWAP1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4235 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE STOP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x83D CALLDATASIZE PUSH2 0x20B1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 PUSH1 0x40 DUP4 PUSH1 0x20 DUP2 MSTORE DUP4 PUSH1 0x20 DUP3 ADD MSTORE ADD SWAP2 PUSH1 0x5 SHL DUP4 ADD SWAP2 PUSH1 0x20 DUP1 PUSH1 0x40 DUP6 ADD SWAP4 SWAP3 JUMPDEST DUP4 CALLDATALOAD TLOAD DUP2 MSTORE ADD SWAP2 ADD SWAP1 DUP5 DUP4 DUP3 LT ISZERO PUSH2 0x768 JUMPI POP PUSH1 0x20 DUP1 SWAP2 PUSH2 0x860 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x89D PUSH2 0x1F21 JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH0 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x8F4 PUSH2 0x1F21 JUMP JUMPDEST PUSH2 0x8FC PUSH2 0x1F37 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x44 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER SUB PUSH2 0x999 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP1 ISZERO ISZERO DUP1 PUSH2 0x979 JUMPI JUMPDEST PUSH2 0x96A JUMPI PUSH1 0x20 SWAP4 PUSH2 0x5FB SWAP3 DUP1 PUSH2 0x962 JUMPI POP DUP2 PUSH0 MSTORE PUSH1 0x1 DUP6 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SLOAD SWAP4 DUP5 SWAP3 JUMPDEST PUSH0 MSTORE PUSH1 0x1 DUP7 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x95B DUP5 DUP3 SLOAD PUSH2 0x2103 JUMP JUMPDEST SWAP1 SSTORE PUSH2 0x2230 JUMP JUMPDEST SWAP4 DUP5 SWAP3 PUSH2 0x946 JUMP JUMPDEST PUSH4 0x18F3CB29 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 EQ PUSH2 0x925 JUMP JUMPDEST PUSH4 0x48F5C3ED PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x9C1 PUSH2 0x1F21 JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH2 0x9DF DUP2 CALLER PUSH2 0x32C4 JUMP JUMPDEST TLOAD PUSH2 0x9EB PUSH1 0x24 CALLDATALOAD PUSH2 0x2193 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0xF SIGNEXTEND SUB PUSH2 0xA08 JUMPI PUSH2 0xA06 SWAP2 CALLER SWAP2 PUSH0 SUB PUSH1 0xF SIGNEXTEND SWAP1 PUSH2 0x21B4 JUMP JUMPDEST STOP JUMPDEST PUSH4 0xBDA73ABF PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0xC0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0xA31 CALLDATASIZE PUSH2 0x1FFD JUMP JUMPDEST PUSH2 0xA39 PUSH2 0x1FEB JUMP JUMPDEST PUSH1 0x2 SLOAD SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER SUB PUSH2 0x999 JUMPI PUSH3 0x3E9000 PUSH3 0xFFF000 DUP4 AND LT PUSH2 0x3E9 PUSH2 0xFFF DUP5 AND LT AND ISZERO PUSH2 0xACF JUMPI PUSH1 0x20 PUSH1 0xA0 PUSH32 0xE9C42593E71F84403B84352CD168D693E2C9FCD1FDBCC3FEB21D92B43E6696F9 SWAP3 KECCAK256 SWAP3 DUP4 PUSH0 MSTORE PUSH1 0x6 DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0xAA4 DUP2 PUSH2 0x2437 JUMP JUMPDEST DUP1 SLOAD PUSH3 0xFFFFFF PUSH1 0xB8 SHL NOT AND PUSH1 0xB8 DUP4 SWAP1 SHL PUSH3 0xFFFFFF PUSH1 0xB8 SHL AND OR SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH3 0xFFFFFF SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE LOG2 STOP JUMPDEST PUSH3 0xFFFFFF DUP3 PUSH4 0xA7ABE2F7 PUSH1 0xE0 SHL PUSH0 MSTORE AND PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0xC0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0xB01 CALLDATASIZE PUSH2 0x1FFD JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP1 DUP4 SUB PUSH2 0x2D5 JUMPI PUSH2 0xB1E PUSH2 0x23F6 JUMP JUMPDEST PUSH1 0x60 DUP3 ADD SWAP2 DUP3 MLOAD PUSH1 0x2 SIGNEXTEND PUSH2 0x7FFF DUP2 SGT PUSH2 0xD93 JUMPI POP DUP3 MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x1 DUP2 SLT PUSH2 0xD81 JUMPI POP DUP1 MLOAD PUSH1 0x20 DUP3 ADD DUP1 MLOAD SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP2 AND DUP1 DUP3 LT ISZERO PUSH2 0xD63 JUMPI POP POP PUSH1 0x80 DUP3 ADD SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP3 MLOAD AND SWAP1 PUSH1 0x40 DUP5 ADD SWAP2 PUSH2 0xB86 PUSH3 0xFFFFFF DUP5 MLOAD AND DUP3 PUSH2 0x26F4 JUMP JUMPDEST ISZERO PUSH2 0xD51 JUMPI POP PUSH2 0xB9B PUSH3 0xFFFFFF DUP4 MLOAD AND PUSH2 0x27A5 JUMP JUMPDEST DUP4 MLOAD SWAP1 SWAP8 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 CALLER DUP3 SWAP1 SUB PUSH2 0xCFE JUMPI JUMPDEST POP POP PUSH1 0xA0 DUP6 KECCAK256 PUSH0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xCEF JUMPI PUSH1 0x20 SWAP10 PUSH32 0xDD466E674EA557F56295E2D0218A125EA4B4F0F6F3307B95F85E6110838D6438 SWAP3 PUSH2 0xC0A PUSH1 0xA0 SWAP4 PUSH2 0x3082 JUMP JUMPDEST SWAP2 PUSH3 0xFFFFFF PUSH1 0xD0 SHL SWAP1 PUSH1 0xD0 SHL AND DUP11 PUSH3 0xFFFFFF DUP6 SHL DUP5 DUP7 SHL AND OR OR SWAP1 SSTORE PUSH3 0xFFFFFF PUSH1 0x1 DUP1 DUP5 SHL SUB DUP10 MLOAD AND SWAP6 PUSH1 0x1 DUP1 DUP6 SHL SUB SWAP1 MLOAD AND SWAP7 MLOAD AND SWAP10 MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x1 DUP1 DUP5 SHL SUB DUP9 MLOAD AND SWAP1 PUSH1 0x40 MLOAD SWAP12 DUP13 MSTORE DUP13 DUP13 ADD MSTORE PUSH1 0x40 DUP12 ADD MSTORE DUP9 PUSH1 0x60 DUP12 ADD MSTORE PUSH1 0x2 SIGNEXTEND SWAP9 DUP10 PUSH1 0x80 DUP3 ADD MSTORE LOG4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 CALLER DUP3 SWAP1 SUB PUSH2 0xC8E JUMPI JUMPDEST DUP6 DUP6 PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH2 0x1000 AND PUSH2 0xC9D JUMPI JUMPDEST DUP1 PUSH2 0xC84 JUMP JUMPDEST PUSH2 0xCE6 SWAP3 PUSH2 0xCC4 PUSH1 0x40 MLOAD SWAP4 PUSH4 0x6FE7E6EB PUSH1 0xE0 SHL DUP9 DUP7 ADD MSTORE CALLER PUSH1 0x24 DUP7 ADD MSTORE PUSH1 0x44 DUP6 ADD SWAP1 PUSH2 0x2457 JUMP JUMPDEST PUSH1 0xE4 DUP4 ADD MSTORE DUP4 PUSH2 0x104 DUP4 ADD MSTORE PUSH2 0x104 DUP3 MSTORE PUSH2 0xCE1 PUSH2 0x124 DUP4 PUSH2 0x1FC8 JUMP JUMPDEST PUSH2 0x2ADB JUMP JUMPDEST POP DUP3 DUP1 DUP1 PUSH2 0xC97 JUMP JUMPDEST PUSH4 0x7983C051 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0x2000 AND PUSH2 0xD0D JUMPI JUMPDEST DUP1 PUSH2 0xBB4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x6E4C1AA7 PUSH1 0xE1 SHL PUSH1 0x20 DUP3 ADD MSTORE CALLER PUSH1 0x24 DUP3 ADD MSTORE PUSH2 0xD4A SWAP2 PUSH2 0xD34 PUSH1 0x44 DUP4 ADD DUP10 PUSH2 0x2457 JUMP JUMPDEST DUP9 PUSH1 0xE4 DUP4 ADD MSTORE PUSH1 0xE4 DUP3 MSTORE PUSH2 0xCE1 PUSH2 0x104 DUP4 PUSH2 0x1FC8 JUMP JUMPDEST POP DUP9 PUSH2 0xD07 JUMP JUMPDEST PUSH4 0x732D7B5 PUSH1 0xE5 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x44 SWAP3 POP PUSH1 0x40 MLOAD SWAP2 PUSH4 0x6E6C983 PUSH1 0xE4 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD MSTORE REVERT JUMPDEST PUSH4 0x1D3D20B1 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH4 0x16E0049F PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x140 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0xDC0 CALLDATASIZE PUSH2 0x1FFD JUMP JUMPDEST PUSH1 0x80 CALLDATASIZE PUSH1 0xA3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x40 MLOAD SWAP1 PUSH2 0xDD9 DUP3 PUSH2 0x1F77 JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD DUP1 PUSH1 0x2 SIGNEXTEND DUP2 SUB PUSH2 0x2D5 JUMPI DUP3 MSTORE PUSH1 0xC4 CALLDATALOAD DUP1 PUSH1 0x2 SIGNEXTEND DUP2 SUB PUSH2 0x2D5 JUMPI PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0xE4 CALLDATALOAD PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x104 CALLDATALOAD PUSH1 0x60 DUP4 ADD MSTORE PUSH2 0x124 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2D5 JUMPI PUSH2 0xE2B SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2084 JUMP JUMPDEST SWAP1 SWAP3 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH2 0xE49 PUSH2 0x23F6 JUMP JUMPDEST PUSH1 0xA0 DUP4 KECCAK256 SWAP4 DUP5 PUSH0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x80 MSTORE PUSH2 0xE68 PUSH1 0x80 MLOAD PUSH2 0x2437 JUMP JUMPDEST PUSH1 0x80 DUP5 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 CALLER DUP3 SWAP1 SUB PUSH2 0x15A1 JUMPI JUMPDEST POP POP DUP2 MLOAD PUSH1 0x2 SIGNEXTEND SWAP3 PUSH1 0x20 DUP4 ADD MLOAD PUSH1 0x2 SIGNEXTEND SWAP2 PUSH2 0xE9F PUSH1 0x40 DUP6 ADD MLOAD PUSH2 0x259D JUMP JUMPDEST PUSH1 0x60 DUP8 DUP2 ADD MLOAD SWAP1 DUP7 ADD MLOAD PUSH1 0x40 MLOAD SWAP10 SWAP3 SWAP7 SWAP3 SWAP2 PUSH1 0x2 SIGNEXTEND PUSH1 0xC0 DUP12 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP13 DUP3 LT OR PUSH2 0x158D JUMPI PUSH1 0x40 MSTORE CALLER DUP12 MSTORE DUP9 PUSH1 0x20 DUP13 ADD MSTORE DUP7 PUSH1 0x40 DUP13 ADD MSTORE DUP8 PUSH1 0xF SIGNEXTEND PUSH1 0x60 DUP13 ADD MSTORE PUSH1 0x80 DUP12 ADD MSTORE PUSH1 0xA0 DUP11 ADD MSTORE PUSH0 SWAP2 DUP6 DUP9 SLT ISZERO PUSH2 0x156F JUMPI PUSH3 0xD89E7 NOT DUP9 SLT PUSH2 0x155C JUMPI PUSH3 0xD89E8 DUP7 SGT PUSH2 0x1549 JUMPI PUSH1 0x40 MLOAD SWAP3 PUSH2 0xF1B DUP5 PUSH2 0x1F77 JUMP JUMPDEST PUSH0 DUP5 MSTORE PUSH0 PUSH1 0x20 DUP6 ADD MSTORE PUSH0 PUSH1 0x40 DUP6 ADD MSTORE PUSH0 PUSH1 0x60 DUP6 ADD MSTORE DUP8 PUSH1 0xF SIGNEXTEND PUSH2 0x1312 JUMPI JUMPDEST PUSH1 0x4 PUSH1 0x80 MLOAD ADD SWAP8 DUP10 PUSH1 0x2 SIGNEXTEND PUSH0 MSTORE DUP9 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP9 DUP9 PUSH1 0x2 SIGNEXTEND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x80 MLOAD SLOAD PUSH1 0xA0 SHR PUSH1 0x2 SIGNEXTEND DUP12 DUP2 SLT PUSH0 EQ PUSH2 0x12BC JUMPI POP PUSH1 0x2 DUP1 PUSH1 0x1 DUP13 ADD SLOAD PUSH1 0x1 DUP5 ADD SLOAD SWAP1 SUB SWAP12 ADD SLOAD SWAP2 ADD SLOAD SWAP1 SUB SWAP12 JUMPDEST PUSH1 0xA0 PUSH1 0x1 DUP1 DUP3 SHL SUB DUP3 MLOAD AND SWAP2 ADD MLOAD SWAP1 PUSH1 0x40 MLOAD SWAP2 PUSH1 0x26 DUP4 ADD MSTORE DUP10 PUSH1 0x6 DUP4 ADD MSTORE DUP12 PUSH1 0x3 DUP4 ADD MSTORE DUP2 MSTORE PUSH0 PUSH1 0x3A PUSH1 0xC DUP4 ADD KECCAK256 SWAP2 DUP2 PUSH1 0x40 DUP3 ADD MSTORE DUP2 PUSH1 0x20 DUP3 ADD MSTORE MSTORE PUSH0 MSTORE PUSH1 0x6 PUSH1 0x80 MLOAD ADD PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP8 PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB DUP10 SLOAD AND SWAP10 DUP3 PUSH1 0xF SIGNEXTEND ISZERO PUSH0 EQ PUSH2 0x127D JUMPI DUP11 ISZERO PUSH2 0x126E JUMPI PUSH2 0x1035 PUSH2 0x102F PUSH1 0x40 SWAP16 SWAP12 PUSH2 0x10F4 SWAP13 PUSH2 0x1106 SWAP15 JUMPDEST PUSH1 0x1 DUP4 ADD SWAP6 PUSH2 0x1027 PUSH1 0x2 PUSH2 0x101B DUP5 DUP11 SLOAD DUP6 SUB PUSH2 0x3D02 JUMP JUMPDEST SWAP6 ADD SWAP3 DUP4 SLOAD DUP6 SUB PUSH2 0x3D02 JUMP JUMPDEST SWAP7 SSTORE SSTORE PUSH2 0x2193 JUMP JUMPDEST SWAP2 PUSH2 0x2193 JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR SWAP11 DUP12 SWAP7 PUSH0 DUP5 PUSH1 0xF SIGNEXTEND SLT PUSH2 0x1236 JUMPI JUMPDEST POP DUP3 PUSH1 0xF SIGNEXTEND PUSH2 0x1133 JUMPI JUMPDEST POP POP POP PUSH2 0x1080 PUSH2 0x1071 DUP6 PUSH1 0x80 SAR DUP4 PUSH1 0x80 SAR ADD PUSH2 0x259D JUMP JUMPDEST SWAP2 DUP6 PUSH1 0xF SIGNEXTEND SWAP1 PUSH1 0xF SIGNEXTEND ADD PUSH2 0x259D JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR SWAP2 DUP2 MLOAD PUSH1 0x2 SIGNEXTEND SWAP1 PUSH1 0x20 DUP4 ADD MLOAD PUSH1 0x2 SIGNEXTEND DUP13 DUP5 ADD MLOAD PUSH1 0x60 DUP6 ADD MLOAD SWAP2 DUP15 MLOAD SWAP5 DUP6 MSTORE PUSH1 0x20 DUP6 ADD MSTORE DUP14 DUP5 ADD MSTORE PUSH1 0x60 DUP4 ADD MSTORE PUSH32 0xF208F4912782FD25C7F114CA3723A2D5DD6F3BCC3AC8DB5AF63BAA85F711D5EC PUSH1 0x80 CALLER SWAP4 LOG3 PUSH1 0x80 DUP10 ADD MLOAD DUP10 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x25F6 JUMP JUMPDEST DUP1 SWAP5 SWAP2 SWAP5 PUSH2 0x1112 JUMPI JUMPDEST POP DUP4 CALLER SWAP2 PUSH2 0x24D8 JUMP JUMPDEST DUP3 MLOAD SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE RETURN JUMPDEST PUSH1 0x80 DUP3 ADD MLOAD PUSH2 0x112D SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 DUP4 PUSH2 0x24D8 JUMP JUMPDEST DUP6 PUSH2 0x10FD JUMP JUMPDEST PUSH1 0x80 MLOAD SLOAD SWAP3 SWAP4 POP SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 PUSH1 0xA0 SHR PUSH1 0x2 SIGNEXTEND DUP3 DUP2 SLT ISZERO PUSH2 0x118C JUMPI POP POP SWAP1 PUSH2 0x1180 SWAP3 PUSH2 0x1175 PUSH2 0x116B PUSH2 0x117B SWAP5 PUSH2 0x2C59 JUMP JUMPDEST SWAP2 PUSH1 0xF SIGNEXTEND SWAP3 PUSH2 0x2C59 JUMP JUMPDEST SWAP1 PUSH2 0x2FD1 JUMP JUMPDEST PUSH2 0x259D JUMP JUMPDEST PUSH1 0x80 SHL JUMPDEST DUP12 DUP1 DUP1 PUSH2 0x105A JUMP JUMPDEST SWAP3 DUP1 SWAP2 SWAP4 SLT PUSH0 EQ PUSH2 0x120C JUMPI PUSH2 0x11CB SWAP2 PUSH2 0x11B8 PUSH2 0x117B PUSH2 0x117B SWAP4 PUSH2 0x11B2 DUP9 PUSH1 0xF SIGNEXTEND SWAP2 PUSH2 0x2C59 JUMP JUMPDEST DUP8 PUSH2 0x2FD1 JUMP JUMPDEST SWAP4 PUSH2 0x11C6 DUP7 PUSH1 0xF SIGNEXTEND SWAP3 PUSH2 0x2C59 JUMP JUMPDEST PUSH2 0x2F86 JUMP JUMPDEST PUSH1 0x80 DUP1 MLOAD PUSH1 0x3 ADD DUP1 SLOAD SWAP4 SWAP1 SWAP2 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP3 DUP4 AND OR SWAP4 SWAP1 SWAP3 PUSH2 0x11F6 SWAP2 PUSH1 0xF SIGNEXTEND SWAP1 DUP4 AND PUSH2 0x3006 JUMP JUMPDEST DUP3 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB NOT AND SWAP2 AND OR SWAP1 SSTORE PUSH2 0x1184 JUMP JUMPDEST SWAP1 PUSH2 0x117B SWAP3 POP SWAP3 PUSH2 0x1222 PUSH2 0x116B PUSH2 0x1228 SWAP6 PUSH2 0x2C59 JUMP JUMPDEST SWAP1 PUSH2 0x2F86 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH2 0x1184 JUMP JUMPDEST DUP1 DUP16 SWAP2 MLOAD PUSH2 0x125D JUMPI JUMPDEST ADD MLOAD PUSH2 0x124C JUMPI JUMPDEST DUP15 PUSH2 0x1050 JUMP JUMPDEST PUSH2 0x1258 DUP3 PUSH1 0x80 MLOAD PUSH2 0x2C39 JUMP JUMPDEST PUSH2 0x1246 JUMP JUMPDEST PUSH2 0x1269 DUP4 PUSH1 0x80 MLOAD PUSH2 0x2C39 JUMP JUMPDEST PUSH2 0x123F JUMP JUMPDEST PUSH4 0x2BBFAE49 PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x40 SWAP14 PUSH2 0x1106 SWAP12 PUSH2 0x10F4 SWAP12 PUSH2 0x1035 SWAP3 PUSH2 0x102F SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB PUSH2 0x12A6 PUSH1 0xF DUP11 SWAP1 SIGNEXTEND DUP4 PUSH2 0x3006 JUMP JUMPDEST DUP5 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB NOT AND SWAP2 AND OR DUP4 SSTORE PUSH2 0x1004 JUMP JUMPDEST SWAP1 SWAP10 SWAP1 DUP10 SGT PUSH2 0x12E2 JUMPI PUSH1 0x2 DUP1 PUSH1 0x1 DUP13 ADD SLOAD PUSH1 0x1 DUP5 ADD SLOAD SWAP1 SUB SWAP12 ADD SLOAD SWAP2 ADD SLOAD SWAP1 SUB SWAP12 PUSH2 0xF89 JUMP JUMPDEST SWAP9 PUSH1 0x2 PUSH1 0x1 PUSH1 0x80 MLOAD ADD SLOAD PUSH1 0x1 DUP13 ADD SLOAD SWAP1 SUB PUSH1 0x1 DUP4 ADD SLOAD SWAP1 SUB SWAP11 DUP2 DUP1 PUSH1 0x80 MLOAD ADD SLOAD SWAP2 ADD SLOAD SWAP1 SUB SWAP2 ADD SLOAD SWAP1 SUB SWAP12 PUSH2 0xF89 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x80 MLOAD ADD DUP10 PUSH1 0x2 SIGNEXTEND PUSH0 MSTORE DUP1 PUSH1 0x20 MSTORE DUP10 DUP10 PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x136A DUP2 SLOAD PUSH2 0x1343 PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB DUP3 AND SWAP5 PUSH1 0xF SIGNEXTEND DUP6 PUSH2 0x3006 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND DUP1 ISZERO SWAP5 ISZERO SWAP5 DUP6 EQ ISZERO SWAP6 SWAP1 SWAP5 PUSH2 0x1515 JUMPI JUMPDEST POP DUP14 PUSH1 0xF SIGNEXTEND SWAP1 PUSH1 0x80 SAR PUSH2 0x2995 JUMP JUMPDEST PUSH1 0x80 SHL DUP3 OR SWAP1 SSTORE PUSH1 0x20 DUP8 ADD MSTORE DUP6 MSTORE DUP8 PUSH1 0x2 SIGNEXTEND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP1 SLOAD SWAP1 PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB DUP3 AND SWAP1 PUSH2 0x139F DUP12 PUSH1 0xF SIGNEXTEND DUP4 PUSH2 0x3006 JUMP JUMPDEST SWAP2 ISZERO PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP4 AND ISZERO DUP2 EQ ISZERO SWAP4 SWAP1 PUSH2 0x14E8 JUMPI JUMPDEST PUSH1 0xF DUP13 DUP2 SIGNEXTEND PUSH1 0x80 SWAP3 SWAP1 SWAP3 SAR SWAP1 SIGNEXTEND SUB PUSH1 0x1 PUSH1 0x1 PUSH1 0x7F SHL SUB NOT DUP2 SLT PUSH1 0x1 PUSH1 0x1 PUSH1 0x7F SHL SUB DUP3 SGT OR PUSH2 0x14D4 JUMPI PUSH1 0x80 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 DUP3 OR SWAP1 SSTORE PUSH1 0x60 DUP7 ADD MSTORE PUSH1 0x40 DUP6 ADD MSTORE PUSH0 PUSH1 0xF DUP10 SWAP1 SIGNEXTEND SLT ISZERO PUSH2 0x1452 JUMPI JUMPDEST DUP4 MLOAD PUSH2 0x1436 JUMPI JUMPDEST PUSH1 0x40 DUP5 ADD MLOAD ISZERO PUSH2 0xF39 JUMPI PUSH2 0x1431 PUSH1 0x80 DUP13 ADD MLOAD PUSH1 0x2 SIGNEXTEND DUP9 PUSH1 0x5 PUSH1 0x80 MLOAD ADD PUSH2 0x2BED JUMP JUMPDEST PUSH2 0xF39 JUMP JUMPDEST PUSH2 0x144D PUSH1 0x80 DUP13 ADD MLOAD PUSH1 0x2 SIGNEXTEND DUP11 PUSH1 0x5 PUSH1 0x80 MLOAD ADD PUSH2 0x2BED JUMP JUMPDEST PUSH2 0x1410 JUMP JUMPDEST PUSH1 0x80 DUP12 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB PUSH1 0x20 DUP7 ADD MLOAD AND SWAP1 PUSH1 0x1 DUP1 DUP1 PUSH1 0x80 SHL SUB SWAP2 PUSH0 DUP2 PUSH3 0xD89E7 NOT SMOD SLT DUP2 PUSH3 0xD89E7 NOT SDIV SUB SWAP1 PUSH3 0xD89E8 SDIV SUB ADD PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB DIV AND DUP1 SWAP2 GT PUSH2 0x14C1 JUMPI PUSH1 0x60 DUP6 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND GT ISZERO PUSH2 0x1409 JUMPI DUP7 PUSH4 0xB8E3C385 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST DUP10 PUSH4 0xB8E3C385 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x80 MLOAD SLOAD PUSH1 0xA0 SHR PUSH1 0x2 SIGNEXTEND DUP12 SGT PUSH2 0x13B6 JUMPI PUSH1 0x1 PUSH1 0x80 MLOAD ADD SLOAD PUSH1 0x1 DUP4 ADD SSTORE PUSH1 0x2 PUSH1 0x80 MLOAD ADD SLOAD PUSH1 0x2 DUP4 ADD SSTORE PUSH2 0x13B6 JUMP JUMPDEST PUSH1 0x80 MLOAD SLOAD PUSH1 0xA0 SHR PUSH1 0x2 SIGNEXTEND SLT ISZERO PUSH2 0x152C JUMPI JUMPDEST DUP15 PUSH2 0x135C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x80 MLOAD ADD SLOAD PUSH1 0x1 DUP5 ADD SSTORE PUSH1 0x2 PUSH1 0x80 MLOAD ADD SLOAD PUSH1 0x2 DUP5 ADD SSTORE PUSH2 0x1526 JUMP JUMPDEST DUP6 PUSH4 0x35AEEFF PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST DUP8 PUSH4 0xD5E2F7AB PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x44 DUP9 DUP8 PUSH1 0x40 MLOAD SWAP2 PUSH4 0xC4433ED5 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD MSTORE REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH1 0x40 DUP6 ADD MLOAD SGT DUP1 DUP1 SWAP2 PUSH2 0x1649 JUMPI JUMPDEST ISZERO PUSH2 0x15F7 JUMPI POP POP PUSH1 0x40 MLOAD PUSH4 0x259982E5 PUSH1 0xE0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH2 0x15EE SWAP2 PUSH2 0xCE1 DUP3 PUSH2 0x15E0 DUP9 DUP8 DUP10 DUP13 CALLER PUSH1 0x24 DUP8 ADD PUSH2 0x255C JUMP JUMPDEST SUB PUSH1 0x1F NOT DUP2 ADD DUP5 MSTORE DUP4 PUSH2 0x1FC8 JUMP JUMPDEST POP JUMPDEST DUP6 DUP1 PUSH2 0xE81 JUMP JUMPDEST ISZERO SWAP1 DUP2 PUSH2 0x163B JUMPI JUMPDEST POP PUSH2 0x160B JUMPI JUMPDEST POP PUSH2 0x15F0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x21D0EE7 PUSH1 0xE4 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH2 0x1634 SWAP2 PUSH2 0xCE1 DUP3 PUSH2 0x15E0 DUP9 DUP8 DUP10 DUP13 CALLER PUSH1 0x24 DUP8 ADD PUSH2 0x255C JUMP JUMPDEST POP DUP6 PUSH2 0x1605 JUMP JUMPDEST PUSH2 0x200 SWAP2 POP AND ISZERO ISZERO DUP8 PUSH2 0x15FF JUMP JUMPDEST POP PUSH2 0x800 DUP3 AND ISZERO ISZERO PUSH2 0x15B0 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x166F PUSH2 0x1F21 JUMP JUMPDEST PUSH2 0x1677 PUSH2 0x1F37 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 SWAP1 SWAP4 AND DUP3 MSTORE SWAP3 DUP4 MSTORE DUP2 DUP2 KECCAK256 PUSH1 0x44 CALLDATALOAD DUP3 MSTORE DUP4 MSTORE DUP2 SWAP1 KECCAK256 SLOAD SWAP1 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x16C9 PUSH2 0x1F21 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 DUP2 ISZERO ISZERO DUP1 SWAP3 SUB PUSH2 0x2D5 JUMPI CALLER PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0xFF NOT DUP2 SLOAD AND PUSH1 0xFF DUP5 AND OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP2 DUP3 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH32 0xCEB576D9F15E4E200FDB5096D64D5DFD667E16DEF20C1EEFD14256D8E3FAA267 PUSH1 0x20 CALLER SWAP3 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0xC0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x175C CALLDATASIZE PUSH2 0x1FFD JUMP JUMPDEST PUSH2 0x1764 PUSH2 0x1FEB JUMP JUMPDEST SWAP1 PUSH3 0x800000 PUSH3 0xFFFFFF PUSH1 0x40 DUP4 ADD MLOAD AND EQ DUP1 ISZERO SWAP1 PUSH2 0x17CF JUMPI JUMPDEST PUSH2 0x17C0 JUMPI PUSH1 0xA0 SWAP1 PUSH2 0x178C DUP4 PUSH2 0x250F JUMP JUMPDEST KECCAK256 PUSH0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH2 0x17A2 DUP3 PUSH2 0x2437 JUMP JUMPDEST DUP2 SLOAD PUSH3 0xFFFFFF PUSH1 0xD0 SHL NOT AND PUSH1 0xD0 SWAP2 SWAP1 SWAP2 SHL PUSH3 0xFFFFFF PUSH1 0xD0 SHL AND OR SWAP1 SSTORE STOP JUMPDEST PUSH4 0x30D21641 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP PUSH1 0x80 DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ ISZERO PUSH2 0x177C JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2D5 JUMPI PUSH2 0x1816 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2084 JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x196E JUMPI PUSH2 0x1863 SWAP2 PUSH0 SWAP2 PUSH1 0x1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH1 0x40 MLOAD PUSH4 0x48EEB9A3 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE SWAP4 DUP5 SWAP3 DUP4 SWAP3 PUSH1 0x24 DUP5 ADD SWAP2 PUSH2 0x2173 JUMP JUMPDEST SUB DUP2 DUP4 CALLER GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x1963 JUMPI PUSH0 SWAP2 PUSH2 0x18DB JUMPI JUMPDEST POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4255 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x18CC JUMPI PUSH1 0x40 PUSH1 0x20 SWAP2 PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE DUP2 MLOAD SWAP3 DUP4 SWAP2 DUP2 DUP4 MSTORE DUP1 MLOAD SWAP2 DUP3 SWAP2 DUP3 DUP3 DUP7 ADD MSTORE ADD DUP5 DUP5 ADD MCOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND DUP2 ADD SUB ADD SWAP1 RETURN JUMPDEST PUSH4 0x5212CBA1 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 POP RETURNDATASIZE DUP1 PUSH0 DUP4 RETURNDATACOPY PUSH2 0x18EC DUP2 DUP4 PUSH2 0x1FC8 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH1 0x20 DUP2 DUP4 SUB SLT PUSH2 0x2D5 JUMPI DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x2D5 JUMPI ADD DUP2 PUSH1 0x1F DUP3 ADD SLT ISZERO PUSH2 0x2D5 JUMPI DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x158D JUMPI PUSH1 0x40 MLOAD SWAP3 PUSH2 0x193F PUSH1 0x1F DUP5 ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP6 PUSH2 0x1FC8 JUMP JUMPDEST DUP3 DUP5 MSTORE PUSH1 0x20 DUP4 DUP4 ADD ADD GT PUSH2 0x2D5 JUMPI DUP2 PUSH0 SWAP3 PUSH1 0x20 DUP1 SWAP4 ADD DUP4 DUP7 ADD MCOPY DUP4 ADD ADD MSTORE DUP2 PUSH2 0x1877 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH4 0x28486B63 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x198B CALLDATASIZE PUSH2 0x1F4D JUMP JUMPDEST SWAP1 SWAP2 CALLER PUSH0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP4 PUSH0 MSTORE PUSH1 0x20 MSTORE DUP2 PUSH1 0x40 PUSH0 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP2 DUP3 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH32 0xB3FD5071835887567A0671151121894DDCCC2842F1D10BEDAD13E0D17CACE9A7 PUSH1 0x20 CALLER SWAP3 LOG4 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x1A0B PUSH2 0x1F21 JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH2 0x5FB PUSH1 0x20 SWAP2 PUSH2 0x2373 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x24 CALLDATALOAD PUSH1 0x4 CALLDATALOAD PUSH1 0x40 MLOAD SWAP2 PUSH1 0x40 DUP4 PUSH1 0x20 DUP2 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MSTORE ADD SWAP1 PUSH1 0x5 SHL DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x20 PUSH1 0x40 DUP6 ADD SWAP4 JUMPDEST DUP4 SLOAD DUP2 MSTORE ADD SWAP2 ADD SWAP1 DUP5 DUP4 DUP3 LT ISZERO PUSH2 0x768 JUMPI POP PUSH1 0x20 PUSH1 0x1 SWAP2 PUSH2 0x1A64 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x1A99 PUSH2 0x1F21 JUMP JUMPDEST PUSH2 0x1AAD PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH0 SLOAD AND CALLER EQ PUSH2 0x2138 JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 DUP3 OR SWAP1 SSTORE PUSH32 0xB4BD8EF53DF690B9943D3318996006DBB82A25F54719D8C8035B516A2A5B8ACC PUSH0 DUP1 LOG2 STOP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x100 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x1B0D CALLDATASIZE PUSH2 0x1FFD JUMP JUMPDEST PUSH1 0xC4 CALLDATALOAD SWAP1 PUSH1 0xA4 CALLDATALOAD PUSH1 0xE4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2D5 JUMPI PUSH2 0x1B33 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2084 JUMP JUMPDEST SWAP2 SWAP1 SWAP4 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH2 0x1B52 PUSH2 0x23F6 JUMP JUMPDEST PUSH1 0xA0 DUP5 KECCAK256 SWAP5 DUP6 PUSH0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP5 PUSH2 0x1B6D DUP7 PUSH2 0x2437 JUMP JUMPDEST PUSH1 0x80 DUP2 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 CALLER DUP3 SWAP1 SUB PUSH2 0x1CAA JUMPI JUMPDEST POP POP PUSH1 0x3 DUP8 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP8 DUP9 ISZERO PUSH2 0x1C9B JUMPI PUSH1 0x20 SWAP9 PUSH2 0x1BAA DUP8 PUSH2 0x2193 JUMP JUMPDEST PUSH0 SUB PUSH2 0x1BB5 DUP8 PUSH2 0x2193 JUMP JUMPDEST PUSH0 SUB PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR SWAP9 DUP8 PUSH2 0x1C87 JUMPI JUMPDEST DUP7 PUSH2 0x1C72 JUMPI JUMPDEST POP POP PUSH2 0x1BDE CALLER DUP10 DUP6 PUSH2 0x24D8 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP7 DUP3 MSTORE DUP6 DUP11 DUP4 ADD MSTORE PUSH32 0x29EF05CAAFF9404B7CB6D1C0E9BBAE9EAA7AB2541FEBA1A9C4248594C08156CB PUSH1 0x40 CALLER SWAP4 LOG3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP4 SWAP1 CALLER DUP6 SWAP1 SUB PUSH2 0x1C30 JUMPI JUMPDEST DUP9 DUP9 PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x10 AND PUSH2 0x1C3E JUMPI JUMPDEST DUP1 PUSH2 0x1C26 JUMP JUMPDEST PUSH2 0x1C66 SWAP6 PUSH2 0xCE1 SWAP4 PUSH2 0x15E0 SWAP3 PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP6 PUSH4 0xE1B4AF69 PUSH1 0xE0 SHL DUP14 DUP9 ADD MSTORE CALLER PUSH1 0x24 DUP9 ADD PUSH2 0x249A JUMP JUMPDEST POP DUP3 DUP1 DUP1 DUP1 DUP1 DUP1 PUSH2 0x1C38 JUMP JUMPDEST PUSH1 0x2 ADD SWAP1 DUP7 PUSH1 0x80 SHL DIV DUP2 SLOAD ADD SWAP1 SSTORE DUP10 DUP1 PUSH2 0x1BD1 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD DUP3 DUP10 PUSH1 0x80 SHL DIV DUP2 SLOAD ADD SWAP1 SSTORE PUSH2 0x1BCB JUMP JUMPDEST PUSH4 0xA74F97AB PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x20 AND PUSH2 0x1CB8 JUMPI JUMPDEST DUP1 PUSH2 0x1B87 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x5B54587D PUSH1 0xE1 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH2 0x1CE2 SWAP2 PUSH2 0xCE1 DUP3 PUSH2 0x15E0 DUP12 DUP10 DUP12 DUP14 DUP12 CALLER PUSH1 0x24 DUP9 ADD PUSH2 0x249A JUMP JUMPDEST POP DUP9 PUSH2 0x1CB2 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x4 CALLDATALOAD SLOAD PUSH0 MSTORE PUSH1 0x20 PUSH0 RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x1D13 CALLDATASIZE PUSH2 0x1F4D JUMP JUMPDEST SWAP1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 PUSH0 SWAP1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41F5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 PUSH2 0x365 SWAP1 PUSH2 0x1D60 PUSH2 0x1D53 DUP7 PUSH2 0x2193 JUMP JUMPDEST DUP6 SUB PUSH1 0xF SIGNEXTEND CALLER SWAP1 DUP9 PUSH2 0x21B4 JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP4 DUP5 DUP5 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP5 KECCAK256 DUP7 DUP6 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP5 KECCAK256 PUSH2 0x22A DUP3 DUP3 SLOAD PUSH2 0x2110 JUMP JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH1 0x20 PUSH2 0x5FB CALLER PUSH2 0x2373 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x1DCD PUSH2 0x1F21 JUMP JUMPDEST PUSH2 0x1DD5 PUSH2 0x1F37 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD SWAP1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH2 0xA06 SWAP3 PUSH2 0x1E0A PUSH2 0x1DFD DUP5 PUSH2 0x2193 JUMP JUMPDEST PUSH0 SUB PUSH1 0xF SIGNEXTEND CALLER SWAP1 DUP4 PUSH2 0x21B4 JUMP JUMPDEST PUSH2 0x2230 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x1E1D CALLDATASIZE PUSH2 0x1F4D JUMP JUMPDEST SWAP1 SWAP2 CALLER PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP4 PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x1E40 DUP4 DUP3 SLOAD PUSH2 0x2103 JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP4 PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x1E6C DUP3 DUP3 SLOAD PUSH2 0x2110 JUMP JUMPDEST SWAP1 SSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41F5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x40 MLOAD DUP1 PUSH2 0x239 CALLER SWAP5 CALLER DUP4 PUSH2 0x211D JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x4 CALLDATALOAD PUSH4 0xFFFFFFFF PUSH1 0xE0 SHL DUP2 AND DUP1 SWAP2 SUB PUSH2 0x2D5 JUMPI PUSH1 0x20 SWAP1 PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL DUP2 EQ SWAP1 DUP2 ISZERO PUSH2 0x1ED1 JUMPI JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST PUSH4 0xF632FB3 PUSH1 0xE0 SHL EQ SWAP1 POP DUP3 PUSH2 0x1EC6 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x20 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1F06 PUSH2 0x1F21 JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x4 DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x24 CALLDATALOAD PUSH0 MSTORE DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SLOAD DUP2 MSTORE RETURN JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x2D5 JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x2D5 JUMPI JUMP JUMPDEST PUSH1 0x60 SWAP1 PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x2D5 JUMPI SWAP1 PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x44 CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x80 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x158D JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0x60 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x158D JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0xA0 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x158D JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x158D JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD SWAP1 PUSH3 0xFFFFFF DUP3 AND DUP3 SUB PUSH2 0x2D5 JUMPI JUMP JUMPDEST PUSH1 0xA0 SWAP1 PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x40 MLOAD SWAP1 PUSH2 0x2016 DUP3 PUSH2 0x1FAD JUMP JUMPDEST DUP2 PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x2D5 JUMPI DUP2 MSTORE PUSH1 0x24 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x2D5 JUMPI PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x44 CALLDATALOAD PUSH3 0xFFFFFF DUP2 AND DUP2 SUB PUSH2 0x2D5 JUMPI PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x64 CALLDATALOAD DUP1 PUSH1 0x2 SIGNEXTEND DUP2 SUB PUSH2 0x2D5 JUMPI PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x84 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x2D5 JUMPI PUSH1 0x80 ADD MSTORE JUMP JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x2D5 JUMPI DUP3 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x2D5 JUMPI PUSH1 0x20 DUP4 DUP2 DUP7 ADD SWAP6 ADD ADD GT PUSH2 0x2D5 JUMPI JUMP JUMPDEST SWAP1 PUSH1 0x20 PUSH1 0x3 NOT DUP4 ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2D5 JUMPI DUP3 PUSH1 0x23 DUP3 ADD SLT ISZERO PUSH2 0x2D5 JUMPI PUSH1 0x4 DUP2 ADD CALLDATALOAD SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP5 GT PUSH2 0x2D5 JUMPI PUSH1 0x24 DUP5 PUSH1 0x5 SHL DUP4 ADD ADD GT PUSH2 0x2D5 JUMPI PUSH1 0x24 ADD SWAP2 SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP3 SUB SWAP2 DUP3 GT PUSH2 0x14D4 JUMPI JUMP JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x14D4 JUMPI JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST ISZERO PUSH2 0x213F JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xC PUSH1 0x24 DUP3 ADD MSTORE PUSH12 0x15539055551213D492569151 PUSH1 0xA2 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP1 DUP1 PUSH1 0x20 SWAP4 SWAP3 DUP2 DUP5 MSTORE DUP5 DUP5 ADD CALLDATACOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x7F SHL DUP2 LT ISZERO PUSH2 0x21A5 JUMPI PUSH1 0xF SIGNEXTEND SWAP1 JUMP JUMPDEST PUSH4 0x93DAFDF1 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP2 SWAP1 PUSH1 0xF SIGNEXTEND SWAP2 DUP3 ISZERO PUSH2 0x222B JUMPI PUSH2 0x21C9 SWAP2 PUSH2 0x32C4 JUMP JUMPDEST PUSH2 0x21D5 DUP2 TLOAD SWAP3 DUP4 PUSH2 0x2833 JUMP JUMPDEST DUP1 SWAP2 TSTORE PUSH2 0x2201 JUMPI POP PUSH0 NOT PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4255 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ADD PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4255 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE JUMPDEST JUMP JUMPDEST ISZERO PUSH2 0x2208 JUMPI JUMP JUMPDEST PUSH1 0x1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4255 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ADD PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4255 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE JUMP JUMPDEST POP POP POP JUMP JUMPDEST SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 PUSH2 0x22BE JUMPI POP POP PUSH0 DUP1 DUP1 DUP1 SWAP4 DUP6 GAS CALL ISZERO PUSH2 0x2255 JUMPI POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH0 PUSH1 0x24 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x80 PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0xA0 RETURNDATASIZE PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 DUP2 ADD PUSH1 0x64 DUP5 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP5 ADD MSTORE SWAP1 RETURNDATASIZE SWAP1 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0x3D2CEC6F PUSH1 0xE2 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH1 0x20 PUSH0 PUSH1 0x44 DUP2 SWAP5 SWAP7 DUP3 PUSH1 0x40 SWAP6 DUP7 MLOAD SWAP9 DUP10 SWAP4 PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP6 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x4 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD MSTORE GAS CALL RETURNDATASIZE ISZERO PUSH1 0x1F RETURNDATASIZE GT PUSH1 0x1 DUP6 MLOAD EQ AND OR AND SWAP3 DUP3 DUP2 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MSTORE ADD MSTORE ISZERO PUSH2 0x230F JUMPI POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH4 0xA9059CBB PUSH1 0xE0 SHL PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x80 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x1F RETURNDATASIZE ADD PUSH1 0x1F NOT AND PUSH1 0xA0 DUP2 ADD PUSH1 0x64 DUP4 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP4 ADD MSTORE RETURNDATASIZE PUSH0 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0x3C9FD939 PUSH1 0xE2 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x23A8 JUMPI PUSH2 0x21FF SWAP1 CALLVALUE SWAP4 JUMPDEST PUSH2 0x23A2 DUP6 PUSH2 0x2193 JUMP JUMPDEST SWAP1 PUSH2 0x21B4 JUMP JUMPDEST CALLVALUE PUSH2 0x23E7 JUMPI PUSH2 0x21FF SWAP1 PUSH2 0x23D1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4235 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x23CC DUP7 PUSH2 0x27C2 JUMP JUMPDEST PUSH2 0x2103 JUMP JUMPDEST SWAP4 PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH2 0x2399 JUMP JUMPDEST PUSH4 0x5876424F PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ADDRESS SUB PUSH2 0x2428 JUMPI JUMP JUMPDEST PUSH4 0x6C4A1C7 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x2448 JUMPI JUMP JUMPDEST PUSH4 0x486AA307 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP4 MSTORE PUSH1 0x20 DUP1 DUP4 ADD MLOAD DUP3 AND SWAP1 DUP5 ADD MSTORE PUSH1 0x40 DUP1 DUP4 ADD MLOAD PUSH3 0xFFFFFF AND SWAP1 DUP5 ADD MSTORE PUSH1 0x60 DUP1 DUP4 ADD MLOAD PUSH1 0x2 SIGNEXTEND SWAP1 DUP5 ADD MSTORE PUSH1 0x80 SWAP2 DUP3 ADD MLOAD AND SWAP2 ADD MSTORE JUMP JUMPDEST SWAP2 SWAP3 PUSH2 0x24BD PUSH2 0x120 SWAP5 PUSH2 0x24D5 SWAP9 SWAP7 SWAP4 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND DUP6 MSTORE PUSH1 0x20 DUP6 ADD SWAP1 PUSH2 0x2457 JUMP JUMPDEST PUSH1 0xC0 DUP4 ADD MSTORE PUSH1 0xE0 DUP3 ADD MSTORE DUP2 PUSH2 0x100 DUP3 ADD MSTORE ADD SWAP2 PUSH2 0x2173 JUMP JUMPDEST SWAP1 JUMP JUMPDEST SWAP1 PUSH2 0x21FF SWAP3 SWAP2 PUSH2 0x24F6 DUP4 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP4 MLOAD AND DUP5 PUSH1 0x80 SAR SWAP1 PUSH2 0x21B4 JUMP JUMPDEST PUSH1 0x20 ADD MLOAD PUSH1 0xF SWAP2 SWAP1 SWAP2 SIGNEXTEND SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x21B4 JUMP JUMPDEST PUSH3 0xFFFFFF AND PUSH3 0xF4240 DUP2 GT PUSH2 0x2521 JUMPI POP JUMP JUMPDEST PUSH4 0x14002113 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x60 DUP1 SWAP2 DUP1 MLOAD PUSH1 0x2 SIGNEXTEND DUP5 MSTORE PUSH1 0x20 DUP2 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP2 ADD MLOAD PUSH1 0x40 DUP6 ADD MSTORE ADD MLOAD SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH2 0x24D5 SWAP5 SWAP3 PUSH2 0x160 SWAP3 PUSH2 0x258F SWAP2 SWAP1 PUSH2 0x2585 SWAP1 PUSH1 0x20 DUP6 ADD SWAP1 PUSH2 0x2457 JUMP JUMPDEST PUSH1 0xC0 DUP4 ADD SWAP1 PUSH2 0x2533 JUMP JUMPDEST DUP2 PUSH2 0x140 DUP3 ADD MSTORE ADD SWAP2 PUSH2 0x2173 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0xF SIGNEXTEND SWAP2 DUP3 SUB PUSH2 0x21A5 JUMPI JUMP JUMPDEST SWAP3 PUSH2 0x25DC SWAP1 PUSH2 0x25D2 PUSH2 0x24D5 SWAP10 SWAP8 SWAP5 PUSH2 0x1A0 SWAP8 SWAP5 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND DUP8 MSTORE PUSH1 0x20 DUP8 ADD SWAP1 PUSH2 0x2457 JUMP JUMPDEST PUSH1 0xC0 DUP6 ADD SWAP1 PUSH2 0x2533 JUMP JUMPDEST PUSH2 0x140 DUP4 ADD MSTORE PUSH2 0x160 DUP3 ADD MSTORE DUP2 PUSH2 0x180 DUP3 ADD MSTORE ADD SWAP2 PUSH2 0x2173 JUMP JUMPDEST SWAP4 SWAP6 SWAP1 SWAP2 SWAP3 SWAP7 SWAP5 PUSH0 SWAP7 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP7 AND CALLER EQ PUSH2 0x26E9 JUMPI DUP9 PUSH0 PUSH1 0x40 DUP8 ADD MLOAD SGT PUSH0 EQ PUSH2 0x2691 JUMPI PUSH2 0x400 DUP8 AND PUSH2 0x262F JUMPI JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x2684 SWAP8 SWAP10 SWAP9 POP SWAP3 PUSH2 0x267D SWAP7 SWAP6 SWAP5 SWAP3 PUSH2 0x2663 SWAP3 PUSH2 0x2671 SWAP6 PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP7 PUSH4 0x27C18FBF PUSH1 0xE2 SHL PUSH1 0x20 DUP10 ADD MSTORE CALLER PUSH1 0x24 DUP10 ADD PUSH2 0x25AB JUMP JUMPDEST SUB PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x1FC8 JUMP JUMPDEST PUSH1 0x2 DUP3 AND ISZERO ISZERO SWAP2 PUSH2 0x302F JUMP JUMPDEST DUP1 SWAP3 PUSH2 0x304F JUMP JUMPDEST SWAP2 PUSH0 DUP1 DUP1 DUP1 DUP1 DUP1 DUP1 PUSH2 0x2626 JUMP JUMPDEST SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x100 DUP7 AND PUSH2 0x26A9 JUMPI POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x2684 SWAP8 SWAP10 POP DUP7 SWAP9 POP SWAP2 PUSH2 0x2663 SWAP2 PUSH2 0x26DD SWAP5 SWAP4 PUSH2 0x267D SWAP9 PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP7 PUSH4 0x3615DF3F PUSH1 0xE1 SHL PUSH1 0x20 DUP10 ADD MSTORE CALLER PUSH1 0x24 DUP10 ADD PUSH2 0x25AB JUMP JUMPDEST PUSH1 0x1 DUP3 AND ISZERO ISZERO SWAP2 PUSH2 0x302F JUMP JUMPDEST POP PUSH0 SWAP7 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x80 DUP2 AND ISZERO DUP1 PUSH2 0x2799 JUMPI JUMPDEST PUSH2 0x276F JUMPI PUSH1 0x40 DUP2 AND ISZERO DUP1 PUSH2 0x278D JUMPI JUMPDEST PUSH2 0x276F JUMPI PUSH2 0x400 DUP2 AND ISZERO DUP1 PUSH2 0x2781 JUMPI JUMPDEST PUSH2 0x276F JUMPI PUSH2 0x100 DUP2 AND ISZERO DUP1 PUSH2 0x2775 JUMPI JUMPDEST PUSH2 0x276F JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x274F JUMPI POP PUSH3 0xFFFFFF AND PUSH3 0x800000 EQ ISZERO SWAP1 JUMP JUMPDEST PUSH2 0x3FFF AND ISZERO SWAP1 DUP2 ISZERO SWAP2 PUSH2 0x2760 JUMPI POP SWAP1 JUMP JUMPDEST PUSH3 0x800000 SWAP2 POP PUSH3 0xFFFFFF AND EQ SWAP1 JUMP JUMPDEST POP POP PUSH0 SWAP1 JUMP JUMPDEST POP PUSH1 0x1 DUP2 AND ISZERO ISZERO PUSH2 0x272E JUMP JUMPDEST POP PUSH1 0x2 DUP2 AND ISZERO ISZERO PUSH2 0x271E JUMP JUMPDEST POP PUSH1 0x4 DUP2 AND ISZERO ISZERO PUSH2 0x270E JUMP JUMPDEST POP PUSH1 0x8 DUP2 AND ISZERO ISZERO PUSH2 0x26FF JUMP JUMPDEST PUSH3 0x800000 PUSH3 0xFFFFFF DUP3 AND EQ PUSH2 0x27BD JUMPI PUSH2 0x24D5 DUP2 PUSH2 0x250F JUMP JUMPDEST POP PUSH0 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 PUSH2 0x27D5 JUMPI POP SELFBALANCE SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x24 SWAP2 PUSH1 0x40 MLOAD SWAP3 DUP4 DUP1 SWAP3 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP3 MSTORE ADDRESS PUSH1 0x4 DUP4 ADD MSTORE GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x1963 JUMPI PUSH0 SWAP2 PUSH2 0x2804 JUMPI POP SWAP1 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x282B JUMPI JUMPDEST DUP2 PUSH2 0x281F PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1FC8 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x2D5 JUMPI MLOAD SWAP1 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x2812 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 PUSH0 DUP4 DUP3 ADD SWAP4 DUP5 SLT SWAP2 SLT SWAP1 DUP1 ISZERO DUP3 AND SWAP2 ISZERO AND OR PUSH2 0x14D4 JUMPI JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MLOAD SWAP6 PUSH0 SWAP6 DUP7 SWAP6 SWAP2 SWAP5 SWAP2 CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND EQ PUSH2 0x2988 JUMPI PUSH1 0x80 DUP5 AND PUSH2 0x287B JUMPI JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH2 0x28F3 SWAP3 PUSH2 0x2663 PUSH2 0x28ED SWAP3 PUSH2 0x28D9 SWAP5 PUSH1 0x40 MLOAD SWAP6 DUP7 SWAP5 PUSH4 0x15D7892D PUSH1 0xE2 SHL PUSH1 0x20 DUP8 ADD MSTORE CALLER PUSH1 0x24 DUP8 ADD MSTORE PUSH2 0x28B0 PUSH1 0x44 DUP8 ADD DUP13 PUSH2 0x2457 JUMP JUMPDEST DUP1 MLOAD ISZERO ISZERO PUSH1 0xE4 DUP8 ADD MSTORE PUSH1 0x20 DUP2 ADD MLOAD PUSH2 0x104 DUP8 ADD MSTORE PUSH1 0x40 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x124 DUP7 ADD MSTORE JUMP JUMPDEST PUSH2 0x140 PUSH2 0x144 DUP6 ADD MSTORE PUSH2 0x164 DUP5 ADD SWAP2 PUSH2 0x2173 JUMP JUMPDEST DUP3 PUSH2 0x2ADB JUMP JUMPDEST SWAP2 PUSH1 0x60 DUP4 MLOAD SUB PUSH2 0x2979 JUMPI PUSH1 0x40 ADD MLOAD PUSH3 0xFFFFFF AND PUSH3 0x800000 EQ PUSH2 0x296D JUMPI JUMPDEST PUSH1 0x8 AND PUSH2 0x2921 JUMPI JUMPDEST DUP1 DUP1 DUP1 DUP1 PUSH2 0x2874 JUMP JUMPDEST PUSH1 0x40 ADD MLOAD SWAP3 POP PUSH1 0x80 DUP4 SWAP1 SAR PUSH1 0xF SIGNEXTEND DUP1 ISZERO PUSH2 0x2918 JUMPI PUSH2 0x2942 SWAP1 PUSH0 DUP7 SLT SWAP6 PUSH2 0x2833 JUMP JUMPDEST SWAP4 ISZERO PUSH2 0x2965 JUMPI PUSH0 DUP5 SGT JUMPDEST PUSH2 0x2956 JUMPI PUSH0 PUSH2 0x2918 JUMP JUMPDEST PUSH4 0x7D05B8EB PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH0 DUP5 SLT PUSH2 0x294C JUMP JUMPDEST PUSH1 0x60 DUP3 ADD MLOAD SWAP4 POP PUSH2 0x2910 JUMP JUMPDEST PUSH4 0x1E048E1D PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP PUSH0 SWAP7 POP DUP7 SWAP6 POP POP POP POP POP JUMP JUMPDEST PUSH1 0xF SWAP2 DUP3 SIGNEXTEND SWAP2 SIGNEXTEND ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x7F SHL SUB NOT DUP3 SLT PUSH1 0x1 PUSH1 0x1 PUSH1 0x7F SHL SUB DUP4 SGT OR PUSH2 0x14D4 JUMPI JUMP JUMPDEST SWAP2 SWAP7 SWAP6 SWAP3 SWAP5 SWAP3 SWAP4 CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EQ PUSH2 0x2ACE JUMPI DUP5 PUSH1 0x80 SAR SWAP5 PUSH1 0xF SIGNEXTEND SWAP4 DUP9 PUSH1 0x40 DUP6 AND PUSH2 0x2A59 JUMPI JUMPDEST POP POP POP POP POP PUSH0 SWAP5 DUP2 PUSH1 0xF SIGNEXTEND ISZERO DUP1 ISZERO SWAP1 PUSH2 0x2A4D JUMPI JUMPDEST PUSH2 0x2A04 JUMPI JUMPDEST POP POP POP SWAP2 SWAP1 JUMP JUMPDEST PUSH2 0x2A31 SWAP4 SWAP6 POP PUSH0 PUSH1 0x20 DUP3 ADD MLOAD SLT SWAP1 MLOAD ISZERO ISZERO EQ PUSH0 EQ PUSH2 0x2A39 JUMPI PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR JUMPDEST DUP1 SWAP4 PUSH2 0x304F JUMP JUMPDEST PUSH0 DUP1 DUP1 PUSH2 0x29FD JUMP JUMPDEST PUSH1 0x80 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP1 SWAP2 AND OR PUSH2 0x2A2A JUMP JUMPDEST POP DUP3 PUSH1 0xF SIGNEXTEND ISZERO ISZERO PUSH2 0x29F8 JUMP JUMPDEST PUSH2 0x2AB2 PUSH2 0x2ABE SWAP5 PUSH2 0x2663 PUSH2 0x117B SWAP6 PUSH2 0x2AC4 SWAP10 SWAP9 SWAP6 PUSH2 0x2A97 PUSH2 0x28B0 SWAP7 PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP7 PUSH4 0xB47B2FB1 PUSH1 0xE0 SHL PUSH1 0x20 DUP10 ADD MSTORE CALLER PUSH1 0x24 DUP10 ADD MSTORE PUSH1 0x44 DUP9 ADD SWAP1 PUSH2 0x2457 JUMP JUMPDEST DUP13 PUSH2 0x144 DUP6 ADD MSTORE PUSH2 0x160 PUSH2 0x164 DUP6 ADD MSTORE PUSH2 0x184 DUP5 ADD SWAP2 PUSH2 0x2173 JUMP JUMPDEST PUSH1 0x4 DUP3 AND ISZERO ISZERO SWAP2 PUSH2 0x302F JUMP JUMPDEST SWAP1 PUSH2 0x2995 JUMP JUMPDEST PUSH0 DUP1 DUP1 DUP1 DUP9 PUSH2 0x29E4 JUMP JUMPDEST POP POP POP POP POP SWAP1 SWAP2 POP SWAP1 PUSH0 SWAP1 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 DUP3 MLOAD SWAP3 PUSH0 DUP1 PUSH1 0x20 DUP4 ADD SWAP6 DUP7 DUP3 DUP7 GAS CALL ISZERO PUSH2 0x2B43 JUMPI POP POP PUSH1 0x40 MLOAD SWAP2 PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP4 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP4 MSTORE RETURNDATASIZE SWAP1 PUSH1 0x20 DUP5 ADD SWAP2 PUSH0 DUP4 RETURNDATACOPY PUSH1 0x20 DUP5 MLOAD LT SWAP2 DUP3 ISZERO PUSH2 0x2B27 JUMPI JUMPDEST POP POP PUSH2 0x2979 JUMPI JUMP JUMPDEST MLOAD SWAP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP2 DUP3 AND SWAP2 AND EQ ISZERO SWAP1 POP PUSH0 DUP1 PUSH2 0x2B1F JUMP JUMPDEST MLOAD DUP4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND SWAP2 SWAP1 PUSH1 0x4 DUP3 LT PUSH2 0x2BCD JUMPI JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x80 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0xA0 RETURNDATASIZE PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 DUP2 ADD PUSH1 0x64 DUP4 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP4 ADD MSTORE RETURNDATASIZE PUSH0 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0xA9E35B2F PUSH1 0xE0 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0x4 SWAP3 SWAP1 SWAP3 SUB PUSH1 0x3 SHL DUP3 SWAP1 SHL AND AND SWAP1 POP DUP3 DUP1 PUSH2 0x2B5C JUMP JUMPDEST SWAP2 SWAP1 PUSH1 0x2 SIGNEXTEND SWAP1 PUSH1 0x2 SIGNEXTEND SWAP1 DUP2 DUP2 SMOD PUSH2 0x2C1B JUMPI SDIV SWAP1 DUP2 PUSH1 0x8 SAR PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0xFF PUSH1 0x40 PUSH0 KECCAK256 SWAP3 AND SHL DUP2 SLOAD XOR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1C SWAP1 PUSH1 0x44 SWAP3 PUSH1 0x40 MLOAD SWAP2 PUSH4 0xD4D8F3E6 DUP4 MSTORE PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD MSTORE ADD REVERT JUMPDEST PUSH1 0x4 SWAP2 PUSH1 0x2 SIGNEXTEND PUSH0 MSTORE ADD PUSH1 0x20 MSTORE PUSH0 PUSH1 0x2 PUSH1 0x40 DUP3 KECCAK256 DUP3 DUP2 SSTORE DUP3 PUSH1 0x1 DUP3 ADD SSTORE ADD SSTORE JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND SWAP1 DUP2 PUSH1 0xFF SAR DUP3 DUP2 ADD XOR PUSH3 0xD89E8 DUP2 GT PUSH2 0x2F73 JUMPI PUSH4 0xFFFFFFFF SWAP2 SWAP3 PUSH1 0x1 DUP3 AND PUSH17 0x1FFFCB933BD6FAD37AA2D162D1A594001 MUL PUSH1 0x1 PUSH1 0x80 SHL XOR SWAP2 PUSH1 0x2 DUP2 AND PUSH2 0x2F57 JUMPI JUMPDEST PUSH1 0x4 DUP2 AND PUSH2 0x2F3B JUMPI JUMPDEST PUSH1 0x8 DUP2 AND PUSH2 0x2F1F JUMPI JUMPDEST PUSH1 0x10 DUP2 AND PUSH2 0x2F03 JUMPI JUMPDEST PUSH1 0x20 DUP2 AND PUSH2 0x2EE7 JUMPI JUMPDEST PUSH1 0x40 DUP2 AND PUSH2 0x2ECB JUMPI JUMPDEST PUSH1 0x80 DUP2 AND PUSH2 0x2EAF JUMPI JUMPDEST PUSH2 0x100 DUP2 AND PUSH2 0x2E93 JUMPI JUMPDEST PUSH2 0x200 DUP2 AND PUSH2 0x2E77 JUMPI JUMPDEST PUSH2 0x400 DUP2 AND PUSH2 0x2E5B JUMPI JUMPDEST PUSH2 0x800 DUP2 AND PUSH2 0x2E3F JUMPI JUMPDEST PUSH2 0x1000 DUP2 AND PUSH2 0x2E23 JUMPI JUMPDEST PUSH2 0x2000 DUP2 AND PUSH2 0x2E07 JUMPI JUMPDEST PUSH2 0x4000 DUP2 AND PUSH2 0x2DEB JUMPI JUMPDEST PUSH2 0x8000 DUP2 AND PUSH2 0x2DCF JUMPI JUMPDEST PUSH3 0x10000 DUP2 AND PUSH2 0x2DB3 JUMPI JUMPDEST PUSH3 0x20000 DUP2 AND PUSH2 0x2D98 JUMPI JUMPDEST PUSH3 0x40000 DUP2 AND PUSH2 0x2D7D JUMPI JUMPDEST PUSH3 0x80000 AND PUSH2 0x2D64 JUMPI JUMPDEST PUSH0 SLT PUSH2 0x2D5C JUMPI JUMPDEST ADD PUSH1 0x20 SHR SWAP1 JUMP JUMPDEST PUSH0 NOT DIV PUSH2 0x2D55 JUMP JUMPDEST PUSH12 0x48A170391F7DC42444E8FA2 SWAP1 SWAP2 MUL PUSH1 0x80 SHR SWAP1 PUSH2 0x2D4E JUMP JUMPDEST PUSH14 0x2216E584F5FA1EA926041BEDFE98 SWAP1 SWAP3 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D44 JUMP JUMPDEST SWAP2 PUSH15 0x5D6AF8DEDB81196699C329225EE604 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D39 JUMP JUMPDEST SWAP2 PUSH16 0x9AA508B5B7A84E1C677DE54F3E99BC9 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D2E JUMP JUMPDEST SWAP2 PUSH16 0x31BE135F97D08FD981231505542FCFA6 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D23 JUMP JUMPDEST SWAP2 PUSH16 0x70D869A156D2A1B890BB3DF62BAF32F7 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D19 JUMP JUMPDEST SWAP2 PUSH16 0xA9F746462D870FDF8A65DC1F90E061E5 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D0F JUMP JUMPDEST SWAP2 PUSH16 0xD097F3BDFD2022B8845AD8F792AA5825 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D05 JUMP JUMPDEST SWAP2 PUSH16 0xE7159475A2C29B7443B29C7FA6E889D9 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CFB JUMP JUMPDEST SWAP2 PUSH16 0xF3392B0822B70005940C7A398E4B70F3 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CF1 JUMP JUMPDEST SWAP2 PUSH16 0xF987A7253AC413176F2B074CF7815E54 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CE7 JUMP JUMPDEST SWAP2 PUSH16 0xFCBE86C7900A88AEDCFFC83B479AA3A4 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CDD JUMP JUMPDEST SWAP2 PUSH16 0xFE5DEE046A99A2A811C461F1969C3053 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CD3 JUMP JUMPDEST SWAP2 PUSH16 0xFF2EA16466C96A3843EC78B326B52861 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CCA JUMP JUMPDEST SWAP2 PUSH16 0xFF973B41FA98C081472E6896DFB254C0 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CC1 JUMP JUMPDEST SWAP2 PUSH16 0xFFCB9843D60F6159C9DB58835C926644 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CB8 JUMP JUMPDEST SWAP2 PUSH16 0xFFE5CACA7E10E4E61C3624EAA0941CD0 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CAF JUMP JUMPDEST SWAP2 PUSH16 0xFFF2E50F5F656932EF12357CF3C7FDCC MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CA6 JUMP JUMPDEST SWAP2 PUSH16 0xFFF97272373D413259A46990580E213A MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2C9D JUMP JUMPDEST DUP3 PUSH4 0x45C3193D PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP1 PUSH0 DUP4 PUSH1 0xF SIGNEXTEND SLT PUSH0 EQ PUSH2 0x2FB2 JUMPI PUSH2 0x2FA8 SWAP3 PUSH0 SUB PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP2 PUSH2 0x3F46 JUMP JUMPDEST PUSH0 DUP2 SLT PUSH2 0x21A5 JUMPI SWAP1 JUMP JUMPDEST PUSH2 0x2FC5 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP2 PUSH2 0x3F0A JUMP JUMPDEST PUSH0 DUP2 SLT PUSH2 0x21A5 JUMPI PUSH0 SUB SWAP1 JUMP JUMPDEST SWAP1 PUSH0 DUP4 PUSH1 0xF SIGNEXTEND SLT PUSH0 EQ PUSH2 0x2FF3 JUMPI PUSH2 0x2FA8 SWAP3 PUSH0 SUB PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP2 PUSH2 0x3FDE JUMP JUMPDEST PUSH2 0x2FC5 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP2 PUSH2 0x3F72 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH1 0xF SWAP2 SWAP1 SWAP2 SIGNEXTEND ADD SWAP1 PUSH1 0x80 DUP3 SWAP1 SHR PUSH2 0x3022 JUMPI JUMP JUMPDEST PUSH4 0x93DAFDF1 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST SWAP1 PUSH2 0x3039 SWAP2 PUSH2 0x2ADB JUMP JUMPDEST SWAP1 ISZERO PUSH2 0x27BD JUMPI PUSH1 0x40 DUP2 MLOAD SUB PUSH2 0x2979 JUMPI PUSH1 0x40 ADD MLOAD SWAP1 JUMP JUMPDEST PUSH2 0x3072 SWAP1 PUSH2 0x3064 DUP4 PUSH1 0x80 SAR DUP3 PUSH1 0x80 SAR SUB PUSH2 0x259D JUMP JUMPDEST SWAP3 PUSH1 0xF SIGNEXTEND SWAP1 PUSH1 0xF SIGNEXTEND SUB PUSH2 0x259D JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR SWAP1 JUMP JUMPDEST PUSH20 0xFFFD8963EFD1FC6A506488495D951D5163961682 PUSH5 0x1000276A2 NOT DUP3 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GT PUSH2 0x32A4 JUMPI PUSH10 0x3627A301D71055774C85 PUSH1 0x20 DUP3 SWAP1 SHL PUSH1 0x1 PUSH1 0x20 SHL PUSH1 0x1 PUSH1 0xC0 SHL SUB AND DUP1 PUSH1 0xFF PUSH2 0x30D6 DUP3 PUSH2 0x403C JUMP JUMPDEST AND SWAP2 PUSH1 0x80 DUP4 LT PUSH2 0x3298 JUMPI POP PUSH1 0x7E NOT DUP3 ADD SHR JUMPDEST DUP1 MUL DUP1 PUSH1 0x7F SHR DUP2 PUSH1 0xFF SHR SHR DUP1 MUL DUP1 PUSH1 0x7F SHR DUP2 PUSH1 0xFF SHR SHR DUP1 MUL DUP1 PUSH1 0x7F SHR DUP2 PUSH1 0xFF SHR SHR DUP1 MUL DUP1 PUSH1 0x7F SHR DUP2 PUSH1 0xFF SHR SHR DUP1 MUL DUP1 PUSH1 0x7F SHR DUP2 PUSH1 0xFF SHR SHR DUP1 MUL DUP1 PUSH1 0x7F SHR DUP2 PUSH1 0xFF SHR SHR DUP1 MUL SWAP1 DUP2 PUSH1 0x7F SHR DUP3 PUSH1 0xFF SHR SHR DUP1 MUL SWAP3 DUP4 PUSH1 0x7F SHR DUP5 PUSH1 0xFF SHR SHR DUP1 MUL SWAP5 DUP6 PUSH1 0x7F SHR DUP7 PUSH1 0xFF SHR SHR DUP1 MUL SWAP7 DUP8 PUSH1 0x7F SHR DUP9 PUSH1 0xFF SHR SHR DUP1 MUL SWAP9 DUP10 PUSH1 0x7F SHR DUP11 PUSH1 0xFF SHR SHR DUP1 MUL SWAP11 DUP12 PUSH1 0x7F SHR DUP13 PUSH1 0xFF SHR SHR DUP1 MUL SWAP13 DUP14 DUP1 PUSH1 0x7F SHR SWAP1 PUSH1 0xFF SHR SHR PUSH1 0x1 PUSH1 0x32 SHL SWAP1 DUP1 MUL PUSH1 0xCD SHR AND SWAP14 PUSH1 0x1 PUSH1 0x33 SHL SWAP1 PUSH1 0xCC SHR AND SWAP13 PUSH1 0x1 PUSH1 0x34 SHL SWAP1 PUSH1 0xCB SHR AND SWAP12 PUSH1 0x1 PUSH1 0x35 SHL SWAP1 PUSH1 0xCA SHR AND SWAP11 PUSH1 0x1 PUSH1 0x36 SHL SWAP1 PUSH1 0xC9 SHR AND SWAP10 PUSH1 0x1 PUSH1 0x37 SHL SWAP1 PUSH1 0xC8 SHR AND SWAP9 PUSH1 0x1 PUSH1 0x38 SHL SWAP1 PUSH1 0xC7 SHR AND SWAP8 PUSH1 0x1 PUSH1 0x39 SHL SWAP1 PUSH1 0xC6 SHR AND SWAP7 PUSH1 0x1 PUSH1 0x3A SHL SWAP1 PUSH1 0xC5 SHR AND SWAP6 PUSH1 0x1 PUSH1 0x3B SHL SWAP1 PUSH1 0xC4 SHR AND SWAP5 PUSH1 0x1 PUSH1 0x3C SHL SWAP1 PUSH1 0xC3 SHR AND SWAP4 PUSH1 0x1 PUSH1 0x3D SHL SWAP1 PUSH1 0xC2 SHR AND SWAP3 PUSH1 0x1 PUSH1 0x3E SHL SWAP1 PUSH1 0xC1 SHR AND SWAP2 PUSH1 0x1 PUSH1 0x3F SHL SWAP1 PUSH1 0xC0 SHR AND SWAP1 PUSH1 0x7F NOT ADD PUSH1 0x40 SHL OR OR OR OR OR OR OR OR OR OR OR OR OR OR MUL PUSH16 0xDB2DF09E81959A81455E260799A0632F PUSH16 0x28F6481AB7F045A5AF012A19D003AA9 NOT DUP3 ADD PUSH1 0x80 SAR PUSH1 0x2 SIGNEXTEND SWAP2 ADD PUSH1 0x80 SAR PUSH1 0x2 SIGNEXTEND SWAP2 DUP3 DUP3 EQ PUSH0 EQ PUSH2 0x3274 JUMPI POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP1 PUSH2 0x3289 DUP5 PUSH2 0x2C59 JUMP JUMPDEST AND GT PUSH2 0x3293 JUMPI POP SWAP1 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST SWAP1 POP DUP2 PUSH1 0x7F SUB SHL PUSH2 0x30E8 JUMP JUMPDEST PUSH4 0x18521D49 PUSH1 0xE2 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH0 SWAP1 DUP2 MSTORE SWAP2 AND PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST DUP2 ISZERO PUSH2 0x32E9 JUMPI DIV SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x40 MLOAD SWAP3 SWAP1 SWAP2 PUSH0 PUSH2 0x330D DUP6 PUSH2 0x1F92 JUMP JUMPDEST PUSH0 DUP6 MSTORE PUSH1 0x20 DUP6 ADD SWAP3 PUSH0 DUP5 MSTORE PUSH1 0x40 DUP7 ADD SWAP6 PUSH0 DUP8 MSTORE DUP1 SWAP7 DUP7 SLOAD SWAP6 PUSH1 0x40 DUP7 ADD MLOAD ISZERO SWAP6 DUP7 ISZERO PUSH0 EQ PUSH2 0x3CF4 JUMPI PUSH2 0xFFF DUP9 PUSH1 0xB8 SHR AND SWAP5 JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP11 AND DUP1 DUP8 MSTORE PUSH1 0xA0 DUP12 SWAP1 SHR PUSH1 0x2 SIGNEXTEND SWAP1 SWAP5 MSTORE PUSH1 0x3 DUP12 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 SWAP5 MSTORE PUSH1 0x80 DUP3 ADD MLOAD PUSH0 SWAP5 SWAP4 SWAP1 PUSH3 0x400000 DUP2 AND ISZERO PUSH2 0x3CE5 JUMPI PUSH3 0xBFFFFF AND PUSH2 0x338B DUP2 PUSH2 0x250F JUMP JUMPDEST PUSH2 0xFFFF DUP9 AND PUSH2 0x3CCA JUMPI JUMPDEST DUP1 SWAP7 PUSH3 0xF4240 PUSH3 0xFFFFFF DUP4 AND LT ISZERO PUSH2 0x3CB2 JUMPI JUMPDEST DUP5 MLOAD ISZERO PUSH2 0x3C9C JUMPI POP POP DUP9 PUSH2 0x3C54 JUMPI PUSH1 0x60 DUP4 ADD DUP1 MLOAD SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 DUP2 LT ISZERO PUSH2 0x3C36 JUMPI POP POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH5 0x1000276A3 DUP2 GT ISZERO PUSH2 0x3C24 JUMPI POP JUMPDEST PUSH1 0x40 MLOAD SWAP9 PUSH2 0x100 DUP11 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP12 DUP3 LT OR PUSH2 0x158D JUMPI PUSH1 0x40 MSTORE PUSH0 DUP11 MSTORE PUSH0 PUSH1 0x20 DUP12 ADD MSTORE PUSH0 PUSH1 0x40 DUP12 ADD MSTORE PUSH0 PUSH1 0x60 DUP12 ADD MSTORE PUSH0 PUSH1 0x80 DUP12 ADD MSTORE PUSH0 PUSH1 0xA0 DUP12 ADD MSTORE PUSH0 PUSH1 0xC0 DUP12 ADD MSTORE DUP9 ISZERO PUSH0 EQ PUSH2 0x3C16 JUMPI PUSH1 0x1 DUP12 ADD SLOAD SWAP5 SWAP4 SWAP1 SWAP5 JUMPDEST PUSH1 0xE0 DUP12 ADD MSTORE JUMPDEST DUP1 ISZERO DUP1 ISZERO PUSH2 0x3BFB JUMPI JUMPDEST PUSH2 0x3B14 JUMPI PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP13 MLOAD AND DUP11 MSTORE DUP11 PUSH1 0x20 DUP14 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x20 DUP6 ADD MLOAD PUSH1 0x2 SIGNEXTEND SWAP1 DUP2 PUSH0 DUP2 DUP4 SMOD SLT SWAP2 SDIV SUB DUP12 ISZERO PUSH0 EQ PUSH2 0x3A21 JUMPI PUSH1 0x5 PUSH1 0xFF DUP3 AND SWAP4 DUP3 PUSH1 0x2 SIGNEXTEND PUSH1 0x8 SAR PUSH1 0x1 SIGNEXTEND PUSH0 MSTORE ADD PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH0 NOT DUP5 PUSH1 0xFF SUB SHR SWAP1 SLOAD AND SWAP3 DUP4 ISZERO ISZERO SWAP4 DUP5 PUSH0 EQ PUSH2 0x3A0F JUMPI SWAP1 PUSH2 0x34C1 PUSH1 0xFF SWAP3 PUSH2 0x403C JUMP JUMPDEST SWAP1 SUB AND PUSH1 0x2 SIGNEXTEND SWAP1 SUB PUSH1 0x2 SIGNEXTEND MUL PUSH1 0x2 SIGNEXTEND JUMPDEST SWAP1 JUMPDEST ISZERO ISZERO PUSH1 0x40 DUP13 ADD MSTORE PUSH1 0x2 SIGNEXTEND DUP1 PUSH1 0x20 DUP13 ADD MSTORE PUSH3 0xD89E7 NOT SLT ISZERO PUSH2 0x3A00 JUMPI JUMPDEST PUSH3 0xD89E8 PUSH1 0x20 DUP12 ADD MLOAD PUSH1 0x2 SIGNEXTEND SLT ISZERO PUSH2 0x39F2 JUMPI JUMPDEST DUP6 DUP13 DUP12 DUP12 PUSH1 0x1 DUP1 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0x351E PUSH1 0x20 DUP6 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH2 0x2C59 JUMP JUMPDEST AND DUP1 PUSH1 0x60 DUP6 ADD MSTORE DUP2 DUP1 PUSH1 0xA0 SHL SUB DUP6 MLOAD AND SWAP3 DUP3 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x60 DUP12 ADD MLOAD AND SWAP3 DUP4 SWAP2 ISZERO AND DUP2 DUP4 LT XOR SWAP2 XOR MUL XOR SWAP3 PUSH1 0x40 PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB SWAP2 ADD MLOAD AND SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP5 AND DUP2 LT ISZERO SWAP2 PUSH0 DUP8 SLT PUSH0 EQ PUSH2 0x38CA JUMPI PUSH3 0xFFFFFF DUP7 AND PUSH3 0xF4240 SUB PUSH2 0x3584 DUP2 DUP10 PUSH0 SUB PUSH2 0x3D4B JUMP JUMPDEST SWAP6 DUP5 ISZERO PUSH2 0x38B9 JUMPI PUSH2 0x3596 DUP4 DUP6 DUP4 PUSH2 0x3F72 JUMP JUMPDEST SWAP7 JUMPDEST DUP8 DUP2 LT PUSH2 0x3815 JUMPI POP SWAP7 PUSH1 0xC0 SWAP4 SWAP3 SWAP2 DUP9 SWAP2 SWAP1 PUSH3 0xFFFFFF DUP3 AND PUSH3 0xF4240 SUB PUSH2 0x3801 JUMPI POP POP DUP7 JUMPDEST SWAP5 JUMPDEST ISZERO PUSH2 0x37F3 JUMPI SWAP2 PUSH2 0x35CD SWAP3 PUSH2 0x3F46 JUMP JUMPDEST SWAP3 JUMPDEST ADD MSTORE PUSH1 0xA0 DUP14 ADD MSTORE PUSH1 0x80 DUP13 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP13 MSTORE DUP3 MLOAD PUSH0 SLT ISZERO PUSH2 0x37C3 JUMPI PUSH1 0xA0 DUP11 ADD MLOAD SWAP1 PUSH0 DUP3 SLT PUSH2 0x21A5 JUMPI SUB SWAP3 PUSH2 0x3611 PUSH1 0x80 DUP12 ADD MLOAD PUSH1 0xC0 DUP13 ADD MLOAD SWAP1 PUSH2 0x2110 JUMP JUMPDEST PUSH0 DUP2 SLT PUSH2 0x21A5 JUMPI DUP2 SUB SWAP1 DUP2 SGT PUSH1 0x1 AND PUSH2 0x14D4 JUMPI SWAP4 JUMPDEST PUSH2 0xFFFF DUP8 AND PUSH2 0x377B JUMPI JUMPDEST PUSH1 0x40 DUP13 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND DUP1 PUSH2 0x3761 JUMPI JUMPDEST POP DUP12 MLOAD PUSH1 0x60 DUP12 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND SWAP2 AND DUP2 SUB PUSH2 0x3732 JUMPI POP PUSH1 0x40 DUP11 ADD MLOAD PUSH2 0x369B JUMPI JUMPDEST DUP9 PUSH2 0x368E JUMPI PUSH0 NOT PUSH1 0x20 DUP12 ADD MLOAD PUSH1 0x2 SIGNEXTEND ADD PUSH1 0x2 SIGNEXTEND JUMPDEST PUSH1 0x2 SIGNEXTEND PUSH1 0x20 DUP14 ADD MSTORE JUMPDEST SWAP4 SWAP3 PUSH2 0x3448 JUMP JUMPDEST PUSH1 0x20 DUP11 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH2 0x367E JUMP JUMPDEST DUP9 PUSH2 0x3717 JUMPI DUP12 PUSH2 0x3702 DUP13 DUP13 PUSH1 0x4 PUSH1 0xE0 DUP3 ADD MLOAD SWAP3 PUSH1 0x20 PUSH1 0x2 DUP3 ADD SLOAD SWAP4 JUMPDEST ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x2 SIGNEXTEND PUSH0 MSTORE ADD PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP2 PUSH1 0x1 DUP4 ADD SWAP1 DUP2 SLOAD SWAP1 SUB SWAP1 SSTORE PUSH1 0x2 DUP3 ADD SWAP1 DUP2 SLOAD SWAP1 SUB SWAP1 SSTORE SLOAD PUSH1 0x80 SAR DUP12 ISZERO PUSH2 0x370D JUMPI JUMPDEST PUSH1 0x40 SWAP1 SWAP3 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP3 SWAP1 DUP4 AND PUSH2 0x3006 JUMP JUMPDEST AND PUSH1 0x40 DUP14 ADD MSTORE PUSH2 0x366A JUMP JUMPDEST PUSH0 SUB PUSH1 0xF SIGNEXTEND PUSH2 0x36EB JUMP JUMPDEST DUP12 PUSH2 0x3702 DUP13 DUP13 PUSH1 0x4 PUSH1 0x1 DUP4 ADD SLOAD SWAP3 PUSH1 0x20 PUSH1 0xE0 DUP5 ADD MLOAD SWAP4 PUSH2 0x36B7 JUMP JUMPDEST DUP11 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 SUB PUSH2 0x374A JUMPI JUMPDEST POP PUSH2 0x3687 JUMP JUMPDEST PUSH2 0x3753 SWAP1 PUSH2 0x3082 JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND PUSH1 0x20 DUP14 ADD MSTORE PUSH0 PUSH2 0x3744 JUMP JUMPDEST PUSH1 0xC0 DUP12 ADD MLOAD PUSH1 0x80 SHL DIV PUSH1 0xE0 DUP12 ADD MLOAD ADD PUSH1 0xE0 DUP12 ADD MSTORE PUSH0 PUSH2 0x3644 JUMP JUMPDEST SWAP7 PUSH3 0xFFFFFF DUP7 AND PUSH2 0xFFFF DUP9 AND SUB PUSH2 0x37A6 JUMPI PUSH1 0xC0 DUP11 ADD MLOAD SWAP1 JUMPDEST DUP2 PUSH1 0xC0 DUP13 ADD MLOAD SUB PUSH1 0xC0 DUP13 ADD MSTORE ADD SWAP7 PUSH2 0x3630 JUMP JUMPDEST PUSH3 0xF4240 PUSH1 0x80 DUP12 ADD MLOAD PUSH2 0xFFFF DUP10 AND SWAP1 PUSH1 0xC0 DUP14 ADD MLOAD ADD MUL DIV SWAP1 PUSH2 0x3793 JUMP JUMPDEST PUSH1 0x80 DUP11 ADD MLOAD PUSH1 0xC0 DUP12 ADD MLOAD ADD SWAP1 PUSH0 DUP3 SLT PUSH2 0x21A5 JUMPI ADD SWAP3 PUSH1 0xA0 DUP11 ADD MLOAD PUSH0 DUP2 SLT PUSH2 0x21A5 JUMPI PUSH2 0x37ED SWAP2 PUSH2 0x2833 JUMP JUMPDEST SWAP4 PUSH2 0x3626 JUMP JUMPDEST PUSH2 0x37FC SWAP3 PUSH2 0x3FDE JUMP JUMPDEST PUSH2 0x35CD JUMP JUMPDEST PUSH3 0xFFFFFF PUSH2 0x3810 SWAP3 AND DUP10 PUSH2 0x40BE JUMP JUMPDEST PUSH2 0x35BC JUMP JUMPDEST SWAP8 POP POP POP SWAP4 POP SWAP2 POP DUP4 SWAP3 DUP1 ISZERO DUP4 ISZERO OR PUSH2 0x38AC JUMPI DUP15 SWAP3 PUSH1 0xC0 SWAP2 DUP4 ISZERO PUSH2 0x384A JUMPI PUSH2 0x383E DUP8 DUP3 DUP5 PUSH2 0x4141 JUMP JUMPDEST DUP1 SWAP8 DUP10 ADD PUSH0 SUB SWAP5 PUSH2 0x35BE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 GT PUSH2 0x388E JUMPI PUSH2 0x3889 PUSH2 0x3884 PUSH2 0x3875 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP5 AND PUSH1 0x60 DUP12 SWAP1 SHL PUSH2 0x32DF JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH2 0x2110 JUMP JUMPDEST PUSH2 0x41C0 JUMP JUMPDEST PUSH2 0x383E JUMP JUMPDEST PUSH2 0x3889 PUSH2 0x3884 PUSH2 0x38A7 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP5 AND DUP11 PUSH2 0x3E00 JUMP JUMPDEST PUSH2 0x3875 JUMP JUMPDEST PUSH4 0x4F2461B8 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST PUSH2 0x38C4 DUP4 DUP3 DUP7 PUSH2 0x3F0A JUMP JUMPDEST SWAP7 PUSH2 0x3598 JUMP JUMPDEST SWAP2 SWAP5 POP SWAP2 POP DUP4 ISZERO PUSH2 0x39E1 JUMPI PUSH2 0x38E0 DUP2 DUP4 DUP6 PUSH2 0x3F46 JUMP JUMPDEST SWAP3 JUMPDEST DUP4 DUP7 LT PUSH2 0x392C JUMPI DUP1 SWAP5 JUMPDEST ISZERO PUSH2 0x391D JUMPI SWAP2 PUSH2 0x38FB SWAP3 PUSH2 0x3F72 JUMP JUMPDEST SWAP1 JUMPDEST DUP13 PUSH1 0xC0 PUSH2 0x3917 PUSH3 0xFFFFFF DUP13 AND PUSH3 0xF4240 DUP2 SWAP1 SUB SWAP1 DUP7 PUSH2 0x40BE JUMP JUMPDEST SWAP2 PUSH2 0x35CF JUMP JUMPDEST PUSH2 0x3926 SWAP3 PUSH2 0x3F0A JUMP JUMPDEST SWAP1 PUSH2 0x38FD JUMP JUMPDEST POP DUP5 SWAP3 POP DUP2 ISZERO DUP2 ISZERO OR PUSH2 0x38AC JUMPI DUP4 ISZERO PUSH2 0x39D1 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 GT PUSH2 0x3999 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND PUSH1 0x60 DUP7 SWAP1 SHL DUP2 DUP2 DIV SWAP2 SWAP1 MOD ISZERO ISZERO ADD JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 DUP1 DUP3 GT ISZERO PUSH2 0x398C JUMPI SWAP1 SUB PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND JUMPDEST DUP1 SWAP5 PUSH2 0x38EC JUMP JUMPDEST PUSH4 0x4323A555 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND PUSH2 0x39B2 DUP2 PUSH1 0x1 PUSH1 0x60 SHL DUP9 PUSH2 0x3E8A JUMP JUMPDEST SWAP1 DUP1 ISZERO PUSH2 0x32E9 JUMPI PUSH1 0x1 PUSH1 0x60 SHL DUP8 MULMOD ISZERO PUSH2 0x3966 JUMPI PUSH1 0x1 ADD DUP1 PUSH2 0x3966 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x39DC DUP6 DUP3 DUP5 PUSH2 0x40E7 JUMP JUMPDEST PUSH2 0x3985 JUMP JUMPDEST PUSH2 0x39EC DUP2 DUP5 DUP5 PUSH2 0x3FDE JUMP JUMPDEST SWAP3 PUSH2 0x38E2 JUMP JUMPDEST PUSH3 0xD89E8 PUSH1 0x20 DUP12 ADD MSTORE PUSH2 0x3502 JUMP JUMPDEST PUSH3 0xD89E7 NOT PUSH1 0x20 DUP12 ADD MSTORE PUSH2 0x34EF JUMP JUMPDEST POP PUSH1 0x2 SIGNEXTEND SWAP1 SUB PUSH1 0x2 SIGNEXTEND MUL PUSH1 0x2 SIGNEXTEND PUSH2 0x34D1 JUMP JUMPDEST PUSH1 0x1 ADD DUP1 PUSH1 0x2 SIGNEXTEND SWAP1 PUSH1 0x5 DUP2 PUSH1 0xFF AND SWAP5 DUP4 PUSH1 0x8 SAR PUSH1 0x1 SIGNEXTEND PUSH0 MSTORE ADD PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH1 0x1 PUSH1 0xFF PUSH0 NOT SWAP3 AND SHL ADD NOT SWAP1 SLOAD AND DUP1 ISZERO SWAP4 DUP5 ISZERO SWAP5 DUP6 PUSH0 EQ PUSH2 0x3AFC JUMPI PUSH2 0x2D5 JUMPI DUP2 PUSH1 0xFF SWAP3 PUSH0 SUB AND PUSH31 0x1F0D1E100C1D070F090B19131C1706010E11080A1A141802121B1503160405 PUSH1 0x1F PUSH2 0x1E0 PUSH32 0x8040405543005266443200005020610674053026020000107506200176117077 PUSH1 0xFC PUSH32 0xB6DB6DB6DDDDDDDDD34D34D349249249210842108C6318C639CE739CFFFFFFFF DUP7 MUL PUSH1 0xF8 SHR AND SHL PUSH1 0xF7 SHR AND SWAP3 DUP4 SHR PUSH4 0xD76453E0 DIV AND BYTE OR SUB AND PUSH1 0x2 SIGNEXTEND ADD PUSH1 0x2 SIGNEXTEND MUL PUSH1 0x2 SIGNEXTEND JUMPDEST SWAP1 PUSH2 0x34D3 JUMP JUMPDEST POP PUSH1 0xFF DUP1 SWAP3 POP SUB AND PUSH1 0x2 SIGNEXTEND ADD PUSH1 0x2 SIGNEXTEND MUL PUSH1 0x2 SIGNEXTEND PUSH2 0x3AF6 JUMP JUMPDEST SWAP5 SWAP9 SWAP2 SWAP6 POP SWAP10 SWAP7 SWAP3 SWAP9 SWAP2 SWAP6 SWAP9 PUSH1 0x20 DUP9 ADD MLOAD PUSH1 0xA0 SHL PUSH3 0xFFFFFF PUSH1 0xA0 SHL AND PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP10 MLOAD AND SWAP2 PUSH1 0x1 DUP1 PUSH1 0xB8 SHL SUB NOT AND OR OR DUP3 SSTORE PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB PUSH1 0x3 DUP4 ADD SLOAD AND PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB PUSH1 0x40 DUP10 ADD MLOAD AND DUP1 SWAP2 SUB PUSH2 0x3BD3 JUMPI JUMPDEST POP DUP3 ISZERO PUSH2 0x3BC4 JUMPI PUSH1 0xE0 PUSH1 0x2 SWAP2 ADD MLOAD SWAP2 ADD SSTORE JUMPDEST DUP3 MLOAD SWAP1 ISZERO PUSH0 DUP3 SLT EQ PUSH2 0x3BAE JUMPI POP PUSH2 0x3B96 PUSH2 0x3B9E SWAP3 SWAP4 PUSH2 0x259D JUMP JUMPDEST SWAP3 MLOAD SUB PUSH2 0x259D JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR SWAP4 JUMP JUMPDEST PUSH2 0x3B9E SWAP3 POP SWAP1 PUSH2 0x3BBE SWAP2 SUB PUSH2 0x259D JUMP JUMPDEST SWAP2 PUSH2 0x259D JUMP JUMPDEST PUSH1 0xE0 PUSH1 0x1 SWAP2 ADD MLOAD SWAP2 ADD SSTORE PUSH2 0x3B7C JUMP JUMPDEST PUSH1 0x3 DUP4 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH0 PUSH2 0x3B6A JUMP JUMPDEST POP DUP12 MLOAD PUSH1 0x60 DUP5 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP2 AND EQ PUSH2 0x3451 JUMP JUMPDEST PUSH1 0x2 DUP12 ADD SLOAD SWAP5 SWAP4 SWAP1 SWAP5 PUSH2 0x3442 JUMP JUMPDEST PUSH4 0x9E4D7CC7 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x44 SWAP3 POP PUSH1 0x40 MLOAD SWAP2 PUSH4 0x7C9C6E8F PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD MSTORE REVERT JUMPDEST PUSH1 0x60 DUP4 ADD DUP1 MLOAD SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 DUP2 GT ISZERO PUSH2 0x3C36 JUMPI POP POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH20 0xFFFD8963EFD1FC6A506488495D951D5263988D26 DUP2 LT ISZERO PUSH2 0x3C24 JUMPI POP PUSH2 0x33EB JUMP JUMPDEST SWAP11 POP SWAP11 POP POP SWAP10 POP POP POP POP POP POP POP POP PUSH0 SWAP3 PUSH0 SWAP3 SWAP2 SWAP1 JUMP JUMPDEST PUSH0 DUP6 MLOAD SGT ISZERO PUSH2 0x33A8 JUMPI PUSH4 0x4B103123 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH3 0xFFFFFF PUSH2 0xFFF DUP10 AND SWAP2 AND PUSH3 0xF4240 DUP2 DUP4 MUL DIV SWAP2 ADD SUB PUSH2 0x3395 JUMP JUMPDEST POP DUP10 PUSH1 0xD0 SHR PUSH3 0xFFFFFF AND PUSH2 0x338B JUMP JUMPDEST PUSH2 0xFFF DUP9 PUSH1 0xC4 SHR AND SWAP5 PUSH2 0x333E JUMP JUMPDEST DUP2 DUP2 MUL SWAP2 SWAP1 PUSH0 NOT DUP3 DUP3 MULMOD SWAP2 DUP4 DUP1 DUP5 LT SWAP4 SUB SWAP3 DUP1 DUP5 SUB SWAP4 DUP5 PUSH1 0x1 PUSH1 0x80 SHL GT ISZERO PUSH2 0x2D5 JUMPI EQ PUSH2 0x3D42 JUMPI PUSH1 0x1 PUSH1 0x80 SHL SWAP2 MULMOD SWAP1 DUP3 DUP3 GT SWAP1 SUB PUSH1 0x80 SHL SWAP2 SUB PUSH1 0x80 SHR OR SWAP1 JUMP JUMPDEST POP POP POP PUSH1 0x80 SHR SWAP1 JUMP JUMPDEST DUP1 DUP3 MUL SWAP1 PUSH0 NOT DUP4 DUP3 MULMOD SWAP1 DUP3 DUP1 DUP4 LT SWAP3 SUB SWAP2 DUP1 DUP4 SUB SWAP3 DUP4 PUSH3 0xF4240 GT ISZERO PUSH2 0x2D5 JUMPI EQ PUSH2 0x3DAB JUMPI PUSH32 0xDE8F6CEFED634549B62C77574F722E1AC57E23F24D8FD5CB790FB65668C26139 SWAP4 PUSH3 0xF4240 SWAP2 MULMOD SWAP1 DUP3 DUP3 GT SWAP1 SUB PUSH1 0xFA SHL SWAP2 SUB PUSH1 0x6 SHR OR MUL SWAP1 JUMP JUMPDEST POP POP PUSH3 0xF4240 SWAP2 POP DIV SWAP1 JUMP JUMPDEST DUP2 DUP2 MUL SWAP2 SWAP1 PUSH0 NOT DUP3 DUP3 MULMOD SWAP2 DUP4 DUP1 DUP5 LT SWAP4 SUB SWAP3 DUP1 DUP5 SUB SWAP4 DUP5 PUSH1 0x1 PUSH1 0x60 SHL GT ISZERO PUSH2 0x2D5 JUMPI EQ PUSH2 0x3DF7 JUMPI PUSH1 0x1 PUSH1 0x60 SHL SWAP2 MULMOD SWAP1 DUP3 DUP3 GT SWAP1 SUB PUSH1 0xA0 SHL SWAP2 SUB PUSH1 0x60 SHR OR SWAP1 JUMP JUMPDEST POP POP POP PUSH1 0x60 SHR SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x60 DUP3 SWAP1 SHL SWAP1 PUSH0 NOT PUSH1 0x1 PUSH1 0x60 SHL DUP5 MULMOD SWAP3 DUP3 DUP1 DUP6 LT SWAP5 SUB SWAP4 DUP1 DUP6 SUB SWAP5 DUP6 DUP5 GT ISZERO PUSH2 0x2D5 JUMPI EQ PUSH2 0x3E83 JUMPI DUP2 SWAP1 PUSH1 0x1 PUSH1 0x60 SHL SWAP1 MULMOD DUP2 DUP1 PUSH0 SUB AND DUP1 SWAP3 DIV PUSH1 0x2 DUP2 PUSH1 0x3 MUL XOR DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 SWAP2 MUL PUSH1 0x2 SUB MUL SWAP4 PUSH1 0x1 DUP4 DUP1 PUSH0 SUB DIV ADD SWAP1 DUP5 DUP4 GT SWAP1 SUB MUL SWAP3 SUB DIV OR MUL SWAP1 JUMP JUMPDEST POP SWAP2 POP DIV SWAP1 JUMP JUMPDEST SWAP2 DUP2 DUP4 MUL SWAP2 PUSH0 NOT DUP2 DUP6 MULMOD SWAP4 DUP4 DUP1 DUP7 LT SWAP6 SUB SWAP5 DUP1 DUP7 SUB SWAP6 DUP7 DUP6 GT ISZERO PUSH2 0x2D5 JUMPI EQ PUSH2 0x3F02 JUMPI SWAP1 DUP3 SWAP2 MULMOD DUP2 DUP1 PUSH0 SUB AND DUP1 SWAP3 DIV PUSH1 0x2 DUP2 PUSH1 0x3 MUL XOR DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 SWAP2 MUL PUSH1 0x2 SUB MUL SWAP4 PUSH1 0x1 DUP4 DUP1 PUSH0 SUB DIV ADD SWAP1 DUP5 DUP4 GT SWAP1 SUB MUL SWAP3 SUB DIV OR MUL SWAP1 JUMP JUMPDEST POP POP SWAP2 POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND SWAP2 AND SUB PUSH1 0xFF DUP2 SWAP1 SAR SWAP1 DUP2 ADD XOR SWAP1 PUSH1 0x1 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH2 0x3F38 DUP4 DUP3 PUSH2 0x3DB7 JUMP JUMPDEST SWAP3 DUP3 PUSH1 0x60 SHL SWAP2 MULMOD ISZERO ISZERO AND ADD SWAP1 JUMP JUMPDEST PUSH2 0x24D5 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 DUP4 AND SWAP2 SWAP1 SWAP3 AND SUB PUSH1 0xFF DUP2 SWAP1 SAR SWAP1 DUP2 ADD XOR SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH2 0x3DB7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND SWAP1 DUP3 AND GT PUSH2 0x3FD8 JUMPI JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP3 DUP4 ISZERO PUSH2 0x3FCC JUMPI PUSH2 0x3FC0 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND SWAP4 SWAP1 SWAP2 SUB AND SWAP1 PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH2 0x40BE JUMP JUMPDEST SWAP1 DUP1 DUP3 MOD ISZERO ISZERO SWAP2 DIV ADD SWAP1 JUMP JUMPDEST PUSH3 0xBFC921 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST SWAP1 PUSH2 0x3F86 JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND SWAP1 DUP4 AND GT PUSH2 0x4036 JUMPI JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SWAP2 DUP3 ISZERO PUSH2 0x3FCC JUMPI PUSH2 0x24D5 SWAP4 PUSH2 0x4031 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND SWAP4 SWAP1 SWAP2 SUB AND SWAP1 PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH2 0x3E8A JUMP JUMPDEST PUSH2 0x32DF JUMP JUMPDEST SWAP1 PUSH2 0x3FF3 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x2D5 JUMPI PUSH28 0x1C1818141808140018080C0814100004181408140C0C100414140C1 PUSH1 0x22 SHL PUSH1 0x1F PUSH16 0x8421084210842108CC6318C6DB6D54BE PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP5 GT PUSH1 0x7 SHL DUP5 DUP2 SHR PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB LT PUSH1 0x6 SHL OR DUP5 DUP2 SHR PUSH4 0xFFFFFFFF LT PUSH1 0x5 SHL OR DUP5 DUP2 SHR PUSH2 0xFFFF LT PUSH1 0x4 SHL OR DUP5 DUP2 SHR PUSH1 0xFF LT PUSH1 0x3 SHL OR SWAP4 DUP5 SHR SHR AND BYTE OR SWAP1 JUMP JUMPDEST SWAP3 SWAP2 SWAP1 PUSH2 0x40CC DUP3 DUP3 DUP7 PUSH2 0x3E8A JUMP JUMPDEST SWAP4 DUP3 ISZERO PUSH2 0x32E9 JUMPI MULMOD PUSH2 0x40DA JUMPI JUMP JUMPDEST SWAP1 PUSH1 0x1 ADD SWAP1 DUP2 ISZERO PUSH2 0x2D5 JUMPI JUMP JUMPDEST SWAP2 SWAP1 DUP2 ISZERO PUSH2 0x413C JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 DUP2 DUP4 MUL SWAP2 PUSH1 0x60 SWAP2 SWAP1 SWAP2 SHL PUSH1 0x1 PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0xE0 SHL SUB AND SWAP1 DUP3 DIV DUP4 EQ DUP3 DUP3 GT AND ISZERO PUSH2 0x412F JUMPI PUSH2 0x24D5 SWAP3 PUSH2 0x3884 SWAP3 DUP3 SUB SWAP2 PUSH2 0x40BE JUMP JUMPDEST PUSH4 0xF5C787F1 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST POP POP SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP2 ISZERO PUSH2 0x413C JUMPI PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0xE0 SHL SUB AND SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP1 DUP3 MUL DUP3 PUSH2 0x4171 DUP4 DUP4 PUSH2 0x32DF JUMP JUMPDEST EQ PUSH2 0x419E JUMPI JUMPDEST POP PUSH2 0x4185 PUSH2 0x418A SWAP3 DUP5 PUSH2 0x32DF JUMP JUMPDEST PUSH2 0x2110 JUMP JUMPDEST DUP1 DUP3 DIV SWAP2 MOD ISZERO ISZERO ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST DUP4 ADD DUP4 DUP2 LT PUSH2 0x4177 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 PUSH2 0x41BC SWAP4 SWAP2 SWAP3 POP PUSH2 0x40BE JUMP JUMPDEST AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP2 SWAP1 DUP3 SUB PUSH2 0x21A5 JUMPI JUMP INVALID 0x27 0xE0 SWAP9 0xC5 SDIV 0xD4 0x4E 0xC3 JUMPI BLOCKHASH DIV 0xBC LOG0 MSTORE 0xAA 0xBF PUSH23 0xBD35004C182099D8C575FB238593B91B3D7EDB2E9C0B0E PUSH29 0x525B20AAAEF0F5940D2ED71663C7D39266ECAFAC728859C090FC468362 0x4C 0xFC CODESIZE DUP5 0xE9 0xD8 0xDE MCOPY 0xCA SGT 0x2F 0x2D 0xE 0xC0 PUSH3 0xAFF75D NUMBER 0xC0 CHAINID TSTORE TLOAD 0xEE 0xAB 0x23 0x1E SMOD GASLIMIT 0xA7 0xDB AND 0x23 SWAP9 0x1F SIGNEXTEND 0x2A TSTORE TIMESTAMP ORIGIN CALLDATASIZE 0x4C STOP PUSH25 0x7266EB75AD546F190E6CEBE9BD957D4B3164C6E45B97E7D87B PUSH18 0x25A44C5828D005AF88F9D751CFD78729C5D9 SWAP11 SIGNEXTEND LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"4714:12900:26:-:0;;;;;;;;;;;;;-1:-1:-1;;4714:12900:26;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;-1:-1:-1;4714:12900:26;;-1:-1:-1;;;;;;4714:12900:26;;;;;;;;;1075:40:138;-1:-1:-1;;1075:40:138;719:4:25;700:24;;4714:12900:26;;;;;;700:24:25;4714:12900:26;;;;;;;-1:-1:-1;4714:12900:26;;;;;;-1:-1:-1;4714:12900:26;;;;;-1:-1:-1;4714:12900:26"},"deployedBytecode":{"functionDebugData":{"abi_decode_address":{"entryPoint":7969,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_address_40210":{"entryPoint":7991,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_addresst_uint256t_uint256":{"entryPoint":8013,"id":null,"parameterSlots":1,"returnSlots":3},"abi_decode_array_bytes32_dyn_calldata":{"entryPoint":8369,"id":null,"parameterSlots":1,"returnSlots":2},"abi_decode_bytes_calldata":{"entryPoint":8324,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_struct_PoolKey":{"entryPoint":8189,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_uint24":{"entryPoint":8171,"id":null,"parameterSlots":0,"returnSlots":1},"abi_encode_address_struct_PoolKey_struct_ModifyLiquidityParams_bytes_calldata":{"entryPoint":9564,"id":null,"parameterSlots":6,"returnSlots":1},"abi_encode_address_struct_PoolKey_struct_ModifyLiquidityParams_userDefinedValueType_BalanceDelta_userDefinedValueType_BalanceDelta_bytes_calldata":{"entryPoint":9643,"id":null,"parameterSlots":8,"returnSlots":1},"abi_encode_address_struct_PoolKey_uint256_uint256_bytes_calldata":{"entryPoint":9370,"id":null,"parameterSlots":7,"returnSlots":1},"abi_encode_address_uint256":{"entryPoint":8477,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_bytes_calldata":{"entryPoint":8563,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_struct_ModifyLiquidityParams":{"entryPoint":9523,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_struct_PoolKey":{"entryPoint":9303,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_struct_SwapParams":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0},"checked_add_int128":{"entryPoint":10645,"id":null,"parameterSlots":2,"returnSlots":1},"checked_add_int256":{"entryPoint":10291,"id":null,"parameterSlots":2,"returnSlots":1},"checked_add_uint256":{"entryPoint":8464,"id":null,"parameterSlots":2,"returnSlots":1},"checked_sub_uint256":{"entryPoint":8451,"id":null,"parameterSlots":2,"returnSlots":1},"finalize_allocation":{"entryPoint":8136,"id":null,"parameterSlots":2,"returnSlots":0},"finalize_allocation_40225":{"entryPoint":8055,"id":null,"parameterSlots":1,"returnSlots":0},"finalize_allocation_40253":{"entryPoint":8082,"id":null,"parameterSlots":1,"returnSlots":0},"finalize_allocation_40256":{"entryPoint":8109,"id":null,"parameterSlots":1,"returnSlots":0},"fun_accountDelta":{"entryPoint":8628,"id":3078,"parameterSlots":3,"returnSlots":0},"fun_accountPoolBalanceDelta":{"entryPoint":9432,"id":3109,"parameterSlots":3,"returnSlots":0},"fun_addDelta":{"entryPoint":12294,"id":5969,"parameterSlots":2,"returnSlots":1},"fun_afterModifyLiquidity":{"entryPoint":9718,"id":5428,"parameterSlots":7,"returnSlots":2},"fun_afterSwap":{"entryPoint":10682,"id":5695,"parameterSlots":7,"returnSlots":2},"fun_balanceOfSelf":{"entryPoint":10178,"id":10924,"parameterSlots":1,"returnSlots":1},"fun_beforeSwap":{"entryPoint":10318,"id":5569,"parameterSlots":5,"returnSlots":3},"fun_callHook":{"entryPoint":10971,"id":5091,"parameterSlots":2,"returnSlots":1},"fun_callHookWithReturnDelta":{"entryPoint":12335,"id":5133,"parameterSlots":3,"returnSlots":1},"fun_checkNotDelegateCall":{"entryPoint":9206,"id":1909,"parameterSlots":0,"returnSlots":0},"fun_checkPoolInitialized":{"entryPoint":9271,"id":7666,"parameterSlots":1,"returnSlots":0},"fun_clearTick":{"entryPoint":11321,"id":7682,"parameterSlots":2,"returnSlots":0},"fun_computeSlot":{"entryPoint":12996,"id":4246,"parameterSlots":2,"returnSlots":1},"fun_flipTick":{"entryPoint":11245,"id":9595,"parameterSlots":3,"returnSlots":0},"fun_getAmount0Delta":{"entryPoint":12241,"id":8592,"parameterSlots":3,"returnSlots":1},"fun_getAmount0Delta_40418":{"entryPoint":16242,"id":8493,"parameterSlots":3,"returnSlots":1},"fun_getAmount0Delta_40419":{"entryPoint":16350,"id":8493,"parameterSlots":3,"returnSlots":1},"fun_getAmount1Delta":{"entryPoint":12166,"id":8635,"parameterSlots":3,"returnSlots":1},"fun_getAmount1Delta_40416":{"entryPoint":16138,"id":8549,"parameterSlots":3,"returnSlots":1},"fun_getAmount1Delta_40417":{"entryPoint":16198,"id":8549,"parameterSlots":3,"returnSlots":1},"fun_getInitialLPFee":{"entryPoint":10149,"id":5905,"parameterSlots":1,"returnSlots":1},"fun_getNextSqrtPriceFromAmount0RoundingUp":{"entryPoint":16705,"id":8274,"parameterSlots":3,"returnSlots":1},"fun_getNextSqrtPriceFromAmount0RoundingUp_40426":{"entryPoint":16615,"id":8274,"parameterSlots":3,"returnSlots":1},"fun_getSqrtPriceAtTick":{"entryPoint":11353,"id":10190,"parameterSlots":1,"returnSlots":1},"fun_getTickAtSqrtPrice":{"entryPoint":12418,"id":10330,"parameterSlots":1,"returnSlots":1},"fun_isValidHookAddress":{"entryPoint":9972,"id":5035,"parameterSlots":2,"returnSlots":1},"fun_mostSignificantBit":{"entryPoint":16444,"id":4211,"parameterSlots":1,"returnSlots":1},"fun_mulDiv":{"entryPoint":16010,"id":4597,"parameterSlots":3,"returnSlots":1},"fun_mulDivRoundingUp":{"entryPoint":16574,"id":4635,"parameterSlots":3,"returnSlots":1},"fun_mulDiv_40234":{"entryPoint":15618,"id":4597,"parameterSlots":2,"returnSlots":1},"fun_mulDiv_40430":{"entryPoint":15691,"id":4597,"parameterSlots":2,"returnSlots":1},"fun_mulDiv_40437":{"entryPoint":15799,"id":4597,"parameterSlots":2,"returnSlots":1},"fun_mulDiv_40456":{"entryPoint":15872,"id":4597,"parameterSlots":2,"returnSlots":1},"fun_settle":{"entryPoint":9075,"id":3031,"parameterSlots":1,"returnSlots":1},"fun_sub":{"entryPoint":12367,"id":10587,"parameterSlots":2,"returnSlots":1},"fun_swap":{"entryPoint":13053,"id":7343,"parameterSlots":2,"returnSlots":4},"fun_toInt128":{"entryPoint":8595,"id":8144,"parameterSlots":1,"returnSlots":1},"fun_toInt128_8087":{"entryPoint":9629,"id":8087,"parameterSlots":1,"returnSlots":1},"fun_toUint160":{"entryPoint":16832,"id":8006,"parameterSlots":1,"returnSlots":1},"fun_transfer":{"entryPoint":8752,"id":10890,"parameterSlots":3,"returnSlots":0},"fun_validate":{"entryPoint":9487,"id":5883,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_269d":{"entryPoint":8504,"id":null,"parameterSlots":1,"returnSlots":0},"wrapping_div_uint256":{"entryPoint":13023,"id":null,"parameterSlots":2,"returnSlots":1}},"generatedSources":[],"immutableReferences":{"1879":[{"length":32,"start":9208}]},"linkReferences":{},"object":"60a0806040526004361015610012575f80fd5b5f3560e01c908162fdd58e14611ee25750806301ffc9a714611e8c578063095bcdb614611e0f5780630b0d9c0914611db457806311da60b414611d8a578063156e29f614611d055780631e2eaeaf14611ce9578063234266d714611af25780632d77138914611a8057806335fd631a14611a2a5780633dd45adb146119f7578063426a84931461197d57806348c89491146117e65780635275965114611742578063558a7297146116b0578063598af9e7146116565780635a6bcfda14610da55780636276cbbe14610ae75780637e87ce7d14610a1757806380f0b44c146109a85780638161b874146108db5780638da5cb5b146108b457806397e8cd4e1461087c5780639bf6645f1461082f578063a5841194146107c8578063b6363cf214610771578063dbd035ff1461071b578063f02de3b2146106f3578063f135baaa146106d7578063f2fde38b14610663578063f3cd914c146103fc578063f5298aca146102d95763fe99049a14610186575f80fd5b346102d55760803660031901126102d55761019f611f21565b6101a7611f37565b60443591606435916001600160a01b03909116905f805160206141f5833981519152906102399033841415806102b2575b610247575b835f52600460205260405f20865f5260205260405f206101fe868254612103565b905560018060a01b031693845f52600460205260405f20865f5260205260405f2061022a828254612110565b9055604051918291338361211d565b0390a4602060405160018152f35b5f84815260056020908152604080832033845282528083208984529091529020548560018201610279575b50506101dd565b61028291612103565b845f52600560205260405f2060018060a01b0333165f5260205260405f20875f5260205260405f20555f85610272565b505f84815260036020908152604080832033845290915290205460ff16156101d8565b5f80fd5b346102d5576102e736611f4d565b5f805160206142158339815191525c156103ed575f805160206141f58339815191526103655f9360018060a01b03169461032b61032385612193565b3390886121b4565b6001600160a01b03169233841415806103cb575b61036a575b8385526004602052604085208686526020526040852061022a828254612103565b0390a4005b8385526005602090815260408087203388528252808720888852909152852054818619820361039b575b5050610344565b6103a491612103565b84865260056020908152604080882033895282528088208989529091528620558681610394565b5083855260036020908152604080872033885290915285205460ff161561033f565b6354e3ca0d60e01b5f5260045ffd5b346102d5576101203660031901126102d55761041736611ffd565b60603660a31901126102d5576040519061043082611f92565b60a43580151581036102d557825260c435602083019081529060e435906001600160a01b03821682036102d55760408401918252610104356001600160401b0381116102d557610484903690600401612084565b9290935f805160206142158339815191525c156103ed576104a36123f6565b51156106545760a0822092835f52600660205260405f20906104c482612437565b60808401958482828a600160a01b600190038b5116936104e39461284e565b90949195606088015160020b908b51151590600160a01b60019003905116916040519861050f8a611fad565b895260208901526040880152606087015262ffffff166080860152885115155f149862ffffff6105fb986105586105e89860209d610641578a516001600160a01b0316956132fd565b949296829192610622575b505060018060a01b03845116938e60018060801b0360408301511691015160020b90604051958860801d600f0b875288600f0b60208801526040870152606086015260808501521660a08301527f40e9cecb9f5f1f1c5b9c97dec2917b7ee92e57ba5563708daca94dd84ad7112f60c03393a3885187906001600160a01b03166129ba565b80949194610603575b50508233916124d8565b604051908152f35b905161061b916001600160a01b0390911690836124d8565b84806105f1565b60018060a01b03165f5260018f5260405f209081540190558e80610563565b8a8e01516001600160a01b0316956132fd565b63be8b850760e01b5f5260045ffd5b346102d55760203660031901126102d55761067c611f21565b5f5490610693336001600160a01b03841614612138565b6001600160a01b03166001600160a01b03199190911681175f90815533907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b346102d55760203660031901126102d5576004355c5f5260205ff35b346102d5575f3660031901126102d5576002546040516001600160a01b039091168152602090f35b346102d557610729366120b1565b6040519160408360208152836020820152019160051b8301916020806040850193925b833554815201910190848382101561076857506020809161074c565b60408186030190f35b346102d55760403660031901126102d55761078a611f21565b610792611f37565b9060018060a01b03165f52600360205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b346102d55760203660031901126102d5576107e1611f21565b6001600160a01b03811690816108055750505f5f805160206141d58339815191525d005b61080e906127c2565b905f805160206141d58339815191525d5f805160206142358339815191525d005b346102d55761083d366120b1565b6040519160408360208152836020820152019160051b8301916020806040850193925b83355c8152019101908483821015610768575060208091610860565b346102d55760203660031901126102d5576001600160a01b0361089d611f21565b165f526001602052602060405f2054604051908152f35b346102d5575f3660031901126102d5575f546040516001600160a01b039091168152602090f35b346102d55760603660031901126102d5576108f4611f21565b6108fc611f37565b600254604435906001600160a01b03163303610999576001600160a01b03821680151580610979575b61096a576020936105fb92806109625750815f526001855260405f20549384925b5f526001865260405f2061095b848254612103565b9055612230565b938492610946565b6318f3cb2960e31b5f5260045ffd5b505f805160206141d58339815191525c6001600160a01b03168114610925565b6348f5c3ed60e01b5f5260045ffd5b346102d55760403660031901126102d5576109c1611f21565b5f805160206142158339815191525c156103ed576109df81336132c4565b5c6109eb602435612193565b9081600f0b03610a0857610a069133915f03600f0b906121b4565b005b63bda73abf60e01b5f5260045ffd5b346102d55760c03660031901126102d557610a3136611ffd565b610a39611feb565b6002549091906001600160a01b0316330361099957623e900062fff0008316106103e9610fff8416101615610acf57602060a07fe9c42593e71f84403b84352cd168d693e2c9fcd1fdbcc3feb21d92b43e6696f9922092835f526006825260405f20610aa481612437565b805462ffffff60b81b191660b883901b62ffffff60b81b1617905560405162ffffff919091168152a2005b62ffffff8263a7abe2f760e01b5f521660045260245ffd5b346102d55760c03660031901126102d557610b0136611ffd565b60a435906001600160a01b0382168083036102d557610b1e6123f6565b6060820191825160020b617fff8113610d935750825160020b60018112610d815750805160208201805190916001600160a01b03908116911680821015610d63575050608082019060018060a01b03825116906040840191610b8662ffffff845116826126f4565b15610d515750610b9b62ffffff8351166127a5565b83519097906001600160a01b0381169033829003610cfe575b505060a085205f8181526006602052604090208054919290916001600160a01b0316610cef576020997fdd466e674ea557f56295e2d0218a125ea4b4f0f6f3307b95f85e6110838d643892610c0a60a093613082565b9162ffffff60d01b9060d01b168a62ffffff851b84861b161717905562ffffff600180841b0389511695600180851b03905116965116995160020b600180841b03885116906040519b8c528c8c015260408b01528860608b015260020b98896080820152a4516001600160a01b0381169033829003610c8e575b8585604051908152f35b61100016610c9d575b80610c84565b610ce692610cc460405193636fe7e6eb60e01b888601523360248601526044850190612457565b60e4830152836101048301526101048252610ce161012483611fc8565b612adb565b50828080610c97565b637983c05160e01b5f5260045ffd5b61200016610d0d575b80610bb4565b604051636e4c1aa760e11b6020820152336024820152610d4a91610d346044830189612457565b8860e483015260e48252610ce161010483611fc8565b5088610d07565b630732d7b560e51b5f5260045260245ffd5b60449250604051916306e6c98360e41b835260048301526024820152fd5b631d3d20b160e31b5f5260045260245ffd5b6316e0049f60e31b5f5260045260245ffd5b346102d5576101403660031901126102d557610dc036611ffd565b60803660a31901126102d55760405190610dd982611f77565b60a4358060020b81036102d557825260c4358060020b81036102d557602083015260e4356040830152610104356060830152610124356001600160401b0381116102d557610e2b903690600401612084565b90925f805160206142158339815191525c156103ed57610e496123f6565b60a0832093845f52600660205260405f20608052610e68608051612437565b60808401516001600160a01b03811690338290036115a1575b5050815160020b92602083015160020b91610e9f604085015161259d565b60608781015190860151604051999296929160020b60c08b016001600160401b0381118c82101761158d57604052338b528860208c01528660408c015287600f0b60608c015260808b015260a08a01525f918588121561156f57620d89e719881261155c57620d89e886136115495760405192610f1b84611f77565b5f84525f60208501525f60408501525f606085015287600f0b611312575b600460805101978960020b5f528860205260405f20988860020b5f5260205260405f206080515460a01c60020b8b81125f146112bc575060028060018c0154600184015490039b015491015490039b5b60a0600180821b03825116910151906040519160268301528960068301528b600383015281525f603a600c83012091816040820152816020820152525f5260066080510160205260405f209760018060801b038954169982600f0b155f1461127d578a1561126e5761103561102f60409f9b6110f49c6111069e5b6001830195611027600261101b848a548503613d02565b95019283548503613d02565b965555612193565b91612193565b60018060801b03169060801b179a8b965f84600f0b12611236575b5082600f0b611133575b5050506110806110718560801d8360801d0161259d565b9185600f0b90600f0b0161259d565b60018060801b03169060801b1791815160020b90602083015160020b8c8401516060850151918e5194855260208501528d84015260608301527ff208f4912782fd25c7f114ca3723a2d5dd6f3bcc3ac8db5af63baa85f711d5ec60803393a3608089015189906001600160a01b03166125f6565b80949194611112575b508333916124d8565b82519182526020820152f35b608082015161112d916001600160a01b0390911690836124d8565b856110fd565b6080515492935090916001600160a01b0381169060a01c60020b8281121561118c575050906111809261117561116b61117b94612c59565b91600f0b92612c59565b90612fd1565b61259d565b60801b5b8b808061105a565b92809193125f1461120c576111cb916111b861117b61117b936111b288600f0b91612c59565b87612fd1565b936111c686600f0b92612c59565b612f86565b6080805160030180549390911b6001600160801b03928316179390926111f691600f0b908316613006565b82546001600160801b0319169116179055611184565b9061117b92509261122261116b61122895612c59565b90612f86565b6001600160801b0316611184565b808f915161125d575b015161124c575b8e611050565b61125882608051612c39565b611246565b61126983608051612c39565b61123f565b632bbfae4960e21b5f5260045ffd5b60409d6111069b6110f49b6110359261102f926001600160801b036112a6600f8a900b83613006565b84546001600160801b0319169116178355611004565b90999089136112e25760028060018c0154600184015490039b015491015490039b610f89565b9860026001608051015460018c01549003600183015490039a81806080510154910154900391015490039b610f89565b6004608051018960020b5f5280602052898960405f2061136a815461134360018060801b03821694600f0b85613006565b6001600160801b03168015941594851415959094611515575b508d600f0b9060801d612995565b60801b82179055602087015285528760020b5f5260205260405f2080549060018060801b0382169061139f8b600f0b83613006565b91156001600160801b0383161581141593906114e8575b600f8c810b60809290921d900b0360016001607f1b0319811260016001607f1b038213176114d45760801b6001600160801b03929092169182179055606086015260408501525f600f89900b1215611452575b8351611436575b604084015115610f395761143160808c015160020b88600560805101612bed565b610f39565b61144d60808c015160020b8a600560805101612bed565b611410565b60808b015160020b60018060801b03602086015116906001808060801b03915f81620d89e719071281620d89e719050390620d89e805030160018060801b0304168091116114c15760608501516001600160801b03161115611409578663b8e3c38560e01b5f5260045260245ffd5b8963b8e3c38560e01b5f5260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b6080515460a01c60020b8b136113b6576001608051015460018301556002608051015460028301556113b6565b6080515460a01c60020b121561152c575b8e61135c565b600160805101546001840155600260805101546002840155611526565b8563035aeeff60e31b5f5260045260245ffd5b8763d5e2f7ab60e01b5f5260045260245ffd5b604488876040519163c4433ed560e01b835260048301526024820152fd5b634e487b7160e01b5f52604160045260245ffd5b5f604085015113808091611649575b156115f757505060405163259982e560e01b60208201526115ee91610ce1826115e08887898c336024870161255c565b03601f198101845283611fc8565b505b8580610e81565b15908161163b575b5061160b575b506115f0565b60405163021d0ee760e41b602082015261163491610ce1826115e08887898c336024870161255c565b5085611605565b6102009150161515876115ff565b50610800821615156115b0565b346102d55760603660031901126102d55761166f611f21565b611677611f37565b6001600160a01b039182165f90815260056020908152604080832094909316825292835281812060443582528352819020549051908152f35b346102d55760403660031901126102d5576116c9611f21565b602435908115158092036102d557335f52600360205260405f2060018060a01b0382165f5260205260405f2060ff1981541660ff841617905560405191825260018060a01b0316907fceb576d9f15e4e200fdb5096d64d5dfd667e16def20c1eefd14256d8e3faa26760203392a3602060405160018152f35b346102d55760c03660031901126102d55761175c36611ffd565b611764611feb565b906280000062ffffff604083015116148015906117cf575b6117c05760a09061178c8361250f565b205f52600660205260405f20906117a282612437565b815462ffffff60d01b191660d09190911b62ffffff60d01b16179055005b6330d2164160e01b5f5260045ffd5b5060808101516001600160a01b031633141561177c565b346102d55760203660031901126102d5576004356001600160401b0381116102d557611816903690600401612084565b5f805160206142158339815191525c61196e57611863915f9160015f805160206142158339815191525d6040516348eeb9a360e11b81526020600482015293849283926024840191612173565b038183335af1908115611963575f916118db575b505f805160206142558339815191525c6118cc5760406020915f5f805160206142158339815191525d815192839181835280519182918282860152018484015e5f828201840152601f01601f19168101030190f35b635212cba160e01b5f5260045ffd5b90503d805f833e6118ec8183611fc8565b8101906020818303126102d5578051906001600160401b0382116102d5570181601f820112156102d5578051906001600160401b03821161158d576040519261193f601f8401601f191660200185611fc8565b828452602083830101116102d557815f9260208093018386015e8301015281611877565b6040513d5f823e3d90fd5b6328486b6360e11b5f5260045ffd5b346102d55761198b36611f4d565b9091335f52600560205260405f2060018060a01b0382165f5260205260405f20835f526020528160405f205560405191825260018060a01b0316907fb3fd5071835887567a0671151121894ddccc2842f1d10bedad13e0d17cace9a760203392a4602060405160018152f35b60203660031901126102d557611a0b611f21565b5f805160206142158339815191525c156103ed576105fb602091612373565b346102d55760403660031901126102d5576024356004356040519160408360208152826020820152019060051b8301916001602060408501935b8354815201910190848382101561076857506020600191611a64565b346102d55760203660031901126102d557611a99611f21565b611aad60018060a01b035f54163314612138565b600280546001600160a01b0319166001600160a01b039290921691821790557fb4bd8ef53df690b9943d3318996006dbb82a25f54719d8c8035b516a2a5b8acc5f80a2005b346102d5576101003660031901126102d557611b0d36611ffd565b60c4359060a43560e4356001600160401b0381116102d557611b33903690600401612084565b9190935f805160206142158339815191525c156103ed57611b526123f6565b60a0842094855f52600660205260405f2094611b6d86612437565b6080810180516001600160a01b0381169033829003611caa575b505060038701546001600160801b0316978815611c9b57602098611baa87612193565b5f03611bb587612193565b5f0360018060801b03169060801b179887611c87575b86611c72575b5050611bde3389856124d8565b60405190868252858a8301527f29ef05caaff9404b7cb6d1c0e9bbae9eaa7ab2541feba1a9c4248594c08156cb60403393a3516001600160a01b038116939033859003611c30575b8888604051908152f35b601016611c3e575b80611c26565b611c6695610ce1936115e09260405197889563e1b4af6960e01b8d880152336024880161249a565b50828080808080611c38565b600201908660801b0481540190558980611bd1565b60018101828960801b048154019055611bcb565b63a74f97ab60e01b5f5260045ffd5b602016611cb8575b80611b87565b604051635b54587d60e11b6020820152611ce291610ce1826115e08b898b8d8b336024880161249a565b5088611cb2565b346102d55760203660031901126102d557600435545f5260205ff35b346102d557611d1336611f4d565b905f805160206142158339815191525c156103ed576001600160a01b0316915f905f805160206141f58339815191529061036590611d60611d5386612193565b8503600f0b3390886121b4565b60018060a01b0316938484526004602052604084208685526020526040842061022a828254612110565b5f3660031901126102d5575f805160206142158339815191525c156103ed5760206105fb33612373565b346102d55760603660031901126102d557611dcd611f21565b611dd5611f37565b604435905f805160206142158339815191525c156103ed57610a0692611e0a611dfd84612193565b5f03600f0b3390836121b4565b612230565b346102d557611e1d36611f4d565b9091335f52600460205260405f20835f5260205260405f20611e40838254612103565b905560018060a01b031690815f52600460205260405f20835f5260205260405f20611e6c828254612110565b90555f805160206141f5833981519152604051806102393394338361211d565b346102d55760203660031901126102d55760043563ffffffff60e01b81168091036102d5576020906301ffc9a760e01b8114908115611ed1575b506040519015158152f35b630f632fb360e01b14905082611ec6565b346102d55760403660031901126102d5576020906001600160a01b03611f06611f21565b165f526004825260405f206024355f52825260405f20548152f35b600435906001600160a01b03821682036102d557565b602435906001600160a01b03821682036102d557565b60609060031901126102d5576004356001600160a01b03811681036102d557906024359060443590565b608081019081106001600160401b0382111761158d57604052565b606081019081106001600160401b0382111761158d57604052565b60a081019081106001600160401b0382111761158d57604052565b601f909101601f19168101906001600160401b0382119082101761158d57604052565b60a4359062ffffff821682036102d557565b60a09060031901126102d5576040519061201682611fad565b816004356001600160a01b03811681036102d55781526024356001600160a01b03811681036102d557602082015260443562ffffff811681036102d55760408201526064358060020b81036102d5576060820152608435906001600160a01b03821682036102d55760800152565b9181601f840112156102d5578235916001600160401b0383116102d557602083818601950101116102d557565b9060206003198301126102d5576004356001600160401b0381116102d557826023820112156102d5576004810135926001600160401b0384116102d55760248460051b830101116102d5576024019190565b919082039182116114d457565b919082018092116114d457565b6001600160a01b039091168152602081019190915260400190565b1561213f57565b60405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b6044820152606490fd5b908060209392818452848401375f828201840152601f01601f1916010190565b6001607f1b8110156121a557600f0b90565b6393dafdf160e01b5f5260045ffd5b9190600f0b91821561222b576121c9916132c4565b6121d5815c9283612833565b80915d61220157505f195f805160206142558339815191525c015f805160206142558339815191525d5b565b1561220857565b60015f805160206142558339815191525c015f805160206142558339815191525d565b505050565b9091906001600160a01b03811690816122be5750505f80808093855af1156122555750565b6040516390bfb86560e01b81526001600160a01b0390911660048201525f602482018190526080604483015260a03d601f01601f191690810160648401523d6084840152903d9060a484013e808201600460a482015260c4633d2cec6f60e21b91015260e40190fd5b60205f604481949682604095865198899363a9059cbb60e01b855260018060a01b0316600485015260248401525af13d15601f3d1160018551141617169282815282602082015201521561230f5750565b6040516390bfb86560e01b8152600481019190915263a9059cbb60e01b602482015260806044820152601f3d01601f191660a0810160648301523d60848301523d5f60a484013e808201600460a482015260c4633c9fd93960e21b91015260e40190fd5b5f805160206141d58339815191525c91906001600160a01b0383166123a8576121ff9034935b6123a285612193565b906121b4565b346123e7576121ff906123d15f805160206142358339815191525c6123cc866127c2565b612103565b935f5f805160206141d58339815191525d612399565b635876424f60e11b5f5260045ffd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316300361242857565b6306c4a1c760e11b5f5260045ffd5b546001600160a01b03161561244857565b63486aa30760e01b5f5260045ffd5b80516001600160a01b03908116835260208083015182169084015260408083015162ffffff169084015260608083015160020b9084015260809182015116910152565b91926124bd610120946124d598969360018060a01b031685526020850190612457565b60c083015260e0820152816101008201520191612173565b90565b906121ff92916124f68360018060a01b038351168460801d906121b4565b60200151600f9190910b906001600160a01b03166121b4565b62ffffff16620f424081116125215750565b631400211360e01b5f5260045260245ffd5b60608091805160020b8452602081015160020b6020850152604081015160408501520151910152565b6001600160a01b0390911681526124d594926101609261258f9190612585906020850190612457565b60c0830190612533565b816101408201520191612173565b9081600f0b9182036121a557565b926125dc906125d26124d59997946101a0979460018060a01b031687526020870190612457565b60c0850190612533565b610140830152610160820152816101808201520191612173565b939590919296945f9660018060a01b03861633146126e957885f6040870151135f1461269157610400871661262f575b50505050505050565b612684979998509261267d9695949261266392612671956040519788966327c18fbf60e21b602089015233602489016125ab565b03601f198101835282611fc8565b6002821615159161302f565b809261304f565b915f808080808080612626565b95949392919061010086166126a95750505050505050565b61268497995086985091612663916126dd949361267d98604051978896633615df3f60e11b602089015233602489016125ab565b6001821615159161302f565b505f96505050505050565b608081161580612799575b61276f5760408116158061278d575b61276f5761040081161580612781575b61276f5761010081161580612775575b61276f576001600160a01b03811661274f575062ffffff1662800000141590565b613fff161590811591612760575090565b62800000915062ffffff161490565b50505f90565b5060018116151561272e565b5060028116151561271e565b5060048116151561270e565b506008811615156126ff565b6280000062ffffff8216146127bd576124d58161250f565b505f90565b6001600160a01b0316806127d557504790565b6020602491604051928380926370a0823160e01b82523060048301525afa908115611963575f91612804575090565b90506020813d60201161282b575b8161281f60209383611fc8565b810103126102d5575190565b3d9150612812565b9190915f83820193841291129080158216911516176114d457565b6020830151955f958695919491336001600160a01b03851614612988576080841661287b575b5050505050565b6128f3926126636128ed926128d9946040519586946315d7892d60e21b60208701523360248701526128b0604487018c612457565b8051151560e48701526020810151610104870152604001516001600160a01b0316610124860152565b610140610144850152610164840191612173565b82612adb565b916060835103612979576040015162ffffff16628000001461296d575b600816612921575b80808080612874565b604001519250608083901d600f0b801561291857612942905f861295612833565b9315612965575f84135b612956575f612918565b637d05b8eb60e11b5f5260045ffd5b5f841261294c565b60608201519350612910565b631e048e1d60e01b5f5260045ffd5b505f965086955050505050565b600f91820b910b019060016001607f1b0319821260016001607f1b038313176114d457565b91969592949293336001600160a01b03841614612ace578460801d94600f0b938860408516612a59575b50505050505f9481600f0b15801590612a4d575b612a04575b5050509190565b612a319395505f60208201511290511515145f14612a395760018060801b03169060801b175b809361304f565b5f80806129fd565b60801b6001600160801b0390911617612a2a565b5082600f0b15156129f8565b612ab2612abe9461266361117b95612ac4999895612a976128b09660405197889663b47b2fb160e01b60208901523360248901526044880190612457565b8c610144850152610160610164850152610184840191612173565b6004821615159161302f565b90612995565b5f808080886129e4565b5050505050909150905f90565b9190918251925f8060208301958682865af115612b4357505060405191601f19603f3d011683016040523d83523d9060208401915f833e6020845110918215612b27575b505061297957565b5190516001600160e01b03199182169116141590505f80612b1f565b5183516001600160e01b03198116919060048210612bcd575b50506040516390bfb86560e01b81526001600160a01b0390921660048301526001600160e01b03191660248201526080604482015260a03d601f01601f191690810160648301523d60848301523d5f60a484013e808201600460a482015260c463a9e35b2f60e01b91015260e40190fd5b6001600160e01b031960049290920360031b82901b161690508280612b5c565b919060020b9060020b90818107612c1b5705908160081d5f52602052600160ff60405f2092161b8154189055565b601c906044926040519163d4d8f3e683526020830152604082015201fd5b60049160020b5f52016020525f6002604082208281558260018201550155565b60020b908160ff1d82810118620d89e88111612f735763ffffffff9192600182167001fffcb933bd6fad37aa2d162d1a59400102600160801b189160028116612f57575b60048116612f3b575b60088116612f1f575b60108116612f03575b60208116612ee7575b60408116612ecb575b60808116612eaf575b6101008116612e93575b6102008116612e77575b6104008116612e5b575b6108008116612e3f575b6110008116612e23575b6120008116612e07575b6140008116612deb575b6180008116612dcf575b620100008116612db3575b620200008116612d98575b620400008116612d7d575b6208000016612d64575b5f12612d5c575b0160201c90565b5f1904612d55565b6b048a170391f7dc42444e8fa290910260801c90612d4e565b6d2216e584f5fa1ea926041bedfe9890920260801c91612d44565b916e5d6af8dedb81196699c329225ee6040260801c91612d39565b916f09aa508b5b7a84e1c677de54f3e99bc90260801c91612d2e565b916f31be135f97d08fd981231505542fcfa60260801c91612d23565b916f70d869a156d2a1b890bb3df62baf32f70260801c91612d19565b916fa9f746462d870fdf8a65dc1f90e061e50260801c91612d0f565b916fd097f3bdfd2022b8845ad8f792aa58250260801c91612d05565b916fe7159475a2c29b7443b29c7fa6e889d90260801c91612cfb565b916ff3392b0822b70005940c7a398e4b70f30260801c91612cf1565b916ff987a7253ac413176f2b074cf7815e540260801c91612ce7565b916ffcbe86c7900a88aedcffc83b479aa3a40260801c91612cdd565b916ffe5dee046a99a2a811c461f1969c30530260801c91612cd3565b916fff2ea16466c96a3843ec78b326b528610260801c91612cca565b916fff973b41fa98c081472e6896dfb254c00260801c91612cc1565b916fffcb9843d60f6159c9db58835c9266440260801c91612cb8565b916fffe5caca7e10e4e61c3624eaa0941cd00260801c91612caf565b916ffff2e50f5f656932ef12357cf3c7fdcc0260801c91612ca6565b916ffff97272373d413259a46990580e213a0260801c91612c9d565b826345c3193d60e11b5f5260045260245ffd5b905f83600f0b125f14612fb257612fa8925f036001600160801b031691613f46565b5f81126121a55790565b612fc5926001600160801b031691613f0a565b5f81126121a5575f0390565b905f83600f0b125f14612ff357612fa8925f036001600160801b031691613fde565b612fc5926001600160801b031691613f72565b6001600160801b0316600f9190910b0190608082901c61302257565b6393dafdf15f526004601cfd5b9061303991612adb565b90156127bd576040815103612979576040015190565b613072906130648360801d8260801d0361259d565b92600f0b90600f0b0361259d565b60018060801b03169060801b1790565b73fffd8963efd1fc6a506488495d951d51639616826401000276a21982016001600160a01b0316116132a457693627a301d71055774c85602082901b600160201b600160c01b03168060ff6130d68261403c565b1691608083106132985750607e1982011c5b800280607f1c8160ff1c1c800280607f1c8160ff1c1c800280607f1c8160ff1c1c800280607f1c8160ff1c1c800280607f1c8160ff1c1c800280607f1c8160ff1c1c80029081607f1c8260ff1c1c80029283607f1c8460ff1c1c80029485607f1c8660ff1c1c80029687607f1c8860ff1c1c80029889607f1c8a60ff1c1c80029a8b607f1c8c60ff1c1c80029c8d80607f1c9060ff1c1c600160321b90800260cd1c169d600160331b9060cc1c169c600160341b9060cb1c169b600160351b9060ca1c169a600160361b9060c91c1699600160371b9060c81c1698600160381b9060c71c1697600160391b9060c61c16966001603a1b9060c51c16956001603b1b9060c41c16946001603c1b9060c31c16936001603d1b9060c21c16926001603e1b9060c11c16916001603f1b9060c01c1690607f190160401b1717171717171717171717171717026fdb2df09e81959a81455e260799a0632f6f028f6481ab7f045a5af012a19d003aa919820160801d60020b910160801d60020b918282145f146132745750905090565b6001600160a01b039081169061328984612c59565b1611613293575090565b905090565b905081607f031b6130e8565b6318521d4960e21b5f9081526001600160a01b0391909116600452602490fd5b6001600160a01b039081165f90815291166020526040902090565b81156132e9570490565b634e487b7160e01b5f52601260045260245ffd5b6040519290915f61330d85611f92565b5f855260208501925f845260408601955f875280968654956040860151159586155f14613cf457610fff8860b81c16945b81516001600160a01b038a1680875260a08b901c60020b90945260038b01546001600160801b031690945260808201515f94939062400000811615613ce55762bfffff1661338b8161250f565b61ffff8816613cca575b8096620f424062ffffff83161015613cb2575b845115613c9c57505088613c54576060830180519091906001600160a01b031681811015613c36575050516001600160a01b03166401000276a3811115613c2457505b604051986101008a016001600160401b0381118b82101761158d576040525f8a525f60208b01525f60408b01525f60608b01525f60808b01525f60a08b01525f60c08b015288155f14613c165760018b0154949390945b60e08b01525b80158015613bfb575b613b145760018060a01b038c51168a528a60208d015160020b602085015160020b90815f818307129105038b155f14613a2157600560ff8216938260020b60081d60010b5f520160205260405f205f198460ff031c9054169283151593845f14613a0f57906134c160ff9261403c565b90031660020b900360020b0260020b5b905b151560408c015260020b8060208c0152620d89e7191215613a00575b620d89e860208b015160020b12156139f2575b858c8b8b6001808060a01b0361351e602085015160020b612c59565b16806060850152818060a01b0385511692828060a01b0360608b0151169283911516818310189118021892604060018060801b03910151169060018060a01b038416811015915f87125f146138ca5762ffffff8616620f42400361358481895f03613d4b565b9584156138b957613596838583613f72565b965b87811061381557509660c093929188919062ffffff8216620f424003613801575050865b945b156137f357916135cd92613f46565b925b015260a08d015260808c01526001600160a01b03168c5282515f12156137c35760a08a0151905f82126121a557039261361160808b015160c08c015190612110565b5f81126121a55781039081136001166114d457935b61ffff871661377b575b60408c01516001600160801b031680613761575b508b5160608b01516001600160a01b0391821691168103613732575060408a015161369b575b8861368e575f1960208b015160020b0160020b5b60020b60208d01525b9392613448565b60208a015160020b61367e565b88613717578b6137028c8c600460e08201519260206002820154935b015160020b60020b5f520160205260405f2091600183019081549003905560028201908154900390555460801d8b1561370d575b6040909201516001600160801b0392908316613006565b1660408d015261366a565b5f03600f0b6136eb565b8b6137028c8c6004600183015492602060e0840151936136b7565b8a516001600160a01b0316810361374a575b50613687565b61375390613082565b60020b60208d01525f613744565b60c08b015160801b0460e08b01510160e08b01525f613644565b9662ffffff861661ffff8816036137a65760c08a0151905b8160c08c01510360c08c01520196613630565b620f424060808b015161ffff89169060c08d015101020490613793565b60808a015160c08b015101905f82126121a557019260a08a01515f81126121a5576137ed91612833565b93613626565b6137fc92613fde565b6135cd565b62ffffff6138109216896140be565b6135bc565b9750505093509150839280158315176138ac578e9260c091831561384a5761383e878284614141565b809789015f03946135be565b6001600160a01b03871161388e576138896138846138756001600160801b03841660608b901b6132df565b6001600160a01b038516612110565b6141c0565b61383e565b6138896138846138a76001600160801b0384168a613e00565b613875565b634f2461b85f526004601cfd5b6138c4838286613f0a565b96613598565b919450915083156139e1576138e0818385613f46565b925b83861061392c5780945b1561391d57916138fb92613f72565b905b8c60c061391762ffffff8c16620f424081900390866140be565b916135cf565b61392692613f0a565b906138fd565b5084925081158115176138ac5783156139d1576001600160a01b038511613999576001600160801b038116606086901b8181049190061515015b6001600160a01b038316908082111561398c5790036001600160a01b03165b80946138ec565b634323a5555f526004601cfd5b6001600160801b0381166139b281600160601b88613e8a565b9080156132e957600160601b8709156139665760010180613966575f80fd5b6139dc8582846140e7565b613985565b6139ec818484613fde565b926138e2565b620d89e860208b0152613502565b620d89e71960208b01526134ef565b5060020b900360020b0260020b6134d1565b6001018060020b9060058160ff16948360081d60010b5f520160205260405f2090600160ff5f1992161b0119905416801593841594855f14613afc576102d5578160ff925f03167e1f0d1e100c1d070f090b19131c1706010e11080a1a141802121b1503160405601f6101e07f804040554300526644320000502061067405302602000010750620017611707760fc7fb6db6db6ddddddddd34d34d349249249210842108c6318c639ce739cffffffff860260f81c161b60f71c1692831c63d76453e004161a17031660020b0160020b0260020b5b906134d3565b5060ff809250031660020b0160020b0260020b613af6565b949891955099969298919598602088015160a01b62ffffff60a01b1660018060a01b038951169160018060b81b0319161717825560018060801b0360038301541660018060801b03604089015116809103613bd3575b508215613bc45760e060029101519101555b825190155f821214613bae5750613b96613b9e929361259d565b92510361259d565b60018060801b03169060801b1793565b613b9e925090613bbe910361259d565b9161259d565b60e06001910151910155613b7c565b6003830180546001600160801b0319166001600160801b03929092169190911790555f613b6a565b508b5160608401516001600160a01b03908116911614613451565b60028b015494939094613442565b639e4d7cc760e01b5f5260045260245ffd5b6044925060405191637c9c6e8f60e01b835260048301526024820152fd5b6060830180519091906001600160a01b031681811115613c36575050516001600160a01b031673fffd8963efd1fc6a506488495d951d5263988d26811015613c2457506133eb565b9a509a50509950505050505050505f925f929190565b5f855113156133a857634b10312360e11b5f5260045ffd5b62ffffff610fff89169116620f424081830204910103613395565b508960d01c62ffffff1661338b565b610fff8860c41c169461333e565b81810291905f1982820991838084109303928084039384600160801b11156102d55714613d4257600160801b910990828211900360801b910360801c1790565b50505060801c90565b808202905f1983820990828083109203918083039283620f424011156102d55714613dab577fde8f6cefed634549b62c77574f722e1ac57e23f24d8fd5cb790fb65668c2613993620f4240910990828211900360fa1b910360061c170290565b5050620f424091500490565b81810291905f1982820991838084109303928084039384600160601b11156102d55714613df757600160601b910990828211900360a01b910360601c1790565b50505060601c90565b90606082901b905f19600160601b8409928280851094039380850394858411156102d55714613e83578190600160601b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b5091500490565b91818302915f19818509938380861095039480860395868511156102d55714613f02579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b6001600160a01b0391821691160360ff81901d90810118906001906001600160801b0316613f388382613db7565b928260601b91091515160190565b6124d5926001600160a01b03928316919092160360ff81901d90810118906001600160801b0316613db7565b6001600160a01b0382811690821611613fd8575b6001600160a01b038116928315613fcc57613fc0926001600160a01b0380821693909103169060601b600160601b600160e01b03166140be565b90808206151591040190565b62bfc9215f526004601cfd5b90613f86565b906001600160a01b0380821690831611614036575b6001600160a01b038216918215613fcc576124d593614031926001600160a01b0380821693909103169060601b600160601b600160e01b0316613e8a565b6132df565b90613ff3565b80156102d5577b01c1818141808140018080c0814100004181408140c0c100414140c160221b601f6f8421084210842108cc6318c6db6d54be6001600160801b03841160071b84811c6001600160401b031060061b1784811c63ffffffff1060051b1784811c61ffff1060041b1784811c60ff1060031b1793841c1c161a1790565b9291906140cc828286613e8a565b9382156132e957096140da57565b906001019081156102d557565b9190811561413c576001600160a01b03909216918183029160609190911b600160601b600160e01b03169082048314828211161561412f576124d592613884928203916140be565b63f5c787f15f526004601cfd5b505090565b9190811561413c5760601b600160601b600160e01b0316916001600160a01b0316908082028261417183836132df565b1461419e575b5061418561418a92846132df565b612110565b80820491061515016001600160a01b031690565b8301838110614177576001600160a01b03936141bc939192506140be565b1690565b6001600160a01b038116919082036121a55756fe27e098c505d44ec3574004bca052aabf76bd35004c182099d8c575fb238593b91b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac728859c090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab231e0745a7db1623981f0b2a5d4232364c00787266eb75ad546f190e6cebe9bd957d4b3164c6e45b97e7d87b7125a44c5828d005af88f9d751cfd78729c5d99a0ba164736f6c634300081a000a","opcodes":"PUSH1 0xA0 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x12 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH3 0xFDD58E EQ PUSH2 0x1EE2 JUMPI POP DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x1E8C JUMPI DUP1 PUSH4 0x95BCDB6 EQ PUSH2 0x1E0F JUMPI DUP1 PUSH4 0xB0D9C09 EQ PUSH2 0x1DB4 JUMPI DUP1 PUSH4 0x11DA60B4 EQ PUSH2 0x1D8A JUMPI DUP1 PUSH4 0x156E29F6 EQ PUSH2 0x1D05 JUMPI DUP1 PUSH4 0x1E2EAEAF EQ PUSH2 0x1CE9 JUMPI DUP1 PUSH4 0x234266D7 EQ PUSH2 0x1AF2 JUMPI DUP1 PUSH4 0x2D771389 EQ PUSH2 0x1A80 JUMPI DUP1 PUSH4 0x35FD631A EQ PUSH2 0x1A2A JUMPI DUP1 PUSH4 0x3DD45ADB EQ PUSH2 0x19F7 JUMPI DUP1 PUSH4 0x426A8493 EQ PUSH2 0x197D JUMPI DUP1 PUSH4 0x48C89491 EQ PUSH2 0x17E6 JUMPI DUP1 PUSH4 0x52759651 EQ PUSH2 0x1742 JUMPI DUP1 PUSH4 0x558A7297 EQ PUSH2 0x16B0 JUMPI DUP1 PUSH4 0x598AF9E7 EQ PUSH2 0x1656 JUMPI DUP1 PUSH4 0x5A6BCFDA EQ PUSH2 0xDA5 JUMPI DUP1 PUSH4 0x6276CBBE EQ PUSH2 0xAE7 JUMPI DUP1 PUSH4 0x7E87CE7D EQ PUSH2 0xA17 JUMPI DUP1 PUSH4 0x80F0B44C EQ PUSH2 0x9A8 JUMPI DUP1 PUSH4 0x8161B874 EQ PUSH2 0x8DB JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x8B4 JUMPI DUP1 PUSH4 0x97E8CD4E EQ PUSH2 0x87C JUMPI DUP1 PUSH4 0x9BF6645F EQ PUSH2 0x82F JUMPI DUP1 PUSH4 0xA5841194 EQ PUSH2 0x7C8 JUMPI DUP1 PUSH4 0xB6363CF2 EQ PUSH2 0x771 JUMPI DUP1 PUSH4 0xDBD035FF EQ PUSH2 0x71B JUMPI DUP1 PUSH4 0xF02DE3B2 EQ PUSH2 0x6F3 JUMPI DUP1 PUSH4 0xF135BAAA EQ PUSH2 0x6D7 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x663 JUMPI DUP1 PUSH4 0xF3CD914C EQ PUSH2 0x3FC JUMPI DUP1 PUSH4 0xF5298ACA EQ PUSH2 0x2D9 JUMPI PUSH4 0xFE99049A EQ PUSH2 0x186 JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x80 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x19F PUSH2 0x1F21 JUMP JUMPDEST PUSH2 0x1A7 PUSH2 0x1F37 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD SWAP2 PUSH1 0x64 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41F5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 PUSH2 0x239 SWAP1 CALLER DUP5 EQ ISZERO DUP1 PUSH2 0x2B2 JUMPI JUMPDEST PUSH2 0x247 JUMPI JUMPDEST DUP4 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP7 PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x1FE DUP7 DUP3 SLOAD PUSH2 0x2103 JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP4 DUP5 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP7 PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x22A DUP3 DUP3 SLOAD PUSH2 0x2110 JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 CALLER DUP4 PUSH2 0x211D JUMP JUMPDEST SUB SWAP1 LOG4 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST PUSH0 DUP5 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE DUP3 MSTORE DUP1 DUP4 KECCAK256 DUP10 DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD DUP6 PUSH1 0x1 DUP3 ADD PUSH2 0x279 JUMPI JUMPDEST POP POP PUSH2 0x1DD JUMP JUMPDEST PUSH2 0x282 SWAP2 PUSH2 0x2103 JUMP JUMPDEST DUP5 PUSH0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP8 PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SSTORE PUSH0 DUP6 PUSH2 0x272 JUMP JUMPDEST POP PUSH0 DUP5 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x1D8 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x2E7 CALLDATASIZE PUSH2 0x1F4D JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41F5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x365 PUSH0 SWAP4 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP5 PUSH2 0x32B PUSH2 0x323 DUP6 PUSH2 0x2193 JUMP JUMPDEST CALLER SWAP1 DUP9 PUSH2 0x21B4 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP3 CALLER DUP5 EQ ISZERO DUP1 PUSH2 0x3CB JUMPI JUMPDEST PUSH2 0x36A JUMPI JUMPDEST DUP4 DUP6 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP6 KECCAK256 DUP7 DUP7 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP6 KECCAK256 PUSH2 0x22A DUP3 DUP3 SLOAD PUSH2 0x2103 JUMP JUMPDEST SUB SWAP1 LOG4 STOP JUMPDEST DUP4 DUP6 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP8 KECCAK256 CALLER DUP9 MSTORE DUP3 MSTORE DUP1 DUP8 KECCAK256 DUP9 DUP9 MSTORE SWAP1 SWAP2 MSTORE DUP6 KECCAK256 SLOAD DUP2 DUP7 NOT DUP3 SUB PUSH2 0x39B JUMPI JUMPDEST POP POP PUSH2 0x344 JUMP JUMPDEST PUSH2 0x3A4 SWAP2 PUSH2 0x2103 JUMP JUMPDEST DUP5 DUP7 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP9 KECCAK256 CALLER DUP10 MSTORE DUP3 MSTORE DUP1 DUP9 KECCAK256 DUP10 DUP10 MSTORE SWAP1 SWAP2 MSTORE DUP7 KECCAK256 SSTORE DUP7 DUP2 PUSH2 0x394 JUMP JUMPDEST POP DUP4 DUP6 MSTORE PUSH1 0x3 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP8 KECCAK256 CALLER DUP9 MSTORE SWAP1 SWAP2 MSTORE DUP6 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x33F JUMP JUMPDEST PUSH4 0x54E3CA0D PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x120 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x417 CALLDATASIZE PUSH2 0x1FFD JUMP JUMPDEST PUSH1 0x60 CALLDATASIZE PUSH1 0xA3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x40 MLOAD SWAP1 PUSH2 0x430 DUP3 PUSH2 0x1F92 JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x2D5 JUMPI DUP3 MSTORE PUSH1 0xC4 CALLDATALOAD PUSH1 0x20 DUP4 ADD SWAP1 DUP2 MSTORE SWAP1 PUSH1 0xE4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x2D5 JUMPI PUSH1 0x40 DUP5 ADD SWAP2 DUP3 MSTORE PUSH2 0x104 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2D5 JUMPI PUSH2 0x484 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2084 JUMP JUMPDEST SWAP3 SWAP1 SWAP4 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH2 0x4A3 PUSH2 0x23F6 JUMP JUMPDEST MLOAD ISZERO PUSH2 0x654 JUMPI PUSH1 0xA0 DUP3 KECCAK256 SWAP3 DUP4 PUSH0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH2 0x4C4 DUP3 PUSH2 0x2437 JUMP JUMPDEST PUSH1 0x80 DUP5 ADD SWAP6 DUP5 DUP3 DUP3 DUP11 PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 SWAP1 SUB DUP12 MLOAD AND SWAP4 PUSH2 0x4E3 SWAP5 PUSH2 0x284E JUMP JUMPDEST SWAP1 SWAP5 SWAP2 SWAP6 PUSH1 0x60 DUP9 ADD MLOAD PUSH1 0x2 SIGNEXTEND SWAP1 DUP12 MLOAD ISZERO ISZERO SWAP1 PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 SWAP1 SUB SWAP1 MLOAD AND SWAP2 PUSH1 0x40 MLOAD SWAP9 PUSH2 0x50F DUP11 PUSH2 0x1FAD JUMP JUMPDEST DUP10 MSTORE PUSH1 0x20 DUP10 ADD MSTORE PUSH1 0x40 DUP9 ADD MSTORE PUSH1 0x60 DUP8 ADD MSTORE PUSH3 0xFFFFFF AND PUSH1 0x80 DUP7 ADD MSTORE DUP9 MLOAD ISZERO ISZERO PUSH0 EQ SWAP9 PUSH3 0xFFFFFF PUSH2 0x5FB SWAP9 PUSH2 0x558 PUSH2 0x5E8 SWAP9 PUSH1 0x20 SWAP14 PUSH2 0x641 JUMPI DUP11 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP6 PUSH2 0x32FD JUMP JUMPDEST SWAP5 SWAP3 SWAP7 DUP3 SWAP2 SWAP3 PUSH2 0x622 JUMPI JUMPDEST POP POP PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP5 MLOAD AND SWAP4 DUP15 PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB PUSH1 0x40 DUP4 ADD MLOAD AND SWAP2 ADD MLOAD PUSH1 0x2 SIGNEXTEND SWAP1 PUSH1 0x40 MLOAD SWAP6 DUP9 PUSH1 0x80 SAR PUSH1 0xF SIGNEXTEND DUP8 MSTORE DUP9 PUSH1 0xF SIGNEXTEND PUSH1 0x20 DUP9 ADD MSTORE PUSH1 0x40 DUP8 ADD MSTORE PUSH1 0x60 DUP7 ADD MSTORE PUSH1 0x80 DUP6 ADD MSTORE AND PUSH1 0xA0 DUP4 ADD MSTORE PUSH32 0x40E9CECB9F5F1F1C5B9C97DEC2917B7EE92E57BA5563708DACA94DD84AD7112F PUSH1 0xC0 CALLER SWAP4 LOG3 DUP9 MLOAD DUP8 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x29BA JUMP JUMPDEST DUP1 SWAP5 SWAP2 SWAP5 PUSH2 0x603 JUMPI JUMPDEST POP POP DUP3 CALLER SWAP2 PUSH2 0x24D8 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST SWAP1 MLOAD PUSH2 0x61B SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 DUP4 PUSH2 0x24D8 JUMP JUMPDEST DUP5 DUP1 PUSH2 0x5F1 JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x1 DUP16 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 DUP2 SLOAD ADD SWAP1 SSTORE DUP15 DUP1 PUSH2 0x563 JUMP JUMPDEST DUP11 DUP15 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP6 PUSH2 0x32FD JUMP JUMPDEST PUSH4 0xBE8B8507 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x67C PUSH2 0x1F21 JUMP JUMPDEST PUSH0 SLOAD SWAP1 PUSH2 0x693 CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EQ PUSH2 0x2138 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT SWAP2 SWAP1 SWAP2 AND DUP2 OR PUSH0 SWAP1 DUP2 SSTORE CALLER SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 DUP1 LOG3 STOP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x4 CALLDATALOAD TLOAD PUSH0 MSTORE PUSH1 0x20 PUSH0 RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x729 CALLDATASIZE PUSH2 0x20B1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 PUSH1 0x40 DUP4 PUSH1 0x20 DUP2 MSTORE DUP4 PUSH1 0x20 DUP3 ADD MSTORE ADD SWAP2 PUSH1 0x5 SHL DUP4 ADD SWAP2 PUSH1 0x20 DUP1 PUSH1 0x40 DUP6 ADD SWAP4 SWAP3 JUMPDEST DUP4 CALLDATALOAD SLOAD DUP2 MSTORE ADD SWAP2 ADD SWAP1 DUP5 DUP4 DUP3 LT ISZERO PUSH2 0x768 JUMPI POP PUSH1 0x20 DUP1 SWAP2 PUSH2 0x74C JUMP JUMPDEST PUSH1 0x40 DUP2 DUP7 SUB ADD SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x78A PUSH2 0x1F21 JUMP JUMPDEST PUSH2 0x792 PUSH2 0x1F37 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x7E1 PUSH2 0x1F21 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 PUSH2 0x805 JUMPI POP POP PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE STOP JUMPDEST PUSH2 0x80E SWAP1 PUSH2 0x27C2 JUMP JUMPDEST SWAP1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4235 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE STOP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x83D CALLDATASIZE PUSH2 0x20B1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 PUSH1 0x40 DUP4 PUSH1 0x20 DUP2 MSTORE DUP4 PUSH1 0x20 DUP3 ADD MSTORE ADD SWAP2 PUSH1 0x5 SHL DUP4 ADD SWAP2 PUSH1 0x20 DUP1 PUSH1 0x40 DUP6 ADD SWAP4 SWAP3 JUMPDEST DUP4 CALLDATALOAD TLOAD DUP2 MSTORE ADD SWAP2 ADD SWAP1 DUP5 DUP4 DUP3 LT ISZERO PUSH2 0x768 JUMPI POP PUSH1 0x20 DUP1 SWAP2 PUSH2 0x860 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x89D PUSH2 0x1F21 JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH0 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x8F4 PUSH2 0x1F21 JUMP JUMPDEST PUSH2 0x8FC PUSH2 0x1F37 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x44 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER SUB PUSH2 0x999 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP1 ISZERO ISZERO DUP1 PUSH2 0x979 JUMPI JUMPDEST PUSH2 0x96A JUMPI PUSH1 0x20 SWAP4 PUSH2 0x5FB SWAP3 DUP1 PUSH2 0x962 JUMPI POP DUP2 PUSH0 MSTORE PUSH1 0x1 DUP6 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SLOAD SWAP4 DUP5 SWAP3 JUMPDEST PUSH0 MSTORE PUSH1 0x1 DUP7 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x95B DUP5 DUP3 SLOAD PUSH2 0x2103 JUMP JUMPDEST SWAP1 SSTORE PUSH2 0x2230 JUMP JUMPDEST SWAP4 DUP5 SWAP3 PUSH2 0x946 JUMP JUMPDEST PUSH4 0x18F3CB29 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 EQ PUSH2 0x925 JUMP JUMPDEST PUSH4 0x48F5C3ED PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x9C1 PUSH2 0x1F21 JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH2 0x9DF DUP2 CALLER PUSH2 0x32C4 JUMP JUMPDEST TLOAD PUSH2 0x9EB PUSH1 0x24 CALLDATALOAD PUSH2 0x2193 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0xF SIGNEXTEND SUB PUSH2 0xA08 JUMPI PUSH2 0xA06 SWAP2 CALLER SWAP2 PUSH0 SUB PUSH1 0xF SIGNEXTEND SWAP1 PUSH2 0x21B4 JUMP JUMPDEST STOP JUMPDEST PUSH4 0xBDA73ABF PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0xC0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0xA31 CALLDATASIZE PUSH2 0x1FFD JUMP JUMPDEST PUSH2 0xA39 PUSH2 0x1FEB JUMP JUMPDEST PUSH1 0x2 SLOAD SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER SUB PUSH2 0x999 JUMPI PUSH3 0x3E9000 PUSH3 0xFFF000 DUP4 AND LT PUSH2 0x3E9 PUSH2 0xFFF DUP5 AND LT AND ISZERO PUSH2 0xACF JUMPI PUSH1 0x20 PUSH1 0xA0 PUSH32 0xE9C42593E71F84403B84352CD168D693E2C9FCD1FDBCC3FEB21D92B43E6696F9 SWAP3 KECCAK256 SWAP3 DUP4 PUSH0 MSTORE PUSH1 0x6 DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0xAA4 DUP2 PUSH2 0x2437 JUMP JUMPDEST DUP1 SLOAD PUSH3 0xFFFFFF PUSH1 0xB8 SHL NOT AND PUSH1 0xB8 DUP4 SWAP1 SHL PUSH3 0xFFFFFF PUSH1 0xB8 SHL AND OR SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH3 0xFFFFFF SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE LOG2 STOP JUMPDEST PUSH3 0xFFFFFF DUP3 PUSH4 0xA7ABE2F7 PUSH1 0xE0 SHL PUSH0 MSTORE AND PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0xC0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0xB01 CALLDATASIZE PUSH2 0x1FFD JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP1 DUP4 SUB PUSH2 0x2D5 JUMPI PUSH2 0xB1E PUSH2 0x23F6 JUMP JUMPDEST PUSH1 0x60 DUP3 ADD SWAP2 DUP3 MLOAD PUSH1 0x2 SIGNEXTEND PUSH2 0x7FFF DUP2 SGT PUSH2 0xD93 JUMPI POP DUP3 MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x1 DUP2 SLT PUSH2 0xD81 JUMPI POP DUP1 MLOAD PUSH1 0x20 DUP3 ADD DUP1 MLOAD SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP2 AND DUP1 DUP3 LT ISZERO PUSH2 0xD63 JUMPI POP POP PUSH1 0x80 DUP3 ADD SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP3 MLOAD AND SWAP1 PUSH1 0x40 DUP5 ADD SWAP2 PUSH2 0xB86 PUSH3 0xFFFFFF DUP5 MLOAD AND DUP3 PUSH2 0x26F4 JUMP JUMPDEST ISZERO PUSH2 0xD51 JUMPI POP PUSH2 0xB9B PUSH3 0xFFFFFF DUP4 MLOAD AND PUSH2 0x27A5 JUMP JUMPDEST DUP4 MLOAD SWAP1 SWAP8 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 CALLER DUP3 SWAP1 SUB PUSH2 0xCFE JUMPI JUMPDEST POP POP PUSH1 0xA0 DUP6 KECCAK256 PUSH0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0xCEF JUMPI PUSH1 0x20 SWAP10 PUSH32 0xDD466E674EA557F56295E2D0218A125EA4B4F0F6F3307B95F85E6110838D6438 SWAP3 PUSH2 0xC0A PUSH1 0xA0 SWAP4 PUSH2 0x3082 JUMP JUMPDEST SWAP2 PUSH3 0xFFFFFF PUSH1 0xD0 SHL SWAP1 PUSH1 0xD0 SHL AND DUP11 PUSH3 0xFFFFFF DUP6 SHL DUP5 DUP7 SHL AND OR OR SWAP1 SSTORE PUSH3 0xFFFFFF PUSH1 0x1 DUP1 DUP5 SHL SUB DUP10 MLOAD AND SWAP6 PUSH1 0x1 DUP1 DUP6 SHL SUB SWAP1 MLOAD AND SWAP7 MLOAD AND SWAP10 MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x1 DUP1 DUP5 SHL SUB DUP9 MLOAD AND SWAP1 PUSH1 0x40 MLOAD SWAP12 DUP13 MSTORE DUP13 DUP13 ADD MSTORE PUSH1 0x40 DUP12 ADD MSTORE DUP9 PUSH1 0x60 DUP12 ADD MSTORE PUSH1 0x2 SIGNEXTEND SWAP9 DUP10 PUSH1 0x80 DUP3 ADD MSTORE LOG4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 CALLER DUP3 SWAP1 SUB PUSH2 0xC8E JUMPI JUMPDEST DUP6 DUP6 PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH2 0x1000 AND PUSH2 0xC9D JUMPI JUMPDEST DUP1 PUSH2 0xC84 JUMP JUMPDEST PUSH2 0xCE6 SWAP3 PUSH2 0xCC4 PUSH1 0x40 MLOAD SWAP4 PUSH4 0x6FE7E6EB PUSH1 0xE0 SHL DUP9 DUP7 ADD MSTORE CALLER PUSH1 0x24 DUP7 ADD MSTORE PUSH1 0x44 DUP6 ADD SWAP1 PUSH2 0x2457 JUMP JUMPDEST PUSH1 0xE4 DUP4 ADD MSTORE DUP4 PUSH2 0x104 DUP4 ADD MSTORE PUSH2 0x104 DUP3 MSTORE PUSH2 0xCE1 PUSH2 0x124 DUP4 PUSH2 0x1FC8 JUMP JUMPDEST PUSH2 0x2ADB JUMP JUMPDEST POP DUP3 DUP1 DUP1 PUSH2 0xC97 JUMP JUMPDEST PUSH4 0x7983C051 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0x2000 AND PUSH2 0xD0D JUMPI JUMPDEST DUP1 PUSH2 0xBB4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x6E4C1AA7 PUSH1 0xE1 SHL PUSH1 0x20 DUP3 ADD MSTORE CALLER PUSH1 0x24 DUP3 ADD MSTORE PUSH2 0xD4A SWAP2 PUSH2 0xD34 PUSH1 0x44 DUP4 ADD DUP10 PUSH2 0x2457 JUMP JUMPDEST DUP9 PUSH1 0xE4 DUP4 ADD MSTORE PUSH1 0xE4 DUP3 MSTORE PUSH2 0xCE1 PUSH2 0x104 DUP4 PUSH2 0x1FC8 JUMP JUMPDEST POP DUP9 PUSH2 0xD07 JUMP JUMPDEST PUSH4 0x732D7B5 PUSH1 0xE5 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x44 SWAP3 POP PUSH1 0x40 MLOAD SWAP2 PUSH4 0x6E6C983 PUSH1 0xE4 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD MSTORE REVERT JUMPDEST PUSH4 0x1D3D20B1 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH4 0x16E0049F PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x140 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0xDC0 CALLDATASIZE PUSH2 0x1FFD JUMP JUMPDEST PUSH1 0x80 CALLDATASIZE PUSH1 0xA3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x40 MLOAD SWAP1 PUSH2 0xDD9 DUP3 PUSH2 0x1F77 JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD DUP1 PUSH1 0x2 SIGNEXTEND DUP2 SUB PUSH2 0x2D5 JUMPI DUP3 MSTORE PUSH1 0xC4 CALLDATALOAD DUP1 PUSH1 0x2 SIGNEXTEND DUP2 SUB PUSH2 0x2D5 JUMPI PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0xE4 CALLDATALOAD PUSH1 0x40 DUP4 ADD MSTORE PUSH2 0x104 CALLDATALOAD PUSH1 0x60 DUP4 ADD MSTORE PUSH2 0x124 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2D5 JUMPI PUSH2 0xE2B SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2084 JUMP JUMPDEST SWAP1 SWAP3 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH2 0xE49 PUSH2 0x23F6 JUMP JUMPDEST PUSH1 0xA0 DUP4 KECCAK256 SWAP4 DUP5 PUSH0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x80 MSTORE PUSH2 0xE68 PUSH1 0x80 MLOAD PUSH2 0x2437 JUMP JUMPDEST PUSH1 0x80 DUP5 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 CALLER DUP3 SWAP1 SUB PUSH2 0x15A1 JUMPI JUMPDEST POP POP DUP2 MLOAD PUSH1 0x2 SIGNEXTEND SWAP3 PUSH1 0x20 DUP4 ADD MLOAD PUSH1 0x2 SIGNEXTEND SWAP2 PUSH2 0xE9F PUSH1 0x40 DUP6 ADD MLOAD PUSH2 0x259D JUMP JUMPDEST PUSH1 0x60 DUP8 DUP2 ADD MLOAD SWAP1 DUP7 ADD MLOAD PUSH1 0x40 MLOAD SWAP10 SWAP3 SWAP7 SWAP3 SWAP2 PUSH1 0x2 SIGNEXTEND PUSH1 0xC0 DUP12 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP13 DUP3 LT OR PUSH2 0x158D JUMPI PUSH1 0x40 MSTORE CALLER DUP12 MSTORE DUP9 PUSH1 0x20 DUP13 ADD MSTORE DUP7 PUSH1 0x40 DUP13 ADD MSTORE DUP8 PUSH1 0xF SIGNEXTEND PUSH1 0x60 DUP13 ADD MSTORE PUSH1 0x80 DUP12 ADD MSTORE PUSH1 0xA0 DUP11 ADD MSTORE PUSH0 SWAP2 DUP6 DUP9 SLT ISZERO PUSH2 0x156F JUMPI PUSH3 0xD89E7 NOT DUP9 SLT PUSH2 0x155C JUMPI PUSH3 0xD89E8 DUP7 SGT PUSH2 0x1549 JUMPI PUSH1 0x40 MLOAD SWAP3 PUSH2 0xF1B DUP5 PUSH2 0x1F77 JUMP JUMPDEST PUSH0 DUP5 MSTORE PUSH0 PUSH1 0x20 DUP6 ADD MSTORE PUSH0 PUSH1 0x40 DUP6 ADD MSTORE PUSH0 PUSH1 0x60 DUP6 ADD MSTORE DUP8 PUSH1 0xF SIGNEXTEND PUSH2 0x1312 JUMPI JUMPDEST PUSH1 0x4 PUSH1 0x80 MLOAD ADD SWAP8 DUP10 PUSH1 0x2 SIGNEXTEND PUSH0 MSTORE DUP9 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP9 DUP9 PUSH1 0x2 SIGNEXTEND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x80 MLOAD SLOAD PUSH1 0xA0 SHR PUSH1 0x2 SIGNEXTEND DUP12 DUP2 SLT PUSH0 EQ PUSH2 0x12BC JUMPI POP PUSH1 0x2 DUP1 PUSH1 0x1 DUP13 ADD SLOAD PUSH1 0x1 DUP5 ADD SLOAD SWAP1 SUB SWAP12 ADD SLOAD SWAP2 ADD SLOAD SWAP1 SUB SWAP12 JUMPDEST PUSH1 0xA0 PUSH1 0x1 DUP1 DUP3 SHL SUB DUP3 MLOAD AND SWAP2 ADD MLOAD SWAP1 PUSH1 0x40 MLOAD SWAP2 PUSH1 0x26 DUP4 ADD MSTORE DUP10 PUSH1 0x6 DUP4 ADD MSTORE DUP12 PUSH1 0x3 DUP4 ADD MSTORE DUP2 MSTORE PUSH0 PUSH1 0x3A PUSH1 0xC DUP4 ADD KECCAK256 SWAP2 DUP2 PUSH1 0x40 DUP3 ADD MSTORE DUP2 PUSH1 0x20 DUP3 ADD MSTORE MSTORE PUSH0 MSTORE PUSH1 0x6 PUSH1 0x80 MLOAD ADD PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP8 PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB DUP10 SLOAD AND SWAP10 DUP3 PUSH1 0xF SIGNEXTEND ISZERO PUSH0 EQ PUSH2 0x127D JUMPI DUP11 ISZERO PUSH2 0x126E JUMPI PUSH2 0x1035 PUSH2 0x102F PUSH1 0x40 SWAP16 SWAP12 PUSH2 0x10F4 SWAP13 PUSH2 0x1106 SWAP15 JUMPDEST PUSH1 0x1 DUP4 ADD SWAP6 PUSH2 0x1027 PUSH1 0x2 PUSH2 0x101B DUP5 DUP11 SLOAD DUP6 SUB PUSH2 0x3D02 JUMP JUMPDEST SWAP6 ADD SWAP3 DUP4 SLOAD DUP6 SUB PUSH2 0x3D02 JUMP JUMPDEST SWAP7 SSTORE SSTORE PUSH2 0x2193 JUMP JUMPDEST SWAP2 PUSH2 0x2193 JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR SWAP11 DUP12 SWAP7 PUSH0 DUP5 PUSH1 0xF SIGNEXTEND SLT PUSH2 0x1236 JUMPI JUMPDEST POP DUP3 PUSH1 0xF SIGNEXTEND PUSH2 0x1133 JUMPI JUMPDEST POP POP POP PUSH2 0x1080 PUSH2 0x1071 DUP6 PUSH1 0x80 SAR DUP4 PUSH1 0x80 SAR ADD PUSH2 0x259D JUMP JUMPDEST SWAP2 DUP6 PUSH1 0xF SIGNEXTEND SWAP1 PUSH1 0xF SIGNEXTEND ADD PUSH2 0x259D JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR SWAP2 DUP2 MLOAD PUSH1 0x2 SIGNEXTEND SWAP1 PUSH1 0x20 DUP4 ADD MLOAD PUSH1 0x2 SIGNEXTEND DUP13 DUP5 ADD MLOAD PUSH1 0x60 DUP6 ADD MLOAD SWAP2 DUP15 MLOAD SWAP5 DUP6 MSTORE PUSH1 0x20 DUP6 ADD MSTORE DUP14 DUP5 ADD MSTORE PUSH1 0x60 DUP4 ADD MSTORE PUSH32 0xF208F4912782FD25C7F114CA3723A2D5DD6F3BCC3AC8DB5AF63BAA85F711D5EC PUSH1 0x80 CALLER SWAP4 LOG3 PUSH1 0x80 DUP10 ADD MLOAD DUP10 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x25F6 JUMP JUMPDEST DUP1 SWAP5 SWAP2 SWAP5 PUSH2 0x1112 JUMPI JUMPDEST POP DUP4 CALLER SWAP2 PUSH2 0x24D8 JUMP JUMPDEST DUP3 MLOAD SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE RETURN JUMPDEST PUSH1 0x80 DUP3 ADD MLOAD PUSH2 0x112D SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 DUP4 PUSH2 0x24D8 JUMP JUMPDEST DUP6 PUSH2 0x10FD JUMP JUMPDEST PUSH1 0x80 MLOAD SLOAD SWAP3 SWAP4 POP SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 PUSH1 0xA0 SHR PUSH1 0x2 SIGNEXTEND DUP3 DUP2 SLT ISZERO PUSH2 0x118C JUMPI POP POP SWAP1 PUSH2 0x1180 SWAP3 PUSH2 0x1175 PUSH2 0x116B PUSH2 0x117B SWAP5 PUSH2 0x2C59 JUMP JUMPDEST SWAP2 PUSH1 0xF SIGNEXTEND SWAP3 PUSH2 0x2C59 JUMP JUMPDEST SWAP1 PUSH2 0x2FD1 JUMP JUMPDEST PUSH2 0x259D JUMP JUMPDEST PUSH1 0x80 SHL JUMPDEST DUP12 DUP1 DUP1 PUSH2 0x105A JUMP JUMPDEST SWAP3 DUP1 SWAP2 SWAP4 SLT PUSH0 EQ PUSH2 0x120C JUMPI PUSH2 0x11CB SWAP2 PUSH2 0x11B8 PUSH2 0x117B PUSH2 0x117B SWAP4 PUSH2 0x11B2 DUP9 PUSH1 0xF SIGNEXTEND SWAP2 PUSH2 0x2C59 JUMP JUMPDEST DUP8 PUSH2 0x2FD1 JUMP JUMPDEST SWAP4 PUSH2 0x11C6 DUP7 PUSH1 0xF SIGNEXTEND SWAP3 PUSH2 0x2C59 JUMP JUMPDEST PUSH2 0x2F86 JUMP JUMPDEST PUSH1 0x80 DUP1 MLOAD PUSH1 0x3 ADD DUP1 SLOAD SWAP4 SWAP1 SWAP2 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP3 DUP4 AND OR SWAP4 SWAP1 SWAP3 PUSH2 0x11F6 SWAP2 PUSH1 0xF SIGNEXTEND SWAP1 DUP4 AND PUSH2 0x3006 JUMP JUMPDEST DUP3 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB NOT AND SWAP2 AND OR SWAP1 SSTORE PUSH2 0x1184 JUMP JUMPDEST SWAP1 PUSH2 0x117B SWAP3 POP SWAP3 PUSH2 0x1222 PUSH2 0x116B PUSH2 0x1228 SWAP6 PUSH2 0x2C59 JUMP JUMPDEST SWAP1 PUSH2 0x2F86 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH2 0x1184 JUMP JUMPDEST DUP1 DUP16 SWAP2 MLOAD PUSH2 0x125D JUMPI JUMPDEST ADD MLOAD PUSH2 0x124C JUMPI JUMPDEST DUP15 PUSH2 0x1050 JUMP JUMPDEST PUSH2 0x1258 DUP3 PUSH1 0x80 MLOAD PUSH2 0x2C39 JUMP JUMPDEST PUSH2 0x1246 JUMP JUMPDEST PUSH2 0x1269 DUP4 PUSH1 0x80 MLOAD PUSH2 0x2C39 JUMP JUMPDEST PUSH2 0x123F JUMP JUMPDEST PUSH4 0x2BBFAE49 PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x40 SWAP14 PUSH2 0x1106 SWAP12 PUSH2 0x10F4 SWAP12 PUSH2 0x1035 SWAP3 PUSH2 0x102F SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB PUSH2 0x12A6 PUSH1 0xF DUP11 SWAP1 SIGNEXTEND DUP4 PUSH2 0x3006 JUMP JUMPDEST DUP5 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB NOT AND SWAP2 AND OR DUP4 SSTORE PUSH2 0x1004 JUMP JUMPDEST SWAP1 SWAP10 SWAP1 DUP10 SGT PUSH2 0x12E2 JUMPI PUSH1 0x2 DUP1 PUSH1 0x1 DUP13 ADD SLOAD PUSH1 0x1 DUP5 ADD SLOAD SWAP1 SUB SWAP12 ADD SLOAD SWAP2 ADD SLOAD SWAP1 SUB SWAP12 PUSH2 0xF89 JUMP JUMPDEST SWAP9 PUSH1 0x2 PUSH1 0x1 PUSH1 0x80 MLOAD ADD SLOAD PUSH1 0x1 DUP13 ADD SLOAD SWAP1 SUB PUSH1 0x1 DUP4 ADD SLOAD SWAP1 SUB SWAP11 DUP2 DUP1 PUSH1 0x80 MLOAD ADD SLOAD SWAP2 ADD SLOAD SWAP1 SUB SWAP2 ADD SLOAD SWAP1 SUB SWAP12 PUSH2 0xF89 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x80 MLOAD ADD DUP10 PUSH1 0x2 SIGNEXTEND PUSH0 MSTORE DUP1 PUSH1 0x20 MSTORE DUP10 DUP10 PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x136A DUP2 SLOAD PUSH2 0x1343 PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB DUP3 AND SWAP5 PUSH1 0xF SIGNEXTEND DUP6 PUSH2 0x3006 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND DUP1 ISZERO SWAP5 ISZERO SWAP5 DUP6 EQ ISZERO SWAP6 SWAP1 SWAP5 PUSH2 0x1515 JUMPI JUMPDEST POP DUP14 PUSH1 0xF SIGNEXTEND SWAP1 PUSH1 0x80 SAR PUSH2 0x2995 JUMP JUMPDEST PUSH1 0x80 SHL DUP3 OR SWAP1 SSTORE PUSH1 0x20 DUP8 ADD MSTORE DUP6 MSTORE DUP8 PUSH1 0x2 SIGNEXTEND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP1 SLOAD SWAP1 PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB DUP3 AND SWAP1 PUSH2 0x139F DUP12 PUSH1 0xF SIGNEXTEND DUP4 PUSH2 0x3006 JUMP JUMPDEST SWAP2 ISZERO PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP4 AND ISZERO DUP2 EQ ISZERO SWAP4 SWAP1 PUSH2 0x14E8 JUMPI JUMPDEST PUSH1 0xF DUP13 DUP2 SIGNEXTEND PUSH1 0x80 SWAP3 SWAP1 SWAP3 SAR SWAP1 SIGNEXTEND SUB PUSH1 0x1 PUSH1 0x1 PUSH1 0x7F SHL SUB NOT DUP2 SLT PUSH1 0x1 PUSH1 0x1 PUSH1 0x7F SHL SUB DUP3 SGT OR PUSH2 0x14D4 JUMPI PUSH1 0x80 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 DUP3 OR SWAP1 SSTORE PUSH1 0x60 DUP7 ADD MSTORE PUSH1 0x40 DUP6 ADD MSTORE PUSH0 PUSH1 0xF DUP10 SWAP1 SIGNEXTEND SLT ISZERO PUSH2 0x1452 JUMPI JUMPDEST DUP4 MLOAD PUSH2 0x1436 JUMPI JUMPDEST PUSH1 0x40 DUP5 ADD MLOAD ISZERO PUSH2 0xF39 JUMPI PUSH2 0x1431 PUSH1 0x80 DUP13 ADD MLOAD PUSH1 0x2 SIGNEXTEND DUP9 PUSH1 0x5 PUSH1 0x80 MLOAD ADD PUSH2 0x2BED JUMP JUMPDEST PUSH2 0xF39 JUMP JUMPDEST PUSH2 0x144D PUSH1 0x80 DUP13 ADD MLOAD PUSH1 0x2 SIGNEXTEND DUP11 PUSH1 0x5 PUSH1 0x80 MLOAD ADD PUSH2 0x2BED JUMP JUMPDEST PUSH2 0x1410 JUMP JUMPDEST PUSH1 0x80 DUP12 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB PUSH1 0x20 DUP7 ADD MLOAD AND SWAP1 PUSH1 0x1 DUP1 DUP1 PUSH1 0x80 SHL SUB SWAP2 PUSH0 DUP2 PUSH3 0xD89E7 NOT SMOD SLT DUP2 PUSH3 0xD89E7 NOT SDIV SUB SWAP1 PUSH3 0xD89E8 SDIV SUB ADD PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB DIV AND DUP1 SWAP2 GT PUSH2 0x14C1 JUMPI PUSH1 0x60 DUP6 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND GT ISZERO PUSH2 0x1409 JUMPI DUP7 PUSH4 0xB8E3C385 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST DUP10 PUSH4 0xB8E3C385 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x80 MLOAD SLOAD PUSH1 0xA0 SHR PUSH1 0x2 SIGNEXTEND DUP12 SGT PUSH2 0x13B6 JUMPI PUSH1 0x1 PUSH1 0x80 MLOAD ADD SLOAD PUSH1 0x1 DUP4 ADD SSTORE PUSH1 0x2 PUSH1 0x80 MLOAD ADD SLOAD PUSH1 0x2 DUP4 ADD SSTORE PUSH2 0x13B6 JUMP JUMPDEST PUSH1 0x80 MLOAD SLOAD PUSH1 0xA0 SHR PUSH1 0x2 SIGNEXTEND SLT ISZERO PUSH2 0x152C JUMPI JUMPDEST DUP15 PUSH2 0x135C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x80 MLOAD ADD SLOAD PUSH1 0x1 DUP5 ADD SSTORE PUSH1 0x2 PUSH1 0x80 MLOAD ADD SLOAD PUSH1 0x2 DUP5 ADD SSTORE PUSH2 0x1526 JUMP JUMPDEST DUP6 PUSH4 0x35AEEFF PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST DUP8 PUSH4 0xD5E2F7AB PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x44 DUP9 DUP8 PUSH1 0x40 MLOAD SWAP2 PUSH4 0xC4433ED5 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD MSTORE REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 PUSH1 0x40 DUP6 ADD MLOAD SGT DUP1 DUP1 SWAP2 PUSH2 0x1649 JUMPI JUMPDEST ISZERO PUSH2 0x15F7 JUMPI POP POP PUSH1 0x40 MLOAD PUSH4 0x259982E5 PUSH1 0xE0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH2 0x15EE SWAP2 PUSH2 0xCE1 DUP3 PUSH2 0x15E0 DUP9 DUP8 DUP10 DUP13 CALLER PUSH1 0x24 DUP8 ADD PUSH2 0x255C JUMP JUMPDEST SUB PUSH1 0x1F NOT DUP2 ADD DUP5 MSTORE DUP4 PUSH2 0x1FC8 JUMP JUMPDEST POP JUMPDEST DUP6 DUP1 PUSH2 0xE81 JUMP JUMPDEST ISZERO SWAP1 DUP2 PUSH2 0x163B JUMPI JUMPDEST POP PUSH2 0x160B JUMPI JUMPDEST POP PUSH2 0x15F0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x21D0EE7 PUSH1 0xE4 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH2 0x1634 SWAP2 PUSH2 0xCE1 DUP3 PUSH2 0x15E0 DUP9 DUP8 DUP10 DUP13 CALLER PUSH1 0x24 DUP8 ADD PUSH2 0x255C JUMP JUMPDEST POP DUP6 PUSH2 0x1605 JUMP JUMPDEST PUSH2 0x200 SWAP2 POP AND ISZERO ISZERO DUP8 PUSH2 0x15FF JUMP JUMPDEST POP PUSH2 0x800 DUP3 AND ISZERO ISZERO PUSH2 0x15B0 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x166F PUSH2 0x1F21 JUMP JUMPDEST PUSH2 0x1677 PUSH2 0x1F37 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 SWAP1 SWAP4 AND DUP3 MSTORE SWAP3 DUP4 MSTORE DUP2 DUP2 KECCAK256 PUSH1 0x44 CALLDATALOAD DUP3 MSTORE DUP4 MSTORE DUP2 SWAP1 KECCAK256 SLOAD SWAP1 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x16C9 PUSH2 0x1F21 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 DUP2 ISZERO ISZERO DUP1 SWAP3 SUB PUSH2 0x2D5 JUMPI CALLER PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0xFF NOT DUP2 SLOAD AND PUSH1 0xFF DUP5 AND OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP2 DUP3 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH32 0xCEB576D9F15E4E200FDB5096D64D5DFD667E16DEF20C1EEFD14256D8E3FAA267 PUSH1 0x20 CALLER SWAP3 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0xC0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x175C CALLDATASIZE PUSH2 0x1FFD JUMP JUMPDEST PUSH2 0x1764 PUSH2 0x1FEB JUMP JUMPDEST SWAP1 PUSH3 0x800000 PUSH3 0xFFFFFF PUSH1 0x40 DUP4 ADD MLOAD AND EQ DUP1 ISZERO SWAP1 PUSH2 0x17CF JUMPI JUMPDEST PUSH2 0x17C0 JUMPI PUSH1 0xA0 SWAP1 PUSH2 0x178C DUP4 PUSH2 0x250F JUMP JUMPDEST KECCAK256 PUSH0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH2 0x17A2 DUP3 PUSH2 0x2437 JUMP JUMPDEST DUP2 SLOAD PUSH3 0xFFFFFF PUSH1 0xD0 SHL NOT AND PUSH1 0xD0 SWAP2 SWAP1 SWAP2 SHL PUSH3 0xFFFFFF PUSH1 0xD0 SHL AND OR SWAP1 SSTORE STOP JUMPDEST PUSH4 0x30D21641 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP PUSH1 0x80 DUP2 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ ISZERO PUSH2 0x177C JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2D5 JUMPI PUSH2 0x1816 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2084 JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x196E JUMPI PUSH2 0x1863 SWAP2 PUSH0 SWAP2 PUSH1 0x1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH1 0x40 MLOAD PUSH4 0x48EEB9A3 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE SWAP4 DUP5 SWAP3 DUP4 SWAP3 PUSH1 0x24 DUP5 ADD SWAP2 PUSH2 0x2173 JUMP JUMPDEST SUB DUP2 DUP4 CALLER GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x1963 JUMPI PUSH0 SWAP2 PUSH2 0x18DB JUMPI JUMPDEST POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4255 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x18CC JUMPI PUSH1 0x40 PUSH1 0x20 SWAP2 PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE DUP2 MLOAD SWAP3 DUP4 SWAP2 DUP2 DUP4 MSTORE DUP1 MLOAD SWAP2 DUP3 SWAP2 DUP3 DUP3 DUP7 ADD MSTORE ADD DUP5 DUP5 ADD MCOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND DUP2 ADD SUB ADD SWAP1 RETURN JUMPDEST PUSH4 0x5212CBA1 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 POP RETURNDATASIZE DUP1 PUSH0 DUP4 RETURNDATACOPY PUSH2 0x18EC DUP2 DUP4 PUSH2 0x1FC8 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH1 0x20 DUP2 DUP4 SUB SLT PUSH2 0x2D5 JUMPI DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x2D5 JUMPI ADD DUP2 PUSH1 0x1F DUP3 ADD SLT ISZERO PUSH2 0x2D5 JUMPI DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x158D JUMPI PUSH1 0x40 MLOAD SWAP3 PUSH2 0x193F PUSH1 0x1F DUP5 ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP6 PUSH2 0x1FC8 JUMP JUMPDEST DUP3 DUP5 MSTORE PUSH1 0x20 DUP4 DUP4 ADD ADD GT PUSH2 0x2D5 JUMPI DUP2 PUSH0 SWAP3 PUSH1 0x20 DUP1 SWAP4 ADD DUP4 DUP7 ADD MCOPY DUP4 ADD ADD MSTORE DUP2 PUSH2 0x1877 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH4 0x28486B63 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x198B CALLDATASIZE PUSH2 0x1F4D JUMP JUMPDEST SWAP1 SWAP2 CALLER PUSH0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP4 PUSH0 MSTORE PUSH1 0x20 MSTORE DUP2 PUSH1 0x40 PUSH0 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP2 DUP3 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH32 0xB3FD5071835887567A0671151121894DDCCC2842F1D10BEDAD13E0D17CACE9A7 PUSH1 0x20 CALLER SWAP3 LOG4 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x1A0B PUSH2 0x1F21 JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH2 0x5FB PUSH1 0x20 SWAP2 PUSH2 0x2373 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x24 CALLDATALOAD PUSH1 0x4 CALLDATALOAD PUSH1 0x40 MLOAD SWAP2 PUSH1 0x40 DUP4 PUSH1 0x20 DUP2 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MSTORE ADD SWAP1 PUSH1 0x5 SHL DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x20 PUSH1 0x40 DUP6 ADD SWAP4 JUMPDEST DUP4 SLOAD DUP2 MSTORE ADD SWAP2 ADD SWAP1 DUP5 DUP4 DUP3 LT ISZERO PUSH2 0x768 JUMPI POP PUSH1 0x20 PUSH1 0x1 SWAP2 PUSH2 0x1A64 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x1A99 PUSH2 0x1F21 JUMP JUMPDEST PUSH2 0x1AAD PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH0 SLOAD AND CALLER EQ PUSH2 0x2138 JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 DUP3 OR SWAP1 SSTORE PUSH32 0xB4BD8EF53DF690B9943D3318996006DBB82A25F54719D8C8035B516A2A5B8ACC PUSH0 DUP1 LOG2 STOP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x100 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x1B0D CALLDATASIZE PUSH2 0x1FFD JUMP JUMPDEST PUSH1 0xC4 CALLDATALOAD SWAP1 PUSH1 0xA4 CALLDATALOAD PUSH1 0xE4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2D5 JUMPI PUSH2 0x1B33 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2084 JUMP JUMPDEST SWAP2 SWAP1 SWAP4 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH2 0x1B52 PUSH2 0x23F6 JUMP JUMPDEST PUSH1 0xA0 DUP5 KECCAK256 SWAP5 DUP6 PUSH0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP5 PUSH2 0x1B6D DUP7 PUSH2 0x2437 JUMP JUMPDEST PUSH1 0x80 DUP2 ADD DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 CALLER DUP3 SWAP1 SUB PUSH2 0x1CAA JUMPI JUMPDEST POP POP PUSH1 0x3 DUP8 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP8 DUP9 ISZERO PUSH2 0x1C9B JUMPI PUSH1 0x20 SWAP9 PUSH2 0x1BAA DUP8 PUSH2 0x2193 JUMP JUMPDEST PUSH0 SUB PUSH2 0x1BB5 DUP8 PUSH2 0x2193 JUMP JUMPDEST PUSH0 SUB PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR SWAP9 DUP8 PUSH2 0x1C87 JUMPI JUMPDEST DUP7 PUSH2 0x1C72 JUMPI JUMPDEST POP POP PUSH2 0x1BDE CALLER DUP10 DUP6 PUSH2 0x24D8 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP7 DUP3 MSTORE DUP6 DUP11 DUP4 ADD MSTORE PUSH32 0x29EF05CAAFF9404B7CB6D1C0E9BBAE9EAA7AB2541FEBA1A9C4248594C08156CB PUSH1 0x40 CALLER SWAP4 LOG3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP4 SWAP1 CALLER DUP6 SWAP1 SUB PUSH2 0x1C30 JUMPI JUMPDEST DUP9 DUP9 PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x10 AND PUSH2 0x1C3E JUMPI JUMPDEST DUP1 PUSH2 0x1C26 JUMP JUMPDEST PUSH2 0x1C66 SWAP6 PUSH2 0xCE1 SWAP4 PUSH2 0x15E0 SWAP3 PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP6 PUSH4 0xE1B4AF69 PUSH1 0xE0 SHL DUP14 DUP9 ADD MSTORE CALLER PUSH1 0x24 DUP9 ADD PUSH2 0x249A JUMP JUMPDEST POP DUP3 DUP1 DUP1 DUP1 DUP1 DUP1 PUSH2 0x1C38 JUMP JUMPDEST PUSH1 0x2 ADD SWAP1 DUP7 PUSH1 0x80 SHL DIV DUP2 SLOAD ADD SWAP1 SSTORE DUP10 DUP1 PUSH2 0x1BD1 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD DUP3 DUP10 PUSH1 0x80 SHL DIV DUP2 SLOAD ADD SWAP1 SSTORE PUSH2 0x1BCB JUMP JUMPDEST PUSH4 0xA74F97AB PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x20 AND PUSH2 0x1CB8 JUMPI JUMPDEST DUP1 PUSH2 0x1B87 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x5B54587D PUSH1 0xE1 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH2 0x1CE2 SWAP2 PUSH2 0xCE1 DUP3 PUSH2 0x15E0 DUP12 DUP10 DUP12 DUP14 DUP12 CALLER PUSH1 0x24 DUP9 ADD PUSH2 0x249A JUMP JUMPDEST POP DUP9 PUSH2 0x1CB2 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x4 CALLDATALOAD SLOAD PUSH0 MSTORE PUSH1 0x20 PUSH0 RETURN JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x1D13 CALLDATASIZE PUSH2 0x1F4D JUMP JUMPDEST SWAP1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 PUSH0 SWAP1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41F5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 PUSH2 0x365 SWAP1 PUSH2 0x1D60 PUSH2 0x1D53 DUP7 PUSH2 0x2193 JUMP JUMPDEST DUP6 SUB PUSH1 0xF SIGNEXTEND CALLER SWAP1 DUP9 PUSH2 0x21B4 JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP4 DUP5 DUP5 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP5 KECCAK256 DUP7 DUP6 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP5 KECCAK256 PUSH2 0x22A DUP3 DUP3 SLOAD PUSH2 0x2110 JUMP JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH1 0x20 PUSH2 0x5FB CALLER PUSH2 0x2373 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH2 0x1DCD PUSH2 0x1F21 JUMP JUMPDEST PUSH2 0x1DD5 PUSH2 0x1F37 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD SWAP1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4215 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ISZERO PUSH2 0x3ED JUMPI PUSH2 0xA06 SWAP3 PUSH2 0x1E0A PUSH2 0x1DFD DUP5 PUSH2 0x2193 JUMP JUMPDEST PUSH0 SUB PUSH1 0xF SIGNEXTEND CALLER SWAP1 DUP4 PUSH2 0x21B4 JUMP JUMPDEST PUSH2 0x2230 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH2 0x1E1D CALLDATASIZE PUSH2 0x1F4D JUMP JUMPDEST SWAP1 SWAP2 CALLER PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP4 PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x1E40 DUP4 DUP3 SLOAD PUSH2 0x2103 JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP4 PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x1E6C DUP3 DUP3 SLOAD PUSH2 0x2110 JUMP JUMPDEST SWAP1 SSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41F5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x40 MLOAD DUP1 PUSH2 0x239 CALLER SWAP5 CALLER DUP4 PUSH2 0x211D JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x4 CALLDATALOAD PUSH4 0xFFFFFFFF PUSH1 0xE0 SHL DUP2 AND DUP1 SWAP2 SUB PUSH2 0x2D5 JUMPI PUSH1 0x20 SWAP1 PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL DUP2 EQ SWAP1 DUP2 ISZERO PUSH2 0x1ED1 JUMPI JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST PUSH4 0xF632FB3 PUSH1 0xE0 SHL EQ SWAP1 POP DUP3 PUSH2 0x1EC6 JUMP JUMPDEST CALLVALUE PUSH2 0x2D5 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x20 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1F06 PUSH2 0x1F21 JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x4 DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x24 CALLDATALOAD PUSH0 MSTORE DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SLOAD DUP2 MSTORE RETURN JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x2D5 JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x2D5 JUMPI JUMP JUMPDEST PUSH1 0x60 SWAP1 PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x2D5 JUMPI SWAP1 PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x44 CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x80 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x158D JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0x60 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x158D JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0xA0 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x158D JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x158D JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD SWAP1 PUSH3 0xFFFFFF DUP3 AND DUP3 SUB PUSH2 0x2D5 JUMPI JUMP JUMPDEST PUSH1 0xA0 SWAP1 PUSH1 0x3 NOT ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x40 MLOAD SWAP1 PUSH2 0x2016 DUP3 PUSH2 0x1FAD JUMP JUMPDEST DUP2 PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x2D5 JUMPI DUP2 MSTORE PUSH1 0x24 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x2D5 JUMPI PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x44 CALLDATALOAD PUSH3 0xFFFFFF DUP2 AND DUP2 SUB PUSH2 0x2D5 JUMPI PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x64 CALLDATALOAD DUP1 PUSH1 0x2 SIGNEXTEND DUP2 SUB PUSH2 0x2D5 JUMPI PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x84 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x2D5 JUMPI PUSH1 0x80 ADD MSTORE JUMP JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x2D5 JUMPI DUP3 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x2D5 JUMPI PUSH1 0x20 DUP4 DUP2 DUP7 ADD SWAP6 ADD ADD GT PUSH2 0x2D5 JUMPI JUMP JUMPDEST SWAP1 PUSH1 0x20 PUSH1 0x3 NOT DUP4 ADD SLT PUSH2 0x2D5 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2D5 JUMPI DUP3 PUSH1 0x23 DUP3 ADD SLT ISZERO PUSH2 0x2D5 JUMPI PUSH1 0x4 DUP2 ADD CALLDATALOAD SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP5 GT PUSH2 0x2D5 JUMPI PUSH1 0x24 DUP5 PUSH1 0x5 SHL DUP4 ADD ADD GT PUSH2 0x2D5 JUMPI PUSH1 0x24 ADD SWAP2 SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP3 SUB SWAP2 DUP3 GT PUSH2 0x14D4 JUMPI JUMP JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x14D4 JUMPI JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST ISZERO PUSH2 0x213F JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xC PUSH1 0x24 DUP3 ADD MSTORE PUSH12 0x15539055551213D492569151 PUSH1 0xA2 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP1 DUP1 PUSH1 0x20 SWAP4 SWAP3 DUP2 DUP5 MSTORE DUP5 DUP5 ADD CALLDATACOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x7F SHL DUP2 LT ISZERO PUSH2 0x21A5 JUMPI PUSH1 0xF SIGNEXTEND SWAP1 JUMP JUMPDEST PUSH4 0x93DAFDF1 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP2 SWAP1 PUSH1 0xF SIGNEXTEND SWAP2 DUP3 ISZERO PUSH2 0x222B JUMPI PUSH2 0x21C9 SWAP2 PUSH2 0x32C4 JUMP JUMPDEST PUSH2 0x21D5 DUP2 TLOAD SWAP3 DUP4 PUSH2 0x2833 JUMP JUMPDEST DUP1 SWAP2 TSTORE PUSH2 0x2201 JUMPI POP PUSH0 NOT PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4255 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ADD PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4255 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE JUMPDEST JUMP JUMPDEST ISZERO PUSH2 0x2208 JUMPI JUMP JUMPDEST PUSH1 0x1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4255 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD ADD PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4255 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE JUMP JUMPDEST POP POP POP JUMP JUMPDEST SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 PUSH2 0x22BE JUMPI POP POP PUSH0 DUP1 DUP1 DUP1 SWAP4 DUP6 GAS CALL ISZERO PUSH2 0x2255 JUMPI POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH0 PUSH1 0x24 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x80 PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0xA0 RETURNDATASIZE PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 DUP2 ADD PUSH1 0x64 DUP5 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP5 ADD MSTORE SWAP1 RETURNDATASIZE SWAP1 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0x3D2CEC6F PUSH1 0xE2 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH1 0x20 PUSH0 PUSH1 0x44 DUP2 SWAP5 SWAP7 DUP3 PUSH1 0x40 SWAP6 DUP7 MLOAD SWAP9 DUP10 SWAP4 PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP6 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x4 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD MSTORE GAS CALL RETURNDATASIZE ISZERO PUSH1 0x1F RETURNDATASIZE GT PUSH1 0x1 DUP6 MLOAD EQ AND OR AND SWAP3 DUP3 DUP2 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MSTORE ADD MSTORE ISZERO PUSH2 0x230F JUMPI POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH4 0xA9059CBB PUSH1 0xE0 SHL PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x80 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x1F RETURNDATASIZE ADD PUSH1 0x1F NOT AND PUSH1 0xA0 DUP2 ADD PUSH1 0x64 DUP4 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP4 ADD MSTORE RETURNDATASIZE PUSH0 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0x3C9FD939 PUSH1 0xE2 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x23A8 JUMPI PUSH2 0x21FF SWAP1 CALLVALUE SWAP4 JUMPDEST PUSH2 0x23A2 DUP6 PUSH2 0x2193 JUMP JUMPDEST SWAP1 PUSH2 0x21B4 JUMP JUMPDEST CALLVALUE PUSH2 0x23E7 JUMPI PUSH2 0x21FF SWAP1 PUSH2 0x23D1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4235 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x23CC DUP7 PUSH2 0x27C2 JUMP JUMPDEST PUSH2 0x2103 JUMP JUMPDEST SWAP4 PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x41D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH2 0x2399 JUMP JUMPDEST PUSH4 0x5876424F PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ADDRESS SUB PUSH2 0x2428 JUMPI JUMP JUMPDEST PUSH4 0x6C4A1C7 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO PUSH2 0x2448 JUMPI JUMP JUMPDEST PUSH4 0x486AA307 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP4 MSTORE PUSH1 0x20 DUP1 DUP4 ADD MLOAD DUP3 AND SWAP1 DUP5 ADD MSTORE PUSH1 0x40 DUP1 DUP4 ADD MLOAD PUSH3 0xFFFFFF AND SWAP1 DUP5 ADD MSTORE PUSH1 0x60 DUP1 DUP4 ADD MLOAD PUSH1 0x2 SIGNEXTEND SWAP1 DUP5 ADD MSTORE PUSH1 0x80 SWAP2 DUP3 ADD MLOAD AND SWAP2 ADD MSTORE JUMP JUMPDEST SWAP2 SWAP3 PUSH2 0x24BD PUSH2 0x120 SWAP5 PUSH2 0x24D5 SWAP9 SWAP7 SWAP4 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND DUP6 MSTORE PUSH1 0x20 DUP6 ADD SWAP1 PUSH2 0x2457 JUMP JUMPDEST PUSH1 0xC0 DUP4 ADD MSTORE PUSH1 0xE0 DUP3 ADD MSTORE DUP2 PUSH2 0x100 DUP3 ADD MSTORE ADD SWAP2 PUSH2 0x2173 JUMP JUMPDEST SWAP1 JUMP JUMPDEST SWAP1 PUSH2 0x21FF SWAP3 SWAP2 PUSH2 0x24F6 DUP4 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP4 MLOAD AND DUP5 PUSH1 0x80 SAR SWAP1 PUSH2 0x21B4 JUMP JUMPDEST PUSH1 0x20 ADD MLOAD PUSH1 0xF SWAP2 SWAP1 SWAP2 SIGNEXTEND SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x21B4 JUMP JUMPDEST PUSH3 0xFFFFFF AND PUSH3 0xF4240 DUP2 GT PUSH2 0x2521 JUMPI POP JUMP JUMPDEST PUSH4 0x14002113 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x60 DUP1 SWAP2 DUP1 MLOAD PUSH1 0x2 SIGNEXTEND DUP5 MSTORE PUSH1 0x20 DUP2 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP2 ADD MLOAD PUSH1 0x40 DUP6 ADD MSTORE ADD MLOAD SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH2 0x24D5 SWAP5 SWAP3 PUSH2 0x160 SWAP3 PUSH2 0x258F SWAP2 SWAP1 PUSH2 0x2585 SWAP1 PUSH1 0x20 DUP6 ADD SWAP1 PUSH2 0x2457 JUMP JUMPDEST PUSH1 0xC0 DUP4 ADD SWAP1 PUSH2 0x2533 JUMP JUMPDEST DUP2 PUSH2 0x140 DUP3 ADD MSTORE ADD SWAP2 PUSH2 0x2173 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0xF SIGNEXTEND SWAP2 DUP3 SUB PUSH2 0x21A5 JUMPI JUMP JUMPDEST SWAP3 PUSH2 0x25DC SWAP1 PUSH2 0x25D2 PUSH2 0x24D5 SWAP10 SWAP8 SWAP5 PUSH2 0x1A0 SWAP8 SWAP5 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND DUP8 MSTORE PUSH1 0x20 DUP8 ADD SWAP1 PUSH2 0x2457 JUMP JUMPDEST PUSH1 0xC0 DUP6 ADD SWAP1 PUSH2 0x2533 JUMP JUMPDEST PUSH2 0x140 DUP4 ADD MSTORE PUSH2 0x160 DUP3 ADD MSTORE DUP2 PUSH2 0x180 DUP3 ADD MSTORE ADD SWAP2 PUSH2 0x2173 JUMP JUMPDEST SWAP4 SWAP6 SWAP1 SWAP2 SWAP3 SWAP7 SWAP5 PUSH0 SWAP7 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP7 AND CALLER EQ PUSH2 0x26E9 JUMPI DUP9 PUSH0 PUSH1 0x40 DUP8 ADD MLOAD SGT PUSH0 EQ PUSH2 0x2691 JUMPI PUSH2 0x400 DUP8 AND PUSH2 0x262F JUMPI JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x2684 SWAP8 SWAP10 SWAP9 POP SWAP3 PUSH2 0x267D SWAP7 SWAP6 SWAP5 SWAP3 PUSH2 0x2663 SWAP3 PUSH2 0x2671 SWAP6 PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP7 PUSH4 0x27C18FBF PUSH1 0xE2 SHL PUSH1 0x20 DUP10 ADD MSTORE CALLER PUSH1 0x24 DUP10 ADD PUSH2 0x25AB JUMP JUMPDEST SUB PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x1FC8 JUMP JUMPDEST PUSH1 0x2 DUP3 AND ISZERO ISZERO SWAP2 PUSH2 0x302F JUMP JUMPDEST DUP1 SWAP3 PUSH2 0x304F JUMP JUMPDEST SWAP2 PUSH0 DUP1 DUP1 DUP1 DUP1 DUP1 DUP1 PUSH2 0x2626 JUMP JUMPDEST SWAP6 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x100 DUP7 AND PUSH2 0x26A9 JUMPI POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x2684 SWAP8 SWAP10 POP DUP7 SWAP9 POP SWAP2 PUSH2 0x2663 SWAP2 PUSH2 0x26DD SWAP5 SWAP4 PUSH2 0x267D SWAP9 PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP7 PUSH4 0x3615DF3F PUSH1 0xE1 SHL PUSH1 0x20 DUP10 ADD MSTORE CALLER PUSH1 0x24 DUP10 ADD PUSH2 0x25AB JUMP JUMPDEST PUSH1 0x1 DUP3 AND ISZERO ISZERO SWAP2 PUSH2 0x302F JUMP JUMPDEST POP PUSH0 SWAP7 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x80 DUP2 AND ISZERO DUP1 PUSH2 0x2799 JUMPI JUMPDEST PUSH2 0x276F JUMPI PUSH1 0x40 DUP2 AND ISZERO DUP1 PUSH2 0x278D JUMPI JUMPDEST PUSH2 0x276F JUMPI PUSH2 0x400 DUP2 AND ISZERO DUP1 PUSH2 0x2781 JUMPI JUMPDEST PUSH2 0x276F JUMPI PUSH2 0x100 DUP2 AND ISZERO DUP1 PUSH2 0x2775 JUMPI JUMPDEST PUSH2 0x276F JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x274F JUMPI POP PUSH3 0xFFFFFF AND PUSH3 0x800000 EQ ISZERO SWAP1 JUMP JUMPDEST PUSH2 0x3FFF AND ISZERO SWAP1 DUP2 ISZERO SWAP2 PUSH2 0x2760 JUMPI POP SWAP1 JUMP JUMPDEST PUSH3 0x800000 SWAP2 POP PUSH3 0xFFFFFF AND EQ SWAP1 JUMP JUMPDEST POP POP PUSH0 SWAP1 JUMP JUMPDEST POP PUSH1 0x1 DUP2 AND ISZERO ISZERO PUSH2 0x272E JUMP JUMPDEST POP PUSH1 0x2 DUP2 AND ISZERO ISZERO PUSH2 0x271E JUMP JUMPDEST POP PUSH1 0x4 DUP2 AND ISZERO ISZERO PUSH2 0x270E JUMP JUMPDEST POP PUSH1 0x8 DUP2 AND ISZERO ISZERO PUSH2 0x26FF JUMP JUMPDEST PUSH3 0x800000 PUSH3 0xFFFFFF DUP3 AND EQ PUSH2 0x27BD JUMPI PUSH2 0x24D5 DUP2 PUSH2 0x250F JUMP JUMPDEST POP PUSH0 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 PUSH2 0x27D5 JUMPI POP SELFBALANCE SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x24 SWAP2 PUSH1 0x40 MLOAD SWAP3 DUP4 DUP1 SWAP3 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP3 MSTORE ADDRESS PUSH1 0x4 DUP4 ADD MSTORE GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x1963 JUMPI PUSH0 SWAP2 PUSH2 0x2804 JUMPI POP SWAP1 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x282B JUMPI JUMPDEST DUP2 PUSH2 0x281F PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1FC8 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x2D5 JUMPI MLOAD SWAP1 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x2812 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 PUSH0 DUP4 DUP3 ADD SWAP4 DUP5 SLT SWAP2 SLT SWAP1 DUP1 ISZERO DUP3 AND SWAP2 ISZERO AND OR PUSH2 0x14D4 JUMPI JUMP JUMPDEST PUSH1 0x20 DUP4 ADD MLOAD SWAP6 PUSH0 SWAP6 DUP7 SWAP6 SWAP2 SWAP5 SWAP2 CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND EQ PUSH2 0x2988 JUMPI PUSH1 0x80 DUP5 AND PUSH2 0x287B JUMPI JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH2 0x28F3 SWAP3 PUSH2 0x2663 PUSH2 0x28ED SWAP3 PUSH2 0x28D9 SWAP5 PUSH1 0x40 MLOAD SWAP6 DUP7 SWAP5 PUSH4 0x15D7892D PUSH1 0xE2 SHL PUSH1 0x20 DUP8 ADD MSTORE CALLER PUSH1 0x24 DUP8 ADD MSTORE PUSH2 0x28B0 PUSH1 0x44 DUP8 ADD DUP13 PUSH2 0x2457 JUMP JUMPDEST DUP1 MLOAD ISZERO ISZERO PUSH1 0xE4 DUP8 ADD MSTORE PUSH1 0x20 DUP2 ADD MLOAD PUSH2 0x104 DUP8 ADD MSTORE PUSH1 0x40 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x124 DUP7 ADD MSTORE JUMP JUMPDEST PUSH2 0x140 PUSH2 0x144 DUP6 ADD MSTORE PUSH2 0x164 DUP5 ADD SWAP2 PUSH2 0x2173 JUMP JUMPDEST DUP3 PUSH2 0x2ADB JUMP JUMPDEST SWAP2 PUSH1 0x60 DUP4 MLOAD SUB PUSH2 0x2979 JUMPI PUSH1 0x40 ADD MLOAD PUSH3 0xFFFFFF AND PUSH3 0x800000 EQ PUSH2 0x296D JUMPI JUMPDEST PUSH1 0x8 AND PUSH2 0x2921 JUMPI JUMPDEST DUP1 DUP1 DUP1 DUP1 PUSH2 0x2874 JUMP JUMPDEST PUSH1 0x40 ADD MLOAD SWAP3 POP PUSH1 0x80 DUP4 SWAP1 SAR PUSH1 0xF SIGNEXTEND DUP1 ISZERO PUSH2 0x2918 JUMPI PUSH2 0x2942 SWAP1 PUSH0 DUP7 SLT SWAP6 PUSH2 0x2833 JUMP JUMPDEST SWAP4 ISZERO PUSH2 0x2965 JUMPI PUSH0 DUP5 SGT JUMPDEST PUSH2 0x2956 JUMPI PUSH0 PUSH2 0x2918 JUMP JUMPDEST PUSH4 0x7D05B8EB PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH0 DUP5 SLT PUSH2 0x294C JUMP JUMPDEST PUSH1 0x60 DUP3 ADD MLOAD SWAP4 POP PUSH2 0x2910 JUMP JUMPDEST PUSH4 0x1E048E1D PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP PUSH0 SWAP7 POP DUP7 SWAP6 POP POP POP POP POP JUMP JUMPDEST PUSH1 0xF SWAP2 DUP3 SIGNEXTEND SWAP2 SIGNEXTEND ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x7F SHL SUB NOT DUP3 SLT PUSH1 0x1 PUSH1 0x1 PUSH1 0x7F SHL SUB DUP4 SGT OR PUSH2 0x14D4 JUMPI JUMP JUMPDEST SWAP2 SWAP7 SWAP6 SWAP3 SWAP5 SWAP3 SWAP4 CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND EQ PUSH2 0x2ACE JUMPI DUP5 PUSH1 0x80 SAR SWAP5 PUSH1 0xF SIGNEXTEND SWAP4 DUP9 PUSH1 0x40 DUP6 AND PUSH2 0x2A59 JUMPI JUMPDEST POP POP POP POP POP PUSH0 SWAP5 DUP2 PUSH1 0xF SIGNEXTEND ISZERO DUP1 ISZERO SWAP1 PUSH2 0x2A4D JUMPI JUMPDEST PUSH2 0x2A04 JUMPI JUMPDEST POP POP POP SWAP2 SWAP1 JUMP JUMPDEST PUSH2 0x2A31 SWAP4 SWAP6 POP PUSH0 PUSH1 0x20 DUP3 ADD MLOAD SLT SWAP1 MLOAD ISZERO ISZERO EQ PUSH0 EQ PUSH2 0x2A39 JUMPI PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR JUMPDEST DUP1 SWAP4 PUSH2 0x304F JUMP JUMPDEST PUSH0 DUP1 DUP1 PUSH2 0x29FD JUMP JUMPDEST PUSH1 0x80 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP1 SWAP2 AND OR PUSH2 0x2A2A JUMP JUMPDEST POP DUP3 PUSH1 0xF SIGNEXTEND ISZERO ISZERO PUSH2 0x29F8 JUMP JUMPDEST PUSH2 0x2AB2 PUSH2 0x2ABE SWAP5 PUSH2 0x2663 PUSH2 0x117B SWAP6 PUSH2 0x2AC4 SWAP10 SWAP9 SWAP6 PUSH2 0x2A97 PUSH2 0x28B0 SWAP7 PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP7 PUSH4 0xB47B2FB1 PUSH1 0xE0 SHL PUSH1 0x20 DUP10 ADD MSTORE CALLER PUSH1 0x24 DUP10 ADD MSTORE PUSH1 0x44 DUP9 ADD SWAP1 PUSH2 0x2457 JUMP JUMPDEST DUP13 PUSH2 0x144 DUP6 ADD MSTORE PUSH2 0x160 PUSH2 0x164 DUP6 ADD MSTORE PUSH2 0x184 DUP5 ADD SWAP2 PUSH2 0x2173 JUMP JUMPDEST PUSH1 0x4 DUP3 AND ISZERO ISZERO SWAP2 PUSH2 0x302F JUMP JUMPDEST SWAP1 PUSH2 0x2995 JUMP JUMPDEST PUSH0 DUP1 DUP1 DUP1 DUP9 PUSH2 0x29E4 JUMP JUMPDEST POP POP POP POP POP SWAP1 SWAP2 POP SWAP1 PUSH0 SWAP1 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 DUP3 MLOAD SWAP3 PUSH0 DUP1 PUSH1 0x20 DUP4 ADD SWAP6 DUP7 DUP3 DUP7 GAS CALL ISZERO PUSH2 0x2B43 JUMPI POP POP PUSH1 0x40 MLOAD SWAP2 PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP4 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP4 MSTORE RETURNDATASIZE SWAP1 PUSH1 0x20 DUP5 ADD SWAP2 PUSH0 DUP4 RETURNDATACOPY PUSH1 0x20 DUP5 MLOAD LT SWAP2 DUP3 ISZERO PUSH2 0x2B27 JUMPI JUMPDEST POP POP PUSH2 0x2979 JUMPI JUMP JUMPDEST MLOAD SWAP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT SWAP2 DUP3 AND SWAP2 AND EQ ISZERO SWAP1 POP PUSH0 DUP1 PUSH2 0x2B1F JUMP JUMPDEST MLOAD DUP4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND SWAP2 SWAP1 PUSH1 0x4 DUP3 LT PUSH2 0x2BCD JUMPI JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x80 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0xA0 RETURNDATASIZE PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 DUP2 ADD PUSH1 0x64 DUP4 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP4 ADD MSTORE RETURNDATASIZE PUSH0 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0xA9E35B2F PUSH1 0xE0 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0x4 SWAP3 SWAP1 SWAP3 SUB PUSH1 0x3 SHL DUP3 SWAP1 SHL AND AND SWAP1 POP DUP3 DUP1 PUSH2 0x2B5C JUMP JUMPDEST SWAP2 SWAP1 PUSH1 0x2 SIGNEXTEND SWAP1 PUSH1 0x2 SIGNEXTEND SWAP1 DUP2 DUP2 SMOD PUSH2 0x2C1B JUMPI SDIV SWAP1 DUP2 PUSH1 0x8 SAR PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0xFF PUSH1 0x40 PUSH0 KECCAK256 SWAP3 AND SHL DUP2 SLOAD XOR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1C SWAP1 PUSH1 0x44 SWAP3 PUSH1 0x40 MLOAD SWAP2 PUSH4 0xD4D8F3E6 DUP4 MSTORE PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD MSTORE ADD REVERT JUMPDEST PUSH1 0x4 SWAP2 PUSH1 0x2 SIGNEXTEND PUSH0 MSTORE ADD PUSH1 0x20 MSTORE PUSH0 PUSH1 0x2 PUSH1 0x40 DUP3 KECCAK256 DUP3 DUP2 SSTORE DUP3 PUSH1 0x1 DUP3 ADD SSTORE ADD SSTORE JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND SWAP1 DUP2 PUSH1 0xFF SAR DUP3 DUP2 ADD XOR PUSH3 0xD89E8 DUP2 GT PUSH2 0x2F73 JUMPI PUSH4 0xFFFFFFFF SWAP2 SWAP3 PUSH1 0x1 DUP3 AND PUSH17 0x1FFFCB933BD6FAD37AA2D162D1A594001 MUL PUSH1 0x1 PUSH1 0x80 SHL XOR SWAP2 PUSH1 0x2 DUP2 AND PUSH2 0x2F57 JUMPI JUMPDEST PUSH1 0x4 DUP2 AND PUSH2 0x2F3B JUMPI JUMPDEST PUSH1 0x8 DUP2 AND PUSH2 0x2F1F JUMPI JUMPDEST PUSH1 0x10 DUP2 AND PUSH2 0x2F03 JUMPI JUMPDEST PUSH1 0x20 DUP2 AND PUSH2 0x2EE7 JUMPI JUMPDEST PUSH1 0x40 DUP2 AND PUSH2 0x2ECB JUMPI JUMPDEST PUSH1 0x80 DUP2 AND PUSH2 0x2EAF JUMPI JUMPDEST PUSH2 0x100 DUP2 AND PUSH2 0x2E93 JUMPI JUMPDEST PUSH2 0x200 DUP2 AND PUSH2 0x2E77 JUMPI JUMPDEST PUSH2 0x400 DUP2 AND PUSH2 0x2E5B JUMPI JUMPDEST PUSH2 0x800 DUP2 AND PUSH2 0x2E3F JUMPI JUMPDEST PUSH2 0x1000 DUP2 AND PUSH2 0x2E23 JUMPI JUMPDEST PUSH2 0x2000 DUP2 AND PUSH2 0x2E07 JUMPI JUMPDEST PUSH2 0x4000 DUP2 AND PUSH2 0x2DEB JUMPI JUMPDEST PUSH2 0x8000 DUP2 AND PUSH2 0x2DCF JUMPI JUMPDEST PUSH3 0x10000 DUP2 AND PUSH2 0x2DB3 JUMPI JUMPDEST PUSH3 0x20000 DUP2 AND PUSH2 0x2D98 JUMPI JUMPDEST PUSH3 0x40000 DUP2 AND PUSH2 0x2D7D JUMPI JUMPDEST PUSH3 0x80000 AND PUSH2 0x2D64 JUMPI JUMPDEST PUSH0 SLT PUSH2 0x2D5C JUMPI JUMPDEST ADD PUSH1 0x20 SHR SWAP1 JUMP JUMPDEST PUSH0 NOT DIV PUSH2 0x2D55 JUMP JUMPDEST PUSH12 0x48A170391F7DC42444E8FA2 SWAP1 SWAP2 MUL PUSH1 0x80 SHR SWAP1 PUSH2 0x2D4E JUMP JUMPDEST PUSH14 0x2216E584F5FA1EA926041BEDFE98 SWAP1 SWAP3 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D44 JUMP JUMPDEST SWAP2 PUSH15 0x5D6AF8DEDB81196699C329225EE604 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D39 JUMP JUMPDEST SWAP2 PUSH16 0x9AA508B5B7A84E1C677DE54F3E99BC9 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D2E JUMP JUMPDEST SWAP2 PUSH16 0x31BE135F97D08FD981231505542FCFA6 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D23 JUMP JUMPDEST SWAP2 PUSH16 0x70D869A156D2A1B890BB3DF62BAF32F7 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D19 JUMP JUMPDEST SWAP2 PUSH16 0xA9F746462D870FDF8A65DC1F90E061E5 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D0F JUMP JUMPDEST SWAP2 PUSH16 0xD097F3BDFD2022B8845AD8F792AA5825 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2D05 JUMP JUMPDEST SWAP2 PUSH16 0xE7159475A2C29B7443B29C7FA6E889D9 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CFB JUMP JUMPDEST SWAP2 PUSH16 0xF3392B0822B70005940C7A398E4B70F3 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CF1 JUMP JUMPDEST SWAP2 PUSH16 0xF987A7253AC413176F2B074CF7815E54 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CE7 JUMP JUMPDEST SWAP2 PUSH16 0xFCBE86C7900A88AEDCFFC83B479AA3A4 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CDD JUMP JUMPDEST SWAP2 PUSH16 0xFE5DEE046A99A2A811C461F1969C3053 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CD3 JUMP JUMPDEST SWAP2 PUSH16 0xFF2EA16466C96A3843EC78B326B52861 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CCA JUMP JUMPDEST SWAP2 PUSH16 0xFF973B41FA98C081472E6896DFB254C0 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CC1 JUMP JUMPDEST SWAP2 PUSH16 0xFFCB9843D60F6159C9DB58835C926644 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CB8 JUMP JUMPDEST SWAP2 PUSH16 0xFFE5CACA7E10E4E61C3624EAA0941CD0 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CAF JUMP JUMPDEST SWAP2 PUSH16 0xFFF2E50F5F656932EF12357CF3C7FDCC MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2CA6 JUMP JUMPDEST SWAP2 PUSH16 0xFFF97272373D413259A46990580E213A MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x2C9D JUMP JUMPDEST DUP3 PUSH4 0x45C3193D PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP1 PUSH0 DUP4 PUSH1 0xF SIGNEXTEND SLT PUSH0 EQ PUSH2 0x2FB2 JUMPI PUSH2 0x2FA8 SWAP3 PUSH0 SUB PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP2 PUSH2 0x3F46 JUMP JUMPDEST PUSH0 DUP2 SLT PUSH2 0x21A5 JUMPI SWAP1 JUMP JUMPDEST PUSH2 0x2FC5 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP2 PUSH2 0x3F0A JUMP JUMPDEST PUSH0 DUP2 SLT PUSH2 0x21A5 JUMPI PUSH0 SUB SWAP1 JUMP JUMPDEST SWAP1 PUSH0 DUP4 PUSH1 0xF SIGNEXTEND SLT PUSH0 EQ PUSH2 0x2FF3 JUMPI PUSH2 0x2FA8 SWAP3 PUSH0 SUB PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP2 PUSH2 0x3FDE JUMP JUMPDEST PUSH2 0x2FC5 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP2 PUSH2 0x3F72 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH1 0xF SWAP2 SWAP1 SWAP2 SIGNEXTEND ADD SWAP1 PUSH1 0x80 DUP3 SWAP1 SHR PUSH2 0x3022 JUMPI JUMP JUMPDEST PUSH4 0x93DAFDF1 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST SWAP1 PUSH2 0x3039 SWAP2 PUSH2 0x2ADB JUMP JUMPDEST SWAP1 ISZERO PUSH2 0x27BD JUMPI PUSH1 0x40 DUP2 MLOAD SUB PUSH2 0x2979 JUMPI PUSH1 0x40 ADD MLOAD SWAP1 JUMP JUMPDEST PUSH2 0x3072 SWAP1 PUSH2 0x3064 DUP4 PUSH1 0x80 SAR DUP3 PUSH1 0x80 SAR SUB PUSH2 0x259D JUMP JUMPDEST SWAP3 PUSH1 0xF SIGNEXTEND SWAP1 PUSH1 0xF SIGNEXTEND SUB PUSH2 0x259D JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR SWAP1 JUMP JUMPDEST PUSH20 0xFFFD8963EFD1FC6A506488495D951D5163961682 PUSH5 0x1000276A2 NOT DUP3 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GT PUSH2 0x32A4 JUMPI PUSH10 0x3627A301D71055774C85 PUSH1 0x20 DUP3 SWAP1 SHL PUSH1 0x1 PUSH1 0x20 SHL PUSH1 0x1 PUSH1 0xC0 SHL SUB AND DUP1 PUSH1 0xFF PUSH2 0x30D6 DUP3 PUSH2 0x403C JUMP JUMPDEST AND SWAP2 PUSH1 0x80 DUP4 LT PUSH2 0x3298 JUMPI POP PUSH1 0x7E NOT DUP3 ADD SHR JUMPDEST DUP1 MUL DUP1 PUSH1 0x7F SHR DUP2 PUSH1 0xFF SHR SHR DUP1 MUL DUP1 PUSH1 0x7F SHR DUP2 PUSH1 0xFF SHR SHR DUP1 MUL DUP1 PUSH1 0x7F SHR DUP2 PUSH1 0xFF SHR SHR DUP1 MUL DUP1 PUSH1 0x7F SHR DUP2 PUSH1 0xFF SHR SHR DUP1 MUL DUP1 PUSH1 0x7F SHR DUP2 PUSH1 0xFF SHR SHR DUP1 MUL DUP1 PUSH1 0x7F SHR DUP2 PUSH1 0xFF SHR SHR DUP1 MUL SWAP1 DUP2 PUSH1 0x7F SHR DUP3 PUSH1 0xFF SHR SHR DUP1 MUL SWAP3 DUP4 PUSH1 0x7F SHR DUP5 PUSH1 0xFF SHR SHR DUP1 MUL SWAP5 DUP6 PUSH1 0x7F SHR DUP7 PUSH1 0xFF SHR SHR DUP1 MUL SWAP7 DUP8 PUSH1 0x7F SHR DUP9 PUSH1 0xFF SHR SHR DUP1 MUL SWAP9 DUP10 PUSH1 0x7F SHR DUP11 PUSH1 0xFF SHR SHR DUP1 MUL SWAP11 DUP12 PUSH1 0x7F SHR DUP13 PUSH1 0xFF SHR SHR DUP1 MUL SWAP13 DUP14 DUP1 PUSH1 0x7F SHR SWAP1 PUSH1 0xFF SHR SHR PUSH1 0x1 PUSH1 0x32 SHL SWAP1 DUP1 MUL PUSH1 0xCD SHR AND SWAP14 PUSH1 0x1 PUSH1 0x33 SHL SWAP1 PUSH1 0xCC SHR AND SWAP13 PUSH1 0x1 PUSH1 0x34 SHL SWAP1 PUSH1 0xCB SHR AND SWAP12 PUSH1 0x1 PUSH1 0x35 SHL SWAP1 PUSH1 0xCA SHR AND SWAP11 PUSH1 0x1 PUSH1 0x36 SHL SWAP1 PUSH1 0xC9 SHR AND SWAP10 PUSH1 0x1 PUSH1 0x37 SHL SWAP1 PUSH1 0xC8 SHR AND SWAP9 PUSH1 0x1 PUSH1 0x38 SHL SWAP1 PUSH1 0xC7 SHR AND SWAP8 PUSH1 0x1 PUSH1 0x39 SHL SWAP1 PUSH1 0xC6 SHR AND SWAP7 PUSH1 0x1 PUSH1 0x3A SHL SWAP1 PUSH1 0xC5 SHR AND SWAP6 PUSH1 0x1 PUSH1 0x3B SHL SWAP1 PUSH1 0xC4 SHR AND SWAP5 PUSH1 0x1 PUSH1 0x3C SHL SWAP1 PUSH1 0xC3 SHR AND SWAP4 PUSH1 0x1 PUSH1 0x3D SHL SWAP1 PUSH1 0xC2 SHR AND SWAP3 PUSH1 0x1 PUSH1 0x3E SHL SWAP1 PUSH1 0xC1 SHR AND SWAP2 PUSH1 0x1 PUSH1 0x3F SHL SWAP1 PUSH1 0xC0 SHR AND SWAP1 PUSH1 0x7F NOT ADD PUSH1 0x40 SHL OR OR OR OR OR OR OR OR OR OR OR OR OR OR MUL PUSH16 0xDB2DF09E81959A81455E260799A0632F PUSH16 0x28F6481AB7F045A5AF012A19D003AA9 NOT DUP3 ADD PUSH1 0x80 SAR PUSH1 0x2 SIGNEXTEND SWAP2 ADD PUSH1 0x80 SAR PUSH1 0x2 SIGNEXTEND SWAP2 DUP3 DUP3 EQ PUSH0 EQ PUSH2 0x3274 JUMPI POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP1 PUSH2 0x3289 DUP5 PUSH2 0x2C59 JUMP JUMPDEST AND GT PUSH2 0x3293 JUMPI POP SWAP1 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST SWAP1 POP DUP2 PUSH1 0x7F SUB SHL PUSH2 0x30E8 JUMP JUMPDEST PUSH4 0x18521D49 PUSH1 0xE2 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH0 SWAP1 DUP2 MSTORE SWAP2 AND PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST DUP2 ISZERO PUSH2 0x32E9 JUMPI DIV SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x40 MLOAD SWAP3 SWAP1 SWAP2 PUSH0 PUSH2 0x330D DUP6 PUSH2 0x1F92 JUMP JUMPDEST PUSH0 DUP6 MSTORE PUSH1 0x20 DUP6 ADD SWAP3 PUSH0 DUP5 MSTORE PUSH1 0x40 DUP7 ADD SWAP6 PUSH0 DUP8 MSTORE DUP1 SWAP7 DUP7 SLOAD SWAP6 PUSH1 0x40 DUP7 ADD MLOAD ISZERO SWAP6 DUP7 ISZERO PUSH0 EQ PUSH2 0x3CF4 JUMPI PUSH2 0xFFF DUP9 PUSH1 0xB8 SHR AND SWAP5 JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP11 AND DUP1 DUP8 MSTORE PUSH1 0xA0 DUP12 SWAP1 SHR PUSH1 0x2 SIGNEXTEND SWAP1 SWAP5 MSTORE PUSH1 0x3 DUP12 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 SWAP5 MSTORE PUSH1 0x80 DUP3 ADD MLOAD PUSH0 SWAP5 SWAP4 SWAP1 PUSH3 0x400000 DUP2 AND ISZERO PUSH2 0x3CE5 JUMPI PUSH3 0xBFFFFF AND PUSH2 0x338B DUP2 PUSH2 0x250F JUMP JUMPDEST PUSH2 0xFFFF DUP9 AND PUSH2 0x3CCA JUMPI JUMPDEST DUP1 SWAP7 PUSH3 0xF4240 PUSH3 0xFFFFFF DUP4 AND LT ISZERO PUSH2 0x3CB2 JUMPI JUMPDEST DUP5 MLOAD ISZERO PUSH2 0x3C9C JUMPI POP POP DUP9 PUSH2 0x3C54 JUMPI PUSH1 0x60 DUP4 ADD DUP1 MLOAD SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 DUP2 LT ISZERO PUSH2 0x3C36 JUMPI POP POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH5 0x1000276A3 DUP2 GT ISZERO PUSH2 0x3C24 JUMPI POP JUMPDEST PUSH1 0x40 MLOAD SWAP9 PUSH2 0x100 DUP11 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP12 DUP3 LT OR PUSH2 0x158D JUMPI PUSH1 0x40 MSTORE PUSH0 DUP11 MSTORE PUSH0 PUSH1 0x20 DUP12 ADD MSTORE PUSH0 PUSH1 0x40 DUP12 ADD MSTORE PUSH0 PUSH1 0x60 DUP12 ADD MSTORE PUSH0 PUSH1 0x80 DUP12 ADD MSTORE PUSH0 PUSH1 0xA0 DUP12 ADD MSTORE PUSH0 PUSH1 0xC0 DUP12 ADD MSTORE DUP9 ISZERO PUSH0 EQ PUSH2 0x3C16 JUMPI PUSH1 0x1 DUP12 ADD SLOAD SWAP5 SWAP4 SWAP1 SWAP5 JUMPDEST PUSH1 0xE0 DUP12 ADD MSTORE JUMPDEST DUP1 ISZERO DUP1 ISZERO PUSH2 0x3BFB JUMPI JUMPDEST PUSH2 0x3B14 JUMPI PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP13 MLOAD AND DUP11 MSTORE DUP11 PUSH1 0x20 DUP14 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x20 DUP6 ADD MLOAD PUSH1 0x2 SIGNEXTEND SWAP1 DUP2 PUSH0 DUP2 DUP4 SMOD SLT SWAP2 SDIV SUB DUP12 ISZERO PUSH0 EQ PUSH2 0x3A21 JUMPI PUSH1 0x5 PUSH1 0xFF DUP3 AND SWAP4 DUP3 PUSH1 0x2 SIGNEXTEND PUSH1 0x8 SAR PUSH1 0x1 SIGNEXTEND PUSH0 MSTORE ADD PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH0 NOT DUP5 PUSH1 0xFF SUB SHR SWAP1 SLOAD AND SWAP3 DUP4 ISZERO ISZERO SWAP4 DUP5 PUSH0 EQ PUSH2 0x3A0F JUMPI SWAP1 PUSH2 0x34C1 PUSH1 0xFF SWAP3 PUSH2 0x403C JUMP JUMPDEST SWAP1 SUB AND PUSH1 0x2 SIGNEXTEND SWAP1 SUB PUSH1 0x2 SIGNEXTEND MUL PUSH1 0x2 SIGNEXTEND JUMPDEST SWAP1 JUMPDEST ISZERO ISZERO PUSH1 0x40 DUP13 ADD MSTORE PUSH1 0x2 SIGNEXTEND DUP1 PUSH1 0x20 DUP13 ADD MSTORE PUSH3 0xD89E7 NOT SLT ISZERO PUSH2 0x3A00 JUMPI JUMPDEST PUSH3 0xD89E8 PUSH1 0x20 DUP12 ADD MLOAD PUSH1 0x2 SIGNEXTEND SLT ISZERO PUSH2 0x39F2 JUMPI JUMPDEST DUP6 DUP13 DUP12 DUP12 PUSH1 0x1 DUP1 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0x351E PUSH1 0x20 DUP6 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH2 0x2C59 JUMP JUMPDEST AND DUP1 PUSH1 0x60 DUP6 ADD MSTORE DUP2 DUP1 PUSH1 0xA0 SHL SUB DUP6 MLOAD AND SWAP3 DUP3 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x60 DUP12 ADD MLOAD AND SWAP3 DUP4 SWAP2 ISZERO AND DUP2 DUP4 LT XOR SWAP2 XOR MUL XOR SWAP3 PUSH1 0x40 PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB SWAP2 ADD MLOAD AND SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP5 AND DUP2 LT ISZERO SWAP2 PUSH0 DUP8 SLT PUSH0 EQ PUSH2 0x38CA JUMPI PUSH3 0xFFFFFF DUP7 AND PUSH3 0xF4240 SUB PUSH2 0x3584 DUP2 DUP10 PUSH0 SUB PUSH2 0x3D4B JUMP JUMPDEST SWAP6 DUP5 ISZERO PUSH2 0x38B9 JUMPI PUSH2 0x3596 DUP4 DUP6 DUP4 PUSH2 0x3F72 JUMP JUMPDEST SWAP7 JUMPDEST DUP8 DUP2 LT PUSH2 0x3815 JUMPI POP SWAP7 PUSH1 0xC0 SWAP4 SWAP3 SWAP2 DUP9 SWAP2 SWAP1 PUSH3 0xFFFFFF DUP3 AND PUSH3 0xF4240 SUB PUSH2 0x3801 JUMPI POP POP DUP7 JUMPDEST SWAP5 JUMPDEST ISZERO PUSH2 0x37F3 JUMPI SWAP2 PUSH2 0x35CD SWAP3 PUSH2 0x3F46 JUMP JUMPDEST SWAP3 JUMPDEST ADD MSTORE PUSH1 0xA0 DUP14 ADD MSTORE PUSH1 0x80 DUP13 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP13 MSTORE DUP3 MLOAD PUSH0 SLT ISZERO PUSH2 0x37C3 JUMPI PUSH1 0xA0 DUP11 ADD MLOAD SWAP1 PUSH0 DUP3 SLT PUSH2 0x21A5 JUMPI SUB SWAP3 PUSH2 0x3611 PUSH1 0x80 DUP12 ADD MLOAD PUSH1 0xC0 DUP13 ADD MLOAD SWAP1 PUSH2 0x2110 JUMP JUMPDEST PUSH0 DUP2 SLT PUSH2 0x21A5 JUMPI DUP2 SUB SWAP1 DUP2 SGT PUSH1 0x1 AND PUSH2 0x14D4 JUMPI SWAP4 JUMPDEST PUSH2 0xFFFF DUP8 AND PUSH2 0x377B JUMPI JUMPDEST PUSH1 0x40 DUP13 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND DUP1 PUSH2 0x3761 JUMPI JUMPDEST POP DUP12 MLOAD PUSH1 0x60 DUP12 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND SWAP2 AND DUP2 SUB PUSH2 0x3732 JUMPI POP PUSH1 0x40 DUP11 ADD MLOAD PUSH2 0x369B JUMPI JUMPDEST DUP9 PUSH2 0x368E JUMPI PUSH0 NOT PUSH1 0x20 DUP12 ADD MLOAD PUSH1 0x2 SIGNEXTEND ADD PUSH1 0x2 SIGNEXTEND JUMPDEST PUSH1 0x2 SIGNEXTEND PUSH1 0x20 DUP14 ADD MSTORE JUMPDEST SWAP4 SWAP3 PUSH2 0x3448 JUMP JUMPDEST PUSH1 0x20 DUP11 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH2 0x367E JUMP JUMPDEST DUP9 PUSH2 0x3717 JUMPI DUP12 PUSH2 0x3702 DUP13 DUP13 PUSH1 0x4 PUSH1 0xE0 DUP3 ADD MLOAD SWAP3 PUSH1 0x20 PUSH1 0x2 DUP3 ADD SLOAD SWAP4 JUMPDEST ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x2 SIGNEXTEND PUSH0 MSTORE ADD PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP2 PUSH1 0x1 DUP4 ADD SWAP1 DUP2 SLOAD SWAP1 SUB SWAP1 SSTORE PUSH1 0x2 DUP3 ADD SWAP1 DUP2 SLOAD SWAP1 SUB SWAP1 SSTORE SLOAD PUSH1 0x80 SAR DUP12 ISZERO PUSH2 0x370D JUMPI JUMPDEST PUSH1 0x40 SWAP1 SWAP3 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP3 SWAP1 DUP4 AND PUSH2 0x3006 JUMP JUMPDEST AND PUSH1 0x40 DUP14 ADD MSTORE PUSH2 0x366A JUMP JUMPDEST PUSH0 SUB PUSH1 0xF SIGNEXTEND PUSH2 0x36EB JUMP JUMPDEST DUP12 PUSH2 0x3702 DUP13 DUP13 PUSH1 0x4 PUSH1 0x1 DUP4 ADD SLOAD SWAP3 PUSH1 0x20 PUSH1 0xE0 DUP5 ADD MLOAD SWAP4 PUSH2 0x36B7 JUMP JUMPDEST DUP11 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 SUB PUSH2 0x374A JUMPI JUMPDEST POP PUSH2 0x3687 JUMP JUMPDEST PUSH2 0x3753 SWAP1 PUSH2 0x3082 JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND PUSH1 0x20 DUP14 ADD MSTORE PUSH0 PUSH2 0x3744 JUMP JUMPDEST PUSH1 0xC0 DUP12 ADD MLOAD PUSH1 0x80 SHL DIV PUSH1 0xE0 DUP12 ADD MLOAD ADD PUSH1 0xE0 DUP12 ADD MSTORE PUSH0 PUSH2 0x3644 JUMP JUMPDEST SWAP7 PUSH3 0xFFFFFF DUP7 AND PUSH2 0xFFFF DUP9 AND SUB PUSH2 0x37A6 JUMPI PUSH1 0xC0 DUP11 ADD MLOAD SWAP1 JUMPDEST DUP2 PUSH1 0xC0 DUP13 ADD MLOAD SUB PUSH1 0xC0 DUP13 ADD MSTORE ADD SWAP7 PUSH2 0x3630 JUMP JUMPDEST PUSH3 0xF4240 PUSH1 0x80 DUP12 ADD MLOAD PUSH2 0xFFFF DUP10 AND SWAP1 PUSH1 0xC0 DUP14 ADD MLOAD ADD MUL DIV SWAP1 PUSH2 0x3793 JUMP JUMPDEST PUSH1 0x80 DUP11 ADD MLOAD PUSH1 0xC0 DUP12 ADD MLOAD ADD SWAP1 PUSH0 DUP3 SLT PUSH2 0x21A5 JUMPI ADD SWAP3 PUSH1 0xA0 DUP11 ADD MLOAD PUSH0 DUP2 SLT PUSH2 0x21A5 JUMPI PUSH2 0x37ED SWAP2 PUSH2 0x2833 JUMP JUMPDEST SWAP4 PUSH2 0x3626 JUMP JUMPDEST PUSH2 0x37FC SWAP3 PUSH2 0x3FDE JUMP JUMPDEST PUSH2 0x35CD JUMP JUMPDEST PUSH3 0xFFFFFF PUSH2 0x3810 SWAP3 AND DUP10 PUSH2 0x40BE JUMP JUMPDEST PUSH2 0x35BC JUMP JUMPDEST SWAP8 POP POP POP SWAP4 POP SWAP2 POP DUP4 SWAP3 DUP1 ISZERO DUP4 ISZERO OR PUSH2 0x38AC JUMPI DUP15 SWAP3 PUSH1 0xC0 SWAP2 DUP4 ISZERO PUSH2 0x384A JUMPI PUSH2 0x383E DUP8 DUP3 DUP5 PUSH2 0x4141 JUMP JUMPDEST DUP1 SWAP8 DUP10 ADD PUSH0 SUB SWAP5 PUSH2 0x35BE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 GT PUSH2 0x388E JUMPI PUSH2 0x3889 PUSH2 0x3884 PUSH2 0x3875 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP5 AND PUSH1 0x60 DUP12 SWAP1 SHL PUSH2 0x32DF JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH2 0x2110 JUMP JUMPDEST PUSH2 0x41C0 JUMP JUMPDEST PUSH2 0x383E JUMP JUMPDEST PUSH2 0x3889 PUSH2 0x3884 PUSH2 0x38A7 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP5 AND DUP11 PUSH2 0x3E00 JUMP JUMPDEST PUSH2 0x3875 JUMP JUMPDEST PUSH4 0x4F2461B8 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST PUSH2 0x38C4 DUP4 DUP3 DUP7 PUSH2 0x3F0A JUMP JUMPDEST SWAP7 PUSH2 0x3598 JUMP JUMPDEST SWAP2 SWAP5 POP SWAP2 POP DUP4 ISZERO PUSH2 0x39E1 JUMPI PUSH2 0x38E0 DUP2 DUP4 DUP6 PUSH2 0x3F46 JUMP JUMPDEST SWAP3 JUMPDEST DUP4 DUP7 LT PUSH2 0x392C JUMPI DUP1 SWAP5 JUMPDEST ISZERO PUSH2 0x391D JUMPI SWAP2 PUSH2 0x38FB SWAP3 PUSH2 0x3F72 JUMP JUMPDEST SWAP1 JUMPDEST DUP13 PUSH1 0xC0 PUSH2 0x3917 PUSH3 0xFFFFFF DUP13 AND PUSH3 0xF4240 DUP2 SWAP1 SUB SWAP1 DUP7 PUSH2 0x40BE JUMP JUMPDEST SWAP2 PUSH2 0x35CF JUMP JUMPDEST PUSH2 0x3926 SWAP3 PUSH2 0x3F0A JUMP JUMPDEST SWAP1 PUSH2 0x38FD JUMP JUMPDEST POP DUP5 SWAP3 POP DUP2 ISZERO DUP2 ISZERO OR PUSH2 0x38AC JUMPI DUP4 ISZERO PUSH2 0x39D1 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 GT PUSH2 0x3999 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND PUSH1 0x60 DUP7 SWAP1 SHL DUP2 DUP2 DIV SWAP2 SWAP1 MOD ISZERO ISZERO ADD JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 DUP1 DUP3 GT ISZERO PUSH2 0x398C JUMPI SWAP1 SUB PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND JUMPDEST DUP1 SWAP5 PUSH2 0x38EC JUMP JUMPDEST PUSH4 0x4323A555 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND PUSH2 0x39B2 DUP2 PUSH1 0x1 PUSH1 0x60 SHL DUP9 PUSH2 0x3E8A JUMP JUMPDEST SWAP1 DUP1 ISZERO PUSH2 0x32E9 JUMPI PUSH1 0x1 PUSH1 0x60 SHL DUP8 MULMOD ISZERO PUSH2 0x3966 JUMPI PUSH1 0x1 ADD DUP1 PUSH2 0x3966 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x39DC DUP6 DUP3 DUP5 PUSH2 0x40E7 JUMP JUMPDEST PUSH2 0x3985 JUMP JUMPDEST PUSH2 0x39EC DUP2 DUP5 DUP5 PUSH2 0x3FDE JUMP JUMPDEST SWAP3 PUSH2 0x38E2 JUMP JUMPDEST PUSH3 0xD89E8 PUSH1 0x20 DUP12 ADD MSTORE PUSH2 0x3502 JUMP JUMPDEST PUSH3 0xD89E7 NOT PUSH1 0x20 DUP12 ADD MSTORE PUSH2 0x34EF JUMP JUMPDEST POP PUSH1 0x2 SIGNEXTEND SWAP1 SUB PUSH1 0x2 SIGNEXTEND MUL PUSH1 0x2 SIGNEXTEND PUSH2 0x34D1 JUMP JUMPDEST PUSH1 0x1 ADD DUP1 PUSH1 0x2 SIGNEXTEND SWAP1 PUSH1 0x5 DUP2 PUSH1 0xFF AND SWAP5 DUP4 PUSH1 0x8 SAR PUSH1 0x1 SIGNEXTEND PUSH0 MSTORE ADD PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH1 0x1 PUSH1 0xFF PUSH0 NOT SWAP3 AND SHL ADD NOT SWAP1 SLOAD AND DUP1 ISZERO SWAP4 DUP5 ISZERO SWAP5 DUP6 PUSH0 EQ PUSH2 0x3AFC JUMPI PUSH2 0x2D5 JUMPI DUP2 PUSH1 0xFF SWAP3 PUSH0 SUB AND PUSH31 0x1F0D1E100C1D070F090B19131C1706010E11080A1A141802121B1503160405 PUSH1 0x1F PUSH2 0x1E0 PUSH32 0x8040405543005266443200005020610674053026020000107506200176117077 PUSH1 0xFC PUSH32 0xB6DB6DB6DDDDDDDDD34D34D349249249210842108C6318C639CE739CFFFFFFFF DUP7 MUL PUSH1 0xF8 SHR AND SHL PUSH1 0xF7 SHR AND SWAP3 DUP4 SHR PUSH4 0xD76453E0 DIV AND BYTE OR SUB AND PUSH1 0x2 SIGNEXTEND ADD PUSH1 0x2 SIGNEXTEND MUL PUSH1 0x2 SIGNEXTEND JUMPDEST SWAP1 PUSH2 0x34D3 JUMP JUMPDEST POP PUSH1 0xFF DUP1 SWAP3 POP SUB AND PUSH1 0x2 SIGNEXTEND ADD PUSH1 0x2 SIGNEXTEND MUL PUSH1 0x2 SIGNEXTEND PUSH2 0x3AF6 JUMP JUMPDEST SWAP5 SWAP9 SWAP2 SWAP6 POP SWAP10 SWAP7 SWAP3 SWAP9 SWAP2 SWAP6 SWAP9 PUSH1 0x20 DUP9 ADD MLOAD PUSH1 0xA0 SHL PUSH3 0xFFFFFF PUSH1 0xA0 SHL AND PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP10 MLOAD AND SWAP2 PUSH1 0x1 DUP1 PUSH1 0xB8 SHL SUB NOT AND OR OR DUP3 SSTORE PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB PUSH1 0x3 DUP4 ADD SLOAD AND PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB PUSH1 0x40 DUP10 ADD MLOAD AND DUP1 SWAP2 SUB PUSH2 0x3BD3 JUMPI JUMPDEST POP DUP3 ISZERO PUSH2 0x3BC4 JUMPI PUSH1 0xE0 PUSH1 0x2 SWAP2 ADD MLOAD SWAP2 ADD SSTORE JUMPDEST DUP3 MLOAD SWAP1 ISZERO PUSH0 DUP3 SLT EQ PUSH2 0x3BAE JUMPI POP PUSH2 0x3B96 PUSH2 0x3B9E SWAP3 SWAP4 PUSH2 0x259D JUMP JUMPDEST SWAP3 MLOAD SUB PUSH2 0x259D JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR SWAP4 JUMP JUMPDEST PUSH2 0x3B9E SWAP3 POP SWAP1 PUSH2 0x3BBE SWAP2 SUB PUSH2 0x259D JUMP JUMPDEST SWAP2 PUSH2 0x259D JUMP JUMPDEST PUSH1 0xE0 PUSH1 0x1 SWAP2 ADD MLOAD SWAP2 ADD SSTORE PUSH2 0x3B7C JUMP JUMPDEST PUSH1 0x3 DUP4 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH0 PUSH2 0x3B6A JUMP JUMPDEST POP DUP12 MLOAD PUSH1 0x60 DUP5 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP2 AND EQ PUSH2 0x3451 JUMP JUMPDEST PUSH1 0x2 DUP12 ADD SLOAD SWAP5 SWAP4 SWAP1 SWAP5 PUSH2 0x3442 JUMP JUMPDEST PUSH4 0x9E4D7CC7 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x44 SWAP3 POP PUSH1 0x40 MLOAD SWAP2 PUSH4 0x7C9C6E8F PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD MSTORE REVERT JUMPDEST PUSH1 0x60 DUP4 ADD DUP1 MLOAD SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 DUP2 GT ISZERO PUSH2 0x3C36 JUMPI POP POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH20 0xFFFD8963EFD1FC6A506488495D951D5263988D26 DUP2 LT ISZERO PUSH2 0x3C24 JUMPI POP PUSH2 0x33EB JUMP JUMPDEST SWAP11 POP SWAP11 POP POP SWAP10 POP POP POP POP POP POP POP POP PUSH0 SWAP3 PUSH0 SWAP3 SWAP2 SWAP1 JUMP JUMPDEST PUSH0 DUP6 MLOAD SGT ISZERO PUSH2 0x33A8 JUMPI PUSH4 0x4B103123 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH3 0xFFFFFF PUSH2 0xFFF DUP10 AND SWAP2 AND PUSH3 0xF4240 DUP2 DUP4 MUL DIV SWAP2 ADD SUB PUSH2 0x3395 JUMP JUMPDEST POP DUP10 PUSH1 0xD0 SHR PUSH3 0xFFFFFF AND PUSH2 0x338B JUMP JUMPDEST PUSH2 0xFFF DUP9 PUSH1 0xC4 SHR AND SWAP5 PUSH2 0x333E JUMP JUMPDEST DUP2 DUP2 MUL SWAP2 SWAP1 PUSH0 NOT DUP3 DUP3 MULMOD SWAP2 DUP4 DUP1 DUP5 LT SWAP4 SUB SWAP3 DUP1 DUP5 SUB SWAP4 DUP5 PUSH1 0x1 PUSH1 0x80 SHL GT ISZERO PUSH2 0x2D5 JUMPI EQ PUSH2 0x3D42 JUMPI PUSH1 0x1 PUSH1 0x80 SHL SWAP2 MULMOD SWAP1 DUP3 DUP3 GT SWAP1 SUB PUSH1 0x80 SHL SWAP2 SUB PUSH1 0x80 SHR OR SWAP1 JUMP JUMPDEST POP POP POP PUSH1 0x80 SHR SWAP1 JUMP JUMPDEST DUP1 DUP3 MUL SWAP1 PUSH0 NOT DUP4 DUP3 MULMOD SWAP1 DUP3 DUP1 DUP4 LT SWAP3 SUB SWAP2 DUP1 DUP4 SUB SWAP3 DUP4 PUSH3 0xF4240 GT ISZERO PUSH2 0x2D5 JUMPI EQ PUSH2 0x3DAB JUMPI PUSH32 0xDE8F6CEFED634549B62C77574F722E1AC57E23F24D8FD5CB790FB65668C26139 SWAP4 PUSH3 0xF4240 SWAP2 MULMOD SWAP1 DUP3 DUP3 GT SWAP1 SUB PUSH1 0xFA SHL SWAP2 SUB PUSH1 0x6 SHR OR MUL SWAP1 JUMP JUMPDEST POP POP PUSH3 0xF4240 SWAP2 POP DIV SWAP1 JUMP JUMPDEST DUP2 DUP2 MUL SWAP2 SWAP1 PUSH0 NOT DUP3 DUP3 MULMOD SWAP2 DUP4 DUP1 DUP5 LT SWAP4 SUB SWAP3 DUP1 DUP5 SUB SWAP4 DUP5 PUSH1 0x1 PUSH1 0x60 SHL GT ISZERO PUSH2 0x2D5 JUMPI EQ PUSH2 0x3DF7 JUMPI PUSH1 0x1 PUSH1 0x60 SHL SWAP2 MULMOD SWAP1 DUP3 DUP3 GT SWAP1 SUB PUSH1 0xA0 SHL SWAP2 SUB PUSH1 0x60 SHR OR SWAP1 JUMP JUMPDEST POP POP POP PUSH1 0x60 SHR SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x60 DUP3 SWAP1 SHL SWAP1 PUSH0 NOT PUSH1 0x1 PUSH1 0x60 SHL DUP5 MULMOD SWAP3 DUP3 DUP1 DUP6 LT SWAP5 SUB SWAP4 DUP1 DUP6 SUB SWAP5 DUP6 DUP5 GT ISZERO PUSH2 0x2D5 JUMPI EQ PUSH2 0x3E83 JUMPI DUP2 SWAP1 PUSH1 0x1 PUSH1 0x60 SHL SWAP1 MULMOD DUP2 DUP1 PUSH0 SUB AND DUP1 SWAP3 DIV PUSH1 0x2 DUP2 PUSH1 0x3 MUL XOR DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 SWAP2 MUL PUSH1 0x2 SUB MUL SWAP4 PUSH1 0x1 DUP4 DUP1 PUSH0 SUB DIV ADD SWAP1 DUP5 DUP4 GT SWAP1 SUB MUL SWAP3 SUB DIV OR MUL SWAP1 JUMP JUMPDEST POP SWAP2 POP DIV SWAP1 JUMP JUMPDEST SWAP2 DUP2 DUP4 MUL SWAP2 PUSH0 NOT DUP2 DUP6 MULMOD SWAP4 DUP4 DUP1 DUP7 LT SWAP6 SUB SWAP5 DUP1 DUP7 SUB SWAP6 DUP7 DUP6 GT ISZERO PUSH2 0x2D5 JUMPI EQ PUSH2 0x3F02 JUMPI SWAP1 DUP3 SWAP2 MULMOD DUP2 DUP1 PUSH0 SUB AND DUP1 SWAP3 DIV PUSH1 0x2 DUP2 PUSH1 0x3 MUL XOR DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 SWAP2 MUL PUSH1 0x2 SUB MUL SWAP4 PUSH1 0x1 DUP4 DUP1 PUSH0 SUB DIV ADD SWAP1 DUP5 DUP4 GT SWAP1 SUB MUL SWAP3 SUB DIV OR MUL SWAP1 JUMP JUMPDEST POP POP SWAP2 POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND SWAP2 AND SUB PUSH1 0xFF DUP2 SWAP1 SAR SWAP1 DUP2 ADD XOR SWAP1 PUSH1 0x1 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH2 0x3F38 DUP4 DUP3 PUSH2 0x3DB7 JUMP JUMPDEST SWAP3 DUP3 PUSH1 0x60 SHL SWAP2 MULMOD ISZERO ISZERO AND ADD SWAP1 JUMP JUMPDEST PUSH2 0x24D5 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 DUP4 AND SWAP2 SWAP1 SWAP3 AND SUB PUSH1 0xFF DUP2 SWAP1 SAR SWAP1 DUP2 ADD XOR SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH2 0x3DB7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND SWAP1 DUP3 AND GT PUSH2 0x3FD8 JUMPI JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP3 DUP4 ISZERO PUSH2 0x3FCC JUMPI PUSH2 0x3FC0 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND SWAP4 SWAP1 SWAP2 SUB AND SWAP1 PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH2 0x40BE JUMP JUMPDEST SWAP1 DUP1 DUP3 MOD ISZERO ISZERO SWAP2 DIV ADD SWAP1 JUMP JUMPDEST PUSH3 0xBFC921 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST SWAP1 PUSH2 0x3F86 JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND SWAP1 DUP4 AND GT PUSH2 0x4036 JUMPI JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SWAP2 DUP3 ISZERO PUSH2 0x3FCC JUMPI PUSH2 0x24D5 SWAP4 PUSH2 0x4031 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND SWAP4 SWAP1 SWAP2 SUB AND SWAP1 PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0xE0 SHL SUB AND PUSH2 0x3E8A JUMP JUMPDEST PUSH2 0x32DF JUMP JUMPDEST SWAP1 PUSH2 0x3FF3 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x2D5 JUMPI PUSH28 0x1C1818141808140018080C0814100004181408140C0C100414140C1 PUSH1 0x22 SHL PUSH1 0x1F PUSH16 0x8421084210842108CC6318C6DB6D54BE PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP5 GT PUSH1 0x7 SHL DUP5 DUP2 SHR PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB LT PUSH1 0x6 SHL OR DUP5 DUP2 SHR PUSH4 0xFFFFFFFF LT PUSH1 0x5 SHL OR DUP5 DUP2 SHR PUSH2 0xFFFF LT PUSH1 0x4 SHL OR DUP5 DUP2 SHR PUSH1 0xFF LT PUSH1 0x3 SHL OR SWAP4 DUP5 SHR SHR AND BYTE OR SWAP1 JUMP JUMPDEST SWAP3 SWAP2 SWAP1 PUSH2 0x40CC DUP3 DUP3 DUP7 PUSH2 0x3E8A JUMP JUMPDEST SWAP4 DUP3 ISZERO PUSH2 0x32E9 JUMPI MULMOD PUSH2 0x40DA JUMPI JUMP JUMPDEST SWAP1 PUSH1 0x1 ADD SWAP1 DUP2 ISZERO PUSH2 0x2D5 JUMPI JUMP JUMPDEST SWAP2 SWAP1 DUP2 ISZERO PUSH2 0x413C JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 DUP2 DUP4 MUL SWAP2 PUSH1 0x60 SWAP2 SWAP1 SWAP2 SHL PUSH1 0x1 PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0xE0 SHL SUB AND SWAP1 DUP3 DIV DUP4 EQ DUP3 DUP3 GT AND ISZERO PUSH2 0x412F JUMPI PUSH2 0x24D5 SWAP3 PUSH2 0x3884 SWAP3 DUP3 SUB SWAP2 PUSH2 0x40BE JUMP JUMPDEST PUSH4 0xF5C787F1 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST POP POP SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP2 ISZERO PUSH2 0x413C JUMPI PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0x60 SHL PUSH1 0x1 PUSH1 0xE0 SHL SUB AND SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP1 DUP3 MUL DUP3 PUSH2 0x4171 DUP4 DUP4 PUSH2 0x32DF JUMP JUMPDEST EQ PUSH2 0x419E JUMPI JUMPDEST POP PUSH2 0x4185 PUSH2 0x418A SWAP3 DUP5 PUSH2 0x32DF JUMP JUMPDEST PUSH2 0x2110 JUMP JUMPDEST DUP1 DUP3 DIV SWAP2 MOD ISZERO ISZERO ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST DUP4 ADD DUP4 DUP2 LT PUSH2 0x4177 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 PUSH2 0x41BC SWAP4 SWAP2 SWAP3 POP PUSH2 0x40BE JUMP JUMPDEST AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP2 SWAP1 DUP3 SUB PUSH2 0x21A5 JUMPI JUMP INVALID 0x27 0xE0 SWAP9 0xC5 SDIV 0xD4 0x4E 0xC3 JUMPI BLOCKHASH DIV 0xBC LOG0 MSTORE 0xAA 0xBF PUSH23 0xBD35004C182099D8C575FB238593B91B3D7EDB2E9C0B0E PUSH29 0x525B20AAAEF0F5940D2ED71663C7D39266ECAFAC728859C090FC468362 0x4C 0xFC CODESIZE DUP5 0xE9 0xD8 0xDE MCOPY 0xCA SGT 0x2F 0x2D 0xE 0xC0 PUSH3 0xAFF75D NUMBER 0xC0 CHAINID TSTORE TLOAD 0xEE 0xAB 0x23 0x1E SMOD GASLIMIT 0xA7 0xDB AND 0x23 SWAP9 0x1F SIGNEXTEND 0x2A TSTORE TIMESTAMP ORIGIN CALLDATASIZE 0x4C STOP PUSH25 0x7266EB75AD546F190E6CEBE9BD957D4B3164C6E45B97E7D87B PUSH18 0x25A44C5828D005AF88F9D751CFD78729C5D9 SWAP11 SIGNEXTEND LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"4714:12900:26:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6552:13;4714:12900;6552:13;;;4714:12900;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4714:12900:26;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;-1:-1:-1;;;;;;;;;;;1928:50:21;;;1594:10;:20;;;;:55;;4714:12900:26;1590:237:21;;4714:12900:26;;;;;;;;;;;;;;;;;;1837:31:21;4714:12900:26;;;1837:31:21;:::i;:::-;4714:12900:26;;;;;;;;;;;;;;;;;;;;;;;;;;1879:33:21;4714:12900:26;;;1879:33:21;:::i;:::-;4714:12900:26;;;;1594:10:21;;;;1928:50;;:::i;:::-;;;;4714:12900:26;;;;;;;1590:237:21;4714:12900:26;;;;1683:9:21;4714:12900:26;;;;;;;;1594:10:21;4714:12900:26;;;;;;;;;;;;;;;;800:17:22;4714:12900:26;1734:28:21;;1730:86;;1590:237;;;;;1730:86;1800:16;;;:::i;:::-;4714:12900:26;;;1683:9:21;4714:12900:26;;;;;;;;;;1594:10:21;4714:12900:26;-1:-1:-1;4714:12900:26;;;;-1:-1:-1;4714:12900:26;;;;;;;;;;1730:86:21;;;;1594:55;-1:-1:-1;4714:12900:26;;;;1619:10:21;4714:12900:26;;;;;;;;1594:10:21;4714:12900:26;;;;;;;;;;1618:31:21;1594:55;;4714:12900:26;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;837:84:46;5411:18:26;5407:59;;-1:-1:-1;;;;;;;;;;;3435:52:21;4714:12900:26;;;;;;;;15068:17;15087:10;15068:17;;;:::i;:::-;15087:10;;;;:::i;:::-;-1:-1:-1;;;;;4714:12900:26;;15087:10;651:14:22;;;;:43;;4714:12900:26;647:269:22;;4714:12900:26;;;;;;;;;;;;;;;;;;3388:31:21;4714:12900:26;;;3388:31:21;:::i;3435:52::-;;;;4714:12900:26;647:269:22;4714:12900:26;;;736:9:22;4714:12900:26;;;;;;;;15087:10;4714:12900;;;;;;;;;;;;;;;;800:17:22;;;781:36;;777:129;;647:269;;;;;777:129;867:24;;;:::i;:::-;4714:12900:26;;;736:9:22;4714:12900:26;;;;;;;;15087:10;4714:12900;;;;;;;;;;;;;;;;777:129:22;;;;651:43;-1:-1:-1;4714:12900:26;;;670:10:22;4714:12900:26;;;;;;;;15087:10;4714:12900;;;;;;;;;;669:25:22;651:43;;5407:59:26;5431:22;;;4714:12900;814:96:39;4714:12900:26;;814:96:39;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;;;;:::i;:::-;;;-1:-1:-1;;4714:12900:26;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;:::i;:::-;837:84:46;;;-1:-1:-1;;;;;;;;;;;837:84:46;5411:18:26;5407:59;;1169:76:25;;:::i;:::-;4714:12900:26;9596:27;9592:77;;4714:12900;357:173:63;;4714:12900:26;;;;17404:6;4714:12900;;;;;9759:25;;;;:::i;:::-;9968:9;;;4714:12900;;;;;;;;;;;;;;9968:43;;;;:::i;:::-;10287:15;;;;4714:12900;10287:15;;4714:12900;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;10236:302;;4714:12900;;10236:302;;4714:12900;;10236:302;;4714:12900;;;9968:9;10236:302;;4714:12900;;;;;10556:49;;;4714:12900;11055:10;10556:49;11472:17;10712:70;10556:49;4714:12900;10556:49;;;5223:25;;-1:-1:-1;;;;;4714:12900:26;;11472:17;:::i;:::-;11548:20;;;;;;11544:78;;10556:49;4714:12900;;;;;;;;;;;;;;;;;;11886:16;;4714:12900;;11916:11;;4714:12900;;;;;;2052:83:60;;9968:9:26;2052:83:60;2241:89;4714:12900:26;;;2241:89:60;;;4714:12900:26;;;;;;;;;;;;9968:9;4714:12900;;;;;;;5223:25;11737:221;4714:12900;11771:10;11737:221;;4714:12900;;;;-1:-1:-1;;;;;4714:12900:26;10712:70;:::i;:::-;1676:48:60;;;;10894:109:26;;10556:49;11771:10;;;;11055;;:::i;:::-;4714:12900;;;;;;10894:109;4714:12900;;10984:18;;-1:-1:-1;;;;;4714:12900:26;;;;10984:18;;:::i;:::-;10894:109;;;;11544:78;4714:12900;;;;;;;;;;;;;;;;;258:35:40;4714:12900:26;;11544:78;;;;10556:49;10592:13;;;5223:25;-1:-1:-1;;;;;4714:12900:26;;11472:17;:::i;9592:77::-;9625:31;;;4714:12900;814:96:39;4714:12900:26;;814:96:39;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;;;:::i;:::-;;;;756:44:138;764:10;-1:-1:-1;;;;;4714:12900:26;;764:19:138;756:44;:::i;:::-;-1:-1:-1;;;;;4714:12900:26;-1:-1:-1;;;;;;4714:12900:26;;;;;;;;;;764:10:138;;1424:42;;4714:12900:26;1424:42:138;4714:12900:26;;;;;;;-1:-1:-1;;4714:12900:26;;;;;;422:99:24;4714:12900:26;422:99:24;4714:12900:26;;422:99:24;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;931:36:27;4714:12900:26;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;;;;;:::i;:::-;;1664:936:23;;4714:12900:26;1664:936:23;;;;;;;;;;;;;;;;;;4714:12900:26;1664:936:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;4714:12900:26;1664:936:23;;;;;;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;697:88:21;4714:12900:26;;;;;697:88:21;4714:12900:26;;;;;;-1:-1:-1;4714:12900:26;;;;;;-1:-1:-1;4714:12900:26;;;;;;;;;;;;;;;;;-1:-1:-1;;4714:12900:26;;;;;;:::i;:::-;-1:-1:-1;;;;;4714:12900:26;;;4998:58:62;12908:24:26;;766:73:38;;4714:12900:26;-1:-1:-1;;;;;;;;;;;766:73:38;4714:12900:26;12904:341;13137:24;;;:::i;:::-;937:173:38;-1:-1:-1;;;;;;;;;;;937:173:38;-1:-1:-1;;;;;;;;;;;937:173:38;4714:12900:26;;;;;;;;:::i;:::-;;658:936:24;;4714:12900:26;658:936:24;;;;;;;;;;;;;;;;;;4714:12900:26;658:936:24;;;;;;;;;;;;;;;;;;;;;;;;;;;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;-1:-1:-1;;;;;4714:12900:26;;:::i;:::-;;;;819:71:27;4714:12900:26;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4714:12900:26;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;;;;-1:-1:-1;;4714:12900:26;;;;;;:::i;:::-;;;:::i;:::-;1917:21:27;4714:12900:26;;;;-1:-1:-1;;;;;4714:12900:26;1903:10:27;:35;1899:76;;-1:-1:-1;;;;;4714:12900:26;;4998:58:62;;1989:25:27;;:77;;4714:12900:26;1985:257:27;;4714:12900:26;;2421:15:27;;2271:11;;;4714:12900:26;;;;;;;;;;;2270:54:27;;;;4714:12900:26;;;;;;;;2334:48:27;4714:12900:26;;;2334:48:27;:::i;:::-;4714:12900:26;;2421:15:27;:::i;2270:54::-;;;;;;1985:257;2184:34;;;4714:12900:26;814:96:39;4714:12900:26;;814:96:39;1989:77:27;-1:-1:-1;;;;;;;;;;;;629:81:38;-1:-1:-1;;;;;4714:12900:26;448:51:62;;1989:77:27;;1899:76;1416:22;;;4714:12900:26;814:96:39;4714:12900:26;;814:96:39;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;837:84:46;5411:18:26;5407:59;;916:30:37;14074:10:26;;916:30:37;:::i;:::-;956:73;14193:17:26;4714:12900;;14193:17;:::i;:::-;4714:12900;;;;14224:22;14220:77;;14431:10;14074;;4714:12900;;;;;14431:10;;:::i;:::-;4714:12900;14220:77;14248:36;;;4714:12900;814:96:39;4714:12900:26;;814:96:39;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;;;;:::i;:::-;;;:::i;:::-;1393:21:27;4714:12900:26;;;;-1:-1:-1;;;;;4714:12900:26;1379:10:27;:35;1375:76;;1088:252:51;;;;;;;;;;;1465:36:27;1461:97;;4714:12900:26;;1658:38:27;357:173:63;;4714:12900:26;;;;17404:6;4714:12900;;;;;4767:25:49;;;:::i;:::-;4714:12900:26;;-1:-1:-1;;;;2855:254:65;;;;;-1:-1:-1;;;2855:254:65;;4714:12900:26;;;;;;;;;5223:25;;1658:38:27;4714:12900:26;1461:97:27;4714:12900:26;1503:28:27;;;;4714:12900:26;1084:176:39;4714:12900:26;;1084:176:39;;4714:12900:26;1084:176:39;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;1169:76:25;;:::i;:::-;6323:15:26;;;4714:12900;;;;;1676:15:57;6323:34:26;;6319:96;;4714:12900;;;;;;6429:34;;6425:96;;-1:-1:-1;5223:25:26;;6552:13;;;5223:25;;6552:13;;-1:-1:-1;;;;;4714:12900:26;;;;;887:51:62;;;;6531:202:26;;6747:9;;;;;4714:12900;;;;;;;;;6776:7;4714:12900;6776:7;;4714:12900;6747:37;4714:12900;;;;6747:37;;:::i;:::-;6746:38;6742:109;;4714:12900;6877:25;4714:12900;;;;6877:25;:::i;:::-;4714:12900;;;;;-1:-1:-1;;;;;4714:12900:26;;;8736:10:43;:27;;;8732:59;;4714:12900:26;-1:-1:-1;;4714:12900:26;357:173:63;;4714:12900:26;;;;7009:6;6552:13;4714:12900;;;;;;357:173:63;;4714:12900:26;;-1:-1:-1;;;;;1502:93:65;4360:80:49;;6552:13:26;4458:41:49;7375:101:26;4458:41:49;;4714:12900:26;4458:41:49;;:::i;:::-;3217:178:65;4714:12900:26;3217:178:65;;;;;;2578:157;4714:12900:26;2578:157:65;;;;;;3217:178;;4714:12900:26;;;;;;;;5223:25;;4714:12900;;;;;;;5223:25;;4714:12900;;;;;;;;;;;;;;;;;;;5223:25;;;;;;4714:12900;;5223:25;;;;6323:15;5223:25;;4714:12900;;;5223:25;;6747:9;5223:25;;4714:12900;7375:101;4714:12900;-1:-1:-1;;;;;4714:12900:26;;;8736:10:43;:27;;;8732:59;;4714:12900:26;;;;;;;;;8732:59:43;4714:12900:26;16441:29:43;9413:164;;8732:59;;;;9413:164;9474:92;4714:12900:26;1382:7:43;4714:12900:26;;9488:77:43;;;;;;;;8736:10;9488:77;;;4714:12900:26;1382:7:43;;;;;:::i;:::-;;;;4714:12900:26;1382:7:43;;;;4714:12900:26;1382:7:43;9488:77;;;;;;:::i;:::-;9474:92;:::i;:::-;;9413:164;;;;;4360:80:49;4396:31;;;4714:12900:26;814:96:39;4714:12900:26;;814:96:39;8732:59:43;4714:12900:26;16441:29:43;9007:160;;8732:59;;;;9007:160;4714:12900:26;;-1:-1:-1;;;6552:13:26;9083:72:43;;;8736:10;9083:72;;;4714:12900:26;9069:87:43;;1319:7;;;;;;:::i;:::-;;;;;4714:12900:26;1319:7:43;9083:72;;;;;;:::i;9069:87::-;;9007:160;;;6742:109:26;6786:34;;;4714:12900;1084:176:39;4714:12900:26;1084:176:39;;4714:12900:26;1084:176:39;6531:202:26;3008:319:39;;;4714:12900:26;3008:319:39;6581:36:26;;;;3008:319:39;;4714:12900:26;3008:319:39;;;;;;;;6425:96:26;6465:28;;;4714:12900;1431:143:39;4714:12900:26;1431:143:39;;4714:12900:26;1431:143:39;6319:96:26;6359:28;;;4714:12900;1431:143:39;4714:12900:26;1431:143:39;;4714:12900:26;1431:143:39;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;;;;:::i;:::-;;;-1:-1:-1;;4714:12900:26;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;:::i;:::-;837:84:46;;-1:-1:-1;;;;;;;;;;;837:84:46;5411:18:26;5407:59;;1169:76:25;;:::i;:::-;4714:12900:26;357:173:63;;4714:12900:26;;;;17404:6;4714:12900;;;;;;;7943:25;;;;:::i;:::-;4714:12900;7985:9;;4714:12900;-1:-1:-1;;;;;4714:12900:26;;;8736:10:43;:27;;;8732:59;;4714:12900:26;;;;;;;;;;;;;;;8367:32;4714:12900;;;;8367:32;:::i;:::-;4714:12900;8434:15;;;4714:12900;;;;;;;;8434:15;;;4714:12900;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;8736:10:43;4714:12900:26;;8165:342;4714:12900;8165:342;;4714:12900;8165:342;4714:12900;8165:342;;4714:12900;;;;;8165:342;;4714:12900;;8165:342;;4714:12900;;8165:342;;4714:12900;;3958:22:49;;;;;3954:85;;-1:-1:-1;;4053:29:49;;4049:86;;1317:6:57;4149:29:49;;4145:86;;4714:12900:26;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;6579:1188:49;;4714:12900:26;;23223:10:49;;;:21;4714:12900:26;;;;;;;;;;;23279:21:49;4714:12900:26;;;;;;;;;;23330:10:49;;4714:12900:26;;1682:98:65;4714:12900:26;1682:98:65;23386:23:49;;;23382:800;23386:23;;;23452:27;4714:12900:26;23452:27:49;4714:12900:26;23452:27:49;;4714:12900:26;;23482:27:49;;4714:12900:26;;;23550:27:49;;4714:12900:26;23580:27:49;;4714:12900:26;;;23382:800:49;;4714:12900:26;;;;;;5223:25;;4714:12900;8165:342;;4714:12900;2447:609:50;4714:12900:26;2447:609:50;;;;;;;17404:6:26;2447:609:50;;;;;;;;;;4714:12900:26;2447:609:50;;;;;;;4714:12900:26;2447:609:50;;;;4714:12900:26;2447:609:50;;;;4714:12900:26;;17404:6;7981:14:49;;;4714:12900:26;;;;;;;;;;;;;;;;;;6583:19:49;3970:270:50;4714:12900:26;;;4069:14:50;;4065:67;;8340:20:49;8318;4714:12900:26;3970:270:50;;8963:79:26;3970:270:50;9317:10:26;3970:270:50;;4714:12900:26;4434:29:50;;4714:12900:26;4537:100:50;4714:12900:26;4395:100:50;4714:12900:26;;;;;4395:100:50;:::i;:::-;4576:29;;4714:12900:26;;;;;4537:100:50;:::i;:::-;4714:12900:26;;;8318:20:49;:::i;:::-;8340;;:::i;:::-;4714:12900:26;;;;;553:115:60;;4714:12900:26;553:115:60;;4714:12900:26;;;;;;;8454:18:49;8450:255;;3970:270:50;4714:12900:26;;;;8725:1774:49;;3970:270:50;785:220:60;;;1049:15;1032;785:220;4714:12900:26;785:220:60;;4714:12900:26;785:220:60;;1032:15;:::i;:::-;785:220;;4714:12900:26;785:220:60;;4714:12900:26;785:220:60;;1049:15;:::i;:::-;4714:12900:26;;;;;553:115:60;;4714:12900:26;553:115:60;;4714:12900:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8790:103;4714:12900;8736:10:43;8790:103:26;;4714:12900;7985:9;;4714:12900;;;-1:-1:-1;;;;;4714:12900:26;8963:79;:::i;:::-;1676:48:60;;;;9154:109:26;;3970:270:50;8736:10:43;;;9317::26;;:::i;:::-;4714:12900;;;;;;;;;;9154:109;4714:12900;7985:9;;4714:12900;9244:18;;-1:-1:-1;;;;;4714:12900:26;;;;7985:9;9244:18;:::i;:::-;9154:109;;;8725:1774:49;8779:10;;4714:12900:26;8779:10:49;;-1:-1:-1;8779:10:49;;-1:-1:-1;;;;;1502:93:65;;;4714:12900:26;1682:98:65;4714:12900:26;1682:98:65;8896:16:49;;;;;;9263:38;;;9208:182;9263:38;9303;9263;9208:171;9263:38;;:::i;:::-;4714:12900:26;;;9303:38:49;;:::i;:::-;9208:171;;:::i;:::-;:182;:::i;:::-;4714:12900:26;553:115:60;8892:1597:49;8725:1774;;;;;8892:1597;9456:16;;;;;9452:1037;4714:12900:26;;;9693:135:49;4714:12900:26;9536:135:49;:99;9693;4714:12900:26;9580:38:49;4714:12900:26;;;9580:38:49;;:::i;:::-;9536:99;;:::i;:135::-;4714:12900:26;9723:38:49;4714:12900:26;;;9723:38:49;;:::i;:::-;9693:99;:::i;:135::-;4714:12900:26;9905:14:49;;2447:609:50;9905:14:49;4714:12900:26;;553:115:60;;;;-1:-1:-1;;;;;553:115:60;;;;;9905:14:49;;9882:54;;4714:12900:26;;;;;9882:54:49;:::i;:::-;4714:12900:26;;-1:-1:-1;;;;;;4714:12900:26;;;;;;8892:1597:49;;9452:1037;10329:38;10274:171;10329:38;;;10369;10329;10274:182;10329:38;;:::i;10369:::-;10274:171;;:::i;:182::-;-1:-1:-1;;;;;553:115:60;8892:1597:49;;8450:255;4714:12900:26;;;;8492:91:49;;8450:255;4714:12900:26;;8600:91:49;;8450:255;;;;8600:91;8662:9;;;;;:::i;:::-;8600:91;;8492;8554:9;;;;;:::i;:::-;8492:91;;4065:67:50;4085:34;;;4714:12900:26;814:96:39;4714:12900:26;;814:96:39;3970:270:50;4714:12900:26;;9317:10;;8963:79;;8340:20:49;;8318;;-1:-1:-1;;;;;4180:49:50;4714:12900:26;;;;;4180:49:50;:::i;:::-;4714:12900:26;;-1:-1:-1;;;;;;4714:12900:26;;;;;;3970:270:50;;23382:800:49;23632:24;;;;-1:-1:-1;4714:12900:26;;;23699:27:49;4714:12900:26;23699:27:49;;4714:12900:26;;23729:27:49;;4714:12900:26;;;23797:27:49;;4714:12900:26;23827:27:49;;4714:12900:26;;;23628:554:49;23382:800;;23628:554;23936:25;4714:12900:26;;23936:25:49;;;4714:12900:26;;23964:27:49;;4714:12900:26;;;;23994:27:49;;4714:12900:26;;;24082:25:49;;;;;;4714:12900:26;24110:27:49;;4714:12900:26;;;24140:27:49;;4714:12900:26;;;23628:554:49;23382:800;;6579:1188;4714:12900:26;25138:10:49;;;4714:12900:26;;;;;;;;;;;;;26085:35:49;4714:12900:26;;25303:60:49;4714:12900:26;;;;;;;;;;25303:60:49;;:::i;:::-;-1:-1:-1;;;;;4714:12900:26;25385:24:49;;25415:25;;25384:57;;;;;4714:12900:26;;25452:357:49;;6579:1188;26039:81;4714:12900:26;;;;;;26085:35:49;:::i;:::-;4714:12900:26;26130:730:49;;;;;4714:12900:26;;;;;;;;;;;;;;;;;;;;;;;;;;;25303:60:49;4714:12900:26;;;25303:60:49;;:::i;:::-;25415:25;;-1:-1:-1;;;;;4714:12900:26;;25385:24:49;25384:57;;;;;25452:357;;6579:1188;4714:12900:26;;;;;;;;;;;;-1:-1:-1;;;;;;4714:12900:26;;-1:-1:-1;;;;;4714:12900:26;;;;;;26130:730:49;-1:-1:-1;;;;;4714:12900:26;;;;26130:730:49;;;;;4714:12900:26;;;;;;;;-1:-1:-1;4714:12900:26;;;;6974:19:49;;6970:508;;6579:1188;4714:12900:26;;7496:120:49;;6579:1188;4714:12900:26;;;;7633:120:49;6579:1188;7633:120;7715:18;4714:12900:26;8165:342;;4714:12900;;;7679:15:49;;;;;7715:18;:::i;:::-;6579:1188;;7496:120;7578:18;4714:12900:26;8165:342;;4714:12900;;;7542:15:49;;;;;7578:18;:::i;:::-;7496:120;;6970:508;4714:12900:26;8165:342;;4714:12900;;;;;;;;;;;;;;;;;;;;1032:7:57;4714:12900:26;1032:7:57;;;27850:357:49;;1032:7:57;;;27850:357:49;;;1317:6:57;27850:357:49;;;4714:12900:26;;;;;27850:357:49;4714:12900:26;7125:52:49;;;7121:159;;4714:12900:26;;;;-1:-1:-1;;;;;4714:12900:26;7305:52:49;7301:159;6970:508;7301:159;7205:30;;;;4714:12900:26;1431:143:39;4714:12900:26;1431:143:39;;4714:12900:26;1431:143:39;7121:159:49;7205:30;;;;4714:12900:26;1431:143:39;4714:12900:26;1431:143:39;;4714:12900:26;1431:143:39;4714:12900:26;;;;;;;;;;;;25452:357:49;25621:10;;4714:12900:26;;1682:98:65;4714:12900:26;1682:98:65;25613:25:49;;25452:357;25609:190;4714:12900:26;25687:25:49;;;4714:12900:26;;25658:26:49;;4714:12900:26;;25759:25:49;;;4714:12900:26;;25730:26:49;;4714:12900:26;25452:357:49;;;25621:10;;4714:12900:26;;1682:98:65;4714:12900:26;1682:98:65;-1:-1:-1;25613:25:49;25609:190;;25452:357;;;;25609:190;4714:12900:26;25687:25:49;;;4714:12900:26;;25658:26:49;;4714:12900:26;;25759:25:49;;;4714:12900:26;;25730:26:49;;4714:12900:26;25609:190:49;;4145:86;4180:29;;;;4714:12900:26;1431:143:39;4714:12900:26;1431:143:39;;4714:12900:26;1431:143:39;4049:86:49;4084:29;;;;4714:12900:26;1431:143:39;4714:12900:26;1431:143:39;;4714:12900:26;1431:143:39;3954:85:49;2092:251:39;;;4714:12900:26;2092:251:39;3982:24:49;;;;2092:251:39;;4714:12900:26;2092:251:39;;;;;;;;4714:12900:26;;;;;;;;;;;;8732:59:43;4714:12900:26;;;;;9898:25:43;;;:74;;;8732:59;9894:409;;;-1:-1:-1;;4714:12900:26;;-1:-1:-1;;;4714:12900:26;10002:78:43;;;9988:93;;10002:78;4714:12900:26;10002:78:43;8736:10;;;;;10002:78;;;;:::i;:::-;;15812:82;;10002:78;;;;;;:::i;9988:93::-;;9894:409;8732:59;;;;9894:409;10102:26;:78;;;;9894:409;10098:205;;;9894:409;;;;10098:205;4714:12900:26;;-1:-1:-1;;;4714:12900:26;10210:81:43;;;10196:96;;10210:81;4714:12900:26;10210:81:43;8736:10;;;;;10210:81;;;;:::i;10196:96::-;;10098:205;;;10102:78;4714:12900:26;10132:48:43;;16441:29;:34;;10102:78;;;9898:74;9927:45;4714:12900:26;16441:29:43;;:34;;9898:74;;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;4714:12900:26;;;;;;;880:108:21;4714:12900:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4714:12900:26;;;;;;:::i;:::-;;;;;;;;;;;;2355:10:21;4714:12900:26;;2344:10:21;4714:12900:26;;;;;;;;;;;;-1:-1:-1;4714:12900:26;;;;-1:-1:-1;4714:12900:26;;;;;;;;;;;;;;;;;;;;;;;2355:10:21;2403:43;4714:12900:26;2355:10:21;2403:43;;4714:12900:26;;;2464:4:21;4714:12900:26;;;;;;;;;-1:-1:-1;;4714:12900:26;;;;;;;:::i;:::-;;;:::i;:::-;15290:7;552:8:44;4714:12900:26;;15290:7;;4714:12900;;1379:24:44;15289:23:26;;:59;;;4714:12900;15285:142;;4714:12900;15436:24;;;;:::i;:::-;357:173:63;4714:12900:26;;15504:6;4714:12900;;;;;5001:25:49;;;;:::i;:::-;4714:12900:26;;-1:-1:-1;;;;3217:178:65;;;;;;-1:-1:-1;;;3217:178:65;;4714:12900:26;;;15285:142;15364:39;;;4714:12900;814:96:39;4714:12900:26;;814:96:39;15289:59:26;-1:-1:-1;15338:9:26;;;4714:12900;-1:-1:-1;;;;;4714:12900:26;15316:10;:32;;15289:59;;4714:12900;;;;;;-1:-1:-1;;4714:12900:26;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;837:84:46;5687:60:26;;4714:12900;527:101:46;4714:12900:26;527:101:46;;-1:-1:-1;;;;;;;;;;;527:101:46;4714:12900:26;;-1:-1:-1;;;5898:48:26;;4714:12900;;5898:48;;4714:12900;;;;;;;;;;;:::i;:::-;5898:48;5914:10;;;5898:48;;;;;;;4714:12900;5898:48;;;4714:12900;622:89:47;-1:-1:-1;;;;;;;;;;;622:89:47;5957:75:26;;4714:12900;;675:80:46;;-1:-1:-1;;;;;;;;;;;675:80:46;4714:12900:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4714:12900:26;;;;;;;5957:75;5992:27;;;4714:12900;814:96:39;4714:12900:26;;814:96:39;5898:48:26;;;;;4714:12900;5898:48;;;;;;:::i;:::-;;;4714:12900;;;;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;15812:82:43;4714:12900:26;;-1:-1:-1;;4714:12900:26;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;5898:48;;;;4714:12900;;;;;;;;;5687:60;5710:24;;;4714:12900;814:96:39;4714:12900:26;;814:96:39;4714:12900:26;;;;;;;:::i;:::-;2125:10:21;;;4714:12900:26;;2115:9:21;4714:12900:26;;;;;;;;;;;;-1:-1:-1;4714:12900:26;;;;-1:-1:-1;4714:12900:26;;;;;;;;;;;;;;;;;;;;;;2125:10:21;2174:41;4714:12900:26;2125:10:21;2174:41;;4714:12900:26;;;2233:4:21;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;837:84:46;5411:18:26;5407:59;;13889:18;4714:12900;13889:18;;:::i;4714:12900::-;;;;;;-1:-1:-1;;4714:12900:26;;;;;;;;;656:871:23;;4714:12900:26;656:871:23;4714:12900:26;656:871:23;;;4714:12900:26;656:871:23;;;;;;;;;;4714:12900:26;;;656:871:23;;;;;;;;;;;;;;;;;;;;4714:12900:26;;656:871:23;;;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;;;:::i;:::-;756:44:138;4714:12900:26;;;;;;;;764:10:138;:19;756:44;:::i;:::-;1153:34:27;4714:12900:26;;-1:-1:-1;;;;;;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;1202:40:27;-1:-1:-1;;1202:40:27;4714:12900:26;;;;;;;-1:-1:-1;;4714:12900:26;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;:::i;:::-;837:84:46;;;-1:-1:-1;;;;;;;;;;;837:84:46;5411:18:26;5407:59;;1169:76:25;;:::i;:::-;4714:12900:26;357:173:63;;4714:12900:26;;;;17404:6;4714:12900;;;;;12326:25;;;;:::i;:::-;12364:9;;;4714:12900;;-1:-1:-1;;;;;4714:12900:26;;;8736:10:43;:27;;;8732:59;;4714:12900:26;-1:-1:-1;;21771:15:49;;;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;;21800:14:49;;21796:66;;4714:12900:26;21993:18:49;;;;:::i;:::-;4714:12900:26;;22016:18:49;;;:::i;:::-;4714:12900:26;;;;;;;553:115:60;;12364:9:26;553:115:60;;22198:11:49;;22194:143;;4714:12900:26;22354:11:49;22350:143;;4714:12900:26;8736:10:43;;12515::26;8736::43;12515::26;;;:::i;:::-;4714:12900;;;;;;;;;;;12643:44;4714:12900;8736:10:43;12643:44:26;;4714:12900;-1:-1:-1;;;;;4714:12900:26;;;;8736:10:43;:27;;;8732:59;;4714:12900:26;;;;;;;;;8732:59:43;4714:12900:26;16441:29:43;16169:164;;8732:59;;;;16169:164;16226:96;4714:12900:26;16240:81:43;4714:12900:26;16240:81:43;4714:12900:26;;;16240:81:43;;;;;;;;;;8736:10;16240:81;;;;:::i;16226:96::-;;16169:164;;;;;;;;22350:143:49;22385:26;;1070:86:59;;12364:9:26;1070:86:59;;4714:12900:26;;258:35:40;4714:12900:26;;22350:143:49;;;;22194;4714:12900:26;22229:26:49;;1070:86:59;;12364:9:26;1070:86:59;;4714:12900:26;;258:35:40;4714:12900:26;;22194:143:49;;21796:66;21816:33;;;4714:12900:26;814:96:39;4714:12900:26;;814:96:39;8732:59:43;4714:12900:26;16441:29:43;15740:166;;8732:59;;;;15740:166;4714:12900:26;;-1:-1:-1;;;4714:12900:26;15812:82:43;;;15798:97;;15812:82;4714:12900:26;15812:82:43;8736:10;;;;;;15812:82;;;;:::i;15798:97::-;;15740:166;;;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;;;411:99:23;4714:12900:26;411:99:23;4714:12900:26;;411:99:23;4714:12900:26;;;;;;;:::i;:::-;837:84:46;-1:-1:-1;;;;;;;;;;;837:84:46;5411:18:26;5407:59;;-1:-1:-1;;;;;4714:12900:26;;;;-1:-1:-1;;;;;;;;;;;3235:54:21;;;14781:10:26;14761:17;;;:::i;:::-;4714:12900;;;;14781:10;;;;:::i;:::-;4714:12900;;;;;;;;;;;;;;;;;;;;;;;;3186:33:21;4714:12900:26;;;3186:33:21;:::i;4714:12900:26:-;;;-1:-1:-1;;4714:12900:26;;;;-1:-1:-1;;;;;;;;;;;837:84:46;5411:18:26;5407:59;;4714:12900;13717:19;13725:10;13717:19;:::i;4714:12900::-;;;;;;-1:-1:-1;;4714:12900:26;;;;;;:::i;:::-;;;:::i;:::-;;;837:84:46;-1:-1:-1;;;;;;;;;;;837:84:46;5411:18:26;5407:59;;13567:6;13500:17;13520:10;13500:17;;;:::i;:::-;4714:12900;;;;13520:10;;;;:::i;:::-;13567:6;:::i;4714:12900::-;;;;;;;:::i;:::-;1292:10:21;;;4714:12900:26;;;;;;;;;;;;;;;;1282:35:21;4714:12900:26;;;1282:35:21;:::i;:::-;4714:12900:26;;;;;;;;;;;;;;;;;;;;;;;;;;1328:33:21;4714:12900:26;;;1328:33:21;:::i;:::-;4714:12900:26;;-1:-1:-1;;;;;;;;;;;4714:12900:26;;1292:10:21;1377:54;1292:10;;;1377:54;;:::i;4714:12900:26:-;;;;;;-1:-1:-1;;4714:12900:26;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2762:25:21;;;:100;;;;4714:12900:26;;;;;;;;;;2762:100:21;-1:-1:-1;;;2837:25:21;;-1:-1:-1;2762:100:21;;;4714:12900:26;;;;;;-1:-1:-1;;4714:12900:26;;;;;;-1:-1:-1;;;;;4714:12900:26;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;:::o;:::-;;;;;-1:-1:-1;;4714:12900:26;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;4714:12900:26;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;4714:12900:26;;;;;;;;;;;;-1:-1:-1;;;4714:12900:26;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4714:12900:26;;;;;;;;-1:-1:-1;;4714:12900:26;;;;:::o;2098:168:52:-;-1:-1:-1;;;2172:13:52;;;2168:57;;4714:12900:26;;2098:168:52;:::o;2168:57::-;2187:25;;;814:96:39;;;;;16554:356:26;;;4714:12900;;16649:10;;;16645:23;;1367:30:37;;;:::i;:::-;1500:16;1408:76;;1500:16;;;:::i;:::-;1526:71;;;16760:9:26;;800:17:22;;;-1:-1:-1;;;;;;;;;;;1271:180:47;;-1:-1:-1;;;;;;;;;;;1271:180:47;16756:148:26;16554:356::o;16756:148::-;16835:13;16831:73;;16554:356::o;16831:73::-;763:180:47;-1:-1:-1;;;;;;;;;;;763:180:47;;-1:-1:-1;;;;;;;;;;;763:180:47;16554:356:26:o;16645:23::-;16661:7;;;:::o;1472:2873:62:-;;;;-1:-1:-1;;;;;4714:12900:26;;;4998:58:62;1769:24;;1809:163;;-1:-1:-1;1809:163:62;;;;;;;2085:8;2081:127;;1765:2574;1472:2873::o;2081:127::-;3741:1424:39;;-1:-1:-1;;;3741:1424:39;;-1:-1:-1;;;;;3741:1424:39;;;;;;;-1:-1:-1;3741:1424:39;;;;;;;;;;;4714:12900:26;3741:1424:39;15812:82:43;3741:1424:39;-1:-1:-1;;3741:1424:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2163:29:62;;;3741:1424:39;;;;;;;1765:2574:62;2238:1774;-1:-1:-1;2238:1774:62;;;;;;;;;;;;;;;;;4714:12900:26;;;;;2238:1774:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4124:8;4120:209;;1765:2574;1472:2873::o;4120:209::-;2238:1774;3741:1424:39;-1:-1:-1;;;3741:1424:39;;2238:1774:62;3741:1424:39;;;;;;-1:-1:-1;;;2238:1774:62;3741:1424:39;;;;2238:1774:62;3741:1424:39;;;15812:82:43;3741:1424:39;;-1:-1:-1;;3741:1424:39;;;;;;;;;;;;;;-1:-1:-1;3741:1424:39;;;;;;;2238:1774:62;3741:1424:39;;;;;4268:28:62;;;3741:1424:39;;;;;;;15651:825:26;-1:-1:-1;;;;;;;;;;;629:81:38;;15651:825:26;-1:-1:-1;;;;;4714:12900:26;;15918:24;;16459:9;15965;;15914:494;;16442:15;;;:::i;:::-;16459:9;;:::i;15914:494::-;16009:9;16005:59;;16459:9;1199:81:38;16323:28:26;-1:-1:-1;;;;;;;;;;;1199:81:38;16278:24:26;;;:::i;:::-;16323:28;:::i;:::-;766:73:38;4714:12900:26;-1:-1:-1;;;;;;;;;;;766:73:38;15914:494:26;;16005:59;16024:27;;;4714:12900;814:96:39;;4714:12900:26;814:96:39;963:137:25;1039:8;-1:-1:-1;;;;;4714:12900:26;1030:4:25;1022:25;1018:75;;963:137::o;1018:75::-;1049:31;;;814:96:39;;;;;28286:157:49;4714:12900:26;-1:-1:-1;;;;;1502:93:65;28364:30:49;28360:76;;28286:157::o;28360:76::-;28396:27;;;-1:-1:-1;814:96:39;;-1:-1:-1;814:96:39;1829:6:43;;;-1:-1:-1;;;;;4714:12900:26;;;5223:25;;1829:6:43;;;;;4714:12900:26;;1829:6:43;;;5223:25:26;1829:6:43;;;;;4714:12900:26;;1829:6:43;;;5223:25:26;1829:6:43;;;;;4714:12900:26;;1829:6:43;;;4714:12900:26;1829:6:43;;;;;4714:12900:26;1829:6:43;;5223:25:26;1829:6:43:o;:::-;;;;;;;;;;4714:12900:26;;;;;;;;1829:6:43;;;;;:::i;:::-;;;;4714:12900:26;1829:6:43;;;4714:12900:26;1829:6:43;;;;;;;;:::i;:::-;;:::o;16988:232:26:-;;17206:6;16988:232;;17143:6;4714:12900;;;;;;5223:25;;4714:12900;2052:83:60;;;17143:6:26;;:::i;:::-;17174:13;;5223:25;2241:89:60;;;;;;-1:-1:-1;;;;;4714:12900:26;17206:6;:::i;1833:122:44:-;4714:12900:26;;1111:7:44;1667:18;;1888:60;;1833:122;:::o;1888:60::-;1909:22;;;-1:-1:-1;1084:176:39;;;;-1:-1:-1;1084:176:39;1587:6:43;;;;;;4714:12900:26;;;;1587:6:43;;;;4714:12900:26;;1587:6:43;;;4714:12900:26;1587:6:43;;;;;;;4714:12900:26;1587:6:43;;;;4714:12900:26;1587:6:43:o;:::-;-1:-1:-1;;;;;4714:12900:26;;;;;1587:6:43;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;:::i;1460:151:52:-;;4714:12900:26;;;1558:6:52;;;1554:50;;1460:151::o;1655:6:43:-;;;;;;;;;;;;4714:12900:26;;;;;;;;1655:6:43;;;;;:::i;:::-;;;;;;:::i;:::-;;;;4714:12900:26;1655:6:43;;;4714:12900:26;1655:6:43;;;;;;;;:::i;10406:1571::-;;;;;;;;4714:12900:26;;;;;;;;;10726:10:43;:27;10722:79;;10812:19;4714:12900:26;10845:21:43;;;4714:12900:26;10845:25:43;10841:1130;4714:12900:26;;;;16441:29:43;;10886:518;;10841:1130;;;;;;;;10406:1571::o;10886:518::-;11366:23;4714:12900:26;;;;;11005:311:43;4714:12900:26;;;;11059:151:43;4714:12900:26;11059:151:43;4714:12900:26;10845:21:43;4714:12900:26;11059:151:43;;;;;;;;;;10726:10;11059:151;;;;:::i;:::-;;15812:82;;11059:151;;;;;;:::i;:::-;4714:12900:26;16441:29:43;;:34;;11005:311;;:::i;:::-;11366:23;;;:::i;:::-;10886:518;;;;;;;;;;10841:1130;11438:47;;;;;;4714:12900:26;16441:29:43;;11434:527;;10841:1130;;;;;;;10406:1571::o;11434:527::-;11923:23;4714:12900:26;;;;;;;11610:154:43;4714:12900:26;11610:154:43;4714:12900:26;;11556:317:43;4714:12900:26;10845:21:43;4714:12900:26;11610:154:43;;;;;;;;;;10726:10;11610:154;;;;:::i;:::-;4714:12900:26;16441:29:43;;:34;;11556:317;;:::i;10722:79::-;-1:-1:-1;4714:12900:26;;-1:-1:-1;;;;;;10755:46:43:o;5407:1119::-;4714:12900:26;16441:29:43;;:34;;5625:91;;5407:1119;5621:109;;4714:12900:26;16441:29:43;;:34;;5744:89;;5407:1119;5740:107;;4714:12900:26;16441:29:43;;:34;;5861:107;;5407:1119;5857:158;;4714:12900:26;16441:29:43;;:34;;6041:129;;5407:1119;6024:169;;-1:-1:-1;;;;;4714:12900:26;;;;-1:-1:-1;4714:12900:26;;552:8:44;1379:24;6419:19:43;;5407:1119::o;6377:142::-;1247:13;6454:38;:42;;;;:64;;;6377:142;5407:1119;:::o;6454:64::-;552:8:44;4714:12900:26;;;;1379:24:44;5407:1119:43;:::o;6024:169::-;6181:12;;4714:12900:26;6181:12:43;:::o;6041:129::-;6109:61;4714:12900:26;16441:29:43;;:34;;6041:129;;5861:107;5910:58;4714:12900:26;16441:29:43;;:34;;5861:107;;5744:89;5784:49;4714:12900:26;16441:29:43;;:34;;5744:89;;5625:91;5666:50;4714:12900:26;16441:29:43;;:34;;5625:91;;2333:220:44;552:8;4714:12900:26;;;1379:24:44;2467:33;;2510:13;;;:::i;2467:33::-;2492:8;4714:12900:26;2492:8:44;:::o;4351:276:62:-;-1:-1:-1;;;;;4714:12900:26;4998:58:62;4439:24;;4486:21;;4479:28;:::o;4435:186::-;4714:12900:26;4545:65:62;4714:12900:26;;;;;;;;;;4545:65:62;;4604:4;4545:65;;;4714:12900:26;4545:65:62;;;;;;;4714:12900:26;4545:65:62;;;4538:72;;:::o;4545:65::-;;;4714:12900:26;4545:65:62;;4714:12900:26;4545:65:62;;;;;;4714:12900:26;4545:65:62;;;:::i;:::-;;;4714:12900:26;;;;;4538:72:62;:::o;4545:65::-;;;-1:-1:-1;4545:65:62;;809:23:61;;;;;;;;;;;;;;;;;;;;;;;;:::o;12064:1980:43:-;12315:22;;;4714:12900:26;;;;;;12064:1980:43;;;12351:10;-1:-1:-1;;;;;4714:12900:26;;12351:27:43;12347:104;;4714:12900:26;16441:29:43;;12462:1576;;12064:1980;;;;;;:::o;12462:1576::-;12540:86;4714:12900:26;809:23:61;12555:70:43;4714:12900:26;809:23:61;4714:12900:26;;;12555:70:43;;;;;;12315:22;12555:70;;;12351:10;12555:70;;;4714:12900:26;809:23:61;;;;;;:::i;:::-;;;4714:12900:26;;809:23:61;;;4714:12900:26;809:23:61;;;;;;;4714:12900:26;809:23:61;;;-1:-1:-1;;;;;4714:12900:26;809:23:61;;;4714:12900:26;809:23:61;;;;;;;;;;;;:::i;12555:70:43:-;12540:86;;:::i;:::-;4714:12900:26;12761:2:43;4714:12900:26;;12744:19:43;12740:66;;4714:12900:26;13080:7:43;4714:12900:26;;;552:8:44;1379:24;13076:61:43;;12462:1576;4714:12900:26;16441:29:43;13223:805;;12462:1576;;;;;;;13223:805;4714:12900:26;1104:87:48;;;-1:-1:-1;1713:6:43;2052:83:60;;;4714:12900:26;;13682:332:43;;13223:805;13682:332;13789:34;13751:16;4714:12900:26;13751:16:43;;13789:34;;:::i;:::-;13849:48;;;;4714:12900:26;13862:16:43;;13849:48;13845:151;;13682:332;13223:805;;13845:151;13925:35;;;4714:12900:26;814:96:39;;4714:12900:26;814:96:39;13849:48:43;4714:12900:26;13881:16:43;;13849:48;;13076:61;12761:2;828:82:48;;;;-1:-1:-1;13076:61:43;;12740:66;12765:28;;;4714:12900:26;814:96:39;;4714:12900:26;814:96:39;12347:104:43;-1:-1:-1;4714:12900:26;;-1:-1:-1;4714:12900:26;;-1:-1:-1;;;;;12380:71:43:o;4714:12900:26:-;;;;;;;;;-1:-1:-1;;;;;;4714:12900:26;;-1:-1:-1;;;;;4714:12900:26;;;;;:::o;14130:1351:43:-;;;;;;;;14422:10;-1:-1:-1;;;;;4714:12900:26;;14422:27:43;14418:83;;2052::60;;;2241:89;;;14677:35:43;16441:29;4714:12900:26;16441:29:43;;14673:308;;14130:1351;14991:22;;;;;4714:12900:26;;;2241:89:60;4714:12900:26;15027:25:43;;;:52;;;14130:1351;15023:413;;14130:1351;15445:29;;;;14130:1351;:::o;15023:413::-;15404:21;15108:22;;;4714:12900:26;15108:22:43;;;4714:12900:26;15108:26:43;4714:12900:26;;;;15108:47:43;15107:199;;;;4714:12900:26;;;;;553:115:60;;2052:83;553:115;;15107:199:43;15095:211;15404:21;;:::i;:::-;15023:413;;;;;15107:199;4714:12900:26;553:115:60;-1:-1:-1;;;;;553:115:60;;;;15107:199:43;;15027:52;4714:12900:26;;2241:89:60;4714:12900:26;15056:23:43;;15027:52;;14673:308;14798:80;14752:218;4714:12900:26;;14752:207:43;4714:12900:26;14728:242:43;4714:12900:26;;;;;;1769:6:43;4714:12900:26;14798:80:43;;;;;;;;;;14422:10;14798:80;;;4714:12900:26;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;14798:80:43:-;4714:12900:26;16441:29:43;;:34;;14752:207;;:::i;:218::-;14728:242;;:::i;:::-;14673:308;;;;;;;14418:83;14451:50;;;;;;;;;4714:12900:26;14451:50:43;:::o;6702:1276::-;;;;6823:116;;;-1:-1:-1;6823:116:43;;;;;;;;;;7033:8;7029:102;;7202:504;;;;15812:82;;;7202:504;;;;;;;;;;;;;6823:116;7202:504;;;-1:-1:-1;7202:504:43;;6823:116;4714:12900:26;;7836:18:43;:68;;;;;6702:1276;7832:140;;;;6702:1276::o;7836:68::-;563:85:48;;;-1:-1:-1;;;;;;4714:12900:26;;;;;7858:46:43;;;-1:-1:-1;7836:68:43;;;;7029:102;4714:12900:26;;;-1:-1:-1;;;;;;4714:12900:26;;;;;;;;;7029:102:43;-1:-1:-1;;3741:1424:39;;-1:-1:-1;;;3741:1424:39;;-1:-1:-1;;;;;4714:12900:26;;;;3741:1424:39;;;-1:-1:-1;;;;;;3741:1424:39;;;;;;;;;;4714:12900:26;3741:1424:39;15812:82:43;3741:1424:39;-1:-1:-1;;3741:1424:39;;;;;;;;;;;;;;-1:-1:-1;3741:1424:39;;;;;;;4714:12900:26;3741:1424:39;;;;;7107:23:43;;;3741:1424:39;;;;;;;4714:12900:26;-1:-1:-1;;;;;;4714:12900:26;;;;;;;;;;;;;-1:-1:-1;4714:12900:26;;;;2108:1410:56;;;2509:1003;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2108:1410::o;2509:1003::-;;;;;;;;;;;;;;;;;;;;;28630:100:49;28707:10;28630:100;4714:12900:26;;-1:-1:-1;4714:12900:26;28707:10:49;4714:12900:26;;28700:23:49;4714:12900:26;;;;;;;;;;;;;;28630:100:49:o;3149:4018:57:-;3297:459;;;;;;;;;;1317:6;3774:35;;3770:78;;6424:727;4356:13;;4383:160;;;;;4714:12900:26;4383:160:57;;;4560:13;3297:459;4560:13;;4556:83;;3149:4018;4667:3;4657:13;;4653:83;;3149:4018;4764:3;4754:13;;4750:83;;3149:4018;4861:4;4851:14;;4847:84;;3149:4018;4959:4;4949:14;;4945:84;;3149:4018;5057:4;5047:14;;5043:84;;3149:4018;4383:160;5145:14;;5141:84;;3149:4018;5253:5;5243:15;;5239:85;;3149:4018;5352:5;5342:15;;5338:85;;3149:4018;5451:5;5441:15;;5437:85;;3149:4018;5550:5;5540:15;;5536:85;;3149:4018;5649:6;5639:16;;5635:86;;3149:4018;5749:6;5739:16;;5735:86;;3149:4018;5849:6;5839:16;;5835:86;;3149:4018;5949:6;5939:16;;5935:86;;3149:4018;6049:7;6039:17;;6035:86;;3149:4018;6149:7;6139:17;;6135:85;;3149:4018;6248:7;6238:17;;6234:83;;3149:4018;6345:7;6335:17;6331:78;;3149:4018;-1:-1:-1;;6424:727:57;;3149:4018;6424:727;4959:4;6424:727;3149:4018;:::o;6424:727::-;-1:-1:-1;;6424:727:57;;;6331:78;6376:25;4714:12900:26;;;4383:160:57;4714:12900:26;;6331:78:57;;6234:83;6279:30;4714:12900:26;;;4383:160:57;4714:12900:26;;6234:83:57;;6135:85;4714:12900:26;6180:32:57;4714:12900:26;4383:160:57;4714:12900:26;6135:85:57;;;6035:86;4714:12900:26;6080:33:57;4714:12900:26;4383:160:57;4714:12900:26;6035:86:57;;;5935;4714:12900:26;5979:34:57;4714:12900:26;4383:160:57;4714:12900:26;5935:86:57;;;5835;4714:12900:26;5879:34:57;4714:12900:26;4383:160:57;4714:12900:26;5835:86:57;;;5735;4714:12900:26;5779:34:57;4714:12900:26;4383:160:57;4714:12900:26;5735:86:57;;;5635;4714:12900:26;5679:34:57;4714:12900:26;4383:160:57;4714:12900:26;5635:86:57;;;5536:85;4714:12900:26;5579:34:57;4714:12900:26;4383:160:57;4714:12900:26;5536:85:57;;;5437;4714:12900:26;5480:34:57;4714:12900:26;4383:160:57;4714:12900:26;5437:85:57;;;5338;4714:12900:26;5381:34:57;4714:12900:26;4383:160:57;4714:12900:26;5338:85:57;;;5239;4714:12900:26;5282:34:57;4714:12900:26;4383:160:57;4714:12900:26;5239:85:57;;;5141:84;4714:12900:26;5183:34:57;4714:12900:26;4383:160:57;4714:12900:26;5141:84:57;;;5043;4714:12900:26;5085:34:57;4714:12900:26;4383:160:57;4714:12900:26;5043:84:57;;;4945;4714:12900:26;4987:34:57;4714:12900:26;4383:160:57;4714:12900:26;4945:84:57;;;4847;4714:12900:26;4889:34:57;4714:12900:26;4383:160:57;4714:12900:26;4847:84:57;;;4750:83;4714:12900:26;4791:34:57;4714:12900:26;4383:160:57;4714:12900:26;4750:83:57;;;4653;4714:12900:26;4694:34:57;4714:12900:26;4383:160:57;4714:12900:26;4653:83:57;;;4556;4714:12900:26;4597:34:57;4714:12900:26;4383:160:57;4714:12900:26;4556:83:57;;;3770:78;3811:20;;;;1431:143:39;;;;;;;13649:424:53;;13850:1;4714:12900:26;;;13838:13:53;:218;13850:1;;;13870:73;;13850:1;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;;13870:73:53;:::i;:::-;13850:1;1875:5:52;;1871:49;;13649:424:53;:::o;13838:218::-;13974:71;;-1:-1:-1;;;;;4714:12900:26;;13974:71:53;:::i;:::-;13850:1;1875:5:52;;1871:49;;13850:1:53;4714:12900:26;13649:424:53;:::o;12876:::-;;13077:1;4714:12900:26;;;13065:13:53;:218;13077:1;;;13097:73;;13077:1;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;;13097:73:53;:::i;13065:218::-;13201:71;;-1:-1:-1;;;;;4714:12900:26;;13201:71:53;:::i;369:370:45:-;-1:-1:-1;;;;;452:281:45;;;;;;;;4714:12900:26;452:281:45;;;;;369:370::o;452:281::-;;;;;;;8118:485:43;;8259:20;8118:485;8259:20;:::i;:::-;8371:12;;8367:26;;8509:2;4714:12900:26;;8492:19:43;8488:66;;8509:2;1104:87:48;;8118:485:43;:::o;1070:396:60:-;1447:15;1070:396;1430:15;1183:220;;;;;;;1430:15;:::i;:::-;1183:220;;;;;;;1447:15;:::i;:::-;4714:12900:26;;;;;553:115:60;;1183:220;553:115;;1070:396;:::o;7627:4752:57:-;2282:66;-1:-1:-1;;1862:10:57;;-1:-1:-1;;;;;4714:12900:26;8182:79:57;8178:168;;11587:24;4714:12900:26;;;;-1:-1:-1;;;;;;;4714:12900:26;;;8463:29:57;4714:12900:26;8463:29:57;:::i;:::-;4714:12900:26;;8518:3:57;8511:10;;8518:3;;-1:-1:-1;;;4714:12900:26;;;8507:83:57;8660:196;;;;;;4714:12900:26;8660:196:57;;8869;;;8660;8869;;4714:12900:26;8869:196:57;;9078;;;8660;9078;;4714:12900:26;9078:196:57;;9287;;;8660;9287;;4714:12900:26;9287:196:57;;9496;;;8660;9496;;4714:12900:26;9496:196:57;;9705;;;8660;9705;;4714:12900:26;9705:196:57;;9914;;;;8660;9914;;4714:12900:26;9914:196:57;;10123;;;;8660;10123;;4714:12900:26;10123:196:57;;10332;;;;8660;10332;;4714:12900:26;10332:196:57;;10541;;;;8660;10541;;4714:12900:26;10541:196:57;;10750;;;;8660;10750;;4714:12900:26;10750:196:57;;10959;;;;8660;10959;;4714:12900:26;10959:196:57;;11168;;;;;8660;11168;;4714:12900:26;11168:196:57;;4714:12900:26;11377:165:57;;;;;;;;11168:196;4714:12900:26;11168:196:57;;;;;;10959;4714:12900:26;10959:196:57;;;;;;10750;4714:12900:26;10750:196:57;;;;;;10541;4714:12900:26;10541:196:57;;;;;;10332;4714:12900:26;10332:196:57;;;;;;10123;4714:12900:26;10123:196:57;;;;;;9914;4714:12900:26;9914:196:57;;;;;;9705;4714:12900:26;9705:196:57;;;;;;9496;4714:12900:26;9496:196:57;;;;;;9287;4714:12900:26;9287:196:57;;;;;;9078;4714:12900:26;9078:196:57;;;;;;8869;4714:12900:26;8869:196:57;;;;;;8660;4714:12900:26;8660:196:57;;;;;;2282:66;;;;8643:2;4714:12900:26;8660:196:57;8869;9078;9287;9496;9705;9914;10123;10332;10541;10750;10959;11168;11377:165;2282:66;12201:39;2282:66;;;;8518:3;2282:66;4714:12900:26;;2282:66:57;;8518:3;2282:66;4714:12900:26;;12271:91:57;:17;;;:91;4714:12900:26;;;12271:91:57;;;7627:4752;:::o;12271:91::-;-1:-1:-1;;;;;4714:12900:26;;;;12301:26:57;;;:::i;:::-;4714:12900:26;12301:42:57;:61;;;7627:4752;:::o;12301:61::-;;;1829:6:43;:::o;8507:83:57:-;4714:12900:26;;;8580:3:57;4714:12900:26;;8507:83:57;;8178:168;-1:-1:-1;;;1084:176:39;;;;-1:-1:-1;;;;;1084:176:39;;;;;;;;;439:352:37;-1:-1:-1;;;;;547:238:37;;;;;;;;;;;;;;;439:352::o;633:9:51:-;;;;;;;:::o;:::-;4714:12900:26;;;633:9:51;;;;;;;;11926:9620:49;4714:12900:26;;;11926:9620:49;;4714:12900:26;;;;:::i;:::-;;;;;;;;;;;;;;;;;;12086:24:49;4714:12900:26;;;12183:17:49;4714:12900:26;12183:17:49;;4714:12900:26;;12245:102:49;4714:12900:26;;12245:102:49;4714:12900:26;;;750:5:51;1882:117:65;;;743:12:51;12245:102:49;;4714:12900:26;;-1:-1:-1;;;;;1502:93:65;;4714:12900:26;;;;1682:98:65;;;;;4714:12900:26;;;12916:14:49;;;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;;;;;13146:20:49;;4714:12900:26;;;;1502:93:65;819:8:44;2836:24;;:29;819:8;;975;3147:27;3572:12;;;:::i;:::-;4714:12900:26;;;;;13312:70:49;13302:80;4714:12900:26;563:3:55;4714:12900:26;;;13542:32:49;;13538:200;;13312:70;4714:12900:26;;13946:27:49;13942:92;;-1:-1:-1;;4714:12900:26;;;;14079:24:49;;4714:12900:26;;14079:24:49;;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;14079:53:49;;;;14075:190;;-1:-1:-1;;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;1862:10:57;14513:51:49;;;14509:157;;14045:1021;;4714:12900:26;;;2042:49:57;4714:12900:26;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;;2042:49:57;;4714:12900:26;;2042:49:57;;;4714:12900:26;;2042:49:57;;;4714:12900:26;;2042:49:57;;;4714:12900:26;13146:20:49;2042:49:57;;;4714:12900:26;1682:98:65;2042:49:57;;;4714:12900:26;2042:49:57;;;;4714:12900:26;;15141:66:49;4714:12900:26;;;15154:25:49;;;4714:12900:26;15141:66:49;;;;;2042:49:57;;;4714:12900:26;15334:5244:49;15343:29;;:80;;;;15334:5244;15341:83;;4714:12900:26;;;;;;;;;;15600:11:49;4714:12900:26;15600:11:49;;4714:12900:26;1682:98:65;4714:12900:26;;15613:18:49;;4714:12900:26;1682:98:65;4714:12900:26;15551:93:49;846:396:56;4714:12900:26;846:396:56;;;;;;;4714:12900:26;;4565:1682:56;4714:12900:26;;;15551:15:49;1676:170:56;;;4839:13;1676:170;1682:98:65;1676:170:56;;;4714:12900:26;;-1:-1:-1;4714:12900:26;15551:15:49;4714:12900:26;;;-1:-1:-1;4714:12900:26;800:17:22;;4714:12900:26;1676:170:56;4714:12900:26;;;;4839:20:56;5014:11;;;;5164:194;;;;;;5234:34;;1676:170;5234:34;;:::i;:::-;4714:12900:26;;;1682:98:65;4714:12900:26;633:9:51;;1682:98:65;4714:12900:26;;1682:98:65;4714:12900:26;5164:194:56;4565:1682;;4714:12900:26;;;2042:49:57;;4714:12900:26;1682:98:65;4714:12900:26;2042:49:57;4714:12900:26;2042:49:57;;4714:12900:26;1032:7:57;;-1:-1:-1;15776:34:49;15772:106;;4565:1682:56;1317:6:57;4714:12900:26;2042:49:57;;4714:12900:26;1682:98:65;4714:12900:26;15895:34:49;;15891:106;;4565:1682:56;4714:12900:26;;;;1328:919:55;4714:12900:26;;;;;16082:42:49;4714:12900:26;2042:49:57;;4714:12900:26;1682:98:65;4714:12900:26;16082:42:49;:::i;:::-;4714:12900:26;2042:49:57;4714:12900:26;2042:49:57;;4714:12900:26;;;;;;;;;;;;;;;;16471:24:49;;4714:12900:26;;;;;;1328:919:55;;;;;;;;;4714:12900:26;;;;;;;16514:16:49;;4714:12900:26;;16329:282:49;4714:12900:26;;;;;;;3923:41:55;;;3993:19;4714:12900:26;3993:19:55;;4027:2922;4714:12900:26;;;;;;563:3:55;4714:12900:26;4111:81:55;4714:12900:26;;;;4111:81:55;:::i;:::-;4221:230;;;;;4254:87;;;;;:::i;:::-;4221:230;;4473:34;;;;;-1:-1:-1;4595:37:55;2042:49:57;;4595:37:55;;;;4666:256;4714:12900:26;;;563:3:55;4666:24;563:3;;4666:256;;;;4469:969;;5467:228;;;5500:86;;;;:::i;:::-;4027:2922;;2042:49:57;4714:12900:26;1682:98:65;2042:49:57;;4714:12900:26;13146:20:49;2042:49:57;;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;;;;;-1:-1:-1;;4714:12900:26;;;1682:98:65;2042:49:57;;;1875:5:52;4714:12900:26;1875:5:52;;1871:49;;4714:12900:26;2042:49:57;16848:30:49;13146:20;2042:49:57;;;;;;;16848:30:49;;:::i;:::-;4714:12900:26;1875:5:52;;1871:49;;2042::57;;;;;1328:919:55;2042:49:57;;;16656:568:49;;4714:12900:26;;;17355:951:49;;16656:568;4714:12900:26;16514:16:49;;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;;18361:382:49;;16656:568;-1:-1:-1;4714:12900:26;;;2042:49:57;;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;;;;;19183:44:49;;4714:12900:26;;2042:49:57;4714:12900:26;2042:49:57;;4714:12900:26;19318:835:49;;19179:1389;4714:12900:26;;;800:17:22;;4714:12900:26;2042:49:57;;4714:12900:26;1682:98:65;4714:12900:26;633:9:51;1682:98:65;4714:12900:26;20217:46:49;1682:98:65;4714:12900:26;;15600:11:49;;4714:12900:26;19179:1389:49;15334:5244;;;;20217:46;4714:12900:26;2042:49:57;;4714:12900:26;1682:98:65;4714:12900:26;20217:46:49;;19318:835;4714:12900:26;;;2042:49:57;20080:54:49;2042:49:57;;29464:10:49;2042:49:57;;;;19489:25:49;4714:12900:26;1682:98:65;19489:25:49;;4714:12900:26;19425:170:49;;2042:49:57;4714:12900:26;1682:98:65;4714:12900:26;;;-1:-1:-1;4714:12900:26;29464:10:49;4714:12900:26;;;-1:-1:-1;4714:12900:26;29546:26:49;1328:919:55;29546:26:49;;4714:12900:26;;;;;;;1682:98:65;29638:26:49;;4714:12900:26;;;;;;;;13146:20:49;4714:12900:26;;;19972:44:49;;19425:170;4714:12900:26;16514:16:49;;;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;-1:-1:-1;4714:12900:26;;20080:54:49;:::i;:::-;4714:12900:26;;16514:16:49;;4714:12900:26;19318:835:49;;19972:44;4714:12900:26;;;;19972:44:49;;19425:170;19543:25;20080:54;19543:25;;29464:10;1328:919:55;19543:25:49;;4714:12900:26;2042:49:57;4714:12900:26;2042:49:57;;;;19425:170:49;;;19179:1389;4714:12900:26;;-1:-1:-1;;;;;4714:12900:26;20306:45:49;;20302:266;;19179:1389;;;;20302:266;20505:48;;;:::i;:::-;1682:98:65;4714:12900:26;;15600:11:49;;4714:12900:26;20302:266:49;;;18361:382;2042:49:57;;;;13146:20:49;1070:86:59;;2042:49:57;;;;258:35:40;2042:49:57;;;4714:12900:26;18361:382:49;;;17355:951;17854:242;4714:12900:26;;;;;;17855:22:49;4714:12900:26;;2042:49:57;;;;17854:242:49;;2042:49:57;;;;;4714:12900:26;2042:49:57;;;4714:12900:26;258:35:40;17355:951:49;;;17854:242;563:3:55;13146:20:49;2042:49:57;;;4714:12900:26;;;2042:49:57;;;;;258:35:40;4714:12900:26;633:9:51;17854:242:49;;;16656:568;13146:20;2042:49:57;;;;;;;258:35:40;1875:5:52;4714:12900:26;1875:5:52;;1871:49;;258:35:40;2042:49:57;1682:98:65;2042:49:57;;;4714:12900:26;1875:5:52;;1871:49;;17164:45:49;;;:::i;:::-;16656:568;;;5467:228:55;5609:86;;;:::i;:::-;5467:228;;4666:256;4714:12900:26;4852:70:55;4714:12900:26;;4852:70:55;;:::i;:::-;4666:256;;4469:969;5021:33;;;;;;;;;6731:358:53;;;;;;;;7172:190;;2042:49:57;;7172:190:53;;;;7197:74;;;;;:::i;:::-;4714:12900:26;;;;;;4469:969:55;;;7172:190:53;-1:-1:-1;;;;;4834:27:53;;4714:12900:26;;5042:42:53;5043:28;4884:47;-1:-1:-1;;;;;4714:12900:26;;295:2:41;4714:12900:26;;;4884:47:53;:::i;:::-;-1:-1:-1;;;;;4714:12900:26;;5043:28:53;:::i;:::-;5042:42;:::i;:::-;7172:190;;4834:172;5042:42;5043:28;4954:52;-1:-1:-1;;;;;4714:12900:26;;4954:52:53;;:::i;:::-;4834:172;;6731:358;;4714:12900:26;6731:358:53;;;;4221:230:55;4364:87;;;;;:::i;:::-;4221:230;;;4027:2922;5746:232;;-1:-1:-1;5746:232:55;-1:-1:-1;5746:232:55;;;;5779:88;;;;;:::i;:::-;5746:232;;6000:37;;;;;5996:516;;;6540:226;;;6573:85;;;;:::i;:::-;6540:226;;6529:237;2042:49:57;6864:70:55;4714:12900:26;;;563:3:55;4714:12900:26;;;;6529:237:55;6864:70;:::i;:::-;4027:2922;;;6540:226;6681:85;;;:::i;:::-;6540:226;;;5996:516;-1:-1:-1;6297:36:55;;-1:-1:-1;8211:358:53;;;;;;;8646:194;;;;-1:-1:-1;;;;;5152:27:53;;4714:12900:26;;-1:-1:-1;;;;;4714:12900:26;;295:2:41;4714:12900:26;;;558:86:59;;;;;;;;;5152:205:53;-1:-1:-1;;;;;5468:277:53;;;;;;;;;4714:12900:26;;-1:-1:-1;;;;;4714:12900:26;8646:194:53;5996:516:55;;;;5468:277:53;;4714:12900:26;5468:277:53;;;;5152:205;-1:-1:-1;;;;;4714:12900:26;;5315:25:42;4714:12900:26;-1:-1:-1;;;5315:25:42;;:::i;:::-;5358;;;;;-1:-1:-1;;;5358:25:42;;5354:90;5152:205:53;5354:90:42;4714:12900:26;;5416:12:42;5152:205:53;4714:12900:26;;;;8646:194:53;8764:76;;;;;:::i;:::-;8646:194;;5746:232:55;5890:88;;;;;:::i;:::-;5746:232;;;15891:106:49;1317:6:57;4714:12900:26;2042:49:57;;4714:12900:26;15891:106:49;;15772;-1:-1:-1;;4714:12900:26;2042:49:57;;4714:12900:26;15772:106:49;;5164:194:56;4714:12900:26;1682:98:65;4714:12900:26;633:9:51;;1682:98:65;4714:12900:26;;1682:98:65;4714:12900:26;5164:194:56;;4565:1682;1328:919:55;4714:12900:26;;1682:98:65;4714:12900:26;1676:170:56;15551:15:49;1676:170:56;;;5702:13;1676:170;;;4714:12900:26;;;;15551:15:49;4714:12900:26;;;;;800:17:22;1328:919:55;1676:170:56;800:17:22;;4714:12900:26;;;;5647:20:56;4714:12900:26;;5702:20:56;5869:11;;;;;6019:213;;;;;;4714:12900:26;;1766:834:36;1676:170:56;1766:834:36;4714:12900:26;1766:834:36;;;4714:12900:26;1766:834:36;;;;;;;;;;;;;;;;;;;;;4714:12900:26;;1682:98:65;4714:12900:26;;1682:98:65;4714:12900:26;;1682:98:65;4714:12900:26;6019:213:56;4565:1682;;;6019:213;4714:12900:26;1676:170:56;4714:12900:26;;;;;1682:98:65;4714:12900:26;;1682:98:65;4714:12900:26;;1682:98:65;4714:12900:26;6019:213:56;;15341:83:49;;;;;;;;;;;;;4714:12900:26;20620:11:49;;4714:12900:26;1682:98:65;2578:157;4714:12900:26;2578:157:65;;;4714:12900:26;;;;;;;;2342:131:65;4714:12900:26;2342:131:65;;;;;;;;4714:12900:26;;;;;;;12916:14:49;;;4714:12900:26;;;;;;;;20744:16:49;;4714:12900:26;;20726:34:49;;;20722:73;;15334:5244;-1:-1:-1;4714:12900:26;;;;2042:49:57;1682:98:65;2042:49:57;;;20873:25:49;;4714:12900:26;20842:177:49;4714:12900:26;;;;;21115:26:49;;21100:42;4714:12900:26;;21210:27:49;;21239:62;21210:27;;;:::i;:::-;4714:12900:26;;;21239:62:49;:::i;:::-;4714:12900:26;;;;;553:115:60;;13146:20:49;553:115:60;;21096:434:49;11926:9620::o;21096:434::-;21470:27;4714:12900:26;;;21406:62:49;4714:12900:26;;21406:62:49;:::i;:::-;21470:27;;:::i;20842:177::-;2042:49:57;1328:919:55;2042:49:57;;;20956:25:49;;4714:12900:26;20842:177:49;;20722:73;12916:14;;;4714:12900:26;;-1:-1:-1;;;;;;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;;;;;;;;;;-1:-1:-1;20722:73:49;;15343:80;-1:-1:-1;4714:12900:26;;;15399:24:49;;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;;;;;15376:47:49;15343:80;;15141:66;1682:98:65;15182:25:49;;4714:12900:26;15141:66:49;;;;;;14509:157;14974:30;;;4714:12900:26;1084:176:39;;;;4714:12900:26;1084:176:39;14075:190:49;3008:319:39;;;4714:12900:26;3008:319:39;14773:34:49;;;;3008:319:39;;;;;;;;;;;14045:1021:49;4714:12900:26;14700:24:49;;4714:12900:26;;14700:24:49;;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;14700:53:49;;;;14696:190;;-1:-1:-1;;4714:12900:26;-1:-1:-1;;;;;4714:12900:26;2042:49:57;14903:51:49;;;14899:157;;14045:1021;;;13942:92;13975:59;;;;;;;;;;;;;;4714:12900:26;13975:59:49;4714:12900:26;13975:59:49;;;:::o;13538:200::-;4714:12900:26;;;13624:26:49;13620:108;13538:200;13620:108;13670:30;;;4714:12900:26;814:96:39;;4714:12900:26;814:96:39;13312:70:49;4714:12900:26;1864:240:51;;;;;;;;;;;;;13312:70:49;;13146:141;2089:105:65;;;;4714:12900:26;2089:105:65;13146:141:49;;12245:102;4714:12900:26;;;;;12245:102:49;;;741:4141:42;4714:12900:26;;;;741:4141:42;-1:-1:-1;;741:4141:42;;1347:147;;;;;;;;;;;;4383:160:57;;4714:12900:26;4383:160:57;;1619:19:42;4714:12900:26;;;1720:10:42;1716:177;;-1:-1:-1;;;4383:160:57;2224:95:42;2391:145;;;;;;2977:82;4714:12900:26;2391:145:42;;2977:82;;3363:21;741:4141;:::o;1716:177::-;1750:98;;;;;1865:13;:::o;741:4141::-;4714:12900:26;;;;-1:-1:-1;;4714:12900:26;;1347:147:42;;;;;;;;;;;;1619:19;;563:3:55;1619:19:42;4714:12900:26;;;1720:10:42;1716:177;;4714:12900:26;2224:95:42;563:3:55;2224:95:42;;2391:145;;;;;;4714:12900:26;;2391:145:42;;2977:82;;3363:21;4714:12900:26;741:4141:42;:::o;1716:177::-;1750:98;;563:3:55;1750:98:42;;;1865:13;:::o;741:4141::-;4714:12900:26;;;;741:4141:42;-1:-1:-1;;741:4141:42;;1347:147;;;;;;;;;;;;335:27:41;;4714:12900:26;335:27:41;;1619:19:42;4714:12900:26;;;1720:10:42;1716:177;;-1:-1:-1;;;335:27:41;2224:95:42;2391:145;;;;;;4714:12900:26;;2391:145:42;;2977:82;;3363:21;741:4141;:::o;1716:177::-;1750:98;;;;;1865:13;:::o;741:4141::-;;4714:12900:26;;;;;-1:-1:-1;;;;;741:4141:42;1347:147;;;;;;;;;;;;1619:19;;;;4714:12900:26;;;1720:10:42;1716:177;;335:27:41;;-1:-1:-1;;;335:27:41;2224:95:42;4714:12900:26;;;;2716:31:42;2811:94;;;3776:1;4714:12900:26;3757:1:42;4714:12900:26;3756:21:42;4714:12900:26;;;3776:1:42;4714:12900:26;;;;;3776:1:42;4714:12900:26;;;;;3776:1:42;4714:12900:26;;;;;3776:1:42;4714:12900:26;;;;;3776:1:42;4714:12900:26;;;;;3776:1:42;4714:12900:26;;3254:96:42;;;;4714:12900:26;3254:96:42;;;2391:145;;;;;;4714:12900:26;2391:145:42;;2977:82;3363:21;4714:12900:26;741:4141:42;:::o;1716:177::-;1750:98;;;;1865:13;:::o;741:4141::-;;4714:12900:26;;;;-1:-1:-1;;4714:12900:26;741:4141:42;1347:147;;;;;;;;;;;;1619:19;;;;4714:12900:26;;;1720:10:42;1716:177;;2224:95;;;;4714:12900:26;;;;2716:31:42;2811:94;;;3776:1;4714:12900:26;3757:1:42;4714:12900:26;3756:21:42;4714:12900:26;;;3776:1:42;4714:12900:26;;;;;3776:1:42;4714:12900:26;;;;;3776:1:42;4714:12900:26;;;;;3776:1:42;4714:12900:26;;;;;3776:1:42;4714:12900:26;;;;;3776:1:42;4714:12900:26;;3254:96:42;;;;4714:12900:26;3254:96:42;;;2391:145;;;;;;4714:12900:26;2391:145:42;;2977:82;3363:21;4714:12900:26;741:4141:42;:::o;1716:177::-;1750:98;;;;;1865:13;:::o;11589:938:53:-;-1:-1:-1;;;;;10595:530:53;;;;;;;;;;;;;;;14040:4;;-1:-1:-1;;;;;4714:12900:26;12323:51:53;10595:530;4714:12900:26;12323:51:53;:::i;:::-;335:27:41;;;;12384:137:53;;;;;;11589:938;:::o;:::-;12323:51;;-1:-1:-1;;;;;10595:530:53;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4714:12900:26;12323:51:53;:::i;9398:1050::-;-1:-1:-1;;;;;4714:12900:26;;;;;;9600:29:53;9596:98;;9398:1050;-1:-1:-1;;;;;9783:262:53;;;;;;;10262:64;;-1:-1:-1;;;;;4714:12900:26;;;;1862:10:57;;;4714:12900:26;;335:27:41;4714:12900:26;-1:-1:-1;;;;;;;4714:12900:26;10262:64:53;:::i;:::-;558:86:59;;;;;;;;;9398:1050:53;:::o;9783:262::-;;;;;;;9596:98;9631:63;9596:98;;9398:1050;;-1:-1:-1;;;;;4714:12900:26;;;;;;9600:29:53;9596:98;;9398:1050;-1:-1:-1;;;;;9783:262:53;;;;;;;10361:70;;:54;;-1:-1:-1;;;;;4714:12900:26;;;;1862:10:57;;;4714:12900:26;;335:27:41;4714:12900:26;-1:-1:-1;;;;;;;4714:12900:26;10361:54:53;:::i;:::-;:70;:::i;9596:98::-;;;;653:664:36;742:5;;4714:12900:26;;-1:-1:-1;;;759:552:36;;-1:-1:-1;;;;;759:552:36;-1:-1:-1;759:552:36;;;;;-1:-1:-1;;;;;759:552:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;653:664::o;5164:296:42:-;;;;5315:25;;;;;:::i;:::-;5358;;;;;;5354:90;;5164:296::o;5354:90::-;4714:12900:26;;;5416:12:42;;;4714:12900:26;;5164:296:42:o;1535:2065:53:-;;;1831:11;;1827:32;;-1:-1:-1;;;;;4714:12900:26;;;;;;;;335:27:41;4714:12900:26;;;;-1:-1:-1;;;;;;;4714:12900:26;;2951:462:53;;;;;;;;;;;3497:72;4714:12900:26;3497:60:53;4714:12900:26;;;3497:60:53;;:::i;2951:462::-;;1946:1648;2951:462;;;;1827:32;1844:15;;;:::o;1535:2065::-;;;1831:11;;1827:32;;335:27:41;4714:12900:26;-1:-1:-1;;;;;;;4714:12900:26;;-1:-1:-1;;;;;4714:12900:26;;;;;;2054:16:53;4714:12900:26;;2054:16:53;:::i;:::-;:28;2050:345;;1535:2065;2526:21;;2525:32;2526:21;;;:::i;:::-;2525:32;:::i;:::-;558:86:59;;;;;;;;-1:-1:-1;;;;;4714:12900:26;;1535:2065:53:o;2050:345::-;258:35:40;;2174:25:53;;;2050:345;2170:207;-1:-1:-1;;;;;4714:12900:26;2293:60:53;;4714:12900:26;;-1:-1:-1;2293:60:53;:::i;:::-;4714:12900:26;2278:76:53;:::o;460:155:52:-;-1:-1:-1;;;;;4714:12900:26;;;460:155:52;562:6;;558:50;;460:155::o"},"methodIdentifiers":{"allowance(address,address,uint256)":"598af9e7","approve(address,uint256,uint256)":"426a8493","balanceOf(address,uint256)":"00fdd58e","burn(address,uint256,uint256)":"f5298aca","clear(address,uint256)":"80f0b44c","collectProtocolFees(address,address,uint256)":"8161b874","donate((address,address,uint24,int24,address),uint256,uint256,bytes)":"234266d7","extsload(bytes32)":"1e2eaeaf","extsload(bytes32,uint256)":"35fd631a","extsload(bytes32[])":"dbd035ff","exttload(bytes32)":"f135baaa","exttload(bytes32[])":"9bf6645f","initialize((address,address,uint24,int24,address),uint160)":"6276cbbe","isOperator(address,address)":"b6363cf2","mint(address,uint256,uint256)":"156e29f6","modifyLiquidity((address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)":"5a6bcfda","owner()":"8da5cb5b","protocolFeeController()":"f02de3b2","protocolFeesAccrued(address)":"97e8cd4e","setOperator(address,bool)":"558a7297","setProtocolFee((address,address,uint24,int24,address),uint24)":"7e87ce7d","setProtocolFeeController(address)":"2d771389","settle()":"11da60b4","settleFor(address)":"3dd45adb","supportsInterface(bytes4)":"01ffc9a7","swap((address,address,uint24,int24,address),(bool,int256,uint160),bytes)":"f3cd914c","sync(address)":"a5841194","take(address,address,uint256)":"0b0d9c09","transfer(address,uint256,uint256)":"095bcdb6","transferFrom(address,address,uint256,uint256)":"fe99049a","transferOwnership(address)":"f2fde38b","unlock(bytes)":"48c89491","updateDynamicLPFee((address,address,uint24,int24,address),uint24)":"52759651"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyUnlocked\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"currency1\",\"type\":\"address\"}],\"name\":\"CurrenciesOutOfOrderOrEqual\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CurrencyNotSettled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DelegateCallNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCaller\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ManagerLocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustClearExactPositiveDelta\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonzeroNativeValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolNotInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProtocolFeeCurrencySynced\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"ProtocolFeeTooLarge\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SwapAmountCannotBeZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"TickSpacingTooLarge\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"TickSpacingTooSmall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnauthorizedDynamicLPFeeUpdate\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Donate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Initialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"liquidityDelta\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"ModifyLiquidity\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"OperatorSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"protocolFeeController\",\"type\":\"address\"}],\"name\":\"ProtocolFeeControllerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"protocolFee\",\"type\":\"uint24\"}],\"name\":\"ProtocolFeeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"amount0\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"amount1\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"clear\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"collectProtocolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountCollected\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"donate\",\"outputs\":[{\"internalType\":\"BalanceDelta\",\"name\":\"delta\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"startSlot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"nSlots\",\"type\":\"uint256\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"slots\",\"type\":\"bytes32[]\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"slots\",\"type\":\"bytes32[]\"}],\"name\":\"exttload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"exttload\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"initialize\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isOperator\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"int256\",\"name\":\"liquidityDelta\",\"type\":\"int256\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct IPoolManager.ModifyLiquidityParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"modifyLiquidity\",\"outputs\":[{\"internalType\":\"BalanceDelta\",\"name\":\"callerDelta\",\"type\":\"int256\"},{\"internalType\":\"BalanceDelta\",\"name\":\"feesAccrued\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeController\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"protocolFeesAccrued\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint24\",\"name\":\"newProtocolFee\",\"type\":\"uint24\"}],\"name\":\"setProtocolFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"setProtocolFeeController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"settle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"settleFor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountSpecified\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct IPoolManager.SwapParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"BalanceDelta\",\"name\":\"swapDelta\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"sync\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"take\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlock\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"result\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint24\",\"name\":\"newDynamicLPFee\",\"type\":\"uint24\"}],\"name\":\"updateDynamicLPFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"Donate(bytes32,address,uint256,uint256)\":{\"params\":{\"amount0\":\"The amount donated in currency0\",\"amount1\":\"The amount donated in currency1\",\"id\":\"The abi encoded hash of the pool key struct for the pool that was donated to\",\"sender\":\"The address that initiated the donate call\"}},\"Initialize(bytes32,address,address,uint24,int24,address,uint160,int24)\":{\"params\":{\"currency0\":\"The first currency of the pool by address sort order\",\"currency1\":\"The second currency of the pool by address sort order\",\"fee\":\"The fee collected upon every swap in the pool, denominated in hundredths of a bip\",\"hooks\":\"The hooks contract address for the pool, or address(0) if none\",\"id\":\"The abi encoded hash of the pool key struct for the new pool\",\"sqrtPriceX96\":\"The price of the pool on initialization\",\"tick\":\"The initial tick of the pool corresponding to the initialized price\",\"tickSpacing\":\"The minimum number of ticks between initialized ticks\"}},\"ModifyLiquidity(bytes32,address,int24,int24,int256,bytes32)\":{\"params\":{\"id\":\"The abi encoded hash of the pool key struct for the pool that was modified\",\"liquidityDelta\":\"The amount of liquidity that was added or removed\",\"salt\":\"The extra data to make positions unique\",\"sender\":\"The address that modified the pool\",\"tickLower\":\"The lower tick of the position\",\"tickUpper\":\"The upper tick of the position\"}},\"Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)\":{\"params\":{\"amount0\":\"The delta of the currency0 balance of the pool\",\"amount1\":\"The delta of the currency1 balance of the pool\",\"fee\":\"The swap fee in hundredths of a bip\",\"id\":\"The abi encoded hash of the pool key struct for the pool that was modified\",\"liquidity\":\"The liquidity of the pool after the swap\",\"sender\":\"The address that initiated the swap call, and that received the callback\",\"sqrtPriceX96\":\"The sqrt(price) of the pool after the swap, as a Q64.96\",\"tick\":\"The log base 1.0001 of the price of the pool after the swap\"}}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"spender\":\"The address of the spender.\"},\"returns\":{\"_0\":\"bool True, always\"}},\"burn(address,uint256,uint256)\":{\"details\":\"The id is converted to a uint160 to correspond to a currency address If the upper 12 bytes are not 0, they will be 0-ed out\",\"params\":{\"amount\":\"The amount of currency to burn\",\"from\":\"The address to burn the tokens from\",\"id\":\"The currency address to burn from ERC6909s, as a uint256\"}},\"clear(address,uint256)\":{\"details\":\"This could be used to clear a balance that is considered dust. Additionally, the amount must be the exact positive balance. This is to enforce that the caller is aware of the amount being cleared.\"},\"collectProtocolFees(address,address,uint256)\":{\"details\":\"This will revert if the contract is unlocked\",\"params\":{\"amount\":\"The amount of currency to withdraw\",\"currency\":\"The currency to withdraw\",\"recipient\":\"The address to receive the protocol fees\"},\"returns\":{\"amountCollected\":\"The amount of currency successfully withdrawn\"}},\"donate((address,address,uint24,int24,address),uint256,uint256,bytes)\":{\"details\":\"Calls to donate can be frontrun adding just-in-time liquidity, with the aim of receiving a portion donated funds. Donors should keep this in mind when designing donation mechanisms.This function donates to in-range LPs at slot0.tick. In certain edge-cases of the swap algorithm, the `sqrtPrice` of a pool can be at the lower boundary of tick `n`, but the `slot0.tick` of the pool is already `n - 1`. In this case a call to `donate` would donate to tick `n - 1` (slot0.tick) not tick `n` (getTickAtSqrtPrice(slot0.sqrtPriceX96)). Read the comments in `Pool.swap()` for more information about this.\",\"params\":{\"amount0\":\"The amount of currency0 to donate\",\"amount1\":\"The amount of currency1 to donate\",\"hookData\":\"The data to pass through to the donate hooks\",\"key\":\"The key of the pool to donate to\"},\"returns\":{\"delta\":\"BalanceDelta The delta of the caller after the donate\"}},\"extsload(bytes32)\":{\"params\":{\"slot\":\"Key of slot to sload\"},\"returns\":{\"_0\":\"The value of the slot as bytes32\"}},\"extsload(bytes32,uint256)\":{\"params\":{\"nSlots\":\"Number of slots to load into return value\",\"startSlot\":\"Key of slot to start sloading from\"},\"returns\":{\"_0\":\"List of loaded values.\"}},\"extsload(bytes32[])\":{\"params\":{\"slots\":\"List of slots to SLOAD from.\"},\"returns\":{\"_0\":\"List of loaded values.\"}},\"exttload(bytes32)\":{\"params\":{\"slot\":\"Key of slot to tload\"},\"returns\":{\"_0\":\"The value of the slot as bytes32\"}},\"exttload(bytes32[])\":{\"params\":{\"slots\":\"List of slots to tload\"},\"returns\":{\"_0\":\"List of loaded values\"}},\"initialize((address,address,uint24,int24,address),uint160)\":{\"details\":\"A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\",\"params\":{\"key\":\"The pool key for the pool to initialize\",\"sqrtPriceX96\":\"The initial square root price\"},\"returns\":{\"tick\":\"The initial tick of the pool\"}},\"mint(address,uint256,uint256)\":{\"details\":\"The id is converted to a uint160 to correspond to a currency address If the upper 12 bytes are not 0, they will be 0-ed out\",\"params\":{\"amount\":\"The amount of currency to mint\",\"id\":\"The currency address to mint to ERC6909s, as a uint256\",\"to\":\"The address to mint the tokens to\"}},\"modifyLiquidity((address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)\":{\"details\":\"Poke by calling with a zero liquidityDelta\",\"params\":{\"hookData\":\"The data to pass through to the add/removeLiquidity hooks\",\"key\":\"The pool to modify liquidity in\",\"params\":\"The parameters for modifying the liquidity\"},\"returns\":{\"callerDelta\":\"The balance delta of the caller of modifyLiquidity. This is the total of both principal, fee deltas, and hook deltas if applicable\",\"feesAccrued\":\"The balance delta of the fees generated in the liquidity range. Returned for informational purposes\"}},\"setOperator(address,bool)\":{\"params\":{\"approved\":\"The approval status.\",\"operator\":\"The address of the operator.\"},\"returns\":{\"_0\":\"bool True, always\"}},\"setProtocolFee((address,address,uint24,int24,address),uint24)\":{\"params\":{\"key\":\"The key of the pool to set a protocol fee for\",\"newProtocolFee\":\"The fee to set\"}},\"setProtocolFeeController(address)\":{\"params\":{\"controller\":\"The new protocol fee controller\"}},\"settle()\":{\"returns\":{\"_0\":\"The amount of currency settled\"}},\"settleFor(address)\":{\"params\":{\"recipient\":\"The address to credit for the payment\"},\"returns\":{\"_0\":\"The amount of currency settled\"}},\"swap((address,address,uint24,int24,address),(bool,int256,uint160),bytes)\":{\"details\":\"Swapping on low liquidity pools may cause unexpected swap amounts when liquidity available is less than amountSpecified. Additionally note that if interacting with hooks that have the BEFORE_SWAP_RETURNS_DELTA_FLAG or AFTER_SWAP_RETURNS_DELTA_FLAG the hook may alter the swap input/output. Integrators should perform checks on the returned swapDelta.\",\"params\":{\"hookData\":\"The data to pass through to the swap hooks\",\"key\":\"The pool to swap in\",\"params\":\"The parameters for swapping\"},\"returns\":{\"swapDelta\":\"The balance delta of the address swapping\"}},\"sync(address)\":{\"details\":\"This MUST be called before any ERC20 tokens are sent into the contract, but can be skipped for native tokens because the amount to settle is determined by the sent value. However, if an ERC20 token has been synced and not settled, and the caller instead wants to settle native funds, this function can be called with the native currency to then be able to settle the native currency\"},\"take(address,address,uint256)\":{\"details\":\"Will revert if the requested amount is not available, consider using `mint` insteadCan also be used as a mechanism for free flash loans\",\"params\":{\"amount\":\"The amount of currency to withdraw\",\"currency\":\"The currency to withdraw from the pool manager\",\"to\":\"The address to withdraw to\"}},\"transfer(address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"receiver\":\"The address of the receiver.\"},\"returns\":{\"_0\":\"bool True, always, unless the function reverts\"}},\"transferFrom(address,address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"receiver\":\"The address of the receiver.\",\"sender\":\"The address of the sender.\"},\"returns\":{\"_0\":\"bool True, always, unless the function reverts\"}},\"unlock(bytes)\":{\"details\":\"The only functions callable without an unlocking are `initialize` and `updateDynamicLPFee`\",\"params\":{\"data\":\"Any data to pass to the callback, via `IUnlockCallback(msg.sender).unlockCallback(data)`\"},\"returns\":{\"result\":\"The data returned by the call to `IUnlockCallback(msg.sender).unlockCallback(data)`\"}},\"updateDynamicLPFee((address,address,uint24,int24,address),uint24)\":{\"details\":\"A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\",\"params\":{\"key\":\"The key of the pool to update dynamic LP fees for\",\"newDynamicLPFee\":\"The new dynamic pool LP fee\"}}},\"title\":\"PoolManager\",\"version\":1},\"userdoc\":{\"errors\":{\"AlreadyUnlocked()\":[{\"notice\":\"Thrown when unlock is called, but the contract is already unlocked\"}],\"CurrenciesOutOfOrderOrEqual(address,address)\":[{\"notice\":\"PoolKey must have currencies where address(currency0) < address(currency1)\"}],\"CurrencyNotSettled()\":[{\"notice\":\"Thrown when a currency is not netted out after the contract is unlocked\"}],\"InvalidCaller()\":[{\"notice\":\"Thrown when collectProtocolFees or setProtocolFee is not called by the controller.\"}],\"ManagerLocked()\":[{\"notice\":\"Thrown when a function is called that requires the contract to be unlocked, but it is not\"}],\"MustClearExactPositiveDelta()\":[{\"notice\":\"Thrown when `clear` is called with an amount that is not exactly equal to the open currency delta.\"}],\"NonzeroNativeValue()\":[{\"notice\":\"Thrown when native currency is passed to a non native settlement\"}],\"PoolNotInitialized()\":[{\"notice\":\"Thrown when trying to interact with a non-initialized pool\"}],\"ProtocolFeeCurrencySynced()\":[{\"notice\":\"Thrown when collectProtocolFees is attempted on a token that is synced.\"}],\"ProtocolFeeTooLarge(uint24)\":[{\"notice\":\"Thrown when protocol fee is set too high\"}],\"SwapAmountCannotBeZero()\":[{\"notice\":\"Thrown when trying to swap amount of 0\"}],\"TickSpacingTooLarge(int24)\":[{\"notice\":\"Pools are limited to type(int16).max tickSpacing in #initialize, to prevent overflow\"}],\"TickSpacingTooSmall(int24)\":[{\"notice\":\"Pools must have a positive non-zero tickSpacing passed to #initialize\"}],\"UnauthorizedDynamicLPFeeUpdate()\":[{\"notice\":\"Thrown when a call to updateDynamicLPFee is made by an address that is not the hook, or on a pool that does not have a dynamic swap fee.\"}]},\"events\":{\"Donate(bytes32,address,uint256,uint256)\":{\"notice\":\"Emitted for donations\"},\"Initialize(bytes32,address,address,uint24,int24,address,uint160,int24)\":{\"notice\":\"Emitted when a new pool is initialized\"},\"ModifyLiquidity(bytes32,address,int24,int24,int256,bytes32)\":{\"notice\":\"Emitted when a liquidity position is modified\"},\"ProtocolFeeControllerUpdated(address)\":{\"notice\":\"Emitted when the protocol fee controller address is updated in setProtocolFeeController.\"},\"ProtocolFeeUpdated(bytes32,uint24)\":{\"notice\":\"Emitted when the protocol fee is updated for a pool.\"},\"Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)\":{\"notice\":\"Emitted for swaps between currency0 and currency1\"}},\"kind\":\"user\",\"methods\":{\"allowance(address,address,uint256)\":{\"notice\":\"Spender allowance of an id.\"},\"approve(address,uint256,uint256)\":{\"notice\":\"Approves an amount of an id to a spender.\"},\"balanceOf(address,uint256)\":{\"notice\":\"Owner balance of an id.\"},\"burn(address,uint256,uint256)\":{\"notice\":\"Called by the user to move value from ERC6909 balance\"},\"clear(address,uint256)\":{\"notice\":\"WARNING - Any currency that is cleared, will be non-retrievable, and locked in the contract permanently. A call to clear will zero out a positive balance WITHOUT a corresponding transfer.\"},\"collectProtocolFees(address,address,uint256)\":{\"notice\":\"Collects the protocol fees for a given recipient and currency, returning the amount collected\"},\"donate((address,address,uint24,int24,address),uint256,uint256,bytes)\":{\"notice\":\"Donate the given currency amounts to the in-range liquidity providers of a pool\"},\"extsload(bytes32)\":{\"notice\":\"Called by external contracts to access granular pool state\"},\"extsload(bytes32,uint256)\":{\"notice\":\"Called by external contracts to access granular pool state\"},\"extsload(bytes32[])\":{\"notice\":\"Called by external contracts to access sparse pool state\"},\"exttload(bytes32)\":{\"notice\":\"Called by external contracts to access transient storage of the contract\"},\"exttload(bytes32[])\":{\"notice\":\"Called by external contracts to access sparse transient pool state\"},\"initialize((address,address,uint24,int24,address),uint160)\":{\"notice\":\"Initialize the state for a given pool ID\"},\"isOperator(address,address)\":{\"notice\":\"Checks if a spender is approved by an owner as an operator\"},\"mint(address,uint256,uint256)\":{\"notice\":\"Called by the user to move value into ERC6909 balance\"},\"modifyLiquidity((address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)\":{\"notice\":\"Modify the liquidity for the given pool\"},\"protocolFeeController()\":{\"notice\":\"Returns the current protocol fee controller address\"},\"protocolFeesAccrued(address)\":{\"notice\":\"Given a currency address, returns the protocol fees accrued in that currency\"},\"setOperator(address,bool)\":{\"notice\":\"Sets or removes an operator for the caller.\"},\"setProtocolFee((address,address,uint24,int24,address),uint24)\":{\"notice\":\"Sets the protocol fee for the given pool\"},\"setProtocolFeeController(address)\":{\"notice\":\"Sets the protocol fee controller\"},\"settle()\":{\"notice\":\"Called by the user to pay what is owed\"},\"settleFor(address)\":{\"notice\":\"Called by the user to pay on behalf of another address\"},\"swap((address,address,uint24,int24,address),(bool,int256,uint160),bytes)\":{\"notice\":\"Swap against the given pool\"},\"sync(address)\":{\"notice\":\"Writes the current ERC20 balance of the specified currency to transient storage This is used to checkpoint balances for the manager and derive deltas for the caller.\"},\"take(address,address,uint256)\":{\"notice\":\"Called by the user to net out some value owed to the user\"},\"transfer(address,uint256,uint256)\":{\"notice\":\"Transfers an amount of an id from the caller to a receiver.\"},\"transferFrom(address,address,uint256,uint256)\":{\"notice\":\"Transfers an amount of an id from a sender to a receiver.\"},\"unlock(bytes)\":{\"notice\":\"All interactions on the contract that account deltas require unlocking. A caller that calls `unlock` must implement `IUnlockCallback(msg.sender).unlockCallback(data)`, where they interact with the remaining functions on this contract.\"},\"updateDynamicLPFee((address,address,uint24,int24,address),uint24)\":{\"notice\":\"Updates the pools lp fees for the a pool that has enabled dynamic lp fees.\"}},\"notice\":\"Holds the state for all pools\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/PoolManager.sol\":\"PoolManager\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/ERC6909.sol\":{\"keccak256\":\"0x22476a1c183be1b547a509b3e6906abaccb6408375f798fce805ff7877aca09f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e85580e1563ea0556705132fb6bd038ca4aa355749039923853ebcb76b7c84e6\",\"dweb:/ipfs/QmVoxPrbagRKpFdRWoaCSKmStYLZrhNFuedcuyGycSGR7q\"]},\"@uniswap/v4-core/src/ERC6909Claims.sol\":{\"keccak256\":\"0xf496ef3a5a9bf4f4aa2eec951dbeff09a01ef058bb9f64b1664cf46c9e85cd49\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2a0a97c359a7a4c526ba9fc4ceb20af8050f9cf7886ea7e1f38c9c10b4a3750c\",\"dweb:/ipfs/QmPy6pCQbvzCdJRqG1thHRSwEZoLBAaLo3KQnueL3wxb8i\"]},\"@uniswap/v4-core/src/Extsload.sol\":{\"keccak256\":\"0x784074bd04a1541c7c6ace074e30245746133fd37c3ba16b025dce394db986ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://35f1f4fb306bf01e98b7eca012b85f3ab978b39fa5136193363e2519c4435e51\",\"dweb:/ipfs/QmeGrjGMt71dJymVhkEadh5CuCW5GxRqNEZLi5AJxvC5tU\"]},\"@uniswap/v4-core/src/Exttload.sol\":{\"keccak256\":\"0x769ee2733a08112c652274f4b972c45fb56cc46109f233b9a30f81561b15dd54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dd19e88d50ae77c1ed5581baca1c75b3fb828d0b58cded90188d55c4e336266c\",\"dweb:/ipfs/Qmc8YM6Tfpwwa4qivHHzRxNdhZzdzGiD7VexWsDvkaQTxG\"]},\"@uniswap/v4-core/src/NoDelegateCall.sol\":{\"keccak256\":\"0xacb81aecb7c74c86650a035462dae38c313b4b7b5842e14b645f864f61da2b51\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://363a0e15fc30ea68a5d52a78772facecde6433ea156e3ec2ce25068c97cd5ad6\",\"dweb:/ipfs/QmYhWaF3wH71SDx5TZr9qEXXQf5FYQvdjoo3B2qWiAbm18\"]},\"@uniswap/v4-core/src/PoolManager.sol\":{\"keccak256\":\"0xaa234912d8bc3a54c80f3973b34823cfac88d01fe9481765b7a5925dccbc9b79\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://6faf4019cd6cfcaa434631e2f9709389abd8ab339d51096f404f260cc255b5e1\",\"dweb:/ipfs/QmZ8aLGm3b2L4UuzrerGmpyB2f32cUcNUL6qvzNBqop45k\"]},\"@uniswap/v4-core/src/ProtocolFees.sol\":{\"keccak256\":\"0x81362ef1d19670b41cefc2b6f2dc0333b6743fe39a1929edd36bd9b6a1111755\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de483bbd8bf9a53b9644d7f9a6a6fe77ae527b755cf29e1db8725de89e70c7aa\",\"dweb:/ipfs/Qmex3PcgJGbYsuDNaMXc8mg5fW1DNaPGiNToPpAAzz6GEq\"]},\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol\":{\"keccak256\":\"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b\",\"dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/BitMath.sol\":{\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e\",\"dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi\"]},\"@uniswap/v4-core/src/libraries/CurrencyDelta.sol\":{\"keccak256\":\"0x80dbd898cf0f90c5c27192689b16c34edc765d6ab21b8358e3bb792c7fef238c\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://107698da024313f132d9fe28deb920b5c03d14624889c3ce5720e588f03635bb\",\"dweb:/ipfs/QmQteUbhj5SsWbvSF6U8niBUSrETqVbEwULc8E7vS4Kbnn\"]},\"@uniswap/v4-core/src/libraries/CurrencyReserves.sol\":{\"keccak256\":\"0x1576616129933fcdf3b684cea33cffd9c95e18fafbd2832a8c48ac3d8526d4c3\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://33b050efb9b81803b18f562271e7cca2ec5362c4d505860d6419b4a345636725\",\"dweb:/ipfs/QmQtFtTwKZ5pFVGD2ENDUXvp7ECFvzqeCuJ1miJcUHdmiX\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/FixedPoint128.sol\":{\"keccak256\":\"0xad236e10853f4b4b20a35a9bb52b857c4fc79874846b7e444e06ead7f2630542\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0de1f9a06520b1a689660943faa14fc0b8344ab41fab9e6012ea34bff4b9b3eb\",\"dweb:/ipfs/QmRNMPTyko7W6d6KxuTsnDBa9oZgDK4xiwRRq3H9ASTbwy\"]},\"@uniswap/v4-core/src/libraries/FixedPoint96.sol\":{\"keccak256\":\"0xef5c3fd41aee26bb12aa1c32873cfee88e67eddfe7c2b32283786265ac669741\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4de298d02f662a1c36c7be0a150f18c2a161408a5d3e48432e707efd01fac9a4\",\"dweb:/ipfs/QmSiM4oeMmLVKmAtJXz2feYkv4R9ZcyBpkTRW5Nhw5KDyJ\"]},\"@uniswap/v4-core/src/libraries/FullMath.sol\":{\"keccak256\":\"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3b2d66d36b1ad56b1ab6e2eb8a816740877b40b461c93f125e88621c8378e52\",\"dweb:/ipfs/QmPGvMZzKQvNiWKd8aRzzdW7oAizwrMgcMtnaworDkVHFC\"]},\"@uniswap/v4-core/src/libraries/Hooks.sol\":{\"keccak256\":\"0x27b1c3b8aa3d07d8e3123970695745929315685a5ffaa7342c3ba3582f37fecb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fa3bb092dc205eaa1b9defc93e9bbad5f4c5c44e1c4aa531dfca2574c2aba9ba\",\"dweb:/ipfs/QmR1soxkepHNkbGxAMaK4XqhQ4VxWn69dewzGkQJNx5byM\"]},\"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol\":{\"keccak256\":\"0xbf6914e01014e7c1044111feb7df7a3d96bb503b3da827ad8464b1955580d13b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33823c20a91882c9aacdcbb02f0558c05209f4d5954aa6dd4fa17c95664db475\",\"dweb:/ipfs/QmR7owkFgpfztpp1QUg3ut3nw9iPVQqLGP4hzgmZtRUQ2J\"]},\"@uniswap/v4-core/src/libraries/LiquidityMath.sol\":{\"keccak256\":\"0x000ef2eadcc1eb7b2c18a77655f94e76e0e860f605783484657ef65fd6eda353\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a766b620a7a22798b43c6c1f23b5c6cff0ebf588deb89842bad05208d448cd99\",\"dweb:/ipfs/QmVKjaFJdzkqA3ey2Byum8iTCMssWVD8MmVC8rw62Tj5WD\"]},\"@uniswap/v4-core/src/libraries/Lock.sol\":{\"keccak256\":\"0x9338be4b5695f1da5f3d3f7a3eeaf7a356c1045458289586ac0cbe9cef77c6d5\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://485ec42ed6155469d612a9a0c18068ebfbad74448792a338a435503de3ef1b2c\",\"dweb:/ipfs/QmVnnv5u74MYatfRmBgrcfFYQcsMAJMG9jQ6ju8UiydKNF\"]},\"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol\":{\"keccak256\":\"0x0666ebd5d3528d7d52c48538296367a4cff97a578cf13365c51983fae3219b87\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d27f1be3bd09d85c53d3e6a539dd6529ddd8b2b764ccb47fd7765fc81f9add59\",\"dweb:/ipfs/QmQdZujNXhKEXQBkKtF5jbdvo1yXMqPDUoBBaF9S5u3Kpm\"]},\"@uniswap/v4-core/src/libraries/ParseBytes.sol\":{\"keccak256\":\"0x7533b13f53ee2c2c55500100b22ffd6e37e7523c27874edc98663d53a8672b15\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://82449058634fde28a085f3c59a6a5f412550c02181590593fd84c3e8b329aa17\",\"dweb:/ipfs/Qmev4E9Au6SsE4wsArChCwfg94KhHc5gYsEsZUnjF5sRLa\"]},\"@uniswap/v4-core/src/libraries/Pool.sol\":{\"keccak256\":\"0x53cd1b8791274c3599ed62fb8d2eb428bfad6cefa2002b5e684250b89e681371\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://469124e41971bbd78107099961aaef5c6cb8035d236647f9e6ce2b0d9e1318cf\",\"dweb:/ipfs/QmWjfugsTJa8jB15dm6acpixXLgDoEMa1me9tMeEXxsazU\"]},\"@uniswap/v4-core/src/libraries/Position.sol\":{\"keccak256\":\"0xddab2a831f1befb6abf5567e77c4582169ca8156cf69eb4f22d8e87f7226a3f9\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c79fe61b50f3b70cff503abfa6f5643fcbefb9b794855bee1019b1e6d9c083b2\",\"dweb:/ipfs/QmbKmYNQesaMz8bo1b7TMHQcAwaDd3eDPrE5pAdPPZTtk5\"]},\"@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol\":{\"keccak256\":\"0xf483001899229ab10f5a626fe1c5866134d9e965b48ce6cf55ce0d7f74f7d8ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6ba9211a7f69bbb44649c35211eb29d193c09032ec600064ef9d04b4625dd8ba\",\"dweb:/ipfs/QmQSjQvtguYgMJSkkKRhHjxasfX9xfTbrbcZ1QmjUVb787\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol\":{\"keccak256\":\"0xf8079fe6e3460db495451d06b1705e18f1c4075c1af96a31ad313545f7082982\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://582fc51546723a0a8acccf782f69b530bacf9b3ef929458e82569b7121f0b138\",\"dweb:/ipfs/QmSBXcmqZdFsM7M4sRaiyQAxykCeMNFKyKgBcwSMTw1bcF\"]},\"@uniswap/v4-core/src/libraries/SwapMath.sol\":{\"keccak256\":\"0x6baa782ae523269c079cc763639a9b91a25fcfa1743c049c76e43741ef494bd9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://035c337e62e05262a5bd5d3bc85bc9a383c1013001216b429f49cf1e129a0812\",\"dweb:/ipfs/QmU7s4h58Fh2A6mM8yeorZ2ygwEJMQw8zdZLLkHeDoSWxD\"]},\"@uniswap/v4-core/src/libraries/TickBitmap.sol\":{\"keccak256\":\"0x6779f89e28a0b4af6e09d518caf014b7e8fc627400f5561f86fed11635b1458a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a64dee983106de3be3f968be94368c1e37592f5418aa2a39e8dd358d5a962b0d\",\"dweb:/ipfs/QmYuECZTiEeQVxDLYx6pBSSnVrg56Apw75bugQiM3FmGwy\"]},\"@uniswap/v4-core/src/libraries/TickMath.sol\":{\"keccak256\":\"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a79a57f7b240783b045168d1c4f774ac1812caf8f9a83cb6959a86b0b07b6c70\",\"dweb:/ipfs/QmTb5kvxwDNW8jDuQaqdJ445cCFejNkUqEB17Bjo8UBiva\"]},\"@uniswap/v4-core/src/libraries/UnsafeMath.sol\":{\"keccak256\":\"0xa6e55e0a43a15df2df471d9972cd48f613d07c663ecb8bbeaf7623f6f99bcce4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://02ea6e13879fc5a5f35149a2f1cd8af3a1f0877ff69101dad53841d16f515572\",\"dweb:/ipfs/QmcpL4gdG6hL2w1wqs2Vw4J1EFCwBs9T1Qd4p16CtECQkn\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-core/src/types/Slot0.sol\":{\"keccak256\":\"0x8b4912fac7e25ea680056748121113f902d56f8b2640f421d5c38d438db11c1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c19b1ff5b951fb54129268d2be37d82c8bb3ea6e29ac9bc78a8a37794fc082b8\",\"dweb:/ipfs/QmTAQ2mUoiT77hoWJAfn9pyoGy47qaevn45QHrbyovGt2C\"]},\"solmate/src/auth/Owned.sol\":{\"keccak256\":\"0xfedb27d14c508342c33eb067c9a02eabcdb0f9dcf93b04ded1001f580d12d0ea\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://1ff52bbee698b9cf9e4574615e6550be0887ccf355f6571e23d6f25b332e79b4\",\"dweb:/ipfs/QmVorA2apojVRStzS7h8aFccR3Uv32G6HVtBtFHZrE7YXx\"]}},\"version\":1}"}},"@uniswap/v4-core/src/ProtocolFees.sol":{"ProtocolFees":{"abi":[{"inputs":[],"name":"InvalidCaller","type":"error"},{"inputs":[],"name":"ProtocolFeeCurrencySynced","type":"error"},{"inputs":[{"internalType":"uint24","name":"fee","type":"uint24"}],"name":"ProtocolFeeTooLarge","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"protocolFeeController","type":"address"}],"name":"ProtocolFeeControllerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":false,"internalType":"uint24","name":"protocolFee","type":"uint24"}],"name":"ProtocolFeeUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"Currency","name":"currency","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"collectProtocolFees","outputs":[{"internalType":"uint256","name":"amountCollected","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolFeeController","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"protocolFeesAccrued","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint24","name":"newProtocolFee","type":"uint24"}],"name":"setProtocolFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"setProtocolFeeController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"collectProtocolFees(address,address,uint256)":"8161b874","owner()":"8da5cb5b","protocolFeeController()":"f02de3b2","protocolFeesAccrued(address)":"97e8cd4e","setProtocolFee((address,address,uint24,int24,address),uint24)":"7e87ce7d","setProtocolFeeController(address)":"2d771389","transferOwnership(address)":"f2fde38b"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidCaller\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProtocolFeeCurrencySynced\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"ProtocolFeeTooLarge\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"protocolFeeController\",\"type\":\"address\"}],\"name\":\"ProtocolFeeControllerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"protocolFee\",\"type\":\"uint24\"}],\"name\":\"ProtocolFeeUpdated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"collectProtocolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountCollected\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeController\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"protocolFeesAccrued\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint24\",\"name\":\"newProtocolFee\",\"type\":\"uint24\"}],\"name\":\"setProtocolFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"setProtocolFeeController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"collectProtocolFees(address,address,uint256)\":{\"details\":\"This will revert if the contract is unlocked\",\"params\":{\"amount\":\"The amount of currency to withdraw\",\"currency\":\"The currency to withdraw\",\"recipient\":\"The address to receive the protocol fees\"},\"returns\":{\"amountCollected\":\"The amount of currency successfully withdrawn\"}},\"setProtocolFee((address,address,uint24,int24,address),uint24)\":{\"params\":{\"key\":\"The key of the pool to set a protocol fee for\",\"newProtocolFee\":\"The fee to set\"}},\"setProtocolFeeController(address)\":{\"params\":{\"controller\":\"The new protocol fee controller\"}}},\"stateVariables\":{\"protocolFeeController\":{\"return\":\"address The current protocol fee controller address\",\"returns\":{\"_0\":\"address The current protocol fee controller address\"}},\"protocolFeesAccrued\":{\"params\":{\"currency\":\"The currency to check\"},\"return\":\"amount The amount of protocol fees accrued in the currency\",\"returns\":{\"amount\":\"The amount of protocol fees accrued in the currency\"}}},\"version\":1},\"userdoc\":{\"errors\":{\"InvalidCaller()\":[{\"notice\":\"Thrown when collectProtocolFees or setProtocolFee is not called by the controller.\"}],\"ProtocolFeeCurrencySynced()\":[{\"notice\":\"Thrown when collectProtocolFees is attempted on a token that is synced.\"}],\"ProtocolFeeTooLarge(uint24)\":[{\"notice\":\"Thrown when protocol fee is set too high\"}]},\"events\":{\"ProtocolFeeControllerUpdated(address)\":{\"notice\":\"Emitted when the protocol fee controller address is updated in setProtocolFeeController.\"},\"ProtocolFeeUpdated(bytes32,uint24)\":{\"notice\":\"Emitted when the protocol fee is updated for a pool.\"}},\"kind\":\"user\",\"methods\":{\"collectProtocolFees(address,address,uint256)\":{\"notice\":\"Collects the protocol fees for a given recipient and currency, returning the amount collected\"},\"protocolFeeController()\":{\"notice\":\"Returns the current protocol fee controller address\"},\"protocolFeesAccrued(address)\":{\"notice\":\"Given a currency address, returns the protocol fees accrued in that currency\"},\"setProtocolFee((address,address,uint24,int24,address),uint24)\":{\"notice\":\"Sets the protocol fee for the given pool\"},\"setProtocolFeeController(address)\":{\"notice\":\"Sets the protocol fee controller\"}},\"notice\":\"Contract handling the setting and accrual of protocol fees\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/ProtocolFees.sol\":\"ProtocolFees\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/ProtocolFees.sol\":{\"keccak256\":\"0x81362ef1d19670b41cefc2b6f2dc0333b6743fe39a1929edd36bd9b6a1111755\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de483bbd8bf9a53b9644d7f9a6a6fe77ae527b755cf29e1db8725de89e70c7aa\",\"dweb:/ipfs/Qmex3PcgJGbYsuDNaMXc8mg5fW1DNaPGiNToPpAAzz6GEq\"]},\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/BitMath.sol\":{\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e\",\"dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi\"]},\"@uniswap/v4-core/src/libraries/CurrencyReserves.sol\":{\"keccak256\":\"0x1576616129933fcdf3b684cea33cffd9c95e18fafbd2832a8c48ac3d8526d4c3\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://33b050efb9b81803b18f562271e7cca2ec5362c4d505860d6419b4a345636725\",\"dweb:/ipfs/QmQtFtTwKZ5pFVGD2ENDUXvp7ECFvzqeCuJ1miJcUHdmiX\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/FixedPoint128.sol\":{\"keccak256\":\"0xad236e10853f4b4b20a35a9bb52b857c4fc79874846b7e444e06ead7f2630542\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0de1f9a06520b1a689660943faa14fc0b8344ab41fab9e6012ea34bff4b9b3eb\",\"dweb:/ipfs/QmRNMPTyko7W6d6KxuTsnDBa9oZgDK4xiwRRq3H9ASTbwy\"]},\"@uniswap/v4-core/src/libraries/FixedPoint96.sol\":{\"keccak256\":\"0xef5c3fd41aee26bb12aa1c32873cfee88e67eddfe7c2b32283786265ac669741\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4de298d02f662a1c36c7be0a150f18c2a161408a5d3e48432e707efd01fac9a4\",\"dweb:/ipfs/QmSiM4oeMmLVKmAtJXz2feYkv4R9ZcyBpkTRW5Nhw5KDyJ\"]},\"@uniswap/v4-core/src/libraries/FullMath.sol\":{\"keccak256\":\"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3b2d66d36b1ad56b1ab6e2eb8a816740877b40b461c93f125e88621c8378e52\",\"dweb:/ipfs/QmPGvMZzKQvNiWKd8aRzzdW7oAizwrMgcMtnaworDkVHFC\"]},\"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol\":{\"keccak256\":\"0xbf6914e01014e7c1044111feb7df7a3d96bb503b3da827ad8464b1955580d13b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33823c20a91882c9aacdcbb02f0558c05209f4d5954aa6dd4fa17c95664db475\",\"dweb:/ipfs/QmR7owkFgpfztpp1QUg3ut3nw9iPVQqLGP4hzgmZtRUQ2J\"]},\"@uniswap/v4-core/src/libraries/LiquidityMath.sol\":{\"keccak256\":\"0x000ef2eadcc1eb7b2c18a77655f94e76e0e860f605783484657ef65fd6eda353\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a766b620a7a22798b43c6c1f23b5c6cff0ebf588deb89842bad05208d448cd99\",\"dweb:/ipfs/QmVKjaFJdzkqA3ey2Byum8iTCMssWVD8MmVC8rw62Tj5WD\"]},\"@uniswap/v4-core/src/libraries/Pool.sol\":{\"keccak256\":\"0x53cd1b8791274c3599ed62fb8d2eb428bfad6cefa2002b5e684250b89e681371\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://469124e41971bbd78107099961aaef5c6cb8035d236647f9e6ce2b0d9e1318cf\",\"dweb:/ipfs/QmWjfugsTJa8jB15dm6acpixXLgDoEMa1me9tMeEXxsazU\"]},\"@uniswap/v4-core/src/libraries/Position.sol\":{\"keccak256\":\"0xddab2a831f1befb6abf5567e77c4582169ca8156cf69eb4f22d8e87f7226a3f9\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c79fe61b50f3b70cff503abfa6f5643fcbefb9b794855bee1019b1e6d9c083b2\",\"dweb:/ipfs/QmbKmYNQesaMz8bo1b7TMHQcAwaDd3eDPrE5pAdPPZTtk5\"]},\"@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol\":{\"keccak256\":\"0xf483001899229ab10f5a626fe1c5866134d9e965b48ce6cf55ce0d7f74f7d8ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6ba9211a7f69bbb44649c35211eb29d193c09032ec600064ef9d04b4625dd8ba\",\"dweb:/ipfs/QmQSjQvtguYgMJSkkKRhHjxasfX9xfTbrbcZ1QmjUVb787\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol\":{\"keccak256\":\"0xf8079fe6e3460db495451d06b1705e18f1c4075c1af96a31ad313545f7082982\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://582fc51546723a0a8acccf782f69b530bacf9b3ef929458e82569b7121f0b138\",\"dweb:/ipfs/QmSBXcmqZdFsM7M4sRaiyQAxykCeMNFKyKgBcwSMTw1bcF\"]},\"@uniswap/v4-core/src/libraries/SwapMath.sol\":{\"keccak256\":\"0x6baa782ae523269c079cc763639a9b91a25fcfa1743c049c76e43741ef494bd9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://035c337e62e05262a5bd5d3bc85bc9a383c1013001216b429f49cf1e129a0812\",\"dweb:/ipfs/QmU7s4h58Fh2A6mM8yeorZ2ygwEJMQw8zdZLLkHeDoSWxD\"]},\"@uniswap/v4-core/src/libraries/TickBitmap.sol\":{\"keccak256\":\"0x6779f89e28a0b4af6e09d518caf014b7e8fc627400f5561f86fed11635b1458a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a64dee983106de3be3f968be94368c1e37592f5418aa2a39e8dd358d5a962b0d\",\"dweb:/ipfs/QmYuECZTiEeQVxDLYx6pBSSnVrg56Apw75bugQiM3FmGwy\"]},\"@uniswap/v4-core/src/libraries/TickMath.sol\":{\"keccak256\":\"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a79a57f7b240783b045168d1c4f774ac1812caf8f9a83cb6959a86b0b07b6c70\",\"dweb:/ipfs/QmTb5kvxwDNW8jDuQaqdJ445cCFejNkUqEB17Bjo8UBiva\"]},\"@uniswap/v4-core/src/libraries/UnsafeMath.sol\":{\"keccak256\":\"0xa6e55e0a43a15df2df471d9972cd48f613d07c663ecb8bbeaf7623f6f99bcce4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://02ea6e13879fc5a5f35149a2f1cd8af3a1f0877ff69101dad53841d16f515572\",\"dweb:/ipfs/QmcpL4gdG6hL2w1wqs2Vw4J1EFCwBs9T1Qd4p16CtECQkn\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-core/src/types/Slot0.sol\":{\"keccak256\":\"0x8b4912fac7e25ea680056748121113f902d56f8b2640f421d5c38d438db11c1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c19b1ff5b951fb54129268d2be37d82c8bb3ea6e29ac9bc78a8a37794fc082b8\",\"dweb:/ipfs/QmTAQ2mUoiT77hoWJAfn9pyoGy47qaevn45QHrbyovGt2C\"]},\"solmate/src/auth/Owned.sol\":{\"keccak256\":\"0xfedb27d14c508342c33eb067c9a02eabcdb0f9dcf93b04ded1001f580d12d0ea\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://1ff52bbee698b9cf9e4574615e6550be0887ccf355f6571e23d6f25b332e79b4\",\"dweb:/ipfs/QmVorA2apojVRStzS7h8aFccR3Uv32G6HVtBtFHZrE7YXx\"]}},\"version\":1}"}},"@uniswap/v4-core/src/interfaces/IExtsload.sol":{"IExtsload":{"abi":[{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"extsload","outputs":[{"internalType":"bytes32","name":"value","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"startSlot","type":"bytes32"},{"internalType":"uint256","name":"nSlots","type":"uint256"}],"name":"extsload","outputs":[{"internalType":"bytes32[]","name":"values","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"slots","type":"bytes32[]"}],"name":"extsload","outputs":[{"internalType":"bytes32[]","name":"values","type":"bytes32[]"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"extsload(bytes32)":"1e2eaeaf","extsload(bytes32,uint256)":"35fd631a","extsload(bytes32[])":"dbd035ff"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"startSlot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"nSlots\",\"type\":\"uint256\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"values\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"slots\",\"type\":\"bytes32[]\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"values\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"extsload(bytes32)\":{\"params\":{\"slot\":\"Key of slot to sload\"},\"returns\":{\"value\":\"The value of the slot as bytes32\"}},\"extsload(bytes32,uint256)\":{\"params\":{\"nSlots\":\"Number of slots to load into return value\",\"startSlot\":\"Key of slot to start sloading from\"},\"returns\":{\"values\":\"List of loaded values.\"}},\"extsload(bytes32[])\":{\"params\":{\"slots\":\"List of slots to SLOAD from.\"},\"returns\":{\"values\":\"List of loaded values.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"extsload(bytes32)\":{\"notice\":\"Called by external contracts to access granular pool state\"},\"extsload(bytes32,uint256)\":{\"notice\":\"Called by external contracts to access granular pool state\"},\"extsload(bytes32[])\":{\"notice\":\"Called by external contracts to access sparse pool state\"}},\"notice\":\"Interface for functions to access any storage slot in a contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":\"IExtsload\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]}},\"version\":1}"}},"@uniswap/v4-core/src/interfaces/IExttload.sol":{"IExttload":{"abi":[{"inputs":[{"internalType":"bytes32[]","name":"slots","type":"bytes32[]"}],"name":"exttload","outputs":[{"internalType":"bytes32[]","name":"values","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"exttload","outputs":[{"internalType":"bytes32","name":"value","type":"bytes32"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"exttload(bytes32)":"f135baaa","exttload(bytes32[])":"9bf6645f"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"slots\",\"type\":\"bytes32[]\"}],\"name\":\"exttload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"values\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"exttload\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"exttload(bytes32)\":{\"params\":{\"slot\":\"Key of slot to tload\"},\"returns\":{\"value\":\"The value of the slot as bytes32\"}},\"exttload(bytes32[])\":{\"params\":{\"slots\":\"List of slots to tload\"},\"returns\":{\"values\":\"List of loaded values\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"exttload(bytes32)\":{\"notice\":\"Called by external contracts to access transient storage of the contract\"},\"exttload(bytes32[])\":{\"notice\":\"Called by external contracts to access sparse transient pool state\"}},\"notice\":\"Interface for functions to access any transient storage slot in a contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/interfaces/IExttload.sol\":\"IExttload\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]}},\"version\":1}"}},"@uniswap/v4-core/src/interfaces/IHooks.sol":{"IHooks":{"abi":[{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"components":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"int256","name":"liquidityDelta","type":"int256"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"internalType":"struct IPoolManager.ModifyLiquidityParams","name":"params","type":"tuple"},{"internalType":"BalanceDelta","name":"delta","type":"int256"},{"internalType":"BalanceDelta","name":"feesAccrued","type":"int256"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"afterAddLiquidity","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"BalanceDelta","name":"","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"afterDonate","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"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"},{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"components":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"int256","name":"liquidityDelta","type":"int256"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"internalType":"struct IPoolManager.ModifyLiquidityParams","name":"params","type":"tuple"},{"internalType":"BalanceDelta","name":"delta","type":"int256"},{"internalType":"BalanceDelta","name":"feesAccrued","type":"int256"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"afterRemoveLiquidity","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"BalanceDelta","name":"","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"components":[{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct IPoolManager.SwapParams","name":"params","type":"tuple"},{"internalType":"BalanceDelta","name":"delta","type":"int256"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"afterSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"int128","name":"","type":"int128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"components":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"int256","name":"liquidityDelta","type":"int256"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"internalType":"struct IPoolManager.ModifyLiquidityParams","name":"params","type":"tuple"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"beforeAddLiquidity","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"beforeDonate","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"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"},{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"components":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"int256","name":"liquidityDelta","type":"int256"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"internalType":"struct IPoolManager.ModifyLiquidityParams","name":"params","type":"tuple"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"beforeRemoveLiquidity","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"components":[{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct IPoolManager.SwapParams","name":"params","type":"tuple"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"beforeSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"BeforeSwapDelta","name":"","type":"int256"},{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)":"9f063efc","afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)":"e1b4af69","afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)":"6fe7e6eb","afterRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)":"6c2bbe7e","afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)":"b47b2fb1","beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)":"259982e5","beforeDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)":"b6a8b0fa","beforeInitialize(address,(address,address,uint24,int24,address),uint160)":"dc98354e","beforeRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)":"21d0ee70","beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)":"575e24b4"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"int256\",\"name\":\"liquidityDelta\",\"type\":\"int256\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct IPoolManager.ModifyLiquidityParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"BalanceDelta\",\"name\":\"delta\",\"type\":\"int256\"},{\"internalType\":\"BalanceDelta\",\"name\":\"feesAccrued\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"afterAddLiquidity\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"BalanceDelta\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"afterDonate\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"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\"},{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"int256\",\"name\":\"liquidityDelta\",\"type\":\"int256\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct IPoolManager.ModifyLiquidityParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"BalanceDelta\",\"name\":\"delta\",\"type\":\"int256\"},{\"internalType\":\"BalanceDelta\",\"name\":\"feesAccrued\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"afterRemoveLiquidity\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"BalanceDelta\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountSpecified\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct IPoolManager.SwapParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"BalanceDelta\",\"name\":\"delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"afterSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"int256\",\"name\":\"liquidityDelta\",\"type\":\"int256\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct IPoolManager.ModifyLiquidityParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"beforeAddLiquidity\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"beforeDonate\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"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\"},{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"int256\",\"name\":\"liquidityDelta\",\"type\":\"int256\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct IPoolManager.ModifyLiquidityParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"beforeRemoveLiquidity\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountSpecified\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct IPoolManager.SwapParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"beforeSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"BeforeSwapDelta\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Should only be callable by the v4 PoolManager.\",\"kind\":\"dev\",\"methods\":{\"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)\":{\"params\":{\"delta\":\"The caller's balance delta after adding liquidity; the sum of principal delta, fees accrued, and hook delta\",\"feesAccrued\":\"The fees accrued since the last time fees were collected from this position\",\"hookData\":\"Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\",\"key\":\"The key for the pool\",\"params\":\"The parameters for adding liquidity\",\"sender\":\"The initial msg.sender for the add liquidity call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\",\"_1\":\"BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\"}},\"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 being donated\",\"amount1\":\"The amount of token1 being donated\",\"hookData\":\"Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\",\"key\":\"The key for the pool\",\"sender\":\"The initial msg.sender for the donate call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)\":{\"params\":{\"key\":\"The key for the pool being initialized\",\"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\"}},\"afterRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)\":{\"params\":{\"delta\":\"The caller's balance delta after removing liquidity; the sum of principal delta, fees accrued, and hook delta\",\"feesAccrued\":\"The fees accrued since the last time fees were collected from this position\",\"hookData\":\"Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\",\"key\":\"The key for the pool\",\"params\":\"The parameters for removing liquidity\",\"sender\":\"The initial msg.sender for the remove liquidity call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\",\"_1\":\"BalanceDelta The hook's delta in token0 and token1. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\"}},\"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)\":{\"params\":{\"delta\":\"The amount owed to the caller (positive) or owed to the pool (negative)\",\"hookData\":\"Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\",\"key\":\"The key for the pool\",\"params\":\"The parameters for the swap\",\"sender\":\"The initial msg.sender for the swap call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\",\"_1\":\"int128 The hook's delta in unspecified currency. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\"}},\"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)\":{\"params\":{\"hookData\":\"Arbitrary data handed into the PoolManager by the liquidity provider to be passed on to the hook\",\"key\":\"The key for the pool\",\"params\":\"The parameters for adding liquidity\",\"sender\":\"The initial msg.sender for the add liquidity call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 being donated\",\"amount1\":\"The amount of token1 being donated\",\"hookData\":\"Arbitrary data handed into the PoolManager by the donor to be be passed on to the hook\",\"key\":\"The key for the pool\",\"sender\":\"The initial msg.sender for the donate call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeInitialize(address,(address,address,uint24,int24,address),uint160)\":{\"params\":{\"key\":\"The key for the pool being initialized\",\"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\"}},\"beforeRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)\":{\"params\":{\"hookData\":\"Arbitrary data handed into the PoolManager by the liquidity provider to be be passed on to the hook\",\"key\":\"The key for the pool\",\"params\":\"The parameters for removing liquidity\",\"sender\":\"The initial msg.sender for the remove liquidity call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)\":{\"params\":{\"hookData\":\"Arbitrary data handed into the PoolManager by the swapper to be be passed on to the hook\",\"key\":\"The key for the pool\",\"params\":\"The parameters for the swap\",\"sender\":\"The initial msg.sender for the swap call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\",\"_1\":\"BeforeSwapDelta The hook's delta in specified and unspecified currencies. Positive: the hook is owed/took currency, negative: the hook owes/sent currency\",\"_2\":\"uint24 Optionally override the lp fee, only used if three conditions are met: 1. the Pool has a dynamic fee, 2. the value's 2nd highest bit is set (23rd bit, 0x400000), and 3. the value is less than or equal to the maximum fee (1 million)\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"afterAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)\":{\"notice\":\"The hook called after liquidity is added\"},\"afterDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)\":{\"notice\":\"The hook called after donate\"},\"afterInitialize(address,(address,address,uint24,int24,address),uint160,int24)\":{\"notice\":\"The hook called after the state of a pool is initialized\"},\"afterRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),int256,int256,bytes)\":{\"notice\":\"The hook called after liquidity is removed\"},\"afterSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),int256,bytes)\":{\"notice\":\"The hook called after a swap\"},\"beforeAddLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)\":{\"notice\":\"The hook called before liquidity is added\"},\"beforeDonate(address,(address,address,uint24,int24,address),uint256,uint256,bytes)\":{\"notice\":\"The hook called before donate\"},\"beforeInitialize(address,(address,address,uint24,int24,address),uint160)\":{\"notice\":\"The hook called before the state of a pool is initialized\"},\"beforeRemoveLiquidity(address,(address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)\":{\"notice\":\"The hook called before liquidity is removed\"},\"beforeSwap(address,(address,address,uint24,int24,address),(bool,int256,uint160),bytes)\":{\"notice\":\"The hook called before a swap\"}},\"notice\":\"V4 decides whether to invoke specific hooks by inspecting the least significant bits of the address that the hooks contract is deployed to. For example, a hooks contract deployed to address: 0x0000000000000000000000000000000000002400 has the lowest bits '10 0100 0000 0000' which would cause the 'before initialize' and 'after add liquidity' hooks to be used. See the Hooks library for the full spec.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/interfaces/IHooks.sol\":\"IHooks\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]}},\"version\":1}"}},"@uniswap/v4-core/src/interfaces/IPoolManager.sol":{"IPoolManager":{"abi":[{"inputs":[],"name":"AlreadyUnlocked","type":"error"},{"inputs":[{"internalType":"address","name":"currency0","type":"address"},{"internalType":"address","name":"currency1","type":"address"}],"name":"CurrenciesOutOfOrderOrEqual","type":"error"},{"inputs":[],"name":"CurrencyNotSettled","type":"error"},{"inputs":[],"name":"InvalidCaller","type":"error"},{"inputs":[],"name":"ManagerLocked","type":"error"},{"inputs":[],"name":"MustClearExactPositiveDelta","type":"error"},{"inputs":[],"name":"NonzeroNativeValue","type":"error"},{"inputs":[],"name":"PoolNotInitialized","type":"error"},{"inputs":[],"name":"ProtocolFeeCurrencySynced","type":"error"},{"inputs":[{"internalType":"uint24","name":"fee","type":"uint24"}],"name":"ProtocolFeeTooLarge","type":"error"},{"inputs":[],"name":"SwapAmountCannotBeZero","type":"error"},{"inputs":[{"internalType":"int24","name":"tickSpacing","type":"int24"}],"name":"TickSpacingTooLarge","type":"error"},{"inputs":[{"internalType":"int24","name":"tickSpacing","type":"int24"}],"name":"TickSpacingTooSmall","type":"error"},{"inputs":[],"name":"UnauthorizedDynamicLPFeeUpdate","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Donate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":true,"internalType":"Currency","name":"currency0","type":"address"},{"indexed":true,"internalType":"Currency","name":"currency1","type":"address"},{"indexed":false,"internalType":"uint24","name":"fee","type":"uint24"},{"indexed":false,"internalType":"int24","name":"tickSpacing","type":"int24"},{"indexed":false,"internalType":"contract IHooks","name":"hooks","type":"address"},{"indexed":false,"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"}],"name":"Initialize","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"int24","name":"tickLower","type":"int24"},{"indexed":false,"internalType":"int24","name":"tickUpper","type":"int24"},{"indexed":false,"internalType":"int256","name":"liquidityDelta","type":"int256"},{"indexed":false,"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"ModifyLiquidity","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"OperatorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"protocolFeeController","type":"address"}],"name":"ProtocolFeeControllerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":false,"internalType":"uint24","name":"protocolFee","type":"uint24"}],"name":"ProtocolFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"int128","name":"amount0","type":"int128"},{"indexed":false,"internalType":"int128","name":"amount1","type":"int128"},{"indexed":false,"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"indexed":false,"internalType":"uint128","name":"liquidity","type":"uint128"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"},{"indexed":false,"internalType":"uint24","name":"fee","type":"uint24"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"clear","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"Currency","name":"currency","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"collectProtocolFees","outputs":[{"internalType":"uint256","name":"amountCollected","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"donate","outputs":[{"internalType":"BalanceDelta","name":"","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"extsload","outputs":[{"internalType":"bytes32","name":"value","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"startSlot","type":"bytes32"},{"internalType":"uint256","name":"nSlots","type":"uint256"}],"name":"extsload","outputs":[{"internalType":"bytes32[]","name":"values","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"slots","type":"bytes32[]"}],"name":"extsload","outputs":[{"internalType":"bytes32[]","name":"values","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"slots","type":"bytes32[]"}],"name":"exttload","outputs":[{"internalType":"bytes32[]","name":"values","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"exttload","outputs":[{"internalType":"bytes32","name":"value","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"initialize","outputs":[{"internalType":"int24","name":"tick","type":"int24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"approved","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"components":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"int256","name":"liquidityDelta","type":"int256"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"internalType":"struct IPoolManager.ModifyLiquidityParams","name":"params","type":"tuple"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"modifyLiquidity","outputs":[{"internalType":"BalanceDelta","name":"callerDelta","type":"int256"},{"internalType":"BalanceDelta","name":"feesAccrued","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"protocolFeeController","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"protocolFeesAccrued","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint24","name":"newProtocolFee","type":"uint24"}],"name":"setProtocolFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"setProtocolFeeController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"settle","outputs":[{"internalType":"uint256","name":"paid","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"settleFor","outputs":[{"internalType":"uint256","name":"paid","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"components":[{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct IPoolManager.SwapParams","name":"params","type":"tuple"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"swap","outputs":[{"internalType":"BalanceDelta","name":"swapDelta","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"sync","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"take","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlock","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint24","name":"newDynamicLPFee","type":"uint24"}],"name":"updateDynamicLPFee","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address,uint256)":"598af9e7","approve(address,uint256,uint256)":"426a8493","balanceOf(address,uint256)":"00fdd58e","burn(address,uint256,uint256)":"f5298aca","clear(address,uint256)":"80f0b44c","collectProtocolFees(address,address,uint256)":"8161b874","donate((address,address,uint24,int24,address),uint256,uint256,bytes)":"234266d7","extsload(bytes32)":"1e2eaeaf","extsload(bytes32,uint256)":"35fd631a","extsload(bytes32[])":"dbd035ff","exttload(bytes32)":"f135baaa","exttload(bytes32[])":"9bf6645f","initialize((address,address,uint24,int24,address),uint160)":"6276cbbe","isOperator(address,address)":"b6363cf2","mint(address,uint256,uint256)":"156e29f6","modifyLiquidity((address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)":"5a6bcfda","protocolFeeController()":"f02de3b2","protocolFeesAccrued(address)":"97e8cd4e","setOperator(address,bool)":"558a7297","setProtocolFee((address,address,uint24,int24,address),uint24)":"7e87ce7d","setProtocolFeeController(address)":"2d771389","settle()":"11da60b4","settleFor(address)":"3dd45adb","swap((address,address,uint24,int24,address),(bool,int256,uint160),bytes)":"f3cd914c","sync(address)":"a5841194","take(address,address,uint256)":"0b0d9c09","transfer(address,uint256,uint256)":"095bcdb6","transferFrom(address,address,uint256,uint256)":"fe99049a","unlock(bytes)":"48c89491","updateDynamicLPFee((address,address,uint24,int24,address),uint24)":"52759651"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"AlreadyUnlocked\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"currency1\",\"type\":\"address\"}],\"name\":\"CurrenciesOutOfOrderOrEqual\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CurrencyNotSettled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCaller\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ManagerLocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustClearExactPositiveDelta\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonzeroNativeValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolNotInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProtocolFeeCurrencySynced\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"ProtocolFeeTooLarge\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SwapAmountCannotBeZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"TickSpacingTooLarge\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"TickSpacingTooSmall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnauthorizedDynamicLPFeeUpdate\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Donate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Initialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"liquidityDelta\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"ModifyLiquidity\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"OperatorSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"protocolFeeController\",\"type\":\"address\"}],\"name\":\"ProtocolFeeControllerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"protocolFee\",\"type\":\"uint24\"}],\"name\":\"ProtocolFeeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"amount0\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"amount1\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"clear\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"collectProtocolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountCollected\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"donate\",\"outputs\":[{\"internalType\":\"BalanceDelta\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"startSlot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"nSlots\",\"type\":\"uint256\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"values\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"slots\",\"type\":\"bytes32[]\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"values\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"slots\",\"type\":\"bytes32[]\"}],\"name\":\"exttload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"values\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"exttload\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"initialize\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"isOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"int256\",\"name\":\"liquidityDelta\",\"type\":\"int256\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct IPoolManager.ModifyLiquidityParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"modifyLiquidity\",\"outputs\":[{\"internalType\":\"BalanceDelta\",\"name\":\"callerDelta\",\"type\":\"int256\"},{\"internalType\":\"BalanceDelta\",\"name\":\"feesAccrued\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeController\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"protocolFeesAccrued\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint24\",\"name\":\"newProtocolFee\",\"type\":\"uint24\"}],\"name\":\"setProtocolFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"setProtocolFeeController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"settle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"paid\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"settleFor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"paid\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountSpecified\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct IPoolManager.SwapParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"BalanceDelta\",\"name\":\"swapDelta\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"sync\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"take\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlock\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint24\",\"name\":\"newDynamicLPFee\",\"type\":\"uint24\"}],\"name\":\"updateDynamicLPFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"Donate(bytes32,address,uint256,uint256)\":{\"params\":{\"amount0\":\"The amount donated in currency0\",\"amount1\":\"The amount donated in currency1\",\"id\":\"The abi encoded hash of the pool key struct for the pool that was donated to\",\"sender\":\"The address that initiated the donate call\"}},\"Initialize(bytes32,address,address,uint24,int24,address,uint160,int24)\":{\"params\":{\"currency0\":\"The first currency of the pool by address sort order\",\"currency1\":\"The second currency of the pool by address sort order\",\"fee\":\"The fee collected upon every swap in the pool, denominated in hundredths of a bip\",\"hooks\":\"The hooks contract address for the pool, or address(0) if none\",\"id\":\"The abi encoded hash of the pool key struct for the new pool\",\"sqrtPriceX96\":\"The price of the pool on initialization\",\"tick\":\"The initial tick of the pool corresponding to the initialized price\",\"tickSpacing\":\"The minimum number of ticks between initialized ticks\"}},\"ModifyLiquidity(bytes32,address,int24,int24,int256,bytes32)\":{\"params\":{\"id\":\"The abi encoded hash of the pool key struct for the pool that was modified\",\"liquidityDelta\":\"The amount of liquidity that was added or removed\",\"salt\":\"The extra data to make positions unique\",\"sender\":\"The address that modified the pool\",\"tickLower\":\"The lower tick of the position\",\"tickUpper\":\"The upper tick of the position\"}},\"Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)\":{\"params\":{\"amount0\":\"The delta of the currency0 balance of the pool\",\"amount1\":\"The delta of the currency1 balance of the pool\",\"fee\":\"The swap fee in hundredths of a bip\",\"id\":\"The abi encoded hash of the pool key struct for the pool that was modified\",\"liquidity\":\"The liquidity of the pool after the swap\",\"sender\":\"The address that initiated the swap call, and that received the callback\",\"sqrtPriceX96\":\"The sqrt(price) of the pool after the swap, as a Q64.96\",\"tick\":\"The log base 1.0001 of the price of the pool after the swap\"}}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address,uint256)\":{\"params\":{\"id\":\"The id of the token.\",\"owner\":\"The address of the owner.\",\"spender\":\"The address of the spender.\"},\"returns\":{\"amount\":\"The allowance of the token.\"}},\"approve(address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"spender\":\"The address of the spender.\"},\"returns\":{\"_0\":\"bool True, always\"}},\"balanceOf(address,uint256)\":{\"params\":{\"id\":\"The id of the token.\",\"owner\":\"The address of the owner.\"},\"returns\":{\"amount\":\"The balance of the token.\"}},\"burn(address,uint256,uint256)\":{\"details\":\"The id is converted to a uint160 to correspond to a currency address If the upper 12 bytes are not 0, they will be 0-ed out\",\"params\":{\"amount\":\"The amount of currency to burn\",\"from\":\"The address to burn the tokens from\",\"id\":\"The currency address to burn from ERC6909s, as a uint256\"}},\"clear(address,uint256)\":{\"details\":\"This could be used to clear a balance that is considered dust. Additionally, the amount must be the exact positive balance. This is to enforce that the caller is aware of the amount being cleared.\"},\"collectProtocolFees(address,address,uint256)\":{\"details\":\"This will revert if the contract is unlocked\",\"params\":{\"amount\":\"The amount of currency to withdraw\",\"currency\":\"The currency to withdraw\",\"recipient\":\"The address to receive the protocol fees\"},\"returns\":{\"amountCollected\":\"The amount of currency successfully withdrawn\"}},\"donate((address,address,uint24,int24,address),uint256,uint256,bytes)\":{\"details\":\"Calls to donate can be frontrun adding just-in-time liquidity, with the aim of receiving a portion donated funds. Donors should keep this in mind when designing donation mechanisms.This function donates to in-range LPs at slot0.tick. In certain edge-cases of the swap algorithm, the `sqrtPrice` of a pool can be at the lower boundary of tick `n`, but the `slot0.tick` of the pool is already `n - 1`. In this case a call to `donate` would donate to tick `n - 1` (slot0.tick) not tick `n` (getTickAtSqrtPrice(slot0.sqrtPriceX96)). Read the comments in `Pool.swap()` for more information about this.\",\"params\":{\"amount0\":\"The amount of currency0 to donate\",\"amount1\":\"The amount of currency1 to donate\",\"hookData\":\"The data to pass through to the donate hooks\",\"key\":\"The key of the pool to donate to\"},\"returns\":{\"_0\":\"BalanceDelta The delta of the caller after the donate\"}},\"extsload(bytes32)\":{\"params\":{\"slot\":\"Key of slot to sload\"},\"returns\":{\"value\":\"The value of the slot as bytes32\"}},\"extsload(bytes32,uint256)\":{\"params\":{\"nSlots\":\"Number of slots to load into return value\",\"startSlot\":\"Key of slot to start sloading from\"},\"returns\":{\"values\":\"List of loaded values.\"}},\"extsload(bytes32[])\":{\"params\":{\"slots\":\"List of slots to SLOAD from.\"},\"returns\":{\"values\":\"List of loaded values.\"}},\"exttload(bytes32)\":{\"params\":{\"slot\":\"Key of slot to tload\"},\"returns\":{\"value\":\"The value of the slot as bytes32\"}},\"exttload(bytes32[])\":{\"params\":{\"slots\":\"List of slots to tload\"},\"returns\":{\"values\":\"List of loaded values\"}},\"initialize((address,address,uint24,int24,address),uint160)\":{\"details\":\"A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\",\"params\":{\"key\":\"The pool key for the pool to initialize\",\"sqrtPriceX96\":\"The initial square root price\"},\"returns\":{\"tick\":\"The initial tick of the pool\"}},\"isOperator(address,address)\":{\"params\":{\"owner\":\"The address of the owner.\",\"spender\":\"The address of the spender.\"},\"returns\":{\"approved\":\"The approval status.\"}},\"mint(address,uint256,uint256)\":{\"details\":\"The id is converted to a uint160 to correspond to a currency address If the upper 12 bytes are not 0, they will be 0-ed out\",\"params\":{\"amount\":\"The amount of currency to mint\",\"id\":\"The currency address to mint to ERC6909s, as a uint256\",\"to\":\"The address to mint the tokens to\"}},\"modifyLiquidity((address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)\":{\"details\":\"Poke by calling with a zero liquidityDelta\",\"params\":{\"hookData\":\"The data to pass through to the add/removeLiquidity hooks\",\"key\":\"The pool to modify liquidity in\",\"params\":\"The parameters for modifying the liquidity\"},\"returns\":{\"callerDelta\":\"The balance delta of the caller of modifyLiquidity. This is the total of both principal, fee deltas, and hook deltas if applicable\",\"feesAccrued\":\"The balance delta of the fees generated in the liquidity range. Returned for informational purposes\"}},\"protocolFeeController()\":{\"returns\":{\"_0\":\"address The current protocol fee controller address\"}},\"protocolFeesAccrued(address)\":{\"params\":{\"currency\":\"The currency to check\"},\"returns\":{\"amount\":\"The amount of protocol fees accrued in the currency\"}},\"setOperator(address,bool)\":{\"params\":{\"approved\":\"The approval status.\",\"operator\":\"The address of the operator.\"},\"returns\":{\"_0\":\"bool True, always\"}},\"setProtocolFee((address,address,uint24,int24,address),uint24)\":{\"params\":{\"key\":\"The key of the pool to set a protocol fee for\",\"newProtocolFee\":\"The fee to set\"}},\"setProtocolFeeController(address)\":{\"params\":{\"controller\":\"The new protocol fee controller\"}},\"settle()\":{\"returns\":{\"paid\":\"The amount of currency settled\"}},\"settleFor(address)\":{\"params\":{\"recipient\":\"The address to credit for the payment\"},\"returns\":{\"paid\":\"The amount of currency settled\"}},\"swap((address,address,uint24,int24,address),(bool,int256,uint160),bytes)\":{\"details\":\"Swapping on low liquidity pools may cause unexpected swap amounts when liquidity available is less than amountSpecified. Additionally note that if interacting with hooks that have the BEFORE_SWAP_RETURNS_DELTA_FLAG or AFTER_SWAP_RETURNS_DELTA_FLAG the hook may alter the swap input/output. Integrators should perform checks on the returned swapDelta.\",\"params\":{\"hookData\":\"The data to pass through to the swap hooks\",\"key\":\"The pool to swap in\",\"params\":\"The parameters for swapping\"},\"returns\":{\"swapDelta\":\"The balance delta of the address swapping\"}},\"sync(address)\":{\"details\":\"This MUST be called before any ERC20 tokens are sent into the contract, but can be skipped for native tokens because the amount to settle is determined by the sent value. However, if an ERC20 token has been synced and not settled, and the caller instead wants to settle native funds, this function can be called with the native currency to then be able to settle the native currency\"},\"take(address,address,uint256)\":{\"details\":\"Will revert if the requested amount is not available, consider using `mint` insteadCan also be used as a mechanism for free flash loans\",\"params\":{\"amount\":\"The amount of currency to withdraw\",\"currency\":\"The currency to withdraw from the pool manager\",\"to\":\"The address to withdraw to\"}},\"transfer(address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"receiver\":\"The address of the receiver.\"},\"returns\":{\"_0\":\"bool True, always, unless the function reverts\"}},\"transferFrom(address,address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"receiver\":\"The address of the receiver.\",\"sender\":\"The address of the sender.\"},\"returns\":{\"_0\":\"bool True, always, unless the function reverts\"}},\"unlock(bytes)\":{\"details\":\"The only functions callable without an unlocking are `initialize` and `updateDynamicLPFee`\",\"params\":{\"data\":\"Any data to pass to the callback, via `IUnlockCallback(msg.sender).unlockCallback(data)`\"},\"returns\":{\"_0\":\"The data returned by the call to `IUnlockCallback(msg.sender).unlockCallback(data)`\"}},\"updateDynamicLPFee((address,address,uint24,int24,address),uint24)\":{\"details\":\"A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\",\"params\":{\"key\":\"The key of the pool to update dynamic LP fees for\",\"newDynamicLPFee\":\"The new dynamic pool LP fee\"}}},\"version\":1},\"userdoc\":{\"errors\":{\"AlreadyUnlocked()\":[{\"notice\":\"Thrown when unlock is called, but the contract is already unlocked\"}],\"CurrenciesOutOfOrderOrEqual(address,address)\":[{\"notice\":\"PoolKey must have currencies where address(currency0) < address(currency1)\"}],\"CurrencyNotSettled()\":[{\"notice\":\"Thrown when a currency is not netted out after the contract is unlocked\"}],\"InvalidCaller()\":[{\"notice\":\"Thrown when collectProtocolFees or setProtocolFee is not called by the controller.\"}],\"ManagerLocked()\":[{\"notice\":\"Thrown when a function is called that requires the contract to be unlocked, but it is not\"}],\"MustClearExactPositiveDelta()\":[{\"notice\":\"Thrown when `clear` is called with an amount that is not exactly equal to the open currency delta.\"}],\"NonzeroNativeValue()\":[{\"notice\":\"Thrown when native currency is passed to a non native settlement\"}],\"PoolNotInitialized()\":[{\"notice\":\"Thrown when trying to interact with a non-initialized pool\"}],\"ProtocolFeeCurrencySynced()\":[{\"notice\":\"Thrown when collectProtocolFees is attempted on a token that is synced.\"}],\"ProtocolFeeTooLarge(uint24)\":[{\"notice\":\"Thrown when protocol fee is set too high\"}],\"SwapAmountCannotBeZero()\":[{\"notice\":\"Thrown when trying to swap amount of 0\"}],\"TickSpacingTooLarge(int24)\":[{\"notice\":\"Pools are limited to type(int16).max tickSpacing in #initialize, to prevent overflow\"}],\"TickSpacingTooSmall(int24)\":[{\"notice\":\"Pools must have a positive non-zero tickSpacing passed to #initialize\"}],\"UnauthorizedDynamicLPFeeUpdate()\":[{\"notice\":\"Thrown when a call to updateDynamicLPFee is made by an address that is not the hook, or on a pool that does not have a dynamic swap fee.\"}]},\"events\":{\"Donate(bytes32,address,uint256,uint256)\":{\"notice\":\"Emitted for donations\"},\"Initialize(bytes32,address,address,uint24,int24,address,uint160,int24)\":{\"notice\":\"Emitted when a new pool is initialized\"},\"ModifyLiquidity(bytes32,address,int24,int24,int256,bytes32)\":{\"notice\":\"Emitted when a liquidity position is modified\"},\"ProtocolFeeControllerUpdated(address)\":{\"notice\":\"Emitted when the protocol fee controller address is updated in setProtocolFeeController.\"},\"ProtocolFeeUpdated(bytes32,uint24)\":{\"notice\":\"Emitted when the protocol fee is updated for a pool.\"},\"Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)\":{\"notice\":\"Emitted for swaps between currency0 and currency1\"}},\"kind\":\"user\",\"methods\":{\"allowance(address,address,uint256)\":{\"notice\":\"Spender allowance of an id.\"},\"approve(address,uint256,uint256)\":{\"notice\":\"Approves an amount of an id to a spender.\"},\"balanceOf(address,uint256)\":{\"notice\":\"Owner balance of an id.\"},\"burn(address,uint256,uint256)\":{\"notice\":\"Called by the user to move value from ERC6909 balance\"},\"clear(address,uint256)\":{\"notice\":\"WARNING - Any currency that is cleared, will be non-retrievable, and locked in the contract permanently. A call to clear will zero out a positive balance WITHOUT a corresponding transfer.\"},\"collectProtocolFees(address,address,uint256)\":{\"notice\":\"Collects the protocol fees for a given recipient and currency, returning the amount collected\"},\"donate((address,address,uint24,int24,address),uint256,uint256,bytes)\":{\"notice\":\"Donate the given currency amounts to the in-range liquidity providers of a pool\"},\"extsload(bytes32)\":{\"notice\":\"Called by external contracts to access granular pool state\"},\"extsload(bytes32,uint256)\":{\"notice\":\"Called by external contracts to access granular pool state\"},\"extsload(bytes32[])\":{\"notice\":\"Called by external contracts to access sparse pool state\"},\"exttload(bytes32)\":{\"notice\":\"Called by external contracts to access transient storage of the contract\"},\"exttload(bytes32[])\":{\"notice\":\"Called by external contracts to access sparse transient pool state\"},\"initialize((address,address,uint24,int24,address),uint160)\":{\"notice\":\"Initialize the state for a given pool ID\"},\"isOperator(address,address)\":{\"notice\":\"Checks if a spender is approved by an owner as an operator\"},\"mint(address,uint256,uint256)\":{\"notice\":\"Called by the user to move value into ERC6909 balance\"},\"modifyLiquidity((address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)\":{\"notice\":\"Modify the liquidity for the given pool\"},\"protocolFeeController()\":{\"notice\":\"Returns the current protocol fee controller address\"},\"protocolFeesAccrued(address)\":{\"notice\":\"Given a currency address, returns the protocol fees accrued in that currency\"},\"setOperator(address,bool)\":{\"notice\":\"Sets or removes an operator for the caller.\"},\"setProtocolFee((address,address,uint24,int24,address),uint24)\":{\"notice\":\"Sets the protocol fee for the given pool\"},\"setProtocolFeeController(address)\":{\"notice\":\"Sets the protocol fee controller\"},\"settle()\":{\"notice\":\"Called by the user to pay what is owed\"},\"settleFor(address)\":{\"notice\":\"Called by the user to pay on behalf of another address\"},\"swap((address,address,uint24,int24,address),(bool,int256,uint160),bytes)\":{\"notice\":\"Swap against the given pool\"},\"sync(address)\":{\"notice\":\"Writes the current ERC20 balance of the specified currency to transient storage This is used to checkpoint balances for the manager and derive deltas for the caller.\"},\"take(address,address,uint256)\":{\"notice\":\"Called by the user to net out some value owed to the user\"},\"transfer(address,uint256,uint256)\":{\"notice\":\"Transfers an amount of an id from the caller to a receiver.\"},\"transferFrom(address,address,uint256,uint256)\":{\"notice\":\"Transfers an amount of an id from a sender to a receiver.\"},\"unlock(bytes)\":{\"notice\":\"All interactions on the contract that account deltas require unlocking. A caller that calls `unlock` must implement `IUnlockCallback(msg.sender).unlockCallback(data)`, where they interact with the remaining functions on this contract.\"},\"updateDynamicLPFee((address,address,uint24,int24,address),uint24)\":{\"notice\":\"Updates the pools lp fees for the a pool that has enabled dynamic lp fees.\"}},\"notice\":\"Interface for the PoolManager\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":\"IPoolManager\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]}},\"version\":1}"}},"@uniswap/v4-core/src/interfaces/IProtocolFees.sol":{"IProtocolFees":{"abi":[{"inputs":[],"name":"InvalidCaller","type":"error"},{"inputs":[],"name":"ProtocolFeeCurrencySynced","type":"error"},{"inputs":[{"internalType":"uint24","name":"fee","type":"uint24"}],"name":"ProtocolFeeTooLarge","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"protocolFeeController","type":"address"}],"name":"ProtocolFeeControllerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":false,"internalType":"uint24","name":"protocolFee","type":"uint24"}],"name":"ProtocolFeeUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"Currency","name":"currency","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"collectProtocolFees","outputs":[{"internalType":"uint256","name":"amountCollected","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"protocolFeeController","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"protocolFeesAccrued","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint24","name":"newProtocolFee","type":"uint24"}],"name":"setProtocolFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"setProtocolFeeController","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"collectProtocolFees(address,address,uint256)":"8161b874","protocolFeeController()":"f02de3b2","protocolFeesAccrued(address)":"97e8cd4e","setProtocolFee((address,address,uint24,int24,address),uint24)":"7e87ce7d","setProtocolFeeController(address)":"2d771389"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidCaller\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProtocolFeeCurrencySynced\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"ProtocolFeeTooLarge\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"protocolFeeController\",\"type\":\"address\"}],\"name\":\"ProtocolFeeControllerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"protocolFee\",\"type\":\"uint24\"}],\"name\":\"ProtocolFeeUpdated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"collectProtocolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountCollected\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeController\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"protocolFeesAccrued\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint24\",\"name\":\"newProtocolFee\",\"type\":\"uint24\"}],\"name\":\"setProtocolFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"setProtocolFeeController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"collectProtocolFees(address,address,uint256)\":{\"details\":\"This will revert if the contract is unlocked\",\"params\":{\"amount\":\"The amount of currency to withdraw\",\"currency\":\"The currency to withdraw\",\"recipient\":\"The address to receive the protocol fees\"},\"returns\":{\"amountCollected\":\"The amount of currency successfully withdrawn\"}},\"protocolFeeController()\":{\"returns\":{\"_0\":\"address The current protocol fee controller address\"}},\"protocolFeesAccrued(address)\":{\"params\":{\"currency\":\"The currency to check\"},\"returns\":{\"amount\":\"The amount of protocol fees accrued in the currency\"}},\"setProtocolFee((address,address,uint24,int24,address),uint24)\":{\"params\":{\"key\":\"The key of the pool to set a protocol fee for\",\"newProtocolFee\":\"The fee to set\"}},\"setProtocolFeeController(address)\":{\"params\":{\"controller\":\"The new protocol fee controller\"}}},\"version\":1},\"userdoc\":{\"errors\":{\"InvalidCaller()\":[{\"notice\":\"Thrown when collectProtocolFees or setProtocolFee is not called by the controller.\"}],\"ProtocolFeeCurrencySynced()\":[{\"notice\":\"Thrown when collectProtocolFees is attempted on a token that is synced.\"}],\"ProtocolFeeTooLarge(uint24)\":[{\"notice\":\"Thrown when protocol fee is set too high\"}]},\"events\":{\"ProtocolFeeControllerUpdated(address)\":{\"notice\":\"Emitted when the protocol fee controller address is updated in setProtocolFeeController.\"},\"ProtocolFeeUpdated(bytes32,uint24)\":{\"notice\":\"Emitted when the protocol fee is updated for a pool.\"}},\"kind\":\"user\",\"methods\":{\"collectProtocolFees(address,address,uint256)\":{\"notice\":\"Collects the protocol fees for a given recipient and currency, returning the amount collected\"},\"protocolFeeController()\":{\"notice\":\"Returns the current protocol fee controller address\"},\"protocolFeesAccrued(address)\":{\"notice\":\"Given a currency address, returns the protocol fees accrued in that currency\"},\"setProtocolFee((address,address,uint24,int24,address),uint24)\":{\"notice\":\"Sets the protocol fee for the given pool\"},\"setProtocolFeeController(address)\":{\"notice\":\"Sets the protocol fee controller\"}},\"notice\":\"Interface for all protocol-fee related functions in the pool manager\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":\"IProtocolFees\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]}},\"version\":1}"}},"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol":{"IUnlockCallback":{"abi":[{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlockCallback","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"unlockCallback(bytes)":"91dd7346"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlockCallback\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"unlockCallback(bytes)\":{\"params\":{\"data\":\"The data that was passed to the call to unlock\"},\"returns\":{\"_0\":\"Any data that you want to be returned from the unlock call\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"unlockCallback(bytes)\":{\"notice\":\"Called by the pool manager on `msg.sender` when the manager is unlocked\"}},\"notice\":\"Interface for the callback executed when an address unlocks the pool manager\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol\":\"IUnlockCallback\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol\":{\"keccak256\":\"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b\",\"dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK\"]}},\"version\":1}"}},"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol":{"IERC20Minimal":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"Approval(address,address,uint256)\":{\"params\":{\"owner\":\"The account that approved spending of its tokens\",\"spender\":\"The account for which the spending allowance was modified\",\"value\":\"The new allowance from the owner to the spender\"}},\"Transfer(address,address,uint256)\":{\"params\":{\"from\":\"The account from which the tokens were sent, i.e. the balance decreased\",\"to\":\"The account to which the tokens were sent, i.e. the balance increased\",\"value\":\"The amount of tokens that were transferred\"}}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"params\":{\"owner\":\"The account of the token owner\",\"spender\":\"The account of the token spender\"},\"returns\":{\"_0\":\"The current allowance granted by `owner` to `spender`\"}},\"approve(address,uint256)\":{\"params\":{\"amount\":\"The amount of tokens allowed to be used by `spender`\",\"spender\":\"The account which will be allowed to spend a given amount of the owners tokens\"},\"returns\":{\"_0\":\"Returns true for a successful approval, false for unsuccessful\"}},\"balanceOf(address)\":{\"params\":{\"account\":\"The account for which to look up the number of tokens it has, i.e. its balance\"},\"returns\":{\"_0\":\"The number of tokens held by the account\"}},\"transfer(address,uint256)\":{\"params\":{\"amount\":\"The number of tokens to send from the sender to the recipient\",\"recipient\":\"The account that will receive the amount transferred\"},\"returns\":{\"_0\":\"Returns true for a successful transfer, false for an unsuccessful transfer\"}},\"transferFrom(address,address,uint256)\":{\"params\":{\"amount\":\"The amount of the transfer\",\"recipient\":\"The recipient of the transfer\",\"sender\":\"The account from which the transfer will be initiated\"},\"returns\":{\"_0\":\"Returns true for a successful transfer, false for unsuccessful\"}}},\"title\":\"Minimal ERC20 interface for Uniswap\",\"version\":1},\"userdoc\":{\"events\":{\"Approval(address,address,uint256)\":{\"notice\":\"Event emitted when the approval amount for the spender of a given owner's tokens changes.\"},\"Transfer(address,address,uint256)\":{\"notice\":\"Event emitted when tokens are transferred from one address to another, either via `#transfer` or `#transferFrom`.\"}},\"kind\":\"user\",\"methods\":{\"allowance(address,address)\":{\"notice\":\"Returns the current allowance given to a spender by an owner\"},\"approve(address,uint256)\":{\"notice\":\"Sets the allowance of a spender from the `msg.sender` to the value `amount`\"},\"balanceOf(address)\":{\"notice\":\"Returns an account's balance in the token\"},\"transfer(address,uint256)\":{\"notice\":\"Transfers the amount of token from the `msg.sender` to the recipient\"},\"transferFrom(address,address,uint256)\":{\"notice\":\"Transfers `amount` tokens from `sender` to `recipient` up to the allowance given to the `msg.sender`\"}},\"notice\":\"Contains a subset of the full ERC20 interface that is used in Uniswap V3\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":\"IERC20Minimal\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]}},\"version\":1}"}},"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol":{"IERC6909Claims":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"OperatorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"approved","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address,uint256)":"598af9e7","approve(address,uint256,uint256)":"426a8493","balanceOf(address,uint256)":"00fdd58e","isOperator(address,address)":"b6363cf2","setOperator(address,bool)":"558a7297","transfer(address,uint256,uint256)":"095bcdb6","transferFrom(address,address,uint256,uint256)":"fe99049a"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"OperatorSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"isOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"allowance(address,address,uint256)\":{\"params\":{\"id\":\"The id of the token.\",\"owner\":\"The address of the owner.\",\"spender\":\"The address of the spender.\"},\"returns\":{\"amount\":\"The allowance of the token.\"}},\"approve(address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"spender\":\"The address of the spender.\"},\"returns\":{\"_0\":\"bool True, always\"}},\"balanceOf(address,uint256)\":{\"params\":{\"id\":\"The id of the token.\",\"owner\":\"The address of the owner.\"},\"returns\":{\"amount\":\"The balance of the token.\"}},\"isOperator(address,address)\":{\"params\":{\"owner\":\"The address of the owner.\",\"spender\":\"The address of the spender.\"},\"returns\":{\"approved\":\"The approval status.\"}},\"setOperator(address,bool)\":{\"params\":{\"approved\":\"The approval status.\",\"operator\":\"The address of the operator.\"},\"returns\":{\"_0\":\"bool True, always\"}},\"transfer(address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"receiver\":\"The address of the receiver.\"},\"returns\":{\"_0\":\"bool True, always, unless the function reverts\"}},\"transferFrom(address,address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"receiver\":\"The address of the receiver.\",\"sender\":\"The address of the sender.\"},\"returns\":{\"_0\":\"bool True, always, unless the function reverts\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"allowance(address,address,uint256)\":{\"notice\":\"Spender allowance of an id.\"},\"approve(address,uint256,uint256)\":{\"notice\":\"Approves an amount of an id to a spender.\"},\"balanceOf(address,uint256)\":{\"notice\":\"Owner balance of an id.\"},\"isOperator(address,address)\":{\"notice\":\"Checks if a spender is approved by an owner as an operator\"},\"setOperator(address,bool)\":{\"notice\":\"Sets or removes an operator for the caller.\"},\"transfer(address,uint256,uint256)\":{\"notice\":\"Transfers an amount of an id from the caller to a receiver.\"},\"transferFrom(address,address,uint256,uint256)\":{\"notice\":\"Transfers an amount of an id from a sender to a receiver.\"}},\"notice\":\"Interface for claims over a contract balance, wrapped as a ERC6909\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":\"IERC6909Claims\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/BitMath.sol":{"BitMath":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"298:2310:36:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"298:2310:36:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"author\":\"Solady (https://github.com/Vectorized/solady/blob/8200a70e8dc2a77ecb074fc2e99a2a0d36547522/src/utils/LibBit.sol)\",\"details\":\"This library provides functionality for computing bit properties of an unsigned integer\",\"kind\":\"dev\",\"methods\":{},\"title\":\"BitMath\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/BitMath.sol\":\"BitMath\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/BitMath.sol\":{\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e\",\"dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/CurrencyDelta.sol":{"CurrencyDelta":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"304:1301:37:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"304:1301:37:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"this library implements the equivalent of a mapping, as transient storage can only be accessed in assembly\",\"kind\":\"dev\",\"methods\":{},\"title\":\"a library to store callers' currency deltas in transient storage\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/CurrencyDelta.sol\":\"CurrencyDelta\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/libraries/CurrencyDelta.sol\":{\"keccak256\":\"0x80dbd898cf0f90c5c27192689b16c34edc765d6ab21b8358e3bb792c7fef238c\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://107698da024313f132d9fe28deb920b5c03d14624889c3ce5720e588f03635bb\",\"dweb:/ipfs/QmQteUbhj5SsWbvSF6U8niBUSrETqVbEwULc8E7vS4Kbnn\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/CurrencyReserves.sol":{"CurrencyReserves":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"161:1127:38:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"161:1127:38:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/CurrencyReserves.sol\":\"CurrencyReserves\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/libraries/CurrencyReserves.sol\":{\"keccak256\":\"0x1576616129933fcdf3b684cea33cffd9c95e18fafbd2832a8c48ac3d8526d4c3\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://33b050efb9b81803b18f562271e7cca2ec5362c4d505860d6419b4a345636725\",\"dweb:/ipfs/QmQtFtTwKZ5pFVGD2ENDUXvp7ECFvzqeCuJ1miJcUHdmiX\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/CustomRevert.sol":{"CustomRevert":{"abi":[{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes4","name":"selector","type":"bytes4"},{"internalType":"bytes","name":"reason","type":"bytes"},{"internalType":"bytes","name":"details","type":"bytes"}],"name":"WrappedError","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"501:4672:39:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"501:4672:39:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"details\",\"type\":\"bytes\"}],\"name\":\"WrappedError\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"To use this library, declare `using CustomRevert for bytes4;` and replace `revert CustomError()` with `CustomError.selector.revertWith()`The functions may tamper with the free memory pointer but it is fine since the call context is exited immediately\",\"errors\":{\"WrappedError(address,bytes4,bytes,bytes)\":[{\"details\":\"ERC-7751 error for wrapping bubbled up reverts\"}]},\"kind\":\"dev\",\"methods\":{},\"title\":\"Library for reverting with custom errors efficiently\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Contains functions for reverting with custom errors with different argument types efficiently\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":\"CustomRevert\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/FixedPoint128.sol":{"FixedPoint128":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"197:99:40:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"197:99:40:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"FixedPoint128\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/FixedPoint128.sol\":\"FixedPoint128\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/FixedPoint128.sol\":{\"keccak256\":\"0xad236e10853f4b4b20a35a9bb52b857c4fc79874846b7e444e06ead7f2630542\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0de1f9a06520b1a689660943faa14fc0b8344ab41fab9e6012ea34bff4b9b3eb\",\"dweb:/ipfs/QmRNMPTyko7W6d6KxuTsnDBa9oZgDK4xiwRRq3H9ASTbwy\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/FixedPoint96.sol":{"FixedPoint96":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"231:134:41:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"231:134:41:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Used in SqrtPriceMath.sol\",\"kind\":\"dev\",\"methods\":{},\"title\":\"FixedPoint96\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/FixedPoint96.sol\":\"FixedPoint96\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/FixedPoint96.sol\":{\"keccak256\":\"0xef5c3fd41aee26bb12aa1c32873cfee88e67eddfe7c2b32283786265ac669741\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4de298d02f662a1c36c7be0a150f18c2a161408a5d3e48432e707efd01fac9a4\",\"dweb:/ipfs/QmSiM4oeMmLVKmAtJXz2feYkv4R9ZcyBpkTRW5Nhw5KDyJ\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/FullMath.sol":{"FullMath":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"354:5108:42:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"354:5108:42:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Handles \\\"phantom overflow\\\" i.e., allows multiplication and division where an intermediate value overflows 256 bits\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Contains 512-bit math functions\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/FullMath.sol\":\"FullMath\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/FullMath.sol\":{\"keccak256\":\"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3b2d66d36b1ad56b1ab6e2eb8a816740877b40b461c93f125e88621c8378e52\",\"dweb:/ipfs/QmPGvMZzKQvNiWKd8aRzzdW7oAizwrMgcMtnaworDkVHFC\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/Hooks.sol":{"Hooks":{"abi":[{"inputs":[{"internalType":"address","name":"hooks","type":"address"}],"name":"HookAddressNotValid","type":"error"},{"inputs":[],"name":"HookCallFailed","type":"error"},{"inputs":[],"name":"HookDeltaExceedsSwapAmount","type":"error"},{"inputs":[],"name":"InvalidHookResponse","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"961:15523:43:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"961:15523:43:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"hooks\",\"type\":\"address\"}],\"name\":\"HookAddressNotValid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HookCallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HookDeltaExceedsSwapAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidHookResponse\",\"type\":\"error\"}],\"devdoc\":{\"errors\":{\"HookAddressNotValid(address)\":[{\"params\":{\"hooks\":\"The address of the hooks contract\"}}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"errors\":{\"HookAddressNotValid(address)\":[{\"notice\":\"Thrown if the address will not lead to the specified hook calls being called\"}],\"HookCallFailed()\":[{\"notice\":\"Additional context for ERC-7751 wrapped error when a hook call fails\"}],\"HookDeltaExceedsSwapAmount()\":[{\"notice\":\"The hook's delta changed the swap from exactIn to exactOut or vice versa\"}],\"InvalidHookResponse()\":[{\"notice\":\"Hook did not return its selector\"}]},\"kind\":\"user\",\"methods\":{},\"notice\":\"V4 decides whether to invoke specific hooks by inspecting the least significant bits of the address that the hooks contract is deployed to. For example, a hooks contract deployed to address: 0x0000000000000000000000000000000000002400 has the lowest bits '10 0100 0000 0000' which would cause the 'before initialize' and 'after add liquidity' hooks to be used.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/Hooks.sol\":\"Hooks\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/Hooks.sol\":{\"keccak256\":\"0x27b1c3b8aa3d07d8e3123970695745929315685a5ffaa7342c3ba3582f37fecb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fa3bb092dc205eaa1b9defc93e9bbad5f4c5c44e1c4aa531dfca2574c2aba9ba\",\"dweb:/ipfs/QmR1soxkepHNkbGxAMaK4XqhQ4VxWn69dewzGkQJNx5byM\"]},\"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol\":{\"keccak256\":\"0xbf6914e01014e7c1044111feb7df7a3d96bb503b3da827ad8464b1955580d13b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33823c20a91882c9aacdcbb02f0558c05209f4d5954aa6dd4fa17c95664db475\",\"dweb:/ipfs/QmR7owkFgpfztpp1QUg3ut3nw9iPVQqLGP4hzgmZtRUQ2J\"]},\"@uniswap/v4-core/src/libraries/ParseBytes.sol\":{\"keccak256\":\"0x7533b13f53ee2c2c55500100b22ffd6e37e7523c27874edc98663d53a8672b15\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://82449058634fde28a085f3c59a6a5f412550c02181590593fd84c3e8b329aa17\",\"dweb:/ipfs/Qmev4E9Au6SsE4wsArChCwfg94KhHc5gYsEsZUnjF5sRLa\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol":{"LPFeeLibrary":{"abi":[{"inputs":[{"internalType":"uint24","name":"fee","type":"uint24"}],"name":"LPFeeTooLarge","type":"error"},{"inputs":[],"name":"DYNAMIC_FEE_FLAG","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_LP_FEE","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OVERRIDE_FEE_FLAG","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REMOVE_OVERRIDE_MASK","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760ae9081601c823930815050f35b5f80fdfe60808060405260043610156011575f80fd5b5f3560e01c9081633b01d64d14608c575080633fc48eba1460755780636f95ebcf14605e5763f26ef49d146043575f80fd5b5f366003190112605a576020604051628000008152f35b5f80fd5b5f366003190112605a57602060405162bfffff8152f35b5f366003190112605a576020604051620f42408152f35b5f366003190112605a57806240000060209252f3fea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0xAE SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x3B01D64D EQ PUSH1 0x8C JUMPI POP DUP1 PUSH4 0x3FC48EBA EQ PUSH1 0x75 JUMPI DUP1 PUSH4 0x6F95EBCF EQ PUSH1 0x5E JUMPI PUSH4 0xF26EF49D EQ PUSH1 0x43 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x5A JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH3 0x800000 DUP2 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x5A JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH3 0xBFFFFF DUP2 MSTORE RETURN JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x5A JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH3 0xF4240 DUP2 MSTORE RETURN JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x5A JUMPI DUP1 PUSH3 0x400000 PUSH1 0x20 SWAP3 MSTORE RETURN INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"166:3429:44:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"60808060405260043610156011575f80fd5b5f3560e01c9081633b01d64d14608c575080633fc48eba1460755780636f95ebcf14605e5763f26ef49d146043575f80fd5b5f366003190112605a576020604051628000008152f35b5f80fd5b5f366003190112605a57602060405162bfffff8152f35b5f366003190112605a576020604051620f42408152f35b5f366003190112605a57806240000060209252f3fea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x3B01D64D EQ PUSH1 0x8C JUMPI POP DUP1 PUSH4 0x3FC48EBA EQ PUSH1 0x75 JUMPI DUP1 PUSH4 0x6F95EBCF EQ PUSH1 0x5E JUMPI PUSH4 0xF26EF49D EQ PUSH1 0x43 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x5A JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH3 0x800000 DUP2 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x5A JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH3 0xBFFFFF DUP2 MSTORE RETURN JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x5A JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH3 0xF4240 DUP2 MSTORE RETURN JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x5A JUMPI DUP1 PUSH3 0x400000 PUSH1 0x20 SWAP3 MSTORE RETURN INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"166:3429:44:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;166:3429:44;;;;;;;552:8;166:3429;;;;;;;;;;-1:-1:-1;;166:3429:44;;;;;;;975:8;166:3429;;;;;;-1:-1:-1;;166:3429:44;;;;;;;1111:7;166:3429;;;;;;-1:-1:-1;;166:3429:44;;;;;819:8;166:3429;;;"},"methodIdentifiers":{"DYNAMIC_FEE_FLAG()":"f26ef49d","MAX_LP_FEE()":"3fc48eba","OVERRIDE_FEE_FLAG()":"3b01d64d","REMOVE_OVERRIDE_MASK()":"6f95ebcf"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"LPFeeTooLarge\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DYNAMIC_FEE_FLAG\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_LP_FEE\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OVERRIDE_FEE_FLAG\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REMOVE_OVERRIDE_MASK\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"errors\":{\"LPFeeTooLarge(uint24)\":[{\"notice\":\"Thrown when the static or dynamic fee on a pool exceeds 100%.\"}]},\"kind\":\"user\",\"methods\":{\"DYNAMIC_FEE_FLAG()\":{\"notice\":\"An lp fee of exactly 0b1000000... signals a dynamic fee pool. This isn't a valid static fee as it is > MAX_LP_FEE\"},\"MAX_LP_FEE()\":{\"notice\":\"the lp fee is represented in hundredths of a bip, so the max is 100%\"},\"OVERRIDE_FEE_FLAG()\":{\"notice\":\"the second bit of the fee returned by beforeSwap is used to signal if the stored LP fee should be overridden in this swap\"},\"REMOVE_OVERRIDE_MASK()\":{\"notice\":\"mask to remove the override fee flag from a fee returned by the beforeSwaphook\"}},\"notice\":\"Library of helper functions for a pools LP fee\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol\":\"LPFeeLibrary\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol\":{\"keccak256\":\"0xbf6914e01014e7c1044111feb7df7a3d96bb503b3da827ad8464b1955580d13b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33823c20a91882c9aacdcbb02f0558c05209f4d5954aa6dd4fa17c95664db475\",\"dweb:/ipfs/QmR7owkFgpfztpp1QUg3ut3nw9iPVQqLGP4hzgmZtRUQ2J\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/LiquidityMath.sol":{"LiquidityMath":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"95:646:45:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"95:646:45:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Math library for liquidity\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/LiquidityMath.sol\":\"LiquidityMath\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/LiquidityMath.sol\":{\"keccak256\":\"0x000ef2eadcc1eb7b2c18a77655f94e76e0e860f605783484657ef65fd6eda353\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a766b620a7a22798b43c6c1f23b5c6cff0ebf588deb89842bad05208d448cd99\",\"dweb:/ipfs/QmVKjaFJdzkqA3ey2Byum8iTCMssWVD8MmVC8rw62Tj5WD\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/Lock.sol":{"Lock":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"252:677:46:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"252:677:46:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"This is a temporary library that allows us to use transient storage (tstore/tload) TODO: This library can be deleted when we have the transient keyword support in solidity.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/Lock.sol\":\"Lock\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/Lock.sol\":{\"keccak256\":\"0x9338be4b5695f1da5f3d3f7a3eeaf7a356c1045458289586ac0cbe9cef77c6d5\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://485ec42ed6155469d612a9a0c18068ebfbad74448792a338a435503de3ef1b2c\",\"dweb:/ipfs/QmVnnv5u74MYatfRmBgrcfFYQcsMAJMG9jQ6ju8UiydKNF\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol":{"NonzeroDeltaCount":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"285:1174:47:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"285:1174:47:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"This is a temporary library that allows us to use transient storage (tstore/tload) for the nonzero delta count. TODO: This library can be deleted when we have the transient keyword support in solidity.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol\":\"NonzeroDeltaCount\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol\":{\"keccak256\":\"0x0666ebd5d3528d7d52c48538296367a4cff97a578cf13365c51983fae3219b87\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d27f1be3bd09d85c53d3e6a539dd6529ddd8b2b764ccb47fd7765fc81f9add59\",\"dweb:/ipfs/QmQdZujNXhKEXQBkKtF5jbdvo1yXMqPDUoBBaF9S5u3Kpm\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/ParseBytes.sol":{"ParseBytes":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"369:830:48:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"369:830:48:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"parseSelector also is used to parse the expected selector For parsing hook returns, note that all hooks return either bytes4 or (bytes4, 32-byte-delta) or (bytes4, 32-byte-delta, uint24).\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Parses bytes returned from hooks and the byte selector used to check return selectors from hooks.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/ParseBytes.sol\":\"ParseBytes\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/ParseBytes.sol\":{\"keccak256\":\"0x7533b13f53ee2c2c55500100b22ffd6e37e7523c27874edc98663d53a8672b15\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://82449058634fde28a085f3c59a6a5f412550c02181590593fd84c3e8b329aa17\",\"dweb:/ipfs/Qmev4E9Au6SsE4wsArChCwfg94KhHc5gYsEsZUnjF5sRLa\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/Pool.sol":{"Pool":{"abi":[{"inputs":[],"name":"InvalidFeeForExactOut","type":"error"},{"inputs":[],"name":"NoLiquidityToReceiveFees","type":"error"},{"inputs":[],"name":"PoolAlreadyInitialized","type":"error"},{"inputs":[],"name":"PoolNotInitialized","type":"error"},{"inputs":[{"internalType":"uint160","name":"sqrtPriceCurrentX96","type":"uint160"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"name":"PriceLimitAlreadyExceeded","type":"error"},{"inputs":[{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"name":"PriceLimitOutOfBounds","type":"error"},{"inputs":[{"internalType":"int24","name":"tick","type":"int24"}],"name":"TickLiquidityOverflow","type":"error"},{"inputs":[{"internalType":"int24","name":"tickLower","type":"int24"}],"name":"TickLowerOutOfBounds","type":"error"},{"inputs":[{"internalType":"int24","name":"tickUpper","type":"int24"}],"name":"TickUpperOutOfBounds","type":"error"},{"inputs":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"}],"name":"TicksMisordered","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"835:28894:49:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"835:28894:49:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidFeeForExactOut\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoLiquidityToReceiveFees\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolAlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolNotInitialized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPriceCurrentX96\",\"type\":\"uint160\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"name\":\"PriceLimitAlreadyExceeded\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"name\":\"PriceLimitOutOfBounds\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"TickLiquidityOverflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"}],\"name\":\"TickLowerOutOfBounds\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"}],\"name\":\"TickUpperOutOfBounds\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"}],\"name\":\"TicksMisordered\",\"type\":\"error\"}],\"devdoc\":{\"errors\":{\"PriceLimitAlreadyExceeded(uint160,uint160)\":[{\"params\":{\"sqrtPriceCurrentX96\":\"The invalid, already surpassed sqrtPriceLimitX96\",\"sqrtPriceLimitX96\":\"The surpassed price limit\"}}],\"PriceLimitOutOfBounds(uint160)\":[{\"params\":{\"sqrtPriceLimitX96\":\"The invalid, out-of-bounds sqrtPriceLimitX96\"}}],\"TickLowerOutOfBounds(int24)\":[{\"params\":{\"tickLower\":\"The invalid tickLower\"}}],\"TickUpperOutOfBounds(int24)\":[{\"params\":{\"tickUpper\":\"The invalid tickUpper\"}}],\"TicksMisordered(int24,int24)\":[{\"params\":{\"tickLower\":\"The invalid tickLower\",\"tickUpper\":\"The invalid tickUpper\"}}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"errors\":{\"InvalidFeeForExactOut()\":[{\"notice\":\"Thrown when trying to swap with max lp fee and specifying an output amount\"}],\"NoLiquidityToReceiveFees()\":[{\"notice\":\"Thrown by donate if there is currently 0 liquidity, since the fees will not go to any liquidity providers\"}],\"PoolAlreadyInitialized()\":[{\"notice\":\"Thrown when trying to initialize an already initialized pool\"}],\"PoolNotInitialized()\":[{\"notice\":\"Thrown when trying to interact with a non-initialized pool\"}],\"PriceLimitAlreadyExceeded(uint160,uint160)\":[{\"notice\":\"Thrown when sqrtPriceLimitX96 on a swap has already exceeded its limit\"}],\"PriceLimitOutOfBounds(uint160)\":[{\"notice\":\"Thrown when sqrtPriceLimitX96 lies outside of valid tick/price range\"}],\"TickLiquidityOverflow(int24)\":[{\"notice\":\"For the tick spacing, the tick has too much liquidity\"}],\"TickLowerOutOfBounds(int24)\":[{\"notice\":\"Thrown when tickLower is less than min tick\"}],\"TickUpperOutOfBounds(int24)\":[{\"notice\":\"Thrown when tickUpper exceeds max tick\"}],\"TicksMisordered(int24,int24)\":[{\"notice\":\"Thrown when tickLower is not below tickUpper\"}]},\"kind\":\"user\",\"methods\":{},\"notice\":\"a library with all actions that can be performed on a pool\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/Pool.sol\":\"Pool\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/BitMath.sol\":{\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e\",\"dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/FixedPoint128.sol\":{\"keccak256\":\"0xad236e10853f4b4b20a35a9bb52b857c4fc79874846b7e444e06ead7f2630542\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0de1f9a06520b1a689660943faa14fc0b8344ab41fab9e6012ea34bff4b9b3eb\",\"dweb:/ipfs/QmRNMPTyko7W6d6KxuTsnDBa9oZgDK4xiwRRq3H9ASTbwy\"]},\"@uniswap/v4-core/src/libraries/FixedPoint96.sol\":{\"keccak256\":\"0xef5c3fd41aee26bb12aa1c32873cfee88e67eddfe7c2b32283786265ac669741\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4de298d02f662a1c36c7be0a150f18c2a161408a5d3e48432e707efd01fac9a4\",\"dweb:/ipfs/QmSiM4oeMmLVKmAtJXz2feYkv4R9ZcyBpkTRW5Nhw5KDyJ\"]},\"@uniswap/v4-core/src/libraries/FullMath.sol\":{\"keccak256\":\"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3b2d66d36b1ad56b1ab6e2eb8a816740877b40b461c93f125e88621c8378e52\",\"dweb:/ipfs/QmPGvMZzKQvNiWKd8aRzzdW7oAizwrMgcMtnaworDkVHFC\"]},\"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol\":{\"keccak256\":\"0xbf6914e01014e7c1044111feb7df7a3d96bb503b3da827ad8464b1955580d13b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33823c20a91882c9aacdcbb02f0558c05209f4d5954aa6dd4fa17c95664db475\",\"dweb:/ipfs/QmR7owkFgpfztpp1QUg3ut3nw9iPVQqLGP4hzgmZtRUQ2J\"]},\"@uniswap/v4-core/src/libraries/LiquidityMath.sol\":{\"keccak256\":\"0x000ef2eadcc1eb7b2c18a77655f94e76e0e860f605783484657ef65fd6eda353\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a766b620a7a22798b43c6c1f23b5c6cff0ebf588deb89842bad05208d448cd99\",\"dweb:/ipfs/QmVKjaFJdzkqA3ey2Byum8iTCMssWVD8MmVC8rw62Tj5WD\"]},\"@uniswap/v4-core/src/libraries/Pool.sol\":{\"keccak256\":\"0x53cd1b8791274c3599ed62fb8d2eb428bfad6cefa2002b5e684250b89e681371\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://469124e41971bbd78107099961aaef5c6cb8035d236647f9e6ce2b0d9e1318cf\",\"dweb:/ipfs/QmWjfugsTJa8jB15dm6acpixXLgDoEMa1me9tMeEXxsazU\"]},\"@uniswap/v4-core/src/libraries/Position.sol\":{\"keccak256\":\"0xddab2a831f1befb6abf5567e77c4582169ca8156cf69eb4f22d8e87f7226a3f9\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c79fe61b50f3b70cff503abfa6f5643fcbefb9b794855bee1019b1e6d9c083b2\",\"dweb:/ipfs/QmbKmYNQesaMz8bo1b7TMHQcAwaDd3eDPrE5pAdPPZTtk5\"]},\"@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol\":{\"keccak256\":\"0xf483001899229ab10f5a626fe1c5866134d9e965b48ce6cf55ce0d7f74f7d8ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6ba9211a7f69bbb44649c35211eb29d193c09032ec600064ef9d04b4625dd8ba\",\"dweb:/ipfs/QmQSjQvtguYgMJSkkKRhHjxasfX9xfTbrbcZ1QmjUVb787\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol\":{\"keccak256\":\"0xf8079fe6e3460db495451d06b1705e18f1c4075c1af96a31ad313545f7082982\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://582fc51546723a0a8acccf782f69b530bacf9b3ef929458e82569b7121f0b138\",\"dweb:/ipfs/QmSBXcmqZdFsM7M4sRaiyQAxykCeMNFKyKgBcwSMTw1bcF\"]},\"@uniswap/v4-core/src/libraries/SwapMath.sol\":{\"keccak256\":\"0x6baa782ae523269c079cc763639a9b91a25fcfa1743c049c76e43741ef494bd9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://035c337e62e05262a5bd5d3bc85bc9a383c1013001216b429f49cf1e129a0812\",\"dweb:/ipfs/QmU7s4h58Fh2A6mM8yeorZ2ygwEJMQw8zdZLLkHeDoSWxD\"]},\"@uniswap/v4-core/src/libraries/TickBitmap.sol\":{\"keccak256\":\"0x6779f89e28a0b4af6e09d518caf014b7e8fc627400f5561f86fed11635b1458a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a64dee983106de3be3f968be94368c1e37592f5418aa2a39e8dd358d5a962b0d\",\"dweb:/ipfs/QmYuECZTiEeQVxDLYx6pBSSnVrg56Apw75bugQiM3FmGwy\"]},\"@uniswap/v4-core/src/libraries/TickMath.sol\":{\"keccak256\":\"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a79a57f7b240783b045168d1c4f774ac1812caf8f9a83cb6959a86b0b07b6c70\",\"dweb:/ipfs/QmTb5kvxwDNW8jDuQaqdJ445cCFejNkUqEB17Bjo8UBiva\"]},\"@uniswap/v4-core/src/libraries/UnsafeMath.sol\":{\"keccak256\":\"0xa6e55e0a43a15df2df471d9972cd48f613d07c663ecb8bbeaf7623f6f99bcce4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://02ea6e13879fc5a5f35149a2f1cd8af3a1f0877ff69101dad53841d16f515572\",\"dweb:/ipfs/QmcpL4gdG6hL2w1wqs2Vw4J1EFCwBs9T1Qd4p16CtECQkn\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/Slot0.sol\":{\"keccak256\":\"0x8b4912fac7e25ea680056748121113f902d56f8b2640f421d5c38d438db11c1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c19b1ff5b951fb54129268d2be37d82c8bb3ea6e29ac9bc78a8a37794fc082b8\",\"dweb:/ipfs/QmTAQ2mUoiT77hoWJAfn9pyoGy47qaevn45QHrbyovGt2C\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/Position.sol":{"Position":{"abi":[{"inputs":[],"name":"CannotUpdateEmptyPosition","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"456:4356:50:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"456:4356:50:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"CannotUpdateEmptyPosition\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Positions store additional state for tracking fees owed to the position\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Position\",\"version\":1},\"userdoc\":{\"errors\":{\"CannotUpdateEmptyPosition()\":[{\"notice\":\"Cannot update a position with no liquidity\"}]},\"kind\":\"user\",\"methods\":{},\"notice\":\"Positions represent an owner address' liquidity between a lower and upper tick boundary\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/Position.sol\":\"Position\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/FixedPoint128.sol\":{\"keccak256\":\"0xad236e10853f4b4b20a35a9bb52b857c4fc79874846b7e444e06ead7f2630542\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0de1f9a06520b1a689660943faa14fc0b8344ab41fab9e6012ea34bff4b9b3eb\",\"dweb:/ipfs/QmRNMPTyko7W6d6KxuTsnDBa9oZgDK4xiwRRq3H9ASTbwy\"]},\"@uniswap/v4-core/src/libraries/FullMath.sol\":{\"keccak256\":\"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3b2d66d36b1ad56b1ab6e2eb8a816740877b40b461c93f125e88621c8378e52\",\"dweb:/ipfs/QmPGvMZzKQvNiWKd8aRzzdW7oAizwrMgcMtnaworDkVHFC\"]},\"@uniswap/v4-core/src/libraries/LiquidityMath.sol\":{\"keccak256\":\"0x000ef2eadcc1eb7b2c18a77655f94e76e0e860f605783484657ef65fd6eda353\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a766b620a7a22798b43c6c1f23b5c6cff0ebf588deb89842bad05208d448cd99\",\"dweb:/ipfs/QmVKjaFJdzkqA3ey2Byum8iTCMssWVD8MmVC8rw62Tj5WD\"]},\"@uniswap/v4-core/src/libraries/Position.sol\":{\"keccak256\":\"0xddab2a831f1befb6abf5567e77c4582169ca8156cf69eb4f22d8e87f7226a3f9\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c79fe61b50f3b70cff503abfa6f5643fcbefb9b794855bee1019b1e6d9c083b2\",\"dweb:/ipfs/QmbKmYNQesaMz8bo1b7TMHQcAwaDd3eDPrE5pAdPPZTtk5\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol":{"ProtocolFeeLibrary":{"abi":[{"inputs":[],"name":"MAX_PROTOCOL_FEE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760489081601c823930815050f35b5f80fdfe60808060405260043610156011575f80fd5b5f3560e01c63b8ca3b83146023575f80fd5b5f366003190112603757806103e860209252f35b5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x48 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR PUSH4 0xB8CA3B83 EQ PUSH1 0x23 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x37 JUMPI DUP1 PUSH2 0x3E8 PUSH1 0x20 SWAP3 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"115:1997:51:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"60808060405260043610156011575f80fd5b5f3560e01c63b8ca3b83146023575f80fd5b5f366003190112603757806103e860209252f35b5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR PUSH4 0xB8CA3B83 EQ PUSH1 0x23 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x37 JUMPI DUP1 PUSH2 0x3E8 PUSH1 0x20 SWAP3 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"115:1997:51:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;115:1997:51;;;;;316:4;115:1997;;;;;;;"},"methodIdentifiers":{"MAX_PROTOCOL_FEE()":"b8ca3b83"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"MAX_PROTOCOL_FEE\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"MAX_PROTOCOL_FEE\":{\"details\":\"Increasing these values could lead to overflow in Pool.swap\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"MAX_PROTOCOL_FEE()\":{\"notice\":\"Max protocol fee is 0.1% (1000 pips)\"}},\"notice\":\"library of functions related to protocol fees\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol\":\"ProtocolFeeLibrary\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol\":{\"keccak256\":\"0xf483001899229ab10f5a626fe1c5866134d9e965b48ce6cf55ce0d7f74f7d8ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6ba9211a7f69bbb44649c35211eb29d193c09032ec600064ef9d04b4625dd8ba\",\"dweb:/ipfs/QmQSjQvtguYgMJSkkKRhHjxasfX9xfTbrbcZ1QmjUVb787\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/SafeCast.sol":{"SafeCast":{"abi":[{"inputs":[],"name":"SafeCastOverflow","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"201:2067:52:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"201:2067:52:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"SafeCastOverflow\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Safe casting methods\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Contains methods for safely casting between types\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/SafeCast.sol\":\"SafeCast\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol":{"SqrtPriceMath":{"abi":[{"inputs":[],"name":"InvalidPrice","type":"error"},{"inputs":[],"name":"InvalidPriceOrLiquidity","type":"error"},{"inputs":[],"name":"NotEnoughLiquidity","type":"error"},{"inputs":[],"name":"PriceOverflow","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"402:13673:53:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"402:13673:53:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidPrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPriceOrLiquidity\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotEnoughLiquidity\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PriceOverflow\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Functions based on Q64.96 sqrt price and liquidity\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol\":\"SqrtPriceMath\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/FixedPoint96.sol\":{\"keccak256\":\"0xef5c3fd41aee26bb12aa1c32873cfee88e67eddfe7c2b32283786265ac669741\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4de298d02f662a1c36c7be0a150f18c2a161408a5d3e48432e707efd01fac9a4\",\"dweb:/ipfs/QmSiM4oeMmLVKmAtJXz2feYkv4R9ZcyBpkTRW5Nhw5KDyJ\"]},\"@uniswap/v4-core/src/libraries/FullMath.sol\":{\"keccak256\":\"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3b2d66d36b1ad56b1ab6e2eb8a816740877b40b461c93f125e88621c8378e52\",\"dweb:/ipfs/QmPGvMZzKQvNiWKd8aRzzdW7oAizwrMgcMtnaworDkVHFC\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol\":{\"keccak256\":\"0xf8079fe6e3460db495451d06b1705e18f1c4075c1af96a31ad313545f7082982\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://582fc51546723a0a8acccf782f69b530bacf9b3ef929458e82569b7121f0b138\",\"dweb:/ipfs/QmSBXcmqZdFsM7M4sRaiyQAxykCeMNFKyKgBcwSMTw1bcF\"]},\"@uniswap/v4-core/src/libraries/UnsafeMath.sol\":{\"keccak256\":\"0xa6e55e0a43a15df2df471d9972cd48f613d07c663ecb8bbeaf7623f6f99bcce4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://02ea6e13879fc5a5f35149a2f1cd8af3a1f0877ff69101dad53841d16f515572\",\"dweb:/ipfs/QmcpL4gdG6hL2w1wqs2Vw4J1EFCwBs9T1Qd4p16CtECQkn\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/StateLibrary.sol":{"StateLibrary":{"abi":[{"inputs":[],"name":"FEE_GROWTH_GLOBAL0_OFFSET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIQUIDITY_OFFSET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOLS_SLOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POSITIONS_OFFSET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TICKS_OFFSET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TICK_BITMAP_OFFSET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460185760e4908161001d823930815050f35b5f80fdfe60808060405260043610156011575f80fd5b5f3560e01c9081632ba31c531460c45750806357eb1da71460af578063769323e314609a5780637d35604a146085578063b432004a1460705763ca24e3b5146057575f80fd5b5f366003190112606c57602060405160018152f35b5f80fd5b5f366003190112606c57602060405160038152f35b5f366003190112606c57602060405160058152f35b5f366003190112606c57602060405160048152f35b5f366003190112606c57602060405160068152f35b5f366003190112606c5780600660209252f3fea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x18 JUMPI PUSH1 0xE4 SWAP1 DUP2 PUSH2 0x1D DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x2BA31C53 EQ PUSH1 0xC4 JUMPI POP DUP1 PUSH4 0x57EB1DA7 EQ PUSH1 0xAF JUMPI DUP1 PUSH4 0x769323E3 EQ PUSH1 0x9A JUMPI DUP1 PUSH4 0x7D35604A EQ PUSH1 0x85 JUMPI DUP1 PUSH4 0xB432004A EQ PUSH1 0x70 JUMPI PUSH4 0xCA24E3B5 EQ PUSH1 0x57 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x6C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x6C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x3 DUP2 MSTORE RETURN JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x6C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x5 DUP2 MSTORE RETURN JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x6C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x4 DUP2 MSTORE RETURN JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x6C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x6 DUP2 MSTORE RETURN JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x6C JUMPI DUP1 PUSH1 0x6 PUSH1 0x20 SWAP3 MSTORE RETURN INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"276:15451:54:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"60808060405260043610156011575f80fd5b5f3560e01c9081632ba31c531460c45750806357eb1da71460af578063769323e314609a5780637d35604a146085578063b432004a1460705763ca24e3b5146057575f80fd5b5f366003190112606c57602060405160018152f35b5f80fd5b5f366003190112606c57602060405160038152f35b5f366003190112606c57602060405160058152f35b5f366003190112606c57602060405160048152f35b5f366003190112606c57602060405160068152f35b5f366003190112606c5780600660209252f3fea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x2BA31C53 EQ PUSH1 0xC4 JUMPI POP DUP1 PUSH4 0x57EB1DA7 EQ PUSH1 0xAF JUMPI DUP1 PUSH4 0x769323E3 EQ PUSH1 0x9A JUMPI DUP1 PUSH4 0x7D35604A EQ PUSH1 0x85 JUMPI DUP1 PUSH4 0xB432004A EQ PUSH1 0x70 JUMPI PUSH4 0xCA24E3B5 EQ PUSH1 0x57 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x6C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x6C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x3 DUP2 MSTORE RETURN JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x6C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x5 DUP2 MSTORE RETURN JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x6C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x4 DUP2 MSTORE RETURN JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x6C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x6 DUP2 MSTORE RETURN JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x6C JUMPI DUP1 PUSH1 0x6 PUSH1 0x20 SWAP3 MSTORE RETURN INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"276:15451:54:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;276:15451:54;;;;;;;536:1;276:15451;;;;;;;;;;-1:-1:-1;;276:15451:54;;;;;;;690:1;276:15451;;;;;;-1:-1:-1;;276:15451:54;;;;;;;940:1;276:15451;;;;;;-1:-1:-1;;276:15451:54;;;;;;;;;;;;;;-1:-1:-1;;276:15451:54;;;;;;;414:1;276:15451;;;;;;-1:-1:-1;;276:15451:54;;;;;1100:1;276:15451;;;"},"methodIdentifiers":{"FEE_GROWTH_GLOBAL0_OFFSET()":"ca24e3b5","LIQUIDITY_OFFSET()":"b432004a","POOLS_SLOT()":"57eb1da7","POSITIONS_OFFSET()":"2ba31c53","TICKS_OFFSET()":"769323e3","TICK_BITMAP_OFFSET()":"7d35604a"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"FEE_GROWTH_GLOBAL0_OFFSET\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LIQUIDITY_OFFSET\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOLS_SLOT\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POSITIONS_OFFSET\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TICKS_OFFSET\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TICK_BITMAP_OFFSET\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"FEE_GROWTH_GLOBAL0_OFFSET()\":{\"notice\":\"index of feeGrowthGlobal0X128 in Pool.State\"},\"LIQUIDITY_OFFSET()\":{\"notice\":\"index of liquidity in Pool.State\"},\"POOLS_SLOT()\":{\"notice\":\"index of pools mapping in the PoolManager\"},\"POSITIONS_OFFSET()\":{\"notice\":\"index of Position.State mapping in Pool.State: mapping(bytes32 => Position.State) positions;\"},\"TICKS_OFFSET()\":{\"notice\":\"index of TicksInfo mapping in Pool.State: mapping(int24 => TickInfo) ticks;\"},\"TICK_BITMAP_OFFSET()\":{\"notice\":\"index of tickBitmap mapping in Pool.State\"}},\"notice\":\"A helper library to provide state getters that use extsload\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/StateLibrary.sol\":\"StateLibrary\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/FixedPoint128.sol\":{\"keccak256\":\"0xad236e10853f4b4b20a35a9bb52b857c4fc79874846b7e444e06ead7f2630542\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0de1f9a06520b1a689660943faa14fc0b8344ab41fab9e6012ea34bff4b9b3eb\",\"dweb:/ipfs/QmRNMPTyko7W6d6KxuTsnDBa9oZgDK4xiwRRq3H9ASTbwy\"]},\"@uniswap/v4-core/src/libraries/FullMath.sol\":{\"keccak256\":\"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3b2d66d36b1ad56b1ab6e2eb8a816740877b40b461c93f125e88621c8378e52\",\"dweb:/ipfs/QmPGvMZzKQvNiWKd8aRzzdW7oAizwrMgcMtnaworDkVHFC\"]},\"@uniswap/v4-core/src/libraries/LiquidityMath.sol\":{\"keccak256\":\"0x000ef2eadcc1eb7b2c18a77655f94e76e0e860f605783484657ef65fd6eda353\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a766b620a7a22798b43c6c1f23b5c6cff0ebf588deb89842bad05208d448cd99\",\"dweb:/ipfs/QmVKjaFJdzkqA3ey2Byum8iTCMssWVD8MmVC8rw62Tj5WD\"]},\"@uniswap/v4-core/src/libraries/Position.sol\":{\"keccak256\":\"0xddab2a831f1befb6abf5567e77c4582169ca8156cf69eb4f22d8e87f7226a3f9\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c79fe61b50f3b70cff503abfa6f5643fcbefb9b794855bee1019b1e6d9c083b2\",\"dweb:/ipfs/QmbKmYNQesaMz8bo1b7TMHQcAwaDd3eDPrE5pAdPPZTtk5\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/StateLibrary.sol\":{\"keccak256\":\"0x4bbb1e816dd67fd4e958518ef50d216fcdab19912ab98c28d4c5279890c48c2c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eab2611adf69904cb0f326dbd82cdd6d1a09630dacace7f741e29c76836e41e8\",\"dweb:/ipfs/QmcCR78dZ8C7pF3DSDoWyYobX7aXkBNxbCmgenkqpgRrbT\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/SwapMath.sol":{"SwapMath":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"323:6644:55:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"323:6644:55:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"MAX_SWAP_FEE\":{\"details\":\"the swap fee is the total fee on a swap, including both LP and Protocol fee\"}},\"title\":\"Computes the result of a swap within ticks\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Contains methods for computing the result of a swap within a single tick price range, i.e., a single tick.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/SwapMath.sol\":\"SwapMath\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/FixedPoint96.sol\":{\"keccak256\":\"0xef5c3fd41aee26bb12aa1c32873cfee88e67eddfe7c2b32283786265ac669741\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4de298d02f662a1c36c7be0a150f18c2a161408a5d3e48432e707efd01fac9a4\",\"dweb:/ipfs/QmSiM4oeMmLVKmAtJXz2feYkv4R9ZcyBpkTRW5Nhw5KDyJ\"]},\"@uniswap/v4-core/src/libraries/FullMath.sol\":{\"keccak256\":\"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3b2d66d36b1ad56b1ab6e2eb8a816740877b40b461c93f125e88621c8378e52\",\"dweb:/ipfs/QmPGvMZzKQvNiWKd8aRzzdW7oAizwrMgcMtnaworDkVHFC\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol\":{\"keccak256\":\"0xf8079fe6e3460db495451d06b1705e18f1c4075c1af96a31ad313545f7082982\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://582fc51546723a0a8acccf782f69b530bacf9b3ef929458e82569b7121f0b138\",\"dweb:/ipfs/QmSBXcmqZdFsM7M4sRaiyQAxykCeMNFKyKgBcwSMTw1bcF\"]},\"@uniswap/v4-core/src/libraries/SwapMath.sol\":{\"keccak256\":\"0x6baa782ae523269c079cc763639a9b91a25fcfa1743c049c76e43741ef494bd9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://035c337e62e05262a5bd5d3bc85bc9a383c1013001216b429f49cf1e129a0812\",\"dweb:/ipfs/QmU7s4h58Fh2A6mM8yeorZ2ygwEJMQw8zdZLLkHeDoSWxD\"]},\"@uniswap/v4-core/src/libraries/UnsafeMath.sol\":{\"keccak256\":\"0xa6e55e0a43a15df2df471d9972cd48f613d07c663ecb8bbeaf7623f6f99bcce4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://02ea6e13879fc5a5f35149a2f1cd8af3a1f0877ff69101dad53841d16f515572\",\"dweb:/ipfs/QmcpL4gdG6hL2w1wqs2Vw4J1EFCwBs9T1Qd4p16CtECQkn\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/TickBitmap.sol":{"TickBitmap":{"abi":[{"inputs":[{"internalType":"int24","name":"tick","type":"int24"},{"internalType":"int24","name":"tickSpacing","type":"int24"}],"name":"TickMisaligned","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"340:5925:56:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"340:5925:56:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"TickMisaligned\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"The mapping uses int16 for keys since ticks are represented as int24 and there are 256 (2^8) values per word.\",\"errors\":{\"TickMisaligned(int24,int24)\":[{\"params\":{\"tick\":\"the invalid tick\",\"tickSpacing\":\"The tick spacing of the pool\"}}]},\"kind\":\"dev\",\"methods\":{},\"title\":\"Packed tick initialized state library\",\"version\":1},\"userdoc\":{\"errors\":{\"TickMisaligned(int24,int24)\":[{\"notice\":\"Thrown when the tick is not enumerated by the tick spacing\"}]},\"kind\":\"user\",\"methods\":{},\"notice\":\"Stores a packed mapping of tick index to its initialized state\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/TickBitmap.sol\":\"TickBitmap\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/BitMath.sol\":{\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e\",\"dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi\"]},\"@uniswap/v4-core/src/libraries/TickBitmap.sol\":{\"keccak256\":\"0x6779f89e28a0b4af6e09d518caf014b7e8fc627400f5561f86fed11635b1458a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a64dee983106de3be3f968be94368c1e37592f5418aa2a39e8dd358d5a962b0d\",\"dweb:/ipfs/QmYuECZTiEeQVxDLYx6pBSSnVrg56Apw75bugQiM3FmGwy\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/TickMath.sol":{"TickMath":{"abi":[{"inputs":[{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"InvalidSqrtPrice","type":"error"},{"inputs":[{"internalType":"int24","name":"tick","type":"int24"}],"name":"InvalidTick","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"381:12000:57:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"381:12000:57:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"InvalidSqrtPrice\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"InvalidTick\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"MAX_SQRT_PRICE\":{\"details\":\"The maximum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MAX_TICK)\"},\"MAX_SQRT_PRICE_MINUS_MIN_SQRT_PRICE_MINUS_ONE\":{\"details\":\"A threshold used for optimized bounds check, equals `MAX_SQRT_PRICE - MIN_SQRT_PRICE - 1`\"},\"MAX_TICK\":{\"details\":\"The maximum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**128If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\"},\"MAX_TICK_SPACING\":{\"details\":\"The maximum tick spacing value drawn from the range of type int16, i.e. max from the range [1, 32767]\"},\"MIN_SQRT_PRICE\":{\"details\":\"The minimum value that can be returned from #getSqrtPriceAtTick. Equivalent to getSqrtPriceAtTick(MIN_TICK)\"},\"MIN_TICK\":{\"details\":\"The minimum tick that may be passed to #getSqrtPriceAtTick computed from log base 1.0001 of 2**-128If ever MIN_TICK and MAX_TICK are not centered around 0, the absTick logic in getSqrtPriceAtTick cannot be used\"},\"MIN_TICK_SPACING\":{\"details\":\"The minimum tick spacing value drawn from the range of type int16 that is greater than 0, i.e. min from the range [1, 32767]\"}},\"title\":\"Math library for computing sqrt prices from ticks and vice versa\",\"version\":1},\"userdoc\":{\"errors\":{\"InvalidSqrtPrice(uint160)\":[{\"notice\":\"Thrown when the price passed to #getTickAtSqrtPrice does not correspond to a price between MIN_TICK and MAX_TICK\"}],\"InvalidTick(int24)\":[{\"notice\":\"Thrown when the tick passed to #getSqrtPriceAtTick is not between MIN_TICK and MAX_TICK\"}]},\"kind\":\"user\",\"methods\":{},\"notice\":\"Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports prices between 2**-128 and 2**128\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/TickMath.sol\":\"TickMath\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/BitMath.sol\":{\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e\",\"dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/TickMath.sol\":{\"keccak256\":\"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a79a57f7b240783b045168d1c4f774ac1812caf8f9a83cb6959a86b0b07b6c70\",\"dweb:/ipfs/QmTb5kvxwDNW8jDuQaqdJ445cCFejNkUqEB17Bjo8UBiva\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol":{"TransientStateLibrary":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"389:1971:58:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"389:1971:58:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"A helper library to provide state getters that use exttload\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\":\"TransientStateLibrary\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CurrencyReserves.sol\":{\"keccak256\":\"0x1576616129933fcdf3b684cea33cffd9c95e18fafbd2832a8c48ac3d8526d4c3\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://33b050efb9b81803b18f562271e7cca2ec5362c4d505860d6419b4a345636725\",\"dweb:/ipfs/QmQtFtTwKZ5pFVGD2ENDUXvp7ECFvzqeCuJ1miJcUHdmiX\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/Lock.sol\":{\"keccak256\":\"0x9338be4b5695f1da5f3d3f7a3eeaf7a356c1045458289586ac0cbe9cef77c6d5\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://485ec42ed6155469d612a9a0c18068ebfbad74448792a338a435503de3ef1b2c\",\"dweb:/ipfs/QmVnnv5u74MYatfRmBgrcfFYQcsMAJMG9jQ6ju8UiydKNF\"]},\"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol\":{\"keccak256\":\"0x0666ebd5d3528d7d52c48538296367a4cff97a578cf13365c51983fae3219b87\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d27f1be3bd09d85c53d3e6a539dd6529ddd8b2b764ccb47fd7765fc81f9add59\",\"dweb:/ipfs/QmQdZujNXhKEXQBkKtF5jbdvo1yXMqPDUoBBaF9S5u3Kpm\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\":{\"keccak256\":\"0x7d1e0875747bd89b32c25f1a48da2766e5f4aff1f671ad5f3c0c07ebbbcb946a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d76cfeb1cb60595b41ecc51c8a12fb4bf63a7fc733d0b1a2e3adb55abeb1f9d5\",\"dweb:/ipfs/Qmb8oX7DtsRpw3tTtdWZwGhauj1evq43d3PLwe4nSDAKkV\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]}},\"version\":1}"}},"@uniswap/v4-core/src/libraries/UnsafeMath.sol":{"UnsafeMath":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"230:934:59:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"230:934:59:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Math functions that do not check inputs or outputs\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Contains methods that perform common math functions but do not do any overflow or underflow checks\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/libraries/UnsafeMath.sol\":\"UnsafeMath\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/UnsafeMath.sol\":{\"keccak256\":\"0xa6e55e0a43a15df2df471d9972cd48f613d07c663ecb8bbeaf7623f6f99bcce4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://02ea6e13879fc5a5f35149a2f1cd8af3a1f0877ff69101dad53841d16f515572\",\"dweb:/ipfs/QmcpL4gdG6hL2w1wqs2Vw4J1EFCwBs9T1Qd4p16CtECQkn\"]}},\"version\":1}"}},"@uniswap/v4-core/src/types/BalanceDelta.sol":{"BalanceDeltaLibrary":{"abi":[{"inputs":[],"name":"ZERO_DELTA","outputs":[{"internalType":"BalanceDelta","name":"","type":"int256"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760469081601c823930815050f35b5f80fdfe60808060405260043610156011575f80fd5b5f3560e01c6391cb4669146023575f80fd5b5f366003190112603557805f60209252f35b5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x46 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR PUSH4 0x91CB4669 EQ PUSH1 0x23 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x35 JUMPI DUP1 PUSH0 PUSH1 0x20 SWAP3 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"1819:519:60:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"60808060405260043610156011575f80fd5b5f3560e01c6391cb4669146023575f80fd5b5f366003190112603557805f60209252f35b5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR PUSH4 0x91CB4669 EQ PUSH1 0x23 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x35 JUMPI DUP1 PUSH0 PUSH1 0x20 SWAP3 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"1819:519:60:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1819:519:60;;;;;;;;;;;;;"},"methodIdentifiers":{"ZERO_DELTA()":"91cb4669"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ZERO_DELTA\",\"outputs\":[{\"internalType\":\"BalanceDelta\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"ZERO_DELTA()\":{\"notice\":\"A BalanceDelta of 0\"}},\"notice\":\"Library for getting the amount0 and amount1 deltas from the BalanceDelta type\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/types/BalanceDelta.sol\":\"BalanceDeltaLibrary\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]}},\"version\":1}"}},"@uniswap/v4-core/src/types/BeforeSwapDelta.sol":{"BeforeSwapDeltaLibrary":{"abi":[{"inputs":[],"name":"ZERO_DELTA","outputs":[{"internalType":"BeforeSwapDelta","name":"","type":"int256"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760469081601c823930815050f35b5f80fdfe60808060405260043610156011575f80fd5b5f3560e01c6391cb4669146023575f80fd5b5f366003190112603557805f60209252f35b5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x46 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR PUSH4 0x91CB4669 EQ PUSH1 0x23 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x35 JUMPI DUP1 PUSH0 PUSH1 0x20 SWAP3 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"688:777:61:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"60808060405260043610156011575f80fd5b5f3560e01c6391cb4669146023575f80fd5b5f366003190112603557805f60209252f35b5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR PUSH4 0x91CB4669 EQ PUSH1 0x23 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x35 JUMPI DUP1 PUSH0 PUSH1 0x20 SWAP3 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"688:777:61:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;688:777:61;;;;;;;;;;;;;"},"methodIdentifiers":{"ZERO_DELTA()":"91cb4669"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ZERO_DELTA\",\"outputs\":[{\"internalType\":\"BeforeSwapDelta\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"ZERO_DELTA()\":{\"notice\":\"A BeforeSwapDelta of 0\"}},\"notice\":\"Library for getting the specified and unspecified deltas from the BeforeSwapDelta type\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":\"BeforeSwapDeltaLibrary\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]}},\"version\":1}"}},"@uniswap/v4-core/src/types/Currency.sol":{"CurrencyLibrary":{"abi":[{"inputs":[],"name":"ERC20TransferFailed","type":"error"},{"inputs":[],"name":"NativeTransferFailed","type":"error"},{"inputs":[],"name":"ADDRESS_ZERO","outputs":[{"internalType":"Currency","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760469081601c823930815050f35b5f80fdfe60808060405260043610156011575f80fd5b5f3560e01c6366e79509146023575f80fd5b5f366003190112603557805f60209252f35b5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x46 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR PUSH4 0x66E79509 EQ PUSH1 0x23 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x35 JUMPI DUP1 PUSH0 PUSH1 0x20 SWAP3 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"1059:4398:62:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"60808060405260043610156011575f80fd5b5f3560e01c6366e79509146023575f80fd5b5f366003190112603557805f60209252f35b5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR PUSH4 0x66E79509 EQ PUSH1 0x23 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x35 JUMPI DUP1 PUSH0 PUSH1 0x20 SWAP3 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"1059:4398:62:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1059:4398:62;;;;;;;;;;;;;"},"methodIdentifiers":{"ADDRESS_ZERO()":"66e79509"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ERC20TransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NativeTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ADDRESS_ZERO\",\"outputs\":[{\"internalType\":\"Currency\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This library allows for transferring and holding native tokens and ERC20 tokens\",\"kind\":\"dev\",\"methods\":{},\"title\":\"CurrencyLibrary\",\"version\":1},\"userdoc\":{\"errors\":{\"ERC20TransferFailed()\":[{\"notice\":\"Additional context for ERC-7751 wrapped error when an ERC20 transfer fails\"}],\"NativeTransferFailed()\":[{\"notice\":\"Additional context for ERC-7751 wrapped error when a native transfer fails\"}]},\"kind\":\"user\",\"methods\":{\"ADDRESS_ZERO()\":{\"notice\":\"A constant to represent the native currency\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/types/Currency.sol\":\"CurrencyLibrary\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]}},\"version\":1}"}},"@uniswap/v4-core/src/types/PoolId.sol":{"PoolIdLibrary":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"173:365:63:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"173:365:63:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Library for computing the ID of a pool\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/types/PoolId.sol\":\"PoolIdLibrary\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]}},\"version\":1}"}},"@uniswap/v4-core/src/types/Slot0.sol":{"Slot0Library":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"1058:2345:65:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"1058:2345:65:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Library for getting and setting values in the Slot0 type\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-core/src/types/Slot0.sol\":\"Slot0Library\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/types/Slot0.sol\":{\"keccak256\":\"0x8b4912fac7e25ea680056748121113f902d56f8b2640f421d5c38d438db11c1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c19b1ff5b951fb54129268d2be37d82c8bb3ea6e29ac9bc78a8a37794fc082b8\",\"dweb:/ipfs/QmTAQ2mUoiT77hoWJAfn9pyoGy47qaevn45QHrbyovGt2C\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/PositionManager.sol":{"PositionManager":{"abi":[{"inputs":[{"internalType":"contract IPoolManager","name":"_poolManager","type":"address"},{"internalType":"contract IAllowanceTransfer","name":"_permit2","type":"address"},{"internalType":"uint256","name":"_unsubscribeGasLimit","type":"uint256"},{"internalType":"contract IPositionDescriptor","name":"_tokenDescriptor","type":"address"},{"internalType":"contract IWETH9","name":"_weth9","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"subscriber","type":"address"}],"name":"AlreadySubscribed","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"BurnNotificationReverted","type":"error"},{"inputs":[],"name":"ContractLocked","type":"error"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"DeadlinePassed","type":"error"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotNegative","type":"error"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotPositive","type":"error"},{"inputs":[],"name":"GasLimitTooLow","type":"error"},{"inputs":[],"name":"InputLengthMismatch","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidContractSignature","type":"error"},{"inputs":[],"name":"InvalidEthSender","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"InvalidSignatureLength","type":"error"},{"inputs":[],"name":"InvalidSigner","type":"error"},{"inputs":[{"internalType":"uint128","name":"maximumAmount","type":"uint128"},{"internalType":"uint128","name":"amountRequested","type":"uint128"}],"name":"MaximumAmountExceeded","type":"error"},{"inputs":[{"internalType":"uint128","name":"minimumAmount","type":"uint128"},{"internalType":"uint128","name":"amountReceived","type":"uint128"}],"name":"MinimumAmountInsufficient","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"ModifyLiquidityNotificationReverted","type":"error"},{"inputs":[],"name":"NoCodeSubscriber","type":"error"},{"inputs":[],"name":"NoSelfPermit","type":"error"},{"inputs":[],"name":"NonceAlreadyUsed","type":"error"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"NotApproved","type":"error"},{"inputs":[],"name":"NotPoolManager","type":"error"},{"inputs":[],"name":"NotSubscribed","type":"error"},{"inputs":[],"name":"PoolManagerMustBeLocked","type":"error"},{"inputs":[],"name":"SignatureDeadlineExpired","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"SubscriptionReverted","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[{"internalType":"uint256","name":"action","type":"uint256"}],"name":"UnsupportedAction","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"subscriber","type":"address"}],"name":"Subscription","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"subscriber","type":"address"}],"name":"Unsubscription","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH9","outputs":[{"internalType":"contract IWETH9","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPoolAndPositionInfo","outputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"poolKey","type":"tuple"},{"internalType":"PositionInfo","name":"info","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPositionLiquidity","outputs":[{"internalType":"uint128","name":"liquidity","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"initializePool","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"unlockData","type":"bytes"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"modifyLiquidities","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"actions","type":"bytes"},{"internalType":"bytes[]","name":"params","type":"bytes[]"}],"name":"modifyLiquiditiesWithoutUnlock","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"msgSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"word","type":"uint256"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"bitmap","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails","name":"details","type":"tuple"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle","name":"permitSingle","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[{"internalType":"bytes","name":"err","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"permit2","outputs":[{"internalType":"contract IAllowanceTransfer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails[]","name":"details","type":"tuple[]"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitBatch","name":"_permitBatch","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitBatch","outputs":[{"internalType":"bytes","name":"err","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitForAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes25","name":"poolId","type":"bytes25"}],"name":"poolKeys","outputs":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"positionInfo","outputs":[{"internalType":"PositionInfo","name":"info","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"revokeNonce","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"newSubscriber","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"subscribe","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"subscriber","outputs":[{"internalType":"contract ISubscriber","name":"subscriber","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenDescriptor","outputs":[{"internalType":"contract IPositionDescriptor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlockCallback","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unsubscribe","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"unsubscribeGasLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"evm":{"bytecode":{"functionDebugData":{"finalize_allocation":{"entryPoint":1338,"id":null,"parameterSlots":2,"returnSlots":0}},"generatedSources":[],"linkReferences":{},"object":"61018080604052346105365760a081614fd28038038091610020828561053a565b8339810103126105365780516001600160a01b03811681036105365760208201516001600160a01b03811681036105365760408301516060840151936001600160a01b03851685036105365760800151926001600160a01b03841684036105365760405161008f60408261053a565b6018815260208101907f556e697377617020763420506f736974696f6e73204e4654000000000000000082526040516100c960408261053a565b600b81526a554e492d56342d504f534d60a81b602082015281516001600160401b03811161044a575f54600181811c9116801561052c575b602082101461042c57601f81116104ca575b50806020601f8211600114610469575f9161045e575b508160011b915f199060031b1c1916175f555b8051906001600160401b03821161044a5760015490600182811c92168015610440575b602083101461042c5781601f8493116103be575b50602090601f8311600114610358575f9261034d575b50508160011b915f199060031b1c1916176001555b5190208060c0524660a05260405160208101917f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86683526040820152466060820152306080820152608081526101f460a08261053a565b51902060805260e052610100526101205261014052600160085561016052604051614a74908161055e823960805181611ecd015260a05181611ea7015260c05181611f1c015260e0518181816109a901528181610c1b01528181610e5e01528181611494015281816117c20152818161185601528181611b1401528181611bce0152818161228d01528181612341015281816126aa01528181613128015281816131db0152818161326201528181613337015281816135c4015281816137bf01528181613b6601528181613cca01528181613e0501528181613ebc01528181613f3b015261460b01526101005181818161104d01526128dc015261012051818181610386015281816108bf01528181610b410152613eed015261014051818181611085015281816122f801528181612eba01528181612f1601528181612fe9015261305901526101605181818161122a0152611a340152f35b015190505f80610189565b60015f9081528281209350601f198516905b8181106103a6575090846001959493921061038e575b505050811b0160015561019e565b01515f1960f88460031b161c191690555f8080610380565b9293602060018192878601518155019501930161036a565b60015f529091507fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6601f840160051c81019160208510610422575b90601f859493920160051c01905b8181106104145750610173565b5f8155849350600101610407565b90915081906103f9565b634e487b7160e01b5f52602260045260245ffd5b91607f169161015f565b634e487b7160e01b5f52604160045260245ffd5b90508301515f610129565b5f8080528181209250601f198416905b8181106104b25750908360019493921061049a575b5050811b015f5561013c565b8501515f1960f88460031b161c191690555f8061048e565b9192602060018192868a015181550194019201610479565b5f80527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563601f830160051c81019160208410610522575b601f0160051c01905b8181106105175750610113565b5f815560010161050a565b9091508190610501565b90607f1690610101565b5f80fd5b601f909101601f19168101906001600160401b0382119082101761044a5760405256fe60806040526004361015610022575b3615610018575f80fd5b6100206122f5565b005b5f3560e01c80622a3e3a1461029057806301ffc9a71461028b57806305c1ee201461028657806306fdde0314610281578063081812fc1461027c578063095ea7b3146102775780630f5730f11461027257806312261ee71461026d57806316a24131146102685780631efeed331461026357806323b872dd1461025e5780632b67b570146102595780632b9261de146102545780633644e5151461024f5780633aea60f01461024a57806342842e0e146102455780634767565f146102405780634aa4a4fc1461023b5780634afe393c14610236578063502e1a16146102315780635a9d7a681461022c5780636352211e1461022757806370a082311461022257806375794a3c1461021d5780637ba03aad1461021857806386b6be7d1461021357806389097a6a1461020e57806391dd73461461020957806395d89b4114610204578063a22cb465146101ff578063ac9650d8146101fa578063ad0b27fb146101f5578063b88d4fde146101f0578063c87b56dd146101eb578063d737d0c7146101e6578063dc4c90d3146101e1578063dd46508f146101dc578063e985e9c5146101d75763f70204050361000e57611cc3565b611c6c565b611b43565b611aff565b611acd565b6119fe565b611802565b6117ae565b6116d0565b61163e565b611589565b611461565b611437565b6113b3565b611369565b611309565b611289565b611259565b611215565b6111cc565b6110e4565b611070565b611036565b610e4b565b610d74565b610d43565b610bd9565b610af6565b610995565b610920565b6108ee565b6108aa565b6107b7565b61073a565b610708565b6105f0565b610577565b610509565b610328565b6001600160a01b031690565b6001600160a01b038116036102b257565b5f80fd5b35906102c1826102a1565b565b9181601f840112156102b2578235916001600160401b0383116102b257602083818601950101116102b257565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9060206103259281815201906102f0565b90565b60603660031901126102b257600435610340816102a1565b602435906001600160401b0382116102b2578136039160606003198401126102b2576044356001600160401b0381116102b2576103819036906004016102c3565b6060947f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031693909290843b156102b257604051632a2d80d160e01b81526001600160a01b039096166004808801919091526060602488015260c48701949082013590602219018112156102b25781016024600482013591019460018060401b0382116102b2578160071b360386136102b25760606064890152819052869460e48601949392915f5b8181106104cf575050506104805f96948694889460448561046861045860248b99016102b6565b6001600160a01b03166084890152565b013560a4860152848303600319016044860152611dd6565b03925af190816104b5575b506104ac57506104a861049c611e3f565b60405191829182610314565b0390f35b6104a89061049c565b806104c35f6104c9936105cd565b8061058f565b5f61048b565b91965091929394608080826104e66001948b611d77565b019701910191889695949392610431565b6001600160e01b03198116036102b257565b346102b25760203660031901126102b2576020600435610528816104f7565b63ffffffff60e01b166301ffc9a760e01b8114908115610566575b8115610555575b506040519015158152f35b635b5e139f60e01b1490505f61054a565b6380ac58cd60e01b81149150610543565b60203660031901126102b25761002060043533612370565b5f9103126102b257565b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b038211176105c857604052565b610599565b601f909101601f19168101906001600160401b038211908210176105c857604052565b346102b2575f3660031901126102b2576040515f80548060011c90600181169081156106c6575b6020831082146106b25782855260208501919081156106995750600114610649575b6104a88461049c818603826105cd565b5f8080529250907f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b8184106106855750500161049c82610639565b805484840152602090930192600101610672565b60ff191682525090151560051b01905061049c82610639565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610617565b5f52600260205260405f2090565b5f52600460205260405f2090565b5f52600960205260405f2090565b5f52600760205260405f2090565b346102b25760203660031901126102b2576004355f526004602052602060018060a01b0360405f205416604051908152f35b346102b25760403660031901126102b257600435610757816102a1565b6024355f818152600260205260409020546001600160a01b0316913383141580610797575b61078957610020926123b6565b6282b42960e81b5f5260045ffd5b50825f52600560205260ff6107af3360405f206111b7565b54161561077c565b60a03660031901126102b2576004356107cf816102a1565b60243560443591606435926084356001600160401b0381116102b2576107f99036906004016102c3565b9482421161089b5761089085610896936100209861088a885f80998682526002602052818960018060a01b036040832054169c8d9981604051977f49ecf333e5b8c95c40fdafc95c1ad136e8914a8fb55e9dc8bb01eaa83a2df9ad8952602089019060018060a01b031681526040890192835260608901948552608089019687528160a08a209952525252526123ff565b91612484565b82612370565b6123b6565b635a9165ff60e01b5f5260045ffd5b346102b2575f3660031901126102b2576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346102b25760203660031901126102b2576004355f526007602052602060018060a01b0360405f205416604051908152f35b346102b25760203660031901126102b257602061095760043561094281612011565b919082851c60020b9260081c60020b91612618565b6040516001600160801b039091168152f35b60609060031901126102b257600435610981816102a1565b9060243561098e816102a1565b9060443590565b346102b2576109a336610969565b916109cd7f000000000000000000000000000000000000000000000000000000000000000061272d565b610ae7578291610a6c6109f76109f26109e5866106d0565b546001600160a01b031690565b610295565b6001600160a01b0384169290610a0e9084146127a9565b6001600160a01b03811693610a4790610a288615156127e2565b8433148015610acc575b8015610ab0575b610a4290612822565b61119e565b80545f19019055610a578161119e565b80546001019055610a67856106d0565b611e6e565b610a7d610a78846106de565b61285f565b5f80516020614a488339815191525f80a4610aa1610a9a826106ec565b5460ff1690565b610aa757005b6100209061286f565b50610a42610ac36109f26109e58a6106de565b33149050610a39565b50610ae2610a9a33610add84611185565b6111b7565b610a32565b6306a582ff60e51b5f5260045ffd5b6101003660031901126102b257600435610b0f816102a1565b60c03660231901126102b25760e4356001600160401b0381116102b257610b3a9036906004016102c3565b60609290917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156102b257610480935f8094604051968795869485936302b67b5760e41b855260018060a01b03166004850152610ba460248501611d0b565b60a435610bb0816102a1565b6001600160a01b031660a485015260c43560c485015261010060e4850152610104840191611dd6565b60603660031901126102b257602435600435610bf4826102a1565b6044356001600160401b0381116102b257610c139036906004016102c3565b610c3f9391937f000000000000000000000000000000000000000000000000000000000000000061272d565b610ae757610c4d833361295f565b15610d30576001600160a01b03610c666109e5856106fa565b1680610d0d57505f83815260096020526040902080546001179055610cdd90610cd9906001600160a01b03841695610cd390610ca588610a67896106fa565b610cc56040519384926346abfb5960e11b60208501528960248501611e8d565b03601f1981018352826105cd565b836129e5565b1590565b610d0857507f9709492381f90bdc5938bb4e3b8e35b7e0eac8af058619e27191c5a40ce79fa95f80a3005b612a0d565b6312fdec5f60e11b5f5260048490526001600160a01b031660245260445ffd5b5ffd5b6301952d1b60e31b5f523360045260245ffd5b346102b2575f3660031901126102b2576020610d5d611ea4565b604051908152f35b6044359081151582036102b257565b60c03660031901126102b257600435610d8c816102a1565b602435610d98816102a1565b610da0610d65565b906064359260843560a4356001600160401b0381116102b257610dc79036906004016102c3565b86929192421161089b5783610e46936108909261088a885f6100209c8189818f81604051977f6673cb397ee2a50b6b8401653d3638b4ac8b3db9c28aa6870ffceb7574ec2f768952602089019060018060a01b03168152600160408a019316835260608901948552608089019687528160a08a209952525252526123ff565b612bbd565b346102b257610e5936610969565b610e827f000000000000000000000000000000000000000000000000000000000000000061272d565b610ae757610e956109f26109e5836106d0565b6001600160a01b0384169290610eac9084146127a9565b6001600160a01b0381169282908490610ec68215156127e2565b8033148015611020575b8015611004575b610ee090612822565b610ee98761119e565b80545f19019055610ef98461119e565b80546001019055610f0d84610a67856106d0565b610f19610a78846106de565b5f80516020614a488339815191525f80a4610f36610a9a836106ec565b610ff6575b3b15918215610f4e575b61002083611f76565b604051630a85bd0160e11b81523360048201526001600160a01b039490941660248501526044840191909152608060648401525f6084840181905260209250839160a49183915af18015610ff157610020915f91610fc2575b506001600160e01b031916630a85bd0160e11b145f80610f45565b610fe4915060203d602011610fea575b610fdc81836105cd565b810190611f61565b5f610fa7565b503d610fd2565b611df6565b610fff8261286f565b610f3b565b50610ee06110176109f26109e5866106de565b33149050610ed7565b50611031610a9a33610add8a611185565b610ed0565b346102b2575f3660031901126102b25760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b346102b2575f3660031901126102b2576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b9181601f840112156102b2578235916001600160401b0383116102b2576020808501948460051b0101116102b257565b60403660031901126102b2576004356001600160401b0381116102b25761110f9036906004016102c3565b6024356001600160401b0381116102b25761112e9036906004016110b4565b915f80516020614a288339815191525c6001600160a01b03166111765761116493335f80516020614a288339815191525d612c36565b5f5f80516020614a288339815191525d005b6337affdbf60e11b5f5260045ffd5b6001600160a01b03165f90815260056020526040902090565b6001600160a01b03165f90815260036020526040902090565b9060018060a01b03165f5260205260405f2090565b346102b25760403660031901126102b2576004356111e9816102a1565b6024359060018060a01b03165f52600660205260405f20905f52602052602060405f2054604051908152f35b346102b2575f3660031901126102b2576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346102b25760203660031901126102b2576020611277600435611fee565b6040516001600160a01b039091168152f35b346102b25760203660031901126102b2576004356112a6816102a1565b6001600160a01b031680156112d5575f5260036020526104a860405f2054604051918291829190602083019252565b60405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b6044820152606490fd5b346102b2575f3660031901126102b2576020600854604051908152f35b80516001600160a01b03908116835260208083015182169084015260408083015162ffffff169084015260608083015160020b9084015260809182015116910152565b346102b25760203660031901126102b25760c0611387600435612011565b6113946040518093611326565b60a0820152f35b66ffffffffffffff19165f52600a60205260405f2090565b346102b25760203660031901126102b25760043566ffffffffffffff1981168091036102b2575f908152600a60209081526040918290208054600182015460029283015485516001600160a01b0393841681528383169581019590955260a082811c62ffffff169686019690965260b89190911c90920b6060840152166080820152f35b346102b25760203660031901126102b2576004355f526009602052602060405f2054604051908152f35b346102b25760203660031901126102b2576004356001600160401b0381116102b2576114919036906004016102c3565b907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361157a5760408135189063ffffffff60408201351663ffffffe0601f8201169260608401602084013518179282019260608401359483641fffffffe08760051b16805f905b8881831061154b579050608092915001019101101761153e576060608063ffffffff611533961694019201612c36565b6104a861049c611e2b565b633b99b53d5f526004601cfd5b8294509263ffffffe0601f60808060209687969801013599848b1817998d010135011601019201869291611503565b63570c108560e11b5f5260045ffd5b346102b2575f3660031901126102b2576040515f6001548060011c9060018116908115611634575b6020831082146106b257828552602085019190811561069957506001146115e2576104a88461049c818603826105cd565b60015f9081529250907fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b8184106116205750500161049c82610639565b80548484015260209093019260010161160d565b91607f16916115b1565b346102b25760403660031901126102b25760043561165b816102a1565b60243580151581036102b2576100209133612bbd565b602081016020825282518091526040820191602060408360051b8301019401925f915b8383106116a357505050505090565b90919293946020806116c1600193603f1986820301875289516102f0565b97019301930191939290611694565b60203660031901126102b2576004356001600160401b0381116102b2576116fb9036906004016110b4565b90611705826120be565b9161171360405193846105cd565b808352601f19611722826120be565b015f5b81811061179d5750505f5b81811061174557604051806104a88682611671565b5f806117528385876120e9565b906117626040518093819361212f565b0390305af461176f611e3f565b90156117955790600191611783828761213c565b5261178e818661213c565b5001611730565b602081519101fd5b806060602080938801015201611725565b60203660031901126102b2576004356117e67f000000000000000000000000000000000000000000000000000000000000000061272d565b610ae7576117f4813361295f565b15610d30576100209061286f565b346102b25760803660031901126102b25760043561181f816102a1565b6024359061182c826102a1565b6044356064356001600160401b0381116102b25761184e9036906004016102c3565b93909161187a7f000000000000000000000000000000000000000000000000000000000000000061272d565b610ae75761188d6109f26109e5836106d0565b6001600160a01b03851692906118a49084146127a9565b6001600160a01b03811692829084906118be8215156127e2565b80331480156119e8575b80156119cc575b6118d890612822565b6118e18861119e565b80545f190190556118f18461119e565b8054600101905561190584610a67856106d0565b611911610a78846106de565b5f80516020614a488339815191525f80a461192e610a9a836106ec565b6119be575b3b15938415611946575b61002085611f76565b602094505f9061196d60405197889687958694630a85bd0160e11b86523360048701612150565b03925af18015610ff157610020915f9161199f575b506001600160e01b031916630a85bd0160e11b145f80808061193d565b6119b8915060203d602011610fea57610fdc81836105cd565b5f611982565b6119c78261286f565b611933565b506118d86119df6109f26109e5866106de565b331490506118cf565b506119f9610a9a33610add8b611185565b6118c8565b346102b25760203660031901126102b25760043560405163e9dc637560e01b815230600482015260248101919091525f816044817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa8015610ff1575f90611a7b575b6104a89060405191829182610314565b503d805f833e611a8b81836105cd565b8101906020818303126102b2578051906001600160401b0382116102b2570181601f820112156102b2576104a891816020611ac893519101612181565b611a6b565b346102b2575f3660031901126102b2576040516001600160a01b035f80516020614a288339815191525c168152602090f35b346102b2575f3660031901126102b2576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60403660031901126102b2576004356001600160401b0381116102b257611b6e9036906004016102c3565b6024355f80516020614a288339815191525c6001600160a01b031661117657335f80516020614a288339815191525d804211611c5a576040516348c8949160e01b8152602060048201525f8180611bc9602482018789611dd6565b0381837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af18015610ff157611c0b575b610020612c24565b3d805f833e611c1a81836105cd565b8101906020818303126102b2578051906001600160401b0382116102b257019080601f830112156102b2578151611c5392602001612181565b5080611c03565b63bfb22adf60e01b5f5260045260245ffd5b346102b25760403660031901126102b257602060ff611cb7600435611c90816102a1565b60243590611c9d826102a1565b6001600160a01b03165f90815260058552604090206111b7565b54166040519015158152f35b366003190160c081126102b25760a0136102b2576020611ced60a435611ce8816102a1565b6121e4565b6040519060020b8152f35b359065ffffffffffff821682036102b257565b602435611d17816102a1565b6001600160a01b03168152604435611d2e816102a1565b6001600160a01b0316602082015260643565ffffffffffff8116908190036102b257604082015260843565ffffffffffff811681036102b25765ffffffffffff60609116910152565b65ffffffffffff611dd0606080938035611d90816102a1565b6001600160a01b031686526020810135611da9816102a1565b6001600160a01b0316602087015283611dc460408301611cf8565b16604087015201611cf8565b16910152565b908060209392818452848401375f828201840152601f01601f1916010190565b6040513d5f823e3d90fd5b604051906102c16080836105cd565b6001600160401b0381116105c857601f01601f191660200190565b60405190611e3a6020836105cd565b5f8252565b3d15611e69573d90611e5082611e10565b91611e5e60405193846105cd565b82523d5f602084013e565b606090565b80546001600160a01b0319166001600160a01b03909216919091179055565b604090610325949281528160208201520191611dd6565b467f000000000000000000000000000000000000000000000000000000000000000003611eef577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86682527f0000000000000000000000000000000000000000000000000000000000000000604082015246606082015230608082015260808152611f5b60a0826105cd565b51902090565b908160209103126102b25751610325816104f7565b15611f7d57565b60405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606490fd5b15611fbc57565b60405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b6044820152606490fd5b5f908152600260205260409020546001600160a01b0316906102c1821515611fb5565b5f6080604051612020816105ad565b82815282602082015282604082015282606082015201525f52600960205260405f20548066ffffffffffffff19165f52600a60205260405f206120bb6120ab60026040519361206e856105ad565b80546001600160a01b0390811686526001820154908116602087015262ffffff60a082901c16604087015260b81c60020b60608601520154610295565b6001600160a01b03166080830152565b91565b6001600160401b0381116105c85760051b60200190565b634e487b7160e01b5f52603260045260245ffd5b919081101561212a5760051b81013590601e19813603018212156102b25701803591906001600160401b0383116102b25760200182360381136102b2579190565b6120d5565b908092918237015f815290565b805182101561212a5760209160051b010190565b6001600160a01b03918216815291166020820152604081019190915260806060820181905261032593910191611dd6565b92919261218d82611e10565b9161219b60405193846105cd565b8294818452818301116102b2578281602093845f96015e010152565b8060020b036102b257565b908160209103126102b25751610325816121b7565b62ffffff8116036102b257565b60405163313b65df60e11b8152906004356121fe816102a1565b6001600160a01b03166004830152602435612218816102a1565b6001600160a01b0316602483015262ffffff604435612236816121d7565b166044830152606435612248816121b7565b60020b606483015261226f60843561225f816102a1565b6001600160a01b03166084840152565b6001600160a01b0390811660a4830152602090829060c49082905f907f0000000000000000000000000000000000000000000000000000000000000000165af15f91816122c4575b506103255750627fffff90565b6122e791925060203d6020116122ee575b6122df81836105cd565b8101906121c2565b905f6122b7565b503d6122d5565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614158061233d575b61232e57565b631c5deabb60e11b5f5260045ffd5b50337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161415612328565b90600160ff82161b9160018060a01b03165f52600660205260405f209060081c5f5260205260405f208181541880915516156123a857565b623f613760e71b5f5260045ffd5b90825f5260046020526123cc8160405f20611e6e565b6001600160a01b0390811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9255f80a4565b90612408611ea4565b916040519261190160f01b8452600284015260228301525f604060428420938281528260208201520152565b91908260409103126102b2576020823592013590565b634e487b7160e01b5f52601160045260245ffd5b60ff601b9116019060ff821161247057565b61244a565b906040101561212a5760400190565b90833b61258f576041810361254357906020926124f5836124cd6124c76124b96124b15f98880188612434565b949097612475565b356001600160f81b03191690565b60f81c90565b935b604051948594859094939260ff6060936080840197845216602083015260408201520152565b838052039060015afa15610ff1575f516001600160a01b0316908115612534576001600160a01b03160361252557565b632057875960e21b5f5260045ffd5b638baa579f60e01b5f5260045ffd5b906040820361258057602092612560825f946124f5940190612434565b9092906001600160ff1b0381169061257a9060ff1c61245e565b936124cf565b634be6321b60e01b5f5260045ffd5b90926125b59360209360405195869485938493630b135d3f60e11b855260048501611e8d565b03916001600160a01b03165afa908115610ff1575f916125f9575b506001600160e01b0319166374eca2c160e11b016125ea57565b632c19a72f60e21b5f5260045ffd5b612612915060203d602011610fea57610fdc81836105cd565b5f6125d0565b92906126539260a092604051956026870152600686015260038501523084525f603a600c860120948160408201528160208201525220613c3b565b6006810180911161247057604080516020818101948552918101929092526126a69290916126848160608101610cc5565b51902060405180938192631e2eaeaf60e01b8352600483019190602083019252565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610ff1575f916126ef575b506001600160801b031690565b612711915060203d602011612717575b61270981836105cd565b81019061271e565b5f6126e2565b503d6126ff565b908160209103126102b2575190565b60405163789add5560e11b81527fc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab23600482015290602090829060249082906001600160a01b03165afa908115610ff1575f9161278a575b50151590565b6127a3915060203d6020116127175761270981836105cd565b5f612784565b156127b057565b60405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b6044820152606490fd5b156127e957565b60405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606490fd5b1561282957565b60405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606490fd5b80546001600160a01b0319169055565b6001600160a01b036128836109e5836106fa565b16908115612950575f818152600960205260409020805460ff191690556128ac610a78826106fa565b813b6128d9575b7fa0ebb1de82db929a9153472f37d3a66dbede4436258311ad0f52a35a2c91d1505f80a3565b5a7f000000000000000000000000000000000000000000000000000000000000000080911061294b57823b156102b257604051632bd1774560e21b815260048101839052905f908290602490829084908890f1612937575b506128b3565b806104c35f612945936105cd565b5f612931565b612c86565b63046fcd8560e31b5f5260045ffd5b6001600160a01b0361297083611fee565b6001600160a01b03831691168114929083156129c4575b50821561299357505090565b60ff92506129bf91906001600160a01b03906129ae90611fee565b165f52600560205260405f206111b7565b541690565b5f828152600460205260408120546001600160a01b03169091149350612987565b803b156129fe57815f92918360208194519301915af190565b637c402b2160e01b5f5260045ffd5b6040516390bfb86560e01b81526001600160a01b0390911660048201526346abfb5960e11b60248201526080604482015260a03d601f01601f191690810160648301523d60848301523d5f60a484013e808201600460a482015260c46340f52f4f60e11b91015260e40190fd5b6040516390bfb86560e01b81526001600160a01b03909116600482015263a9059cbb60e01b60248201526080604482015260a03d601f01601f191690810160648301523d60848301523d5f60a484013e808201600460a482015260c4633c9fd93960e21b91015260e40190fd5b6040516390bfb86560e01b81526001600160a01b0390911660048201525f602482018190526080604483015260a03d601f01601f191690810160648401523d6084840152903d9060a484013e808201600460a482015260c4633d2cec6f60e21b91015260e40190fd5b6040516390bfb86560e01b81526001600160a01b03909116600482015263b1a9116f60e01b60248201526080604482015260a03d601f01601f191690810160648301523d60848301523d5f60a484013e808201600460a482015260c463ace9448160e01b91015260e40190fd5b60207f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319160018060a01b031692835f5260058252612bfe8160405f206111b7565b805460ff191695151560ff81169690961790556040519485526001600160a01b031693a3565b5f5f80516020614a288339815191525d565b90929193828403612c77575f5b84811015612c6f57600190612c69818501612c5f83888b6120e9565b913560f81c612c95565b01612c43565b509350505050565b63aaad13f760e01b5f5260045ffd5b6376a1e1d360e11b5f5260045ffd5b909190600b811015612d975780612cc05750612cb4906102c192613a83565b94939093929192613bf2565b60048103612cdf5750612cd6906102c192613473565b93929092613b1d565b60018103612d015750612cf5906102c192613a83565b94939093929192613ac5565b60028103612d305750612d1a612d2a916102c19361383e565b98909796919592959493946130bf565b95613925565b60058103612d5c5750612d49612d56916102c1936136e0565b97909695919492946130bf565b946137a2565b9160038314612d7f575050610d2d91505b635cda29d760e01b5f52600452602490565b6102c1925090612d8e91613473565b939290926134af565b600d8103612db35750612dad906102c1926130ac565b90613448565b60118103612ddb5750612dcc612dd5916102c19361322d565b929091926130bf565b9161342d565b600b8103612e0f5750612e09612df7612e03926102c19461322d565b938294939291936132ee565b92613309565b9161332e565b600e8103612e415750612e35612e2b612e3b926102c19461322d565b92829492916130bf565b92613245565b91613259565b60128103612e5c5750612e57906102c192612f48565b6131d4565b60138103612e785750612e72906102c1926130ac565b9061310f565b60148103612e9f5750612e91612e99916102c1936130ac565b9190916130bf565b906130f1565b60158103612eed5750612eb8612ee8916102c193612f48565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690612f9f565b61304f565b9160168314612f02575050610d2d9150612d6d565b6102c19250612f4391612f1491612f48565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316612f54565b612fdf565b9060201161153e573590565b612f5f903090613c5b565b600160ff1b8214612f9a578115612f89575b8111612f7a5790565b631e9acf1760e31b5f5260045ffd5b9050612f945f613cc3565b90612f71565b905090565b90612faa305f613c5b565b90600160ff1b8314612fd9578215612fc7575b508111612f7a5790565b612fd2919250613cc3565b905f612fbd565b50905090565b80612fe75750565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b156102b2575f91602483926040519485938492632e1a7d4d60e01b845260048401525af18015610ff1576130455750565b5f6102c1916105cd565b806130575750565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156102b2575f90600460405180948193630d0e30db60e41b83525af18015610ff1576130455750565b919060401161153e576020823592013590565b6001600160a01b038116600181036130e55750505f80516020614a288339815191525c90565b60020361032557503090565b906130fb82613d20565b908161310657505050565b6102c192613d6d565b9061311982613dfe565b9081156131bf5781116131a6577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b156102b25760405163203c2d1360e21b81526001600160a01b0390911660048201526024810191909152905f908290604490829084905af18015610ff1576131985750565b806104c35f6102c1936105cd565b6102c1915f80516020614a288339815191525c90613259565b505050565b600160ff1b8114612470575f0390565b6131ff81307f0000000000000000000000000000000000000000000000000000000000000000613e55565b905f80516020614a288339815191525c5f83121561322357612e096102c1936131c4565b6102c19291613259565b9060601161153e578035916040602083013592013590565b9081613255576103259150613dfe565b5090565b9082156131bf577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156102b257604051630b0d9c0960e01b81526001600160a01b03938416600482015291909216602482015260448101929092525f908290606490829084905af18015610ff1576132d95750565b806132e55f80936105cd565b8003126102b257565b15613305575f80516020614a288339815191525c90565b3090565b90600160ff1b820361331f576103259150613d20565b81613255576103259150613cc3565b9082156131bf577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b156102b257604051632961046560e21b81526001600160a01b03821660048201525f8160248183885af18015610ff157613419575b506001600160a01b0381166133e8575050602090600460405180948193630476982d60e21b83525af18015610ff1576133cd5750565b6133e59060203d6020116127175761270981836105cd565b50565b5f93602093926133f792613ea2565b600460405180948193630476982d60e21b83525af18015610ff1576133cd5750565b806104c35f613427936105cd565b5f613397565b9161343f6102c19382612e3b82613dfe565b612e3b82613dfe565b906102c19161346a5f80516020614a288339815191525c9182612e0982613cc3565b612e0982613cc3565b919082359260208101359260408201359263ffffffff60608401351683019063ffffffff8235169360208084019386010191011061153e579190565b939290925f80516020614a288339815191525c6134cc868261295f565b1561365f57506134db85612011565b9290938360081c60020b958460201c60020b966135096134fd89838a8d612618565b6001600160801b031690565b966135138a611fee565b955f61351e8c6106ec565b556135288b613f8c565b5f998961355a575b505050505050508160ff16613547575b5050505050565b613550946140f9565b5f80808080613540565b60409495969a50906135bf9161359a61357a6135758d614024565b6131c4565b91613590613586611e01565b97889060020b9052565b60020b6020870152565b84860152606084018c90528451632d35e7ed60e11b81529a8b94859460048601613695565b03815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af18015610ff1575f965f9161361f575b509061360e8261361394939861403d565b614087565b5f808080808080613530565b61360e97506136139392915061364c9060403d604011613658575b61364481836105cd565b81019061367f565b979097919293506135fd565b503d61363a565b6301952d1b60e31b5f9081526001600160a01b0391909116600452602490fd5b91908260409103126102b2576020825192015190565b606061032595936136a98361014095611326565b805160020b60a0840152602081015160020b60c0840152604081015160e08401520151610100820152816101208201520191611dd6565b91908260a08101359260c08201359260e083013592610100810135926101208201359263ffffffff6101408401351683019063ffffffff8235169360208084019386010191011061153e579190565b91908260a09103126102b257604051613747816105ad565b60808082948035613757816102a1565b84526020810135613767816102a1565b6020850152604081013561377a816121d7565b6040850152606081013561378d816121b7565b606085015201359161379e836102a1565b0152565b90916102c19796959493926137e360a06137bc368661372f565b207f000000000000000000000000000000000000000000000000000000000000000061417e565b5050506138376137f28361420a565b916137fc8561420a565b61380f873561380a816102a1565b613dfe565b9060208801359461381f866102a1565b6001600160801b039561383190613dfe565b9361452a565b1692613925565b9091819260a08301359260c08101359260e08201359261010083013592610120810135926101408201359263ffffffff6101608401351683019063ffffffff8235169360208084019386010191011061153e579190565b600260806102c1936138b181356138ab816102a1565b85611e6e565b600184016138cc60208301356138c6816102a1565b82611e6e565b60408201356138da816121d7565b815460608401356138ea816121b7565b60b81b62ffffff60b81b169162ffffff60a01b9060a01b169065ffffffffffff60a01b19161717905501359161391f836102a1565b01611e6e565b909194969297939597600854926001840160085560018060a01b038a169961394e8b15156127e2565b5f858152600260205260409020546001600160a01b0316613a4d576139e0613a2f98613a2993876102c19e61399986613989613a219861119e565b80546001019055610a67846106d0565b5f5f80516020614a488339815191528180a46139b5368861372f565b63ffffff009060a066ffffffffffffff199120169160081b169162ffffff60201b9060201b16171790565b92836139eb876106ec565b5566ffffffffffffff19841685613a116001613a068461139b565b015460b81c60020b90565b60020b15613a35575b5050614024565b92369061372f565b906145b9565b50614682565b613a41613a469261139b565b613895565b5f85613a1a565b60405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606490fd5b909181359260208301359260408101359260608201359263ffffffff60808401351683019063ffffffff8235169360208084019386010191011061153e579190565b90959495939192935f80516020614a288339815191525c613ae6838261295f565b1561365f57509561360e92826135756102c19899613b11613b09613b1797612011565b939092614024565b916145b9565b9061403d565b949394929091925f80516020614a288339815191525c613b3d828261295f565b1561365f57506102c19495613bed9282613b59613b1794612011565b90613b11613b8a60a083207f000000000000000000000000000000000000000000000000000000000000000061417e565b505050613be7613b9f8560081c60020b61420a565b91613baf8660201c60020b61420a565b8551613bc3906001600160a01b0316613dfe565b60208701516001600160801b039591929190613831906001600160a01b0316613dfe565b16614024565b614682565b90959495939192935f80516020614a288339815191525c613c13838261295f565b1561365f575095613bed9282613b116102c19899613c33613b1796612011565b929091614024565b604051602081019182526006604082015260408152611f5b6060826105cd565b6001600160a01b038116613c6e57503190565b6040516370a0823160e01b81526001600160a01b0392831660048201529160209183916024918391165afa908115610ff1575f91613caa575090565b610325915060203d6020116127175761270981836105cd565b613cee81307f0000000000000000000000000000000000000000000000000000000000000000613e55565b905f8213613d005750610325906131c4565b63019a8d9360e51b5f9081526001600160a01b0391909116600452602490fd5b6001600160a01b038116613d3357504790565b6040516370a0823160e01b815230600482015290602090829060249082906001600160a01b03165afa908115610ff1575f91613caa575090565b9091906001600160a01b038116613d9a57505f808080613d8e94865af11590565b613d955750565b612ae7565b6040805163a9059cbb60e01b81526001600160a01b039094166004850152602484019290925291905f9060208260448582885af13d15601f3d11600185511416171692828152826020820152015215613df05750565b6001600160a01b0316612a7a565b613e2981307f0000000000000000000000000000000000000000000000000000000000000000613e55565b905f8212613e35575090565b634c085bf160e01b5f9081526001600160a01b0391909116600452602490fd5b6001600160a01b039182165f9081529282166020908152604093849020935163789add5560e11b815260048101949094529183916024918391165afa908115610ff1575f91613caa575090565b9091906001600160a01b0383163003613eea576102c192507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690613d6d565b907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156102b257604051631b63c28b60e11b81526001600160a01b0394851660048201527f00000000000000000000000000000000000000000000000000000000000000008516602482015291841660448301529190921660648301525f908290608490829084905af18015610ff1576131985750565b5f818152600260205260408120546001600160a01b0316613fae811515611fb5565b80825260036020526040822082198154019055613fca836106d0565b80546001600160a01b03600385901b81811b1990921690851690911b179055613ff2836106de565b80546001600160a01b03600385901b81811b1990921690851690911b1790555f80516020614a488339815191528280a4565b905f821261402e57565b6393dafdf160e01b5f5260045ffd5b614060906140528360801d8260801d03614736565b92600f0b90600f0b03614736565b60018060801b03169060801b1790565b6001600160801b0390811660045216602452604490565b908160801d61409581614744565b6001600160801b03928316921682116140cd575050600f0b6140b681614744565b6001600160801b03928316921682116140cd575050565b6140d690614744565b630940b79160e11b5f9081526004929092526001600160801b0316602452604490fd5b5f81815260076020526040902080546001600160a01b03169561417295610cd99593949193909290919061412c9061285f565b60405163b1a9116f60e01b602082015260248101959095526001600160a01b031660448501526064840152608483015260a4808301919091528152610cd360c4826105cd565b6141795750565b612b50565b919061418b602091613c3b565b604051631e2eaeaf60e01b8152600481019190915292839060249082906001600160a01b03165afa918215610ff1575f926141e9575b506001600160a01b0382169160a081901c60020b9162ffffff60b883901c81169260d01c1690565b61420391925060203d6020116127175761270981836105cd565b905f6141c1565b60020b908160ff1d82810118620d89e881116145245763ffffffff9192600182167001fffcb933bd6fad37aa2d162d1a59400102600160801b189160028116614508575b600481166144ec575b600881166144d0575b601081166144b4575b60208116614498575b6040811661447c575b60808116614460575b6101008116614444575b6102008116614428575b610400811661440c575b61080081166143f0575b61100081166143d4575b61200081166143b8575b614000811661439c575b6180008116614380575b620100008116614364575b620200008116614349575b62040000811661432e575b6208000016614315575b5f1261430d575b0160201c90565b5f1904614306565b6b048a170391f7dc42444e8fa290910260801c906142ff565b6d2216e584f5fa1ea926041bedfe9890920260801c916142f5565b916e5d6af8dedb81196699c329225ee6040260801c916142ea565b916f09aa508b5b7a84e1c677de54f3e99bc90260801c916142df565b916f31be135f97d08fd981231505542fcfa60260801c916142d4565b916f70d869a156d2a1b890bb3df62baf32f70260801c916142ca565b916fa9f746462d870fdf8a65dc1f90e061e50260801c916142c0565b916fd097f3bdfd2022b8845ad8f792aa58250260801c916142b6565b916fe7159475a2c29b7443b29c7fa6e889d90260801c916142ac565b916ff3392b0822b70005940c7a398e4b70f30260801c916142a2565b916ff987a7253ac413176f2b074cf7815e540260801c91614298565b916ffcbe86c7900a88aedcffc83b479aa3a40260801c9161428e565b916ffe5dee046a99a2a811c461f1969c30530260801c91614284565b916fff2ea16466c96a3843ec78b326b528610260801c9161427b565b916fff973b41fa98c081472e6896dfb254c00260801c91614272565b916fffcb9843d60f6159c9db58835c9266440260801c91614269565b916fffe5caca7e10e4e61c3624eaa0941cd00260801c91614260565b916ffff2e50f5f656932ef12357cf3c7fdcc0260801c91614257565b916ffff97272373d413259a46990580e213a0260801c9161424e565b8261475a565b936001600160a01b03838116908316116145b1575b6001600160a01b0385811695908316861161456057505061032593506147a9565b919490939192906001600160a01b03821611156145a55782916145879161458d95946147a9565b9361476f565b6001600160801b038181169083161015612f9a575090565b9150506103259261476f565b90919061453f565b9593946040916146066145ca611e01565b60088a901c60020b81529260208a811c60020b90850152858585015286606085015284519889948594632d35e7ed60e11b865260048601613695565b03815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af1908115610ff1575f945f9261465e575b5081949560ff1661465557505050565b6102c1926147f6565b90945061467a915060403d6040116136585761364481836105cd565b90935f614645565b908160801d600f0b91600f0b915f811280614713575b6146ed5750505f8112806146cf575b6146af575050565b906146bf6134fd610d2d936131c4565b63031e30ad60e41b5f5290614070565b506146d9816131c4565b6001600160801b03908116908316106146a7565b906146fa610d2d926131c4565b63031e30ad60e41b5f526001600160801b031690614070565b506001600160801b03614725826131c4565b166001600160801b03831610614698565b9081600f0b91820361402e57565b5f81600f0b1261402e576001600160801b031690565b6345c3193d60e11b5f5260020b60045260245ffd5b6103259261479e9290916001600160a01b03808316908216116147a3575b90036001600160a01b0316906148b9565b614a12565b9061478d565b6103259261479e929091906001600160a01b03808216908316116147f0575b6147de6001600160a01b03828116908416614946565b9190036001600160a01b03169161498f565b906147c8565b6148469192815f52600760205260018060a01b0360405f205416936040519263d8865c2760e01b6020850152602484015260448301526064820152606481526148406084826105cd565b826129e5565b1561484e5750565b6040516390bfb86560e01b8152600481019190915263d8865c2760e01b602482015260806044820152601f3d01601f191660a0810160648301523d60848301523d5f60a484013e808201600460a482015260c46374a7887160e11b91015260e40190fd5b156102b257565b90606082901b905f19600160601b84099282808510940393808503946148e08685116148b2565b1461493f578190600160601b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b5091500490565b81810291905f1982820991838084109303928084039384600160601b11156102b2571461498657600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f198185099383808610950394808603956149b08786116148b2565b14614a0a579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b6001600160801b038116919082900361402e5756fe0aedd6bde10e3aa2adec092b02a3e3e805795516cda41f27aa145b8f300af87addf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa164736f6c634300081a000a","opcodes":"PUSH2 0x180 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH2 0x536 JUMPI PUSH1 0xA0 DUP2 PUSH2 0x4FD2 DUP1 CODESIZE SUB DUP1 SWAP2 PUSH2 0x20 DUP3 DUP6 PUSH2 0x53A JUMP JUMPDEST DUP4 CODECOPY DUP2 ADD SUB SLT PUSH2 0x536 JUMPI DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x536 JUMPI PUSH1 0x20 DUP3 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x536 JUMPI PUSH1 0x40 DUP4 ADD MLOAD PUSH1 0x60 DUP5 ADD MLOAD SWAP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP6 SUB PUSH2 0x536 JUMPI PUSH1 0x80 ADD MLOAD SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND DUP5 SUB PUSH2 0x536 JUMPI PUSH1 0x40 MLOAD PUSH2 0x8F PUSH1 0x40 DUP3 PUSH2 0x53A JUMP JUMPDEST PUSH1 0x18 DUP2 MSTORE PUSH1 0x20 DUP2 ADD SWAP1 PUSH32 0x556E697377617020763420506F736974696F6E73204E46540000000000000000 DUP3 MSTORE PUSH1 0x40 MLOAD PUSH2 0xC9 PUSH1 0x40 DUP3 PUSH2 0x53A JUMP JUMPDEST PUSH1 0xB DUP2 MSTORE PUSH11 0x554E492D56342D504F534D PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x44A JUMPI PUSH0 SLOAD PUSH1 0x1 DUP2 DUP2 SHR SWAP2 AND DUP1 ISZERO PUSH2 0x52C JUMPI JUMPDEST PUSH1 0x20 DUP3 LT EQ PUSH2 0x42C JUMPI PUSH1 0x1F DUP2 GT PUSH2 0x4CA JUMPI JUMPDEST POP DUP1 PUSH1 0x20 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x469 JUMPI PUSH0 SWAP2 PUSH2 0x45E JUMPI JUMPDEST POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH0 SSTORE JUMPDEST DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x44A JUMPI PUSH1 0x1 SLOAD SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x440 JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x42C JUMPI DUP2 PUSH1 0x1F DUP5 SWAP4 GT PUSH2 0x3BE JUMPI JUMPDEST POP PUSH1 0x20 SWAP1 PUSH1 0x1F DUP4 GT PUSH1 0x1 EQ PUSH2 0x358 JUMPI PUSH0 SWAP3 PUSH2 0x34D JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH1 0x1 SSTORE JUMPDEST MLOAD SWAP1 KECCAK256 DUP1 PUSH1 0xC0 MSTORE CHAINID PUSH1 0xA0 MSTORE PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP2 PUSH32 0x8CAD95687BA82C2CE50E74F7B754645E5117C3A5BEC8151C0726D5857980A866 DUP4 MSTORE PUSH1 0x40 DUP3 ADD MSTORE CHAINID PUSH1 0x60 DUP3 ADD MSTORE ADDRESS PUSH1 0x80 DUP3 ADD MSTORE PUSH1 0x80 DUP2 MSTORE PUSH2 0x1F4 PUSH1 0xA0 DUP3 PUSH2 0x53A JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x80 MSTORE PUSH1 0xE0 MSTORE PUSH2 0x100 MSTORE PUSH2 0x120 MSTORE PUSH2 0x140 MSTORE PUSH1 0x1 PUSH1 0x8 SSTORE PUSH2 0x160 MSTORE PUSH1 0x40 MLOAD PUSH2 0x4A74 SWAP1 DUP2 PUSH2 0x55E DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 PUSH2 0x1ECD ADD MSTORE PUSH1 0xA0 MLOAD DUP2 PUSH2 0x1EA7 ADD MSTORE PUSH1 0xC0 MLOAD DUP2 PUSH2 0x1F1C ADD MSTORE PUSH1 0xE0 MLOAD DUP2 DUP2 DUP2 PUSH2 0x9A9 ADD MSTORE DUP2 DUP2 PUSH2 0xC1B ADD MSTORE DUP2 DUP2 PUSH2 0xE5E ADD MSTORE DUP2 DUP2 PUSH2 0x1494 ADD MSTORE DUP2 DUP2 PUSH2 0x17C2 ADD MSTORE DUP2 DUP2 PUSH2 0x1856 ADD MSTORE DUP2 DUP2 PUSH2 0x1B14 ADD MSTORE DUP2 DUP2 PUSH2 0x1BCE ADD MSTORE DUP2 DUP2 PUSH2 0x228D ADD MSTORE DUP2 DUP2 PUSH2 0x2341 ADD MSTORE DUP2 DUP2 PUSH2 0x26AA ADD MSTORE DUP2 DUP2 PUSH2 0x3128 ADD MSTORE DUP2 DUP2 PUSH2 0x31DB ADD MSTORE DUP2 DUP2 PUSH2 0x3262 ADD MSTORE DUP2 DUP2 PUSH2 0x3337 ADD MSTORE DUP2 DUP2 PUSH2 0x35C4 ADD MSTORE DUP2 DUP2 PUSH2 0x37BF ADD MSTORE DUP2 DUP2 PUSH2 0x3B66 ADD MSTORE DUP2 DUP2 PUSH2 0x3CCA ADD MSTORE DUP2 DUP2 PUSH2 0x3E05 ADD MSTORE DUP2 DUP2 PUSH2 0x3EBC ADD MSTORE DUP2 DUP2 PUSH2 0x3F3B ADD MSTORE PUSH2 0x460B ADD MSTORE PUSH2 0x100 MLOAD DUP2 DUP2 DUP2 PUSH2 0x104D ADD MSTORE PUSH2 0x28DC ADD MSTORE PUSH2 0x120 MLOAD DUP2 DUP2 DUP2 PUSH2 0x386 ADD MSTORE DUP2 DUP2 PUSH2 0x8BF ADD MSTORE DUP2 DUP2 PUSH2 0xB41 ADD MSTORE PUSH2 0x3EED ADD MSTORE PUSH2 0x140 MLOAD DUP2 DUP2 DUP2 PUSH2 0x1085 ADD MSTORE DUP2 DUP2 PUSH2 0x22F8 ADD MSTORE DUP2 DUP2 PUSH2 0x2EBA ADD MSTORE DUP2 DUP2 PUSH2 0x2F16 ADD MSTORE DUP2 DUP2 PUSH2 0x2FE9 ADD MSTORE PUSH2 0x3059 ADD MSTORE PUSH2 0x160 MLOAD DUP2 DUP2 DUP2 PUSH2 0x122A ADD MSTORE PUSH2 0x1A34 ADD MSTORE RETURN JUMPDEST ADD MLOAD SWAP1 POP PUSH0 DUP1 PUSH2 0x189 JUMP JUMPDEST PUSH1 0x1 PUSH0 SWAP1 DUP2 MSTORE DUP3 DUP2 KECCAK256 SWAP4 POP PUSH1 0x1F NOT DUP6 AND SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x3A6 JUMPI POP SWAP1 DUP5 PUSH1 0x1 SWAP6 SWAP5 SWAP4 SWAP3 LT PUSH2 0x38E JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0x1 SSTORE PUSH2 0x19E JUMP JUMPDEST ADD MLOAD PUSH0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE PUSH0 DUP1 DUP1 PUSH2 0x380 JUMP JUMPDEST SWAP3 SWAP4 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP8 DUP7 ADD MLOAD DUP2 SSTORE ADD SWAP6 ADD SWAP4 ADD PUSH2 0x36A JUMP JUMPDEST PUSH1 0x1 PUSH0 MSTORE SWAP1 SWAP2 POP PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 PUSH1 0x1F DUP5 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP6 LT PUSH2 0x422 JUMPI JUMPDEST SWAP1 PUSH1 0x1F DUP6 SWAP5 SWAP4 SWAP3 ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x414 JUMPI POP PUSH2 0x173 JUMP JUMPDEST PUSH0 DUP2 SSTORE DUP5 SWAP4 POP PUSH1 0x1 ADD PUSH2 0x407 JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x3F9 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x15F JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP1 POP DUP4 ADD MLOAD PUSH0 PUSH2 0x129 JUMP JUMPDEST PUSH0 DUP1 DUP1 MSTORE DUP2 DUP2 KECCAK256 SWAP3 POP PUSH1 0x1F NOT DUP5 AND SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x4B2 JUMPI POP SWAP1 DUP4 PUSH1 0x1 SWAP5 SWAP4 SWAP3 LT PUSH2 0x49A JUMPI JUMPDEST POP POP DUP2 SHL ADD PUSH0 SSTORE PUSH2 0x13C JUMP JUMPDEST DUP6 ADD MLOAD PUSH0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE PUSH0 DUP1 PUSH2 0x48E JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP7 DUP11 ADD MLOAD DUP2 SSTORE ADD SWAP5 ADD SWAP3 ADD PUSH2 0x479 JUMP JUMPDEST PUSH0 DUP1 MSTORE PUSH32 0x290DECD9548B62A8D60345A988386FC84BA6BC95484008F6362F93160EF3E563 PUSH1 0x1F DUP4 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP5 LT PUSH2 0x522 JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x517 JUMPI POP PUSH2 0x113 JUMP JUMPDEST PUSH0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x50A JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x501 JUMP JUMPDEST SWAP1 PUSH1 0x7F AND SWAP1 PUSH2 0x101 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x44A JUMPI PUSH1 0x40 MSTORE JUMP INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x22 JUMPI JUMPDEST CALLDATASIZE ISZERO PUSH2 0x18 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x20 PUSH2 0x22F5 JUMP JUMPDEST STOP JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH3 0x2A3E3A EQ PUSH2 0x290 JUMPI DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x28B JUMPI DUP1 PUSH4 0x5C1EE20 EQ PUSH2 0x286 JUMPI DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x281 JUMPI DUP1 PUSH4 0x81812FC EQ PUSH2 0x27C JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x277 JUMPI DUP1 PUSH4 0xF5730F1 EQ PUSH2 0x272 JUMPI DUP1 PUSH4 0x12261EE7 EQ PUSH2 0x26D JUMPI DUP1 PUSH4 0x16A24131 EQ PUSH2 0x268 JUMPI DUP1 PUSH4 0x1EFEED33 EQ PUSH2 0x263 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x25E JUMPI DUP1 PUSH4 0x2B67B570 EQ PUSH2 0x259 JUMPI DUP1 PUSH4 0x2B9261DE EQ PUSH2 0x254 JUMPI DUP1 PUSH4 0x3644E515 EQ PUSH2 0x24F JUMPI DUP1 PUSH4 0x3AEA60F0 EQ PUSH2 0x24A JUMPI DUP1 PUSH4 0x42842E0E EQ PUSH2 0x245 JUMPI DUP1 PUSH4 0x4767565F EQ PUSH2 0x240 JUMPI DUP1 PUSH4 0x4AA4A4FC EQ PUSH2 0x23B JUMPI DUP1 PUSH4 0x4AFE393C EQ PUSH2 0x236 JUMPI DUP1 PUSH4 0x502E1A16 EQ PUSH2 0x231 JUMPI DUP1 PUSH4 0x5A9D7A68 EQ PUSH2 0x22C JUMPI DUP1 PUSH4 0x6352211E EQ PUSH2 0x227 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x222 JUMPI DUP1 PUSH4 0x75794A3C EQ PUSH2 0x21D JUMPI DUP1 PUSH4 0x7BA03AAD EQ PUSH2 0x218 JUMPI DUP1 PUSH4 0x86B6BE7D EQ PUSH2 0x213 JUMPI DUP1 PUSH4 0x89097A6A EQ PUSH2 0x20E JUMPI DUP1 PUSH4 0x91DD7346 EQ PUSH2 0x209 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x204 JUMPI DUP1 PUSH4 0xA22CB465 EQ PUSH2 0x1FF JUMPI DUP1 PUSH4 0xAC9650D8 EQ PUSH2 0x1FA JUMPI DUP1 PUSH4 0xAD0B27FB EQ PUSH2 0x1F5 JUMPI DUP1 PUSH4 0xB88D4FDE EQ PUSH2 0x1F0 JUMPI DUP1 PUSH4 0xC87B56DD EQ PUSH2 0x1EB JUMPI DUP1 PUSH4 0xD737D0C7 EQ PUSH2 0x1E6 JUMPI DUP1 PUSH4 0xDC4C90D3 EQ PUSH2 0x1E1 JUMPI DUP1 PUSH4 0xDD46508F EQ PUSH2 0x1DC JUMPI DUP1 PUSH4 0xE985E9C5 EQ PUSH2 0x1D7 JUMPI PUSH4 0xF7020405 SUB PUSH2 0xE JUMPI PUSH2 0x1CC3 JUMP JUMPDEST PUSH2 0x1C6C JUMP JUMPDEST PUSH2 0x1B43 JUMP JUMPDEST PUSH2 0x1AFF JUMP JUMPDEST PUSH2 0x1ACD JUMP JUMPDEST PUSH2 0x19FE JUMP JUMPDEST PUSH2 0x1802 JUMP JUMPDEST PUSH2 0x17AE JUMP JUMPDEST PUSH2 0x16D0 JUMP JUMPDEST PUSH2 0x163E JUMP JUMPDEST PUSH2 0x1589 JUMP JUMPDEST PUSH2 0x1461 JUMP JUMPDEST PUSH2 0x1437 JUMP JUMPDEST PUSH2 0x13B3 JUMP JUMPDEST PUSH2 0x1369 JUMP JUMPDEST PUSH2 0x1309 JUMP JUMPDEST PUSH2 0x1289 JUMP JUMPDEST PUSH2 0x1259 JUMP JUMPDEST PUSH2 0x1215 JUMP JUMPDEST PUSH2 0x11CC JUMP JUMPDEST PUSH2 0x10E4 JUMP JUMPDEST PUSH2 0x1070 JUMP JUMPDEST PUSH2 0x1036 JUMP JUMPDEST PUSH2 0xE4B JUMP JUMPDEST PUSH2 0xD74 JUMP JUMPDEST PUSH2 0xD43 JUMP JUMPDEST PUSH2 0xBD9 JUMP JUMPDEST PUSH2 0xAF6 JUMP JUMPDEST PUSH2 0x995 JUMP JUMPDEST PUSH2 0x920 JUMP JUMPDEST PUSH2 0x8EE JUMP JUMPDEST PUSH2 0x8AA JUMP JUMPDEST PUSH2 0x7B7 JUMP JUMPDEST PUSH2 0x73A JUMP JUMPDEST PUSH2 0x708 JUMP JUMPDEST PUSH2 0x5F0 JUMP JUMPDEST PUSH2 0x577 JUMP JUMPDEST PUSH2 0x509 JUMP JUMPDEST PUSH2 0x328 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SUB PUSH2 0x2B2 JUMPI JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST CALLDATALOAD SWAP1 PUSH2 0x2C1 DUP3 PUSH2 0x2A1 JUMP JUMPDEST JUMP JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x2B2 JUMPI DUP3 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x2B2 JUMPI PUSH1 0x20 DUP4 DUP2 DUP7 ADD SWAP6 ADD ADD GT PUSH2 0x2B2 JUMPI JUMP JUMPDEST DUP1 MLOAD DUP1 DUP4 MSTORE PUSH1 0x20 SWAP3 SWAP2 DUP2 SWAP1 DUP5 ADD DUP5 DUP5 ADD MCOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x20 PUSH2 0x325 SWAP3 DUP2 DUP2 MSTORE ADD SWAP1 PUSH2 0x2F0 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x340 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x2B2 JUMPI DUP2 CALLDATASIZE SUB SWAP2 PUSH1 0x60 PUSH1 0x3 NOT DUP5 ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x44 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x381 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST PUSH1 0x60 SWAP5 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP4 SWAP1 SWAP3 SWAP1 DUP5 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2A2D80D1 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP7 AND PUSH1 0x4 DUP1 DUP9 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 PUSH1 0x24 DUP9 ADD MSTORE PUSH1 0xC4 DUP8 ADD SWAP5 SWAP1 DUP3 ADD CALLDATALOAD SWAP1 PUSH1 0x22 NOT ADD DUP2 SLT ISZERO PUSH2 0x2B2 JUMPI DUP2 ADD PUSH1 0x24 PUSH1 0x4 DUP3 ADD CALLDATALOAD SWAP2 ADD SWAP5 PUSH1 0x1 DUP1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x2B2 JUMPI DUP2 PUSH1 0x7 SHL CALLDATASIZE SUB DUP7 SGT PUSH2 0x2B2 JUMPI PUSH1 0x60 PUSH1 0x64 DUP10 ADD MSTORE DUP2 SWAP1 MSTORE DUP7 SWAP5 PUSH1 0xE4 DUP7 ADD SWAP5 SWAP4 SWAP3 SWAP2 PUSH0 JUMPDEST DUP2 DUP2 LT PUSH2 0x4CF JUMPI POP POP POP PUSH2 0x480 PUSH0 SWAP7 SWAP5 DUP7 SWAP5 DUP9 SWAP5 PUSH1 0x44 DUP6 PUSH2 0x468 PUSH2 0x458 PUSH1 0x24 DUP12 SWAP10 ADD PUSH2 0x2B6 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x84 DUP10 ADD MSTORE JUMP JUMPDEST ADD CALLDATALOAD PUSH1 0xA4 DUP7 ADD MSTORE DUP5 DUP4 SUB PUSH1 0x3 NOT ADD PUSH1 0x44 DUP7 ADD MSTORE PUSH2 0x1DD6 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 PUSH2 0x4B5 JUMPI JUMPDEST POP PUSH2 0x4AC JUMPI POP PUSH2 0x4A8 PUSH2 0x49C PUSH2 0x1E3F JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 PUSH2 0x314 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST PUSH2 0x4A8 SWAP1 PUSH2 0x49C JUMP JUMPDEST DUP1 PUSH2 0x4C3 PUSH0 PUSH2 0x4C9 SWAP4 PUSH2 0x5CD JUMP JUMPDEST DUP1 PUSH2 0x58F JUMP JUMPDEST PUSH0 PUSH2 0x48B JUMP JUMPDEST SWAP2 SWAP7 POP SWAP2 SWAP3 SWAP4 SWAP5 PUSH1 0x80 DUP1 DUP3 PUSH2 0x4E6 PUSH1 0x1 SWAP5 DUP12 PUSH2 0x1D77 JUMP JUMPDEST ADD SWAP8 ADD SWAP2 ADD SWAP2 DUP9 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 PUSH2 0x431 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND SUB PUSH2 0x2B2 JUMPI JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH1 0x4 CALLDATALOAD PUSH2 0x528 DUP2 PUSH2 0x4F7 JUMP JUMPDEST PUSH4 0xFFFFFFFF PUSH1 0xE0 SHL AND PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL DUP2 EQ SWAP1 DUP2 ISZERO PUSH2 0x566 JUMPI JUMPDEST DUP2 ISZERO PUSH2 0x555 JUMPI JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST PUSH4 0x5B5E139F PUSH1 0xE0 SHL EQ SWAP1 POP PUSH0 PUSH2 0x54A JUMP JUMPDEST PUSH4 0x80AC58CD PUSH1 0xE0 SHL DUP2 EQ SWAP2 POP PUSH2 0x543 JUMP JUMPDEST PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH2 0x20 PUSH1 0x4 CALLDATALOAD CALLER PUSH2 0x2370 JUMP JUMPDEST PUSH0 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0xA0 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x5C8 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH2 0x599 JUMP JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x5C8 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH0 DUP1 SLOAD DUP1 PUSH1 0x1 SHR SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x6C6 JUMPI JUMPDEST PUSH1 0x20 DUP4 LT DUP3 EQ PUSH2 0x6B2 JUMPI DUP3 DUP6 MSTORE PUSH1 0x20 DUP6 ADD SWAP2 SWAP1 DUP2 ISZERO PUSH2 0x699 JUMPI POP PUSH1 0x1 EQ PUSH2 0x649 JUMPI JUMPDEST PUSH2 0x4A8 DUP5 PUSH2 0x49C DUP2 DUP7 SUB DUP3 PUSH2 0x5CD JUMP JUMPDEST PUSH0 DUP1 DUP1 MSTORE SWAP3 POP SWAP1 PUSH32 0x290DECD9548B62A8D60345A988386FC84BA6BC95484008F6362F93160EF3E563 JUMPDEST DUP2 DUP5 LT PUSH2 0x685 JUMPI POP POP ADD PUSH2 0x49C DUP3 PUSH2 0x639 JUMP JUMPDEST DUP1 SLOAD DUP5 DUP5 ADD MSTORE PUSH1 0x20 SWAP1 SWAP4 ADD SWAP3 PUSH1 0x1 ADD PUSH2 0x672 JUMP JUMPDEST PUSH1 0xFF NOT AND DUP3 MSTORE POP SWAP1 ISZERO ISZERO PUSH1 0x5 SHL ADD SWAP1 POP PUSH2 0x49C DUP3 PUSH2 0x639 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x617 JUMP JUMPDEST PUSH0 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 JUMP JUMPDEST PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 JUMP JUMPDEST PUSH0 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 JUMP JUMPDEST PUSH0 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x757 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 CALLER DUP4 EQ ISZERO DUP1 PUSH2 0x797 JUMPI JUMPDEST PUSH2 0x789 JUMPI PUSH2 0x20 SWAP3 PUSH2 0x23B6 JUMP JUMPDEST PUSH3 0x82B429 PUSH1 0xE8 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP DUP3 PUSH0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0xFF PUSH2 0x7AF CALLER PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x11B7 JUMP JUMPDEST SLOAD AND ISZERO PUSH2 0x77C JUMP JUMPDEST PUSH1 0xA0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x7CF DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH1 0x44 CALLDATALOAD SWAP2 PUSH1 0x64 CALLDATALOAD SWAP3 PUSH1 0x84 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x7F9 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST SWAP5 DUP3 TIMESTAMP GT PUSH2 0x89B JUMPI PUSH2 0x890 DUP6 PUSH2 0x896 SWAP4 PUSH2 0x20 SWAP9 PUSH2 0x88A DUP9 PUSH0 DUP1 SWAP10 DUP7 DUP3 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE DUP2 DUP10 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 DUP4 KECCAK256 SLOAD AND SWAP13 DUP14 SWAP10 DUP2 PUSH1 0x40 MLOAD SWAP8 PUSH32 0x49ECF333E5B8C95C40FDAFC95C1AD136E8914A8FB55E9DC8BB01EAA83A2DF9AD DUP10 MSTORE PUSH1 0x20 DUP10 ADD SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x40 DUP10 ADD SWAP3 DUP4 MSTORE PUSH1 0x60 DUP10 ADD SWAP5 DUP6 MSTORE PUSH1 0x80 DUP10 ADD SWAP7 DUP8 MSTORE DUP2 PUSH1 0xA0 DUP11 KECCAK256 SWAP10 MSTORE MSTORE MSTORE MSTORE MSTORE PUSH2 0x23FF JUMP JUMPDEST SWAP2 PUSH2 0x2484 JUMP JUMPDEST DUP3 PUSH2 0x2370 JUMP JUMPDEST PUSH2 0x23B6 JUMP JUMPDEST PUSH4 0x5A9165FF PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH0 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH2 0x957 PUSH1 0x4 CALLDATALOAD PUSH2 0x942 DUP2 PUSH2 0x2011 JUMP JUMPDEST SWAP2 SWAP1 DUP3 DUP6 SHR PUSH1 0x2 SIGNEXTEND SWAP3 PUSH1 0x8 SHR PUSH1 0x2 SIGNEXTEND SWAP2 PUSH2 0x2618 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE RETURN JUMPDEST PUSH1 0x60 SWAP1 PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x981 DUP2 PUSH2 0x2A1 JUMP JUMPDEST SWAP1 PUSH1 0x24 CALLDATALOAD PUSH2 0x98E DUP2 PUSH2 0x2A1 JUMP JUMPDEST SWAP1 PUSH1 0x44 CALLDATALOAD SWAP1 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH2 0x9A3 CALLDATASIZE PUSH2 0x969 JUMP JUMPDEST SWAP2 PUSH2 0x9CD PUSH32 0x0 PUSH2 0x272D JUMP JUMPDEST PUSH2 0xAE7 JUMPI DUP3 SWAP2 PUSH2 0xA6C PUSH2 0x9F7 PUSH2 0x9F2 PUSH2 0x9E5 DUP7 PUSH2 0x6D0 JUMP JUMPDEST SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH2 0x295 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP3 SWAP1 PUSH2 0xA0E SWAP1 DUP5 EQ PUSH2 0x27A9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP4 PUSH2 0xA47 SWAP1 PUSH2 0xA28 DUP7 ISZERO ISZERO PUSH2 0x27E2 JUMP JUMPDEST DUP5 CALLER EQ DUP1 ISZERO PUSH2 0xACC JUMPI JUMPDEST DUP1 ISZERO PUSH2 0xAB0 JUMPI JUMPDEST PUSH2 0xA42 SWAP1 PUSH2 0x2822 JUMP JUMPDEST PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH0 NOT ADD SWAP1 SSTORE PUSH2 0xA57 DUP2 PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE PUSH2 0xA67 DUP6 PUSH2 0x6D0 JUMP JUMPDEST PUSH2 0x1E6E JUMP JUMPDEST PUSH2 0xA7D PUSH2 0xA78 DUP5 PUSH2 0x6DE JUMP JUMPDEST PUSH2 0x285F JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A48 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH0 DUP1 LOG4 PUSH2 0xAA1 PUSH2 0xA9A DUP3 PUSH2 0x6EC JUMP JUMPDEST SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH2 0xAA7 JUMPI STOP JUMPDEST PUSH2 0x20 SWAP1 PUSH2 0x286F JUMP JUMPDEST POP PUSH2 0xA42 PUSH2 0xAC3 PUSH2 0x9F2 PUSH2 0x9E5 DUP11 PUSH2 0x6DE JUMP JUMPDEST CALLER EQ SWAP1 POP PUSH2 0xA39 JUMP JUMPDEST POP PUSH2 0xAE2 PUSH2 0xA9A CALLER PUSH2 0xADD DUP5 PUSH2 0x1185 JUMP JUMPDEST PUSH2 0x11B7 JUMP JUMPDEST PUSH2 0xA32 JUMP JUMPDEST PUSH4 0x6A582FF PUSH1 0xE5 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0x100 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0xB0F DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0xC0 CALLDATASIZE PUSH1 0x23 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0xE4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0xB3A SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST PUSH1 0x60 SWAP3 SWAP1 SWAP2 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH2 0x480 SWAP4 PUSH0 DUP1 SWAP5 PUSH1 0x40 MLOAD SWAP7 DUP8 SWAP6 DUP7 SWAP5 DUP6 SWAP4 PUSH4 0x2B67B57 PUSH1 0xE4 SHL DUP6 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x4 DUP6 ADD MSTORE PUSH2 0xBA4 PUSH1 0x24 DUP6 ADD PUSH2 0x1D0B JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD PUSH2 0xBB0 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0xA4 DUP6 ADD MSTORE PUSH1 0xC4 CALLDATALOAD PUSH1 0xC4 DUP6 ADD MSTORE PUSH2 0x100 PUSH1 0xE4 DUP6 ADD MSTORE PUSH2 0x104 DUP5 ADD SWAP2 PUSH2 0x1DD6 JUMP JUMPDEST PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x24 CALLDATALOAD PUSH1 0x4 CALLDATALOAD PUSH2 0xBF4 DUP3 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0xC13 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST PUSH2 0xC3F SWAP4 SWAP2 SWAP4 PUSH32 0x0 PUSH2 0x272D JUMP JUMPDEST PUSH2 0xAE7 JUMPI PUSH2 0xC4D DUP4 CALLER PUSH2 0x295F JUMP JUMPDEST ISZERO PUSH2 0xD30 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0xC66 PUSH2 0x9E5 DUP6 PUSH2 0x6FA JUMP JUMPDEST AND DUP1 PUSH2 0xD0D JUMPI POP PUSH0 DUP4 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0xCDD SWAP1 PUSH2 0xCD9 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP6 PUSH2 0xCD3 SWAP1 PUSH2 0xCA5 DUP9 PUSH2 0xA67 DUP10 PUSH2 0x6FA JUMP JUMPDEST PUSH2 0xCC5 PUSH1 0x40 MLOAD SWAP4 DUP5 SWAP3 PUSH4 0x46ABFB59 PUSH1 0xE1 SHL PUSH1 0x20 DUP6 ADD MSTORE DUP10 PUSH1 0x24 DUP6 ADD PUSH2 0x1E8D JUMP JUMPDEST SUB PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x5CD JUMP JUMPDEST DUP4 PUSH2 0x29E5 JUMP JUMPDEST ISZERO SWAP1 JUMP JUMPDEST PUSH2 0xD08 JUMPI POP PUSH32 0x9709492381F90BDC5938BB4E3B8E35B7E0EAC8AF058619E27191C5A40CE79FA9 PUSH0 DUP1 LOG3 STOP JUMPDEST PUSH2 0x2A0D JUMP JUMPDEST PUSH4 0x12FDEC5F PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 DUP5 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x24 MSTORE PUSH1 0x44 PUSH0 REVERT JUMPDEST PUSH0 REVERT JUMPDEST PUSH4 0x1952D1B PUSH1 0xE3 SHL PUSH0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH2 0xD5D PUSH2 0x1EA4 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x44 CALLDATALOAD SWAP1 DUP2 ISZERO ISZERO DUP3 SUB PUSH2 0x2B2 JUMPI JUMP JUMPDEST PUSH1 0xC0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0xD8C DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH2 0xD98 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH2 0xDA0 PUSH2 0xD65 JUMP JUMPDEST SWAP1 PUSH1 0x64 CALLDATALOAD SWAP3 PUSH1 0x84 CALLDATALOAD PUSH1 0xA4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0xDC7 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST DUP7 SWAP3 SWAP2 SWAP3 TIMESTAMP GT PUSH2 0x89B JUMPI DUP4 PUSH2 0xE46 SWAP4 PUSH2 0x890 SWAP3 PUSH2 0x88A DUP9 PUSH0 PUSH2 0x20 SWAP13 DUP2 DUP10 DUP2 DUP16 DUP2 PUSH1 0x40 MLOAD SWAP8 PUSH32 0x6673CB397EE2A50B6B8401653D3638B4AC8B3DB9C28AA6870FFCEB7574EC2F76 DUP10 MSTORE PUSH1 0x20 DUP10 ADD SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x1 PUSH1 0x40 DUP11 ADD SWAP4 AND DUP4 MSTORE PUSH1 0x60 DUP10 ADD SWAP5 DUP6 MSTORE PUSH1 0x80 DUP10 ADD SWAP7 DUP8 MSTORE DUP2 PUSH1 0xA0 DUP11 KECCAK256 SWAP10 MSTORE MSTORE MSTORE MSTORE MSTORE PUSH2 0x23FF JUMP JUMPDEST PUSH2 0x2BBD JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH2 0xE59 CALLDATASIZE PUSH2 0x969 JUMP JUMPDEST PUSH2 0xE82 PUSH32 0x0 PUSH2 0x272D JUMP JUMPDEST PUSH2 0xAE7 JUMPI PUSH2 0xE95 PUSH2 0x9F2 PUSH2 0x9E5 DUP4 PUSH2 0x6D0 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP3 SWAP1 PUSH2 0xEAC SWAP1 DUP5 EQ PUSH2 0x27A9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP3 DUP3 SWAP1 DUP5 SWAP1 PUSH2 0xEC6 DUP3 ISZERO ISZERO PUSH2 0x27E2 JUMP JUMPDEST DUP1 CALLER EQ DUP1 ISZERO PUSH2 0x1020 JUMPI JUMPDEST DUP1 ISZERO PUSH2 0x1004 JUMPI JUMPDEST PUSH2 0xEE0 SWAP1 PUSH2 0x2822 JUMP JUMPDEST PUSH2 0xEE9 DUP8 PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH0 NOT ADD SWAP1 SSTORE PUSH2 0xEF9 DUP5 PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE PUSH2 0xF0D DUP5 PUSH2 0xA67 DUP6 PUSH2 0x6D0 JUMP JUMPDEST PUSH2 0xF19 PUSH2 0xA78 DUP5 PUSH2 0x6DE JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A48 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH0 DUP1 LOG4 PUSH2 0xF36 PUSH2 0xA9A DUP4 PUSH2 0x6EC JUMP JUMPDEST PUSH2 0xFF6 JUMPI JUMPDEST EXTCODESIZE ISZERO SWAP2 DUP3 ISZERO PUSH2 0xF4E JUMPI JUMPDEST PUSH2 0x20 DUP4 PUSH2 0x1F76 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xA85BD01 PUSH1 0xE1 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 SWAP1 SWAP5 AND PUSH1 0x24 DUP6 ADD MSTORE PUSH1 0x44 DUP5 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x80 PUSH1 0x64 DUP5 ADD MSTORE PUSH0 PUSH1 0x84 DUP5 ADD DUP2 SWAP1 MSTORE PUSH1 0x20 SWAP3 POP DUP4 SWAP2 PUSH1 0xA4 SWAP2 DUP4 SWAP2 GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x20 SWAP2 PUSH0 SWAP2 PUSH2 0xFC2 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0xA85BD01 PUSH1 0xE1 SHL EQ PUSH0 DUP1 PUSH2 0xF45 JUMP JUMPDEST PUSH2 0xFE4 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xFEA JUMPI JUMPDEST PUSH2 0xFDC DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x1F61 JUMP JUMPDEST PUSH0 PUSH2 0xFA7 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0xFD2 JUMP JUMPDEST PUSH2 0x1DF6 JUMP JUMPDEST PUSH2 0xFFF DUP3 PUSH2 0x286F JUMP JUMPDEST PUSH2 0xF3B JUMP JUMPDEST POP PUSH2 0xEE0 PUSH2 0x1017 PUSH2 0x9F2 PUSH2 0x9E5 DUP7 PUSH2 0x6DE JUMP JUMPDEST CALLER EQ SWAP1 POP PUSH2 0xED7 JUMP JUMPDEST POP PUSH2 0x1031 PUSH2 0xA9A CALLER PUSH2 0xADD DUP11 PUSH2 0x1185 JUMP JUMPDEST PUSH2 0xED0 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0x0 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x2B2 JUMPI DUP3 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x2B2 JUMPI PUSH1 0x20 DUP1 DUP6 ADD SWAP5 DUP5 PUSH1 0x5 SHL ADD ADD GT PUSH2 0x2B2 JUMPI JUMP JUMPDEST PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x110F SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x112E SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x10B4 JUMP JUMPDEST SWAP2 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1176 JUMPI PUSH2 0x1164 SWAP4 CALLER PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH2 0x2C36 JUMP JUMPDEST PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE STOP JUMPDEST PUSH4 0x37AFFDBF PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x11E9 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH2 0x1277 PUSH1 0x4 CALLDATALOAD PUSH2 0x1FEE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x12A6 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH2 0x12D5 JUMPI PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH2 0x4A8 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 SWAP2 SWAP1 PUSH1 0x20 DUP4 ADD SWAP3 MSTORE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xC PUSH1 0x24 DUP3 ADD MSTORE PUSH12 0x5A45524F5F41444452455353 PUSH1 0xA0 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH1 0x8 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP4 MSTORE PUSH1 0x20 DUP1 DUP4 ADD MLOAD DUP3 AND SWAP1 DUP5 ADD MSTORE PUSH1 0x40 DUP1 DUP4 ADD MLOAD PUSH3 0xFFFFFF AND SWAP1 DUP5 ADD MSTORE PUSH1 0x60 DUP1 DUP4 ADD MLOAD PUSH1 0x2 SIGNEXTEND SWAP1 DUP5 ADD MSTORE PUSH1 0x80 SWAP2 DUP3 ADD MLOAD AND SWAP2 ADD MSTORE JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0xC0 PUSH2 0x1387 PUSH1 0x4 CALLDATALOAD PUSH2 0x2011 JUMP JUMPDEST PUSH2 0x1394 PUSH1 0x40 MLOAD DUP1 SWAP4 PUSH2 0x1326 JUMP JUMPDEST PUSH1 0xA0 DUP3 ADD MSTORE RETURN JUMPDEST PUSH7 0xFFFFFFFFFFFFFF NOT AND PUSH0 MSTORE PUSH1 0xA PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH7 0xFFFFFFFFFFFFFF NOT DUP2 AND DUP1 SWAP2 SUB PUSH2 0x2B2 JUMPI PUSH0 SWAP1 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 DUP3 ADD SLOAD PUSH1 0x2 SWAP3 DUP4 ADD SLOAD DUP6 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND DUP2 MSTORE DUP4 DUP4 AND SWAP6 DUP2 ADD SWAP6 SWAP1 SWAP6 MSTORE PUSH1 0xA0 DUP3 DUP2 SHR PUSH3 0xFFFFFF AND SWAP7 DUP7 ADD SWAP7 SWAP1 SWAP7 MSTORE PUSH1 0xB8 SWAP2 SWAP1 SWAP2 SHR SWAP1 SWAP3 SIGNEXTEND PUSH1 0x60 DUP5 ADD MSTORE AND PUSH1 0x80 DUP3 ADD MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH0 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x1491 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST SWAP1 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER SUB PUSH2 0x157A JUMPI PUSH1 0x40 DUP2 CALLDATALOAD XOR SWAP1 PUSH4 0xFFFFFFFF PUSH1 0x40 DUP3 ADD CALLDATALOAD AND PUSH4 0xFFFFFFE0 PUSH1 0x1F DUP3 ADD AND SWAP3 PUSH1 0x60 DUP5 ADD PUSH1 0x20 DUP5 ADD CALLDATALOAD XOR OR SWAP3 DUP3 ADD SWAP3 PUSH1 0x60 DUP5 ADD CALLDATALOAD SWAP5 DUP4 PUSH5 0x1FFFFFFFE0 DUP8 PUSH1 0x5 SHL AND DUP1 PUSH0 SWAP1 JUMPDEST DUP9 DUP2 DUP4 LT PUSH2 0x154B JUMPI SWAP1 POP PUSH1 0x80 SWAP3 SWAP2 POP ADD ADD SWAP2 ADD LT OR PUSH2 0x153E JUMPI PUSH1 0x60 PUSH1 0x80 PUSH4 0xFFFFFFFF PUSH2 0x1533 SWAP7 AND SWAP5 ADD SWAP3 ADD PUSH2 0x2C36 JUMP JUMPDEST PUSH2 0x4A8 PUSH2 0x49C PUSH2 0x1E2B JUMP JUMPDEST PUSH4 0x3B99B53D PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST DUP3 SWAP5 POP SWAP3 PUSH4 0xFFFFFFE0 PUSH1 0x1F PUSH1 0x80 DUP1 PUSH1 0x20 SWAP7 DUP8 SWAP7 SWAP9 ADD ADD CALLDATALOAD SWAP10 DUP5 DUP12 XOR OR SWAP10 DUP14 ADD ADD CALLDATALOAD ADD AND ADD ADD SWAP3 ADD DUP7 SWAP3 SWAP2 PUSH2 0x1503 JUMP JUMPDEST PUSH4 0x570C1085 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH0 PUSH1 0x1 SLOAD DUP1 PUSH1 0x1 SHR SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x1634 JUMPI JUMPDEST PUSH1 0x20 DUP4 LT DUP3 EQ PUSH2 0x6B2 JUMPI DUP3 DUP6 MSTORE PUSH1 0x20 DUP6 ADD SWAP2 SWAP1 DUP2 ISZERO PUSH2 0x699 JUMPI POP PUSH1 0x1 EQ PUSH2 0x15E2 JUMPI PUSH2 0x4A8 DUP5 PUSH2 0x49C DUP2 DUP7 SUB DUP3 PUSH2 0x5CD JUMP JUMPDEST PUSH1 0x1 PUSH0 SWAP1 DUP2 MSTORE SWAP3 POP SWAP1 PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 JUMPDEST DUP2 DUP5 LT PUSH2 0x1620 JUMPI POP POP ADD PUSH2 0x49C DUP3 PUSH2 0x639 JUMP JUMPDEST DUP1 SLOAD DUP5 DUP5 ADD MSTORE PUSH1 0x20 SWAP1 SWAP4 ADD SWAP3 PUSH1 0x1 ADD PUSH2 0x160D JUMP JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x15B1 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x165B DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x2B2 JUMPI PUSH2 0x20 SWAP2 CALLER PUSH2 0x2BBD JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH1 0x20 DUP3 MSTORE DUP3 MLOAD DUP1 SWAP2 MSTORE PUSH1 0x40 DUP3 ADD SWAP2 PUSH1 0x20 PUSH1 0x40 DUP4 PUSH1 0x5 SHL DUP4 ADD ADD SWAP5 ADD SWAP3 PUSH0 SWAP2 JUMPDEST DUP4 DUP4 LT PUSH2 0x16A3 JUMPI POP POP POP POP POP SWAP1 JUMP JUMPDEST SWAP1 SWAP2 SWAP3 SWAP4 SWAP5 PUSH1 0x20 DUP1 PUSH2 0x16C1 PUSH1 0x1 SWAP4 PUSH1 0x3F NOT DUP7 DUP3 SUB ADD DUP8 MSTORE DUP10 MLOAD PUSH2 0x2F0 JUMP JUMPDEST SWAP8 ADD SWAP4 ADD SWAP4 ADD SWAP2 SWAP4 SWAP3 SWAP1 PUSH2 0x1694 JUMP JUMPDEST PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x16FB SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x10B4 JUMP JUMPDEST SWAP1 PUSH2 0x1705 DUP3 PUSH2 0x20BE JUMP JUMPDEST SWAP2 PUSH2 0x1713 PUSH1 0x40 MLOAD SWAP4 DUP5 PUSH2 0x5CD JUMP JUMPDEST DUP1 DUP4 MSTORE PUSH1 0x1F NOT PUSH2 0x1722 DUP3 PUSH2 0x20BE JUMP JUMPDEST ADD PUSH0 JUMPDEST DUP2 DUP2 LT PUSH2 0x179D JUMPI POP POP PUSH0 JUMPDEST DUP2 DUP2 LT PUSH2 0x1745 JUMPI PUSH1 0x40 MLOAD DUP1 PUSH2 0x4A8 DUP7 DUP3 PUSH2 0x1671 JUMP JUMPDEST PUSH0 DUP1 PUSH2 0x1752 DUP4 DUP6 DUP8 PUSH2 0x20E9 JUMP JUMPDEST SWAP1 PUSH2 0x1762 PUSH1 0x40 MLOAD DUP1 SWAP4 DUP2 SWAP4 PUSH2 0x212F JUMP JUMPDEST SUB SWAP1 ADDRESS GAS DELEGATECALL PUSH2 0x176F PUSH2 0x1E3F JUMP JUMPDEST SWAP1 ISZERO PUSH2 0x1795 JUMPI SWAP1 PUSH1 0x1 SWAP2 PUSH2 0x1783 DUP3 DUP8 PUSH2 0x213C JUMP JUMPDEST MSTORE PUSH2 0x178E DUP2 DUP7 PUSH2 0x213C JUMP JUMPDEST POP ADD PUSH2 0x1730 JUMP JUMPDEST PUSH1 0x20 DUP2 MLOAD SWAP2 ADD REVERT JUMPDEST DUP1 PUSH1 0x60 PUSH1 0x20 DUP1 SWAP4 DUP9 ADD ADD MSTORE ADD PUSH2 0x1725 JUMP JUMPDEST PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x17E6 PUSH32 0x0 PUSH2 0x272D JUMP JUMPDEST PUSH2 0xAE7 JUMPI PUSH2 0x17F4 DUP2 CALLER PUSH2 0x295F JUMP JUMPDEST ISZERO PUSH2 0xD30 JUMPI PUSH2 0x20 SWAP1 PUSH2 0x286F JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x80 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x181F DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH2 0x182C DUP3 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD PUSH1 0x64 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x184E SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST SWAP4 SWAP1 SWAP2 PUSH2 0x187A PUSH32 0x0 PUSH2 0x272D JUMP JUMPDEST PUSH2 0xAE7 JUMPI PUSH2 0x188D PUSH2 0x9F2 PUSH2 0x9E5 DUP4 PUSH2 0x6D0 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP3 SWAP1 PUSH2 0x18A4 SWAP1 DUP5 EQ PUSH2 0x27A9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP3 DUP3 SWAP1 DUP5 SWAP1 PUSH2 0x18BE DUP3 ISZERO ISZERO PUSH2 0x27E2 JUMP JUMPDEST DUP1 CALLER EQ DUP1 ISZERO PUSH2 0x19E8 JUMPI JUMPDEST DUP1 ISZERO PUSH2 0x19CC JUMPI JUMPDEST PUSH2 0x18D8 SWAP1 PUSH2 0x2822 JUMP JUMPDEST PUSH2 0x18E1 DUP9 PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH0 NOT ADD SWAP1 SSTORE PUSH2 0x18F1 DUP5 PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE PUSH2 0x1905 DUP5 PUSH2 0xA67 DUP6 PUSH2 0x6D0 JUMP JUMPDEST PUSH2 0x1911 PUSH2 0xA78 DUP5 PUSH2 0x6DE JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A48 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH0 DUP1 LOG4 PUSH2 0x192E PUSH2 0xA9A DUP4 PUSH2 0x6EC JUMP JUMPDEST PUSH2 0x19BE JUMPI JUMPDEST EXTCODESIZE ISZERO SWAP4 DUP5 ISZERO PUSH2 0x1946 JUMPI JUMPDEST PUSH2 0x20 DUP6 PUSH2 0x1F76 JUMP JUMPDEST PUSH1 0x20 SWAP5 POP PUSH0 SWAP1 PUSH2 0x196D PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP7 DUP8 SWAP6 DUP7 SWAP5 PUSH4 0xA85BD01 PUSH1 0xE1 SHL DUP7 MSTORE CALLER PUSH1 0x4 DUP8 ADD PUSH2 0x2150 JUMP JUMPDEST SUB SWAP3 GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x20 SWAP2 PUSH0 SWAP2 PUSH2 0x199F JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0xA85BD01 PUSH1 0xE1 SHL EQ PUSH0 DUP1 DUP1 DUP1 PUSH2 0x193D JUMP JUMPDEST PUSH2 0x19B8 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xFEA JUMPI PUSH2 0xFDC DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST PUSH0 PUSH2 0x1982 JUMP JUMPDEST PUSH2 0x19C7 DUP3 PUSH2 0x286F JUMP JUMPDEST PUSH2 0x1933 JUMP JUMPDEST POP PUSH2 0x18D8 PUSH2 0x19DF PUSH2 0x9F2 PUSH2 0x9E5 DUP7 PUSH2 0x6DE JUMP JUMPDEST CALLER EQ SWAP1 POP PUSH2 0x18CF JUMP JUMPDEST POP PUSH2 0x19F9 PUSH2 0xA9A CALLER PUSH2 0xADD DUP12 PUSH2 0x1185 JUMP JUMPDEST PUSH2 0x18C8 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x40 MLOAD PUSH4 0xE9DC6375 PUSH1 0xE0 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH0 DUP2 PUSH1 0x44 DUP2 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP1 PUSH2 0x1A7B JUMPI JUMPDEST PUSH2 0x4A8 SWAP1 PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 PUSH2 0x314 JUMP JUMPDEST POP RETURNDATASIZE DUP1 PUSH0 DUP4 RETURNDATACOPY PUSH2 0x1A8B DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST DUP2 ADD SWAP1 PUSH1 0x20 DUP2 DUP4 SUB SLT PUSH2 0x2B2 JUMPI DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x2B2 JUMPI ADD DUP2 PUSH1 0x1F DUP3 ADD SLT ISZERO PUSH2 0x2B2 JUMPI PUSH2 0x4A8 SWAP2 DUP2 PUSH1 0x20 PUSH2 0x1AC8 SWAP4 MLOAD SWAP2 ADD PUSH2 0x2181 JUMP JUMPDEST PUSH2 0x1A6B JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x1B6E SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1176 JUMPI CALLER PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE DUP1 TIMESTAMP GT PUSH2 0x1C5A JUMPI PUSH1 0x40 MLOAD PUSH4 0x48C89491 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH0 DUP2 DUP1 PUSH2 0x1BC9 PUSH1 0x24 DUP3 ADD DUP8 DUP10 PUSH2 0x1DD6 JUMP JUMPDEST SUB DUP2 DUP4 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x1C0B JUMPI JUMPDEST PUSH2 0x20 PUSH2 0x2C24 JUMP JUMPDEST RETURNDATASIZE DUP1 PUSH0 DUP4 RETURNDATACOPY PUSH2 0x1C1A DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST DUP2 ADD SWAP1 PUSH1 0x20 DUP2 DUP4 SUB SLT PUSH2 0x2B2 JUMPI DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x2B2 JUMPI ADD SWAP1 DUP1 PUSH1 0x1F DUP4 ADD SLT ISZERO PUSH2 0x2B2 JUMPI DUP2 MLOAD PUSH2 0x1C53 SWAP3 PUSH1 0x20 ADD PUSH2 0x2181 JUMP JUMPDEST POP DUP1 PUSH2 0x1C03 JUMP JUMPDEST PUSH4 0xBFB22ADF PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH1 0xFF PUSH2 0x1CB7 PUSH1 0x4 CALLDATALOAD PUSH2 0x1C90 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH2 0x1C9D DUP3 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x5 DUP6 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0x11B7 JUMP JUMPDEST SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLDATASIZE PUSH1 0x3 NOT ADD PUSH1 0xC0 DUP2 SLT PUSH2 0x2B2 JUMPI PUSH1 0xA0 SGT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH2 0x1CED PUSH1 0xA4 CALLDATALOAD PUSH2 0x1CE8 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH2 0x21E4 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE RETURN JUMPDEST CALLDATALOAD SWAP1 PUSH6 0xFFFFFFFFFFFF DUP3 AND DUP3 SUB PUSH2 0x2B2 JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH2 0x1D17 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x44 CALLDATALOAD PUSH2 0x1D2E DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x64 CALLDATALOAD PUSH6 0xFFFFFFFFFFFF DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH2 0x2B2 JUMPI PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x84 CALLDATALOAD PUSH6 0xFFFFFFFFFFFF DUP2 AND DUP2 SUB PUSH2 0x2B2 JUMPI PUSH6 0xFFFFFFFFFFFF PUSH1 0x60 SWAP2 AND SWAP2 ADD MSTORE JUMP JUMPDEST PUSH6 0xFFFFFFFFFFFF PUSH2 0x1DD0 PUSH1 0x60 DUP1 SWAP4 DUP1 CALLDATALOAD PUSH2 0x1D90 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP7 MSTORE PUSH1 0x20 DUP2 ADD CALLDATALOAD PUSH2 0x1DA9 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x20 DUP8 ADD MSTORE DUP4 PUSH2 0x1DC4 PUSH1 0x40 DUP4 ADD PUSH2 0x1CF8 JUMP JUMPDEST AND PUSH1 0x40 DUP8 ADD MSTORE ADD PUSH2 0x1CF8 JUMP JUMPDEST AND SWAP2 ADD MSTORE JUMP JUMPDEST SWAP1 DUP1 PUSH1 0x20 SWAP4 SWAP3 DUP2 DUP5 MSTORE DUP5 DUP5 ADD CALLDATACOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD SWAP1 PUSH2 0x2C1 PUSH1 0x80 DUP4 PUSH2 0x5CD JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x5C8 JUMPI PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 PUSH2 0x1E3A PUSH1 0x20 DUP4 PUSH2 0x5CD JUMP JUMPDEST PUSH0 DUP3 MSTORE JUMP JUMPDEST RETURNDATASIZE ISZERO PUSH2 0x1E69 JUMPI RETURNDATASIZE SWAP1 PUSH2 0x1E50 DUP3 PUSH2 0x1E10 JUMP JUMPDEST SWAP2 PUSH2 0x1E5E PUSH1 0x40 MLOAD SWAP4 DUP5 PUSH2 0x5CD JUMP JUMPDEST DUP3 MSTORE RETURNDATASIZE PUSH0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY JUMP JUMPDEST PUSH1 0x60 SWAP1 JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 SWAP1 PUSH2 0x325 SWAP5 SWAP3 DUP2 MSTORE DUP2 PUSH1 0x20 DUP3 ADD MSTORE ADD SWAP2 PUSH2 0x1DD6 JUMP JUMPDEST CHAINID PUSH32 0x0 SUB PUSH2 0x1EEF JUMPI PUSH32 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP1 PUSH32 0x8CAD95687BA82C2CE50E74F7B754645E5117C3A5BEC8151C0726D5857980A866 DUP3 MSTORE PUSH32 0x0 PUSH1 0x40 DUP3 ADD MSTORE CHAINID PUSH1 0x60 DUP3 ADD MSTORE ADDRESS PUSH1 0x80 DUP3 ADD MSTORE PUSH1 0x80 DUP2 MSTORE PUSH2 0x1F5B PUSH1 0xA0 DUP3 PUSH2 0x5CD JUMP JUMPDEST MLOAD SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI MLOAD PUSH2 0x325 DUP2 PUSH2 0x4F7 JUMP JUMPDEST ISZERO PUSH2 0x1F7D JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x10 PUSH1 0x24 DUP3 ADD MSTORE PUSH16 0x155394D0519157D49150D25412515395 PUSH1 0x82 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x1FBC JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xA PUSH1 0x24 DUP3 ADD MSTORE PUSH10 0x1393D517D35253951151 PUSH1 0xB2 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH2 0x2C1 DUP3 ISZERO ISZERO PUSH2 0x1FB5 JUMP JUMPDEST PUSH0 PUSH1 0x80 PUSH1 0x40 MLOAD PUSH2 0x2020 DUP2 PUSH2 0x5AD JUMP JUMPDEST DUP3 DUP2 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MSTORE DUP3 PUSH1 0x40 DUP3 ADD MSTORE DUP3 PUSH1 0x60 DUP3 ADD MSTORE ADD MSTORE PUSH0 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SLOAD DUP1 PUSH7 0xFFFFFFFFFFFFFF NOT AND PUSH0 MSTORE PUSH1 0xA PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x20BB PUSH2 0x20AB PUSH1 0x2 PUSH1 0x40 MLOAD SWAP4 PUSH2 0x206E DUP6 PUSH2 0x5AD JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP7 MSTORE PUSH1 0x1 DUP3 ADD SLOAD SWAP1 DUP2 AND PUSH1 0x20 DUP8 ADD MSTORE PUSH3 0xFFFFFF PUSH1 0xA0 DUP3 SWAP1 SHR AND PUSH1 0x40 DUP8 ADD MSTORE PUSH1 0xB8 SHR PUSH1 0x2 SIGNEXTEND PUSH1 0x60 DUP7 ADD MSTORE ADD SLOAD PUSH2 0x295 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x80 DUP4 ADD MSTORE JUMP JUMPDEST SWAP2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x5C8 JUMPI PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP2 SWAP1 DUP2 LT ISZERO PUSH2 0x212A JUMPI PUSH1 0x5 SHL DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0x1E NOT DUP2 CALLDATASIZE SUB ADD DUP3 SLT ISZERO PUSH2 0x2B2 JUMPI ADD DUP1 CALLDATALOAD SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x2B2 JUMPI PUSH1 0x20 ADD DUP3 CALLDATASIZE SUB DUP2 SGT PUSH2 0x2B2 JUMPI SWAP2 SWAP1 JUMP JUMPDEST PUSH2 0x20D5 JUMP JUMPDEST SWAP1 DUP1 SWAP3 SWAP2 DUP3 CALLDATACOPY ADD PUSH0 DUP2 MSTORE SWAP1 JUMP JUMPDEST DUP1 MLOAD DUP3 LT ISZERO PUSH2 0x212A JUMPI PUSH1 0x20 SWAP2 PUSH1 0x5 SHL ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND DUP2 MSTORE SWAP2 AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x80 PUSH1 0x60 DUP3 ADD DUP2 SWAP1 MSTORE PUSH2 0x325 SWAP4 SWAP2 ADD SWAP2 PUSH2 0x1DD6 JUMP JUMPDEST SWAP3 SWAP2 SWAP3 PUSH2 0x218D DUP3 PUSH2 0x1E10 JUMP JUMPDEST SWAP2 PUSH2 0x219B PUSH1 0x40 MLOAD SWAP4 DUP5 PUSH2 0x5CD JUMP JUMPDEST DUP3 SWAP5 DUP2 DUP5 MSTORE DUP2 DUP4 ADD GT PUSH2 0x2B2 JUMPI DUP3 DUP2 PUSH1 0x20 SWAP4 DUP5 PUSH0 SWAP7 ADD MCOPY ADD ADD MSTORE JUMP JUMPDEST DUP1 PUSH1 0x2 SIGNEXTEND SUB PUSH2 0x2B2 JUMPI JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI MLOAD PUSH2 0x325 DUP2 PUSH2 0x21B7 JUMP JUMPDEST PUSH3 0xFFFFFF DUP2 AND SUB PUSH2 0x2B2 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x313B65DF PUSH1 0xE1 SHL DUP2 MSTORE SWAP1 PUSH1 0x4 CALLDATALOAD PUSH2 0x21FE DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 CALLDATALOAD PUSH2 0x2218 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x24 DUP4 ADD MSTORE PUSH3 0xFFFFFF PUSH1 0x44 CALLDATALOAD PUSH2 0x2236 DUP2 PUSH2 0x21D7 JUMP JUMPDEST AND PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0x64 CALLDATALOAD PUSH2 0x2248 DUP2 PUSH2 0x21B7 JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND PUSH1 0x64 DUP4 ADD MSTORE PUSH2 0x226F PUSH1 0x84 CALLDATALOAD PUSH2 0x225F DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x84 DUP5 ADD MSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0xA4 DUP4 ADD MSTORE PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0xC4 SWAP1 DUP3 SWAP1 PUSH0 SWAP1 PUSH32 0x0 AND GAS CALL PUSH0 SWAP2 DUP2 PUSH2 0x22C4 JUMPI JUMPDEST POP PUSH2 0x325 JUMPI POP PUSH3 0x7FFFFF SWAP1 JUMP JUMPDEST PUSH2 0x22E7 SWAP2 SWAP3 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x22EE JUMPI JUMPDEST PUSH2 0x22DF DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x21C2 JUMP JUMPDEST SWAP1 PUSH0 PUSH2 0x22B7 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x22D5 JUMP JUMPDEST CALLER PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO DUP1 PUSH2 0x233D JUMPI JUMPDEST PUSH2 0x232E JUMPI JUMP JUMPDEST PUSH4 0x1C5DEABB PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP CALLER PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO PUSH2 0x2328 JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0xFF DUP3 AND SHL SWAP2 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH1 0x8 SHR PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP2 DUP2 SLOAD XOR DUP1 SWAP2 SSTORE AND ISZERO PUSH2 0x23A8 JUMPI JUMP JUMPDEST PUSH3 0x3F6137 PUSH1 0xE7 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 DUP3 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH2 0x23CC DUP2 PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x1E6E JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP2 AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 PUSH0 DUP1 LOG4 JUMP JUMPDEST SWAP1 PUSH2 0x2408 PUSH2 0x1EA4 JUMP JUMPDEST SWAP2 PUSH1 0x40 MLOAD SWAP3 PUSH2 0x1901 PUSH1 0xF0 SHL DUP5 MSTORE PUSH1 0x2 DUP5 ADD MSTORE PUSH1 0x22 DUP4 ADD MSTORE PUSH0 PUSH1 0x40 PUSH1 0x42 DUP5 KECCAK256 SWAP4 DUP3 DUP2 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MSTORE ADD MSTORE JUMP JUMPDEST SWAP2 SWAP1 DUP3 PUSH1 0x40 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 DUP3 CALLDATALOAD SWAP3 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0xFF PUSH1 0x1B SWAP2 AND ADD SWAP1 PUSH1 0xFF DUP3 GT PUSH2 0x2470 JUMPI JUMP JUMPDEST PUSH2 0x244A JUMP JUMPDEST SWAP1 PUSH1 0x40 LT ISZERO PUSH2 0x212A JUMPI PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST SWAP1 DUP4 EXTCODESIZE PUSH2 0x258F JUMPI PUSH1 0x41 DUP2 SUB PUSH2 0x2543 JUMPI SWAP1 PUSH1 0x20 SWAP3 PUSH2 0x24F5 DUP4 PUSH2 0x24CD PUSH2 0x24C7 PUSH2 0x24B9 PUSH2 0x24B1 PUSH0 SWAP9 DUP9 ADD DUP9 PUSH2 0x2434 JUMP JUMPDEST SWAP5 SWAP1 SWAP8 PUSH2 0x2475 JUMP JUMPDEST CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 JUMP JUMPDEST PUSH1 0xF8 SHR SWAP1 JUMP JUMPDEST SWAP4 JUMPDEST PUSH1 0x40 MLOAD SWAP5 DUP6 SWAP5 DUP6 SWAP1 SWAP5 SWAP4 SWAP3 PUSH1 0xFF PUSH1 0x60 SWAP4 PUSH1 0x80 DUP5 ADD SWAP8 DUP5 MSTORE AND PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD MSTORE ADD MSTORE JUMP JUMPDEST DUP4 DUP1 MSTORE SUB SWAP1 PUSH1 0x1 GAS STATICCALL ISZERO PUSH2 0xFF1 JUMPI PUSH0 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 ISZERO PUSH2 0x2534 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x2525 JUMPI JUMP JUMPDEST PUSH4 0x20578759 PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH4 0x8BAA579F PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 PUSH1 0x40 DUP3 SUB PUSH2 0x2580 JUMPI PUSH1 0x20 SWAP3 PUSH2 0x2560 DUP3 PUSH0 SWAP5 PUSH2 0x24F5 SWAP5 ADD SWAP1 PUSH2 0x2434 JUMP JUMPDEST SWAP1 SWAP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xFF SHL SUB DUP2 AND SWAP1 PUSH2 0x257A SWAP1 PUSH1 0xFF SHR PUSH2 0x245E JUMP JUMPDEST SWAP4 PUSH2 0x24CF JUMP JUMPDEST PUSH4 0x4BE6321B PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 SWAP3 PUSH2 0x25B5 SWAP4 PUSH1 0x20 SWAP4 PUSH1 0x40 MLOAD SWAP6 DUP7 SWAP5 DUP6 SWAP4 DUP5 SWAP4 PUSH4 0xB135D3F PUSH1 0xE1 SHL DUP6 MSTORE PUSH1 0x4 DUP6 ADD PUSH2 0x1E8D JUMP JUMPDEST SUB SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP2 PUSH2 0x25F9 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0x74ECA2C1 PUSH1 0xE1 SHL ADD PUSH2 0x25EA JUMPI JUMP JUMPDEST PUSH4 0x2C19A72F PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0x2612 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xFEA JUMPI PUSH2 0xFDC DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST PUSH0 PUSH2 0x25D0 JUMP JUMPDEST SWAP3 SWAP1 PUSH2 0x2653 SWAP3 PUSH1 0xA0 SWAP3 PUSH1 0x40 MLOAD SWAP6 PUSH1 0x26 DUP8 ADD MSTORE PUSH1 0x6 DUP7 ADD MSTORE PUSH1 0x3 DUP6 ADD MSTORE ADDRESS DUP5 MSTORE PUSH0 PUSH1 0x3A PUSH1 0xC DUP7 ADD KECCAK256 SWAP5 DUP2 PUSH1 0x40 DUP3 ADD MSTORE DUP2 PUSH1 0x20 DUP3 ADD MSTORE MSTORE KECCAK256 PUSH2 0x3C3B JUMP JUMPDEST PUSH1 0x6 DUP2 ADD DUP1 SWAP2 GT PUSH2 0x2470 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 DUP2 ADD SWAP5 DUP6 MSTORE SWAP2 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH2 0x26A6 SWAP3 SWAP1 SWAP2 PUSH2 0x2684 DUP2 PUSH1 0x60 DUP2 ADD PUSH2 0xCC5 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD DUP1 SWAP4 DUP2 SWAP3 PUSH4 0x1E2EAEAF PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD SWAP2 SWAP1 PUSH1 0x20 DUP4 ADD SWAP3 MSTORE JUMP JUMPDEST SUB DUP2 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP2 PUSH2 0x26EF JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH2 0x2711 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x2717 JUMPI JUMPDEST PUSH2 0x2709 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x271E JUMP JUMPDEST PUSH0 PUSH2 0x26E2 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x26FF JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI MLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x789ADD55 PUSH1 0xE1 SHL DUP2 MSTORE PUSH32 0xC090FC4683624CFC3884E9D8DE5ECA132F2D0EC062AFF75D43C0465D5CEEAB23 PUSH1 0x4 DUP3 ADD MSTORE SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP2 PUSH2 0x278A JUMPI JUMPDEST POP ISZERO ISZERO SWAP1 JUMP JUMPDEST PUSH2 0x27A3 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x2717 JUMPI PUSH2 0x2709 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST PUSH0 PUSH2 0x2784 JUMP JUMPDEST ISZERO PUSH2 0x27B0 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xA PUSH1 0x24 DUP3 ADD MSTORE PUSH10 0x57524F4E475F46524F4D PUSH1 0xB0 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x27E9 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x11 PUSH1 0x24 DUP3 ADD MSTORE PUSH17 0x1253959053125117D49150D25412515395 PUSH1 0x7A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x2829 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x1393D517D055551213D492569151 PUSH1 0x92 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x2883 PUSH2 0x9E5 DUP4 PUSH2 0x6FA JUMP JUMPDEST AND SWAP1 DUP2 ISZERO PUSH2 0x2950 JUMPI PUSH0 DUP2 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE PUSH2 0x28AC PUSH2 0xA78 DUP3 PUSH2 0x6FA JUMP JUMPDEST DUP2 EXTCODESIZE PUSH2 0x28D9 JUMPI JUMPDEST PUSH32 0xA0EBB1DE82DB929A9153472F37D3A66DBEDE4436258311AD0F52A35A2C91D150 PUSH0 DUP1 LOG3 JUMP JUMPDEST GAS PUSH32 0x0 DUP1 SWAP2 LT PUSH2 0x294B JUMPI DUP3 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2BD17745 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE SWAP1 PUSH0 SWAP1 DUP3 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 DUP5 SWAP1 DUP9 SWAP1 CALL PUSH2 0x2937 JUMPI JUMPDEST POP PUSH2 0x28B3 JUMP JUMPDEST DUP1 PUSH2 0x4C3 PUSH0 PUSH2 0x2945 SWAP4 PUSH2 0x5CD JUMP JUMPDEST PUSH0 PUSH2 0x2931 JUMP JUMPDEST PUSH2 0x2C86 JUMP JUMPDEST PUSH4 0x46FCD85 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x2970 DUP4 PUSH2 0x1FEE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP2 AND DUP2 EQ SWAP3 SWAP1 DUP4 ISZERO PUSH2 0x29C4 JUMPI JUMPDEST POP DUP3 ISZERO PUSH2 0x2993 JUMPI POP POP SWAP1 JUMP JUMPDEST PUSH1 0xFF SWAP3 POP PUSH2 0x29BF SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 PUSH2 0x29AE SWAP1 PUSH2 0x1FEE JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x11B7 JUMP JUMPDEST SLOAD AND SWAP1 JUMP JUMPDEST PUSH0 DUP3 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 SWAP2 EQ SWAP4 POP PUSH2 0x2987 JUMP JUMPDEST DUP1 EXTCODESIZE ISZERO PUSH2 0x29FE JUMPI DUP2 PUSH0 SWAP3 SWAP2 DUP4 PUSH1 0x20 DUP2 SWAP5 MLOAD SWAP4 ADD SWAP2 GAS CALL SWAP1 JUMP JUMPDEST PUSH4 0x7C402B21 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH4 0x46ABFB59 PUSH1 0xE1 SHL PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x80 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0xA0 RETURNDATASIZE PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 DUP2 ADD PUSH1 0x64 DUP4 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP4 ADD MSTORE RETURNDATASIZE PUSH0 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0x40F52F4F PUSH1 0xE1 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH4 0xA9059CBB PUSH1 0xE0 SHL PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x80 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0xA0 RETURNDATASIZE PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 DUP2 ADD PUSH1 0x64 DUP4 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP4 ADD MSTORE RETURNDATASIZE PUSH0 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0x3C9FD939 PUSH1 0xE2 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH0 PUSH1 0x24 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x80 PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0xA0 RETURNDATASIZE PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 DUP2 ADD PUSH1 0x64 DUP5 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP5 ADD MSTORE SWAP1 RETURNDATASIZE SWAP1 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0x3D2CEC6F PUSH1 0xE2 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH4 0xB1A9116F PUSH1 0xE0 SHL PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x80 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0xA0 RETURNDATASIZE PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 DUP2 ADD PUSH1 0x64 DUP4 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP4 ADD MSTORE RETURNDATASIZE PUSH0 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0xACE94481 PUSH1 0xE0 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH1 0x20 PUSH32 0x17307EAB39AB6107E8899845AD3D59BD9653F200F220920489CA2B5937696C31 SWAP2 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP3 DUP4 PUSH0 MSTORE PUSH1 0x5 DUP3 MSTORE PUSH2 0x2BFE DUP2 PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x11B7 JUMP JUMPDEST DUP1 SLOAD PUSH1 0xFF NOT AND SWAP6 ISZERO ISZERO PUSH1 0xFF DUP2 AND SWAP7 SWAP1 SWAP7 OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP5 DUP6 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP4 LOG3 JUMP JUMPDEST PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE JUMP JUMPDEST SWAP1 SWAP3 SWAP2 SWAP4 DUP3 DUP5 SUB PUSH2 0x2C77 JUMPI PUSH0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x2C6F JUMPI PUSH1 0x1 SWAP1 PUSH2 0x2C69 DUP2 DUP6 ADD PUSH2 0x2C5F DUP4 DUP9 DUP12 PUSH2 0x20E9 JUMP JUMPDEST SWAP2 CALLDATALOAD PUSH1 0xF8 SHR PUSH2 0x2C95 JUMP JUMPDEST ADD PUSH2 0x2C43 JUMP JUMPDEST POP SWAP4 POP POP POP POP JUMP JUMPDEST PUSH4 0xAAAD13F7 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH4 0x76A1E1D3 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 SWAP2 SWAP1 PUSH1 0xB DUP2 LT ISZERO PUSH2 0x2D97 JUMPI DUP1 PUSH2 0x2CC0 JUMPI POP PUSH2 0x2CB4 SWAP1 PUSH2 0x2C1 SWAP3 PUSH2 0x3A83 JUMP JUMPDEST SWAP5 SWAP4 SWAP1 SWAP4 SWAP3 SWAP2 SWAP3 PUSH2 0x3BF2 JUMP JUMPDEST PUSH1 0x4 DUP2 SUB PUSH2 0x2CDF JUMPI POP PUSH2 0x2CD6 SWAP1 PUSH2 0x2C1 SWAP3 PUSH2 0x3473 JUMP JUMPDEST SWAP4 SWAP3 SWAP1 SWAP3 PUSH2 0x3B1D JUMP JUMPDEST PUSH1 0x1 DUP2 SUB PUSH2 0x2D01 JUMPI POP PUSH2 0x2CF5 SWAP1 PUSH2 0x2C1 SWAP3 PUSH2 0x3A83 JUMP JUMPDEST SWAP5 SWAP4 SWAP1 SWAP4 SWAP3 SWAP2 SWAP3 PUSH2 0x3AC5 JUMP JUMPDEST PUSH1 0x2 DUP2 SUB PUSH2 0x2D30 JUMPI POP PUSH2 0x2D1A PUSH2 0x2D2A SWAP2 PUSH2 0x2C1 SWAP4 PUSH2 0x383E JUMP JUMPDEST SWAP9 SWAP1 SWAP8 SWAP7 SWAP2 SWAP6 SWAP3 SWAP6 SWAP5 SWAP4 SWAP5 PUSH2 0x30BF JUMP JUMPDEST SWAP6 PUSH2 0x3925 JUMP JUMPDEST PUSH1 0x5 DUP2 SUB PUSH2 0x2D5C JUMPI POP PUSH2 0x2D49 PUSH2 0x2D56 SWAP2 PUSH2 0x2C1 SWAP4 PUSH2 0x36E0 JUMP JUMPDEST SWAP8 SWAP1 SWAP7 SWAP6 SWAP2 SWAP5 SWAP3 SWAP5 PUSH2 0x30BF JUMP JUMPDEST SWAP5 PUSH2 0x37A2 JUMP JUMPDEST SWAP2 PUSH1 0x3 DUP4 EQ PUSH2 0x2D7F JUMPI POP POP PUSH2 0xD2D SWAP2 POP JUMPDEST PUSH4 0x5CDA29D7 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 JUMP JUMPDEST PUSH2 0x2C1 SWAP3 POP SWAP1 PUSH2 0x2D8E SWAP2 PUSH2 0x3473 JUMP JUMPDEST SWAP4 SWAP3 SWAP1 SWAP3 PUSH2 0x34AF JUMP JUMPDEST PUSH1 0xD DUP2 SUB PUSH2 0x2DB3 JUMPI POP PUSH2 0x2DAD SWAP1 PUSH2 0x2C1 SWAP3 PUSH2 0x30AC JUMP JUMPDEST SWAP1 PUSH2 0x3448 JUMP JUMPDEST PUSH1 0x11 DUP2 SUB PUSH2 0x2DDB JUMPI POP PUSH2 0x2DCC PUSH2 0x2DD5 SWAP2 PUSH2 0x2C1 SWAP4 PUSH2 0x322D JUMP JUMPDEST SWAP3 SWAP1 SWAP2 SWAP3 PUSH2 0x30BF JUMP JUMPDEST SWAP2 PUSH2 0x342D JUMP JUMPDEST PUSH1 0xB DUP2 SUB PUSH2 0x2E0F JUMPI POP PUSH2 0x2E09 PUSH2 0x2DF7 PUSH2 0x2E03 SWAP3 PUSH2 0x2C1 SWAP5 PUSH2 0x322D JUMP JUMPDEST SWAP4 DUP3 SWAP5 SWAP4 SWAP3 SWAP2 SWAP4 PUSH2 0x32EE JUMP JUMPDEST SWAP3 PUSH2 0x3309 JUMP JUMPDEST SWAP2 PUSH2 0x332E JUMP JUMPDEST PUSH1 0xE DUP2 SUB PUSH2 0x2E41 JUMPI POP PUSH2 0x2E35 PUSH2 0x2E2B PUSH2 0x2E3B SWAP3 PUSH2 0x2C1 SWAP5 PUSH2 0x322D JUMP JUMPDEST SWAP3 DUP3 SWAP5 SWAP3 SWAP2 PUSH2 0x30BF JUMP JUMPDEST SWAP3 PUSH2 0x3245 JUMP JUMPDEST SWAP2 PUSH2 0x3259 JUMP JUMPDEST PUSH1 0x12 DUP2 SUB PUSH2 0x2E5C JUMPI POP PUSH2 0x2E57 SWAP1 PUSH2 0x2C1 SWAP3 PUSH2 0x2F48 JUMP JUMPDEST PUSH2 0x31D4 JUMP JUMPDEST PUSH1 0x13 DUP2 SUB PUSH2 0x2E78 JUMPI POP PUSH2 0x2E72 SWAP1 PUSH2 0x2C1 SWAP3 PUSH2 0x30AC JUMP JUMPDEST SWAP1 PUSH2 0x310F JUMP JUMPDEST PUSH1 0x14 DUP2 SUB PUSH2 0x2E9F JUMPI POP PUSH2 0x2E91 PUSH2 0x2E99 SWAP2 PUSH2 0x2C1 SWAP4 PUSH2 0x30AC JUMP JUMPDEST SWAP2 SWAP1 SWAP2 PUSH2 0x30BF JUMP JUMPDEST SWAP1 PUSH2 0x30F1 JUMP JUMPDEST PUSH1 0x15 DUP2 SUB PUSH2 0x2EED JUMPI POP PUSH2 0x2EB8 PUSH2 0x2EE8 SWAP2 PUSH2 0x2C1 SWAP4 PUSH2 0x2F48 JUMP JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH2 0x2F9F JUMP JUMPDEST PUSH2 0x304F JUMP JUMPDEST SWAP2 PUSH1 0x16 DUP4 EQ PUSH2 0x2F02 JUMPI POP POP PUSH2 0xD2D SWAP2 POP PUSH2 0x2D6D JUMP JUMPDEST PUSH2 0x2C1 SWAP3 POP PUSH2 0x2F43 SWAP2 PUSH2 0x2F14 SWAP2 PUSH2 0x2F48 JUMP JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x2F54 JUMP JUMPDEST PUSH2 0x2FDF JUMP JUMPDEST SWAP1 PUSH1 0x20 GT PUSH2 0x153E JUMPI CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH2 0x2F5F SWAP1 ADDRESS SWAP1 PUSH2 0x3C5B JUMP JUMPDEST PUSH1 0x1 PUSH1 0xFF SHL DUP3 EQ PUSH2 0x2F9A JUMPI DUP2 ISZERO PUSH2 0x2F89 JUMPI JUMPDEST DUP2 GT PUSH2 0x2F7A JUMPI SWAP1 JUMP JUMPDEST PUSH4 0x1E9ACF17 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 POP PUSH2 0x2F94 PUSH0 PUSH2 0x3CC3 JUMP JUMPDEST SWAP1 PUSH2 0x2F71 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST SWAP1 PUSH2 0x2FAA ADDRESS PUSH0 PUSH2 0x3C5B JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0xFF SHL DUP4 EQ PUSH2 0x2FD9 JUMPI DUP3 ISZERO PUSH2 0x2FC7 JUMPI JUMPDEST POP DUP2 GT PUSH2 0x2F7A JUMPI SWAP1 JUMP JUMPDEST PUSH2 0x2FD2 SWAP2 SWAP3 POP PUSH2 0x3CC3 JUMP JUMPDEST SWAP1 PUSH0 PUSH2 0x2FBD JUMP JUMPDEST POP SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH2 0x2FE7 JUMPI POP JUMP JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH0 SWAP2 PUSH1 0x24 DUP4 SWAP3 PUSH1 0x40 MLOAD SWAP5 DUP6 SWAP4 DUP5 SWAP3 PUSH4 0x2E1A7D4D PUSH1 0xE0 SHL DUP5 MSTORE PUSH1 0x4 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x3045 JUMPI POP JUMP JUMPDEST PUSH0 PUSH2 0x2C1 SWAP2 PUSH2 0x5CD JUMP JUMPDEST DUP1 PUSH2 0x3057 JUMPI POP JUMP JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH0 SWAP1 PUSH1 0x4 PUSH1 0x40 MLOAD DUP1 SWAP5 DUP2 SWAP4 PUSH4 0xD0E30DB PUSH1 0xE4 SHL DUP4 MSTORE GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x3045 JUMPI POP JUMP JUMPDEST SWAP2 SWAP1 PUSH1 0x40 GT PUSH2 0x153E JUMPI PUSH1 0x20 DUP3 CALLDATALOAD SWAP3 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x1 DUP2 SUB PUSH2 0x30E5 JUMPI POP POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP1 JUMP JUMPDEST PUSH1 0x2 SUB PUSH2 0x325 JUMPI POP ADDRESS SWAP1 JUMP JUMPDEST SWAP1 PUSH2 0x30FB DUP3 PUSH2 0x3D20 JUMP JUMPDEST SWAP1 DUP2 PUSH2 0x3106 JUMPI POP POP POP JUMP JUMPDEST PUSH2 0x2C1 SWAP3 PUSH2 0x3D6D JUMP JUMPDEST SWAP1 PUSH2 0x3119 DUP3 PUSH2 0x3DFE JUMP JUMPDEST SWAP1 DUP2 ISZERO PUSH2 0x31BF JUMPI DUP2 GT PUSH2 0x31A6 JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH4 0x203C2D13 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP1 PUSH0 SWAP1 DUP3 SWAP1 PUSH1 0x44 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x3198 JUMPI POP JUMP JUMPDEST DUP1 PUSH2 0x4C3 PUSH0 PUSH2 0x2C1 SWAP4 PUSH2 0x5CD JUMP JUMPDEST PUSH2 0x2C1 SWAP2 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP1 PUSH2 0x3259 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0xFF SHL DUP2 EQ PUSH2 0x2470 JUMPI PUSH0 SUB SWAP1 JUMP JUMPDEST PUSH2 0x31FF DUP2 ADDRESS PUSH32 0x0 PUSH2 0x3E55 JUMP JUMPDEST SWAP1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH0 DUP4 SLT ISZERO PUSH2 0x3223 JUMPI PUSH2 0x2E09 PUSH2 0x2C1 SWAP4 PUSH2 0x31C4 JUMP JUMPDEST PUSH2 0x2C1 SWAP3 SWAP2 PUSH2 0x3259 JUMP JUMPDEST SWAP1 PUSH1 0x60 GT PUSH2 0x153E JUMPI DUP1 CALLDATALOAD SWAP2 PUSH1 0x40 PUSH1 0x20 DUP4 ADD CALLDATALOAD SWAP3 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST SWAP1 DUP2 PUSH2 0x3255 JUMPI PUSH2 0x325 SWAP2 POP PUSH2 0x3DFE JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST SWAP1 DUP3 ISZERO PUSH2 0x31BF JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH4 0xB0D9C09 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH0 SWAP1 DUP3 SWAP1 PUSH1 0x64 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x32D9 JUMPI POP JUMP JUMPDEST DUP1 PUSH2 0x32E5 PUSH0 DUP1 SWAP4 PUSH2 0x5CD JUMP JUMPDEST DUP1 SUB SLT PUSH2 0x2B2 JUMPI JUMP JUMPDEST ISZERO PUSH2 0x3305 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP1 JUMP JUMPDEST ADDRESS SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0xFF SHL DUP3 SUB PUSH2 0x331F JUMPI PUSH2 0x325 SWAP2 POP PUSH2 0x3D20 JUMP JUMPDEST DUP2 PUSH2 0x3255 JUMPI PUSH2 0x325 SWAP2 POP PUSH2 0x3CC3 JUMP JUMPDEST SWAP1 DUP3 ISZERO PUSH2 0x31BF JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH4 0x29610465 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH0 DUP2 PUSH1 0x24 DUP2 DUP4 DUP9 GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x3419 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x33E8 JUMPI POP POP PUSH1 0x20 SWAP1 PUSH1 0x4 PUSH1 0x40 MLOAD DUP1 SWAP5 DUP2 SWAP4 PUSH4 0x476982D PUSH1 0xE2 SHL DUP4 MSTORE GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x33CD JUMPI POP JUMP JUMPDEST PUSH2 0x33E5 SWAP1 PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x2717 JUMPI PUSH2 0x2709 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST POP JUMP JUMPDEST PUSH0 SWAP4 PUSH1 0x20 SWAP4 SWAP3 PUSH2 0x33F7 SWAP3 PUSH2 0x3EA2 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x40 MLOAD DUP1 SWAP5 DUP2 SWAP4 PUSH4 0x476982D PUSH1 0xE2 SHL DUP4 MSTORE GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x33CD JUMPI POP JUMP JUMPDEST DUP1 PUSH2 0x4C3 PUSH0 PUSH2 0x3427 SWAP4 PUSH2 0x5CD JUMP JUMPDEST PUSH0 PUSH2 0x3397 JUMP JUMPDEST SWAP2 PUSH2 0x343F PUSH2 0x2C1 SWAP4 DUP3 PUSH2 0x2E3B DUP3 PUSH2 0x3DFE JUMP JUMPDEST PUSH2 0x2E3B DUP3 PUSH2 0x3DFE JUMP JUMPDEST SWAP1 PUSH2 0x2C1 SWAP2 PUSH2 0x346A PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP2 DUP3 PUSH2 0x2E09 DUP3 PUSH2 0x3CC3 JUMP JUMPDEST PUSH2 0x2E09 DUP3 PUSH2 0x3CC3 JUMP JUMPDEST SWAP2 SWAP1 DUP3 CALLDATALOAD SWAP3 PUSH1 0x20 DUP2 ADD CALLDATALOAD SWAP3 PUSH1 0x40 DUP3 ADD CALLDATALOAD SWAP3 PUSH4 0xFFFFFFFF PUSH1 0x60 DUP5 ADD CALLDATALOAD AND DUP4 ADD SWAP1 PUSH4 0xFFFFFFFF DUP3 CALLDATALOAD AND SWAP4 PUSH1 0x20 DUP1 DUP5 ADD SWAP4 DUP7 ADD ADD SWAP2 ADD LT PUSH2 0x153E JUMPI SWAP2 SWAP1 JUMP JUMPDEST SWAP4 SWAP3 SWAP1 SWAP3 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x34CC DUP7 DUP3 PUSH2 0x295F JUMP JUMPDEST ISZERO PUSH2 0x365F JUMPI POP PUSH2 0x34DB DUP6 PUSH2 0x2011 JUMP JUMPDEST SWAP3 SWAP1 SWAP4 DUP4 PUSH1 0x8 SHR PUSH1 0x2 SIGNEXTEND SWAP6 DUP5 PUSH1 0x20 SHR PUSH1 0x2 SIGNEXTEND SWAP7 PUSH2 0x3509 PUSH2 0x34FD DUP10 DUP4 DUP11 DUP14 PUSH2 0x2618 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 JUMP JUMPDEST SWAP7 PUSH2 0x3513 DUP11 PUSH2 0x1FEE JUMP JUMPDEST SWAP6 PUSH0 PUSH2 0x351E DUP13 PUSH2 0x6EC JUMP JUMPDEST SSTORE PUSH2 0x3528 DUP12 PUSH2 0x3F8C JUMP JUMPDEST PUSH0 SWAP10 DUP10 PUSH2 0x355A JUMPI JUMPDEST POP POP POP POP POP POP POP DUP2 PUSH1 0xFF AND PUSH2 0x3547 JUMPI JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH2 0x3550 SWAP5 PUSH2 0x40F9 JUMP JUMPDEST PUSH0 DUP1 DUP1 DUP1 DUP1 PUSH2 0x3540 JUMP JUMPDEST PUSH1 0x40 SWAP5 SWAP6 SWAP7 SWAP11 POP SWAP1 PUSH2 0x35BF SWAP2 PUSH2 0x359A PUSH2 0x357A PUSH2 0x3575 DUP14 PUSH2 0x4024 JUMP JUMPDEST PUSH2 0x31C4 JUMP JUMPDEST SWAP2 PUSH2 0x3590 PUSH2 0x3586 PUSH2 0x1E01 JUMP JUMPDEST SWAP8 DUP9 SWAP1 PUSH1 0x2 SIGNEXTEND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND PUSH1 0x20 DUP8 ADD MSTORE JUMP JUMPDEST DUP5 DUP7 ADD MSTORE PUSH1 0x60 DUP5 ADD DUP13 SWAP1 MSTORE DUP5 MLOAD PUSH4 0x2D35E7ED PUSH1 0xE1 SHL DUP2 MSTORE SWAP11 DUP12 SWAP5 DUP6 SWAP5 PUSH1 0x4 DUP7 ADD PUSH2 0x3695 JUMP JUMPDEST SUB DUP2 PUSH0 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP7 PUSH0 SWAP2 PUSH2 0x361F JUMPI JUMPDEST POP SWAP1 PUSH2 0x360E DUP3 PUSH2 0x3613 SWAP5 SWAP4 SWAP9 PUSH2 0x403D JUMP JUMPDEST PUSH2 0x4087 JUMP JUMPDEST PUSH0 DUP1 DUP1 DUP1 DUP1 DUP1 DUP1 PUSH2 0x3530 JUMP JUMPDEST PUSH2 0x360E SWAP8 POP PUSH2 0x3613 SWAP4 SWAP3 SWAP2 POP PUSH2 0x364C SWAP1 PUSH1 0x40 RETURNDATASIZE PUSH1 0x40 GT PUSH2 0x3658 JUMPI JUMPDEST PUSH2 0x3644 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x367F JUMP JUMPDEST SWAP8 SWAP1 SWAP8 SWAP2 SWAP3 SWAP4 POP PUSH2 0x35FD JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x363A JUMP JUMPDEST PUSH4 0x1952D1B PUSH1 0xE3 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST SWAP2 SWAP1 DUP3 PUSH1 0x40 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 DUP3 MLOAD SWAP3 ADD MLOAD SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH2 0x325 SWAP6 SWAP4 PUSH2 0x36A9 DUP4 PUSH2 0x140 SWAP6 PUSH2 0x1326 JUMP JUMPDEST DUP1 MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0xA0 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0xC0 DUP5 ADD MSTORE PUSH1 0x40 DUP2 ADD MLOAD PUSH1 0xE0 DUP5 ADD MSTORE ADD MLOAD PUSH2 0x100 DUP3 ADD MSTORE DUP2 PUSH2 0x120 DUP3 ADD MSTORE ADD SWAP2 PUSH2 0x1DD6 JUMP JUMPDEST SWAP2 SWAP1 DUP3 PUSH1 0xA0 DUP2 ADD CALLDATALOAD SWAP3 PUSH1 0xC0 DUP3 ADD CALLDATALOAD SWAP3 PUSH1 0xE0 DUP4 ADD CALLDATALOAD SWAP3 PUSH2 0x100 DUP2 ADD CALLDATALOAD SWAP3 PUSH2 0x120 DUP3 ADD CALLDATALOAD SWAP3 PUSH4 0xFFFFFFFF PUSH2 0x140 DUP5 ADD CALLDATALOAD AND DUP4 ADD SWAP1 PUSH4 0xFFFFFFFF DUP3 CALLDATALOAD AND SWAP4 PUSH1 0x20 DUP1 DUP5 ADD SWAP4 DUP7 ADD ADD SWAP2 ADD LT PUSH2 0x153E JUMPI SWAP2 SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP3 PUSH1 0xA0 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH2 0x3747 DUP2 PUSH2 0x5AD JUMP JUMPDEST PUSH1 0x80 DUP1 DUP3 SWAP5 DUP1 CALLDATALOAD PUSH2 0x3757 DUP2 PUSH2 0x2A1 JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP2 ADD CALLDATALOAD PUSH2 0x3767 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP2 ADD CALLDATALOAD PUSH2 0x377A DUP2 PUSH2 0x21D7 JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x60 DUP2 ADD CALLDATALOAD PUSH2 0x378D DUP2 PUSH2 0x21B7 JUMP JUMPDEST PUSH1 0x60 DUP6 ADD MSTORE ADD CALLDATALOAD SWAP2 PUSH2 0x379E DUP4 PUSH2 0x2A1 JUMP JUMPDEST ADD MSTORE JUMP JUMPDEST SWAP1 SWAP2 PUSH2 0x2C1 SWAP8 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 PUSH2 0x37E3 PUSH1 0xA0 PUSH2 0x37BC CALLDATASIZE DUP7 PUSH2 0x372F JUMP JUMPDEST KECCAK256 PUSH32 0x0 PUSH2 0x417E JUMP JUMPDEST POP POP POP PUSH2 0x3837 PUSH2 0x37F2 DUP4 PUSH2 0x420A JUMP JUMPDEST SWAP2 PUSH2 0x37FC DUP6 PUSH2 0x420A JUMP JUMPDEST PUSH2 0x380F DUP8 CALLDATALOAD PUSH2 0x380A DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH2 0x3DFE JUMP JUMPDEST SWAP1 PUSH1 0x20 DUP9 ADD CALLDATALOAD SWAP5 PUSH2 0x381F DUP7 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP6 PUSH2 0x3831 SWAP1 PUSH2 0x3DFE JUMP JUMPDEST SWAP4 PUSH2 0x452A JUMP JUMPDEST AND SWAP3 PUSH2 0x3925 JUMP JUMPDEST SWAP1 SWAP2 DUP2 SWAP3 PUSH1 0xA0 DUP4 ADD CALLDATALOAD SWAP3 PUSH1 0xC0 DUP2 ADD CALLDATALOAD SWAP3 PUSH1 0xE0 DUP3 ADD CALLDATALOAD SWAP3 PUSH2 0x100 DUP4 ADD CALLDATALOAD SWAP3 PUSH2 0x120 DUP2 ADD CALLDATALOAD SWAP3 PUSH2 0x140 DUP3 ADD CALLDATALOAD SWAP3 PUSH4 0xFFFFFFFF PUSH2 0x160 DUP5 ADD CALLDATALOAD AND DUP4 ADD SWAP1 PUSH4 0xFFFFFFFF DUP3 CALLDATALOAD AND SWAP4 PUSH1 0x20 DUP1 DUP5 ADD SWAP4 DUP7 ADD ADD SWAP2 ADD LT PUSH2 0x153E JUMPI SWAP2 SWAP1 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x80 PUSH2 0x2C1 SWAP4 PUSH2 0x38B1 DUP2 CALLDATALOAD PUSH2 0x38AB DUP2 PUSH2 0x2A1 JUMP JUMPDEST DUP6 PUSH2 0x1E6E JUMP JUMPDEST PUSH1 0x1 DUP5 ADD PUSH2 0x38CC PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x38C6 DUP2 PUSH2 0x2A1 JUMP JUMPDEST DUP3 PUSH2 0x1E6E JUMP JUMPDEST PUSH1 0x40 DUP3 ADD CALLDATALOAD PUSH2 0x38DA DUP2 PUSH2 0x21D7 JUMP JUMPDEST DUP2 SLOAD PUSH1 0x60 DUP5 ADD CALLDATALOAD PUSH2 0x38EA DUP2 PUSH2 0x21B7 JUMP JUMPDEST PUSH1 0xB8 SHL PUSH3 0xFFFFFF PUSH1 0xB8 SHL AND SWAP2 PUSH3 0xFFFFFF PUSH1 0xA0 SHL SWAP1 PUSH1 0xA0 SHL AND SWAP1 PUSH6 0xFFFFFFFFFFFF PUSH1 0xA0 SHL NOT AND OR OR SWAP1 SSTORE ADD CALLDATALOAD SWAP2 PUSH2 0x391F DUP4 PUSH2 0x2A1 JUMP JUMPDEST ADD PUSH2 0x1E6E JUMP JUMPDEST SWAP1 SWAP2 SWAP5 SWAP7 SWAP3 SWAP8 SWAP4 SWAP6 SWAP8 PUSH1 0x8 SLOAD SWAP3 PUSH1 0x1 DUP5 ADD PUSH1 0x8 SSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP11 AND SWAP10 PUSH2 0x394E DUP12 ISZERO ISZERO PUSH2 0x27E2 JUMP JUMPDEST PUSH0 DUP6 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x3A4D JUMPI PUSH2 0x39E0 PUSH2 0x3A2F SWAP9 PUSH2 0x3A29 SWAP4 DUP8 PUSH2 0x2C1 SWAP15 PUSH2 0x3999 DUP7 PUSH2 0x3989 PUSH2 0x3A21 SWAP9 PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE PUSH2 0xA67 DUP5 PUSH2 0x6D0 JUMP JUMPDEST PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A48 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 DUP1 LOG4 PUSH2 0x39B5 CALLDATASIZE DUP9 PUSH2 0x372F JUMP JUMPDEST PUSH4 0xFFFFFF00 SWAP1 PUSH1 0xA0 PUSH7 0xFFFFFFFFFFFFFF NOT SWAP2 KECCAK256 AND SWAP2 PUSH1 0x8 SHL AND SWAP2 PUSH3 0xFFFFFF PUSH1 0x20 SHL SWAP1 PUSH1 0x20 SHL AND OR OR SWAP1 JUMP JUMPDEST SWAP3 DUP4 PUSH2 0x39EB DUP8 PUSH2 0x6EC JUMP JUMPDEST SSTORE PUSH7 0xFFFFFFFFFFFFFF NOT DUP5 AND DUP6 PUSH2 0x3A11 PUSH1 0x1 PUSH2 0x3A06 DUP5 PUSH2 0x139B JUMP JUMPDEST ADD SLOAD PUSH1 0xB8 SHR PUSH1 0x2 SIGNEXTEND SWAP1 JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND ISZERO PUSH2 0x3A35 JUMPI JUMPDEST POP POP PUSH2 0x4024 JUMP JUMPDEST SWAP3 CALLDATASIZE SWAP1 PUSH2 0x372F JUMP JUMPDEST SWAP1 PUSH2 0x45B9 JUMP JUMPDEST POP PUSH2 0x4682 JUMP JUMPDEST PUSH2 0x3A41 PUSH2 0x3A46 SWAP3 PUSH2 0x139B JUMP JUMPDEST PUSH2 0x3895 JUMP JUMPDEST PUSH0 DUP6 PUSH2 0x3A1A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x1053149150511657D35253951151 PUSH1 0x92 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP1 SWAP2 DUP2 CALLDATALOAD SWAP3 PUSH1 0x20 DUP4 ADD CALLDATALOAD SWAP3 PUSH1 0x40 DUP2 ADD CALLDATALOAD SWAP3 PUSH1 0x60 DUP3 ADD CALLDATALOAD SWAP3 PUSH4 0xFFFFFFFF PUSH1 0x80 DUP5 ADD CALLDATALOAD AND DUP4 ADD SWAP1 PUSH4 0xFFFFFFFF DUP3 CALLDATALOAD AND SWAP4 PUSH1 0x20 DUP1 DUP5 ADD SWAP4 DUP7 ADD ADD SWAP2 ADD LT PUSH2 0x153E JUMPI SWAP2 SWAP1 JUMP JUMPDEST SWAP1 SWAP6 SWAP5 SWAP6 SWAP4 SWAP2 SWAP3 SWAP4 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x3AE6 DUP4 DUP3 PUSH2 0x295F JUMP JUMPDEST ISZERO PUSH2 0x365F JUMPI POP SWAP6 PUSH2 0x360E SWAP3 DUP3 PUSH2 0x3575 PUSH2 0x2C1 SWAP9 SWAP10 PUSH2 0x3B11 PUSH2 0x3B09 PUSH2 0x3B17 SWAP8 PUSH2 0x2011 JUMP JUMPDEST SWAP4 SWAP1 SWAP3 PUSH2 0x4024 JUMP JUMPDEST SWAP2 PUSH2 0x45B9 JUMP JUMPDEST SWAP1 PUSH2 0x403D JUMP JUMPDEST SWAP5 SWAP4 SWAP5 SWAP3 SWAP1 SWAP2 SWAP3 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x3B3D DUP3 DUP3 PUSH2 0x295F JUMP JUMPDEST ISZERO PUSH2 0x365F JUMPI POP PUSH2 0x2C1 SWAP5 SWAP6 PUSH2 0x3BED SWAP3 DUP3 PUSH2 0x3B59 PUSH2 0x3B17 SWAP5 PUSH2 0x2011 JUMP JUMPDEST SWAP1 PUSH2 0x3B11 PUSH2 0x3B8A PUSH1 0xA0 DUP4 KECCAK256 PUSH32 0x0 PUSH2 0x417E JUMP JUMPDEST POP POP POP PUSH2 0x3BE7 PUSH2 0x3B9F DUP6 PUSH1 0x8 SHR PUSH1 0x2 SIGNEXTEND PUSH2 0x420A JUMP JUMPDEST SWAP2 PUSH2 0x3BAF DUP7 PUSH1 0x20 SHR PUSH1 0x2 SIGNEXTEND PUSH2 0x420A JUMP JUMPDEST DUP6 MLOAD PUSH2 0x3BC3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x3DFE JUMP JUMPDEST PUSH1 0x20 DUP8 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP6 SWAP2 SWAP3 SWAP2 SWAP1 PUSH2 0x3831 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x3DFE JUMP JUMPDEST AND PUSH2 0x4024 JUMP JUMPDEST PUSH2 0x4682 JUMP JUMPDEST SWAP1 SWAP6 SWAP5 SWAP6 SWAP4 SWAP2 SWAP3 SWAP4 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x3C13 DUP4 DUP3 PUSH2 0x295F JUMP JUMPDEST ISZERO PUSH2 0x365F JUMPI POP SWAP6 PUSH2 0x3BED SWAP3 DUP3 PUSH2 0x3B11 PUSH2 0x2C1 SWAP9 SWAP10 PUSH2 0x3C33 PUSH2 0x3B17 SWAP7 PUSH2 0x2011 JUMP JUMPDEST SWAP3 SWAP1 SWAP2 PUSH2 0x4024 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP2 DUP3 MSTORE PUSH1 0x6 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x40 DUP2 MSTORE PUSH2 0x1F5B PUSH1 0x60 DUP3 PUSH2 0x5CD JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x3C6E JUMPI POP BALANCE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 DUP4 AND PUSH1 0x4 DUP3 ADD MSTORE SWAP2 PUSH1 0x20 SWAP2 DUP4 SWAP2 PUSH1 0x24 SWAP2 DUP4 SWAP2 AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP2 PUSH2 0x3CAA JUMPI POP SWAP1 JUMP JUMPDEST PUSH2 0x325 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x2717 JUMPI PUSH2 0x2709 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST PUSH2 0x3CEE DUP2 ADDRESS PUSH32 0x0 PUSH2 0x3E55 JUMP JUMPDEST SWAP1 PUSH0 DUP3 SGT PUSH2 0x3D00 JUMPI POP PUSH2 0x325 SWAP1 PUSH2 0x31C4 JUMP JUMPDEST PUSH4 0x19A8D93 PUSH1 0xE5 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x3D33 JUMPI POP SELFBALANCE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP2 PUSH2 0x3CAA JUMPI POP SWAP1 JUMP JUMPDEST SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x3D9A JUMPI POP PUSH0 DUP1 DUP1 DUP1 PUSH2 0x3D8E SWAP5 DUP7 GAS CALL ISZERO SWAP1 JUMP JUMPDEST PUSH2 0x3D95 JUMPI POP JUMP JUMPDEST PUSH2 0x2AE7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP5 AND PUSH1 0x4 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP2 SWAP1 PUSH0 SWAP1 PUSH1 0x20 DUP3 PUSH1 0x44 DUP6 DUP3 DUP9 GAS CALL RETURNDATASIZE ISZERO PUSH1 0x1F RETURNDATASIZE GT PUSH1 0x1 DUP6 MLOAD EQ AND OR AND SWAP3 DUP3 DUP2 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MSTORE ADD MSTORE ISZERO PUSH2 0x3DF0 JUMPI POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x2A7A JUMP JUMPDEST PUSH2 0x3E29 DUP2 ADDRESS PUSH32 0x0 PUSH2 0x3E55 JUMP JUMPDEST SWAP1 PUSH0 DUP3 SLT PUSH2 0x3E35 JUMPI POP SWAP1 JUMP JUMPDEST PUSH4 0x4C085BF1 PUSH1 0xE0 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH0 SWAP1 DUP2 MSTORE SWAP3 DUP3 AND PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP4 DUP5 SWAP1 KECCAK256 SWAP4 MLOAD PUSH4 0x789ADD55 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP5 SWAP1 SWAP5 MSTORE SWAP2 DUP4 SWAP2 PUSH1 0x24 SWAP2 DUP4 SWAP2 AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP2 PUSH2 0x3CAA JUMPI POP SWAP1 JUMP JUMPDEST SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ADDRESS SUB PUSH2 0x3EEA JUMPI PUSH2 0x2C1 SWAP3 POP PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH2 0x3D6D JUMP JUMPDEST SWAP1 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH4 0x1B63C28B PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH32 0x0 DUP6 AND PUSH1 0x24 DUP3 ADD MSTORE SWAP2 DUP5 AND PUSH1 0x44 DUP4 ADD MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x64 DUP4 ADD MSTORE PUSH0 SWAP1 DUP3 SWAP1 PUSH1 0x84 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x3198 JUMPI POP JUMP JUMPDEST PUSH0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x3FAE DUP2 ISZERO ISZERO PUSH2 0x1FB5 JUMP JUMPDEST DUP1 DUP3 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP3 NOT DUP2 SLOAD ADD SWAP1 SSTORE PUSH2 0x3FCA DUP4 PUSH2 0x6D0 JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH1 0x3 DUP6 SWAP1 SHL DUP2 DUP2 SHL NOT SWAP1 SWAP3 AND SWAP1 DUP6 AND SWAP1 SWAP2 SHL OR SWAP1 SSTORE PUSH2 0x3FF2 DUP4 PUSH2 0x6DE JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH1 0x3 DUP6 SWAP1 SHL DUP2 DUP2 SHL NOT SWAP1 SWAP3 AND SWAP1 DUP6 AND SWAP1 SWAP2 SHL OR SWAP1 SSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A48 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP3 DUP1 LOG4 JUMP JUMPDEST SWAP1 PUSH0 DUP3 SLT PUSH2 0x402E JUMPI JUMP JUMPDEST PUSH4 0x93DAFDF1 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0x4060 SWAP1 PUSH2 0x4052 DUP4 PUSH1 0x80 SAR DUP3 PUSH1 0x80 SAR SUB PUSH2 0x4736 JUMP JUMPDEST SWAP3 PUSH1 0xF SIGNEXTEND SWAP1 PUSH1 0xF SIGNEXTEND SUB PUSH2 0x4736 JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP1 DUP2 AND PUSH1 0x4 MSTORE AND PUSH1 0x24 MSTORE PUSH1 0x44 SWAP1 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x80 SAR PUSH2 0x4095 DUP2 PUSH2 0x4744 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP3 DUP4 AND SWAP3 AND DUP3 GT PUSH2 0x40CD JUMPI POP POP PUSH1 0xF SIGNEXTEND PUSH2 0x40B6 DUP2 PUSH2 0x4744 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP3 DUP4 AND SWAP3 AND DUP3 GT PUSH2 0x40CD JUMPI POP POP JUMP JUMPDEST PUSH2 0x40D6 SWAP1 PUSH2 0x4744 JUMP JUMPDEST PUSH4 0x940B791 PUSH1 0xE1 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x4 SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH1 0x24 MSTORE PUSH1 0x44 SWAP1 REVERT JUMPDEST PUSH0 DUP2 DUP2 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP6 PUSH2 0x4172 SWAP6 PUSH2 0xCD9 SWAP6 SWAP4 SWAP5 SWAP2 SWAP4 SWAP1 SWAP3 SWAP1 SWAP2 SWAP1 PUSH2 0x412C SWAP1 PUSH2 0x285F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xB1A9116F PUSH1 0xE0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP6 SWAP1 SWAP6 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x44 DUP6 ADD MSTORE PUSH1 0x64 DUP5 ADD MSTORE PUSH1 0x84 DUP4 ADD MSTORE PUSH1 0xA4 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP2 MSTORE PUSH2 0xCD3 PUSH1 0xC4 DUP3 PUSH2 0x5CD JUMP JUMPDEST PUSH2 0x4179 JUMPI POP JUMP JUMPDEST PUSH2 0x2B50 JUMP JUMPDEST SWAP2 SWAP1 PUSH2 0x418B PUSH1 0x20 SWAP2 PUSH2 0x3C3B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x1E2EAEAF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP3 DUP4 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL SWAP2 DUP3 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP3 PUSH2 0x41E9 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SWAP2 PUSH1 0xA0 DUP2 SWAP1 SHR PUSH1 0x2 SIGNEXTEND SWAP2 PUSH3 0xFFFFFF PUSH1 0xB8 DUP4 SWAP1 SHR DUP2 AND SWAP3 PUSH1 0xD0 SHR AND SWAP1 JUMP JUMPDEST PUSH2 0x4203 SWAP2 SWAP3 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x2717 JUMPI PUSH2 0x2709 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST SWAP1 PUSH0 PUSH2 0x41C1 JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND SWAP1 DUP2 PUSH1 0xFF SAR DUP3 DUP2 ADD XOR PUSH3 0xD89E8 DUP2 GT PUSH2 0x4524 JUMPI PUSH4 0xFFFFFFFF SWAP2 SWAP3 PUSH1 0x1 DUP3 AND PUSH17 0x1FFFCB933BD6FAD37AA2D162D1A594001 MUL PUSH1 0x1 PUSH1 0x80 SHL XOR SWAP2 PUSH1 0x2 DUP2 AND PUSH2 0x4508 JUMPI JUMPDEST PUSH1 0x4 DUP2 AND PUSH2 0x44EC JUMPI JUMPDEST PUSH1 0x8 DUP2 AND PUSH2 0x44D0 JUMPI JUMPDEST PUSH1 0x10 DUP2 AND PUSH2 0x44B4 JUMPI JUMPDEST PUSH1 0x20 DUP2 AND PUSH2 0x4498 JUMPI JUMPDEST PUSH1 0x40 DUP2 AND PUSH2 0x447C JUMPI JUMPDEST PUSH1 0x80 DUP2 AND PUSH2 0x4460 JUMPI JUMPDEST PUSH2 0x100 DUP2 AND PUSH2 0x4444 JUMPI JUMPDEST PUSH2 0x200 DUP2 AND PUSH2 0x4428 JUMPI JUMPDEST PUSH2 0x400 DUP2 AND PUSH2 0x440C JUMPI JUMPDEST PUSH2 0x800 DUP2 AND PUSH2 0x43F0 JUMPI JUMPDEST PUSH2 0x1000 DUP2 AND PUSH2 0x43D4 JUMPI JUMPDEST PUSH2 0x2000 DUP2 AND PUSH2 0x43B8 JUMPI JUMPDEST PUSH2 0x4000 DUP2 AND PUSH2 0x439C JUMPI JUMPDEST PUSH2 0x8000 DUP2 AND PUSH2 0x4380 JUMPI JUMPDEST PUSH3 0x10000 DUP2 AND PUSH2 0x4364 JUMPI JUMPDEST PUSH3 0x20000 DUP2 AND PUSH2 0x4349 JUMPI JUMPDEST PUSH3 0x40000 DUP2 AND PUSH2 0x432E JUMPI JUMPDEST PUSH3 0x80000 AND PUSH2 0x4315 JUMPI JUMPDEST PUSH0 SLT PUSH2 0x430D JUMPI JUMPDEST ADD PUSH1 0x20 SHR SWAP1 JUMP JUMPDEST PUSH0 NOT DIV PUSH2 0x4306 JUMP JUMPDEST PUSH12 0x48A170391F7DC42444E8FA2 SWAP1 SWAP2 MUL PUSH1 0x80 SHR SWAP1 PUSH2 0x42FF JUMP JUMPDEST PUSH14 0x2216E584F5FA1EA926041BEDFE98 SWAP1 SWAP3 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42F5 JUMP JUMPDEST SWAP2 PUSH15 0x5D6AF8DEDB81196699C329225EE604 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42EA JUMP JUMPDEST SWAP2 PUSH16 0x9AA508B5B7A84E1C677DE54F3E99BC9 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42DF JUMP JUMPDEST SWAP2 PUSH16 0x31BE135F97D08FD981231505542FCFA6 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42D4 JUMP JUMPDEST SWAP2 PUSH16 0x70D869A156D2A1B890BB3DF62BAF32F7 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42CA JUMP JUMPDEST SWAP2 PUSH16 0xA9F746462D870FDF8A65DC1F90E061E5 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42C0 JUMP JUMPDEST SWAP2 PUSH16 0xD097F3BDFD2022B8845AD8F792AA5825 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42B6 JUMP JUMPDEST SWAP2 PUSH16 0xE7159475A2C29B7443B29C7FA6E889D9 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42AC JUMP JUMPDEST SWAP2 PUSH16 0xF3392B0822B70005940C7A398E4B70F3 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42A2 JUMP JUMPDEST SWAP2 PUSH16 0xF987A7253AC413176F2B074CF7815E54 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x4298 JUMP JUMPDEST SWAP2 PUSH16 0xFCBE86C7900A88AEDCFFC83B479AA3A4 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x428E JUMP JUMPDEST SWAP2 PUSH16 0xFE5DEE046A99A2A811C461F1969C3053 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x4284 JUMP JUMPDEST SWAP2 PUSH16 0xFF2EA16466C96A3843EC78B326B52861 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x427B JUMP JUMPDEST SWAP2 PUSH16 0xFF973B41FA98C081472E6896DFB254C0 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x4272 JUMP JUMPDEST SWAP2 PUSH16 0xFFCB9843D60F6159C9DB58835C926644 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x4269 JUMP JUMPDEST SWAP2 PUSH16 0xFFE5CACA7E10E4E61C3624EAA0941CD0 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x4260 JUMP JUMPDEST SWAP2 PUSH16 0xFFF2E50F5F656932EF12357CF3C7FDCC MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x4257 JUMP JUMPDEST SWAP2 PUSH16 0xFFF97272373D413259A46990580E213A MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x424E JUMP JUMPDEST DUP3 PUSH2 0x475A JUMP JUMPDEST SWAP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND SWAP1 DUP4 AND GT PUSH2 0x45B1 JUMPI JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND SWAP6 SWAP1 DUP4 AND DUP7 GT PUSH2 0x4560 JUMPI POP POP PUSH2 0x325 SWAP4 POP PUSH2 0x47A9 JUMP JUMPDEST SWAP2 SWAP5 SWAP1 SWAP4 SWAP2 SWAP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND GT ISZERO PUSH2 0x45A5 JUMPI DUP3 SWAP2 PUSH2 0x4587 SWAP2 PUSH2 0x458D SWAP6 SWAP5 PUSH2 0x47A9 JUMP JUMPDEST SWAP4 PUSH2 0x476F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 DUP2 AND SWAP1 DUP4 AND LT ISZERO PUSH2 0x2F9A JUMPI POP SWAP1 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x325 SWAP3 PUSH2 0x476F JUMP JUMPDEST SWAP1 SWAP2 SWAP1 PUSH2 0x453F JUMP JUMPDEST SWAP6 SWAP4 SWAP5 PUSH1 0x40 SWAP2 PUSH2 0x4606 PUSH2 0x45CA PUSH2 0x1E01 JUMP JUMPDEST PUSH1 0x8 DUP11 SWAP1 SHR PUSH1 0x2 SIGNEXTEND DUP2 MSTORE SWAP3 PUSH1 0x20 DUP11 DUP2 SHR PUSH1 0x2 SIGNEXTEND SWAP1 DUP6 ADD MSTORE DUP6 DUP6 DUP6 ADD MSTORE DUP7 PUSH1 0x60 DUP6 ADD MSTORE DUP5 MLOAD SWAP9 DUP10 SWAP5 DUP6 SWAP5 PUSH4 0x2D35E7ED PUSH1 0xE1 SHL DUP7 MSTORE PUSH1 0x4 DUP7 ADD PUSH2 0x3695 JUMP JUMPDEST SUB DUP2 PUSH0 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP5 PUSH0 SWAP3 PUSH2 0x465E JUMPI JUMPDEST POP DUP2 SWAP5 SWAP6 PUSH1 0xFF AND PUSH2 0x4655 JUMPI POP POP POP JUMP JUMPDEST PUSH2 0x2C1 SWAP3 PUSH2 0x47F6 JUMP JUMPDEST SWAP1 SWAP5 POP PUSH2 0x467A SWAP2 POP PUSH1 0x40 RETURNDATASIZE PUSH1 0x40 GT PUSH2 0x3658 JUMPI PUSH2 0x3644 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST SWAP1 SWAP4 PUSH0 PUSH2 0x4645 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x80 SAR PUSH1 0xF SIGNEXTEND SWAP2 PUSH1 0xF SIGNEXTEND SWAP2 PUSH0 DUP2 SLT DUP1 PUSH2 0x4713 JUMPI JUMPDEST PUSH2 0x46ED JUMPI POP POP PUSH0 DUP2 SLT DUP1 PUSH2 0x46CF JUMPI JUMPDEST PUSH2 0x46AF JUMPI POP POP JUMP JUMPDEST SWAP1 PUSH2 0x46BF PUSH2 0x34FD PUSH2 0xD2D SWAP4 PUSH2 0x31C4 JUMP JUMPDEST PUSH4 0x31E30AD PUSH1 0xE4 SHL PUSH0 MSTORE SWAP1 PUSH2 0x4070 JUMP JUMPDEST POP PUSH2 0x46D9 DUP2 PUSH2 0x31C4 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP1 DUP2 AND SWAP1 DUP4 AND LT PUSH2 0x46A7 JUMP JUMPDEST SWAP1 PUSH2 0x46FA PUSH2 0xD2D SWAP3 PUSH2 0x31C4 JUMP JUMPDEST PUSH4 0x31E30AD PUSH1 0xE4 SHL PUSH0 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH2 0x4070 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB PUSH2 0x4725 DUP3 PUSH2 0x31C4 JUMP JUMPDEST AND PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP4 AND LT PUSH2 0x4698 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0xF SIGNEXTEND SWAP2 DUP3 SUB PUSH2 0x402E JUMPI JUMP JUMPDEST PUSH0 DUP2 PUSH1 0xF SIGNEXTEND SLT PUSH2 0x402E JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH4 0x45C3193D PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x2 SIGNEXTEND PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH2 0x325 SWAP3 PUSH2 0x479E SWAP3 SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP4 AND SWAP1 DUP3 AND GT PUSH2 0x47A3 JUMPI JUMPDEST SWAP1 SUB PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH2 0x48B9 JUMP JUMPDEST PUSH2 0x4A12 JUMP JUMPDEST SWAP1 PUSH2 0x478D JUMP JUMPDEST PUSH2 0x325 SWAP3 PUSH2 0x479E SWAP3 SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND SWAP1 DUP4 AND GT PUSH2 0x47F0 JUMPI JUMPDEST PUSH2 0x47DE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND SWAP1 DUP5 AND PUSH2 0x4946 JUMP JUMPDEST SWAP2 SWAP1 SUB PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 PUSH2 0x498F JUMP JUMPDEST SWAP1 PUSH2 0x47C8 JUMP JUMPDEST PUSH2 0x4846 SWAP2 SWAP3 DUP2 PUSH0 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH0 KECCAK256 SLOAD AND SWAP4 PUSH1 0x40 MLOAD SWAP3 PUSH4 0xD8865C27 PUSH1 0xE0 SHL PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD MSTORE PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x64 DUP2 MSTORE PUSH2 0x4840 PUSH1 0x84 DUP3 PUSH2 0x5CD JUMP JUMPDEST DUP3 PUSH2 0x29E5 JUMP JUMPDEST ISZERO PUSH2 0x484E JUMPI POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH4 0xD8865C27 PUSH1 0xE0 SHL PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x80 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x1F RETURNDATASIZE ADD PUSH1 0x1F NOT AND PUSH1 0xA0 DUP2 ADD PUSH1 0x64 DUP4 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP4 ADD MSTORE RETURNDATASIZE PUSH0 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0x74A78871 PUSH1 0xE1 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x2B2 JUMPI JUMP JUMPDEST SWAP1 PUSH1 0x60 DUP3 SWAP1 SHL SWAP1 PUSH0 NOT PUSH1 0x1 PUSH1 0x60 SHL DUP5 MULMOD SWAP3 DUP3 DUP1 DUP6 LT SWAP5 SUB SWAP4 DUP1 DUP6 SUB SWAP5 PUSH2 0x48E0 DUP7 DUP6 GT PUSH2 0x48B2 JUMP JUMPDEST EQ PUSH2 0x493F JUMPI DUP2 SWAP1 PUSH1 0x1 PUSH1 0x60 SHL SWAP1 MULMOD DUP2 DUP1 PUSH0 SUB AND DUP1 SWAP3 DIV PUSH1 0x2 DUP2 PUSH1 0x3 MUL XOR DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 SWAP2 MUL PUSH1 0x2 SUB MUL SWAP4 PUSH1 0x1 DUP4 DUP1 PUSH0 SUB DIV ADD SWAP1 DUP5 DUP4 GT SWAP1 SUB MUL SWAP3 SUB DIV OR MUL SWAP1 JUMP JUMPDEST POP SWAP2 POP DIV SWAP1 JUMP JUMPDEST DUP2 DUP2 MUL SWAP2 SWAP1 PUSH0 NOT DUP3 DUP3 MULMOD SWAP2 DUP4 DUP1 DUP5 LT SWAP4 SUB SWAP3 DUP1 DUP5 SUB SWAP4 DUP5 PUSH1 0x1 PUSH1 0x60 SHL GT ISZERO PUSH2 0x2B2 JUMPI EQ PUSH2 0x4986 JUMPI PUSH1 0x1 PUSH1 0x60 SHL SWAP2 MULMOD SWAP1 DUP3 DUP3 GT SWAP1 SUB PUSH1 0xA0 SHL SWAP2 SUB PUSH1 0x60 SHR OR SWAP1 JUMP JUMPDEST POP POP POP PUSH1 0x60 SHR SWAP1 JUMP JUMPDEST SWAP2 DUP2 DUP4 MUL SWAP2 PUSH0 NOT DUP2 DUP6 MULMOD SWAP4 DUP4 DUP1 DUP7 LT SWAP6 SUB SWAP5 DUP1 DUP7 SUB SWAP6 PUSH2 0x49B0 DUP8 DUP7 GT PUSH2 0x48B2 JUMP JUMPDEST EQ PUSH2 0x4A0A JUMPI SWAP1 DUP3 SWAP2 MULMOD DUP2 DUP1 PUSH0 SUB AND DUP1 SWAP3 DIV PUSH1 0x2 DUP2 PUSH1 0x3 MUL XOR DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 SWAP2 MUL PUSH1 0x2 SUB MUL SWAP4 PUSH1 0x1 DUP4 DUP1 PUSH0 SUB DIV ADD SWAP1 DUP5 DUP4 GT SWAP1 SUB MUL SWAP3 SUB DIV OR MUL SWAP1 JUMP JUMPDEST POP POP SWAP2 POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND SWAP2 SWAP1 DUP3 SWAP1 SUB PUSH2 0x402E JUMPI JUMP INVALID EXP 0xED 0xD6 0xBD 0xE1 0xE GASPRICE LOG2 0xAD 0xEC MULMOD 0x2B MUL LOG3 0xE3 0xE8 SDIV PUSH26 0x5516CDA41F27AA145B8F300AF87ADDF252AD1BE2C89B69C2B068 0xFC CALLDATACOPY DUP14 0xAA SWAP6 0x2B 0xA7 CALL PUSH4 0xC4A11628 CREATE2 GAS 0x4D CREATE2 0x23 0xB3 0xEF LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"7946:20094:66:-:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;7946:20094:66;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;1219:22:70;;1204:37;;;1271:13;7946:20094:66;1252:32:70;7946:20094:66;;;1816:66:70;;1075:80;;;;7946:20094:66;1075:80:70;;;1271:13;7946:20094:66;1075:80:70;;;1876:4;7946:20094:66;1075:80:70;;;7946:20094:66;1816:66:70;;;7946:20094:66;1816:66:70;;:::i;:::-;7946:20094:66;1806:77:70;;7946:20094:66;1294:50:70;782:26:72;;903:42:75;;553:18:76;;588:14:74;;7946:20094:66;8548:1;7946:20094;9173:34;;7946:20094;;;;;;;;;;;;;;;;;;;;1204:37:70;7946:20094:66;;;;;782:26:72;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;903:42:75;7946:20094:66;;;;;;;;;;553:18:76;7946:20094:66;;;;;;;;;;;;;;;;;;;;588:14:74;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9173:34;7946:20094;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;-1:-1:-1;7946:20094:66;;;;;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;-1:-1:-1;7946:20094:66;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;-1:-1:-1;7946:20094:66;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;-1:-1:-1;;7946:20094:66;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;:::o"},"deployedBytecode":{"functionDebugData":{"abi_decode":{"entryPoint":1423,"id":null,"parameterSlots":2,"returnSlots":0},"abi_decode_address":{"entryPoint":694,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_addresst_addresst_uint256":{"entryPoint":2409,"id":null,"parameterSlots":1,"returnSlots":3},"abi_decode_array_bytes_calldata_dyn_calldata":{"entryPoint":4276,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_available_length_string_fromMemory":{"entryPoint":8577,"id":null,"parameterSlots":3,"returnSlots":1},"abi_decode_bool":{"entryPoint":3429,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_bytes32_fromMemory":{"entryPoint":10014,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_bytes32t_bytes32":{"entryPoint":9268,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_bytes4_fromMemory":{"entryPoint":8033,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_bytes_calldata":{"entryPoint":707,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_int24_fromMemory":{"entryPoint":8642,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_struct_PoolKey":{"entryPoint":14127,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_uint256":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_uint256_20611":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_uint256_20615":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_uint256_20617":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_uint256_20618":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_uint256_20632":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_uint48":{"entryPoint":7416,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_userDefinedValueType_BalanceDeltat_userDefinedValueType_BalanceDelta_fromMemory":{"entryPoint":13951,"id":null,"parameterSlots":2,"returnSlots":2},"abi_encode_address":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_address_address_uint160_address":{"entryPoint":null,"id":null,"parameterSlots":5,"returnSlots":1},"abi_encode_address_address_uint256_bytes_calldata":{"entryPoint":8528,"id":null,"parameterSlots":6,"returnSlots":1},"abi_encode_address_address_uint256_stringliteral_c5d2":{"entryPoint":null,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_array_bytes_dyn":{"entryPoint":5745,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_bytes":{"entryPoint":788,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_bytes32":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_bytes32_uint8_bytes32_bytes32":{"entryPoint":null,"id":null,"parameterSlots":5,"returnSlots":1},"abi_encode_bytes_calldata":{"entryPoint":8495,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_bytes_calldata_to_bytes":{"entryPoint":7638,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_bytes_memory_ptr":{"entryPoint":752,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_packed_bytes32_bytes32":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_struct_PermitDetails_calldata":{"entryPoint":7543,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_struct_PermitDetails_calldata_20631":{"entryPoint":7435,"id":null,"parameterSlots":1,"returnSlots":0},"abi_encode_struct_PoolKey":{"entryPoint":4902,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_struct_PoolKey_struct_ModifyLiquidityParams_bytes_calldata":{"entryPoint":13973,"id":null,"parameterSlots":5,"returnSlots":1},"abi_encode_tuple_address":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_uint128_uint128":{"entryPoint":16496,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_uint256":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_uint256_address":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_uint256_bytes_calldata":{"entryPoint":7821,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_userDefinedValueType_Currency_userDefinedValueType_Currency_uint24_int24_contract_IHooks":{"entryPoint":null,"id":null,"parameterSlots":6,"returnSlots":1},"allocate_memory":{"entryPoint":7681,"id":null,"parameterSlots":0,"returnSlots":1},"allocate_memory_array_bytes":{"entryPoint":7723,"id":null,"parameterSlots":0,"returnSlots":1},"array_allocation_size_array_bytes_dyn":{"entryPoint":8382,"id":null,"parameterSlots":1,"returnSlots":1},"array_allocation_size_bytes":{"entryPoint":7696,"id":null,"parameterSlots":1,"returnSlots":1},"array_dataslot_string_storage":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"array_storeLengthForEncoding_bytes":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"calldata_array_index_access_bytes_calldata":{"entryPoint":9333,"id":null,"parameterSlots":2,"returnSlots":1},"calldata_array_index_access_bytes_calldata_dyn_calldata":{"entryPoint":8425,"id":null,"parameterSlots":3,"returnSlots":2},"checked_add_uint8":{"entryPoint":9310,"id":null,"parameterSlots":1,"returnSlots":1},"cleanup_address":{"entryPoint":661,"id":null,"parameterSlots":1,"returnSlots":1},"cleanup_bool":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"cleanup_bytes1":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"cleanup_uint128":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"convert_bytes1_to_uint8":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"copy_struct_to_storage_from_struct_PoolKey_calldata_to_struct_PoolKey":{"entryPoint":14485,"id":null,"parameterSlots":2,"returnSlots":0},"decrement_wrapping_uint256":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"external_fun_DOMAIN_SEPARATOR":{"entryPoint":3395,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_WETH9":{"entryPoint":4208,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_approve":{"entryPoint":1850,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_balanceOf":{"entryPoint":4745,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_getApproved":{"entryPoint":1800,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_getPoolAndPositionInfo":{"entryPoint":4969,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_getPositionLiquidity":{"entryPoint":2336,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_initializePool":{"entryPoint":7363,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_isApprovedForAll":{"entryPoint":7276,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_modifyLiquidities":{"entryPoint":6979,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_modifyLiquiditiesWithoutUnlock":{"entryPoint":4324,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_msgSender":{"entryPoint":6861,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_multicall":{"entryPoint":5840,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_name":{"entryPoint":1520,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_nextTokenId":{"entryPoint":4873,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_nonces":{"entryPoint":4556,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_ownerOf":{"entryPoint":4697,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_permit":{"entryPoint":1975,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_permit2":{"entryPoint":2218,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_permitBatch":{"entryPoint":808,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_permitForAll":{"entryPoint":3444,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_permit_15091":{"entryPoint":2806,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_poolKeys":{"entryPoint":5043,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_poolManager":{"entryPoint":6911,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_positionInfo":{"entryPoint":5175,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_revokeNonce":{"entryPoint":1399,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_safeTransferFrom":{"entryPoint":6146,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_safeTransferFrom_22125":{"entryPoint":3659,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_setApprovalForAll":{"entryPoint":5694,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_subscribe":{"entryPoint":3033,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_subscriber":{"entryPoint":2286,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_supportsInterface":{"entryPoint":1289,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_symbol":{"entryPoint":5513,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_tokenDescriptor":{"entryPoint":4629,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_tokenURI":{"entryPoint":6654,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_transferFrom":{"entryPoint":2453,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_unlockCallback":{"entryPoint":5217,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_unsubscribe":{"entryPoint":6062,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_unsubscribeGasLimit":{"entryPoint":4150,"id":null,"parameterSlots":0,"returnSlots":0},"extract_from_storage_value_offsett_bool":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"extract_from_storage_value_offsett_int24":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"extract_returndata":{"entryPoint":7743,"id":null,"parameterSlots":0,"returnSlots":1},"finalize_allocation":{"entryPoint":1485,"id":null,"parameterSlots":2,"returnSlots":0},"finalize_allocation_20729":{"entryPoint":1453,"id":null,"parameterSlots":1,"returnSlots":0},"fun":{"entryPoint":8949,"id":14664,"parameterSlots":0,"returnSlots":0},"fun_DOMAIN_SEPARATOR":{"entryPoint":7844,"id":14137,"parameterSlots":0,"returnSlots":1},"fun_approve":{"entryPoint":9142,"id":14436,"parameterSlots":3,"returnSlots":0},"fun_approveForAll":{"entryPoint":11197,"id":14376,"parameterSlots":3,"returnSlots":0},"fun_balanceOf":{"entryPoint":15451,"id":10954,"parameterSlots":2,"returnSlots":1},"fun_balanceOfSelf":{"entryPoint":15648,"id":10924,"parameterSlots":1,"returnSlots":1},"fun_bubbleUpAndRevertWith":{"entryPoint":10765,"id":4450,"parameterSlots":1,"returnSlots":0},"fun_bubbleUpAndRevertWith_20783":{"entryPoint":10874,"id":4450,"parameterSlots":1,"returnSlots":0},"fun_bubbleUpAndRevertWith_20784":{"entryPoint":10983,"id":4450,"parameterSlots":1,"returnSlots":0},"fun_bubbleUpAndRevertWith_20790":{"entryPoint":11088,"id":4450,"parameterSlots":1,"returnSlots":0},"fun_burn":{"entryPoint":16268,"id":22285,"parameterSlots":1,"returnSlots":0},"fun_call":{"entryPoint":10725,"id":15035,"parameterSlots":2,"returnSlots":1},"fun_clearOrTake":{"entryPoint":12559,"id":12529,"parameterSlots":2,"returnSlots":0},"fun_close":{"entryPoint":12756,"id":12488,"parameterSlots":1,"returnSlots":0},"fun_currencyDelta":{"entryPoint":15957,"id":10448,"parameterSlots":3,"returnSlots":1},"fun_decodeBurnParams":{"entryPoint":13427,"id":16201,"parameterSlots":2,"returnSlots":5},"fun_decodeCurrencyAddressAndUint256":{"entryPoint":12845,"id":16314,"parameterSlots":2,"returnSlots":3},"fun_decodeCurrencyAndAddress":{"entryPoint":12460,"id":16299,"parameterSlots":2,"returnSlots":2},"fun_decodeMintFromDeltasParams":{"entryPoint":14048,"id":16178,"parameterSlots":2,"returnSlots":8},"fun_decodeMintParams":{"entryPoint":14398,"id":16148,"parameterSlots":2,"returnSlots":9},"fun_decodeModifyLiquidityParams":{"entryPoint":14979,"id":16093,"parameterSlots":2,"returnSlots":6},"fun_decodeUint256":{"entryPoint":12104,"id":16337,"parameterSlots":2,"returnSlots":1},"fun_executeActionsWithoutUnlock":{"entryPoint":11318,"id":13708,"parameterSlots":4,"returnSlots":0},"fun_getFullCredit":{"entryPoint":15870,"id":13963,"parameterSlots":1,"returnSlots":1},"fun_getFullDebt":{"entryPoint":15555,"id":13927,"parameterSlots":1,"returnSlots":1},"fun_getLiquidity":{"entryPoint":9752,"id":12831,"parameterSlots":4,"returnSlots":1},"fun_getLiquidityForAmount0":{"entryPoint":18345,"id":16470,"parameterSlots":3,"returnSlots":1},"fun_getLiquidityForAmount1":{"entryPoint":18287,"id":16508,"parameterSlots":3,"returnSlots":1},"fun_getLiquidityForAmounts":{"entryPoint":17706,"id":16589,"parameterSlots":5,"returnSlots":1},"fun_getPoolAndPositionInfo":{"entryPoint":8209,"id":12758,"parameterSlots":1,"returnSlots":2},"fun_getPoolStateSlot":{"entryPoint":15419,"id":9215,"parameterSlots":1,"returnSlots":1},"fun_getSlot0":{"entryPoint":16766,"id":8708,"parameterSlots":2,"returnSlots":4},"fun_getSqrtPriceAtTick":{"entryPoint":16906,"id":10190,"parameterSlots":1,"returnSlots":1},"fun_handleAction":{"entryPoint":11413,"id":11881,"parameterSlots":3,"returnSlots":0},"fun_hasSubscriber":{"entryPoint":null,"id":16777,"parameterSlots":1,"returnSlots":1},"fun_hashTypedData":{"entryPoint":9215,"id":14173,"parameterSlots":1,"returnSlots":1},"fun_initialize":{"entryPoint":null,"id":16829,"parameterSlots":3,"returnSlots":1},"fun_initializePool":{"entryPoint":8676,"id":15170,"parameterSlots":1,"returnSlots":1},"fun_isAddressZero":{"entryPoint":null,"id":10973,"parameterSlots":1,"returnSlots":1},"fun_isApprovedOrOwner":{"entryPoint":10591,"id":14466,"parameterSlots":2,"returnSlots":1},"fun_isUnlocked":{"entryPoint":10029,"id":10466,"parameterSlots":1,"returnSlots":1},"fun_mapPayer":{"entryPoint":13038,"id":13772,"parameterSlots":1,"returnSlots":1},"fun_mapRecipient":{"entryPoint":12479,"id":13754,"parameterSlots":1,"returnSlots":1},"fun_mapSettleAmount":{"entryPoint":13065,"id":13998,"parameterSlots":2,"returnSlots":1},"fun_mapTakeAmount":{"entryPoint":12869,"id":14023,"parameterSlots":2,"returnSlots":1},"fun_mapWrapUnwrapAmount":{"entryPoint":12116,"id":14077,"parameterSlots":2,"returnSlots":1},"fun_mapWrapUnwrapAmount_20762":{"entryPoint":12191,"id":14077,"parameterSlots":2,"returnSlots":1},"fun_mint":{"entryPoint":14629,"id":12189,"parameterSlots":9,"returnSlots":0},"fun_mintFromDeltas":{"entryPoint":14242,"id":12251,"parameterSlots":8,"returnSlots":0},"fun_modifyLiquidity":{"entryPoint":17849,"id":12614,"parameterSlots":6,"returnSlots":2},"fun_mulDiv":{"entryPoint":18831,"id":4597,"parameterSlots":3,"returnSlots":1},"fun_mulDiv_20816":{"entryPoint":18617,"id":4597,"parameterSlots":2,"returnSlots":1},"fun_mulDiv_20817":{"entryPoint":18758,"id":4597,"parameterSlots":2,"returnSlots":1},"fun_notifyModifyLiquidity":{"entryPoint":18422,"id":15011,"parameterSlots":3,"returnSlots":0},"fun_ownerOf":{"entryPoint":8174,"id":21893,"parameterSlots":1,"returnSlots":1},"fun_pay":{"entryPoint":16034,"id":12663,"parameterSlots":3,"returnSlots":0},"fun_removeSubscriberAndNotifyBurn":{"entryPoint":16633,"id":14962,"parameterSlots":5,"returnSlots":0},"fun_revertWith":{"entryPoint":11398,"id":4367,"parameterSlots":0,"returnSlots":0},"fun_revertWith_20791":{"entryPoint":18266,"id":4387,"parameterSlots":1,"returnSlots":0},"fun_set":{"entryPoint":11300,"id":16603,"parameterSlots":0,"returnSlots":0},"fun_setSubscribed":{"entryPoint":null,"id":12681,"parameterSlots":1,"returnSlots":0},"fun_setUnsubscribed":{"entryPoint":null,"id":12699,"parameterSlots":1,"returnSlots":0},"fun_settle":{"entryPoint":13102,"id":13879,"parameterSlots":3,"returnSlots":0},"fun_settlePair":{"entryPoint":13384,"id":12412,"parameterSlots":2,"returnSlots":0},"fun_sub":{"entryPoint":16445,"id":10587,"parameterSlots":2,"returnSlots":1},"fun_sweep":{"entryPoint":12529,"id":12556,"parameterSlots":2,"returnSlots":0},"fun_take":{"entryPoint":12889,"id":13832,"parameterSlots":3,"returnSlots":0},"fun_takePair":{"entryPoint":13357,"id":12440,"parameterSlots":3,"returnSlots":0},"fun_toInt128":{"entryPoint":18230,"id":8087,"parameterSlots":1,"returnSlots":1},"fun_toInt256":{"entryPoint":16420,"id":8114,"parameterSlots":1,"returnSlots":1},"fun_toUint128":{"entryPoint":18962,"id":8033,"parameterSlots":1,"returnSlots":1},"fun_toUint128_8060":{"entryPoint":18244,"id":8060,"parameterSlots":1,"returnSlots":1},"fun_transfer":{"entryPoint":15725,"id":10890,"parameterSlots":3,"returnSlots":0},"fun_unsubscribe":{"entryPoint":10351,"id":14900,"parameterSlots":1,"returnSlots":0},"fun_unwrap":{"entryPoint":12255,"id":14641,"parameterSlots":1,"returnSlots":0},"fun_useUnorderedNonce":{"entryPoint":9072,"id":15329,"parameterSlots":2,"returnSlots":0},"fun_validateMaxIn":{"entryPoint":18050,"id":16980,"parameterSlots":3,"returnSlots":0},"fun_validateMinOut":{"entryPoint":16519,"id":16900,"parameterSlots":3,"returnSlots":0},"fun_verify":{"entryPoint":9348,"id":21375,"parameterSlots":4,"returnSlots":0},"fun_wrap":{"entryPoint":12367,"id":14624,"parameterSlots":1,"returnSlots":0},"increment_wrapping_uint256":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"mapping_index_access_mapping_address_mapping_uint256_uint256_of_address":{"entryPoint":4535,"id":null,"parameterSlots":2,"returnSlots":1},"mapping_index_access_mapping_address_mapping_uint256_uint256_of_address_20623":{"entryPoint":4485,"id":null,"parameterSlots":1,"returnSlots":1},"mapping_index_access_mapping_address_mapping_uint256_uint256_of_address_20625":{"entryPoint":4510,"id":null,"parameterSlots":1,"returnSlots":1},"mapping_index_access_mapping_bytes25_struct_PoolKey_storage_of_bytes25":{"entryPoint":5019,"id":null,"parameterSlots":1,"returnSlots":1},"mapping_index_access_mapping_uint256_address_of_uint256":{"entryPoint":1758,"id":null,"parameterSlots":1,"returnSlots":1},"mapping_index_access_mapping_uint256_address_of_uint256_20622":{"entryPoint":1744,"id":null,"parameterSlots":1,"returnSlots":1},"mapping_index_access_mapping_uint256_address_of_uint256_20630":{"entryPoint":1772,"id":null,"parameterSlots":1,"returnSlots":1},"mapping_index_access_mapping_uint256_address_of_uint256_20634":{"entryPoint":1786,"id":null,"parameterSlots":1,"returnSlots":1},"memory_array_index_access_bytes_dyn":{"entryPoint":8508,"id":null,"parameterSlots":2,"returnSlots":1},"modifier_onlyIfApproved":{"entryPoint":15346,"id":11371,"parameterSlots":6,"returnSlots":0},"modifier_onlyIfApproved_11954":{"entryPoint":15133,"id":11371,"parameterSlots":5,"returnSlots":0},"modifier_onlyIfApproved_12052":{"entryPoint":15045,"id":11371,"parameterSlots":6,"returnSlots":0},"modifier_onlyIfApproved_12266":{"entryPoint":13487,"id":11371,"parameterSlots":5,"returnSlots":0},"negate_int256":{"entryPoint":12740,"id":null,"parameterSlots":1,"returnSlots":1},"panic_error_0x11":{"entryPoint":9290,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x32":{"entryPoint":8405,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x41":{"entryPoint":1433,"id":null,"parameterSlots":0,"returnSlots":0},"read_from_storage_split_offset_address":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"read_from_storage_split_offset_bool":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"require_helper":{"entryPoint":18610,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_5e7b":{"entryPoint":10210,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_91ac":{"entryPoint":8054,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_e7e2":{"entryPoint":10274,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_e904":{"entryPoint":8117,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_f703":{"entryPoint":10153,"id":null,"parameterSlots":1,"returnSlots":0},"revert_forward":{"entryPoint":7670,"id":null,"parameterSlots":0,"returnSlots":0},"shift_right_uint256_uint8":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"shift_right_uint256_uint8_20743":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"update_storage_value_address_to_address":{"entryPoint":10335,"id":null,"parameterSlots":1,"returnSlots":0},"update_storage_value_offsett_contract_ISubscriber_to_contract_ISubscriber":{"entryPoint":7790,"id":null,"parameterSlots":2,"returnSlots":0},"validator_revert_address":{"entryPoint":673,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_bytes4":{"entryPoint":1271,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_int24":{"entryPoint":8631,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_uint24":{"entryPoint":8663,"id":null,"parameterSlots":1,"returnSlots":0},"write_to_memory_int24":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0},"write_to_memory_userDefinedValueType_Currency":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0}},"generatedSources":[],"immutableReferences":{"11287":[{"length":32,"start":4650},{"length":32,"start":6708}],"14087":[{"length":32,"start":7885}],"14089":[{"length":32,"start":7847}],"14091":[{"length":32,"start":7964}],"14480":[{"length":32,"start":2473},{"length":32,"start":3099},{"length":32,"start":3678},{"length":32,"start":5268},{"length":32,"start":6082},{"length":32,"start":6230},{"length":32,"start":6932},{"length":32,"start":7118},{"length":32,"start":8845},{"length":32,"start":9025},{"length":32,"start":9898},{"length":32,"start":12584},{"length":32,"start":12763},{"length":32,"start":12898},{"length":32,"start":13111},{"length":32,"start":13764},{"length":32,"start":14271},{"length":32,"start":15206},{"length":32,"start":15562},{"length":32,"start":15877},{"length":32,"start":16060},{"length":32,"start":16187},{"length":32,"start":17931}],"14592":[{"length":32,"start":4229},{"length":32,"start":8952},{"length":32,"start":11962},{"length":32,"start":12054},{"length":32,"start":12265},{"length":32,"start":12377}],"14694":[{"length":32,"start":4173},{"length":32,"start":10460}],"15048":[{"length":32,"start":902},{"length":32,"start":2239},{"length":32,"start":2881},{"length":32,"start":16109}]},"linkReferences":{},"object":"60806040526004361015610022575b3615610018575f80fd5b6100206122f5565b005b5f3560e01c80622a3e3a1461029057806301ffc9a71461028b57806305c1ee201461028657806306fdde0314610281578063081812fc1461027c578063095ea7b3146102775780630f5730f11461027257806312261ee71461026d57806316a24131146102685780631efeed331461026357806323b872dd1461025e5780632b67b570146102595780632b9261de146102545780633644e5151461024f5780633aea60f01461024a57806342842e0e146102455780634767565f146102405780634aa4a4fc1461023b5780634afe393c14610236578063502e1a16146102315780635a9d7a681461022c5780636352211e1461022757806370a082311461022257806375794a3c1461021d5780637ba03aad1461021857806386b6be7d1461021357806389097a6a1461020e57806391dd73461461020957806395d89b4114610204578063a22cb465146101ff578063ac9650d8146101fa578063ad0b27fb146101f5578063b88d4fde146101f0578063c87b56dd146101eb578063d737d0c7146101e6578063dc4c90d3146101e1578063dd46508f146101dc578063e985e9c5146101d75763f70204050361000e57611cc3565b611c6c565b611b43565b611aff565b611acd565b6119fe565b611802565b6117ae565b6116d0565b61163e565b611589565b611461565b611437565b6113b3565b611369565b611309565b611289565b611259565b611215565b6111cc565b6110e4565b611070565b611036565b610e4b565b610d74565b610d43565b610bd9565b610af6565b610995565b610920565b6108ee565b6108aa565b6107b7565b61073a565b610708565b6105f0565b610577565b610509565b610328565b6001600160a01b031690565b6001600160a01b038116036102b257565b5f80fd5b35906102c1826102a1565b565b9181601f840112156102b2578235916001600160401b0383116102b257602083818601950101116102b257565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9060206103259281815201906102f0565b90565b60603660031901126102b257600435610340816102a1565b602435906001600160401b0382116102b2578136039160606003198401126102b2576044356001600160401b0381116102b2576103819036906004016102c3565b6060947f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031693909290843b156102b257604051632a2d80d160e01b81526001600160a01b039096166004808801919091526060602488015260c48701949082013590602219018112156102b25781016024600482013591019460018060401b0382116102b2578160071b360386136102b25760606064890152819052869460e48601949392915f5b8181106104cf575050506104805f96948694889460448561046861045860248b99016102b6565b6001600160a01b03166084890152565b013560a4860152848303600319016044860152611dd6565b03925af190816104b5575b506104ac57506104a861049c611e3f565b60405191829182610314565b0390f35b6104a89061049c565b806104c35f6104c9936105cd565b8061058f565b5f61048b565b91965091929394608080826104e66001948b611d77565b019701910191889695949392610431565b6001600160e01b03198116036102b257565b346102b25760203660031901126102b2576020600435610528816104f7565b63ffffffff60e01b166301ffc9a760e01b8114908115610566575b8115610555575b506040519015158152f35b635b5e139f60e01b1490505f61054a565b6380ac58cd60e01b81149150610543565b60203660031901126102b25761002060043533612370565b5f9103126102b257565b634e487b7160e01b5f52604160045260245ffd5b60a081019081106001600160401b038211176105c857604052565b610599565b601f909101601f19168101906001600160401b038211908210176105c857604052565b346102b2575f3660031901126102b2576040515f80548060011c90600181169081156106c6575b6020831082146106b25782855260208501919081156106995750600114610649575b6104a88461049c818603826105cd565b5f8080529250907f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b8184106106855750500161049c82610639565b805484840152602090930192600101610672565b60ff191682525090151560051b01905061049c82610639565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610617565b5f52600260205260405f2090565b5f52600460205260405f2090565b5f52600960205260405f2090565b5f52600760205260405f2090565b346102b25760203660031901126102b2576004355f526004602052602060018060a01b0360405f205416604051908152f35b346102b25760403660031901126102b257600435610757816102a1565b6024355f818152600260205260409020546001600160a01b0316913383141580610797575b61078957610020926123b6565b6282b42960e81b5f5260045ffd5b50825f52600560205260ff6107af3360405f206111b7565b54161561077c565b60a03660031901126102b2576004356107cf816102a1565b60243560443591606435926084356001600160401b0381116102b2576107f99036906004016102c3565b9482421161089b5761089085610896936100209861088a885f80998682526002602052818960018060a01b036040832054169c8d9981604051977f49ecf333e5b8c95c40fdafc95c1ad136e8914a8fb55e9dc8bb01eaa83a2df9ad8952602089019060018060a01b031681526040890192835260608901948552608089019687528160a08a209952525252526123ff565b91612484565b82612370565b6123b6565b635a9165ff60e01b5f5260045ffd5b346102b2575f3660031901126102b2576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346102b25760203660031901126102b2576004355f526007602052602060018060a01b0360405f205416604051908152f35b346102b25760203660031901126102b257602061095760043561094281612011565b919082851c60020b9260081c60020b91612618565b6040516001600160801b039091168152f35b60609060031901126102b257600435610981816102a1565b9060243561098e816102a1565b9060443590565b346102b2576109a336610969565b916109cd7f000000000000000000000000000000000000000000000000000000000000000061272d565b610ae7578291610a6c6109f76109f26109e5866106d0565b546001600160a01b031690565b610295565b6001600160a01b0384169290610a0e9084146127a9565b6001600160a01b03811693610a4790610a288615156127e2565b8433148015610acc575b8015610ab0575b610a4290612822565b61119e565b80545f19019055610a578161119e565b80546001019055610a67856106d0565b611e6e565b610a7d610a78846106de565b61285f565b5f80516020614a488339815191525f80a4610aa1610a9a826106ec565b5460ff1690565b610aa757005b6100209061286f565b50610a42610ac36109f26109e58a6106de565b33149050610a39565b50610ae2610a9a33610add84611185565b6111b7565b610a32565b6306a582ff60e51b5f5260045ffd5b6101003660031901126102b257600435610b0f816102a1565b60c03660231901126102b25760e4356001600160401b0381116102b257610b3a9036906004016102c3565b60609290917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156102b257610480935f8094604051968795869485936302b67b5760e41b855260018060a01b03166004850152610ba460248501611d0b565b60a435610bb0816102a1565b6001600160a01b031660a485015260c43560c485015261010060e4850152610104840191611dd6565b60603660031901126102b257602435600435610bf4826102a1565b6044356001600160401b0381116102b257610c139036906004016102c3565b610c3f9391937f000000000000000000000000000000000000000000000000000000000000000061272d565b610ae757610c4d833361295f565b15610d30576001600160a01b03610c666109e5856106fa565b1680610d0d57505f83815260096020526040902080546001179055610cdd90610cd9906001600160a01b03841695610cd390610ca588610a67896106fa565b610cc56040519384926346abfb5960e11b60208501528960248501611e8d565b03601f1981018352826105cd565b836129e5565b1590565b610d0857507f9709492381f90bdc5938bb4e3b8e35b7e0eac8af058619e27191c5a40ce79fa95f80a3005b612a0d565b6312fdec5f60e11b5f5260048490526001600160a01b031660245260445ffd5b5ffd5b6301952d1b60e31b5f523360045260245ffd5b346102b2575f3660031901126102b2576020610d5d611ea4565b604051908152f35b6044359081151582036102b257565b60c03660031901126102b257600435610d8c816102a1565b602435610d98816102a1565b610da0610d65565b906064359260843560a4356001600160401b0381116102b257610dc79036906004016102c3565b86929192421161089b5783610e46936108909261088a885f6100209c8189818f81604051977f6673cb397ee2a50b6b8401653d3638b4ac8b3db9c28aa6870ffceb7574ec2f768952602089019060018060a01b03168152600160408a019316835260608901948552608089019687528160a08a209952525252526123ff565b612bbd565b346102b257610e5936610969565b610e827f000000000000000000000000000000000000000000000000000000000000000061272d565b610ae757610e956109f26109e5836106d0565b6001600160a01b0384169290610eac9084146127a9565b6001600160a01b0381169282908490610ec68215156127e2565b8033148015611020575b8015611004575b610ee090612822565b610ee98761119e565b80545f19019055610ef98461119e565b80546001019055610f0d84610a67856106d0565b610f19610a78846106de565b5f80516020614a488339815191525f80a4610f36610a9a836106ec565b610ff6575b3b15918215610f4e575b61002083611f76565b604051630a85bd0160e11b81523360048201526001600160a01b039490941660248501526044840191909152608060648401525f6084840181905260209250839160a49183915af18015610ff157610020915f91610fc2575b506001600160e01b031916630a85bd0160e11b145f80610f45565b610fe4915060203d602011610fea575b610fdc81836105cd565b810190611f61565b5f610fa7565b503d610fd2565b611df6565b610fff8261286f565b610f3b565b50610ee06110176109f26109e5866106de565b33149050610ed7565b50611031610a9a33610add8a611185565b610ed0565b346102b2575f3660031901126102b25760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b346102b2575f3660031901126102b2576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b9181601f840112156102b2578235916001600160401b0383116102b2576020808501948460051b0101116102b257565b60403660031901126102b2576004356001600160401b0381116102b25761110f9036906004016102c3565b6024356001600160401b0381116102b25761112e9036906004016110b4565b915f80516020614a288339815191525c6001600160a01b03166111765761116493335f80516020614a288339815191525d612c36565b5f5f80516020614a288339815191525d005b6337affdbf60e11b5f5260045ffd5b6001600160a01b03165f90815260056020526040902090565b6001600160a01b03165f90815260036020526040902090565b9060018060a01b03165f5260205260405f2090565b346102b25760403660031901126102b2576004356111e9816102a1565b6024359060018060a01b03165f52600660205260405f20905f52602052602060405f2054604051908152f35b346102b2575f3660031901126102b2576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346102b25760203660031901126102b2576020611277600435611fee565b6040516001600160a01b039091168152f35b346102b25760203660031901126102b2576004356112a6816102a1565b6001600160a01b031680156112d5575f5260036020526104a860405f2054604051918291829190602083019252565b60405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b6044820152606490fd5b346102b2575f3660031901126102b2576020600854604051908152f35b80516001600160a01b03908116835260208083015182169084015260408083015162ffffff169084015260608083015160020b9084015260809182015116910152565b346102b25760203660031901126102b25760c0611387600435612011565b6113946040518093611326565b60a0820152f35b66ffffffffffffff19165f52600a60205260405f2090565b346102b25760203660031901126102b25760043566ffffffffffffff1981168091036102b2575f908152600a60209081526040918290208054600182015460029283015485516001600160a01b0393841681528383169581019590955260a082811c62ffffff169686019690965260b89190911c90920b6060840152166080820152f35b346102b25760203660031901126102b2576004355f526009602052602060405f2054604051908152f35b346102b25760203660031901126102b2576004356001600160401b0381116102b2576114919036906004016102c3565b907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361157a5760408135189063ffffffff60408201351663ffffffe0601f8201169260608401602084013518179282019260608401359483641fffffffe08760051b16805f905b8881831061154b579050608092915001019101101761153e576060608063ffffffff611533961694019201612c36565b6104a861049c611e2b565b633b99b53d5f526004601cfd5b8294509263ffffffe0601f60808060209687969801013599848b1817998d010135011601019201869291611503565b63570c108560e11b5f5260045ffd5b346102b2575f3660031901126102b2576040515f6001548060011c9060018116908115611634575b6020831082146106b257828552602085019190811561069957506001146115e2576104a88461049c818603826105cd565b60015f9081529250907fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b8184106116205750500161049c82610639565b80548484015260209093019260010161160d565b91607f16916115b1565b346102b25760403660031901126102b25760043561165b816102a1565b60243580151581036102b2576100209133612bbd565b602081016020825282518091526040820191602060408360051b8301019401925f915b8383106116a357505050505090565b90919293946020806116c1600193603f1986820301875289516102f0565b97019301930191939290611694565b60203660031901126102b2576004356001600160401b0381116102b2576116fb9036906004016110b4565b90611705826120be565b9161171360405193846105cd565b808352601f19611722826120be565b015f5b81811061179d5750505f5b81811061174557604051806104a88682611671565b5f806117528385876120e9565b906117626040518093819361212f565b0390305af461176f611e3f565b90156117955790600191611783828761213c565b5261178e818661213c565b5001611730565b602081519101fd5b806060602080938801015201611725565b60203660031901126102b2576004356117e67f000000000000000000000000000000000000000000000000000000000000000061272d565b610ae7576117f4813361295f565b15610d30576100209061286f565b346102b25760803660031901126102b25760043561181f816102a1565b6024359061182c826102a1565b6044356064356001600160401b0381116102b25761184e9036906004016102c3565b93909161187a7f000000000000000000000000000000000000000000000000000000000000000061272d565b610ae75761188d6109f26109e5836106d0565b6001600160a01b03851692906118a49084146127a9565b6001600160a01b03811692829084906118be8215156127e2565b80331480156119e8575b80156119cc575b6118d890612822565b6118e18861119e565b80545f190190556118f18461119e565b8054600101905561190584610a67856106d0565b611911610a78846106de565b5f80516020614a488339815191525f80a461192e610a9a836106ec565b6119be575b3b15938415611946575b61002085611f76565b602094505f9061196d60405197889687958694630a85bd0160e11b86523360048701612150565b03925af18015610ff157610020915f9161199f575b506001600160e01b031916630a85bd0160e11b145f80808061193d565b6119b8915060203d602011610fea57610fdc81836105cd565b5f611982565b6119c78261286f565b611933565b506118d86119df6109f26109e5866106de565b331490506118cf565b506119f9610a9a33610add8b611185565b6118c8565b346102b25760203660031901126102b25760043560405163e9dc637560e01b815230600482015260248101919091525f816044817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa8015610ff1575f90611a7b575b6104a89060405191829182610314565b503d805f833e611a8b81836105cd565b8101906020818303126102b2578051906001600160401b0382116102b2570181601f820112156102b2576104a891816020611ac893519101612181565b611a6b565b346102b2575f3660031901126102b2576040516001600160a01b035f80516020614a288339815191525c168152602090f35b346102b2575f3660031901126102b2576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60403660031901126102b2576004356001600160401b0381116102b257611b6e9036906004016102c3565b6024355f80516020614a288339815191525c6001600160a01b031661117657335f80516020614a288339815191525d804211611c5a576040516348c8949160e01b8152602060048201525f8180611bc9602482018789611dd6565b0381837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af18015610ff157611c0b575b610020612c24565b3d805f833e611c1a81836105cd565b8101906020818303126102b2578051906001600160401b0382116102b257019080601f830112156102b2578151611c5392602001612181565b5080611c03565b63bfb22adf60e01b5f5260045260245ffd5b346102b25760403660031901126102b257602060ff611cb7600435611c90816102a1565b60243590611c9d826102a1565b6001600160a01b03165f90815260058552604090206111b7565b54166040519015158152f35b366003190160c081126102b25760a0136102b2576020611ced60a435611ce8816102a1565b6121e4565b6040519060020b8152f35b359065ffffffffffff821682036102b257565b602435611d17816102a1565b6001600160a01b03168152604435611d2e816102a1565b6001600160a01b0316602082015260643565ffffffffffff8116908190036102b257604082015260843565ffffffffffff811681036102b25765ffffffffffff60609116910152565b65ffffffffffff611dd0606080938035611d90816102a1565b6001600160a01b031686526020810135611da9816102a1565b6001600160a01b0316602087015283611dc460408301611cf8565b16604087015201611cf8565b16910152565b908060209392818452848401375f828201840152601f01601f1916010190565b6040513d5f823e3d90fd5b604051906102c16080836105cd565b6001600160401b0381116105c857601f01601f191660200190565b60405190611e3a6020836105cd565b5f8252565b3d15611e69573d90611e5082611e10565b91611e5e60405193846105cd565b82523d5f602084013e565b606090565b80546001600160a01b0319166001600160a01b03909216919091179055565b604090610325949281528160208201520191611dd6565b467f000000000000000000000000000000000000000000000000000000000000000003611eef577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86682527f0000000000000000000000000000000000000000000000000000000000000000604082015246606082015230608082015260808152611f5b60a0826105cd565b51902090565b908160209103126102b25751610325816104f7565b15611f7d57565b60405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606490fd5b15611fbc57565b60405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b6044820152606490fd5b5f908152600260205260409020546001600160a01b0316906102c1821515611fb5565b5f6080604051612020816105ad565b82815282602082015282604082015282606082015201525f52600960205260405f20548066ffffffffffffff19165f52600a60205260405f206120bb6120ab60026040519361206e856105ad565b80546001600160a01b0390811686526001820154908116602087015262ffffff60a082901c16604087015260b81c60020b60608601520154610295565b6001600160a01b03166080830152565b91565b6001600160401b0381116105c85760051b60200190565b634e487b7160e01b5f52603260045260245ffd5b919081101561212a5760051b81013590601e19813603018212156102b25701803591906001600160401b0383116102b25760200182360381136102b2579190565b6120d5565b908092918237015f815290565b805182101561212a5760209160051b010190565b6001600160a01b03918216815291166020820152604081019190915260806060820181905261032593910191611dd6565b92919261218d82611e10565b9161219b60405193846105cd565b8294818452818301116102b2578281602093845f96015e010152565b8060020b036102b257565b908160209103126102b25751610325816121b7565b62ffffff8116036102b257565b60405163313b65df60e11b8152906004356121fe816102a1565b6001600160a01b03166004830152602435612218816102a1565b6001600160a01b0316602483015262ffffff604435612236816121d7565b166044830152606435612248816121b7565b60020b606483015261226f60843561225f816102a1565b6001600160a01b03166084840152565b6001600160a01b0390811660a4830152602090829060c49082905f907f0000000000000000000000000000000000000000000000000000000000000000165af15f91816122c4575b506103255750627fffff90565b6122e791925060203d6020116122ee575b6122df81836105cd565b8101906121c2565b905f6122b7565b503d6122d5565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614158061233d575b61232e57565b631c5deabb60e11b5f5260045ffd5b50337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161415612328565b90600160ff82161b9160018060a01b03165f52600660205260405f209060081c5f5260205260405f208181541880915516156123a857565b623f613760e71b5f5260045ffd5b90825f5260046020526123cc8160405f20611e6e565b6001600160a01b0390811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9255f80a4565b90612408611ea4565b916040519261190160f01b8452600284015260228301525f604060428420938281528260208201520152565b91908260409103126102b2576020823592013590565b634e487b7160e01b5f52601160045260245ffd5b60ff601b9116019060ff821161247057565b61244a565b906040101561212a5760400190565b90833b61258f576041810361254357906020926124f5836124cd6124c76124b96124b15f98880188612434565b949097612475565b356001600160f81b03191690565b60f81c90565b935b604051948594859094939260ff6060936080840197845216602083015260408201520152565b838052039060015afa15610ff1575f516001600160a01b0316908115612534576001600160a01b03160361252557565b632057875960e21b5f5260045ffd5b638baa579f60e01b5f5260045ffd5b906040820361258057602092612560825f946124f5940190612434565b9092906001600160ff1b0381169061257a9060ff1c61245e565b936124cf565b634be6321b60e01b5f5260045ffd5b90926125b59360209360405195869485938493630b135d3f60e11b855260048501611e8d565b03916001600160a01b03165afa908115610ff1575f916125f9575b506001600160e01b0319166374eca2c160e11b016125ea57565b632c19a72f60e21b5f5260045ffd5b612612915060203d602011610fea57610fdc81836105cd565b5f6125d0565b92906126539260a092604051956026870152600686015260038501523084525f603a600c860120948160408201528160208201525220613c3b565b6006810180911161247057604080516020818101948552918101929092526126a69290916126848160608101610cc5565b51902060405180938192631e2eaeaf60e01b8352600483019190602083019252565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610ff1575f916126ef575b506001600160801b031690565b612711915060203d602011612717575b61270981836105cd565b81019061271e565b5f6126e2565b503d6126ff565b908160209103126102b2575190565b60405163789add5560e11b81527fc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab23600482015290602090829060249082906001600160a01b03165afa908115610ff1575f9161278a575b50151590565b6127a3915060203d6020116127175761270981836105cd565b5f612784565b156127b057565b60405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b6044820152606490fd5b156127e957565b60405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606490fd5b1561282957565b60405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606490fd5b80546001600160a01b0319169055565b6001600160a01b036128836109e5836106fa565b16908115612950575f818152600960205260409020805460ff191690556128ac610a78826106fa565b813b6128d9575b7fa0ebb1de82db929a9153472f37d3a66dbede4436258311ad0f52a35a2c91d1505f80a3565b5a7f000000000000000000000000000000000000000000000000000000000000000080911061294b57823b156102b257604051632bd1774560e21b815260048101839052905f908290602490829084908890f1612937575b506128b3565b806104c35f612945936105cd565b5f612931565b612c86565b63046fcd8560e31b5f5260045ffd5b6001600160a01b0361297083611fee565b6001600160a01b03831691168114929083156129c4575b50821561299357505090565b60ff92506129bf91906001600160a01b03906129ae90611fee565b165f52600560205260405f206111b7565b541690565b5f828152600460205260408120546001600160a01b03169091149350612987565b803b156129fe57815f92918360208194519301915af190565b637c402b2160e01b5f5260045ffd5b6040516390bfb86560e01b81526001600160a01b0390911660048201526346abfb5960e11b60248201526080604482015260a03d601f01601f191690810160648301523d60848301523d5f60a484013e808201600460a482015260c46340f52f4f60e11b91015260e40190fd5b6040516390bfb86560e01b81526001600160a01b03909116600482015263a9059cbb60e01b60248201526080604482015260a03d601f01601f191690810160648301523d60848301523d5f60a484013e808201600460a482015260c4633c9fd93960e21b91015260e40190fd5b6040516390bfb86560e01b81526001600160a01b0390911660048201525f602482018190526080604483015260a03d601f01601f191690810160648401523d6084840152903d9060a484013e808201600460a482015260c4633d2cec6f60e21b91015260e40190fd5b6040516390bfb86560e01b81526001600160a01b03909116600482015263b1a9116f60e01b60248201526080604482015260a03d601f01601f191690810160648301523d60848301523d5f60a484013e808201600460a482015260c463ace9448160e01b91015260e40190fd5b60207f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319160018060a01b031692835f5260058252612bfe8160405f206111b7565b805460ff191695151560ff81169690961790556040519485526001600160a01b031693a3565b5f5f80516020614a288339815191525d565b90929193828403612c77575f5b84811015612c6f57600190612c69818501612c5f83888b6120e9565b913560f81c612c95565b01612c43565b509350505050565b63aaad13f760e01b5f5260045ffd5b6376a1e1d360e11b5f5260045ffd5b909190600b811015612d975780612cc05750612cb4906102c192613a83565b94939093929192613bf2565b60048103612cdf5750612cd6906102c192613473565b93929092613b1d565b60018103612d015750612cf5906102c192613a83565b94939093929192613ac5565b60028103612d305750612d1a612d2a916102c19361383e565b98909796919592959493946130bf565b95613925565b60058103612d5c5750612d49612d56916102c1936136e0565b97909695919492946130bf565b946137a2565b9160038314612d7f575050610d2d91505b635cda29d760e01b5f52600452602490565b6102c1925090612d8e91613473565b939290926134af565b600d8103612db35750612dad906102c1926130ac565b90613448565b60118103612ddb5750612dcc612dd5916102c19361322d565b929091926130bf565b9161342d565b600b8103612e0f5750612e09612df7612e03926102c19461322d565b938294939291936132ee565b92613309565b9161332e565b600e8103612e415750612e35612e2b612e3b926102c19461322d565b92829492916130bf565b92613245565b91613259565b60128103612e5c5750612e57906102c192612f48565b6131d4565b60138103612e785750612e72906102c1926130ac565b9061310f565b60148103612e9f5750612e91612e99916102c1936130ac565b9190916130bf565b906130f1565b60158103612eed5750612eb8612ee8916102c193612f48565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690612f9f565b61304f565b9160168314612f02575050610d2d9150612d6d565b6102c19250612f4391612f1491612f48565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316612f54565b612fdf565b9060201161153e573590565b612f5f903090613c5b565b600160ff1b8214612f9a578115612f89575b8111612f7a5790565b631e9acf1760e31b5f5260045ffd5b9050612f945f613cc3565b90612f71565b905090565b90612faa305f613c5b565b90600160ff1b8314612fd9578215612fc7575b508111612f7a5790565b612fd2919250613cc3565b905f612fbd565b50905090565b80612fe75750565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b156102b2575f91602483926040519485938492632e1a7d4d60e01b845260048401525af18015610ff1576130455750565b5f6102c1916105cd565b806130575750565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156102b2575f90600460405180948193630d0e30db60e41b83525af18015610ff1576130455750565b919060401161153e576020823592013590565b6001600160a01b038116600181036130e55750505f80516020614a288339815191525c90565b60020361032557503090565b906130fb82613d20565b908161310657505050565b6102c192613d6d565b9061311982613dfe565b9081156131bf5781116131a6577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b156102b25760405163203c2d1360e21b81526001600160a01b0390911660048201526024810191909152905f908290604490829084905af18015610ff1576131985750565b806104c35f6102c1936105cd565b6102c1915f80516020614a288339815191525c90613259565b505050565b600160ff1b8114612470575f0390565b6131ff81307f0000000000000000000000000000000000000000000000000000000000000000613e55565b905f80516020614a288339815191525c5f83121561322357612e096102c1936131c4565b6102c19291613259565b9060601161153e578035916040602083013592013590565b9081613255576103259150613dfe565b5090565b9082156131bf577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156102b257604051630b0d9c0960e01b81526001600160a01b03938416600482015291909216602482015260448101929092525f908290606490829084905af18015610ff1576132d95750565b806132e55f80936105cd565b8003126102b257565b15613305575f80516020614a288339815191525c90565b3090565b90600160ff1b820361331f576103259150613d20565b81613255576103259150613cc3565b9082156131bf577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b156102b257604051632961046560e21b81526001600160a01b03821660048201525f8160248183885af18015610ff157613419575b506001600160a01b0381166133e8575050602090600460405180948193630476982d60e21b83525af18015610ff1576133cd5750565b6133e59060203d6020116127175761270981836105cd565b50565b5f93602093926133f792613ea2565b600460405180948193630476982d60e21b83525af18015610ff1576133cd5750565b806104c35f613427936105cd565b5f613397565b9161343f6102c19382612e3b82613dfe565b612e3b82613dfe565b906102c19161346a5f80516020614a288339815191525c9182612e0982613cc3565b612e0982613cc3565b919082359260208101359260408201359263ffffffff60608401351683019063ffffffff8235169360208084019386010191011061153e579190565b939290925f80516020614a288339815191525c6134cc868261295f565b1561365f57506134db85612011565b9290938360081c60020b958460201c60020b966135096134fd89838a8d612618565b6001600160801b031690565b966135138a611fee565b955f61351e8c6106ec565b556135288b613f8c565b5f998961355a575b505050505050508160ff16613547575b5050505050565b613550946140f9565b5f80808080613540565b60409495969a50906135bf9161359a61357a6135758d614024565b6131c4565b91613590613586611e01565b97889060020b9052565b60020b6020870152565b84860152606084018c90528451632d35e7ed60e11b81529a8b94859460048601613695565b03815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af18015610ff1575f965f9161361f575b509061360e8261361394939861403d565b614087565b5f808080808080613530565b61360e97506136139392915061364c9060403d604011613658575b61364481836105cd565b81019061367f565b979097919293506135fd565b503d61363a565b6301952d1b60e31b5f9081526001600160a01b0391909116600452602490fd5b91908260409103126102b2576020825192015190565b606061032595936136a98361014095611326565b805160020b60a0840152602081015160020b60c0840152604081015160e08401520151610100820152816101208201520191611dd6565b91908260a08101359260c08201359260e083013592610100810135926101208201359263ffffffff6101408401351683019063ffffffff8235169360208084019386010191011061153e579190565b91908260a09103126102b257604051613747816105ad565b60808082948035613757816102a1565b84526020810135613767816102a1565b6020850152604081013561377a816121d7565b6040850152606081013561378d816121b7565b606085015201359161379e836102a1565b0152565b90916102c19796959493926137e360a06137bc368661372f565b207f000000000000000000000000000000000000000000000000000000000000000061417e565b5050506138376137f28361420a565b916137fc8561420a565b61380f873561380a816102a1565b613dfe565b9060208801359461381f866102a1565b6001600160801b039561383190613dfe565b9361452a565b1692613925565b9091819260a08301359260c08101359260e08201359261010083013592610120810135926101408201359263ffffffff6101608401351683019063ffffffff8235169360208084019386010191011061153e579190565b600260806102c1936138b181356138ab816102a1565b85611e6e565b600184016138cc60208301356138c6816102a1565b82611e6e565b60408201356138da816121d7565b815460608401356138ea816121b7565b60b81b62ffffff60b81b169162ffffff60a01b9060a01b169065ffffffffffff60a01b19161717905501359161391f836102a1565b01611e6e565b909194969297939597600854926001840160085560018060a01b038a169961394e8b15156127e2565b5f858152600260205260409020546001600160a01b0316613a4d576139e0613a2f98613a2993876102c19e61399986613989613a219861119e565b80546001019055610a67846106d0565b5f5f80516020614a488339815191528180a46139b5368861372f565b63ffffff009060a066ffffffffffffff199120169160081b169162ffffff60201b9060201b16171790565b92836139eb876106ec565b5566ffffffffffffff19841685613a116001613a068461139b565b015460b81c60020b90565b60020b15613a35575b5050614024565b92369061372f565b906145b9565b50614682565b613a41613a469261139b565b613895565b5f85613a1a565b60405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606490fd5b909181359260208301359260408101359260608201359263ffffffff60808401351683019063ffffffff8235169360208084019386010191011061153e579190565b90959495939192935f80516020614a288339815191525c613ae6838261295f565b1561365f57509561360e92826135756102c19899613b11613b09613b1797612011565b939092614024565b916145b9565b9061403d565b949394929091925f80516020614a288339815191525c613b3d828261295f565b1561365f57506102c19495613bed9282613b59613b1794612011565b90613b11613b8a60a083207f000000000000000000000000000000000000000000000000000000000000000061417e565b505050613be7613b9f8560081c60020b61420a565b91613baf8660201c60020b61420a565b8551613bc3906001600160a01b0316613dfe565b60208701516001600160801b039591929190613831906001600160a01b0316613dfe565b16614024565b614682565b90959495939192935f80516020614a288339815191525c613c13838261295f565b1561365f575095613bed9282613b116102c19899613c33613b1796612011565b929091614024565b604051602081019182526006604082015260408152611f5b6060826105cd565b6001600160a01b038116613c6e57503190565b6040516370a0823160e01b81526001600160a01b0392831660048201529160209183916024918391165afa908115610ff1575f91613caa575090565b610325915060203d6020116127175761270981836105cd565b613cee81307f0000000000000000000000000000000000000000000000000000000000000000613e55565b905f8213613d005750610325906131c4565b63019a8d9360e51b5f9081526001600160a01b0391909116600452602490fd5b6001600160a01b038116613d3357504790565b6040516370a0823160e01b815230600482015290602090829060249082906001600160a01b03165afa908115610ff1575f91613caa575090565b9091906001600160a01b038116613d9a57505f808080613d8e94865af11590565b613d955750565b612ae7565b6040805163a9059cbb60e01b81526001600160a01b039094166004850152602484019290925291905f9060208260448582885af13d15601f3d11600185511416171692828152826020820152015215613df05750565b6001600160a01b0316612a7a565b613e2981307f0000000000000000000000000000000000000000000000000000000000000000613e55565b905f8212613e35575090565b634c085bf160e01b5f9081526001600160a01b0391909116600452602490fd5b6001600160a01b039182165f9081529282166020908152604093849020935163789add5560e11b815260048101949094529183916024918391165afa908115610ff1575f91613caa575090565b9091906001600160a01b0383163003613eea576102c192507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690613d6d565b907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156102b257604051631b63c28b60e11b81526001600160a01b0394851660048201527f00000000000000000000000000000000000000000000000000000000000000008516602482015291841660448301529190921660648301525f908290608490829084905af18015610ff1576131985750565b5f818152600260205260408120546001600160a01b0316613fae811515611fb5565b80825260036020526040822082198154019055613fca836106d0565b80546001600160a01b03600385901b81811b1990921690851690911b179055613ff2836106de565b80546001600160a01b03600385901b81811b1990921690851690911b1790555f80516020614a488339815191528280a4565b905f821261402e57565b6393dafdf160e01b5f5260045ffd5b614060906140528360801d8260801d03614736565b92600f0b90600f0b03614736565b60018060801b03169060801b1790565b6001600160801b0390811660045216602452604490565b908160801d61409581614744565b6001600160801b03928316921682116140cd575050600f0b6140b681614744565b6001600160801b03928316921682116140cd575050565b6140d690614744565b630940b79160e11b5f9081526004929092526001600160801b0316602452604490fd5b5f81815260076020526040902080546001600160a01b03169561417295610cd99593949193909290919061412c9061285f565b60405163b1a9116f60e01b602082015260248101959095526001600160a01b031660448501526064840152608483015260a4808301919091528152610cd360c4826105cd565b6141795750565b612b50565b919061418b602091613c3b565b604051631e2eaeaf60e01b8152600481019190915292839060249082906001600160a01b03165afa918215610ff1575f926141e9575b506001600160a01b0382169160a081901c60020b9162ffffff60b883901c81169260d01c1690565b61420391925060203d6020116127175761270981836105cd565b905f6141c1565b60020b908160ff1d82810118620d89e881116145245763ffffffff9192600182167001fffcb933bd6fad37aa2d162d1a59400102600160801b189160028116614508575b600481166144ec575b600881166144d0575b601081166144b4575b60208116614498575b6040811661447c575b60808116614460575b6101008116614444575b6102008116614428575b610400811661440c575b61080081166143f0575b61100081166143d4575b61200081166143b8575b614000811661439c575b6180008116614380575b620100008116614364575b620200008116614349575b62040000811661432e575b6208000016614315575b5f1261430d575b0160201c90565b5f1904614306565b6b048a170391f7dc42444e8fa290910260801c906142ff565b6d2216e584f5fa1ea926041bedfe9890920260801c916142f5565b916e5d6af8dedb81196699c329225ee6040260801c916142ea565b916f09aa508b5b7a84e1c677de54f3e99bc90260801c916142df565b916f31be135f97d08fd981231505542fcfa60260801c916142d4565b916f70d869a156d2a1b890bb3df62baf32f70260801c916142ca565b916fa9f746462d870fdf8a65dc1f90e061e50260801c916142c0565b916fd097f3bdfd2022b8845ad8f792aa58250260801c916142b6565b916fe7159475a2c29b7443b29c7fa6e889d90260801c916142ac565b916ff3392b0822b70005940c7a398e4b70f30260801c916142a2565b916ff987a7253ac413176f2b074cf7815e540260801c91614298565b916ffcbe86c7900a88aedcffc83b479aa3a40260801c9161428e565b916ffe5dee046a99a2a811c461f1969c30530260801c91614284565b916fff2ea16466c96a3843ec78b326b528610260801c9161427b565b916fff973b41fa98c081472e6896dfb254c00260801c91614272565b916fffcb9843d60f6159c9db58835c9266440260801c91614269565b916fffe5caca7e10e4e61c3624eaa0941cd00260801c91614260565b916ffff2e50f5f656932ef12357cf3c7fdcc0260801c91614257565b916ffff97272373d413259a46990580e213a0260801c9161424e565b8261475a565b936001600160a01b03838116908316116145b1575b6001600160a01b0385811695908316861161456057505061032593506147a9565b919490939192906001600160a01b03821611156145a55782916145879161458d95946147a9565b9361476f565b6001600160801b038181169083161015612f9a575090565b9150506103259261476f565b90919061453f565b9593946040916146066145ca611e01565b60088a901c60020b81529260208a811c60020b90850152858585015286606085015284519889948594632d35e7ed60e11b865260048601613695565b03815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af1908115610ff1575f945f9261465e575b5081949560ff1661465557505050565b6102c1926147f6565b90945061467a915060403d6040116136585761364481836105cd565b90935f614645565b908160801d600f0b91600f0b915f811280614713575b6146ed5750505f8112806146cf575b6146af575050565b906146bf6134fd610d2d936131c4565b63031e30ad60e41b5f5290614070565b506146d9816131c4565b6001600160801b03908116908316106146a7565b906146fa610d2d926131c4565b63031e30ad60e41b5f526001600160801b031690614070565b506001600160801b03614725826131c4565b166001600160801b03831610614698565b9081600f0b91820361402e57565b5f81600f0b1261402e576001600160801b031690565b6345c3193d60e11b5f5260020b60045260245ffd5b6103259261479e9290916001600160a01b03808316908216116147a3575b90036001600160a01b0316906148b9565b614a12565b9061478d565b6103259261479e929091906001600160a01b03808216908316116147f0575b6147de6001600160a01b03828116908416614946565b9190036001600160a01b03169161498f565b906147c8565b6148469192815f52600760205260018060a01b0360405f205416936040519263d8865c2760e01b6020850152602484015260448301526064820152606481526148406084826105cd565b826129e5565b1561484e5750565b6040516390bfb86560e01b8152600481019190915263d8865c2760e01b602482015260806044820152601f3d01601f191660a0810160648301523d60848301523d5f60a484013e808201600460a482015260c46374a7887160e11b91015260e40190fd5b156102b257565b90606082901b905f19600160601b84099282808510940393808503946148e08685116148b2565b1461493f578190600160601b900981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b5091500490565b81810291905f1982820991838084109303928084039384600160601b11156102b2571461498657600160601b910990828211900360a01b910360601c1790565b50505060601c90565b91818302915f198185099383808610950394808603956149b08786116148b2565b14614a0a579082910981805f03168092046002816003021880820260020302808202600203028082026002030280820260020302808202600203028091026002030293600183805f03040190848311900302920304170290565b505091500490565b6001600160801b038116919082900361402e5756fe0aedd6bde10e3aa2adec092b02a3e3e805795516cda41f27aa145b8f300af87addf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa164736f6c634300081a000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x22 JUMPI JUMPDEST CALLDATASIZE ISZERO PUSH2 0x18 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x20 PUSH2 0x22F5 JUMP JUMPDEST STOP JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH3 0x2A3E3A EQ PUSH2 0x290 JUMPI DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x28B JUMPI DUP1 PUSH4 0x5C1EE20 EQ PUSH2 0x286 JUMPI DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x281 JUMPI DUP1 PUSH4 0x81812FC EQ PUSH2 0x27C JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x277 JUMPI DUP1 PUSH4 0xF5730F1 EQ PUSH2 0x272 JUMPI DUP1 PUSH4 0x12261EE7 EQ PUSH2 0x26D JUMPI DUP1 PUSH4 0x16A24131 EQ PUSH2 0x268 JUMPI DUP1 PUSH4 0x1EFEED33 EQ PUSH2 0x263 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x25E JUMPI DUP1 PUSH4 0x2B67B570 EQ PUSH2 0x259 JUMPI DUP1 PUSH4 0x2B9261DE EQ PUSH2 0x254 JUMPI DUP1 PUSH4 0x3644E515 EQ PUSH2 0x24F JUMPI DUP1 PUSH4 0x3AEA60F0 EQ PUSH2 0x24A JUMPI DUP1 PUSH4 0x42842E0E EQ PUSH2 0x245 JUMPI DUP1 PUSH4 0x4767565F EQ PUSH2 0x240 JUMPI DUP1 PUSH4 0x4AA4A4FC EQ PUSH2 0x23B JUMPI DUP1 PUSH4 0x4AFE393C EQ PUSH2 0x236 JUMPI DUP1 PUSH4 0x502E1A16 EQ PUSH2 0x231 JUMPI DUP1 PUSH4 0x5A9D7A68 EQ PUSH2 0x22C JUMPI DUP1 PUSH4 0x6352211E EQ PUSH2 0x227 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x222 JUMPI DUP1 PUSH4 0x75794A3C EQ PUSH2 0x21D JUMPI DUP1 PUSH4 0x7BA03AAD EQ PUSH2 0x218 JUMPI DUP1 PUSH4 0x86B6BE7D EQ PUSH2 0x213 JUMPI DUP1 PUSH4 0x89097A6A EQ PUSH2 0x20E JUMPI DUP1 PUSH4 0x91DD7346 EQ PUSH2 0x209 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x204 JUMPI DUP1 PUSH4 0xA22CB465 EQ PUSH2 0x1FF JUMPI DUP1 PUSH4 0xAC9650D8 EQ PUSH2 0x1FA JUMPI DUP1 PUSH4 0xAD0B27FB EQ PUSH2 0x1F5 JUMPI DUP1 PUSH4 0xB88D4FDE EQ PUSH2 0x1F0 JUMPI DUP1 PUSH4 0xC87B56DD EQ PUSH2 0x1EB JUMPI DUP1 PUSH4 0xD737D0C7 EQ PUSH2 0x1E6 JUMPI DUP1 PUSH4 0xDC4C90D3 EQ PUSH2 0x1E1 JUMPI DUP1 PUSH4 0xDD46508F EQ PUSH2 0x1DC JUMPI DUP1 PUSH4 0xE985E9C5 EQ PUSH2 0x1D7 JUMPI PUSH4 0xF7020405 SUB PUSH2 0xE JUMPI PUSH2 0x1CC3 JUMP JUMPDEST PUSH2 0x1C6C JUMP JUMPDEST PUSH2 0x1B43 JUMP JUMPDEST PUSH2 0x1AFF JUMP JUMPDEST PUSH2 0x1ACD JUMP JUMPDEST PUSH2 0x19FE JUMP JUMPDEST PUSH2 0x1802 JUMP JUMPDEST PUSH2 0x17AE JUMP JUMPDEST PUSH2 0x16D0 JUMP JUMPDEST PUSH2 0x163E JUMP JUMPDEST PUSH2 0x1589 JUMP JUMPDEST PUSH2 0x1461 JUMP JUMPDEST PUSH2 0x1437 JUMP JUMPDEST PUSH2 0x13B3 JUMP JUMPDEST PUSH2 0x1369 JUMP JUMPDEST PUSH2 0x1309 JUMP JUMPDEST PUSH2 0x1289 JUMP JUMPDEST PUSH2 0x1259 JUMP JUMPDEST PUSH2 0x1215 JUMP JUMPDEST PUSH2 0x11CC JUMP JUMPDEST PUSH2 0x10E4 JUMP JUMPDEST PUSH2 0x1070 JUMP JUMPDEST PUSH2 0x1036 JUMP JUMPDEST PUSH2 0xE4B JUMP JUMPDEST PUSH2 0xD74 JUMP JUMPDEST PUSH2 0xD43 JUMP JUMPDEST PUSH2 0xBD9 JUMP JUMPDEST PUSH2 0xAF6 JUMP JUMPDEST PUSH2 0x995 JUMP JUMPDEST PUSH2 0x920 JUMP JUMPDEST PUSH2 0x8EE JUMP JUMPDEST PUSH2 0x8AA JUMP JUMPDEST PUSH2 0x7B7 JUMP JUMPDEST PUSH2 0x73A JUMP JUMPDEST PUSH2 0x708 JUMP JUMPDEST PUSH2 0x5F0 JUMP JUMPDEST PUSH2 0x577 JUMP JUMPDEST PUSH2 0x509 JUMP JUMPDEST PUSH2 0x328 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SUB PUSH2 0x2B2 JUMPI JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST CALLDATALOAD SWAP1 PUSH2 0x2C1 DUP3 PUSH2 0x2A1 JUMP JUMPDEST JUMP JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x2B2 JUMPI DUP3 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x2B2 JUMPI PUSH1 0x20 DUP4 DUP2 DUP7 ADD SWAP6 ADD ADD GT PUSH2 0x2B2 JUMPI JUMP JUMPDEST DUP1 MLOAD DUP1 DUP4 MSTORE PUSH1 0x20 SWAP3 SWAP2 DUP2 SWAP1 DUP5 ADD DUP5 DUP5 ADD MCOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x20 PUSH2 0x325 SWAP3 DUP2 DUP2 MSTORE ADD SWAP1 PUSH2 0x2F0 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x340 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x2B2 JUMPI DUP2 CALLDATASIZE SUB SWAP2 PUSH1 0x60 PUSH1 0x3 NOT DUP5 ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x44 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x381 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST PUSH1 0x60 SWAP5 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP4 SWAP1 SWAP3 SWAP1 DUP5 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2A2D80D1 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP7 AND PUSH1 0x4 DUP1 DUP9 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 PUSH1 0x24 DUP9 ADD MSTORE PUSH1 0xC4 DUP8 ADD SWAP5 SWAP1 DUP3 ADD CALLDATALOAD SWAP1 PUSH1 0x22 NOT ADD DUP2 SLT ISZERO PUSH2 0x2B2 JUMPI DUP2 ADD PUSH1 0x24 PUSH1 0x4 DUP3 ADD CALLDATALOAD SWAP2 ADD SWAP5 PUSH1 0x1 DUP1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x2B2 JUMPI DUP2 PUSH1 0x7 SHL CALLDATASIZE SUB DUP7 SGT PUSH2 0x2B2 JUMPI PUSH1 0x60 PUSH1 0x64 DUP10 ADD MSTORE DUP2 SWAP1 MSTORE DUP7 SWAP5 PUSH1 0xE4 DUP7 ADD SWAP5 SWAP4 SWAP3 SWAP2 PUSH0 JUMPDEST DUP2 DUP2 LT PUSH2 0x4CF JUMPI POP POP POP PUSH2 0x480 PUSH0 SWAP7 SWAP5 DUP7 SWAP5 DUP9 SWAP5 PUSH1 0x44 DUP6 PUSH2 0x468 PUSH2 0x458 PUSH1 0x24 DUP12 SWAP10 ADD PUSH2 0x2B6 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x84 DUP10 ADD MSTORE JUMP JUMPDEST ADD CALLDATALOAD PUSH1 0xA4 DUP7 ADD MSTORE DUP5 DUP4 SUB PUSH1 0x3 NOT ADD PUSH1 0x44 DUP7 ADD MSTORE PUSH2 0x1DD6 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 PUSH2 0x4B5 JUMPI JUMPDEST POP PUSH2 0x4AC JUMPI POP PUSH2 0x4A8 PUSH2 0x49C PUSH2 0x1E3F JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 PUSH2 0x314 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST PUSH2 0x4A8 SWAP1 PUSH2 0x49C JUMP JUMPDEST DUP1 PUSH2 0x4C3 PUSH0 PUSH2 0x4C9 SWAP4 PUSH2 0x5CD JUMP JUMPDEST DUP1 PUSH2 0x58F JUMP JUMPDEST PUSH0 PUSH2 0x48B JUMP JUMPDEST SWAP2 SWAP7 POP SWAP2 SWAP3 SWAP4 SWAP5 PUSH1 0x80 DUP1 DUP3 PUSH2 0x4E6 PUSH1 0x1 SWAP5 DUP12 PUSH2 0x1D77 JUMP JUMPDEST ADD SWAP8 ADD SWAP2 ADD SWAP2 DUP9 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 PUSH2 0x431 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND SUB PUSH2 0x2B2 JUMPI JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH1 0x4 CALLDATALOAD PUSH2 0x528 DUP2 PUSH2 0x4F7 JUMP JUMPDEST PUSH4 0xFFFFFFFF PUSH1 0xE0 SHL AND PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL DUP2 EQ SWAP1 DUP2 ISZERO PUSH2 0x566 JUMPI JUMPDEST DUP2 ISZERO PUSH2 0x555 JUMPI JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST PUSH4 0x5B5E139F PUSH1 0xE0 SHL EQ SWAP1 POP PUSH0 PUSH2 0x54A JUMP JUMPDEST PUSH4 0x80AC58CD PUSH1 0xE0 SHL DUP2 EQ SWAP2 POP PUSH2 0x543 JUMP JUMPDEST PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH2 0x20 PUSH1 0x4 CALLDATALOAD CALLER PUSH2 0x2370 JUMP JUMPDEST PUSH0 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0xA0 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x5C8 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH2 0x599 JUMP JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x5C8 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH0 DUP1 SLOAD DUP1 PUSH1 0x1 SHR SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x6C6 JUMPI JUMPDEST PUSH1 0x20 DUP4 LT DUP3 EQ PUSH2 0x6B2 JUMPI DUP3 DUP6 MSTORE PUSH1 0x20 DUP6 ADD SWAP2 SWAP1 DUP2 ISZERO PUSH2 0x699 JUMPI POP PUSH1 0x1 EQ PUSH2 0x649 JUMPI JUMPDEST PUSH2 0x4A8 DUP5 PUSH2 0x49C DUP2 DUP7 SUB DUP3 PUSH2 0x5CD JUMP JUMPDEST PUSH0 DUP1 DUP1 MSTORE SWAP3 POP SWAP1 PUSH32 0x290DECD9548B62A8D60345A988386FC84BA6BC95484008F6362F93160EF3E563 JUMPDEST DUP2 DUP5 LT PUSH2 0x685 JUMPI POP POP ADD PUSH2 0x49C DUP3 PUSH2 0x639 JUMP JUMPDEST DUP1 SLOAD DUP5 DUP5 ADD MSTORE PUSH1 0x20 SWAP1 SWAP4 ADD SWAP3 PUSH1 0x1 ADD PUSH2 0x672 JUMP JUMPDEST PUSH1 0xFF NOT AND DUP3 MSTORE POP SWAP1 ISZERO ISZERO PUSH1 0x5 SHL ADD SWAP1 POP PUSH2 0x49C DUP3 PUSH2 0x639 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x617 JUMP JUMPDEST PUSH0 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 JUMP JUMPDEST PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 JUMP JUMPDEST PUSH0 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 JUMP JUMPDEST PUSH0 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x757 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 CALLER DUP4 EQ ISZERO DUP1 PUSH2 0x797 JUMPI JUMPDEST PUSH2 0x789 JUMPI PUSH2 0x20 SWAP3 PUSH2 0x23B6 JUMP JUMPDEST PUSH3 0x82B429 PUSH1 0xE8 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP DUP3 PUSH0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0xFF PUSH2 0x7AF CALLER PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x11B7 JUMP JUMPDEST SLOAD AND ISZERO PUSH2 0x77C JUMP JUMPDEST PUSH1 0xA0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x7CF DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH1 0x44 CALLDATALOAD SWAP2 PUSH1 0x64 CALLDATALOAD SWAP3 PUSH1 0x84 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x7F9 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST SWAP5 DUP3 TIMESTAMP GT PUSH2 0x89B JUMPI PUSH2 0x890 DUP6 PUSH2 0x896 SWAP4 PUSH2 0x20 SWAP9 PUSH2 0x88A DUP9 PUSH0 DUP1 SWAP10 DUP7 DUP3 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE DUP2 DUP10 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 DUP4 KECCAK256 SLOAD AND SWAP13 DUP14 SWAP10 DUP2 PUSH1 0x40 MLOAD SWAP8 PUSH32 0x49ECF333E5B8C95C40FDAFC95C1AD136E8914A8FB55E9DC8BB01EAA83A2DF9AD DUP10 MSTORE PUSH1 0x20 DUP10 ADD SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x40 DUP10 ADD SWAP3 DUP4 MSTORE PUSH1 0x60 DUP10 ADD SWAP5 DUP6 MSTORE PUSH1 0x80 DUP10 ADD SWAP7 DUP8 MSTORE DUP2 PUSH1 0xA0 DUP11 KECCAK256 SWAP10 MSTORE MSTORE MSTORE MSTORE MSTORE PUSH2 0x23FF JUMP JUMPDEST SWAP2 PUSH2 0x2484 JUMP JUMPDEST DUP3 PUSH2 0x2370 JUMP JUMPDEST PUSH2 0x23B6 JUMP JUMPDEST PUSH4 0x5A9165FF PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH0 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH2 0x957 PUSH1 0x4 CALLDATALOAD PUSH2 0x942 DUP2 PUSH2 0x2011 JUMP JUMPDEST SWAP2 SWAP1 DUP3 DUP6 SHR PUSH1 0x2 SIGNEXTEND SWAP3 PUSH1 0x8 SHR PUSH1 0x2 SIGNEXTEND SWAP2 PUSH2 0x2618 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE RETURN JUMPDEST PUSH1 0x60 SWAP1 PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x981 DUP2 PUSH2 0x2A1 JUMP JUMPDEST SWAP1 PUSH1 0x24 CALLDATALOAD PUSH2 0x98E DUP2 PUSH2 0x2A1 JUMP JUMPDEST SWAP1 PUSH1 0x44 CALLDATALOAD SWAP1 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH2 0x9A3 CALLDATASIZE PUSH2 0x969 JUMP JUMPDEST SWAP2 PUSH2 0x9CD PUSH32 0x0 PUSH2 0x272D JUMP JUMPDEST PUSH2 0xAE7 JUMPI DUP3 SWAP2 PUSH2 0xA6C PUSH2 0x9F7 PUSH2 0x9F2 PUSH2 0x9E5 DUP7 PUSH2 0x6D0 JUMP JUMPDEST SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH2 0x295 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP3 SWAP1 PUSH2 0xA0E SWAP1 DUP5 EQ PUSH2 0x27A9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP4 PUSH2 0xA47 SWAP1 PUSH2 0xA28 DUP7 ISZERO ISZERO PUSH2 0x27E2 JUMP JUMPDEST DUP5 CALLER EQ DUP1 ISZERO PUSH2 0xACC JUMPI JUMPDEST DUP1 ISZERO PUSH2 0xAB0 JUMPI JUMPDEST PUSH2 0xA42 SWAP1 PUSH2 0x2822 JUMP JUMPDEST PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH0 NOT ADD SWAP1 SSTORE PUSH2 0xA57 DUP2 PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE PUSH2 0xA67 DUP6 PUSH2 0x6D0 JUMP JUMPDEST PUSH2 0x1E6E JUMP JUMPDEST PUSH2 0xA7D PUSH2 0xA78 DUP5 PUSH2 0x6DE JUMP JUMPDEST PUSH2 0x285F JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A48 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH0 DUP1 LOG4 PUSH2 0xAA1 PUSH2 0xA9A DUP3 PUSH2 0x6EC JUMP JUMPDEST SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH2 0xAA7 JUMPI STOP JUMPDEST PUSH2 0x20 SWAP1 PUSH2 0x286F JUMP JUMPDEST POP PUSH2 0xA42 PUSH2 0xAC3 PUSH2 0x9F2 PUSH2 0x9E5 DUP11 PUSH2 0x6DE JUMP JUMPDEST CALLER EQ SWAP1 POP PUSH2 0xA39 JUMP JUMPDEST POP PUSH2 0xAE2 PUSH2 0xA9A CALLER PUSH2 0xADD DUP5 PUSH2 0x1185 JUMP JUMPDEST PUSH2 0x11B7 JUMP JUMPDEST PUSH2 0xA32 JUMP JUMPDEST PUSH4 0x6A582FF PUSH1 0xE5 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0x100 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0xB0F DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0xC0 CALLDATASIZE PUSH1 0x23 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0xE4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0xB3A SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST PUSH1 0x60 SWAP3 SWAP1 SWAP2 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH2 0x480 SWAP4 PUSH0 DUP1 SWAP5 PUSH1 0x40 MLOAD SWAP7 DUP8 SWAP6 DUP7 SWAP5 DUP6 SWAP4 PUSH4 0x2B67B57 PUSH1 0xE4 SHL DUP6 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x4 DUP6 ADD MSTORE PUSH2 0xBA4 PUSH1 0x24 DUP6 ADD PUSH2 0x1D0B JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD PUSH2 0xBB0 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0xA4 DUP6 ADD MSTORE PUSH1 0xC4 CALLDATALOAD PUSH1 0xC4 DUP6 ADD MSTORE PUSH2 0x100 PUSH1 0xE4 DUP6 ADD MSTORE PUSH2 0x104 DUP5 ADD SWAP2 PUSH2 0x1DD6 JUMP JUMPDEST PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x24 CALLDATALOAD PUSH1 0x4 CALLDATALOAD PUSH2 0xBF4 DUP3 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0xC13 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST PUSH2 0xC3F SWAP4 SWAP2 SWAP4 PUSH32 0x0 PUSH2 0x272D JUMP JUMPDEST PUSH2 0xAE7 JUMPI PUSH2 0xC4D DUP4 CALLER PUSH2 0x295F JUMP JUMPDEST ISZERO PUSH2 0xD30 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0xC66 PUSH2 0x9E5 DUP6 PUSH2 0x6FA JUMP JUMPDEST AND DUP1 PUSH2 0xD0D JUMPI POP PUSH0 DUP4 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0xCDD SWAP1 PUSH2 0xCD9 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP6 PUSH2 0xCD3 SWAP1 PUSH2 0xCA5 DUP9 PUSH2 0xA67 DUP10 PUSH2 0x6FA JUMP JUMPDEST PUSH2 0xCC5 PUSH1 0x40 MLOAD SWAP4 DUP5 SWAP3 PUSH4 0x46ABFB59 PUSH1 0xE1 SHL PUSH1 0x20 DUP6 ADD MSTORE DUP10 PUSH1 0x24 DUP6 ADD PUSH2 0x1E8D JUMP JUMPDEST SUB PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x5CD JUMP JUMPDEST DUP4 PUSH2 0x29E5 JUMP JUMPDEST ISZERO SWAP1 JUMP JUMPDEST PUSH2 0xD08 JUMPI POP PUSH32 0x9709492381F90BDC5938BB4E3B8E35B7E0EAC8AF058619E27191C5A40CE79FA9 PUSH0 DUP1 LOG3 STOP JUMPDEST PUSH2 0x2A0D JUMP JUMPDEST PUSH4 0x12FDEC5F PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 DUP5 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x24 MSTORE PUSH1 0x44 PUSH0 REVERT JUMPDEST PUSH0 REVERT JUMPDEST PUSH4 0x1952D1B PUSH1 0xE3 SHL PUSH0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH2 0xD5D PUSH2 0x1EA4 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x44 CALLDATALOAD SWAP1 DUP2 ISZERO ISZERO DUP3 SUB PUSH2 0x2B2 JUMPI JUMP JUMPDEST PUSH1 0xC0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0xD8C DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH2 0xD98 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH2 0xDA0 PUSH2 0xD65 JUMP JUMPDEST SWAP1 PUSH1 0x64 CALLDATALOAD SWAP3 PUSH1 0x84 CALLDATALOAD PUSH1 0xA4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0xDC7 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST DUP7 SWAP3 SWAP2 SWAP3 TIMESTAMP GT PUSH2 0x89B JUMPI DUP4 PUSH2 0xE46 SWAP4 PUSH2 0x890 SWAP3 PUSH2 0x88A DUP9 PUSH0 PUSH2 0x20 SWAP13 DUP2 DUP10 DUP2 DUP16 DUP2 PUSH1 0x40 MLOAD SWAP8 PUSH32 0x6673CB397EE2A50B6B8401653D3638B4AC8B3DB9C28AA6870FFCEB7574EC2F76 DUP10 MSTORE PUSH1 0x20 DUP10 ADD SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x1 PUSH1 0x40 DUP11 ADD SWAP4 AND DUP4 MSTORE PUSH1 0x60 DUP10 ADD SWAP5 DUP6 MSTORE PUSH1 0x80 DUP10 ADD SWAP7 DUP8 MSTORE DUP2 PUSH1 0xA0 DUP11 KECCAK256 SWAP10 MSTORE MSTORE MSTORE MSTORE MSTORE PUSH2 0x23FF JUMP JUMPDEST PUSH2 0x2BBD JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH2 0xE59 CALLDATASIZE PUSH2 0x969 JUMP JUMPDEST PUSH2 0xE82 PUSH32 0x0 PUSH2 0x272D JUMP JUMPDEST PUSH2 0xAE7 JUMPI PUSH2 0xE95 PUSH2 0x9F2 PUSH2 0x9E5 DUP4 PUSH2 0x6D0 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP3 SWAP1 PUSH2 0xEAC SWAP1 DUP5 EQ PUSH2 0x27A9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP3 DUP3 SWAP1 DUP5 SWAP1 PUSH2 0xEC6 DUP3 ISZERO ISZERO PUSH2 0x27E2 JUMP JUMPDEST DUP1 CALLER EQ DUP1 ISZERO PUSH2 0x1020 JUMPI JUMPDEST DUP1 ISZERO PUSH2 0x1004 JUMPI JUMPDEST PUSH2 0xEE0 SWAP1 PUSH2 0x2822 JUMP JUMPDEST PUSH2 0xEE9 DUP8 PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH0 NOT ADD SWAP1 SSTORE PUSH2 0xEF9 DUP5 PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE PUSH2 0xF0D DUP5 PUSH2 0xA67 DUP6 PUSH2 0x6D0 JUMP JUMPDEST PUSH2 0xF19 PUSH2 0xA78 DUP5 PUSH2 0x6DE JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A48 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH0 DUP1 LOG4 PUSH2 0xF36 PUSH2 0xA9A DUP4 PUSH2 0x6EC JUMP JUMPDEST PUSH2 0xFF6 JUMPI JUMPDEST EXTCODESIZE ISZERO SWAP2 DUP3 ISZERO PUSH2 0xF4E JUMPI JUMPDEST PUSH2 0x20 DUP4 PUSH2 0x1F76 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xA85BD01 PUSH1 0xE1 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 SWAP1 SWAP5 AND PUSH1 0x24 DUP6 ADD MSTORE PUSH1 0x44 DUP5 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x80 PUSH1 0x64 DUP5 ADD MSTORE PUSH0 PUSH1 0x84 DUP5 ADD DUP2 SWAP1 MSTORE PUSH1 0x20 SWAP3 POP DUP4 SWAP2 PUSH1 0xA4 SWAP2 DUP4 SWAP2 GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x20 SWAP2 PUSH0 SWAP2 PUSH2 0xFC2 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0xA85BD01 PUSH1 0xE1 SHL EQ PUSH0 DUP1 PUSH2 0xF45 JUMP JUMPDEST PUSH2 0xFE4 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xFEA JUMPI JUMPDEST PUSH2 0xFDC DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x1F61 JUMP JUMPDEST PUSH0 PUSH2 0xFA7 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0xFD2 JUMP JUMPDEST PUSH2 0x1DF6 JUMP JUMPDEST PUSH2 0xFFF DUP3 PUSH2 0x286F JUMP JUMPDEST PUSH2 0xF3B JUMP JUMPDEST POP PUSH2 0xEE0 PUSH2 0x1017 PUSH2 0x9F2 PUSH2 0x9E5 DUP7 PUSH2 0x6DE JUMP JUMPDEST CALLER EQ SWAP1 POP PUSH2 0xED7 JUMP JUMPDEST POP PUSH2 0x1031 PUSH2 0xA9A CALLER PUSH2 0xADD DUP11 PUSH2 0x1185 JUMP JUMPDEST PUSH2 0xED0 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0x0 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x2B2 JUMPI DUP3 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x2B2 JUMPI PUSH1 0x20 DUP1 DUP6 ADD SWAP5 DUP5 PUSH1 0x5 SHL ADD ADD GT PUSH2 0x2B2 JUMPI JUMP JUMPDEST PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x110F SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x112E SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x10B4 JUMP JUMPDEST SWAP2 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1176 JUMPI PUSH2 0x1164 SWAP4 CALLER PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH2 0x2C36 JUMP JUMPDEST PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE STOP JUMPDEST PUSH4 0x37AFFDBF PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x11E9 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH2 0x1277 PUSH1 0x4 CALLDATALOAD PUSH2 0x1FEE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x12A6 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH2 0x12D5 JUMPI PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH2 0x4A8 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 SWAP2 SWAP1 PUSH1 0x20 DUP4 ADD SWAP3 MSTORE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xC PUSH1 0x24 DUP3 ADD MSTORE PUSH12 0x5A45524F5F41444452455353 PUSH1 0xA0 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH1 0x8 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP4 MSTORE PUSH1 0x20 DUP1 DUP4 ADD MLOAD DUP3 AND SWAP1 DUP5 ADD MSTORE PUSH1 0x40 DUP1 DUP4 ADD MLOAD PUSH3 0xFFFFFF AND SWAP1 DUP5 ADD MSTORE PUSH1 0x60 DUP1 DUP4 ADD MLOAD PUSH1 0x2 SIGNEXTEND SWAP1 DUP5 ADD MSTORE PUSH1 0x80 SWAP2 DUP3 ADD MLOAD AND SWAP2 ADD MSTORE JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0xC0 PUSH2 0x1387 PUSH1 0x4 CALLDATALOAD PUSH2 0x2011 JUMP JUMPDEST PUSH2 0x1394 PUSH1 0x40 MLOAD DUP1 SWAP4 PUSH2 0x1326 JUMP JUMPDEST PUSH1 0xA0 DUP3 ADD MSTORE RETURN JUMPDEST PUSH7 0xFFFFFFFFFFFFFF NOT AND PUSH0 MSTORE PUSH1 0xA PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH7 0xFFFFFFFFFFFFFF NOT DUP2 AND DUP1 SWAP2 SUB PUSH2 0x2B2 JUMPI PUSH0 SWAP1 DUP2 MSTORE PUSH1 0xA PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 DUP3 ADD SLOAD PUSH1 0x2 SWAP3 DUP4 ADD SLOAD DUP6 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND DUP2 MSTORE DUP4 DUP4 AND SWAP6 DUP2 ADD SWAP6 SWAP1 SWAP6 MSTORE PUSH1 0xA0 DUP3 DUP2 SHR PUSH3 0xFFFFFF AND SWAP7 DUP7 ADD SWAP7 SWAP1 SWAP7 MSTORE PUSH1 0xB8 SWAP2 SWAP1 SWAP2 SHR SWAP1 SWAP3 SIGNEXTEND PUSH1 0x60 DUP5 ADD MSTORE AND PUSH1 0x80 DUP3 ADD MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH0 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x1491 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST SWAP1 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER SUB PUSH2 0x157A JUMPI PUSH1 0x40 DUP2 CALLDATALOAD XOR SWAP1 PUSH4 0xFFFFFFFF PUSH1 0x40 DUP3 ADD CALLDATALOAD AND PUSH4 0xFFFFFFE0 PUSH1 0x1F DUP3 ADD AND SWAP3 PUSH1 0x60 DUP5 ADD PUSH1 0x20 DUP5 ADD CALLDATALOAD XOR OR SWAP3 DUP3 ADD SWAP3 PUSH1 0x60 DUP5 ADD CALLDATALOAD SWAP5 DUP4 PUSH5 0x1FFFFFFFE0 DUP8 PUSH1 0x5 SHL AND DUP1 PUSH0 SWAP1 JUMPDEST DUP9 DUP2 DUP4 LT PUSH2 0x154B JUMPI SWAP1 POP PUSH1 0x80 SWAP3 SWAP2 POP ADD ADD SWAP2 ADD LT OR PUSH2 0x153E JUMPI PUSH1 0x60 PUSH1 0x80 PUSH4 0xFFFFFFFF PUSH2 0x1533 SWAP7 AND SWAP5 ADD SWAP3 ADD PUSH2 0x2C36 JUMP JUMPDEST PUSH2 0x4A8 PUSH2 0x49C PUSH2 0x1E2B JUMP JUMPDEST PUSH4 0x3B99B53D PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST DUP3 SWAP5 POP SWAP3 PUSH4 0xFFFFFFE0 PUSH1 0x1F PUSH1 0x80 DUP1 PUSH1 0x20 SWAP7 DUP8 SWAP7 SWAP9 ADD ADD CALLDATALOAD SWAP10 DUP5 DUP12 XOR OR SWAP10 DUP14 ADD ADD CALLDATALOAD ADD AND ADD ADD SWAP3 ADD DUP7 SWAP3 SWAP2 PUSH2 0x1503 JUMP JUMPDEST PUSH4 0x570C1085 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH0 PUSH1 0x1 SLOAD DUP1 PUSH1 0x1 SHR SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x1634 JUMPI JUMPDEST PUSH1 0x20 DUP4 LT DUP3 EQ PUSH2 0x6B2 JUMPI DUP3 DUP6 MSTORE PUSH1 0x20 DUP6 ADD SWAP2 SWAP1 DUP2 ISZERO PUSH2 0x699 JUMPI POP PUSH1 0x1 EQ PUSH2 0x15E2 JUMPI PUSH2 0x4A8 DUP5 PUSH2 0x49C DUP2 DUP7 SUB DUP3 PUSH2 0x5CD JUMP JUMPDEST PUSH1 0x1 PUSH0 SWAP1 DUP2 MSTORE SWAP3 POP SWAP1 PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 JUMPDEST DUP2 DUP5 LT PUSH2 0x1620 JUMPI POP POP ADD PUSH2 0x49C DUP3 PUSH2 0x639 JUMP JUMPDEST DUP1 SLOAD DUP5 DUP5 ADD MSTORE PUSH1 0x20 SWAP1 SWAP4 ADD SWAP3 PUSH1 0x1 ADD PUSH2 0x160D JUMP JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x15B1 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x165B DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x2B2 JUMPI PUSH2 0x20 SWAP2 CALLER PUSH2 0x2BBD JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH1 0x20 DUP3 MSTORE DUP3 MLOAD DUP1 SWAP2 MSTORE PUSH1 0x40 DUP3 ADD SWAP2 PUSH1 0x20 PUSH1 0x40 DUP4 PUSH1 0x5 SHL DUP4 ADD ADD SWAP5 ADD SWAP3 PUSH0 SWAP2 JUMPDEST DUP4 DUP4 LT PUSH2 0x16A3 JUMPI POP POP POP POP POP SWAP1 JUMP JUMPDEST SWAP1 SWAP2 SWAP3 SWAP4 SWAP5 PUSH1 0x20 DUP1 PUSH2 0x16C1 PUSH1 0x1 SWAP4 PUSH1 0x3F NOT DUP7 DUP3 SUB ADD DUP8 MSTORE DUP10 MLOAD PUSH2 0x2F0 JUMP JUMPDEST SWAP8 ADD SWAP4 ADD SWAP4 ADD SWAP2 SWAP4 SWAP3 SWAP1 PUSH2 0x1694 JUMP JUMPDEST PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x16FB SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x10B4 JUMP JUMPDEST SWAP1 PUSH2 0x1705 DUP3 PUSH2 0x20BE JUMP JUMPDEST SWAP2 PUSH2 0x1713 PUSH1 0x40 MLOAD SWAP4 DUP5 PUSH2 0x5CD JUMP JUMPDEST DUP1 DUP4 MSTORE PUSH1 0x1F NOT PUSH2 0x1722 DUP3 PUSH2 0x20BE JUMP JUMPDEST ADD PUSH0 JUMPDEST DUP2 DUP2 LT PUSH2 0x179D JUMPI POP POP PUSH0 JUMPDEST DUP2 DUP2 LT PUSH2 0x1745 JUMPI PUSH1 0x40 MLOAD DUP1 PUSH2 0x4A8 DUP7 DUP3 PUSH2 0x1671 JUMP JUMPDEST PUSH0 DUP1 PUSH2 0x1752 DUP4 DUP6 DUP8 PUSH2 0x20E9 JUMP JUMPDEST SWAP1 PUSH2 0x1762 PUSH1 0x40 MLOAD DUP1 SWAP4 DUP2 SWAP4 PUSH2 0x212F JUMP JUMPDEST SUB SWAP1 ADDRESS GAS DELEGATECALL PUSH2 0x176F PUSH2 0x1E3F JUMP JUMPDEST SWAP1 ISZERO PUSH2 0x1795 JUMPI SWAP1 PUSH1 0x1 SWAP2 PUSH2 0x1783 DUP3 DUP8 PUSH2 0x213C JUMP JUMPDEST MSTORE PUSH2 0x178E DUP2 DUP7 PUSH2 0x213C JUMP JUMPDEST POP ADD PUSH2 0x1730 JUMP JUMPDEST PUSH1 0x20 DUP2 MLOAD SWAP2 ADD REVERT JUMPDEST DUP1 PUSH1 0x60 PUSH1 0x20 DUP1 SWAP4 DUP9 ADD ADD MSTORE ADD PUSH2 0x1725 JUMP JUMPDEST PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x17E6 PUSH32 0x0 PUSH2 0x272D JUMP JUMPDEST PUSH2 0xAE7 JUMPI PUSH2 0x17F4 DUP2 CALLER PUSH2 0x295F JUMP JUMPDEST ISZERO PUSH2 0xD30 JUMPI PUSH2 0x20 SWAP1 PUSH2 0x286F JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x80 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x181F DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH2 0x182C DUP3 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD PUSH1 0x64 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x184E SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST SWAP4 SWAP1 SWAP2 PUSH2 0x187A PUSH32 0x0 PUSH2 0x272D JUMP JUMPDEST PUSH2 0xAE7 JUMPI PUSH2 0x188D PUSH2 0x9F2 PUSH2 0x9E5 DUP4 PUSH2 0x6D0 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP3 SWAP1 PUSH2 0x18A4 SWAP1 DUP5 EQ PUSH2 0x27A9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP3 DUP3 SWAP1 DUP5 SWAP1 PUSH2 0x18BE DUP3 ISZERO ISZERO PUSH2 0x27E2 JUMP JUMPDEST DUP1 CALLER EQ DUP1 ISZERO PUSH2 0x19E8 JUMPI JUMPDEST DUP1 ISZERO PUSH2 0x19CC JUMPI JUMPDEST PUSH2 0x18D8 SWAP1 PUSH2 0x2822 JUMP JUMPDEST PUSH2 0x18E1 DUP9 PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH0 NOT ADD SWAP1 SSTORE PUSH2 0x18F1 DUP5 PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE PUSH2 0x1905 DUP5 PUSH2 0xA67 DUP6 PUSH2 0x6D0 JUMP JUMPDEST PUSH2 0x1911 PUSH2 0xA78 DUP5 PUSH2 0x6DE JUMP JUMPDEST PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A48 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH0 DUP1 LOG4 PUSH2 0x192E PUSH2 0xA9A DUP4 PUSH2 0x6EC JUMP JUMPDEST PUSH2 0x19BE JUMPI JUMPDEST EXTCODESIZE ISZERO SWAP4 DUP5 ISZERO PUSH2 0x1946 JUMPI JUMPDEST PUSH2 0x20 DUP6 PUSH2 0x1F76 JUMP JUMPDEST PUSH1 0x20 SWAP5 POP PUSH0 SWAP1 PUSH2 0x196D PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP7 DUP8 SWAP6 DUP7 SWAP5 PUSH4 0xA85BD01 PUSH1 0xE1 SHL DUP7 MSTORE CALLER PUSH1 0x4 DUP8 ADD PUSH2 0x2150 JUMP JUMPDEST SUB SWAP3 GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x20 SWAP2 PUSH0 SWAP2 PUSH2 0x199F JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0xA85BD01 PUSH1 0xE1 SHL EQ PUSH0 DUP1 DUP1 DUP1 PUSH2 0x193D JUMP JUMPDEST PUSH2 0x19B8 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xFEA JUMPI PUSH2 0xFDC DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST PUSH0 PUSH2 0x1982 JUMP JUMPDEST PUSH2 0x19C7 DUP3 PUSH2 0x286F JUMP JUMPDEST PUSH2 0x1933 JUMP JUMPDEST POP PUSH2 0x18D8 PUSH2 0x19DF PUSH2 0x9F2 PUSH2 0x9E5 DUP7 PUSH2 0x6DE JUMP JUMPDEST CALLER EQ SWAP1 POP PUSH2 0x18CF JUMP JUMPDEST POP PUSH2 0x19F9 PUSH2 0xA9A CALLER PUSH2 0xADD DUP12 PUSH2 0x1185 JUMP JUMPDEST PUSH2 0x18C8 JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x40 MLOAD PUSH4 0xE9DC6375 PUSH1 0xE0 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH0 DUP2 PUSH1 0x44 DUP2 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP1 PUSH2 0x1A7B JUMPI JUMPDEST PUSH2 0x4A8 SWAP1 PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 PUSH2 0x314 JUMP JUMPDEST POP RETURNDATASIZE DUP1 PUSH0 DUP4 RETURNDATACOPY PUSH2 0x1A8B DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST DUP2 ADD SWAP1 PUSH1 0x20 DUP2 DUP4 SUB SLT PUSH2 0x2B2 JUMPI DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x2B2 JUMPI ADD DUP2 PUSH1 0x1F DUP3 ADD SLT ISZERO PUSH2 0x2B2 JUMPI PUSH2 0x4A8 SWAP2 DUP2 PUSH1 0x20 PUSH2 0x1AC8 SWAP4 MLOAD SWAP2 ADD PUSH2 0x2181 JUMP JUMPDEST PUSH2 0x1A6B JUMP JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2B2 JUMPI PUSH2 0x1B6E SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x2C3 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1176 JUMPI CALLER PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE DUP1 TIMESTAMP GT PUSH2 0x1C5A JUMPI PUSH1 0x40 MLOAD PUSH4 0x48C89491 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH0 DUP2 DUP1 PUSH2 0x1BC9 PUSH1 0x24 DUP3 ADD DUP8 DUP10 PUSH2 0x1DD6 JUMP JUMPDEST SUB DUP2 DUP4 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x1C0B JUMPI JUMPDEST PUSH2 0x20 PUSH2 0x2C24 JUMP JUMPDEST RETURNDATASIZE DUP1 PUSH0 DUP4 RETURNDATACOPY PUSH2 0x1C1A DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST DUP2 ADD SWAP1 PUSH1 0x20 DUP2 DUP4 SUB SLT PUSH2 0x2B2 JUMPI DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x2B2 JUMPI ADD SWAP1 DUP1 PUSH1 0x1F DUP4 ADD SLT ISZERO PUSH2 0x2B2 JUMPI DUP2 MLOAD PUSH2 0x1C53 SWAP3 PUSH1 0x20 ADD PUSH2 0x2181 JUMP JUMPDEST POP DUP1 PUSH2 0x1C03 JUMP JUMPDEST PUSH4 0xBFB22ADF PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x2B2 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH1 0xFF PUSH2 0x1CB7 PUSH1 0x4 CALLDATALOAD PUSH2 0x1C90 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH2 0x1C9D DUP3 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x5 DUP6 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0x11B7 JUMP JUMPDEST SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLDATASIZE PUSH1 0x3 NOT ADD PUSH1 0xC0 DUP2 SLT PUSH2 0x2B2 JUMPI PUSH1 0xA0 SGT PUSH2 0x2B2 JUMPI PUSH1 0x20 PUSH2 0x1CED PUSH1 0xA4 CALLDATALOAD PUSH2 0x1CE8 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH2 0x21E4 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE RETURN JUMPDEST CALLDATALOAD SWAP1 PUSH6 0xFFFFFFFFFFFF DUP3 AND DUP3 SUB PUSH2 0x2B2 JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH2 0x1D17 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x44 CALLDATALOAD PUSH2 0x1D2E DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x64 CALLDATALOAD PUSH6 0xFFFFFFFFFFFF DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH2 0x2B2 JUMPI PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x84 CALLDATALOAD PUSH6 0xFFFFFFFFFFFF DUP2 AND DUP2 SUB PUSH2 0x2B2 JUMPI PUSH6 0xFFFFFFFFFFFF PUSH1 0x60 SWAP2 AND SWAP2 ADD MSTORE JUMP JUMPDEST PUSH6 0xFFFFFFFFFFFF PUSH2 0x1DD0 PUSH1 0x60 DUP1 SWAP4 DUP1 CALLDATALOAD PUSH2 0x1D90 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP7 MSTORE PUSH1 0x20 DUP2 ADD CALLDATALOAD PUSH2 0x1DA9 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x20 DUP8 ADD MSTORE DUP4 PUSH2 0x1DC4 PUSH1 0x40 DUP4 ADD PUSH2 0x1CF8 JUMP JUMPDEST AND PUSH1 0x40 DUP8 ADD MSTORE ADD PUSH2 0x1CF8 JUMP JUMPDEST AND SWAP2 ADD MSTORE JUMP JUMPDEST SWAP1 DUP1 PUSH1 0x20 SWAP4 SWAP3 DUP2 DUP5 MSTORE DUP5 DUP5 ADD CALLDATACOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD SWAP1 PUSH2 0x2C1 PUSH1 0x80 DUP4 PUSH2 0x5CD JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x5C8 JUMPI PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 PUSH2 0x1E3A PUSH1 0x20 DUP4 PUSH2 0x5CD JUMP JUMPDEST PUSH0 DUP3 MSTORE JUMP JUMPDEST RETURNDATASIZE ISZERO PUSH2 0x1E69 JUMPI RETURNDATASIZE SWAP1 PUSH2 0x1E50 DUP3 PUSH2 0x1E10 JUMP JUMPDEST SWAP2 PUSH2 0x1E5E PUSH1 0x40 MLOAD SWAP4 DUP5 PUSH2 0x5CD JUMP JUMPDEST DUP3 MSTORE RETURNDATASIZE PUSH0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY JUMP JUMPDEST PUSH1 0x60 SWAP1 JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 SWAP1 PUSH2 0x325 SWAP5 SWAP3 DUP2 MSTORE DUP2 PUSH1 0x20 DUP3 ADD MSTORE ADD SWAP2 PUSH2 0x1DD6 JUMP JUMPDEST CHAINID PUSH32 0x0 SUB PUSH2 0x1EEF JUMPI PUSH32 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP1 PUSH32 0x8CAD95687BA82C2CE50E74F7B754645E5117C3A5BEC8151C0726D5857980A866 DUP3 MSTORE PUSH32 0x0 PUSH1 0x40 DUP3 ADD MSTORE CHAINID PUSH1 0x60 DUP3 ADD MSTORE ADDRESS PUSH1 0x80 DUP3 ADD MSTORE PUSH1 0x80 DUP2 MSTORE PUSH2 0x1F5B PUSH1 0xA0 DUP3 PUSH2 0x5CD JUMP JUMPDEST MLOAD SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI MLOAD PUSH2 0x325 DUP2 PUSH2 0x4F7 JUMP JUMPDEST ISZERO PUSH2 0x1F7D JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x10 PUSH1 0x24 DUP3 ADD MSTORE PUSH16 0x155394D0519157D49150D25412515395 PUSH1 0x82 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x1FBC JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xA PUSH1 0x24 DUP3 ADD MSTORE PUSH10 0x1393D517D35253951151 PUSH1 0xB2 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH2 0x2C1 DUP3 ISZERO ISZERO PUSH2 0x1FB5 JUMP JUMPDEST PUSH0 PUSH1 0x80 PUSH1 0x40 MLOAD PUSH2 0x2020 DUP2 PUSH2 0x5AD JUMP JUMPDEST DUP3 DUP2 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MSTORE DUP3 PUSH1 0x40 DUP3 ADD MSTORE DUP3 PUSH1 0x60 DUP3 ADD MSTORE ADD MSTORE PUSH0 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SLOAD DUP1 PUSH7 0xFFFFFFFFFFFFFF NOT AND PUSH0 MSTORE PUSH1 0xA PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x20BB PUSH2 0x20AB PUSH1 0x2 PUSH1 0x40 MLOAD SWAP4 PUSH2 0x206E DUP6 PUSH2 0x5AD JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP7 MSTORE PUSH1 0x1 DUP3 ADD SLOAD SWAP1 DUP2 AND PUSH1 0x20 DUP8 ADD MSTORE PUSH3 0xFFFFFF PUSH1 0xA0 DUP3 SWAP1 SHR AND PUSH1 0x40 DUP8 ADD MSTORE PUSH1 0xB8 SHR PUSH1 0x2 SIGNEXTEND PUSH1 0x60 DUP7 ADD MSTORE ADD SLOAD PUSH2 0x295 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x80 DUP4 ADD MSTORE JUMP JUMPDEST SWAP2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x5C8 JUMPI PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP2 SWAP1 DUP2 LT ISZERO PUSH2 0x212A JUMPI PUSH1 0x5 SHL DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0x1E NOT DUP2 CALLDATASIZE SUB ADD DUP3 SLT ISZERO PUSH2 0x2B2 JUMPI ADD DUP1 CALLDATALOAD SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x2B2 JUMPI PUSH1 0x20 ADD DUP3 CALLDATASIZE SUB DUP2 SGT PUSH2 0x2B2 JUMPI SWAP2 SWAP1 JUMP JUMPDEST PUSH2 0x20D5 JUMP JUMPDEST SWAP1 DUP1 SWAP3 SWAP2 DUP3 CALLDATACOPY ADD PUSH0 DUP2 MSTORE SWAP1 JUMP JUMPDEST DUP1 MLOAD DUP3 LT ISZERO PUSH2 0x212A JUMPI PUSH1 0x20 SWAP2 PUSH1 0x5 SHL ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND DUP2 MSTORE SWAP2 AND PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x80 PUSH1 0x60 DUP3 ADD DUP2 SWAP1 MSTORE PUSH2 0x325 SWAP4 SWAP2 ADD SWAP2 PUSH2 0x1DD6 JUMP JUMPDEST SWAP3 SWAP2 SWAP3 PUSH2 0x218D DUP3 PUSH2 0x1E10 JUMP JUMPDEST SWAP2 PUSH2 0x219B PUSH1 0x40 MLOAD SWAP4 DUP5 PUSH2 0x5CD JUMP JUMPDEST DUP3 SWAP5 DUP2 DUP5 MSTORE DUP2 DUP4 ADD GT PUSH2 0x2B2 JUMPI DUP3 DUP2 PUSH1 0x20 SWAP4 DUP5 PUSH0 SWAP7 ADD MCOPY ADD ADD MSTORE JUMP JUMPDEST DUP1 PUSH1 0x2 SIGNEXTEND SUB PUSH2 0x2B2 JUMPI JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI MLOAD PUSH2 0x325 DUP2 PUSH2 0x21B7 JUMP JUMPDEST PUSH3 0xFFFFFF DUP2 AND SUB PUSH2 0x2B2 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x313B65DF PUSH1 0xE1 SHL DUP2 MSTORE SWAP1 PUSH1 0x4 CALLDATALOAD PUSH2 0x21FE DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 CALLDATALOAD PUSH2 0x2218 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x24 DUP4 ADD MSTORE PUSH3 0xFFFFFF PUSH1 0x44 CALLDATALOAD PUSH2 0x2236 DUP2 PUSH2 0x21D7 JUMP JUMPDEST AND PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0x64 CALLDATALOAD PUSH2 0x2248 DUP2 PUSH2 0x21B7 JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND PUSH1 0x64 DUP4 ADD MSTORE PUSH2 0x226F PUSH1 0x84 CALLDATALOAD PUSH2 0x225F DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x84 DUP5 ADD MSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0xA4 DUP4 ADD MSTORE PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0xC4 SWAP1 DUP3 SWAP1 PUSH0 SWAP1 PUSH32 0x0 AND GAS CALL PUSH0 SWAP2 DUP2 PUSH2 0x22C4 JUMPI JUMPDEST POP PUSH2 0x325 JUMPI POP PUSH3 0x7FFFFF SWAP1 JUMP JUMPDEST PUSH2 0x22E7 SWAP2 SWAP3 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x22EE JUMPI JUMPDEST PUSH2 0x22DF DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x21C2 JUMP JUMPDEST SWAP1 PUSH0 PUSH2 0x22B7 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x22D5 JUMP JUMPDEST CALLER PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO DUP1 PUSH2 0x233D JUMPI JUMPDEST PUSH2 0x232E JUMPI JUMP JUMPDEST PUSH4 0x1C5DEABB PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP CALLER PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO PUSH2 0x2328 JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0xFF DUP3 AND SHL SWAP2 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH1 0x8 SHR PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP2 DUP2 SLOAD XOR DUP1 SWAP2 SSTORE AND ISZERO PUSH2 0x23A8 JUMPI JUMP JUMPDEST PUSH3 0x3F6137 PUSH1 0xE7 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 DUP3 PUSH0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH2 0x23CC DUP2 PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x1E6E JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP2 AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 PUSH0 DUP1 LOG4 JUMP JUMPDEST SWAP1 PUSH2 0x2408 PUSH2 0x1EA4 JUMP JUMPDEST SWAP2 PUSH1 0x40 MLOAD SWAP3 PUSH2 0x1901 PUSH1 0xF0 SHL DUP5 MSTORE PUSH1 0x2 DUP5 ADD MSTORE PUSH1 0x22 DUP4 ADD MSTORE PUSH0 PUSH1 0x40 PUSH1 0x42 DUP5 KECCAK256 SWAP4 DUP3 DUP2 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MSTORE ADD MSTORE JUMP JUMPDEST SWAP2 SWAP1 DUP3 PUSH1 0x40 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 DUP3 CALLDATALOAD SWAP3 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0xFF PUSH1 0x1B SWAP2 AND ADD SWAP1 PUSH1 0xFF DUP3 GT PUSH2 0x2470 JUMPI JUMP JUMPDEST PUSH2 0x244A JUMP JUMPDEST SWAP1 PUSH1 0x40 LT ISZERO PUSH2 0x212A JUMPI PUSH1 0x40 ADD SWAP1 JUMP JUMPDEST SWAP1 DUP4 EXTCODESIZE PUSH2 0x258F JUMPI PUSH1 0x41 DUP2 SUB PUSH2 0x2543 JUMPI SWAP1 PUSH1 0x20 SWAP3 PUSH2 0x24F5 DUP4 PUSH2 0x24CD PUSH2 0x24C7 PUSH2 0x24B9 PUSH2 0x24B1 PUSH0 SWAP9 DUP9 ADD DUP9 PUSH2 0x2434 JUMP JUMPDEST SWAP5 SWAP1 SWAP8 PUSH2 0x2475 JUMP JUMPDEST CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 JUMP JUMPDEST PUSH1 0xF8 SHR SWAP1 JUMP JUMPDEST SWAP4 JUMPDEST PUSH1 0x40 MLOAD SWAP5 DUP6 SWAP5 DUP6 SWAP1 SWAP5 SWAP4 SWAP3 PUSH1 0xFF PUSH1 0x60 SWAP4 PUSH1 0x80 DUP5 ADD SWAP8 DUP5 MSTORE AND PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 DUP3 ADD MSTORE ADD MSTORE JUMP JUMPDEST DUP4 DUP1 MSTORE SUB SWAP1 PUSH1 0x1 GAS STATICCALL ISZERO PUSH2 0xFF1 JUMPI PUSH0 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 ISZERO PUSH2 0x2534 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SUB PUSH2 0x2525 JUMPI JUMP JUMPDEST PUSH4 0x20578759 PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH4 0x8BAA579F PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 PUSH1 0x40 DUP3 SUB PUSH2 0x2580 JUMPI PUSH1 0x20 SWAP3 PUSH2 0x2560 DUP3 PUSH0 SWAP5 PUSH2 0x24F5 SWAP5 ADD SWAP1 PUSH2 0x2434 JUMP JUMPDEST SWAP1 SWAP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xFF SHL SUB DUP2 AND SWAP1 PUSH2 0x257A SWAP1 PUSH1 0xFF SHR PUSH2 0x245E JUMP JUMPDEST SWAP4 PUSH2 0x24CF JUMP JUMPDEST PUSH4 0x4BE6321B PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 SWAP3 PUSH2 0x25B5 SWAP4 PUSH1 0x20 SWAP4 PUSH1 0x40 MLOAD SWAP6 DUP7 SWAP5 DUP6 SWAP4 DUP5 SWAP4 PUSH4 0xB135D3F PUSH1 0xE1 SHL DUP6 MSTORE PUSH1 0x4 DUP6 ADD PUSH2 0x1E8D JUMP JUMPDEST SUB SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP2 PUSH2 0x25F9 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0x74ECA2C1 PUSH1 0xE1 SHL ADD PUSH2 0x25EA JUMPI JUMP JUMPDEST PUSH4 0x2C19A72F PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0x2612 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xFEA JUMPI PUSH2 0xFDC DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST PUSH0 PUSH2 0x25D0 JUMP JUMPDEST SWAP3 SWAP1 PUSH2 0x2653 SWAP3 PUSH1 0xA0 SWAP3 PUSH1 0x40 MLOAD SWAP6 PUSH1 0x26 DUP8 ADD MSTORE PUSH1 0x6 DUP7 ADD MSTORE PUSH1 0x3 DUP6 ADD MSTORE ADDRESS DUP5 MSTORE PUSH0 PUSH1 0x3A PUSH1 0xC DUP7 ADD KECCAK256 SWAP5 DUP2 PUSH1 0x40 DUP3 ADD MSTORE DUP2 PUSH1 0x20 DUP3 ADD MSTORE MSTORE KECCAK256 PUSH2 0x3C3B JUMP JUMPDEST PUSH1 0x6 DUP2 ADD DUP1 SWAP2 GT PUSH2 0x2470 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 DUP2 ADD SWAP5 DUP6 MSTORE SWAP2 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH2 0x26A6 SWAP3 SWAP1 SWAP2 PUSH2 0x2684 DUP2 PUSH1 0x60 DUP2 ADD PUSH2 0xCC5 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD DUP1 SWAP4 DUP2 SWAP3 PUSH4 0x1E2EAEAF PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD SWAP2 SWAP1 PUSH1 0x20 DUP4 ADD SWAP3 MSTORE JUMP JUMPDEST SUB DUP2 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP2 PUSH2 0x26EF JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH2 0x2711 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x2717 JUMPI JUMPDEST PUSH2 0x2709 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x271E JUMP JUMPDEST PUSH0 PUSH2 0x26E2 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x26FF JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI MLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x789ADD55 PUSH1 0xE1 SHL DUP2 MSTORE PUSH32 0xC090FC4683624CFC3884E9D8DE5ECA132F2D0EC062AFF75D43C0465D5CEEAB23 PUSH1 0x4 DUP3 ADD MSTORE SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP2 PUSH2 0x278A JUMPI JUMPDEST POP ISZERO ISZERO SWAP1 JUMP JUMPDEST PUSH2 0x27A3 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x2717 JUMPI PUSH2 0x2709 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST PUSH0 PUSH2 0x2784 JUMP JUMPDEST ISZERO PUSH2 0x27B0 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xA PUSH1 0x24 DUP3 ADD MSTORE PUSH10 0x57524F4E475F46524F4D PUSH1 0xB0 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x27E9 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x11 PUSH1 0x24 DUP3 ADD MSTORE PUSH17 0x1253959053125117D49150D25412515395 PUSH1 0x7A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x2829 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x1393D517D055551213D492569151 PUSH1 0x92 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x2883 PUSH2 0x9E5 DUP4 PUSH2 0x6FA JUMP JUMPDEST AND SWAP1 DUP2 ISZERO PUSH2 0x2950 JUMPI PUSH0 DUP2 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE PUSH2 0x28AC PUSH2 0xA78 DUP3 PUSH2 0x6FA JUMP JUMPDEST DUP2 EXTCODESIZE PUSH2 0x28D9 JUMPI JUMPDEST PUSH32 0xA0EBB1DE82DB929A9153472F37D3A66DBEDE4436258311AD0F52A35A2C91D150 PUSH0 DUP1 LOG3 JUMP JUMPDEST GAS PUSH32 0x0 DUP1 SWAP2 LT PUSH2 0x294B JUMPI DUP3 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2BD17745 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE SWAP1 PUSH0 SWAP1 DUP3 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 DUP5 SWAP1 DUP9 SWAP1 CALL PUSH2 0x2937 JUMPI JUMPDEST POP PUSH2 0x28B3 JUMP JUMPDEST DUP1 PUSH2 0x4C3 PUSH0 PUSH2 0x2945 SWAP4 PUSH2 0x5CD JUMP JUMPDEST PUSH0 PUSH2 0x2931 JUMP JUMPDEST PUSH2 0x2C86 JUMP JUMPDEST PUSH4 0x46FCD85 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x2970 DUP4 PUSH2 0x1FEE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP2 AND DUP2 EQ SWAP3 SWAP1 DUP4 ISZERO PUSH2 0x29C4 JUMPI JUMPDEST POP DUP3 ISZERO PUSH2 0x2993 JUMPI POP POP SWAP1 JUMP JUMPDEST PUSH1 0xFF SWAP3 POP PUSH2 0x29BF SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 PUSH2 0x29AE SWAP1 PUSH2 0x1FEE JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x11B7 JUMP JUMPDEST SLOAD AND SWAP1 JUMP JUMPDEST PUSH0 DUP3 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 SWAP2 EQ SWAP4 POP PUSH2 0x2987 JUMP JUMPDEST DUP1 EXTCODESIZE ISZERO PUSH2 0x29FE JUMPI DUP2 PUSH0 SWAP3 SWAP2 DUP4 PUSH1 0x20 DUP2 SWAP5 MLOAD SWAP4 ADD SWAP2 GAS CALL SWAP1 JUMP JUMPDEST PUSH4 0x7C402B21 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH4 0x46ABFB59 PUSH1 0xE1 SHL PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x80 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0xA0 RETURNDATASIZE PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 DUP2 ADD PUSH1 0x64 DUP4 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP4 ADD MSTORE RETURNDATASIZE PUSH0 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0x40F52F4F PUSH1 0xE1 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH4 0xA9059CBB PUSH1 0xE0 SHL PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x80 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0xA0 RETURNDATASIZE PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 DUP2 ADD PUSH1 0x64 DUP4 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP4 ADD MSTORE RETURNDATASIZE PUSH0 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0x3C9FD939 PUSH1 0xE2 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH0 PUSH1 0x24 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x80 PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0xA0 RETURNDATASIZE PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 DUP2 ADD PUSH1 0x64 DUP5 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP5 ADD MSTORE SWAP1 RETURNDATASIZE SWAP1 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0x3D2CEC6F PUSH1 0xE2 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH4 0xB1A9116F PUSH1 0xE0 SHL PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x80 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0xA0 RETURNDATASIZE PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP1 DUP2 ADD PUSH1 0x64 DUP4 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP4 ADD MSTORE RETURNDATASIZE PUSH0 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0xACE94481 PUSH1 0xE0 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST PUSH1 0x20 PUSH32 0x17307EAB39AB6107E8899845AD3D59BD9653F200F220920489CA2B5937696C31 SWAP2 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP3 DUP4 PUSH0 MSTORE PUSH1 0x5 DUP3 MSTORE PUSH2 0x2BFE DUP2 PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x11B7 JUMP JUMPDEST DUP1 SLOAD PUSH1 0xFF NOT AND SWAP6 ISZERO ISZERO PUSH1 0xFF DUP2 AND SWAP7 SWAP1 SWAP7 OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP5 DUP6 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP4 LOG3 JUMP JUMPDEST PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE JUMP JUMPDEST SWAP1 SWAP3 SWAP2 SWAP4 DUP3 DUP5 SUB PUSH2 0x2C77 JUMPI PUSH0 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x2C6F JUMPI PUSH1 0x1 SWAP1 PUSH2 0x2C69 DUP2 DUP6 ADD PUSH2 0x2C5F DUP4 DUP9 DUP12 PUSH2 0x20E9 JUMP JUMPDEST SWAP2 CALLDATALOAD PUSH1 0xF8 SHR PUSH2 0x2C95 JUMP JUMPDEST ADD PUSH2 0x2C43 JUMP JUMPDEST POP SWAP4 POP POP POP POP JUMP JUMPDEST PUSH4 0xAAAD13F7 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH4 0x76A1E1D3 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 SWAP2 SWAP1 PUSH1 0xB DUP2 LT ISZERO PUSH2 0x2D97 JUMPI DUP1 PUSH2 0x2CC0 JUMPI POP PUSH2 0x2CB4 SWAP1 PUSH2 0x2C1 SWAP3 PUSH2 0x3A83 JUMP JUMPDEST SWAP5 SWAP4 SWAP1 SWAP4 SWAP3 SWAP2 SWAP3 PUSH2 0x3BF2 JUMP JUMPDEST PUSH1 0x4 DUP2 SUB PUSH2 0x2CDF JUMPI POP PUSH2 0x2CD6 SWAP1 PUSH2 0x2C1 SWAP3 PUSH2 0x3473 JUMP JUMPDEST SWAP4 SWAP3 SWAP1 SWAP3 PUSH2 0x3B1D JUMP JUMPDEST PUSH1 0x1 DUP2 SUB PUSH2 0x2D01 JUMPI POP PUSH2 0x2CF5 SWAP1 PUSH2 0x2C1 SWAP3 PUSH2 0x3A83 JUMP JUMPDEST SWAP5 SWAP4 SWAP1 SWAP4 SWAP3 SWAP2 SWAP3 PUSH2 0x3AC5 JUMP JUMPDEST PUSH1 0x2 DUP2 SUB PUSH2 0x2D30 JUMPI POP PUSH2 0x2D1A PUSH2 0x2D2A SWAP2 PUSH2 0x2C1 SWAP4 PUSH2 0x383E JUMP JUMPDEST SWAP9 SWAP1 SWAP8 SWAP7 SWAP2 SWAP6 SWAP3 SWAP6 SWAP5 SWAP4 SWAP5 PUSH2 0x30BF JUMP JUMPDEST SWAP6 PUSH2 0x3925 JUMP JUMPDEST PUSH1 0x5 DUP2 SUB PUSH2 0x2D5C JUMPI POP PUSH2 0x2D49 PUSH2 0x2D56 SWAP2 PUSH2 0x2C1 SWAP4 PUSH2 0x36E0 JUMP JUMPDEST SWAP8 SWAP1 SWAP7 SWAP6 SWAP2 SWAP5 SWAP3 SWAP5 PUSH2 0x30BF JUMP JUMPDEST SWAP5 PUSH2 0x37A2 JUMP JUMPDEST SWAP2 PUSH1 0x3 DUP4 EQ PUSH2 0x2D7F JUMPI POP POP PUSH2 0xD2D SWAP2 POP JUMPDEST PUSH4 0x5CDA29D7 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 JUMP JUMPDEST PUSH2 0x2C1 SWAP3 POP SWAP1 PUSH2 0x2D8E SWAP2 PUSH2 0x3473 JUMP JUMPDEST SWAP4 SWAP3 SWAP1 SWAP3 PUSH2 0x34AF JUMP JUMPDEST PUSH1 0xD DUP2 SUB PUSH2 0x2DB3 JUMPI POP PUSH2 0x2DAD SWAP1 PUSH2 0x2C1 SWAP3 PUSH2 0x30AC JUMP JUMPDEST SWAP1 PUSH2 0x3448 JUMP JUMPDEST PUSH1 0x11 DUP2 SUB PUSH2 0x2DDB JUMPI POP PUSH2 0x2DCC PUSH2 0x2DD5 SWAP2 PUSH2 0x2C1 SWAP4 PUSH2 0x322D JUMP JUMPDEST SWAP3 SWAP1 SWAP2 SWAP3 PUSH2 0x30BF JUMP JUMPDEST SWAP2 PUSH2 0x342D JUMP JUMPDEST PUSH1 0xB DUP2 SUB PUSH2 0x2E0F JUMPI POP PUSH2 0x2E09 PUSH2 0x2DF7 PUSH2 0x2E03 SWAP3 PUSH2 0x2C1 SWAP5 PUSH2 0x322D JUMP JUMPDEST SWAP4 DUP3 SWAP5 SWAP4 SWAP3 SWAP2 SWAP4 PUSH2 0x32EE JUMP JUMPDEST SWAP3 PUSH2 0x3309 JUMP JUMPDEST SWAP2 PUSH2 0x332E JUMP JUMPDEST PUSH1 0xE DUP2 SUB PUSH2 0x2E41 JUMPI POP PUSH2 0x2E35 PUSH2 0x2E2B PUSH2 0x2E3B SWAP3 PUSH2 0x2C1 SWAP5 PUSH2 0x322D JUMP JUMPDEST SWAP3 DUP3 SWAP5 SWAP3 SWAP2 PUSH2 0x30BF JUMP JUMPDEST SWAP3 PUSH2 0x3245 JUMP JUMPDEST SWAP2 PUSH2 0x3259 JUMP JUMPDEST PUSH1 0x12 DUP2 SUB PUSH2 0x2E5C JUMPI POP PUSH2 0x2E57 SWAP1 PUSH2 0x2C1 SWAP3 PUSH2 0x2F48 JUMP JUMPDEST PUSH2 0x31D4 JUMP JUMPDEST PUSH1 0x13 DUP2 SUB PUSH2 0x2E78 JUMPI POP PUSH2 0x2E72 SWAP1 PUSH2 0x2C1 SWAP3 PUSH2 0x30AC JUMP JUMPDEST SWAP1 PUSH2 0x310F JUMP JUMPDEST PUSH1 0x14 DUP2 SUB PUSH2 0x2E9F JUMPI POP PUSH2 0x2E91 PUSH2 0x2E99 SWAP2 PUSH2 0x2C1 SWAP4 PUSH2 0x30AC JUMP JUMPDEST SWAP2 SWAP1 SWAP2 PUSH2 0x30BF JUMP JUMPDEST SWAP1 PUSH2 0x30F1 JUMP JUMPDEST PUSH1 0x15 DUP2 SUB PUSH2 0x2EED JUMPI POP PUSH2 0x2EB8 PUSH2 0x2EE8 SWAP2 PUSH2 0x2C1 SWAP4 PUSH2 0x2F48 JUMP JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH2 0x2F9F JUMP JUMPDEST PUSH2 0x304F JUMP JUMPDEST SWAP2 PUSH1 0x16 DUP4 EQ PUSH2 0x2F02 JUMPI POP POP PUSH2 0xD2D SWAP2 POP PUSH2 0x2D6D JUMP JUMPDEST PUSH2 0x2C1 SWAP3 POP PUSH2 0x2F43 SWAP2 PUSH2 0x2F14 SWAP2 PUSH2 0x2F48 JUMP JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x2F54 JUMP JUMPDEST PUSH2 0x2FDF JUMP JUMPDEST SWAP1 PUSH1 0x20 GT PUSH2 0x153E JUMPI CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH2 0x2F5F SWAP1 ADDRESS SWAP1 PUSH2 0x3C5B JUMP JUMPDEST PUSH1 0x1 PUSH1 0xFF SHL DUP3 EQ PUSH2 0x2F9A JUMPI DUP2 ISZERO PUSH2 0x2F89 JUMPI JUMPDEST DUP2 GT PUSH2 0x2F7A JUMPI SWAP1 JUMP JUMPDEST PUSH4 0x1E9ACF17 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 POP PUSH2 0x2F94 PUSH0 PUSH2 0x3CC3 JUMP JUMPDEST SWAP1 PUSH2 0x2F71 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST SWAP1 PUSH2 0x2FAA ADDRESS PUSH0 PUSH2 0x3C5B JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0xFF SHL DUP4 EQ PUSH2 0x2FD9 JUMPI DUP3 ISZERO PUSH2 0x2FC7 JUMPI JUMPDEST POP DUP2 GT PUSH2 0x2F7A JUMPI SWAP1 JUMP JUMPDEST PUSH2 0x2FD2 SWAP2 SWAP3 POP PUSH2 0x3CC3 JUMP JUMPDEST SWAP1 PUSH0 PUSH2 0x2FBD JUMP JUMPDEST POP SWAP1 POP SWAP1 JUMP JUMPDEST DUP1 PUSH2 0x2FE7 JUMPI POP JUMP JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH0 SWAP2 PUSH1 0x24 DUP4 SWAP3 PUSH1 0x40 MLOAD SWAP5 DUP6 SWAP4 DUP5 SWAP3 PUSH4 0x2E1A7D4D PUSH1 0xE0 SHL DUP5 MSTORE PUSH1 0x4 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x3045 JUMPI POP JUMP JUMPDEST PUSH0 PUSH2 0x2C1 SWAP2 PUSH2 0x5CD JUMP JUMPDEST DUP1 PUSH2 0x3057 JUMPI POP JUMP JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH0 SWAP1 PUSH1 0x4 PUSH1 0x40 MLOAD DUP1 SWAP5 DUP2 SWAP4 PUSH4 0xD0E30DB PUSH1 0xE4 SHL DUP4 MSTORE GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x3045 JUMPI POP JUMP JUMPDEST SWAP2 SWAP1 PUSH1 0x40 GT PUSH2 0x153E JUMPI PUSH1 0x20 DUP3 CALLDATALOAD SWAP3 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x1 DUP2 SUB PUSH2 0x30E5 JUMPI POP POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP1 JUMP JUMPDEST PUSH1 0x2 SUB PUSH2 0x325 JUMPI POP ADDRESS SWAP1 JUMP JUMPDEST SWAP1 PUSH2 0x30FB DUP3 PUSH2 0x3D20 JUMP JUMPDEST SWAP1 DUP2 PUSH2 0x3106 JUMPI POP POP POP JUMP JUMPDEST PUSH2 0x2C1 SWAP3 PUSH2 0x3D6D JUMP JUMPDEST SWAP1 PUSH2 0x3119 DUP3 PUSH2 0x3DFE JUMP JUMPDEST SWAP1 DUP2 ISZERO PUSH2 0x31BF JUMPI DUP2 GT PUSH2 0x31A6 JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH4 0x203C2D13 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP1 PUSH0 SWAP1 DUP3 SWAP1 PUSH1 0x44 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x3198 JUMPI POP JUMP JUMPDEST DUP1 PUSH2 0x4C3 PUSH0 PUSH2 0x2C1 SWAP4 PUSH2 0x5CD JUMP JUMPDEST PUSH2 0x2C1 SWAP2 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP1 PUSH2 0x3259 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0xFF SHL DUP2 EQ PUSH2 0x2470 JUMPI PUSH0 SUB SWAP1 JUMP JUMPDEST PUSH2 0x31FF DUP2 ADDRESS PUSH32 0x0 PUSH2 0x3E55 JUMP JUMPDEST SWAP1 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH0 DUP4 SLT ISZERO PUSH2 0x3223 JUMPI PUSH2 0x2E09 PUSH2 0x2C1 SWAP4 PUSH2 0x31C4 JUMP JUMPDEST PUSH2 0x2C1 SWAP3 SWAP2 PUSH2 0x3259 JUMP JUMPDEST SWAP1 PUSH1 0x60 GT PUSH2 0x153E JUMPI DUP1 CALLDATALOAD SWAP2 PUSH1 0x40 PUSH1 0x20 DUP4 ADD CALLDATALOAD SWAP3 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST SWAP1 DUP2 PUSH2 0x3255 JUMPI PUSH2 0x325 SWAP2 POP PUSH2 0x3DFE JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST SWAP1 DUP3 ISZERO PUSH2 0x31BF JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH4 0xB0D9C09 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH0 SWAP1 DUP3 SWAP1 PUSH1 0x64 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x32D9 JUMPI POP JUMP JUMPDEST DUP1 PUSH2 0x32E5 PUSH0 DUP1 SWAP4 PUSH2 0x5CD JUMP JUMPDEST DUP1 SUB SLT PUSH2 0x2B2 JUMPI JUMP JUMPDEST ISZERO PUSH2 0x3305 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP1 JUMP JUMPDEST ADDRESS SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0xFF SHL DUP3 SUB PUSH2 0x331F JUMPI PUSH2 0x325 SWAP2 POP PUSH2 0x3D20 JUMP JUMPDEST DUP2 PUSH2 0x3255 JUMPI PUSH2 0x325 SWAP2 POP PUSH2 0x3CC3 JUMP JUMPDEST SWAP1 DUP3 ISZERO PUSH2 0x31BF JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH4 0x29610465 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH0 DUP2 PUSH1 0x24 DUP2 DUP4 DUP9 GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x3419 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x33E8 JUMPI POP POP PUSH1 0x20 SWAP1 PUSH1 0x4 PUSH1 0x40 MLOAD DUP1 SWAP5 DUP2 SWAP4 PUSH4 0x476982D PUSH1 0xE2 SHL DUP4 MSTORE GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x33CD JUMPI POP JUMP JUMPDEST PUSH2 0x33E5 SWAP1 PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x2717 JUMPI PUSH2 0x2709 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST POP JUMP JUMPDEST PUSH0 SWAP4 PUSH1 0x20 SWAP4 SWAP3 PUSH2 0x33F7 SWAP3 PUSH2 0x3EA2 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x40 MLOAD DUP1 SWAP5 DUP2 SWAP4 PUSH4 0x476982D PUSH1 0xE2 SHL DUP4 MSTORE GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x33CD JUMPI POP JUMP JUMPDEST DUP1 PUSH2 0x4C3 PUSH0 PUSH2 0x3427 SWAP4 PUSH2 0x5CD JUMP JUMPDEST PUSH0 PUSH2 0x3397 JUMP JUMPDEST SWAP2 PUSH2 0x343F PUSH2 0x2C1 SWAP4 DUP3 PUSH2 0x2E3B DUP3 PUSH2 0x3DFE JUMP JUMPDEST PUSH2 0x2E3B DUP3 PUSH2 0x3DFE JUMP JUMPDEST SWAP1 PUSH2 0x2C1 SWAP2 PUSH2 0x346A PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP2 DUP3 PUSH2 0x2E09 DUP3 PUSH2 0x3CC3 JUMP JUMPDEST PUSH2 0x2E09 DUP3 PUSH2 0x3CC3 JUMP JUMPDEST SWAP2 SWAP1 DUP3 CALLDATALOAD SWAP3 PUSH1 0x20 DUP2 ADD CALLDATALOAD SWAP3 PUSH1 0x40 DUP3 ADD CALLDATALOAD SWAP3 PUSH4 0xFFFFFFFF PUSH1 0x60 DUP5 ADD CALLDATALOAD AND DUP4 ADD SWAP1 PUSH4 0xFFFFFFFF DUP3 CALLDATALOAD AND SWAP4 PUSH1 0x20 DUP1 DUP5 ADD SWAP4 DUP7 ADD ADD SWAP2 ADD LT PUSH2 0x153E JUMPI SWAP2 SWAP1 JUMP JUMPDEST SWAP4 SWAP3 SWAP1 SWAP3 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x34CC DUP7 DUP3 PUSH2 0x295F JUMP JUMPDEST ISZERO PUSH2 0x365F JUMPI POP PUSH2 0x34DB DUP6 PUSH2 0x2011 JUMP JUMPDEST SWAP3 SWAP1 SWAP4 DUP4 PUSH1 0x8 SHR PUSH1 0x2 SIGNEXTEND SWAP6 DUP5 PUSH1 0x20 SHR PUSH1 0x2 SIGNEXTEND SWAP7 PUSH2 0x3509 PUSH2 0x34FD DUP10 DUP4 DUP11 DUP14 PUSH2 0x2618 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 JUMP JUMPDEST SWAP7 PUSH2 0x3513 DUP11 PUSH2 0x1FEE JUMP JUMPDEST SWAP6 PUSH0 PUSH2 0x351E DUP13 PUSH2 0x6EC JUMP JUMPDEST SSTORE PUSH2 0x3528 DUP12 PUSH2 0x3F8C JUMP JUMPDEST PUSH0 SWAP10 DUP10 PUSH2 0x355A JUMPI JUMPDEST POP POP POP POP POP POP POP DUP2 PUSH1 0xFF AND PUSH2 0x3547 JUMPI JUMPDEST POP POP POP POP POP JUMP JUMPDEST PUSH2 0x3550 SWAP5 PUSH2 0x40F9 JUMP JUMPDEST PUSH0 DUP1 DUP1 DUP1 DUP1 PUSH2 0x3540 JUMP JUMPDEST PUSH1 0x40 SWAP5 SWAP6 SWAP7 SWAP11 POP SWAP1 PUSH2 0x35BF SWAP2 PUSH2 0x359A PUSH2 0x357A PUSH2 0x3575 DUP14 PUSH2 0x4024 JUMP JUMPDEST PUSH2 0x31C4 JUMP JUMPDEST SWAP2 PUSH2 0x3590 PUSH2 0x3586 PUSH2 0x1E01 JUMP JUMPDEST SWAP8 DUP9 SWAP1 PUSH1 0x2 SIGNEXTEND SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND PUSH1 0x20 DUP8 ADD MSTORE JUMP JUMPDEST DUP5 DUP7 ADD MSTORE PUSH1 0x60 DUP5 ADD DUP13 SWAP1 MSTORE DUP5 MLOAD PUSH4 0x2D35E7ED PUSH1 0xE1 SHL DUP2 MSTORE SWAP11 DUP12 SWAP5 DUP6 SWAP5 PUSH1 0x4 DUP7 ADD PUSH2 0x3695 JUMP JUMPDEST SUB DUP2 PUSH0 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP7 PUSH0 SWAP2 PUSH2 0x361F JUMPI JUMPDEST POP SWAP1 PUSH2 0x360E DUP3 PUSH2 0x3613 SWAP5 SWAP4 SWAP9 PUSH2 0x403D JUMP JUMPDEST PUSH2 0x4087 JUMP JUMPDEST PUSH0 DUP1 DUP1 DUP1 DUP1 DUP1 DUP1 PUSH2 0x3530 JUMP JUMPDEST PUSH2 0x360E SWAP8 POP PUSH2 0x3613 SWAP4 SWAP3 SWAP2 POP PUSH2 0x364C SWAP1 PUSH1 0x40 RETURNDATASIZE PUSH1 0x40 GT PUSH2 0x3658 JUMPI JUMPDEST PUSH2 0x3644 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x367F JUMP JUMPDEST SWAP8 SWAP1 SWAP8 SWAP2 SWAP3 SWAP4 POP PUSH2 0x35FD JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x363A JUMP JUMPDEST PUSH4 0x1952D1B PUSH1 0xE3 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST SWAP2 SWAP1 DUP3 PUSH1 0x40 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI PUSH1 0x20 DUP3 MLOAD SWAP3 ADD MLOAD SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH2 0x325 SWAP6 SWAP4 PUSH2 0x36A9 DUP4 PUSH2 0x140 SWAP6 PUSH2 0x1326 JUMP JUMPDEST DUP1 MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0xA0 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0xC0 DUP5 ADD MSTORE PUSH1 0x40 DUP2 ADD MLOAD PUSH1 0xE0 DUP5 ADD MSTORE ADD MLOAD PUSH2 0x100 DUP3 ADD MSTORE DUP2 PUSH2 0x120 DUP3 ADD MSTORE ADD SWAP2 PUSH2 0x1DD6 JUMP JUMPDEST SWAP2 SWAP1 DUP3 PUSH1 0xA0 DUP2 ADD CALLDATALOAD SWAP3 PUSH1 0xC0 DUP3 ADD CALLDATALOAD SWAP3 PUSH1 0xE0 DUP4 ADD CALLDATALOAD SWAP3 PUSH2 0x100 DUP2 ADD CALLDATALOAD SWAP3 PUSH2 0x120 DUP3 ADD CALLDATALOAD SWAP3 PUSH4 0xFFFFFFFF PUSH2 0x140 DUP5 ADD CALLDATALOAD AND DUP4 ADD SWAP1 PUSH4 0xFFFFFFFF DUP3 CALLDATALOAD AND SWAP4 PUSH1 0x20 DUP1 DUP5 ADD SWAP4 DUP7 ADD ADD SWAP2 ADD LT PUSH2 0x153E JUMPI SWAP2 SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP3 PUSH1 0xA0 SWAP2 SUB SLT PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH2 0x3747 DUP2 PUSH2 0x5AD JUMP JUMPDEST PUSH1 0x80 DUP1 DUP3 SWAP5 DUP1 CALLDATALOAD PUSH2 0x3757 DUP2 PUSH2 0x2A1 JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP2 ADD CALLDATALOAD PUSH2 0x3767 DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP2 ADD CALLDATALOAD PUSH2 0x377A DUP2 PUSH2 0x21D7 JUMP JUMPDEST PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x60 DUP2 ADD CALLDATALOAD PUSH2 0x378D DUP2 PUSH2 0x21B7 JUMP JUMPDEST PUSH1 0x60 DUP6 ADD MSTORE ADD CALLDATALOAD SWAP2 PUSH2 0x379E DUP4 PUSH2 0x2A1 JUMP JUMPDEST ADD MSTORE JUMP JUMPDEST SWAP1 SWAP2 PUSH2 0x2C1 SWAP8 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 PUSH2 0x37E3 PUSH1 0xA0 PUSH2 0x37BC CALLDATASIZE DUP7 PUSH2 0x372F JUMP JUMPDEST KECCAK256 PUSH32 0x0 PUSH2 0x417E JUMP JUMPDEST POP POP POP PUSH2 0x3837 PUSH2 0x37F2 DUP4 PUSH2 0x420A JUMP JUMPDEST SWAP2 PUSH2 0x37FC DUP6 PUSH2 0x420A JUMP JUMPDEST PUSH2 0x380F DUP8 CALLDATALOAD PUSH2 0x380A DUP2 PUSH2 0x2A1 JUMP JUMPDEST PUSH2 0x3DFE JUMP JUMPDEST SWAP1 PUSH1 0x20 DUP9 ADD CALLDATALOAD SWAP5 PUSH2 0x381F DUP7 PUSH2 0x2A1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP6 PUSH2 0x3831 SWAP1 PUSH2 0x3DFE JUMP JUMPDEST SWAP4 PUSH2 0x452A JUMP JUMPDEST AND SWAP3 PUSH2 0x3925 JUMP JUMPDEST SWAP1 SWAP2 DUP2 SWAP3 PUSH1 0xA0 DUP4 ADD CALLDATALOAD SWAP3 PUSH1 0xC0 DUP2 ADD CALLDATALOAD SWAP3 PUSH1 0xE0 DUP3 ADD CALLDATALOAD SWAP3 PUSH2 0x100 DUP4 ADD CALLDATALOAD SWAP3 PUSH2 0x120 DUP2 ADD CALLDATALOAD SWAP3 PUSH2 0x140 DUP3 ADD CALLDATALOAD SWAP3 PUSH4 0xFFFFFFFF PUSH2 0x160 DUP5 ADD CALLDATALOAD AND DUP4 ADD SWAP1 PUSH4 0xFFFFFFFF DUP3 CALLDATALOAD AND SWAP4 PUSH1 0x20 DUP1 DUP5 ADD SWAP4 DUP7 ADD ADD SWAP2 ADD LT PUSH2 0x153E JUMPI SWAP2 SWAP1 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x80 PUSH2 0x2C1 SWAP4 PUSH2 0x38B1 DUP2 CALLDATALOAD PUSH2 0x38AB DUP2 PUSH2 0x2A1 JUMP JUMPDEST DUP6 PUSH2 0x1E6E JUMP JUMPDEST PUSH1 0x1 DUP5 ADD PUSH2 0x38CC PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x38C6 DUP2 PUSH2 0x2A1 JUMP JUMPDEST DUP3 PUSH2 0x1E6E JUMP JUMPDEST PUSH1 0x40 DUP3 ADD CALLDATALOAD PUSH2 0x38DA DUP2 PUSH2 0x21D7 JUMP JUMPDEST DUP2 SLOAD PUSH1 0x60 DUP5 ADD CALLDATALOAD PUSH2 0x38EA DUP2 PUSH2 0x21B7 JUMP JUMPDEST PUSH1 0xB8 SHL PUSH3 0xFFFFFF PUSH1 0xB8 SHL AND SWAP2 PUSH3 0xFFFFFF PUSH1 0xA0 SHL SWAP1 PUSH1 0xA0 SHL AND SWAP1 PUSH6 0xFFFFFFFFFFFF PUSH1 0xA0 SHL NOT AND OR OR SWAP1 SSTORE ADD CALLDATALOAD SWAP2 PUSH2 0x391F DUP4 PUSH2 0x2A1 JUMP JUMPDEST ADD PUSH2 0x1E6E JUMP JUMPDEST SWAP1 SWAP2 SWAP5 SWAP7 SWAP3 SWAP8 SWAP4 SWAP6 SWAP8 PUSH1 0x8 SLOAD SWAP3 PUSH1 0x1 DUP5 ADD PUSH1 0x8 SSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP11 AND SWAP10 PUSH2 0x394E DUP12 ISZERO ISZERO PUSH2 0x27E2 JUMP JUMPDEST PUSH0 DUP6 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x3A4D JUMPI PUSH2 0x39E0 PUSH2 0x3A2F SWAP9 PUSH2 0x3A29 SWAP4 DUP8 PUSH2 0x2C1 SWAP15 PUSH2 0x3999 DUP7 PUSH2 0x3989 PUSH2 0x3A21 SWAP9 PUSH2 0x119E JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 ADD SWAP1 SSTORE PUSH2 0xA67 DUP5 PUSH2 0x6D0 JUMP JUMPDEST PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A48 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 DUP1 LOG4 PUSH2 0x39B5 CALLDATASIZE DUP9 PUSH2 0x372F JUMP JUMPDEST PUSH4 0xFFFFFF00 SWAP1 PUSH1 0xA0 PUSH7 0xFFFFFFFFFFFFFF NOT SWAP2 KECCAK256 AND SWAP2 PUSH1 0x8 SHL AND SWAP2 PUSH3 0xFFFFFF PUSH1 0x20 SHL SWAP1 PUSH1 0x20 SHL AND OR OR SWAP1 JUMP JUMPDEST SWAP3 DUP4 PUSH2 0x39EB DUP8 PUSH2 0x6EC JUMP JUMPDEST SSTORE PUSH7 0xFFFFFFFFFFFFFF NOT DUP5 AND DUP6 PUSH2 0x3A11 PUSH1 0x1 PUSH2 0x3A06 DUP5 PUSH2 0x139B JUMP JUMPDEST ADD SLOAD PUSH1 0xB8 SHR PUSH1 0x2 SIGNEXTEND SWAP1 JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND ISZERO PUSH2 0x3A35 JUMPI JUMPDEST POP POP PUSH2 0x4024 JUMP JUMPDEST SWAP3 CALLDATASIZE SWAP1 PUSH2 0x372F JUMP JUMPDEST SWAP1 PUSH2 0x45B9 JUMP JUMPDEST POP PUSH2 0x4682 JUMP JUMPDEST PUSH2 0x3A41 PUSH2 0x3A46 SWAP3 PUSH2 0x139B JUMP JUMPDEST PUSH2 0x3895 JUMP JUMPDEST PUSH0 DUP6 PUSH2 0x3A1A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x1053149150511657D35253951151 PUSH1 0x92 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP1 SWAP2 DUP2 CALLDATALOAD SWAP3 PUSH1 0x20 DUP4 ADD CALLDATALOAD SWAP3 PUSH1 0x40 DUP2 ADD CALLDATALOAD SWAP3 PUSH1 0x60 DUP3 ADD CALLDATALOAD SWAP3 PUSH4 0xFFFFFFFF PUSH1 0x80 DUP5 ADD CALLDATALOAD AND DUP4 ADD SWAP1 PUSH4 0xFFFFFFFF DUP3 CALLDATALOAD AND SWAP4 PUSH1 0x20 DUP1 DUP5 ADD SWAP4 DUP7 ADD ADD SWAP2 ADD LT PUSH2 0x153E JUMPI SWAP2 SWAP1 JUMP JUMPDEST SWAP1 SWAP6 SWAP5 SWAP6 SWAP4 SWAP2 SWAP3 SWAP4 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x3AE6 DUP4 DUP3 PUSH2 0x295F JUMP JUMPDEST ISZERO PUSH2 0x365F JUMPI POP SWAP6 PUSH2 0x360E SWAP3 DUP3 PUSH2 0x3575 PUSH2 0x2C1 SWAP9 SWAP10 PUSH2 0x3B11 PUSH2 0x3B09 PUSH2 0x3B17 SWAP8 PUSH2 0x2011 JUMP JUMPDEST SWAP4 SWAP1 SWAP3 PUSH2 0x4024 JUMP JUMPDEST SWAP2 PUSH2 0x45B9 JUMP JUMPDEST SWAP1 PUSH2 0x403D JUMP JUMPDEST SWAP5 SWAP4 SWAP5 SWAP3 SWAP1 SWAP2 SWAP3 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x3B3D DUP3 DUP3 PUSH2 0x295F JUMP JUMPDEST ISZERO PUSH2 0x365F JUMPI POP PUSH2 0x2C1 SWAP5 SWAP6 PUSH2 0x3BED SWAP3 DUP3 PUSH2 0x3B59 PUSH2 0x3B17 SWAP5 PUSH2 0x2011 JUMP JUMPDEST SWAP1 PUSH2 0x3B11 PUSH2 0x3B8A PUSH1 0xA0 DUP4 KECCAK256 PUSH32 0x0 PUSH2 0x417E JUMP JUMPDEST POP POP POP PUSH2 0x3BE7 PUSH2 0x3B9F DUP6 PUSH1 0x8 SHR PUSH1 0x2 SIGNEXTEND PUSH2 0x420A JUMP JUMPDEST SWAP2 PUSH2 0x3BAF DUP7 PUSH1 0x20 SHR PUSH1 0x2 SIGNEXTEND PUSH2 0x420A JUMP JUMPDEST DUP6 MLOAD PUSH2 0x3BC3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x3DFE JUMP JUMPDEST PUSH1 0x20 DUP8 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP6 SWAP2 SWAP3 SWAP2 SWAP1 PUSH2 0x3831 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x3DFE JUMP JUMPDEST AND PUSH2 0x4024 JUMP JUMPDEST PUSH2 0x4682 JUMP JUMPDEST SWAP1 SWAP6 SWAP5 SWAP6 SWAP4 SWAP2 SWAP3 SWAP4 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A28 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0x3C13 DUP4 DUP3 PUSH2 0x295F JUMP JUMPDEST ISZERO PUSH2 0x365F JUMPI POP SWAP6 PUSH2 0x3BED SWAP3 DUP3 PUSH2 0x3B11 PUSH2 0x2C1 SWAP9 SWAP10 PUSH2 0x3C33 PUSH2 0x3B17 SWAP7 PUSH2 0x2011 JUMP JUMPDEST SWAP3 SWAP1 SWAP2 PUSH2 0x4024 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP2 DUP3 MSTORE PUSH1 0x6 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x40 DUP2 MSTORE PUSH2 0x1F5B PUSH1 0x60 DUP3 PUSH2 0x5CD JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x3C6E JUMPI POP BALANCE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 DUP4 AND PUSH1 0x4 DUP3 ADD MSTORE SWAP2 PUSH1 0x20 SWAP2 DUP4 SWAP2 PUSH1 0x24 SWAP2 DUP4 SWAP2 AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP2 PUSH2 0x3CAA JUMPI POP SWAP1 JUMP JUMPDEST PUSH2 0x325 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x2717 JUMPI PUSH2 0x2709 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST PUSH2 0x3CEE DUP2 ADDRESS PUSH32 0x0 PUSH2 0x3E55 JUMP JUMPDEST SWAP1 PUSH0 DUP3 SGT PUSH2 0x3D00 JUMPI POP PUSH2 0x325 SWAP1 PUSH2 0x31C4 JUMP JUMPDEST PUSH4 0x19A8D93 PUSH1 0xE5 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x3D33 JUMPI POP SELFBALANCE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP2 PUSH2 0x3CAA JUMPI POP SWAP1 JUMP JUMPDEST SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x3D9A JUMPI POP PUSH0 DUP1 DUP1 DUP1 PUSH2 0x3D8E SWAP5 DUP7 GAS CALL ISZERO SWAP1 JUMP JUMPDEST PUSH2 0x3D95 JUMPI POP JUMP JUMPDEST PUSH2 0x2AE7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP5 AND PUSH1 0x4 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP2 SWAP1 PUSH0 SWAP1 PUSH1 0x20 DUP3 PUSH1 0x44 DUP6 DUP3 DUP9 GAS CALL RETURNDATASIZE ISZERO PUSH1 0x1F RETURNDATASIZE GT PUSH1 0x1 DUP6 MLOAD EQ AND OR AND SWAP3 DUP3 DUP2 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MSTORE ADD MSTORE ISZERO PUSH2 0x3DF0 JUMPI POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x2A7A JUMP JUMPDEST PUSH2 0x3E29 DUP2 ADDRESS PUSH32 0x0 PUSH2 0x3E55 JUMP JUMPDEST SWAP1 PUSH0 DUP3 SLT PUSH2 0x3E35 JUMPI POP SWAP1 JUMP JUMPDEST PUSH4 0x4C085BF1 PUSH1 0xE0 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH0 SWAP1 DUP2 MSTORE SWAP3 DUP3 AND PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP4 DUP5 SWAP1 KECCAK256 SWAP4 MLOAD PUSH4 0x789ADD55 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP5 SWAP1 SWAP5 MSTORE SWAP2 DUP4 SWAP2 PUSH1 0x24 SWAP2 DUP4 SWAP2 AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP2 PUSH2 0x3CAA JUMPI POP SWAP1 JUMP JUMPDEST SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ADDRESS SUB PUSH2 0x3EEA JUMPI PUSH2 0x2C1 SWAP3 POP PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH2 0x3D6D JUMP JUMPDEST SWAP1 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 EXTCODESIZE ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x40 MLOAD PUSH4 0x1B63C28B PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH32 0x0 DUP6 AND PUSH1 0x24 DUP3 ADD MSTORE SWAP2 DUP5 AND PUSH1 0x44 DUP4 ADD MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x64 DUP4 ADD MSTORE PUSH0 SWAP1 DUP3 SWAP1 PUSH1 0x84 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0xFF1 JUMPI PUSH2 0x3198 JUMPI POP JUMP JUMPDEST PUSH0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x3FAE DUP2 ISZERO ISZERO PUSH2 0x1FB5 JUMP JUMPDEST DUP1 DUP3 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP3 NOT DUP2 SLOAD ADD SWAP1 SSTORE PUSH2 0x3FCA DUP4 PUSH2 0x6D0 JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH1 0x3 DUP6 SWAP1 SHL DUP2 DUP2 SHL NOT SWAP1 SWAP3 AND SWAP1 DUP6 AND SWAP1 SWAP2 SHL OR SWAP1 SSTORE PUSH2 0x3FF2 DUP4 PUSH2 0x6DE JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH1 0x3 DUP6 SWAP1 SHL DUP2 DUP2 SHL NOT SWAP1 SWAP3 AND SWAP1 DUP6 AND SWAP1 SWAP2 SHL OR SWAP1 SSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x4A48 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP3 DUP1 LOG4 JUMP JUMPDEST SWAP1 PUSH0 DUP3 SLT PUSH2 0x402E JUMPI JUMP JUMPDEST PUSH4 0x93DAFDF1 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0x4060 SWAP1 PUSH2 0x4052 DUP4 PUSH1 0x80 SAR DUP3 PUSH1 0x80 SAR SUB PUSH2 0x4736 JUMP JUMPDEST SWAP3 PUSH1 0xF SIGNEXTEND SWAP1 PUSH1 0xF SIGNEXTEND SUB PUSH2 0x4736 JUMP JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH1 0x80 SHL OR SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP1 DUP2 AND PUSH1 0x4 MSTORE AND PUSH1 0x24 MSTORE PUSH1 0x44 SWAP1 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x80 SAR PUSH2 0x4095 DUP2 PUSH2 0x4744 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP3 DUP4 AND SWAP3 AND DUP3 GT PUSH2 0x40CD JUMPI POP POP PUSH1 0xF SIGNEXTEND PUSH2 0x40B6 DUP2 PUSH2 0x4744 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP3 DUP4 AND SWAP3 AND DUP3 GT PUSH2 0x40CD JUMPI POP POP JUMP JUMPDEST PUSH2 0x40D6 SWAP1 PUSH2 0x4744 JUMP JUMPDEST PUSH4 0x940B791 PUSH1 0xE1 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x4 SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH1 0x24 MSTORE PUSH1 0x44 SWAP1 REVERT JUMPDEST PUSH0 DUP2 DUP2 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP6 PUSH2 0x4172 SWAP6 PUSH2 0xCD9 SWAP6 SWAP4 SWAP5 SWAP2 SWAP4 SWAP1 SWAP3 SWAP1 SWAP2 SWAP1 PUSH2 0x412C SWAP1 PUSH2 0x285F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xB1A9116F PUSH1 0xE0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP6 SWAP1 SWAP6 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x44 DUP6 ADD MSTORE PUSH1 0x64 DUP5 ADD MSTORE PUSH1 0x84 DUP4 ADD MSTORE PUSH1 0xA4 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP2 MSTORE PUSH2 0xCD3 PUSH1 0xC4 DUP3 PUSH2 0x5CD JUMP JUMPDEST PUSH2 0x4179 JUMPI POP JUMP JUMPDEST PUSH2 0x2B50 JUMP JUMPDEST SWAP2 SWAP1 PUSH2 0x418B PUSH1 0x20 SWAP2 PUSH2 0x3C3B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x1E2EAEAF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP3 DUP4 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL SWAP2 DUP3 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP3 PUSH2 0x41E9 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SWAP2 PUSH1 0xA0 DUP2 SWAP1 SHR PUSH1 0x2 SIGNEXTEND SWAP2 PUSH3 0xFFFFFF PUSH1 0xB8 DUP4 SWAP1 SHR DUP2 AND SWAP3 PUSH1 0xD0 SHR AND SWAP1 JUMP JUMPDEST PUSH2 0x4203 SWAP2 SWAP3 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x2717 JUMPI PUSH2 0x2709 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST SWAP1 PUSH0 PUSH2 0x41C1 JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND SWAP1 DUP2 PUSH1 0xFF SAR DUP3 DUP2 ADD XOR PUSH3 0xD89E8 DUP2 GT PUSH2 0x4524 JUMPI PUSH4 0xFFFFFFFF SWAP2 SWAP3 PUSH1 0x1 DUP3 AND PUSH17 0x1FFFCB933BD6FAD37AA2D162D1A594001 MUL PUSH1 0x1 PUSH1 0x80 SHL XOR SWAP2 PUSH1 0x2 DUP2 AND PUSH2 0x4508 JUMPI JUMPDEST PUSH1 0x4 DUP2 AND PUSH2 0x44EC JUMPI JUMPDEST PUSH1 0x8 DUP2 AND PUSH2 0x44D0 JUMPI JUMPDEST PUSH1 0x10 DUP2 AND PUSH2 0x44B4 JUMPI JUMPDEST PUSH1 0x20 DUP2 AND PUSH2 0x4498 JUMPI JUMPDEST PUSH1 0x40 DUP2 AND PUSH2 0x447C JUMPI JUMPDEST PUSH1 0x80 DUP2 AND PUSH2 0x4460 JUMPI JUMPDEST PUSH2 0x100 DUP2 AND PUSH2 0x4444 JUMPI JUMPDEST PUSH2 0x200 DUP2 AND PUSH2 0x4428 JUMPI JUMPDEST PUSH2 0x400 DUP2 AND PUSH2 0x440C JUMPI JUMPDEST PUSH2 0x800 DUP2 AND PUSH2 0x43F0 JUMPI JUMPDEST PUSH2 0x1000 DUP2 AND PUSH2 0x43D4 JUMPI JUMPDEST PUSH2 0x2000 DUP2 AND PUSH2 0x43B8 JUMPI JUMPDEST PUSH2 0x4000 DUP2 AND PUSH2 0x439C JUMPI JUMPDEST PUSH2 0x8000 DUP2 AND PUSH2 0x4380 JUMPI JUMPDEST PUSH3 0x10000 DUP2 AND PUSH2 0x4364 JUMPI JUMPDEST PUSH3 0x20000 DUP2 AND PUSH2 0x4349 JUMPI JUMPDEST PUSH3 0x40000 DUP2 AND PUSH2 0x432E JUMPI JUMPDEST PUSH3 0x80000 AND PUSH2 0x4315 JUMPI JUMPDEST PUSH0 SLT PUSH2 0x430D JUMPI JUMPDEST ADD PUSH1 0x20 SHR SWAP1 JUMP JUMPDEST PUSH0 NOT DIV PUSH2 0x4306 JUMP JUMPDEST PUSH12 0x48A170391F7DC42444E8FA2 SWAP1 SWAP2 MUL PUSH1 0x80 SHR SWAP1 PUSH2 0x42FF JUMP JUMPDEST PUSH14 0x2216E584F5FA1EA926041BEDFE98 SWAP1 SWAP3 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42F5 JUMP JUMPDEST SWAP2 PUSH15 0x5D6AF8DEDB81196699C329225EE604 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42EA JUMP JUMPDEST SWAP2 PUSH16 0x9AA508B5B7A84E1C677DE54F3E99BC9 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42DF JUMP JUMPDEST SWAP2 PUSH16 0x31BE135F97D08FD981231505542FCFA6 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42D4 JUMP JUMPDEST SWAP2 PUSH16 0x70D869A156D2A1B890BB3DF62BAF32F7 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42CA JUMP JUMPDEST SWAP2 PUSH16 0xA9F746462D870FDF8A65DC1F90E061E5 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42C0 JUMP JUMPDEST SWAP2 PUSH16 0xD097F3BDFD2022B8845AD8F792AA5825 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42B6 JUMP JUMPDEST SWAP2 PUSH16 0xE7159475A2C29B7443B29C7FA6E889D9 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42AC JUMP JUMPDEST SWAP2 PUSH16 0xF3392B0822B70005940C7A398E4B70F3 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x42A2 JUMP JUMPDEST SWAP2 PUSH16 0xF987A7253AC413176F2B074CF7815E54 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x4298 JUMP JUMPDEST SWAP2 PUSH16 0xFCBE86C7900A88AEDCFFC83B479AA3A4 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x428E JUMP JUMPDEST SWAP2 PUSH16 0xFE5DEE046A99A2A811C461F1969C3053 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x4284 JUMP JUMPDEST SWAP2 PUSH16 0xFF2EA16466C96A3843EC78B326B52861 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x427B JUMP JUMPDEST SWAP2 PUSH16 0xFF973B41FA98C081472E6896DFB254C0 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x4272 JUMP JUMPDEST SWAP2 PUSH16 0xFFCB9843D60F6159C9DB58835C926644 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x4269 JUMP JUMPDEST SWAP2 PUSH16 0xFFE5CACA7E10E4E61C3624EAA0941CD0 MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x4260 JUMP JUMPDEST SWAP2 PUSH16 0xFFF2E50F5F656932EF12357CF3C7FDCC MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x4257 JUMP JUMPDEST SWAP2 PUSH16 0xFFF97272373D413259A46990580E213A MUL PUSH1 0x80 SHR SWAP2 PUSH2 0x424E JUMP JUMPDEST DUP3 PUSH2 0x475A JUMP JUMPDEST SWAP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND SWAP1 DUP4 AND GT PUSH2 0x45B1 JUMPI JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND SWAP6 SWAP1 DUP4 AND DUP7 GT PUSH2 0x4560 JUMPI POP POP PUSH2 0x325 SWAP4 POP PUSH2 0x47A9 JUMP JUMPDEST SWAP2 SWAP5 SWAP1 SWAP4 SWAP2 SWAP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND GT ISZERO PUSH2 0x45A5 JUMPI DUP3 SWAP2 PUSH2 0x4587 SWAP2 PUSH2 0x458D SWAP6 SWAP5 PUSH2 0x47A9 JUMP JUMPDEST SWAP4 PUSH2 0x476F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 DUP2 AND SWAP1 DUP4 AND LT ISZERO PUSH2 0x2F9A JUMPI POP SWAP1 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x325 SWAP3 PUSH2 0x476F JUMP JUMPDEST SWAP1 SWAP2 SWAP1 PUSH2 0x453F JUMP JUMPDEST SWAP6 SWAP4 SWAP5 PUSH1 0x40 SWAP2 PUSH2 0x4606 PUSH2 0x45CA PUSH2 0x1E01 JUMP JUMPDEST PUSH1 0x8 DUP11 SWAP1 SHR PUSH1 0x2 SIGNEXTEND DUP2 MSTORE SWAP3 PUSH1 0x20 DUP11 DUP2 SHR PUSH1 0x2 SIGNEXTEND SWAP1 DUP6 ADD MSTORE DUP6 DUP6 DUP6 ADD MSTORE DUP7 PUSH1 0x60 DUP6 ADD MSTORE DUP5 MLOAD SWAP9 DUP10 SWAP5 DUP6 SWAP5 PUSH4 0x2D35E7ED PUSH1 0xE1 SHL DUP7 MSTORE PUSH1 0x4 DUP7 ADD PUSH2 0x3695 JUMP JUMPDEST SUB DUP2 PUSH0 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0xFF1 JUMPI PUSH0 SWAP5 PUSH0 SWAP3 PUSH2 0x465E JUMPI JUMPDEST POP DUP2 SWAP5 SWAP6 PUSH1 0xFF AND PUSH2 0x4655 JUMPI POP POP POP JUMP JUMPDEST PUSH2 0x2C1 SWAP3 PUSH2 0x47F6 JUMP JUMPDEST SWAP1 SWAP5 POP PUSH2 0x467A SWAP2 POP PUSH1 0x40 RETURNDATASIZE PUSH1 0x40 GT PUSH2 0x3658 JUMPI PUSH2 0x3644 DUP2 DUP4 PUSH2 0x5CD JUMP JUMPDEST SWAP1 SWAP4 PUSH0 PUSH2 0x4645 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x80 SAR PUSH1 0xF SIGNEXTEND SWAP2 PUSH1 0xF SIGNEXTEND SWAP2 PUSH0 DUP2 SLT DUP1 PUSH2 0x4713 JUMPI JUMPDEST PUSH2 0x46ED JUMPI POP POP PUSH0 DUP2 SLT DUP1 PUSH2 0x46CF JUMPI JUMPDEST PUSH2 0x46AF JUMPI POP POP JUMP JUMPDEST SWAP1 PUSH2 0x46BF PUSH2 0x34FD PUSH2 0xD2D SWAP4 PUSH2 0x31C4 JUMP JUMPDEST PUSH4 0x31E30AD PUSH1 0xE4 SHL PUSH0 MSTORE SWAP1 PUSH2 0x4070 JUMP JUMPDEST POP PUSH2 0x46D9 DUP2 PUSH2 0x31C4 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP1 DUP2 AND SWAP1 DUP4 AND LT PUSH2 0x46A7 JUMP JUMPDEST SWAP1 PUSH2 0x46FA PUSH2 0xD2D SWAP3 PUSH2 0x31C4 JUMP JUMPDEST PUSH4 0x31E30AD PUSH1 0xE4 SHL PUSH0 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH2 0x4070 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB PUSH2 0x4725 DUP3 PUSH2 0x31C4 JUMP JUMPDEST AND PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP4 AND LT PUSH2 0x4698 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0xF SIGNEXTEND SWAP2 DUP3 SUB PUSH2 0x402E JUMPI JUMP JUMPDEST PUSH0 DUP2 PUSH1 0xF SIGNEXTEND SLT PUSH2 0x402E JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH4 0x45C3193D PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x2 SIGNEXTEND PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH2 0x325 SWAP3 PUSH2 0x479E SWAP3 SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP4 AND SWAP1 DUP3 AND GT PUSH2 0x47A3 JUMPI JUMPDEST SWAP1 SUB PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH2 0x48B9 JUMP JUMPDEST PUSH2 0x4A12 JUMP JUMPDEST SWAP1 PUSH2 0x478D JUMP JUMPDEST PUSH2 0x325 SWAP3 PUSH2 0x479E SWAP3 SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND SWAP1 DUP4 AND GT PUSH2 0x47F0 JUMPI JUMPDEST PUSH2 0x47DE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND SWAP1 DUP5 AND PUSH2 0x4946 JUMP JUMPDEST SWAP2 SWAP1 SUB PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 PUSH2 0x498F JUMP JUMPDEST SWAP1 PUSH2 0x47C8 JUMP JUMPDEST PUSH2 0x4846 SWAP2 SWAP3 DUP2 PUSH0 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH0 KECCAK256 SLOAD AND SWAP4 PUSH1 0x40 MLOAD SWAP3 PUSH4 0xD8865C27 PUSH1 0xE0 SHL PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD MSTORE PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x64 DUP2 MSTORE PUSH2 0x4840 PUSH1 0x84 DUP3 PUSH2 0x5CD JUMP JUMPDEST DUP3 PUSH2 0x29E5 JUMP JUMPDEST ISZERO PUSH2 0x484E JUMPI POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x90BFB865 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH4 0xD8865C27 PUSH1 0xE0 SHL PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x80 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x1F RETURNDATASIZE ADD PUSH1 0x1F NOT AND PUSH1 0xA0 DUP2 ADD PUSH1 0x64 DUP4 ADD MSTORE RETURNDATASIZE PUSH1 0x84 DUP4 ADD MSTORE RETURNDATASIZE PUSH0 PUSH1 0xA4 DUP5 ADD RETURNDATACOPY DUP1 DUP3 ADD PUSH1 0x4 PUSH1 0xA4 DUP3 ADD MSTORE PUSH1 0xC4 PUSH4 0x74A78871 PUSH1 0xE1 SHL SWAP2 ADD MSTORE PUSH1 0xE4 ADD SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x2B2 JUMPI JUMP JUMPDEST SWAP1 PUSH1 0x60 DUP3 SWAP1 SHL SWAP1 PUSH0 NOT PUSH1 0x1 PUSH1 0x60 SHL DUP5 MULMOD SWAP3 DUP3 DUP1 DUP6 LT SWAP5 SUB SWAP4 DUP1 DUP6 SUB SWAP5 PUSH2 0x48E0 DUP7 DUP6 GT PUSH2 0x48B2 JUMP JUMPDEST EQ PUSH2 0x493F JUMPI DUP2 SWAP1 PUSH1 0x1 PUSH1 0x60 SHL SWAP1 MULMOD DUP2 DUP1 PUSH0 SUB AND DUP1 SWAP3 DIV PUSH1 0x2 DUP2 PUSH1 0x3 MUL XOR DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 SWAP2 MUL PUSH1 0x2 SUB MUL SWAP4 PUSH1 0x1 DUP4 DUP1 PUSH0 SUB DIV ADD SWAP1 DUP5 DUP4 GT SWAP1 SUB MUL SWAP3 SUB DIV OR MUL SWAP1 JUMP JUMPDEST POP SWAP2 POP DIV SWAP1 JUMP JUMPDEST DUP2 DUP2 MUL SWAP2 SWAP1 PUSH0 NOT DUP3 DUP3 MULMOD SWAP2 DUP4 DUP1 DUP5 LT SWAP4 SUB SWAP3 DUP1 DUP5 SUB SWAP4 DUP5 PUSH1 0x1 PUSH1 0x60 SHL GT ISZERO PUSH2 0x2B2 JUMPI EQ PUSH2 0x4986 JUMPI PUSH1 0x1 PUSH1 0x60 SHL SWAP2 MULMOD SWAP1 DUP3 DUP3 GT SWAP1 SUB PUSH1 0xA0 SHL SWAP2 SUB PUSH1 0x60 SHR OR SWAP1 JUMP JUMPDEST POP POP POP PUSH1 0x60 SHR SWAP1 JUMP JUMPDEST SWAP2 DUP2 DUP4 MUL SWAP2 PUSH0 NOT DUP2 DUP6 MULMOD SWAP4 DUP4 DUP1 DUP7 LT SWAP6 SUB SWAP5 DUP1 DUP7 SUB SWAP6 PUSH2 0x49B0 DUP8 DUP7 GT PUSH2 0x48B2 JUMP JUMPDEST EQ PUSH2 0x4A0A JUMPI SWAP1 DUP3 SWAP2 MULMOD DUP2 DUP1 PUSH0 SUB AND DUP1 SWAP3 DIV PUSH1 0x2 DUP2 PUSH1 0x3 MUL XOR DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 DUP3 MUL PUSH1 0x2 SUB MUL DUP1 SWAP2 MUL PUSH1 0x2 SUB MUL SWAP4 PUSH1 0x1 DUP4 DUP1 PUSH0 SUB DIV ADD SWAP1 DUP5 DUP4 GT SWAP1 SUB MUL SWAP3 SUB DIV OR MUL SWAP1 JUMP JUMPDEST POP POP SWAP2 POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND SWAP2 SWAP1 DUP3 SWAP1 SUB PUSH2 0x402E JUMPI JUMP INVALID EXP 0xED 0xD6 0xBD 0xE1 0xE GASPRICE LOG2 0xAD 0xEC MULMOD 0x2B MUL LOG3 0xE3 0xE8 SDIV PUSH26 0x5516CDA41F27AA145B8F300AF87ADDF252AD1BE2C89B69C2B068 0xFC CALLDATACOPY DUP14 0xAA SWAP6 0x2B 0xA7 CALL PUSH4 0xC4A11628 CREATE2 GAS 0x4D CREATE2 0x23 0xB3 0xEF LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"7946:20094:66:-:0;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;:::o;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;:::o;:::-;;;;;;;;;;:::i;:::-;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;-1:-1:-1;;7946:20094:66;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;-1:-1:-1;;7946:20094:66;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;:::i;:::-;;;1379:7:76;-1:-1:-1;;;;;7946:20094:66;;;;;1379:46:76;;;;;7946:20094:66;;-1:-1:-1;;;1379:46:76;;-1:-1:-1;;;;;7946:20094:66;;;;1379:46:76;;;7946:20094:66;;;;;;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;:::i;:::-;1379:46:76;;;;;;;;7946:20094:66;-1:-1:-1;1375:127:76;;1437:65;7946:20094:66;1437:65:76;;:::i;:::-;7946:20094:66;;;;;;;:::i;:::-;;;;1375:127:76;7946:20094:66;1375:127:76;;;1379:46;;;-1:-1:-1;1379:46:76;;;:::i;:::-;;;:::i;:::-;;;;7946:20094:66;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7946:20094:66;;;;;:::o;:::-;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;;;:::i;:::-;;;;;;;;4825:25:140;;:100;;;;;7946:20094:66;4825:175:140;;;;7946:20094:66;;;;;;;;;;4825:175:140;-1:-1:-1;;;4975:25:140;;-1:-1:-1;4825:175:140;;;:100;-1:-1:-1;;;4900:25:140;;;-1:-1:-1;4825:100:140;;7946:20094:66;;;-1:-1:-1;;7946:20094:66;;;;1100:5:80;7946:20094:66;;1088:10:80;1100:5;:::i;7946:20094:66:-;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;:::o;:::-;;:::i;:::-;;;;;-1:-1:-1;;7946:20094:66;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;-1:-1:-1;7946:20094:66;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;3081:8:140;7946:20094:66;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;27044:12;7946:20094;;;;;;:::o;:::-;;;1788:10:75;7946:20094:66;;;;;;:::o;:::-;;;;;;-1:-1:-1;;7946:20094:66;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;;:::i;:::-;;;-1:-1:-1;7946:20094:66;;;3607:8:71;7946:20094:66;;;;;;-1:-1:-1;;;;;7946:20094:66;;3634:10:71;:19;;;;:59;;7946:20094:66;3630:86:71;;3752:2;;;:::i;3630:86::-;3702:14;;;-1:-1:-1;3702:14:71;7946:20094:66;-1:-1:-1;3702:14:71;3634:59;7946:20094:66;;-1:-1:-1;7946:20094:66;3658:16:71;7946:20094:66;;;3658:35:71;3634:10;7946:20094:66;-1:-1:-1;7946:20094:66;3658:35:71;:::i;:::-;7946:20094:66;;3657:36:71;3634:59;;7946:20094:66;;;-1:-1:-1;;7946:20094:66;;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;:::i;:::-;987:15:71;;;:26;983:65;;1538:5;7946:20094:66;1581:5:71;7946:20094:66;1622:7:71;7946:20094:66;1514:22:71;7946:20094:66;-1:-1:-1;7946:20094:66;;;;;1380:8:71;7946:20094:66;;;;;;;;;;;;;;1346:730:98;;;;7946:20094:66;1346:730:98;;;;;7946:20094:66;1346:730:98;;7946:20094:66;;;;;;1346:730:98;;;7946:20094:66;1346:730:98;;;;;7946:20094:66;1346:730:98;;;;;7946:20094:66;1346:730:98;;;;;;7946:20094:66;1346:730:98;;;;;;;;1514:22:71;:::i;:::-;1538:5;;:::i;:::-;1581;;:::i;:::-;1622:7;:::i;983:65::-;1022:26;;;-1:-1:-1;1022:26:71;7946:20094:66;-1:-1:-1;1022:26:71;7946:20094:66;;;;;;-1:-1:-1;;7946:20094:66;;;;;;452:43:76;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;-1:-1:-1;7946:20094:66;776:68:75;7946:20094:66;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;27586:67;7946:20094;;27533:31;;;:::i;:::-;2264:106:102;;;;;2057;2264;2057;;;;;27586:67:66;;:::i;:::-;7946:20094;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;:::i;:::-;10202:11;:24;:11;:24;:::i;:::-;10198:62;;3081:12:140;;3596:17;3073:20;3081:12;;;;:::i;:::-;7946:20094:66;-1:-1:-1;;;;;7946:20094:66;;;3081:12:140;3073:20;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;3065:43:140;;3073:20;;3065:43;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;3526:16:140;;3119:46;3127:16;;;3119:46;:::i;:::-;3197:10;;:18;:56;;;;7946:20094:66;3197:89:140;;;;7946:20094:66;3176:150:140;;;:::i;:::-;3526:16;:::i;:::-;7946:20094:66;;-1:-1:-1;;7946:20094:66;;;3559:14:140;;;:::i;:::-;7946:20094:66;;;;;;3596:12:140;;;:::i;:::-;:17;:::i;:::-;7946:20094:66;3631:15:140;;;:::i;:::-;7946:20094:66;:::i;:::-;-1:-1:-1;;;;;;;;;;;3141:1:140;3662:22;;27044:32:66;:16;;;:::i;:::-;7946:20094;2478:89:102;;2382:191;;27044:32:66;27040:54;;7946:20094;27040:54;27091:2;;;:::i;3197:89:140:-;3271:15;3176:150;3257:29;3271:15;;;;:::i;3257:29::-;3197:10;3257:29;3197:89;;;;:56;:10;3219:34;;3197:10;3219:22;;;:::i;:::-;:34;:::i;:::-;3197:56;;10198:62:66;10235:25;;;;;7946:20094;10235:25;;7946:20094;;;-1:-1:-1;;7946:20094:66;;;;;;;;;:::i;:::-;;;-1:-1:-1;;7946:20094:66;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;:::i;:::-;;;;;912:7:76;-1:-1:-1;;;;;7946:20094:66;912:46:76;;;;;7946:20094:66;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;;;912:46:76;;7946:20094:66;;;;;;;912:46:76;;7946:20094:66;;;;;;:::i;:::-;;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;7946:20094:66;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;:::i;:::-;10202:24;:11;;;;:24;:::i;:::-;10198:62;;10000:35;1727:10:75;;10000:35:66;:::i;:::-;9999:36;9995:68;;-1:-1:-1;;;;;1788:19:75;;;;:::i;:::-;7946:20094:66;1822:28:75;1818:89;;-1:-1:-1;;7946:20094:66;;;26490:12;7946:20094;;;;;;;2725:81:102;;7946:20094:66;;2122:8:75;;2025:82;;-1:-1:-1;;;;;7946:20094:66;;;2046:60:75;;1951:48;7946:20094:66;1951:19:75;;;:::i;:48::-;2046:60;7946:20094:66;;2046:60:75;;;;;;7946:20094:66;2046:60:75;;;;7946:20094:66;2046:60:75;;;:::i;:::-;;7946:20094:66;;2046:60:75;;;;;;:::i;:::-;2025:82;;:::i;:::-;2122:8;;7946:20094:66;2122:8:75;2118:143;;2276:36;;-1:-1:-1;2276:36:75;;7946:20094:66;2118:143:75;2220:29;:::i;1818:89::-;-1:-1:-1;;;;1859:48:75;7946:20094:66;;;;-1:-1:-1;;;;;7946:20094:66;635:23:75;7946:20094:66;635:23:75;-1:-1:-1;1859:48:75;;-1:-1:-1;1859:48:75;9995:68:66;10044:19;;;-1:-1:-1;10044:19:66;1727:10:75;7946:20094:66;;;-1:-1:-1;10044:19:66;7946:20094;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;7946:20094:66;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;:::i;:::-;987:15:71;;;;;:26;983:65;;2963:760:98;2104:5:71;2963:760:98;2061:5:71;2963:760:98;2037:22:71;2963:760:98;-1:-1:-1;2152:8:71;2963:760:98;;;;;;7946:20094:66;2963:760:98;;;;;7946:20094:66;2963:760:98;;7946:20094:66;;;;;;2963:760:98;;;;7946:20094:66;2963:760:98;;;;;;7946:20094:66;2963:760:98;;;;;7946:20094:66;2963:760:98;;;;;;7946:20094:66;2963:760:98;;;;;;;;2037:22:71;:::i;2104:5::-;2152:8;:::i;7946:20094:66:-;;;;;;;:::i;:::-;10202:24;:11;:24;:::i;:::-;10198:62;;3073:20:140;3081:12;;;;:::i;3073:20::-;-1:-1:-1;;;;;7946:20094:66;;;;3065:43:140;;3073:20;;3065:43;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;;3119:46:140;3127:16;;;3119:46;:::i;:::-;3197:10;;:18;:56;;;;7946:20094:66;3197:89:140;;;;7946:20094:66;3176:150:140;;;:::i;:::-;3526:16;;;:::i;:::-;7946:20094:66;;-1:-1:-1;;7946:20094:66;;;3559:14:140;;;:::i;:::-;7946:20094:66;;;;;;3596:17:140;:12;;;;:::i;:17::-;7946:20094:66;3631:15:140;;;:::i;7946:20094:66:-;-1:-1:-1;;;;;;;;;;;3141:1:140;3662:22;;27044:32:66;:16;;;:::i;:32::-;27040:54;;7946:20094;3874:14:140;:19;:170;;;;;7946:20094:66;3853:233:140;;;:::i;3874:170::-;7946:20094:66;;-1:-1:-1;;;3913:66:140;;3197:10;7946:20094:66;3913:66:140;;7946:20094:66;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;3913:66:140;;-1:-1:-1;7946:20094:66;;;;;;3913:66:140;;;;;;3853:233;3913:66;3141:1;3913:66;;;3874:170;-1:-1:-1;;;;;;;7946:20094:66;-1:-1:-1;;;3913:131:140;3874:170;;;;3913:66;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;:::i;27040:54:66:-;27091:2;;;:::i;:::-;27040:54;;3197:89:140;3271:15;3176:150;3257:29;3271:15;;;;:::i;3257:29::-;3197:10;3257:29;3197:89;;;;:56;:10;3219:34;;3197:10;3219:22;;;:::i;:34::-;3197:56;;7946:20094:66;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;695:44:75;7946:20094:66;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;407:29:74;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;7946:20094:66;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;:::i;:::-;;-1:-1:-1;;;;;;;;;;;661:64:100;-1:-1:-1;;;;;7946:20094:66;285:55:78;;10933:6:66;361:10:78;;-1:-1:-1;;;;;;;;;;;522:63:100;10933:6:66;:::i;:::-;-1:-1:-1;;;;;;;;;;;;522:63:100;7946:20094:66;285:55:78;324:16;;;-1:-1:-1;324:16:78;7946:20094:66;-1:-1:-1;324:16:78;7946:20094:66;-1:-1:-1;;;;;7946:20094:66;;;;;3219:16:140;7946:20094:66;;;;;;:::o;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;3526:10:140;7946:20094:66;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;7946:20094:66;317:79:80;7946:20094:66;;;-1:-1:-1;7946:20094:66;;-1:-1:-1;7946:20094:66;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;8556:52;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;1572:19:140;;7946:20094:66;;-1:-1:-1;7946:20094:66;1626:10:140;7946:20094:66;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;8519:30;7946:20094;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;20098:8;7946:20094;;;;;;:::o;:::-;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;8686:58;7946:20094;;;;;;;;;;;;8686:58;;7946:20094;;8686:58;;;7946:20094;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;-1:-1:-1;7946:20094:66;8615:65;7946:20094;;;;-1:-1:-1;7946:20094:66;;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;:::i;:::-;;672:11:72;-1:-1:-1;;;;;7946:20094:66;650:10:72;:34;646:63;;1311:2457:97;;;;;;;;;;;;;;;;;7946:20094:66;1311:2457:97;;7946:20094:66;1311:2457:97;;;;;;;;;7946:20094:66;1311:2457:97;;;;;;;;;;;-1:-1:-1;1311:2457:97;;;;;;;;;;;;;;;;;;;;;;7946:20094:66;1311:2457:97;;1713:6:68;1311:2457:97;;;;;;1713:6:68;:::i;:::-;7946:20094:66;;;:::i;1311:2457:97:-;;-1:-1:-1;1311:2457:97;7946:20094:66;1311:2457:97;;;;;;;;;;;7946:20094:66;1311:2457:97;;;;;;;;;;;;;;;;;;;;;;;;;;;;646:63:72;693:16;;;-1:-1:-1;693:16:72;7946:20094:66;-1:-1:-1;693:16:72;7946:20094:66;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;924:20:140;7946:20094:66;;924:20:140;7946:20094:66;;924:20:140;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;924:20:140;7946:20094:66;;;;;-1:-1:-1;7946:20094:66;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;;;;;;;;;;924:20:140;7946:20094:66;;;;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;;:::i;:::-;;;;;;;;;;2807:8:71;2785:10;;2807:8;:::i;7946:20094:66:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;;7946:20094:66;;;:::i;:::-;;-1:-1:-1;7946:20094:66;;;;;;462:13:73;;-1:-1:-1;477:15:73;;;;;;7946:20094:66;;;;;;;:::i;494:3:73:-;-1:-1:-1;578:7:73;;;;;;:::i;:::-;7946:20094:66;;;;;;;;;:::i;:::-;551:35:73;559:4;;551:35;;;;:::i;:::-;605:8;;601:182;;797:19;7946:20094:66;797:19:73;;;;;:::i;:::-;;;;;;:::i;:::-;;7946:20094:66;462:13:73;;601:182;7946:20094:66;680:89:73;;;;;7946:20094:66;;;;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;10202:24;:11;:24;:::i;:::-;10198:62;;10000:35;2481:10:75;;10000:35:66;:::i;:::-;9999:36;9995:68;;2529:7:75;;;:::i;7946:20094:66:-;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;:::i;:::-;10202:11;;;:24;:11;:24;:::i;:::-;10198:62;;3073:20:140;3081:12;;;;:::i;3073:20::-;-1:-1:-1;;;;;7946:20094:66;;;;3065:43:140;;3073:20;;3065:43;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;;3119:46:140;3127:16;;;3119:46;:::i;:::-;3197:10;;:18;:56;;;;7946:20094:66;3197:89:140;;;;7946:20094:66;3176:150:140;;;:::i;:::-;3526:16;;;:::i;:::-;7946:20094:66;;-1:-1:-1;;7946:20094:66;;;3559:14:140;;;:::i;:::-;7946:20094:66;;;;;;3596:17:140;:12;;;;:::i;:17::-;7946:20094:66;3631:15:140;;;:::i;7946:20094:66:-;-1:-1:-1;;;;;;;;;;;;3662:22:140;;27044:32:66;:16;;;:::i;:32::-;27040:54;;7946:20094;4305:14:140;:19;:172;;;;;7946:20094:66;4284:235:140;;;:::i;4305:172::-;7946:20094:66;;;-1:-1:-1;7946:20094:66;4344:68:140;7946:20094:66;;;;;;;;;;;;4344:68:140;;3197:10;7946:20094:66;4344:68:140;;;:::i;:::-;;;;;;;;;4284:235;4344:68;-1:-1:-1;4344:68:140;;;4305:172;-1:-1:-1;;;;;;;7946:20094:66;-1:-1:-1;;;4344:133:140;4305:172;;;;;;4344:68;;;;7946:20094:66;4344:68:140;7946:20094:66;4344:68:140;;;;;;;:::i;:::-;;;;27040:54:66;27091:2;;;:::i;:::-;27040:54;;3197:89:140;3271:15;3176:150;3257:29;3271:15;;;;:::i;3257:29::-;3197:10;3257:29;3197:89;;;;:56;:10;3219:34;;3197:10;3219:22;;;:::i;:34::-;3197:56;;7946:20094:66;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;;-1:-1:-1;;;10381:60:66;;10427:4;7946:20094;10381:60;;7946:20094;;;;;;;;-1:-1:-1;7946:20094:66;10381:60;7946:20094;10401:15;-1:-1:-1;;;;;7946:20094:66;10381:60;;;;;;-1:-1:-1;10381:60:66;;;7946:20094;;;;;;;;;;:::i;10381:60::-;;;;-1:-1:-1;10381:60:66;;;;;;:::i;:::-;;;7946:20094;;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10381:60;;7946:20094;;;;;;-1:-1:-1;;7946:20094:66;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;661:64:100;7946:20094:66;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;411:41:72;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;;;;;;;661:64:100;-1:-1:-1;;;;;7946:20094:66;285:55:78;;361:10;-1:-1:-1;;;;;;;;;;;522:63:100;9426:15:66;;:26;9422:63;;7946:20094;;-1:-1:-1;;;1162:30:68;;7946:20094:66;;1162:30:68;;7946:20094:66;-1:-1:-1;7946:20094:66;;;;;;;;;:::i;:::-;1162:30:68;7946:20094:66;;1162:11:68;-1:-1:-1;;;;;7946:20094:66;1162:30:68;;;;;;;;7946:20094:66;404:10:78;;:::i;1162:30:68:-;;;-1:-1:-1;1162:30:68;;;;;;:::i;:::-;;;7946:20094:66;;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1162:30:68;;;9422:63:66;9461:24;;;-1:-1:-1;9461:24:66;7946:20094;;;-1:-1:-1;9461:24:66;7946:20094;;;;;;-1:-1:-1;;7946:20094:66;;;;;;1897:68:140;7946:20094:66;;;;;:::i;:::-;;;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;-1:-1:-1;7946:20094:66;;;1897:68:140;7946:20094:66;;;;;1897:68:140;:::i;:::-;7946:20094:66;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;;;-1:-1:-1;;7946:20094:66;;;;:::o;:::-;;;;;;;;;;;;;;;1089:20:102;7946:20094:66;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;-1:-1:-1;;7946:20094:66;;;;:::o;:::-;;;;;;;;:::i;:::-;-1:-1:-1;7946:20094:66;;:::o;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;7946:20094:66;;;;:::o;:::-;;;:::o;635:23:75:-;;;-1:-1:-1;;;;;;635:23:75;-1:-1:-1;;;;;7946:20094:66;;;635:23:75;;;;;;:::o;:::-;;;;;;7946:20094:66;;635:23:75;;;;;;;;:::i;1388:241:70:-;1536:13;1553:16;1536:33;1553:16;;1572:24;1388:241;:::o;1536:86::-;7946:20094:66;;1816:66:70;;;7946:20094:66;1075:80:70;7946:20094:66;;1839:12:70;7946:20094:66;1075:80:70;;7946:20094:66;1536:13:70;1075:80;;;7946:20094:66;1876:4:70;1075:80;;;7946:20094:66;1075:80:70;1816:66;;;;;;:::i;:::-;7946:20094:66;1806:77:70;;1388:241;:::o;7946:20094:66:-;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;;;-1:-1:-1;;;7946:20094:66;;;;;;;1327:149:140;-1:-1:-1;7946:20094:66;;;1427:8:140;7946:20094:66;;;;;;-1:-1:-1;;;;;7946:20094:66;;1410:59:140;1418:36;;;1410:59;:::i;27144:201:66:-;-1:-1:-1;7946:20094:66;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;27274:12;7946:20094;;;-1:-1:-1;7946:20094:66;;;;;1866:90:102;-1:-1:-1;7946:20094:66;27315:8;7946:20094;;;-1:-1:-1;7946:20094:66;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;;27144:201;:::o;7946:20094::-;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;:::o;:::-;;;;;;;:::o;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::o;527:274:77:-;7946:20094:66;;-1:-1:-1;;;642:41:77;;7946:20094:66;;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;642:41:77;;7946:20094:66;;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;642:41:77;;7946:20094:66;;;;642:11:77;7946:20094:66;642:41:77;;7946:20094:66;;642:41:77;;;527:274;-1:-1:-1;638:157:77;;762:22;769:15;762:22;:::o;642:41::-;;;;;7946:20094:66;642:41:77;7946:20094:66;642:41:77;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;993:141:74;1034:10;1056:5;-1:-1:-1;;;;;7946:20094:66;1034:28:74;;;:66;;993:141;1030:97;;993:141::o;1030:97::-;1109:18;;;;;;;;1034:66;-1:-1:-1;1034:10:74;1088:11;-1:-1:-1;;;;;7946:20094:66;1066:34:74;;1034:66;;661:303:80;;830:1;7946:20094:66;;;;;;;;;;;-1:-1:-1;7946:20094:66;869:6:80;7946:20094:66;;;-1:-1:-1;7946:20094:66;;765:1:80;7946:20094:66;-1:-1:-1;7946:20094:66;;;;-1:-1:-1;7946:20094:66;;;;869:29:80;7946:20094:66;;;912:13:80;:18;908:49;;661:303::o;908:49::-;939:18;;;-1:-1:-1;939:18:80;;-1:-1:-1;939:18:80;3768:156:71;;7946:20094:66;-1:-1:-1;7946:20094:66;3849:11:71;7946:20094:66;;3849:25:71;7946:20094:66;;-1:-1:-1;7946:20094:66;3849:25:71;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;3889:28:71;-1:-1:-1;;3889:28:71;3768:156::o;1947:745:70:-;;2155:18;;:::i;:::-;2183:503;;;;-1:-1:-1;;;2183:503:70;;;;;;;;;;;;;;;;;;;;;;;;;;1947:745::o;7946:20094:66:-;;;;;;;;;;;;;;;;;:::o;625:68:137:-;7946:20094:66;;;625:68:137;;;;;;;;;7946:20094:66;;625:68:137;7946:20094:66;625:68:137;;7946:20094:66;625:68:137;;;;:::o;:::-;;:::i;:::-;;1043:2;625:68;;;;1043:2;625:68;;:::o;700:1109::-;;863:25;;;;933:2;913:22;;933:2;;964:41;1429:24;964:41;1429:24;964:41;1027:20;1033:13;;964:41;-1:-1:-1;964:41:137;;;;;:::i;:::-;955:50;;1033:13;;:::i;:::-;;-1:-1:-1;;;;;;625:68:137;;;1033:13;625:68;;;;1027:20;909:490;;7946:20094:66;;1429:24:137;;;;625:68;;;;7946:20094:66;625:68:137;;;;;7946:20094:66;;;;625:68:137;;;;;;;7946:20094:66;625:68:137;7946:20094:66;625:68:137;1429:24;;;;;;;;;;;;-1:-1:-1;1429:24:137;-1:-1:-1;;;;;7946:20094:66;;1471:20:137;;1467:51;;-1:-1:-1;;;;;7946:20094:66;1536:23:137;1532:51;;700:1109::o;1532:51::-;1568:15;;;-1:-1:-1;1568:15:137;;-1:-1:-1;1568:15:137;1467:51;1500:18;;;-1:-1:-1;1500:18:137;;-1:-1:-1;1500:18:137;909:490;1072:22;1092:2;1072:22;;1092:2;;1429:24;1180:41;;;-1:-1:-1;1180:41:137;1429:24;1180:41;;;;:::i;:::-;1170:51;;;-1:-1:-1;;;;;1243:19:137;;;1284:30;;626:66;7946:20094:66;1284:30:137;:::i;:::-;1068:331;909:490;;1068:331;1360:24;;;-1:-1:-1;1360:24:137;;-1:-1:-1;1360:24:137;859:944;7946:20094:66;;1634:57:137;7946:20094:66;1634:57:137;7946:20094:66;;;;;;;;;;;;;1634:57:137;;;;;;:::i;:::-;;;-1:-1:-1;;;;;7946:20094:66;1634:57:137;;;;;;;-1:-1:-1;1634:57:137;;;859:944;-1:-1:-1;;;;;;;7946:20094:66;-1:-1:-1;;;1709:48:137;1705:87;;700:1109::o;1705:87::-;1766:26;;;-1:-1:-1;1766:26:137;1634:57;-1:-1:-1;1766:26:137;1634:57;;;;;;;;;;;;;;:::i;:::-;;;;27666:372:66;;;15392:25:54;27666:372:66;357:173:63;27666:372:66;2447:609:50;;;;;;;;;;;;;;;27903:4:66;2447:609:50;;-1:-1:-1;2447:609:50;;;;;;;;;;;;;;;;;357:173:63;15392:25:54;:::i;:::-;2447:609:50;1100:1:54;;;;;;;2447:609:50;7946:20094:66;;2447:609:50;15672:45:54;;;7946:20094:66;;;1100:1:54;;;7946:20094:66;;;;12432:22:54;;2447:609:50;;15672:45:54;7946:20094:66;1100:1:54;;;15672:45;1100:1;15672:45;7946:20094:66;15662:56:54;;2447:609:50;7946:20094:66;;;;;;;;12432:22:54;;;;;7946:20094:66;;;;;;;;12432:22:54;;7946:20094:66;27971:11;-1:-1:-1;;;;;7946:20094:66;12432:22:54;;;;;;;-1:-1:-1;12432:22:54;;;27666:372:66;-1:-1:-1;;;;;;7946:20094:66;;27666:372::o;12432:22:54:-;;;;2447:609:50;12432:22:54;2447:609:50;12432:22:54;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;417:66:46;;;;;;;;;;;:::o;2217:141:58:-;7946:20094:66;;-1:-1:-1;;;2305:39:58;;417:66:46;2305:39:58;;;7946:20094:66;;;;;;2305:39:58;;7946:20094:66;;-1:-1:-1;;;;;7946:20094:66;2305:39:58;;;;;;;-1:-1:-1;2305:39:58;;;2217:141;2305:46;;;2217:141;:::o;2305:39::-;;;;7946:20094:66;2305:39:58;7946:20094:66;2305:39:58;;;;;;;:::i;:::-;;;;7946:20094:66;;;;:::o;:::-;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;-1:-1:-1;;;;;;7946:20094:66;;;:::o;2550:800:75:-;-1:-1:-1;;;;;2634:19:75;;;;:::i;:::-;7946:20094:66;2668:28:75;;;2664:56;;-1:-1:-1;7946:20094:66;;;26686:12;7946:20094;;;;;;;-1:-1:-1;;2966:84:102;7946:20094:66;;;2773:19:75;;;:::i;7946:20094:66:-;2807:32:75;;2803:480;;2550:800;3298:45;655:1;3298:45;;2550:800::o;2803:480::-;3110:9;3122:19;3110:31;;;3106:73;;3197:64;;;;;7946:20094:66;;-1:-1:-1;;;3197:64:75;;;;;7946:20094:66;;;;-1:-1:-1;;7946:20094:66;;;;;;-1:-1:-1;;3197:64:75;;;;;2803:480;;;;3197:64;;;655:1;3197:64;;;:::i;:::-;;;;3106:73;3143:34;:::i;2664:56::-;2705:15;;;655:1;2705:15;;655:1;2705:15;3930:236:71;-1:-1:-1;;;;;4049:16:71;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;4038:27:71;;;7946:20094:66;4038:62:71;;;;3930:236;4038:121;;;;;4031:128;;3930:236;:::o;4038:121::-;7946:20094:66;;-1:-1:-1;4116:43:71;;7946:20094:66;-1:-1:-1;;;;;7946:20094:66;4133:16:71;;;:::i;:::-;7946:20094:66;-1:-1:-1;7946:20094:66;4116:16:71;7946:20094:66;;;-1:-1:-1;7946:20094:66;4116:43:71;:::i;:::-;7946:20094:66;;3930:236:71;:::o;4038:62::-;-1:-1:-1;7946:20094:66;;;4069:11:71;7946:20094:66;;;;;;-1:-1:-1;;;;;7946:20094:66;4069:31:71;;;;-1:-1:-1;4038:62:71;;4610:314:75;4713:18;;:23;4709:67;;4786:132;4735:1;4786:132;;;;;;;;;;;;4610:314;:::o;4709:67::-;4738:25;;;4735:1;814:96:39;;4735:1:75;814:96:39;3508:1663;3741:1424;;-1:-1:-1;;;3741:1424:39;;-1:-1:-1;;;;;3741:1424:39;;;;;;;-1:-1:-1;;;3741:1424:39;;;;;;;;;7946:20094:66;3741:1424:39;7946:20094:66;3741:1424:39;-1:-1:-1;;3741:1424:39;;;;;;;;;;;;;;-1:-1:-1;3741:1424:39;;;;;;;;;;;;;2220:29:75;;;3741:1424:39;;;;;;;3508:1663;3741:1424;;-1:-1:-1;;;3741:1424:39;;-1:-1:-1;;;;;3741:1424:39;;;;;;;-1:-1:-1;;;3741:1424:39;;;;;;;;;7946:20094:66;3741:1424:39;7946:20094:66;3741:1424:39;-1:-1:-1;;3741:1424:39;;;;;;;;;;;;;;-1:-1:-1;3741:1424:39;;;;;;;;;;;;;4268:28:62;;;3741:1424:39;;;;;;;3508:1663;3741:1424;;-1:-1:-1;;;3741:1424:39;;-1:-1:-1;;;;;3741:1424:39;;;;;;;-1:-1:-1;3741:1424:39;;;;;;;;;;;7946:20094:66;3741:1424:39;7946:20094:66;3741:1424:39;-1:-1:-1;;3741:1424:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2163:29:62;;;3741:1424:39;;;;;;;3508:1663;3741:1424;;-1:-1:-1;;;3741:1424:39;;-1:-1:-1;;;;;3741:1424:39;;;;;;;-1:-1:-1;;;3741:1424:39;;;;;;;;;7946:20094:66;3741:1424:39;7946:20094:66;3741:1424:39;-1:-1:-1;;3741:1424:39;;;;;;;;;;;;;;-1:-1:-1;3741:1424:39;;;;;;;;;;;;;4012:33:75;;;3741:1424:39;;;;;;;2829:198:71;7946:20094:66;2979:41:71;2829:198;7946:20094:66;;;;;;;;-1:-1:-1;7946:20094:66;2920:16:71;7946:20094:66;;2920:33:71;7946:20094:66;;-1:-1:-1;7946:20094:66;2920:33:71;:::i;:::-;7946:20094:66;;-1:-1:-1;;7946:20094:66;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7946:20094:66;;2979:41:71;2829:198::o;474:117:100:-;7946:20094:66;-1:-1:-1;;;;;;;;;;;522:63:100;474:117::o;1752:426:68:-;;;;;1907:27;;;1903:61;;2002:1;2031:13;2005:24;;;;;;7946:20094:66;2083:20:68;2141:19;625:68:137;;;2141:19:68;;;;;:::i;:::-;2083:20;;625:68:137;;2141:19:68;:::i;:::-;7946:20094:66;1980:23:68;;2005:24;;;;;;;1752:426::o;1903:61::-;1943:21;;;;;;;;753:163:39;3143:23:75;;;814:96:39;;;;;11093:4967:66;;;;1272:4:95;11195:23:66;;1272:4:95;;;11238:36:66;;;11418;;;16177:795;11418:36;;:::i;:::-;16177:795;;;;;;;;:::i;11234:2586::-;735:4:95;11584:48:66;;735:4:95;;11757:48:66;;;17060:1303;11757:48;;:::i;:::-;17060:1303;;;;;:::i;11580:2240::-;562:4:95;11934:36:66;;562:4:95;;12114:36:66;;;18480:716;12114:36;;:::i;:::-;18480:716;;;;;;;;:::i;11930:1890::-;614:4:95;12280:31:66;;614:4:95;;12671:25:66;;12786:20;12671:25;12808:8;12671:25;;:::i;:::-;12786:20;;;;;;;;;;;;:::i;:::-;12808:8;;:::i;12276:1544::-;799:4:95;12866:43:66;;799:4:95;;13230:35:66;;13354:20;13230:35;13376:8;13230:35;;:::i;:::-;13354:20;;;;;;;;;:::i;:::-;13376:8;;:::i;12862:958::-;13434:31;666:4:95;13434:31:66;;13430:390;;12862:958;;16028:25;12862:958;;11191:4821;-1:-1:-1;;;16028:25:66;;;7946:20094;;;;13430:390;21317:1611;13690:25;;;;;;:::i;:::-;21317:1611;;;;;:::i;11191:4821::-;1371:4:95;13854:29:66;;1371:4:95;;13946:27:66;;;14014:9;13946:27;;:::i;:::-;14014:9;;:::i;13850:2152::-;1574:4:95;14073:27:66;;1574:4:95;;14182:37:66;;14269:24;14182:37;14269:24;14182:37;;:::i;:::-;14269:24;;;;;:::i;:::-;;;:::i;14069:1933::-;1272:4:95;14343:24:66;;1272:4:95;;14443:37:66;14540:34;14443:37;14516:22;14443:37;14540:34;14443:37;;:::i;:::-;14516:22;;;;;;;;:::i;:::-;14540:34;;:::i;:::-;;;:::i;14339:1663::-;1428:4:95;14624:22:66;;1428:4:95;;14723:40:66;14797:24;14723:40;14823:32;14723:40;14823:32;14723:40;;:::i;:::-;14797:24;;;;;;:::i;:::-;14823:32;;:::i;:::-;;;:::i;14620:1382::-;1628:4:95;14905:32:66;;1628:4:95;;14977:23:66;;;15025:8;14977:23;;:::i;:::-;15025:8;:::i;14901:1101::-;1680:4:95;15083:31:66;;1680:4:95;;15175:33:66;;;15249:9;15175:33;;:::i;:::-;15249:9;;:::i;15079:923::-;1724:4:95;15308:23:66;;1724:4:95;;15385:33:66;;15453:17;15385:33;15453:17;15385:33;;:::i;:::-;15453:17;;;;:::i;:::-;;;:::i;15304:698::-;1768:4:95;15520:22:66;;1768:4:95;;15579:22:66;;15625:89;15579:22;15625:89;15579:22;;:::i;:::-;15706:5;-1:-1:-1;;;;;7946:20094:66;;15625:89;:::i;:::-;;:::i;15516:486::-;15764:24;1813:4:95;15764:24:66;;15760:242;;15516:486;;16028:25;15516:486;;11191:4821;;15760:242;15873:89;15825:22;;15873:89;15825:22;;;;:::i;:::-;15916:5;-1:-1:-1;;;;;7946:20094:66;15873:89;:::i;:::-;;:::i;14252:322:97:-;;14347:221;-1:-1:-1;14347:221:97;;;14252:322;:::o;4841:957:69:-;5153:38;4841:957;5185:4;5153:38;;:::i;:::-;-1:-1:-1;;;5205:42:69;;5201:150;;5364:36;;5360:349;;4841:957;5722:16;;5718:50;;4841:957;:::o;5718:50::-;5747:21;;;7946:20094:66;5747:21:69;;7946:20094:66;5747:21:69;5360:349;5670:28;;;7946:20094:66;5670:28:69;:::i;:::-;5360:349;;;5201:150;5326:14;;;:::o;4841:957::-;;5153:38;5185:4;7946:20094:66;5153:38:69;:::i;:::-;678:66:94;-1:-1:-1;;;5205:42:69;;5201:150;;5364:36;;5360:349;;4841:957;5722:16;;;5718:50;;4841:957;:::o;5360:349::-;5670:28;;;;;:::i;:::-;5360:349;;;;5201:150;5326:14;;;;:::o;890:97:74:-;946:10;942:38;;890:97;:::o;942:38::-;958:5;-1:-1:-1;;;;;7946:20094:66;;958:22:74;;;;;955:1;7946:20094:66;958:22:74;7946:20094:66;;;;;;;;;;;;958:22:74;;;;;7946:20094:66;958:22:74;;;;;;;;890:97;:::o;958:22::-;955:1;958:22;;;:::i;698:103::-;752:10;748:46;;698:103;:::o;748:46::-;764:5;-1:-1:-1;;;;;7946:20094:66;764:30:74;;;;;761:1;7946:20094:66;764:30:74;7946:20094:66;;;;;;;;;764:30:74;;;;;;;;;;698:103;:::o;12574:447:97:-;;;12729:286;-1:-1:-1;12729:286:97;;;;;;;;12574:447;:::o;2964:323:68:-;-1:-1:-1;;;;;7946:20094:66;;;3052:39:68;;885:1:94;;661:64:100;;-1:-1:-1;;;;;;;;;;;661:64:100;3107:18:68;:::o;3048:233::-;1034:1:94;3146:41:68;1034:1:94;;3218:4:68;;3203:20;:::o;24828:172:66:-;;24912:24;;;:::i;:::-;24950:11;;24946:47;;24828:172;;;:::o;24946:47::-;24985:7;;;:::i;24332:400::-;;24427:24;;;:::i;:::-;24465:10;;;24461:23;;24581:18;;;;24615:11;-1:-1:-1;;;;;7946:20094:66;;24615:34;;;;;7946:20094;;-1:-1:-1;;;24615:34:66;;-1:-1:-1;;;;;7946:20094:66;;;24615:34;;;7946:20094;;;;;;;;;24474:1;;7946:20094;;;;;;24474:1;;24615:34;;;;;;;;24577:149;24332:400::o;24615:34::-;;;24474:1;24615:34;;;:::i;24577:149::-;24709:5;499:12:78;-1:-1:-1;;;;;;;;;;;661:64:100;24709:5:66;;:::i;24461:23::-;24477:7;;;:::o;7946:20094::-;-1:-1:-1;;;7946:20094:66;;;;;;;:::o;23454:661::-;23712:50;23746:4;;23712:11;:50;:::i;:::-;661:64:100;-1:-1:-1;;;;;;;;;;;661:64:100;-1:-1:-1;23862:17:66;;-1:-1:-1;;;24004:14:66;23996:23;24004:14;;:::i;23858:251::-;24075:22;;;;:::i;13116:531:97:-;;13294:347;-1:-1:-1;13294:347:97;;;;;;;;;;;;;13116:531;:::o;4181:249:69:-;;4286:36;;;4345:24;;;;:::i;4282:142::-;4400:13;;:::o;1270:173::-;;1362:11;;1358:24;;1391:11;-1:-1:-1;;;;;7946:20094:66;1391:45:69;;;;;7946:20094:66;;-1:-1:-1;;;1391:45:69;;-1:-1:-1;;;;;7946:20094:66;;;1391:45:69;;;7946:20094:66;;;;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;1391:45:69;;7946:20094:66;;-1:-1:-1;;1391:45:69;;;;;;;;1270:173;:::o;1391:45::-;;;1372:1;1391:45;;;:::i;:::-;7946:20094:66;;;;;1270:173:69:o;3344:134:68:-;3430:41;;;-1:-1:-1;;;;;;;;;;;661:64:100;3344:134:68;:::o;3430:41::-;3466:4;3344:134;:::o;3760:359:69:-;;-1:-1:-1;;;3867:42:69;;7946:20094:66;;3932:24:69;;;;:::i;3863:250::-;3977:36;;;4036:22;;;;:::i;1766:346::-;;1856:11;;1852:24;;1886:11;-1:-1:-1;;;;;7946:20094:66;;1886:26:69;;;;;7946:20094:66;;-1:-1:-1;;;1886:26:69;;-1:-1:-1;;;;;7946:20094:66;;1886:26:69;;;7946:20094:66;-1:-1:-1;7946:20094:66;;;-1:-1:-1;1886:26:69;;;;;;;;;1766:346;-1:-1:-1;;;;;;7946:20094:66;;1926:24:69;;7946:20094:66;;1966:35:69;7946:20094:66;1886:26:69;7946:20094:66;;;;;;;;;1966:35:69;;;;;;;;;;1922:184;1766:346::o;1966:35::-;;;;;;;;;;;;;:::i;:::-;;890:97:74:o;1922:184:69:-;1866:1;2054:6;2075:20;2054:6;;;;;:::i;:::-;1886:26;7946:20094:66;;;;;;;;;2075:20:69;;;;;;;;;;1922:184;1766:346::o;1886:26::-;;;1866:1;1886:26;;;:::i;:::-;;;;23226:222:66;;23351:25;23415;23226:222;23351:25;;;;:::i;:::-;23415;;;:::i;22934:286::-;;23189:23;22934:286;23128:23;-1:-1:-1;;;;;;;;;;;661:64:100;23128:23:66;;;;;:::i;:::-;23189;;;:::i;7339:532:97:-;;;7609:217;;;;;;;;;;;;7847:17;15527:941;;;;;;;;;;;;;;7609:217;15527:941;;;;;;;;;;;;7836:28;7339:532;:::o;9919:162:66:-;;;;;-1:-1:-1;;;;;;;;;;;661:64:100;10000:35:66;;;;:::i;:::-;9999:36;9995:68;;21536:31;;;;:::i;:::-;2057:106:102;;;;;;;;2264;;;;2057;2264;21606:67:66;21598:76;21606:67;;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;21598:76;21701:16;;;;:::i;:::-;21764:21;-1:-1:-1;21764:21:66;;;:::i;:::-;7946:20094;21870:7;;;:::i;:::-;-1:-1:-1;21991:13:66;;21987:774;;9919:162;2478:89:102;;;;;;;;;;22819:102:66;;9919:162;;;;;;:::o;22819:102::-;22909:11;;;:::i;:::-;22819:102;;;;;;;21987:774;22210:237;22371:20;;;;;;22493:54;22371:20;22210:237;22369:23;22371:20;;;:::i;:::-;22369:23;:::i;:::-;1089:20:102;22210:237:66;1089:20:102;;:::i;:::-;22210:237:66;;7946:20094;;;;;;22210:237;7946:20094;;2264:106:102;22210:237:66;;7946:20094;;22210:237;;;;1089:20:102;22210:237:66;;;1089:20:102;;;7946:20094:66;;-1:-1:-1;;;22493:54:66;;7946:20094;;;;;22493:54;;;;:::i;:::-;;7946:20094;-1:-1:-1;22493:11:66;-1:-1:-1;;;;;7946:20094:66;22493:54;;;;;;-1:-1:-1;;;22493:54:66;;;21987:774;22461:86;;22682:28;22461:86;22739:10;22461:86;;22682:28;;:::i;:::-;22739:10;:::i;:::-;21987:774;;;;;;;;;22493:54;22682:28;22493:54;;22739:10;22493:54;;;;;;22210:237;22493:54;22210:237;22493:54;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;9995:68;-1:-1:-1;;;;10044:19:66;;;-1:-1:-1;;;;;7946:20094:66;;;;10044:19;7946:20094;;;10044:19;1089:20:102;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::i;:::-;;;7946:20094:66;;1089:20:102;;;7946:20094:66;1089:20:102;;;;7946:20094:66;;1089:20:102;;;7946:20094:66;1089:20:102;;;;;;;7946:20094:66;1089:20:102;;;;;7946:20094:66;1089:20:102;;;;;;;;:::i;6367:871:97:-;;;6799:393;;;;;;;;;;;;;;;;;;;;;;;;;7213:18;15527:941;;;;;;;;;;;;;;;;;;;;;;;;;;;7202:29;6367:871;:::o;7946:20094:66:-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;:::o;20457:795::-;;;21236:8;20457:795;;;;;;20731:36;357:173:63;7946:20094:66;;;;:::i;:::-;357:173:63;20731:11:66;:36;:::i;:::-;20952:38;;;20873:273;20952:38;;;:::i;:::-;21004;;;;:::i;:::-;21056:33;7946:20094;;;;;:::i;:::-;21056:33;:::i;:::-;21118:17;;;;7946:20094;;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;21103:33;;;:::i;:::-;20873:273;;:::i;:::-;7946:20094;21236:8;;:::i;5287:956:97:-;;;5740:458;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6218:18;15527:941;;;;;;;;;;;;;;;;;;;;;;;;;;;6207:29;5287:956;:::o;7946:20094:66:-;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;19202:1249::-;;;;;;;;;;19631:13;7946:20094;;;;;19631:13;7946:20094;;;;;;;;5317:16:140;5309:46;5317:16;;;5309:46;:::i;:::-;-1:-1:-1;7946:20094:66;;;5374:8:140;7946:20094:66;;;;;;-1:-1:-1;;;;;7946:20094:66;;;19756:61;20301:81;5509:14:140;7946:20094:66;5509:14:140;;20433:10:66;5509:14:140;5546:17;5509:14;;20333:20:66;5509:14:140;;:::i;:::-;7946:20094:66;;;;;;5546:12:140;;;:::i;:17::-;-1:-1:-1;;;;;;;;;;;;5579:28:140;;;7946:20094:66;;;;:::i;:::-;3670:266:102;3442:500;357:173:63;7946:20094:66;;357:173:63;;7946:20094:66;3670:266:102;;;;;7946:20094:66;3670:266:102;;;;;;;;3442:500;;19756:61:66;19827:21;;;;;:::i;:::-;7946:20094;-1:-1:-1;;1866:90:102;;20098:16:66;7946:20094;;20098:16;1866:90:102;20098:16:66;:::i;:::-;:28;7946:20094;;;;;;;;5374:8:140;7946:20094:66;20098:33;20094:90;;19202:1249;20333:20;;;:::i;:::-;7946:20094;;;;:::i;:::-;20301:81;;:::i;:::-;20433:10;;:::i;20094:90::-;20147:16;7946:20094;20147:16;;:::i;:::-;7946:20094;:::i;:::-;20094:90;;;;7946:20094;;;-1:-1:-1;;;7946:20094:66;;;;;;;;;;;;-1:-1:-1;;;7946:20094:66;;;;;;;3884:614:97;;;4178:275;;;;;;;;;;;;;;;;;4474:17;15527:941;;;;;;;;;;;;;;4178:275;15527:941;;;;;;;;;;;;4463:28;3884:614;:::o;9919:162:66:-;;;;;;;;;-1:-1:-1;;;;;;;;;;;661:64:100;10000:35:66;;;;:::i;:::-;9999:36;9995:68;;18748:31;;19121:28;18748:31;;18944:20;19178:10;18748:31;;18942:23;18748:31;18910:84;18748:31;;:::i;:::-;18944:20;;;;:::i;18942:23::-;18910:84;;:::i;:::-;19121:28;;:::i;9919:162::-;;;;;;;;-1:-1:-1;;;;;;;;;;;661:64:100;10000:35:66;;;;:::i;:::-;9999:36;9995:68;;17293:31;18345:10;17293:31;;18289:28;17293:31;;;18081:81;17293:31;;:::i;:::-;357:173:63;18113:20:66;17404:36;357:173:63;;;17404:11:66;:36;:::i;:::-;2057:106:102;;;17546:311:66;17633:45;2057:106:102;;;;;17633:45:66;:::i;:::-;2264:106:102;17696:45:66;2264:106:102;;;2057;2264;17696:45:66;:::i;:::-;7946:20094;;17759:33;;-1:-1:-1;;;;;7946:20094:66;17759:33;:::i;:::-;2264:106:102;17825:17:66;;7946:20094;-1:-1:-1;;;;;7946:20094:66;;;;;17810:33;;-1:-1:-1;;;;;7946:20094:66;17810:33;:::i;17546:311::-;7946:20094;18113:20;:::i;18289:28::-;18345:10;:::i;9919:162::-;;;;;;;;;-1:-1:-1;;;;;;;;;;;661:64:100;10000:35:66;;;;:::i;:::-;9999:36;9995:68;;16445:31;;16898:28;16445:31;;16722:20;16954:10;16445:31;;;16690:81;16445:31;;:::i;:::-;16722:20;;;;:::i;14553:160:54:-;7946:20094:66;;14654:51:54;;;7946:20094:66;;;414:1:54;7946:20094:66;1100:1:54;;7946:20094:66;;14654:51:54;;;;;;:::i;4633:271:62:-;-1:-1:-1;;;;;7946:20094:66;;4732:24:62;;4779:13;;4772:20;:::o;4728:170::-;7946:20094:66;;-1:-1:-1;;;4830:57:62;;-1:-1:-1;;;;;7946:20094:66;;;4830:57:62;;;7946:20094:66;;;;;;4830:57:62;;7946:20094:66;;;4830:57:62;;;;;;;7946:20094:66;4830:57:62;;;4823:64;;:::o;4830:57::-;;;;7946:20094:66;4830:57:62;7946:20094:66;4830:57:62;;;;;;;:::i;2757:401:69:-;2864:50;2898:4;;2864:11;:50;:::i;:::-;2998:11;3008:1;2998:11;;2994:50;;3142:8;;;;:::i;2994:50::-;-1:-1:-1;;;3008:1:69;3018:26;;;-1:-1:-1;;;;;7946:20094:66;;;;3018:26:69;7946:20094:66;;;3018:26:69;4351:276:62;-1:-1:-1;;;;;7946:20094:66;;4439:24:62;;4486:21;;4479:28;:::o;4435:186::-;7946:20094:66;;-1:-1:-1;;;4545:65:62;;4604:4;4545:65;;;7946:20094:66;;4545:65:62;;7946:20094:66;;;;;;-1:-1:-1;;;;;7946:20094:66;4545:65:62;;;;;;;7946:20094:66;4545:65:62;;;4538:72;;:::o;1472:2873::-;;;;-1:-1:-1;;;;;7946:20094:66;;1769:24:62;;1809:163;-1:-1:-1;1809:163:62;;;2085:8;1809:163;;;;2085:8;;7946:20094:66;2085:8:62;2081:127;;1765:2574;1472:2873::o;2081:127::-;2163:29;:::i;1765:2574::-;2238:1774;;;-1:-1:-1;;;2238:1774:62;;-1:-1:-1;;;;;2238:1774:62;;;;;;;;;;;;;;;;-1:-1:-1;;2238:1774:62;-1:-1:-1;2238:1774:62;;-1:-1:-1;2238:1774:62;;;;;;;;;;;;;;;;;;;;;;;;;;4124:8;4120:209;;1765:2574;1472:2873::o;4120:209::-;-1:-1:-1;;;;;7946:20094:66;4268:28:62;:::i;3365:331:69:-;3474:50;3508:4;;3474:11;:50;:::i;:::-;3608:11;3618:1;3608:11;;3604:50;;3664:25;3365:331;:::o;3604:50::-;-1:-1:-1;;;3618:1:69;3628:26;;;-1:-1:-1;;;;;7946:20094:66;;;;3628:26:69;7946:20094:66;;;3628:26:69;1711:436:58;-1:-1:-1;;;;;1853:233:58;;;-1:-1:-1;1853:233:58;;;;;;;;;;;;;;;7946:20094:66;;-1:-1:-1;;;2117:21:58;;;;;7946:20094:66;;;;1853:233:58;7946:20094:66;;2117:21:58;;7946:20094:66;;;2117:21:58;;;;;;;-1:-1:-1;2117:21:58;;;2095:45;1711:436;:::o;25918:421:66:-;;;;-1:-1:-1;;;;;7946:20094:66;;26031:4;26014:22;26031:4;;26092:6;;-1:-1:-1;26078:11:66;-1:-1:-1;;;;;7946:20094:66;;26092:6;:::i;26010:323::-;7946:20094;26229:7;-1:-1:-1;;;;;7946:20094:66;26229:93;;;;;7946:20094;;-1:-1:-1;;;26229:93:66;;-1:-1:-1;;;;;7946:20094:66;;;26229:93;;;7946:20094;26265:11;7946:20094;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7946:20094:66;;;;;;-1:-1:-1;;26229:93:66;;;;;;;;26010:323;25918:421::o;5620:371:140:-;-1:-1:-1;7946:20094:66;;;5690:8:140;7946:20094:66;;;;;;-1:-1:-1;;;;;7946:20094:66;5713:42:140;5721:19;;;5713:42;:::i;:::-;7946:20094:66;;;5845:10:140;7946:20094:66;;;;;;;;;;;;5892:12:140;;;:::i;:::-;7946:20094:66;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;5922:15:140;;;:::i;:::-;7946:20094:66;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7946:20094:66;;5953:31:140;5620:371::o;1776:151:52:-;;1879:1;1848:13;1875:5;1871:49;;1776:151::o;1871:49::-;1882:25;;;1879:1;814:96:39;;1879:1:52;814:96:39;1070:396:60;1447:15;1070:396;1430:15;1183:220;;;;;;;1430:15;:::i;:::-;1183:220;;;;;;;1447:15;:::i;:::-;7946:20094:66;;;;;553:115:60;;1183:220;553:115;;1070:396;:::o;7946:20094:66:-;-1:-1:-1;;;;;7946:20094:66;;;3177:61:103;7946:20094:66;;;;;;:::o;954:846:103:-;;2052:83:60;;;1501:27:103;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;1501:40:103;-1:-1:-1;1497:144:103;;2241:89:60;;;;1654:27:103;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;1654:40:103;-1:-1:-1;1650:144:103;;954:846;;:::o;1650:144::-;1755:27;;;:::i;:::-;-1:-1:-1;;;1717:66:103;;;;;7946:20094:66;;;;-1:-1:-1;;;;;7946:20094:66;;;;;1717:66:103;3441:622:75;-1:-1:-1;7946:20094:66;;;3672:10:75;7946:20094:66;;;;;;;-1:-1:-1;;;;;7946:20094:66;;3921:8:75;;3800:106;;3441:622;;;;;;;;;7946:20094:66;;;:::i;:::-;;;-1:-1:-1;;;7946:20094:66;3819:86:75;;;;;;7946:20094:66;;;;-1:-1:-1;;;;;7946:20094:66;;;;;;;;;;;;;;;;;;;;;3819:86:75;;;;7946:20094:66;3819:86:75;:::i;3921:8::-;3917:140;;3441:622;:::o;3917:140::-;4012:33;:::i;1580:996:54:-;;;1841:25;7946:20094:66;1580:996:54;1841:25;:::i;:::-;7946:20094:66;;-1:-1:-1;;;1892:27:54;;;;;7946:20094:66;;;;;;;1892:27:54;;7946:20094:66;;-1:-1:-1;;;;;7946:20094:66;1892:27:54;;;;;;;-1:-1:-1;1892:27:54;;;1580:996;-1:-1:-1;;;;;;2147:423:54;;;7946:20094:66;2147:423:54;;;;;;;;;;;;;;;;;;1580:996::o;1892:27::-;;;;;7946:20094:66;1892:27:54;7946:20094:66;1892:27:54;;;;;;;:::i;:::-;;;;;3149:4018:57;3297:459;;;;;;;;;;1317:6;3774:35;;3770:78;;6424:727;4356:13;;4383:160;;;;;7946:20094:66;4383:160:57;;;4560:13;3297:459;4560:13;;4556:83;;3149:4018;4667:3;4657:13;;4653:83;;3149:4018;4764:3;4754:13;;4750:83;;3149:4018;4861:4;4851:14;;4847:84;;3149:4018;4959:4;4949:14;;4945:84;;3149:4018;5057:4;5047:14;;5043:84;;3149:4018;4383:160;5145:14;;5141:84;;3149:4018;5253:5;5243:15;;5239:85;;3149:4018;5352:5;5342:15;;5338:85;;3149:4018;5451:5;5441:15;;5437:85;;3149:4018;5550:5;5540:15;;5536:85;;3149:4018;5649:6;5639:16;;5635:86;;3149:4018;5749:6;5739:16;;5735:86;;3149:4018;5849:6;5839:16;;5835:86;;3149:4018;5949:6;5939:16;;5935:86;;3149:4018;6049:7;6039:17;;6035:86;;3149:4018;6149:7;6139:17;;6135:85;;3149:4018;6248:7;6238:17;;6234:83;;3149:4018;6345:7;6335:17;6331:78;;3149:4018;-1:-1:-1;;6424:727:57;;3149:4018;6424:727;4959:4;6424:727;3149:4018;:::o;6424:727::-;-1:-1:-1;;6424:727:57;;;6331:78;6376:25;1317:6;;;7946:20094:66;;;6331:78:57;;6234:83;6279:30;1317:6;;;7946:20094:66;;;6234:83:57;;6135:85;1317:6;6180:32;1317:6;7946:20094:66;;6135:85:57;;;6035:86;1317:6;6080:33;1317:6;7946:20094:66;;6035:86:57;;;5935;1317:6;5979:34;1317:6;7946:20094:66;;5935:86:57;;;5835;1317:6;5879:34;1317:6;7946:20094:66;;5835:86:57;;;5735;1317:6;5779:34;1317:6;7946:20094:66;;5735:86:57;;;5635;1317:6;5679:34;1317:6;7946:20094:66;;5635:86:57;;;5536:85;1317:6;5579:34;1317:6;7946:20094:66;;5536:85:57;;;5437;1317:6;5480:34;1317:6;7946:20094:66;;5437:85:57;;;5338;1317:6;5381:34;1317:6;7946:20094:66;;5338:85:57;;;5239;1317:6;5282:34;1317:6;7946:20094:66;;5239:85:57;;;5141:84;1317:6;5183:34;1317:6;7946:20094:66;;5141:84:57;;;5043;1317:6;5085:34;1317:6;7946:20094:66;;5043:84:57;;;4945;1317:6;4987:34;1317:6;7946:20094:66;;4945:84:57;;;4847;1317:6;4889:34;1317:6;7946:20094:66;;4847:84:57;;;4750:83;1317:6;4791:34;1317:6;7946:20094:66;;4750:83:57;;;4653;1317:6;4694:34;1317:6;7946:20094:66;;4653:83:57;;;4556;1317:6;4597:34;1317:6;7946:20094:66;;4556:83:57;;;3770:78;3843:4;;:::i;2870:901:99:-;;-1:-1:-1;;;;;7946:20094:66;;;;;;3106:29:99;3102:98;;2870:901;-1:-1:-1;;;;;7946:20094:66;;;;;;;3215:29:99;;7946:20094:66;;3272:61:99;;;;;;:::i;3211:554::-;7946:20094:66;;;;;;;-1:-1:-1;;;;;7946:20094:66;;-1:-1:-1;7946:20094:66;;;3419:60:99;;;;3514;3419;;;:::i;:::-;3514;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;3601:23:99;7946:20094:66;;;3601:49:99;3350:415;2870:901::o;3350:415::-;3693:61;;;;;;:::i;3102:98::-;3170:30;3137:63;3102:98;;;25111:739:66;;;;25466:217;25111:739;25404:311;1089:20:102;;:::i;:::-;2057:106;;;;;;7946:20094:66;;2057:106:102;2264;;;;2057;2264;25466:217:66;;;7946:20094;25466:217;;;;1089:20:102;25466:217:66;;;;1089:20:102;7946:20094:66;;;;;;;;;;25404:311;;;;;;:::i;:::-;;7946:20094;25466:217;25404:11;-1:-1:-1;;;;;7946:20094:66;25404:311;;;;;;;25466:217;;;25404:311;;;25111:739;25372:343;;;2478:89:102;;;25726:118:66;;25111:739;;;:::o;25726:118::-;25821:11;;;:::i;25404:311::-;;;;;;;25466:217;25404:311;25466:217;25404:311;;;;;;;:::i;:::-;;;;;;2210:1207:103;;2052:83:60;;;7946:20094:66;;2241:89:60;7946:20094:66;2241:89:60;3100:11:103;3110:1;3100:11;;:54;;;2210:1207;3096:153;;3262:11;;3110:1;3262:11;;:54;;;2210:1207;3258:153;;2210:1207;;:::o;3258:153::-;3389:8;3373:26;3389:8;3339:61;3389:8;;:::i;3373:26::-;-1:-1:-1;;;3110:1:103;3339:61;3177;3339;:::i;3262:54::-;3306:8;;;;:::i;:::-;-1:-1:-1;;;;;7946:20094:66;;;;;;3277:39:103;3262:54;;3096:153;3227:8;;3177:61;3227:8;;:::i;:::-;-1:-1:-1;;;3110:1:103;3177:61;-1:-1:-1;;;;;7946:20094:66;;3177:61:103;:::i;3100:54::-;-1:-1:-1;;;;;;3144:8:103;;;:::i;:::-;7946:20094:66;-1:-1:-1;;;;;7946:20094:66;;3115:39:103;3100:54;;1460:151:52;;7946:20094:66;;;1558:6:52;;;1554:50;;1460:151::o;1123:153::-;1204:1;7946:20094:66;;;1200:5:52;1196:49;;-1:-1:-1;;;;;7946:20094:66;;1123:153:52:o;1357:223:39:-;3811:20:57;;;1431:143:39;;;;;;;;;1850:420:99;2168:85;;:73;;1850:420;;-1:-1:-1;;;;;7946:20094:66;;;;;;2053:29:99;2049:98;;1850:420;335:27:41;;-1:-1:-1;;;;;7946:20094:66;;2168:73:99;:::i;:::-;:85;:::i;2049:98::-;2084:63;2049:98;;895:516;1313:81;;:69;;895:516;;;-1:-1:-1;;;;;7946:20094:66;;;;;;1098:29:99;1094:98;;895:516;1229:63;-1:-1:-1;;;;;7946:20094:66;;;;;;1229:63:99;:::i;:::-;335:27:41;;;-1:-1:-1;;;;;7946:20094:66;;1313:69:99;:::i;1094:98::-;;;;4069:535:75;4263:132;4069:535;;7946:20094:66;-1:-1:-1;7946:20094:66;4217:10:75;7946:20094:66;;;;;;;;-1:-1:-1;7946:20094:66;;;;;;4295:90:75;;;;7946:20094:66;4295:90:75;;;;;;7946:20094:66;;;;;;;;;;4295:90:75;;;;;;:::i;:::-;4263:132;;:::i;:::-;4410:8;4406:192;;4069:535;:::o;4406:192::-;7946:20094:66;3741:1424:39;-1:-1:-1;;;3741:1424:39;;;;;;;;;-1:-1:-1;;;4295:90:75;3741:1424:39;;;;7946:20094:66;3741:1424:39;;;7946:20094:66;3741:1424:39;;-1:-1:-1;;3741:1424:39;;;;7946:20094:66;3741:1424:39;;;;4295:90:75;3741:1424:39;;;;-1:-1:-1;3741:1424:39;;;;;;;;;;;;;4529:44:75;;;3741:1424:39;;;;;;;7946:20094:66;;;;:::o;741:4141:42:-;;1317:6:57;;;;;-1:-1:-1;;;;;741:4141:42;1347:147;;;;;;;;;;;;1619:19;1611:28;1619:19;;;1611:28;:::i;:::-;1720:10;1716:177;;335:27:41;;-1:-1:-1;;;335:27:41;2224:95:42;7946:20094:66;;;;2716:31:42;2811:94;;;3776:1;1317:6:57;3757:1:42;1317:6:57;3756:21:42;1317:6:57;;;3776:1:42;7946:20094:66;1317:6:57;;;;3776:1:42;7946:20094:66;1317:6:57;;;;3776:1:42;7946:20094:66;1317:6:57;;;;3776:1:42;7946:20094:66;1317:6:57;;;;3776:1:42;7946:20094:66;1317:6:57;;;;3776:1:42;7946:20094:66;1317:6:57;3254:96:42;;;;7946:20094:66;3254:96:42;;;2391:145;;;;;;1317:6:57;2391:145:42;;2977:82;3363:21;1317:6:57;741:4141:42;:::o;1716:177::-;1750:98;;;;1865:13;:::o;741:4141::-;1317:6:57;;;;741:4141:42;-1:-1:-1;;741:4141:42;;1347:147;;;;;;;;;;;;335:27:41;;7946:20094:66;335:27:41;;1619:19:42;7946:20094:66;;;1720:10:42;1716:177;;-1:-1:-1;;;335:27:41;2224:95:42;2391:145;;;;;;1317:6:57;;2391:145:42;;2977:82;;3363:21;741:4141;:::o;1716:177::-;1750:98;;;;;1865:13;:::o;741:4141::-;;1317:6:57;;;;-1:-1:-1;;1317:6:57;741:4141:42;1347:147;;;;;;;;;;;;1619:19;1611:28;1619:19;;;1611:28;:::i;:::-;1720:10;1716:177;;2224:95;;;;7946:20094:66;;;;2716:31:42;2811:94;;;3776:1;1317:6:57;3757:1:42;1317:6:57;3756:21:42;1317:6:57;;;3776:1:42;7946:20094:66;1317:6:57;;;;3776:1:42;7946:20094:66;1317:6:57;;;;3776:1:42;7946:20094:66;1317:6:57;;;;3776:1:42;7946:20094:66;1317:6:57;;;;3776:1:42;7946:20094:66;1317:6:57;;;;3776:1:42;7946:20094:66;1317:6:57;3254:96:42;;;;7946:20094:66;3254:96:42;;;2391:145;;;;;;1317:6:57;2391:145:42;;2977:82;3363:21;1317:6:57;741:4141:42;:::o;1716:177::-;1750:98;;;;;1865:13;:::o;790:155:52:-;-1:-1:-1;;;;;7946:20094:66;;;790:155:52;892:6;;;888:50;;790:155::o"},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","WETH9()":"4aa4a4fc","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","getApproved(uint256)":"081812fc","getPoolAndPositionInfo(uint256)":"7ba03aad","getPositionLiquidity(uint256)":"1efeed33","initializePool((address,address,uint24,int24,address),uint160)":"f7020405","isApprovedForAll(address,address)":"e985e9c5","modifyLiquidities(bytes,uint256)":"dd46508f","modifyLiquiditiesWithoutUnlock(bytes,bytes[])":"4afe393c","msgSender()":"d737d0c7","multicall(bytes[])":"ac9650d8","name()":"06fdde03","nextTokenId()":"75794a3c","nonces(address,uint256)":"502e1a16","ownerOf(uint256)":"6352211e","permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)":"2b67b570","permit(address,uint256,uint256,uint256,bytes)":"0f5730f1","permit2()":"12261ee7","permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)":"002a3e3a","permitForAll(address,address,bool,uint256,uint256,bytes)":"3aea60f0","poolKeys(bytes25)":"86b6be7d","poolManager()":"dc4c90d3","positionInfo(uint256)":"89097a6a","revokeNonce(uint256)":"05c1ee20","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","subscribe(uint256,address,bytes)":"2b9261de","subscriber(uint256)":"16a24131","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","tokenDescriptor()":"5a9d7a68","tokenURI(uint256)":"c87b56dd","transferFrom(address,address,uint256)":"23b872dd","unlockCallback(bytes)":"91dd7346","unsubscribe(uint256)":"ad0b27fb","unsubscribeGasLimit()":"4767565f"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"_poolManager\",\"type\":\"address\"},{\"internalType\":\"contract IAllowanceTransfer\",\"name\":\"_permit2\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_unsubscribeGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"contract IPositionDescriptor\",\"name\":\"_tokenDescriptor\",\"type\":\"address\"},{\"internalType\":\"contract IWETH9\",\"name\":\"_weth9\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"AlreadySubscribed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"BurnNotificationReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ContractLocked\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"DeadlinePassed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotNegative\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotPositive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GasLimitTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InputLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidContractSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidEthSender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSigner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"maximumAmount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amountRequested\",\"type\":\"uint128\"}],\"name\":\"MaximumAmountExceeded\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"minimumAmount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amountReceived\",\"type\":\"uint128\"}],\"name\":\"MinimumAmountInsufficient\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"ModifyLiquidityNotificationReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoCodeSubscriber\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoSelfPermit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonceAlreadyUsed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"NotApproved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPoolManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotSubscribed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManagerMustBeLocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SignatureDeadlineExpired\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"SubscriptionReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"action\",\"type\":\"uint256\"}],\"name\":\"UnsupportedAction\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"Subscription\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"Unsubscription\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WETH9\",\"outputs\":[{\"internalType\":\"contract IWETH9\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getPoolAndPositionInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"poolKey\",\"type\":\"tuple\"},{\"internalType\":\"PositionInfo\",\"name\":\"info\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getPositionLiquidity\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"initializePool\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"unlockData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"modifyLiquidities\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"actions\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"params\",\"type\":\"bytes[]\"}],\"name\":\"modifyLiquiditiesWithoutUnlock\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"msgSender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextTokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"word\",\"type\":\"uint256\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"bitmap\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails\",\"name\":\"details\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitSingle\",\"name\":\"permitSingle\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"err\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"permit2\",\"outputs\":[{\"internalType\":\"contract IAllowanceTransfer\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails[]\",\"name\":\"details\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitBatch\",\"name\":\"_permitBatch\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitBatch\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"err\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitForAll\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes25\",\"name\":\"poolId\",\"type\":\"bytes25\"}],\"name\":\"poolKeys\",\"outputs\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"positionInfo\",\"outputs\":[{\"internalType\":\"PositionInfo\",\"name\":\"info\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"revokeNonce\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"newSubscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"subscribe\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"subscriber\",\"outputs\":[{\"internalType\":\"contract ISubscriber\",\"name\":\"subscriber\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenDescriptor\",\"outputs\":[{\"internalType\":\"contract IPositionDescriptor\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlockCallback\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"unsubscribe\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unsubscribeGasLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"errors\":{\"PoolManagerMustBeLocked()\":[{\"details\":\"This is to prevent hooks from being able to trigger notifications at the same time the position is being modified.\"}]},\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"returns\":{\"_0\":\"bytes32 The domain separator\"}},\"approve(address,uint256)\":{\"details\":\"override Solmate's ERC721 approve so approve() and permit() share the _approve method Passing a spender address of zero can be used to remove any outstanding approvals Throws error unless `msg.sender` is the current NFT owner, or an authorized operator of the current owner.\",\"params\":{\"id\":\"The tokenId of the NFT to approve\",\"spender\":\"The new approved NFT controller\"}},\"getPoolAndPositionInfo(uint256)\":{\"params\":{\"tokenId\":\"the ERC721 tokenId\"},\"returns\":{\"info\":\"PositionInfo a uint256 packed value holding information about the position including the range (tickLower, tickUpper)\",\"poolKey\":\"the pool key of the position\"}},\"getPositionLiquidity(uint256)\":{\"details\":\"this value can be processed as an amount0 and amount1 by using the LiquidityAmounts library\",\"params\":{\"tokenId\":\"the ERC721 tokenId\"},\"returns\":{\"liquidity\":\"the position's liquidity, as a liquidityAmount\"}},\"initializePool((address,address,uint24,int24,address),uint160)\":{\"details\":\"If the pool is already initialized, this function will not revert and just return type(int24).max\",\"params\":{\"key\":\"The PoolKey of the pool to initialize\",\"sqrtPriceX96\":\"The initial starting price of the pool, expressed as a sqrtPriceX96\"},\"returns\":{\"_0\":\"The current tick of the pool, or type(int24).max if the pool creation failed, or the pool already existed\"}},\"modifyLiquidities(bytes,uint256)\":{\"details\":\"This is the standard entrypoint for the PositionManager\",\"params\":{\"deadline\":\"is the deadline for the batched actions to be executed\",\"unlockData\":\"is an encoding of actions, and parameters for those actions\"}},\"modifyLiquiditiesWithoutUnlock(bytes,bytes[])\":{\"details\":\"This must be called by a contract that has already unlocked the v4 PoolManager\",\"params\":{\"actions\":\"the actions to perform\",\"params\":\"the parameters to provide for the actions\"}},\"msgSender()\":{\"details\":\"The other context functions, _msgData and _msgValue, are not supported by this contract In many contracts this will be the address that calls the initial entry point that calls `_executeActions` `msg.sender` shouldn't be used, as this will be the v4 pool manager contract that calls `unlockCallback` If using ReentrancyLock.sol, this function can return _getLocker()\"},\"multicall(bytes[])\":{\"details\":\"The `msg.value` is passed onto all subcalls, even if a previous subcall has consumed the ether. Subcalls can instead use `address(this).value` to see the available ETH, and consume it using {value: x}.\",\"params\":{\"data\":\"The encoded function data for each of the calls to make to this contract\"},\"returns\":{\"results\":\"The results from each of the calls passed in via data\"}},\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"details\":\"this function is payable to allow multicall with NATIVE based actions\",\"params\":{\"owner\":\"the owner of the tokens\",\"permitSingle\":\"the permit data\",\"signature\":\"the signature of the permit; abi.encodePacked(r, s, v)\"},\"returns\":{\"err\":\"the error returned by a reverting permit call, empty if successful\"}},\"permit(address,uint256,uint256,uint256,bytes)\":{\"details\":\"payable so it can be multicalled with NATIVE related actions\",\"params\":{\"deadline\":\"The deadline timestamp by which the call must be mined for the approve to work\",\"nonce\":\"a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\",\"signature\":\"Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\",\"spender\":\"The account that is being approved\",\"tokenId\":\"The ID of the token that is being approved for spending\"}},\"permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"details\":\"this function is payable to allow multicall with NATIVE based actions\",\"params\":{\"_permitBatch\":\"a batch of approvals\",\"owner\":\"the owner of the tokens\",\"signature\":\"the signature of the permit; abi.encodePacked(r, s, v)\"},\"returns\":{\"err\":\"the error returned by a reverting permit call, empty if successful\"}},\"permitForAll(address,address,bool,uint256,uint256,bytes)\":{\"details\":\"payable so it can be multicalled with NATIVE related actions\",\"params\":{\"approved\":\"The permission to set on the operator\",\"deadline\":\"The deadline timestamp by which the call must be mined for the approve to work\",\"nonce\":\"a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\",\"operator\":\"The address that will be set as an operator for the owner\",\"owner\":\"The address that is setting the operator\",\"signature\":\"Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\"}},\"revokeNonce(uint256)\":{\"details\":\"Used in cases where a valid nonce has not been broadcasted onchain, and the owner wants to revoke the validity of the noncepayable so it can be multicalled with native-token related actions\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Emits the ApprovalForAll event. The contract MUST allow multiple operators per owner.Override Solmate's ERC721 setApprovalForAll so setApprovalForAll() and permit() share the _approveForAll method\",\"params\":{\"approved\":\"True if the operator is approved, false to revoke approval\",\"operator\":\"Address to add to the set of authorized operators\"}},\"subscribe(uint256,address,bytes)\":{\"details\":\"Calling subscribe when a position is already subscribed will revertpayable so it can be multicalled with NATIVE related actionswill revert if pool manager is locked\",\"params\":{\"data\":\"caller-provided data that's forwarded to the subscriber contract\",\"newSubscriber\":\"the address of the subscriber contract\",\"tokenId\":\"the ERC721 tokenId\"}},\"transferFrom(address,address,uint256)\":{\"details\":\"overrides solmate transferFrom in case a notification to subscribers is neededwill revert if pool manager is locked\"},\"unlockCallback(bytes)\":{\"details\":\"We force the onlyPoolManager modifier by exposing a virtual function after the onlyPoolManager check.\",\"params\":{\"data\":\"The data that was passed to the call to unlock\"},\"returns\":{\"_0\":\"Any data that you want to be returned from the unlock call\"}},\"unsubscribe(uint256)\":{\"details\":\"Callers must specify a high gas limit (remaining gas should be higher than unsubscriberGasLimit) such that the subscriber can be notifiedpayable so it can be multicalled with NATIVE related actionsMust always allow a user to unsubscribe. In the case of a malicious subscriber, a user can always unsubscribe safely, ensuring liquidity is always modifiable.will revert if pool manager is locked\",\"params\":{\"tokenId\":\"the ERC721 tokenId\"}}},\"stateVariables\":{\"nextTokenId\":{\"details\":\"The ID of the next token that will be minted. Skips 0\",\"return\":\"uint256 The next token ID\",\"returns\":{\"_0\":\"uint256 The next token ID\"}},\"positionInfo\":{\"params\":{\"tokenId\":\"the ERC721 tokenId\"},\"return\":\"info a uint256 packed value holding information about the position including the range (tickLower, tickUpper)\",\"returns\":{\"info\":\"a uint256 packed value holding information about the position including the range (tickLower, tickUpper)\"}}},\"version\":1},\"userdoc\":{\"errors\":{\"AlreadySubscribed(uint256,address)\":[{\"notice\":\"Thrown when a tokenId already has a subscriber\"}],\"BurnNotificationReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting burn notification\"}],\"DeadlinePassed(uint256)\":[{\"notice\":\"Thrown when the block.timestamp exceeds the user-provided deadline\"}],\"DeltaNotNegative(address)\":[{\"notice\":\"Emitted trying to take a negative delta.\"}],\"DeltaNotPositive(address)\":[{\"notice\":\"Emitted trying to settle a positive delta.\"}],\"GasLimitTooLow()\":[{\"notice\":\"Thrown when a user specifies a gas limit too low to avoid valid unsubscribe notifications\"}],\"InputLengthMismatch()\":[{\"notice\":\"emitted when different numbers of parameters and actions are provided\"}],\"InsufficientBalance()\":[{\"notice\":\"Emitted when the contract does not have enough balance to wrap or unwrap.\"}],\"InvalidContractSignature()\":[{\"notice\":\"Thrown when the recovered contract signature is incorrect\"}],\"InvalidEthSender()\":[{\"notice\":\"Thrown when an unexpected address sends ETH to this contract\"}],\"InvalidSignature()\":[{\"notice\":\"Thrown when the recovered signer is equal to the zero address\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Thrown when the passed in signature is not a valid length\"}],\"InvalidSigner()\":[{\"notice\":\"Thrown when the recovered signer does not equal the claimedSigner\"}],\"ModifyLiquidityNotificationReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting modify liquidity notification\"}],\"NoCodeSubscriber()\":[{\"notice\":\"Thrown when a subscriber does not have code\"}],\"NotApproved(address)\":[{\"notice\":\"Thrown when the caller is not approved to modify a position\"}],\"NotPoolManager()\":[{\"notice\":\"Thrown when the caller is not PoolManager\"}],\"NotSubscribed()\":[{\"notice\":\"Thrown when unsubscribing without a subscriber\"}],\"PoolManagerMustBeLocked()\":[{\"notice\":\"Thrown when calling transfer, subscribe, or unsubscribe when the PoolManager is unlocked.\"}],\"SubscriptionReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting subscription\"}],\"UnsupportedAction(uint256)\":[{\"notice\":\"emitted when an inheriting contract does not support an action\"}]},\"events\":{\"Subscription(uint256,address)\":{\"notice\":\"Emitted on a successful call to subscribe\"},\"Unsubscription(uint256,address)\":{\"notice\":\"Emitted on a successful call to unsubscribe\"}},\"kind\":\"user\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"notice\":\"Returns the domain separator for the current chain.\"},\"WETH9()\":{\"notice\":\"The address for WETH9\"},\"approve(address,uint256)\":{\"notice\":\"Change or reaffirm the approved address for an NFT\"},\"getPoolAndPositionInfo(uint256)\":{\"notice\":\"Returns the pool key and position info of a position\"},\"getPositionLiquidity(uint256)\":{\"notice\":\"Returns the liquidity of a position\"},\"initializePool((address,address,uint24,int24,address),uint160)\":{\"notice\":\"Initialize a Uniswap v4 Pool\"},\"modifyLiquidities(bytes,uint256)\":{\"notice\":\"Unlocks Uniswap v4 PoolManager and batches actions for modifying liquidity\"},\"modifyLiquiditiesWithoutUnlock(bytes,bytes[])\":{\"notice\":\"Batches actions for modifying liquidity without unlocking v4 PoolManager\"},\"msgSender()\":{\"notice\":\"function that returns address considered executor of the actions\"},\"multicall(bytes[])\":{\"notice\":\"Call multiple functions in the current contract and return the data from all of them if they all succeed\"},\"nextTokenId()\":{\"notice\":\"Used to get the ID that will be used for the next minted liquidity position\"},\"nonces(address,uint256)\":{\"notice\":\"mapping of nonces consumed by each address, where a nonce is a single bit on the 256-bit bitmap\"},\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"notice\":\"allows forwarding a single permit to permit2\"},\"permit(address,uint256,uint256,uint256,bytes)\":{\"notice\":\"Approve of a specific token ID for spending by spender via signature\"},\"permit2()\":{\"notice\":\"the Permit2 contract to forward approvals\"},\"permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"notice\":\"allows forwarding batch permits to permit2\"},\"permitForAll(address,address,bool,uint256,uint256,bytes)\":{\"notice\":\"Set an operator with full permission to an owner's tokens via signature\"},\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"},\"positionInfo(uint256)\":{\"notice\":\"Returns the position info of a position\"},\"revokeNonce(uint256)\":{\"notice\":\"Revoke a nonce by spending it, preventing it from being used again\"},\"setApprovalForAll(address,bool)\":{\"notice\":\"Enable or disable approval for a third party (\\\"operator\\\") to manage all of `msg.sender`'s assets\"},\"subscribe(uint256,address,bytes)\":{\"notice\":\"Enables the subscriber to receive notifications for a respective position\"},\"subscriber(uint256)\":{\"notice\":\"Returns the subscriber for a respective position\"},\"unlockCallback(bytes)\":{\"notice\":\"Called by the pool manager on `msg.sender` when the manager is unlocked\"},\"unsubscribe(uint256)\":{\"notice\":\"Removes the subscriber from receiving notifications for a respective position\"},\"unsubscribeGasLimit()\":{\"notice\":\"Returns and determines the maximum allowable gas-used for notifying unsubscribe\"}},\"notice\":\"The PositionManager (PosM) contract is responsible for creating liquidity positions on v4. PosM mints and manages ERC721 tokens associated with each position.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/PositionManager.sol\":\"PositionManager\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol\":{\"keccak256\":\"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b\",\"dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/BitMath.sol\":{\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e\",\"dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi\"]},\"@uniswap/v4-core/src/libraries/CurrencyReserves.sol\":{\"keccak256\":\"0x1576616129933fcdf3b684cea33cffd9c95e18fafbd2832a8c48ac3d8526d4c3\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://33b050efb9b81803b18f562271e7cca2ec5362c4d505860d6419b4a345636725\",\"dweb:/ipfs/QmQtFtTwKZ5pFVGD2ENDUXvp7ECFvzqeCuJ1miJcUHdmiX\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/FixedPoint128.sol\":{\"keccak256\":\"0xad236e10853f4b4b20a35a9bb52b857c4fc79874846b7e444e06ead7f2630542\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0de1f9a06520b1a689660943faa14fc0b8344ab41fab9e6012ea34bff4b9b3eb\",\"dweb:/ipfs/QmRNMPTyko7W6d6KxuTsnDBa9oZgDK4xiwRRq3H9ASTbwy\"]},\"@uniswap/v4-core/src/libraries/FixedPoint96.sol\":{\"keccak256\":\"0xef5c3fd41aee26bb12aa1c32873cfee88e67eddfe7c2b32283786265ac669741\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4de298d02f662a1c36c7be0a150f18c2a161408a5d3e48432e707efd01fac9a4\",\"dweb:/ipfs/QmSiM4oeMmLVKmAtJXz2feYkv4R9ZcyBpkTRW5Nhw5KDyJ\"]},\"@uniswap/v4-core/src/libraries/FullMath.sol\":{\"keccak256\":\"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3b2d66d36b1ad56b1ab6e2eb8a816740877b40b461c93f125e88621c8378e52\",\"dweb:/ipfs/QmPGvMZzKQvNiWKd8aRzzdW7oAizwrMgcMtnaworDkVHFC\"]},\"@uniswap/v4-core/src/libraries/LiquidityMath.sol\":{\"keccak256\":\"0x000ef2eadcc1eb7b2c18a77655f94e76e0e860f605783484657ef65fd6eda353\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a766b620a7a22798b43c6c1f23b5c6cff0ebf588deb89842bad05208d448cd99\",\"dweb:/ipfs/QmVKjaFJdzkqA3ey2Byum8iTCMssWVD8MmVC8rw62Tj5WD\"]},\"@uniswap/v4-core/src/libraries/Lock.sol\":{\"keccak256\":\"0x9338be4b5695f1da5f3d3f7a3eeaf7a356c1045458289586ac0cbe9cef77c6d5\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://485ec42ed6155469d612a9a0c18068ebfbad74448792a338a435503de3ef1b2c\",\"dweb:/ipfs/QmVnnv5u74MYatfRmBgrcfFYQcsMAJMG9jQ6ju8UiydKNF\"]},\"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol\":{\"keccak256\":\"0x0666ebd5d3528d7d52c48538296367a4cff97a578cf13365c51983fae3219b87\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d27f1be3bd09d85c53d3e6a539dd6529ddd8b2b764ccb47fd7765fc81f9add59\",\"dweb:/ipfs/QmQdZujNXhKEXQBkKtF5jbdvo1yXMqPDUoBBaF9S5u3Kpm\"]},\"@uniswap/v4-core/src/libraries/Position.sol\":{\"keccak256\":\"0xddab2a831f1befb6abf5567e77c4582169ca8156cf69eb4f22d8e87f7226a3f9\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c79fe61b50f3b70cff503abfa6f5643fcbefb9b794855bee1019b1e6d9c083b2\",\"dweb:/ipfs/QmbKmYNQesaMz8bo1b7TMHQcAwaDd3eDPrE5pAdPPZTtk5\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/StateLibrary.sol\":{\"keccak256\":\"0x4bbb1e816dd67fd4e958518ef50d216fcdab19912ab98c28d4c5279890c48c2c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eab2611adf69904cb0f326dbd82cdd6d1a09630dacace7f741e29c76836e41e8\",\"dweb:/ipfs/QmcCR78dZ8C7pF3DSDoWyYobX7aXkBNxbCmgenkqpgRrbT\"]},\"@uniswap/v4-core/src/libraries/TickMath.sol\":{\"keccak256\":\"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a79a57f7b240783b045168d1c4f774ac1812caf8f9a83cb6959a86b0b07b6c70\",\"dweb:/ipfs/QmTb5kvxwDNW8jDuQaqdJ445cCFejNkUqEB17Bjo8UBiva\"]},\"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\":{\"keccak256\":\"0x7d1e0875747bd89b32c25f1a48da2766e5f4aff1f671ad5f3c0c07ebbbcb946a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d76cfeb1cb60595b41ecc51c8a12fb4bf63a7fc733d0b1a2e3adb55abeb1f9d5\",\"dweb:/ipfs/Qmb8oX7DtsRpw3tTtdWZwGhauj1evq43d3PLwe4nSDAKkV\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/PositionManager.sol\":{\"keccak256\":\"0x6996866c77410da122d307535083b01746eef470a914b12baedd0721ffd96a24\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18d8f752af824da84d3dd826ac4f18a70ea1c94831473c2813825bdc271b0c20\",\"dweb:/ipfs/QmcyGxdkB2gFinYaKt9H9PdTcQoKZyo1hXjtaJ3krf5fPQ\"]},\"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol\":{\"keccak256\":\"0xca1ee500f88951ad351d18ba2adfb5fe23abef6d502f234ce5748a3497674a4c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f03ab458be27c29cef1b7ace5b11517d3fef8bf6131af7dd80d6297c224cf71\",\"dweb:/ipfs/QmYoH6o8yeRzbeLoaMG9TjS8q2Fw7T1h4vXvvMnp3XfsUa\"]},\"@uniswap/v4-periphery/src/base/DeltaResolver.sol\":{\"keccak256\":\"0x94a2da2be5c924df65a8e1e29f585bbe4c37777fedd43b45989c66d509a4a83c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://42bba590f6e817fd56328b74ae99bfdc4df57386d0a69ee22b9108341953ed36\",\"dweb:/ipfs/QmdusastK7FWYouLz9gvV5J3z8MQbNKLJNNHTrc1vi7DWw\"]},\"@uniswap/v4-periphery/src/base/EIP712_v4.sol\":{\"keccak256\":\"0x151e85890822c1b0fe85ec3c021826cb42f615e2b9d6fcdd79019681a6ee5588\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c5df84221ba4fe59c8223e94bec954b7f7602d4ad81d2f0c046a67c21c1d24be\",\"dweb:/ipfs/QmbTUqqHxRxEDyrMPApozbC6DEYMZGa27dWu3KodNACiLy\"]},\"@uniswap/v4-periphery/src/base/ERC721Permit_v4.sol\":{\"keccak256\":\"0xb1c3d4cc1fa0c7f9562674917d9ffdd119a1ccdb3adca44b2832d5c91c068125\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://752a8a679a9cc9e56a8e95fc1fa1d8c39a951a479b6c0b1109238f73520045df\",\"dweb:/ipfs/QmRzLo9KRcJH38Fx2xvweVmvMbTRKzyDR7R7Fui4Ca9cma\"]},\"@uniswap/v4-periphery/src/base/ImmutableState.sol\":{\"keccak256\":\"0x1867c9fa2f9b4fa73bab0fcdc9d19ccef4eeac552273d8b84a170cd1cc90350a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af2d699b439e13b599632fddfe82718aebd41055fba7c075f186675c588d1337\",\"dweb:/ipfs/Qmc111gckSKb9aESn3wRFLeLiS4KGujaUcaYJgRnCRfwQU\"]},\"@uniswap/v4-periphery/src/base/Multicall_v4.sol\":{\"keccak256\":\"0x654c6e65bd9bbf12b2cc393f8523db04e85ec45e829200de3895709479d6d569\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d7ee5441ed14cdad5328f8e844403c2969fe2ecd9d110d7b80954bfa41f52d69\",\"dweb:/ipfs/QmQ1r1qmGyg1JXUgmjzi3WxjAmkLtMpUVsRWfYJsRRo3sP\"]},\"@uniswap/v4-periphery/src/base/NativeWrapper.sol\":{\"keccak256\":\"0xfb756bc69e401d621f615746d881cfef7e98f3f563775905a1eca79a074a35ca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://507c9b3ddf79ec34b8ae472dfc4d6840343a9a172d7c6f33eec290e0078e9254\",\"dweb:/ipfs/QmWhGck33w1s343mtojttgisJcsdwDf6Ah6oTpjgsWcQWh\"]},\"@uniswap/v4-periphery/src/base/Notifier.sol\":{\"keccak256\":\"0x5f2a29b2a528269643d026bf4698e6520eeb1e5fc773f9d5059b3e279a488bf6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://63d5c541039f37ae89533a15fc311e3fec3d143fa11bac42e73964bdf74b3d06\",\"dweb:/ipfs/QmUrvqNYEYwEu1zRWLFVDUW2zEajbkNYxiNqUpc5aWx5ui\"]},\"@uniswap/v4-periphery/src/base/Permit2Forwarder.sol\":{\"keccak256\":\"0xcdf793e6732cdf0c386f89573384032314b0893bf208b3d75ac71d3002674a3b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4f18d0be711c1d586854e2a78113bf84765e7158c9568b2c73f8750511a22ce7\",\"dweb:/ipfs/QmSe3zz9jvDZo2MqPgCpfNs3yA4xAWPB1deZBoRFzeZiN1\"]},\"@uniswap/v4-periphery/src/base/PoolInitializer_v4.sol\":{\"keccak256\":\"0x068c85032e50ef6374958ff3e7dcc143527f669de1bbba831e552d033344a1e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://674c29491faef627b52cb81495bf3747cd7f7613e2ddcabb1dd258f93f966006\",\"dweb:/ipfs/Qmc1D31ubNDRdxVS6pxDzn7z8disSw7UScHu8rgfpxCAsz\"]},\"@uniswap/v4-periphery/src/base/ReentrancyLock.sol\":{\"keccak256\":\"0x66dd19f8eb40b7a86afea0e5b1dcada6268041027b0dfc493b80ca1f66af217d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ac6d34517e2dd2c9cd03e16c5333defd003c134a4bff52ad95b673a5e8804609\",\"dweb:/ipfs/QmPSRdswfajCZCchH9j8rC7U3GLJ4w24gK35gxRVY3Qxz4\"]},\"@uniswap/v4-periphery/src/base/SafeCallback.sol\":{\"keccak256\":\"0xd78b583df1b9ee06d58e83b84fc9f08971389b34dd34bc13db072e0c13c710da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c0a47f4bcd6060c4462153b9a7c52a60a460ace91acb6ddd5492eab28ec26173\",\"dweb:/ipfs/QmdRCTRS1dhFjWEy6z577j4xz9J5HPfHBwcNzAic8G59oT\"]},\"@uniswap/v4-periphery/src/base/UnorderedNonce.sol\":{\"keccak256\":\"0x0ec175bf2213d75606ebb770227e8622ae9666fbde8ff2d1682d85890b81676e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://079952902a4be56b5e963585349988fcbea853bf8271a5cb88e7629cafb06bcf\",\"dweb:/ipfs/Qmere81cd2Wq9Vq4rL5G1nW4Jv54YJeMr1oaej7468xrgi\"]},\"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol\":{\"keccak256\":\"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736\",\"dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR\"]},\"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol\":{\"keccak256\":\"0x103adbba724ef536abc536fe8a4d7dc12880724c562109b69f2adce4a91fa017\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://06f51b5a5a218e0bc866a83e7821be53c9db9de0ca921f16abd3d13ea0eab69d\",\"dweb:/ipfs/QmbnhLy992hpQZyphTkj7fpr6jKKVva2AzfmLiDZEuqHAk\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol\":{\"keccak256\":\"0x336bec303f7ff86497d2679464c5adad5040f412b3d0769ce5e1d2a42f7e2c08\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7734f047d98d331c8abc51ad9f358ceee0a6dcae8d89ac49084b84de0d2d42e7\",\"dweb:/ipfs/QmWij2h7mU36LsXhb9P6pkYXrSCua4ixeWaVFSrsEcEmPQ\"]},\"@uniswap/v4-periphery/src/interfaces/INotifier.sol\":{\"keccak256\":\"0xfdc5187a98240a1691aae98b7dd2444d4c2bfb4746f3c34de9f3d18399c17c5e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://683af56401ec4f8817e8dfe150e7b3febaf0baaf40efe8d0d0475f735275f746\",\"dweb:/ipfs/QmRQ6S3nFnSc2jjDcQTvUJdTf4xKPojmvCkpvgyr6qTuVV\"]},\"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol\":{\"keccak256\":\"0xfad472937280e861125ff12aa6f9c2cf7440fbb20a2cc29485c24662ad4279c5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31bfbc331f5972fc373d9469fd1ca1d14818db3275f21b7b590f20820cb4439d\",\"dweb:/ipfs/QmX3Bv9wfYpAFZKBcxKsQSXUrSC8mqNBdzh6XVMS72aNx9\"]},\"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol\":{\"keccak256\":\"0x2e4feda94650a2642039e0309ffdec480ee050bc40864bf5e1dba42bb4dc9e98\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://964c178b4da8bab9ef898b94bb26d7c17cc44c5cf20485f55dcf5e9c7e1b1d92\",\"dweb:/ipfs/QmVd2c3SYteyr5xZgUS4sDAiZF43dLwVAEKdCfvQbkZpRJ\"]},\"@uniswap/v4-periphery/src/interfaces/IPositionDescriptor.sol\":{\"keccak256\":\"0x5a4327e608b35ba2d3451c267b609336efbd780912080dbb1a21563db25c9768\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c783c7a4834d610586ef6caf79806f4e339ad488046766d03fe3d014d11093e4\",\"dweb:/ipfs/QmcQWiNQz1hAcJRwFfw5NnSz6zcgAE5HytdVL8MAQJUrv4\"]},\"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\":{\"keccak256\":\"0x62dfa0cbee8314ee7e6787db8bc1d364245c340f940875ac7ff11e89d074fc7e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26f560c77d8a187bf93a710b827e3167eab3446922192fa8f92f208da2103834\",\"dweb:/ipfs/Qmbzp5gSYdTpMBF9aAb2GraxMEQZb5LRJCyg8VaRUyjTFc\"]},\"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol\":{\"keccak256\":\"0x34ceadec4a63019680e543fe73197f198a55c825d86e18f327840354760b57e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31734feafe1fe162a0702ddf862fcc3bd97505931afb3c685033c0185d898051\",\"dweb:/ipfs/QmQEANYVyaXTNzXKcjUVfPhLU71Bix5vxQH75BpPWMkWgw\"]},\"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol\":{\"keccak256\":\"0xd7f32fee74dc7d1a3b078ca1263961baccaa6bf434c79e8fe0e092e30c3e0ec3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7d1e92d89d5f49c84aa82f3b259678c2c97a4473b22d753ca4411a6b0cec36d\",\"dweb:/ipfs/QmNZoQyminStaAdaLqoDLoWaBU5QWrWjXFjmBm4aFhzL8i\"]},\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":{\"keccak256\":\"0xc4133fae25e61cc2447d7331729f6035322d7c1fe26b39b225422bf98cc63459\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c24ff8428504e973e947a059f96289a66c520cd7f8ef47a3224f9cb6abdaf25\",\"dweb:/ipfs/QmVqxYnngWXXcCiuTC143vTEJrjZK5NXWB92pjvVbuJBQ5\"]},\"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol\":{\"keccak256\":\"0xe88abf12501ac275619aec0687240a07d26968aecbbcdfea88ba8bbd5d6e5e14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7097065d4492b4eccb1a73f99af1e5bec45404c6b973b8f5965c4c91403f5f92\",\"dweb:/ipfs/QmZK8oEqmjmTqhBoh3D3fBpyKGkUEFnptY8xwH9xpNjDm2\"]},\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]},\"@uniswap/v4-periphery/src/libraries/Actions.sol\":{\"keccak256\":\"0x8efd4b8b289177ee27e557d9d0a5a9f973d66fe1eb1ef8959d316b11987ca830\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://07fe35f194eb99465028f0546359befea574d844da53767d32f22b233c3bcc98\",\"dweb:/ipfs/Qmc19631uFxABTHAbGrDrroexi9GdyxWntaum1v8npPYz5\"]},\"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol\":{\"keccak256\":\"0x26df49e13fb5410fd4db253cca877dfdfb3a1ba03e394d054c0e0514a88a56e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72a0c98c52171708f332f83d517deeb97fdd50ecf28f2510e1866e54593a6ff8\",\"dweb:/ipfs/QmY4LiDUfSKGj86nML7B6a8euiPciUqwYehasAyAVnMCHq\"]},\"@uniswap/v4-periphery/src/libraries/ERC721PermitHash.sol\":{\"keccak256\":\"0xd8024f516738a1f968169875efd4ba803049c933cf6ea5e36189df9915f4e3f2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://58b45295f87c31f516a727a2a40ba2f34ac57ebd5520c42ea59946d2ffc0f5df\",\"dweb:/ipfs/QmW8xC2xS18r4yhGbhSJTN1DfCgPT6oKHxwwszutn2sPuz\"]},\"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\":{\"keccak256\":\"0x8ea74b89831877ffe657f8461164a01a6f3c7e46f415410854fca8d28a8cab53\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f4015f62e5e8aa154baa555dc39ce36b498e6d875a53f793d62b8556e6b97ccb\",\"dweb:/ipfs/QmUVHyEe3hZZZQum5ct6yDY8qduj62Ta7f7x5Kw95LpQbg\"]},\"@uniswap/v4-periphery/src/libraries/Locker.sol\":{\"keccak256\":\"0x5c0859290a277fbfba8579b506426d3fc4b2ff7d8b691c03dd23aa85797fdae1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18ad9effea8da74b9988373dddddd6669f11701fc954f77d2cb58beb9a9cc3ad\",\"dweb:/ipfs/QmQdBMoXdVACo6k6rumWj15UPDCqGpWNSPvQbejxKuV9RJ\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]},\"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":{\"keccak256\":\"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6\",\"dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx\"]},\"@uniswap/v4-periphery/src/libraries/SlippageCheck.sol\":{\"keccak256\":\"0x9b7872e403b417dfbcf9835b16109f80f7abed702652a9817e28f07189983b4b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://911974b8e37b3be02150090b64d841fcc1153277d20f75315b3b8eb02c111e66\",\"dweb:/ipfs/QmRYe4UAYG5TNqB2ygM3n7e3GFMhJmW1c29WZjGDfGQyxQ\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]},\"permit2/src/interfaces/IERC1271.sol\":{\"keccak256\":\"0x0a546b8535127fb4a49d36d5f306fd5a8bbe6125a1852f935b9bb85a04c1acef\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4b99651e2df98e283a97c46d8d1ac4eff0d6a3618e25f7f85294472a670b541c\",\"dweb:/ipfs/QmYRy5G8fXE8BfmyvGEbESEYZPPg3zJEFxHzR5GJZEMMTk\"]},\"permit2/src/libraries/SignatureVerification.sol\":{\"keccak256\":\"0x99f437ffe99aa1ff7885aec8b971f48efac00c6ebc59c02eec78c9ca850a5e30\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9365414bdb67813d4ef6c89fa152dff05fc2a64992a1a4f212fa414dbdee3eab\",\"dweb:/ipfs/QmfJxSszF1rjmMoNXW5oQMo9gARMHAXYTu68fkZvdEu58i\"]},\"solmate/src/tokens/ERC721.sol\":{\"keccak256\":\"0x04af19f16f00ba65ae168d6d10da5210dc18da6bcec6974dccf984ba388aa22d\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://098e69f22b67da6927e03203c12ebfda5b0490518f6d9cce7853001ac5ad8403\",\"dweb:/ipfs/QmYyzfurQe88PsVjRNfutV3gS7Vi68f7zgtVZVtLfd4ViK\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/V4Router.sol":{"V4Router":{"abi":[{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotNegative","type":"error"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotPositive","type":"error"},{"inputs":[],"name":"InputLengthMismatch","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidBips","type":"error"},{"inputs":[],"name":"NotPoolManager","type":"error"},{"inputs":[{"internalType":"uint256","name":"action","type":"uint256"}],"name":"UnsupportedAction","type":"error"},{"inputs":[{"internalType":"uint256","name":"minAmountOutReceived","type":"uint256"},{"internalType":"uint256","name":"amountReceived","type":"uint256"}],"name":"V4TooLittleReceived","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxAmountInRequested","type":"uint256"},{"internalType":"uint256","name":"amountRequested","type":"uint256"}],"name":"V4TooMuchRequested","type":"error"},{"inputs":[],"name":"msgSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlockCallback","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"msgSender()":"d737d0c7","poolManager()":"dc4c90d3","unlockCallback(bytes)":"91dd7346"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotNegative\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotPositive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InputLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBips\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPoolManager\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"action\",\"type\":\"uint256\"}],\"name\":\"UnsupportedAction\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minAmountOutReceived\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountReceived\",\"type\":\"uint256\"}],\"name\":\"V4TooLittleReceived\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAmountInRequested\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountRequested\",\"type\":\"uint256\"}],\"name\":\"V4TooMuchRequested\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"msgSender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlockCallback\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"the entry point to executing actions in this contract is calling `BaseActionsRouter._executeActions` An inheriting contract should call _executeActions at the point that they wish actions to be executed\",\"kind\":\"dev\",\"methods\":{\"msgSender()\":{\"details\":\"The other context functions, _msgData and _msgValue, are not supported by this contract In many contracts this will be the address that calls the initial entry point that calls `_executeActions` `msg.sender` shouldn't be used, as this will be the v4 pool manager contract that calls `unlockCallback` If using ReentrancyLock.sol, this function can return _getLocker()\"},\"unlockCallback(bytes)\":{\"details\":\"We force the onlyPoolManager modifier by exposing a virtual function after the onlyPoolManager check.\",\"params\":{\"data\":\"The data that was passed to the call to unlock\"},\"returns\":{\"_0\":\"Any data that you want to be returned from the unlock call\"}}},\"title\":\"UniswapV4Router\",\"version\":1},\"userdoc\":{\"errors\":{\"DeltaNotNegative(address)\":[{\"notice\":\"Emitted trying to take a negative delta.\"}],\"DeltaNotPositive(address)\":[{\"notice\":\"Emitted trying to settle a positive delta.\"}],\"InputLengthMismatch()\":[{\"notice\":\"emitted when different numbers of parameters and actions are provided\"}],\"InsufficientBalance()\":[{\"notice\":\"Emitted when the contract does not have enough balance to wrap or unwrap.\"}],\"InvalidBips()\":[{\"notice\":\"emitted when an invalid percentage is provided\"}],\"NotPoolManager()\":[{\"notice\":\"Thrown when the caller is not PoolManager\"}],\"UnsupportedAction(uint256)\":[{\"notice\":\"emitted when an inheriting contract does not support an action\"}],\"V4TooLittleReceived(uint256,uint256)\":[{\"notice\":\"Emitted when an exactInput swap does not receive its minAmountOut\"}],\"V4TooMuchRequested(uint256,uint256)\":[{\"notice\":\"Emitted when an exactOutput is asked for more than its maxAmountIn\"}]},\"kind\":\"user\",\"methods\":{\"msgSender()\":{\"notice\":\"function that returns address considered executor of the actions\"},\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"},\"unlockCallback(bytes)\":{\"notice\":\"Called by the pool manager on `msg.sender` when the manager is unlocked\"}},\"notice\":\"Abstract contract that contains all internal logic needed for routing through Uniswap v4 pools\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/V4Router.sol\":\"V4Router\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol\":{\"keccak256\":\"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b\",\"dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/BitMath.sol\":{\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e\",\"dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi\"]},\"@uniswap/v4-core/src/libraries/CurrencyReserves.sol\":{\"keccak256\":\"0x1576616129933fcdf3b684cea33cffd9c95e18fafbd2832a8c48ac3d8526d4c3\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://33b050efb9b81803b18f562271e7cca2ec5362c4d505860d6419b4a345636725\",\"dweb:/ipfs/QmQtFtTwKZ5pFVGD2ENDUXvp7ECFvzqeCuJ1miJcUHdmiX\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/Lock.sol\":{\"keccak256\":\"0x9338be4b5695f1da5f3d3f7a3eeaf7a356c1045458289586ac0cbe9cef77c6d5\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://485ec42ed6155469d612a9a0c18068ebfbad74448792a338a435503de3ef1b2c\",\"dweb:/ipfs/QmVnnv5u74MYatfRmBgrcfFYQcsMAJMG9jQ6ju8UiydKNF\"]},\"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol\":{\"keccak256\":\"0x0666ebd5d3528d7d52c48538296367a4cff97a578cf13365c51983fae3219b87\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d27f1be3bd09d85c53d3e6a539dd6529ddd8b2b764ccb47fd7765fc81f9add59\",\"dweb:/ipfs/QmQdZujNXhKEXQBkKtF5jbdvo1yXMqPDUoBBaF9S5u3Kpm\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/TickMath.sol\":{\"keccak256\":\"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a79a57f7b240783b045168d1c4f774ac1812caf8f9a83cb6959a86b0b07b6c70\",\"dweb:/ipfs/QmTb5kvxwDNW8jDuQaqdJ445cCFejNkUqEB17Bjo8UBiva\"]},\"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\":{\"keccak256\":\"0x7d1e0875747bd89b32c25f1a48da2766e5f4aff1f671ad5f3c0c07ebbbcb946a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d76cfeb1cb60595b41ecc51c8a12fb4bf63a7fc733d0b1a2e3adb55abeb1f9d5\",\"dweb:/ipfs/Qmb8oX7DtsRpw3tTtdWZwGhauj1evq43d3PLwe4nSDAKkV\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/V4Router.sol\":{\"keccak256\":\"0x8ede1e538ae9b74984c52347a3bbaee7b3d69f00ed9b3a6db1f1bd6e058a2326\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8e370416fa9681ad124414e2b2fb57a5455e15dd873c9e61c964177ae5c2d544\",\"dweb:/ipfs/QmWrM97ezNB9CpawqhkwpubXHcXUbMFWKYEbD3D6EyAe1w\"]},\"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol\":{\"keccak256\":\"0xca1ee500f88951ad351d18ba2adfb5fe23abef6d502f234ce5748a3497674a4c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f03ab458be27c29cef1b7ace5b11517d3fef8bf6131af7dd80d6297c224cf71\",\"dweb:/ipfs/QmYoH6o8yeRzbeLoaMG9TjS8q2Fw7T1h4vXvvMnp3XfsUa\"]},\"@uniswap/v4-periphery/src/base/DeltaResolver.sol\":{\"keccak256\":\"0x94a2da2be5c924df65a8e1e29f585bbe4c37777fedd43b45989c66d509a4a83c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://42bba590f6e817fd56328b74ae99bfdc4df57386d0a69ee22b9108341953ed36\",\"dweb:/ipfs/QmdusastK7FWYouLz9gvV5J3z8MQbNKLJNNHTrc1vi7DWw\"]},\"@uniswap/v4-periphery/src/base/ImmutableState.sol\":{\"keccak256\":\"0x1867c9fa2f9b4fa73bab0fcdc9d19ccef4eeac552273d8b84a170cd1cc90350a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af2d699b439e13b599632fddfe82718aebd41055fba7c075f186675c588d1337\",\"dweb:/ipfs/Qmc111gckSKb9aESn3wRFLeLiS4KGujaUcaYJgRnCRfwQU\"]},\"@uniswap/v4-periphery/src/base/SafeCallback.sol\":{\"keccak256\":\"0xd78b583df1b9ee06d58e83b84fc9f08971389b34dd34bc13db072e0c13c710da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c0a47f4bcd6060c4462153b9a7c52a60a460ace91acb6ddd5492eab28ec26173\",\"dweb:/ipfs/QmdRCTRS1dhFjWEy6z577j4xz9J5HPfHBwcNzAic8G59oT\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":{\"keccak256\":\"0xc4133fae25e61cc2447d7331729f6035322d7c1fe26b39b225422bf98cc63459\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c24ff8428504e973e947a059f96289a66c520cd7f8ef47a3224f9cb6abdaf25\",\"dweb:/ipfs/QmVqxYnngWXXcCiuTC143vTEJrjZK5NXWB92pjvVbuJBQ5\"]},\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]},\"@uniswap/v4-periphery/src/libraries/Actions.sol\":{\"keccak256\":\"0x8efd4b8b289177ee27e557d9d0a5a9f973d66fe1eb1ef8959d316b11987ca830\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://07fe35f194eb99465028f0546359befea574d844da53767d32f22b233c3bcc98\",\"dweb:/ipfs/Qmc19631uFxABTHAbGrDrroexi9GdyxWntaum1v8npPYz5\"]},\"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol\":{\"keccak256\":\"0x37ebf99f5d086d9d9f6e7cecbf4d62167f47c63c30248cfcb921e828f0d7a359\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4f8e68a66bb6c166d72cdba6ed6fb83a93f713b79c2c572e8058084eb90ab6c\",\"dweb:/ipfs/QmY32FxtSBRf9PJzNUVzXqFY4i2ApTPHTUMpCBGovd2zo3\"]},\"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol\":{\"keccak256\":\"0x26df49e13fb5410fd4db253cca877dfdfb3a1ba03e394d054c0e0514a88a56e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72a0c98c52171708f332f83d517deeb97fdd50ecf28f2510e1866e54593a6ff8\",\"dweb:/ipfs/QmY4LiDUfSKGj86nML7B6a8euiPciUqwYehasAyAVnMCHq\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol":{"BaseActionsRouter":{"abi":[{"inputs":[],"name":"InputLengthMismatch","type":"error"},{"inputs":[],"name":"NotPoolManager","type":"error"},{"inputs":[{"internalType":"uint256","name":"action","type":"uint256"}],"name":"UnsupportedAction","type":"error"},{"inputs":[],"name":"msgSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlockCallback","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"msgSender()":"d737d0c7","poolManager()":"dc4c90d3","unlockCallback(bytes)":"91dd7346"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InputLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPoolManager\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"action\",\"type\":\"uint256\"}],\"name\":\"UnsupportedAction\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"msgSender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlockCallback\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Suggested uint256 action values are defined in Actions.sol, however any definition can be used\",\"kind\":\"dev\",\"methods\":{\"msgSender()\":{\"details\":\"The other context functions, _msgData and _msgValue, are not supported by this contract In many contracts this will be the address that calls the initial entry point that calls `_executeActions` `msg.sender` shouldn't be used, as this will be the v4 pool manager contract that calls `unlockCallback` If using ReentrancyLock.sol, this function can return _getLocker()\"},\"unlockCallback(bytes)\":{\"details\":\"We force the onlyPoolManager modifier by exposing a virtual function after the onlyPoolManager check.\",\"params\":{\"data\":\"The data that was passed to the call to unlock\"},\"returns\":{\"_0\":\"Any data that you want to be returned from the unlock call\"}}},\"version\":1},\"userdoc\":{\"errors\":{\"InputLengthMismatch()\":[{\"notice\":\"emitted when different numbers of parameters and actions are provided\"}],\"NotPoolManager()\":[{\"notice\":\"Thrown when the caller is not PoolManager\"}],\"UnsupportedAction(uint256)\":[{\"notice\":\"emitted when an inheriting contract does not support an action\"}]},\"kind\":\"user\",\"methods\":{\"msgSender()\":{\"notice\":\"function that returns address considered executor of the actions\"},\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"},\"unlockCallback(bytes)\":{\"notice\":\"Called by the pool manager on `msg.sender` when the manager is unlocked\"}},\"notice\":\"Abstract contract for performing a combination of actions on Uniswap v4.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol\":\"BaseActionsRouter\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol\":{\"keccak256\":\"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b\",\"dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol\":{\"keccak256\":\"0xca1ee500f88951ad351d18ba2adfb5fe23abef6d502f234ce5748a3497674a4c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f03ab458be27c29cef1b7ace5b11517d3fef8bf6131af7dd80d6297c224cf71\",\"dweb:/ipfs/QmYoH6o8yeRzbeLoaMG9TjS8q2Fw7T1h4vXvvMnp3XfsUa\"]},\"@uniswap/v4-periphery/src/base/ImmutableState.sol\":{\"keccak256\":\"0x1867c9fa2f9b4fa73bab0fcdc9d19ccef4eeac552273d8b84a170cd1cc90350a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af2d699b439e13b599632fddfe82718aebd41055fba7c075f186675c588d1337\",\"dweb:/ipfs/Qmc111gckSKb9aESn3wRFLeLiS4KGujaUcaYJgRnCRfwQU\"]},\"@uniswap/v4-periphery/src/base/SafeCallback.sol\":{\"keccak256\":\"0xd78b583df1b9ee06d58e83b84fc9f08971389b34dd34bc13db072e0c13c710da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c0a47f4bcd6060c4462153b9a7c52a60a460ace91acb6ddd5492eab28ec26173\",\"dweb:/ipfs/QmdRCTRS1dhFjWEy6z577j4xz9J5HPfHBwcNzAic8G59oT\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":{\"keccak256\":\"0xc4133fae25e61cc2447d7331729f6035322d7c1fe26b39b225422bf98cc63459\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c24ff8428504e973e947a059f96289a66c520cd7f8ef47a3224f9cb6abdaf25\",\"dweb:/ipfs/QmVqxYnngWXXcCiuTC143vTEJrjZK5NXWB92pjvVbuJBQ5\"]},\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]},\"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol\":{\"keccak256\":\"0x26df49e13fb5410fd4db253cca877dfdfb3a1ba03e394d054c0e0514a88a56e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72a0c98c52171708f332f83d517deeb97fdd50ecf28f2510e1866e54593a6ff8\",\"dweb:/ipfs/QmY4LiDUfSKGj86nML7B6a8euiPciUqwYehasAyAVnMCHq\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/base/DeltaResolver.sol":{"DeltaResolver":{"abi":[{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotNegative","type":"error"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotPositive","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"NotPoolManager","type":"error"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"poolManager()":"dc4c90d3"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotNegative\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotPositive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPoolManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Note that sync() is called before any erc-20 transfer in `settle`.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"errors\":{\"DeltaNotNegative(address)\":[{\"notice\":\"Emitted trying to take a negative delta.\"}],\"DeltaNotPositive(address)\":[{\"notice\":\"Emitted trying to settle a positive delta.\"}],\"InsufficientBalance()\":[{\"notice\":\"Emitted when the contract does not have enough balance to wrap or unwrap.\"}],\"NotPoolManager()\":[{\"notice\":\"Thrown when the caller is not PoolManager\"}]},\"kind\":\"user\",\"methods\":{\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"}},\"notice\":\"Abstract contract used to sync, send, and settle funds to the pool manager\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/base/DeltaResolver.sol\":\"DeltaResolver\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CurrencyReserves.sol\":{\"keccak256\":\"0x1576616129933fcdf3b684cea33cffd9c95e18fafbd2832a8c48ac3d8526d4c3\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://33b050efb9b81803b18f562271e7cca2ec5362c4d505860d6419b4a345636725\",\"dweb:/ipfs/QmQtFtTwKZ5pFVGD2ENDUXvp7ECFvzqeCuJ1miJcUHdmiX\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/Lock.sol\":{\"keccak256\":\"0x9338be4b5695f1da5f3d3f7a3eeaf7a356c1045458289586ac0cbe9cef77c6d5\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://485ec42ed6155469d612a9a0c18068ebfbad74448792a338a435503de3ef1b2c\",\"dweb:/ipfs/QmVnnv5u74MYatfRmBgrcfFYQcsMAJMG9jQ6ju8UiydKNF\"]},\"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol\":{\"keccak256\":\"0x0666ebd5d3528d7d52c48538296367a4cff97a578cf13365c51983fae3219b87\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d27f1be3bd09d85c53d3e6a539dd6529ddd8b2b764ccb47fd7765fc81f9add59\",\"dweb:/ipfs/QmQdZujNXhKEXQBkKtF5jbdvo1yXMqPDUoBBaF9S5u3Kpm\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\":{\"keccak256\":\"0x7d1e0875747bd89b32c25f1a48da2766e5f4aff1f671ad5f3c0c07ebbbcb946a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d76cfeb1cb60595b41ecc51c8a12fb4bf63a7fc733d0b1a2e3adb55abeb1f9d5\",\"dweb:/ipfs/Qmb8oX7DtsRpw3tTtdWZwGhauj1evq43d3PLwe4nSDAKkV\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/base/DeltaResolver.sol\":{\"keccak256\":\"0x94a2da2be5c924df65a8e1e29f585bbe4c37777fedd43b45989c66d509a4a83c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://42bba590f6e817fd56328b74ae99bfdc4df57386d0a69ee22b9108341953ed36\",\"dweb:/ipfs/QmdusastK7FWYouLz9gvV5J3z8MQbNKLJNNHTrc1vi7DWw\"]},\"@uniswap/v4-periphery/src/base/ImmutableState.sol\":{\"keccak256\":\"0x1867c9fa2f9b4fa73bab0fcdc9d19ccef4eeac552273d8b84a170cd1cc90350a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af2d699b439e13b599632fddfe82718aebd41055fba7c075f186675c588d1337\",\"dweb:/ipfs/Qmc111gckSKb9aESn3wRFLeLiS4KGujaUcaYJgRnCRfwQU\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/base/EIP712_v4.sol":{"EIP712_v4":{"abi":[{"inputs":[{"internalType":"string","name":"name","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"finalize_allocation":{"entryPoint":300,"id":null,"parameterSlots":2,"returnSlots":0}},"generatedSources":[],"linkReferences":{},"object":"60e080604052346101145761027f803803809161001c828561012c565b8339810190602081830312610114578051906001600160401b038211610114570181601f820112156101145780516001600160401b0381116101185760405191610070601f8301601f19166020018461012c565b81835260208301936020838301011161011457815f926020809301865e830101525190208060c0524660a05260405160208101917f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86683526040820152466060820152306080820152608081526100e760a08261012c565b51902060805260405161012f90816101508239608051816061015260a051816038015260c0518160b20152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b601f909101601f19168101906001600160401b038211908210176101185760405256fe6080806040526004361015610012575f80fd5b5f3560e01c633644e51514610025575f80fd5b3461011e575f36600319011261011e57467f000000000000000000000000000000000000000000000000000000000000000003610089575060207f00000000000000000000000000000000000000000000000000000000000000005b604051908152f35b602081017f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681527f000000000000000000000000000000000000000000000000000000000000000060408301524660608301523060808301526080825260a082019180831060018060401b0384111761010a57602092604052519020610081565b634e487b7160e01b5f52604160045260245ffd5b5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0xE0 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH2 0x114 JUMPI PUSH2 0x27F DUP1 CODESIZE SUB DUP1 SWAP2 PUSH2 0x1C DUP3 DUP6 PUSH2 0x12C JUMP JUMPDEST DUP4 CODECOPY DUP2 ADD SWAP1 PUSH1 0x20 DUP2 DUP4 SUB SLT PUSH2 0x114 JUMPI DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x114 JUMPI ADD DUP2 PUSH1 0x1F DUP3 ADD SLT ISZERO PUSH2 0x114 JUMPI DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x118 JUMPI PUSH1 0x40 MLOAD SWAP2 PUSH2 0x70 PUSH1 0x1F DUP4 ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP5 PUSH2 0x12C JUMP JUMPDEST DUP2 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP4 PUSH1 0x20 DUP4 DUP4 ADD ADD GT PUSH2 0x114 JUMPI DUP2 PUSH0 SWAP3 PUSH1 0x20 DUP1 SWAP4 ADD DUP7 MCOPY DUP4 ADD ADD MSTORE MLOAD SWAP1 KECCAK256 DUP1 PUSH1 0xC0 MSTORE CHAINID PUSH1 0xA0 MSTORE PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP2 PUSH32 0x8CAD95687BA82C2CE50E74F7B754645E5117C3A5BEC8151C0726D5857980A866 DUP4 MSTORE PUSH1 0x40 DUP3 ADD MSTORE CHAINID PUSH1 0x60 DUP3 ADD MSTORE ADDRESS PUSH1 0x80 DUP3 ADD MSTORE PUSH1 0x80 DUP2 MSTORE PUSH2 0xE7 PUSH1 0xA0 DUP3 PUSH2 0x12C JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x80 MSTORE PUSH1 0x40 MLOAD PUSH2 0x12F SWAP1 DUP2 PUSH2 0x150 DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 PUSH1 0x61 ADD MSTORE PUSH1 0xA0 MLOAD DUP2 PUSH1 0x38 ADD MSTORE PUSH1 0xC0 MLOAD DUP2 PUSH1 0xB2 ADD MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x118 JUMPI PUSH1 0x40 MSTORE JUMP INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x12 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR PUSH4 0x3644E515 EQ PUSH2 0x25 JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x11E JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x11E JUMPI CHAINID PUSH32 0x0 SUB PUSH2 0x89 JUMPI POP PUSH1 0x20 PUSH32 0x0 JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x20 DUP2 ADD PUSH32 0x8CAD95687BA82C2CE50E74F7B754645E5117C3A5BEC8151C0726D5857980A866 DUP2 MSTORE PUSH32 0x0 PUSH1 0x40 DUP4 ADD MSTORE CHAINID PUSH1 0x60 DUP4 ADD MSTORE ADDRESS PUSH1 0x80 DUP4 ADD MSTORE PUSH1 0x80 DUP3 MSTORE PUSH1 0xA0 DUP3 ADD SWAP2 DUP1 DUP4 LT PUSH1 0x1 DUP1 PUSH1 0x40 SHL SUB DUP5 GT OR PUSH2 0x10A JUMPI PUSH1 0x20 SWAP3 PUSH1 0x40 MSTORE MLOAD SWAP1 KECCAK256 PUSH2 0x81 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"649:2045:70:-:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;649:2045:70;;;;;;;;;;;;;;;-1:-1:-1;;;;;649:2045:70;;;;;;;;;;;-1:-1:-1;;649:2045:70;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;649:2045:70;;;;;;;;;;;;1219:22;;1204:37;;;1271:13;1252:32;;649:2045;;;1816:66;;1075:80;;;;649:2045;1075:80;;;1271:13;1075:80;;;;1876:4;1075:80;;;;;1816:66;;;1252:32;1816:66;;:::i;:::-;649:2045;1806:77;;1075:80;1294:50;649:2045;;;;;;;;1075:80;649:2045;;;;;1252:32;649:2045;;;;;1204:37;649:2045;;;;;;;-1:-1:-1;649:2045:70;;;;;;-1:-1:-1;649:2045:70;;;;;-1:-1:-1;649:2045:70;;;;;;-1:-1:-1;;649:2045:70;;;;-1:-1:-1;;;;;649:2045:70;;;;;;;;;;:::o"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{"14087":[{"length":32,"start":97}],"14089":[{"length":32,"start":56}],"14091":[{"length":32,"start":178}]},"linkReferences":{},"object":"6080806040526004361015610012575f80fd5b5f3560e01c633644e51514610025575f80fd5b3461011e575f36600319011261011e57467f000000000000000000000000000000000000000000000000000000000000000003610089575060207f00000000000000000000000000000000000000000000000000000000000000005b604051908152f35b602081017f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681527f000000000000000000000000000000000000000000000000000000000000000060408301524660608301523060808301526080825260a082019180831060018060401b0384111761010a57602092604052519020610081565b634e487b7160e01b5f52604160045260245ffd5b5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x12 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR PUSH4 0x3644E515 EQ PUSH2 0x25 JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x11E JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x11E JUMPI CHAINID PUSH32 0x0 SUB PUSH2 0x89 JUMPI POP PUSH1 0x20 PUSH32 0x0 JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x20 DUP2 ADD PUSH32 0x8CAD95687BA82C2CE50E74F7B754645E5117C3A5BEC8151C0726D5857980A866 DUP2 MSTORE PUSH32 0x0 PUSH1 0x40 DUP4 ADD MSTORE CHAINID PUSH1 0x60 DUP4 ADD MSTORE ADDRESS PUSH1 0x80 DUP4 ADD MSTORE PUSH1 0x80 DUP3 MSTORE PUSH1 0xA0 DUP3 ADD SWAP2 DUP1 DUP4 LT PUSH1 0x1 DUP1 PUSH1 0x40 SHL SUB DUP5 GT OR PUSH2 0x10A JUMPI PUSH1 0x20 SWAP3 PUSH1 0x40 MSTORE MLOAD SWAP1 KECCAK256 PUSH2 0x81 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"649:2045:70:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;649:2045:70;;;;1536:13;1553:16;1536:33;1553:16;;1572:24;649:2045;1572:24;1536:86;649:2045;;;;;;1536:86;1816:66;;;1075:80;649:2045;;1839:12;649:2045;1075:80;;649:2045;1536:13;1075:80;;;649:2045;1876:4;1075:80;;;;;1816:66;;;1075:80;;;;;;;;;;;;;;;;649:2045;1075:80;649:2045;1075:80;;1806:77;;1536:86;;1075:80;;;;649:2045;1075:80;;649:2045;1075:80;;649:2045;1075:80;649:2045;;;"},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Maintains cross-chain replay protection in the event of a forkShould not be delegatecall'd because DOMAIN_SEPARATOR returns the cached hash and does not recompute with the delegatecallers addressReference: https://github.com/Uniswap/permit2/blob/3f17e8db813189a03950dc7fc8382524a095c053/src/EIP712.solReference: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/7bd2b2aaf68c21277097166a9a51eb72ae239b34/contracts/utils/cryptography/EIP712.sol\",\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"returns\":{\"_0\":\"bytes32 The domain separator\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"notice\":\"Returns the domain separator for the current chain.\"}},\"notice\":\"Generic EIP712 implementation\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/base/EIP712_v4.sol\":\"EIP712_v4\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/base/EIP712_v4.sol\":{\"keccak256\":\"0x151e85890822c1b0fe85ec3c021826cb42f615e2b9d6fcdd79019681a6ee5588\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c5df84221ba4fe59c8223e94bec954b7f7602d4ad81d2f0c046a67c21c1d24be\",\"dweb:/ipfs/QmbTUqqHxRxEDyrMPApozbC6DEYMZGa27dWu3KodNACiLy\"]},\"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol\":{\"keccak256\":\"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736\",\"dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/base/ERC721Permit_v4.sol":{"ERC721Permit_v4":{"abi":[{"inputs":[],"name":"InvalidContractSignature","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"InvalidSignatureLength","type":"error"},{"inputs":[],"name":"InvalidSigner","type":"error"},{"inputs":[],"name":"NoSelfPermit","type":"error"},{"inputs":[],"name":"NonceAlreadyUsed","type":"error"},{"inputs":[],"name":"SignatureDeadlineExpired","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"word","type":"uint256"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"bitmap","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitForAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"revokeNonce","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","getApproved(uint256)":"081812fc","isApprovedForAll(address,address)":"e985e9c5","name()":"06fdde03","nonces(address,uint256)":"502e1a16","ownerOf(uint256)":"6352211e","permit(address,uint256,uint256,uint256,bytes)":"0f5730f1","permitForAll(address,address,bool,uint256,uint256,bytes)":"3aea60f0","revokeNonce(uint256)":"05c1ee20","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","tokenURI(uint256)":"c87b56dd","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidContractSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSigner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoSelfPermit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonceAlreadyUsed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SignatureDeadlineExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"word\",\"type\":\"uint256\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"bitmap\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitForAll\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"revokeNonce\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"returns\":{\"_0\":\"bytes32 The domain separator\"}},\"approve(address,uint256)\":{\"details\":\"override Solmate's ERC721 approve so approve() and permit() share the _approve method Passing a spender address of zero can be used to remove any outstanding approvals Throws error unless `msg.sender` is the current NFT owner, or an authorized operator of the current owner.\",\"params\":{\"id\":\"The tokenId of the NFT to approve\",\"spender\":\"The new approved NFT controller\"}},\"permit(address,uint256,uint256,uint256,bytes)\":{\"details\":\"payable so it can be multicalled with NATIVE related actions\",\"params\":{\"deadline\":\"The deadline timestamp by which the call must be mined for the approve to work\",\"nonce\":\"a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\",\"signature\":\"Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\",\"spender\":\"The account that is being approved\",\"tokenId\":\"The ID of the token that is being approved for spending\"}},\"permitForAll(address,address,bool,uint256,uint256,bytes)\":{\"details\":\"payable so it can be multicalled with NATIVE related actions\",\"params\":{\"approved\":\"The permission to set on the operator\",\"deadline\":\"The deadline timestamp by which the call must be mined for the approve to work\",\"nonce\":\"a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\",\"operator\":\"The address that will be set as an operator for the owner\",\"owner\":\"The address that is setting the operator\",\"signature\":\"Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\"}},\"revokeNonce(uint256)\":{\"details\":\"Used in cases where a valid nonce has not been broadcasted onchain, and the owner wants to revoke the validity of the noncepayable so it can be multicalled with native-token related actions\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Emits the ApprovalForAll event. The contract MUST allow multiple operators per owner.Override Solmate's ERC721 setApprovalForAll so setApprovalForAll() and permit() share the _approveForAll method\",\"params\":{\"approved\":\"True if the operator is approved, false to revoke approval\",\"operator\":\"Address to add to the set of authorized operators\"}}},\"title\":\"ERC721 with permit\",\"version\":1},\"userdoc\":{\"errors\":{\"InvalidContractSignature()\":[{\"notice\":\"Thrown when the recovered contract signature is incorrect\"}],\"InvalidSignature()\":[{\"notice\":\"Thrown when the recovered signer is equal to the zero address\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Thrown when the passed in signature is not a valid length\"}],\"InvalidSigner()\":[{\"notice\":\"Thrown when the recovered signer does not equal the claimedSigner\"}]},\"kind\":\"user\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"notice\":\"Returns the domain separator for the current chain.\"},\"approve(address,uint256)\":{\"notice\":\"Change or reaffirm the approved address for an NFT\"},\"constructor\":{\"notice\":\"Computes the nameHash and versionHash\"},\"nonces(address,uint256)\":{\"notice\":\"mapping of nonces consumed by each address, where a nonce is a single bit on the 256-bit bitmap\"},\"permit(address,uint256,uint256,uint256,bytes)\":{\"notice\":\"Approve of a specific token ID for spending by spender via signature\"},\"permitForAll(address,address,bool,uint256,uint256,bytes)\":{\"notice\":\"Set an operator with full permission to an owner's tokens via signature\"},\"revokeNonce(uint256)\":{\"notice\":\"Revoke a nonce by spending it, preventing it from being used again\"},\"setApprovalForAll(address,bool)\":{\"notice\":\"Enable or disable approval for a third party (\\\"operator\\\") to manage all of `msg.sender`'s assets\"}},\"notice\":\"Nonfungible tokens that support an approve via signature, i.e. permit\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/base/ERC721Permit_v4.sol\":\"ERC721Permit_v4\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/base/EIP712_v4.sol\":{\"keccak256\":\"0x151e85890822c1b0fe85ec3c021826cb42f615e2b9d6fcdd79019681a6ee5588\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c5df84221ba4fe59c8223e94bec954b7f7602d4ad81d2f0c046a67c21c1d24be\",\"dweb:/ipfs/QmbTUqqHxRxEDyrMPApozbC6DEYMZGa27dWu3KodNACiLy\"]},\"@uniswap/v4-periphery/src/base/ERC721Permit_v4.sol\":{\"keccak256\":\"0xb1c3d4cc1fa0c7f9562674917d9ffdd119a1ccdb3adca44b2832d5c91c068125\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://752a8a679a9cc9e56a8e95fc1fa1d8c39a951a479b6c0b1109238f73520045df\",\"dweb:/ipfs/QmRzLo9KRcJH38Fx2xvweVmvMbTRKzyDR7R7Fui4Ca9cma\"]},\"@uniswap/v4-periphery/src/base/UnorderedNonce.sol\":{\"keccak256\":\"0x0ec175bf2213d75606ebb770227e8622ae9666fbde8ff2d1682d85890b81676e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://079952902a4be56b5e963585349988fcbea853bf8271a5cb88e7629cafb06bcf\",\"dweb:/ipfs/Qmere81cd2Wq9Vq4rL5G1nW4Jv54YJeMr1oaej7468xrgi\"]},\"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol\":{\"keccak256\":\"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736\",\"dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR\"]},\"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol\":{\"keccak256\":\"0x103adbba724ef536abc536fe8a4d7dc12880724c562109b69f2adce4a91fa017\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://06f51b5a5a218e0bc866a83e7821be53c9db9de0ca921f16abd3d13ea0eab69d\",\"dweb:/ipfs/QmbnhLy992hpQZyphTkj7fpr6jKKVva2AzfmLiDZEuqHAk\"]},\"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol\":{\"keccak256\":\"0xd7f32fee74dc7d1a3b078ca1263961baccaa6bf434c79e8fe0e092e30c3e0ec3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7d1e92d89d5f49c84aa82f3b259678c2c97a4473b22d753ca4411a6b0cec36d\",\"dweb:/ipfs/QmNZoQyminStaAdaLqoDLoWaBU5QWrWjXFjmBm4aFhzL8i\"]},\"@uniswap/v4-periphery/src/libraries/ERC721PermitHash.sol\":{\"keccak256\":\"0xd8024f516738a1f968169875efd4ba803049c933cf6ea5e36189df9915f4e3f2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://58b45295f87c31f516a727a2a40ba2f34ac57ebd5520c42ea59946d2ffc0f5df\",\"dweb:/ipfs/QmW8xC2xS18r4yhGbhSJTN1DfCgPT6oKHxwwszutn2sPuz\"]},\"permit2/src/interfaces/IERC1271.sol\":{\"keccak256\":\"0x0a546b8535127fb4a49d36d5f306fd5a8bbe6125a1852f935b9bb85a04c1acef\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4b99651e2df98e283a97c46d8d1ac4eff0d6a3618e25f7f85294472a670b541c\",\"dweb:/ipfs/QmYRy5G8fXE8BfmyvGEbESEYZPPg3zJEFxHzR5GJZEMMTk\"]},\"permit2/src/libraries/SignatureVerification.sol\":{\"keccak256\":\"0x99f437ffe99aa1ff7885aec8b971f48efac00c6ebc59c02eec78c9ca850a5e30\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9365414bdb67813d4ef6c89fa152dff05fc2a64992a1a4f212fa414dbdee3eab\",\"dweb:/ipfs/QmfJxSszF1rjmMoNXW5oQMo9gARMHAXYTu68fkZvdEu58i\"]},\"solmate/src/tokens/ERC721.sol\":{\"keccak256\":\"0x04af19f16f00ba65ae168d6d10da5210dc18da6bcec6974dccf984ba388aa22d\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://098e69f22b67da6927e03203c12ebfda5b0490518f6d9cce7853001ac5ad8403\",\"dweb:/ipfs/QmYyzfurQe88PsVjRNfutV3gS7Vi68f7zgtVZVtLfd4ViK\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/base/ImmutableState.sol":{"ImmutableState":{"abi":[{"inputs":[{"internalType":"contract IPoolManager","name":"_poolManager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"NotPoolManager","type":"error"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60a034606457601f6100f038819003918201601f19168301916001600160401b03831184841017606857808492602094604052833981010312606457516001600160a01b03811681036064576080526040516073908161007d82396080518160330152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe60808060405260043610156011575f80fd5b5f3560e01c63dc4c90d3146023575f80fd5b346062575f3660031901126062577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0xA0 CALLVALUE PUSH1 0x64 JUMPI PUSH1 0x1F PUSH2 0xF0 CODESIZE DUP2 SWAP1 SUB SWAP2 DUP3 ADD PUSH1 0x1F NOT AND DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT DUP5 DUP5 LT OR PUSH1 0x68 JUMPI DUP1 DUP5 SWAP3 PUSH1 0x20 SWAP5 PUSH1 0x40 MSTORE DUP4 CODECOPY DUP2 ADD SUB SLT PUSH1 0x64 JUMPI MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH1 0x64 JUMPI PUSH1 0x80 MSTORE PUSH1 0x40 MLOAD PUSH1 0x73 SWAP1 DUP2 PUSH2 0x7D DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 PUSH1 0x33 ADD MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR PUSH4 0xDC4C90D3 EQ PUSH1 0x23 JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x62 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x62 JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"326:491:72:-:0;;;;;;;;;;;;;-1:-1:-1;;326:491:72;;;;-1:-1:-1;;;;;326:491:72;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;326:491:72;;;;;;782:26;;326:491;;;;;;;;782:26;326:491;;;;;;;-1:-1:-1;326:491:72;;;;;;-1:-1:-1;326:491:72;;;;;-1:-1:-1;326:491:72"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{"14480":[{"length":32,"start":51}]},"linkReferences":{},"object":"60808060405260043610156011575f80fd5b5f3560e01c63dc4c90d3146023575f80fd5b346062575f3660031901126062577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR PUSH4 0xDC4C90D3 EQ PUSH1 0x23 JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x62 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x62 JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"326:491:72:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;326:491:72;;;;411:41;-1:-1:-1;;;;;326:491:72;;;;;;;;;"},"methodIdentifiers":{"poolManager()":"dc4c90d3"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"_poolManager\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"NotPoolManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Immutable State\",\"version\":1},\"userdoc\":{\"errors\":{\"NotPoolManager()\":[{\"notice\":\"Thrown when the caller is not PoolManager\"}]},\"kind\":\"user\",\"methods\":{\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"}},\"notice\":\"A collection of immutable state variables, commonly used across multiple contracts\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/base/ImmutableState.sol\":\"ImmutableState\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/base/ImmutableState.sol\":{\"keccak256\":\"0x1867c9fa2f9b4fa73bab0fcdc9d19ccef4eeac552273d8b84a170cd1cc90350a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af2d699b439e13b599632fddfe82718aebd41055fba7c075f186675c588d1337\",\"dweb:/ipfs/Qmc111gckSKb9aESn3wRFLeLiS4KGujaUcaYJgRnCRfwQU\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/base/Multicall_v4.sol":{"Multicall_v4":{"abi":[{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"payable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"multicall(bytes[])":"ac9650d8"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"multicall(bytes[])\":{\"details\":\"The `msg.value` is passed onto all subcalls, even if a previous subcall has consumed the ether. Subcalls can instead use `address(this).value` to see the available ETH, and consume it using {value: x}.\",\"params\":{\"data\":\"The encoded function data for each of the calls to make to this contract\"},\"returns\":{\"results\":\"The results from each of the calls passed in via data\"}}},\"title\":\"Multicall_v4\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"multicall(bytes[])\":{\"notice\":\"Call multiple functions in the current contract and return the data from all of them if they all succeed\"}},\"notice\":\"Enables calling multiple methods in a single call to the contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/base/Multicall_v4.sol\":\"Multicall_v4\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/base/Multicall_v4.sol\":{\"keccak256\":\"0x654c6e65bd9bbf12b2cc393f8523db04e85ec45e829200de3895709479d6d569\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d7ee5441ed14cdad5328f8e844403c2969fe2ecd9d110d7b80954bfa41f52d69\",\"dweb:/ipfs/QmQ1r1qmGyg1JXUgmjzi3WxjAmkLtMpUVsRWfYJsRRo3sP\"]},\"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol\":{\"keccak256\":\"0x336bec303f7ff86497d2679464c5adad5040f412b3d0769ce5e1d2a42f7e2c08\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7734f047d98d331c8abc51ad9f358ceee0a6dcae8d89ac49084b84de0d2d42e7\",\"dweb:/ipfs/QmWij2h7mU36LsXhb9P6pkYXrSCua4ixeWaVFSrsEcEmPQ\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/base/NativeWrapper.sol":{"NativeWrapper":{"abi":[{"inputs":[],"name":"InvalidEthSender","type":"error"},{"inputs":[],"name":"NotPoolManager","type":"error"},{"inputs":[],"name":"WETH9","outputs":[{"internalType":"contract IWETH9","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"WETH9()":"4aa4a4fc","poolManager()":"dc4c90d3"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidEthSender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPoolManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WETH9\",\"outputs\":[{\"internalType\":\"contract IWETH9\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Native Wrapper\",\"version\":1},\"userdoc\":{\"errors\":{\"InvalidEthSender()\":[{\"notice\":\"Thrown when an unexpected address sends ETH to this contract\"}],\"NotPoolManager()\":[{\"notice\":\"Thrown when the caller is not PoolManager\"}]},\"kind\":\"user\",\"methods\":{\"WETH9()\":{\"notice\":\"The address for WETH9\"},\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"}},\"notice\":\"Used for wrapping and unwrapping native\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/base/NativeWrapper.sol\":\"NativeWrapper\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/base/ImmutableState.sol\":{\"keccak256\":\"0x1867c9fa2f9b4fa73bab0fcdc9d19ccef4eeac552273d8b84a170cd1cc90350a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af2d699b439e13b599632fddfe82718aebd41055fba7c075f186675c588d1337\",\"dweb:/ipfs/Qmc111gckSKb9aESn3wRFLeLiS4KGujaUcaYJgRnCRfwQU\"]},\"@uniswap/v4-periphery/src/base/NativeWrapper.sol\":{\"keccak256\":\"0xfb756bc69e401d621f615746d881cfef7e98f3f563775905a1eca79a074a35ca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://507c9b3ddf79ec34b8ae472dfc4d6840343a9a172d7c6f33eec290e0078e9254\",\"dweb:/ipfs/QmWhGck33w1s343mtojttgisJcsdwDf6Ah6oTpjgsWcQWh\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol\":{\"keccak256\":\"0xe88abf12501ac275619aec0687240a07d26968aecbbcdfea88ba8bbd5d6e5e14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7097065d4492b4eccb1a73f99af1e5bec45404c6b973b8f5965c4c91403f5f92\",\"dweb:/ipfs/QmZK8oEqmjmTqhBoh3D3fBpyKGkUEFnptY8xwH9xpNjDm2\"]},\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/base/Notifier.sol":{"Notifier":{"abi":[{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"subscriber","type":"address"}],"name":"AlreadySubscribed","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"BurnNotificationReverted","type":"error"},{"inputs":[],"name":"GasLimitTooLow","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"ModifyLiquidityNotificationReverted","type":"error"},{"inputs":[],"name":"NoCodeSubscriber","type":"error"},{"inputs":[],"name":"NotSubscribed","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"SubscriptionReverted","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"subscriber","type":"address"}],"name":"Subscription","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"subscriber","type":"address"}],"name":"Unsubscription","type":"event"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"newSubscriber","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"subscribe","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"subscriber","outputs":[{"internalType":"contract ISubscriber","name":"subscriber","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unsubscribe","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"unsubscribeGasLimit","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":{"subscribe(uint256,address,bytes)":"2b9261de","subscriber(uint256)":"16a24131","unsubscribe(uint256)":"ad0b27fb","unsubscribeGasLimit()":"4767565f"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"AlreadySubscribed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"BurnNotificationReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GasLimitTooLow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"ModifyLiquidityNotificationReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoCodeSubscriber\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotSubscribed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"SubscriptionReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"Subscription\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"Unsubscription\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"newSubscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"subscribe\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"subscriber\",\"outputs\":[{\"internalType\":\"contract ISubscriber\",\"name\":\"subscriber\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"unsubscribe\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unsubscribeGasLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"subscribe(uint256,address,bytes)\":{\"details\":\"Calling subscribe when a position is already subscribed will revertpayable so it can be multicalled with NATIVE related actionswill revert if pool manager is locked\",\"params\":{\"data\":\"caller-provided data that's forwarded to the subscriber contract\",\"newSubscriber\":\"the address of the subscriber contract\",\"tokenId\":\"the ERC721 tokenId\"}},\"unsubscribe(uint256)\":{\"details\":\"Callers must specify a high gas limit (remaining gas should be higher than unsubscriberGasLimit) such that the subscriber can be notifiedpayable so it can be multicalled with NATIVE related actionsMust always allow a user to unsubscribe. In the case of a malicious subscriber, a user can always unsubscribe safely, ensuring liquidity is always modifiable.will revert if pool manager is locked\",\"params\":{\"tokenId\":\"the ERC721 tokenId\"}}},\"stateVariables\":{\"subscriber\":{\"params\":{\"tokenId\":\"the ERC721 tokenId\"},\"return\":\"subscriber the subscriber contract\",\"returns\":{\"subscriber\":\"the subscriber contract\"}},\"unsubscribeGasLimit\":{\"return\":\"uint256 the maximum gas limit when notifying a subscriber's `notifyUnsubscribe` function\",\"returns\":{\"_0\":\"uint256 the maximum gas limit when notifying a subscriber's `notifyUnsubscribe` function\"}}},\"version\":1},\"userdoc\":{\"errors\":{\"AlreadySubscribed(uint256,address)\":[{\"notice\":\"Thrown when a tokenId already has a subscriber\"}],\"BurnNotificationReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting burn notification\"}],\"GasLimitTooLow()\":[{\"notice\":\"Thrown when a user specifies a gas limit too low to avoid valid unsubscribe notifications\"}],\"ModifyLiquidityNotificationReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting modify liquidity notification\"}],\"NoCodeSubscriber()\":[{\"notice\":\"Thrown when a subscriber does not have code\"}],\"NotSubscribed()\":[{\"notice\":\"Thrown when unsubscribing without a subscriber\"}],\"SubscriptionReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting subscription\"}]},\"events\":{\"Subscription(uint256,address)\":{\"notice\":\"Emitted on a successful call to subscribe\"},\"Unsubscription(uint256,address)\":{\"notice\":\"Emitted on a successful call to unsubscribe\"}},\"kind\":\"user\",\"methods\":{\"subscribe(uint256,address,bytes)\":{\"notice\":\"Enables the subscriber to receive notifications for a respective position\"},\"subscriber(uint256)\":{\"notice\":\"Returns the subscriber for a respective position\"},\"unsubscribe(uint256)\":{\"notice\":\"Removes the subscriber from receiving notifications for a respective position\"},\"unsubscribeGasLimit()\":{\"notice\":\"Returns and determines the maximum allowable gas-used for notifying unsubscribe\"}},\"notice\":\"Notifier is used to opt in to sending updates to external contracts about position modifications or transfers\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/base/Notifier.sol\":\"Notifier\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/base/Notifier.sol\":{\"keccak256\":\"0x5f2a29b2a528269643d026bf4698e6520eeb1e5fc773f9d5059b3e279a488bf6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://63d5c541039f37ae89533a15fc311e3fec3d143fa11bac42e73964bdf74b3d06\",\"dweb:/ipfs/QmUrvqNYEYwEu1zRWLFVDUW2zEajbkNYxiNqUpc5aWx5ui\"]},\"@uniswap/v4-periphery/src/interfaces/INotifier.sol\":{\"keccak256\":\"0xfdc5187a98240a1691aae98b7dd2444d4c2bfb4746f3c34de9f3d18399c17c5e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://683af56401ec4f8817e8dfe150e7b3febaf0baaf40efe8d0d0475f735275f746\",\"dweb:/ipfs/QmRQ6S3nFnSc2jjDcQTvUJdTf4xKPojmvCkpvgyr6qTuVV\"]},\"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol\":{\"keccak256\":\"0x34ceadec4a63019680e543fe73197f198a55c825d86e18f327840354760b57e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31734feafe1fe162a0702ddf862fcc3bd97505931afb3c685033c0185d898051\",\"dweb:/ipfs/QmQEANYVyaXTNzXKcjUVfPhLU71Bix5vxQH75BpPWMkWgw\"]},\"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":{\"keccak256\":\"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6\",\"dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/base/Permit2Forwarder.sol":{"Permit2Forwarder":{"abi":[{"inputs":[{"internalType":"contract IAllowanceTransfer","name":"_permit2","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails","name":"details","type":"tuple"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle","name":"permitSingle","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[{"internalType":"bytes","name":"err","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"permit2","outputs":[{"internalType":"contract IAllowanceTransfer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails[]","name":"details","type":"tuple[]"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitBatch","name":"_permitBatch","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitBatch","outputs":[{"internalType":"bytes","name":"err","type":"bytes"}],"stateMutability":"payable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60a034607357601f6105ca38819003918201601f19168301916001600160401b03831184841017607757808492602094604052833981010312607357516001600160a01b038116810360735760805260405161053e908161008c82396080518181816084015281816101e4015261026d0152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe6080806040526004361015610012575f80fd5b5f905f3560e01c9081622a3e3a146102135750806312261ee7146101ce57632b67b5701461003e575f80fd5b6101003660031901126101bb57610053610408565b60c03660231901126101ca5760e4356001600160401b0381116101c65761007e903690600401610432565b606093917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b156101c2576040516302b67b5760e41b81526001600160a01b03958616600482015294602435908116908190036101be5760248601526044356001600160a01b038116908190036101be57604486015260643565ffffffffffff81168091036101be57606486015260843565ffffffffffff81168091036101be57608486015260a4356001600160a01b038116908190036101be5784866101708195839795839560a485015260c43560c485015261010060e48501526101048401916104d3565b03925af191826101a6575b505061019d575061019961018d6104f3565b6040519182918261045f565b0390f35b6101999061018d565b6101b1828092610489565b6101bb578061017b565b80fd5b8480fd5b8380fd5b8280fd5b5080fd5b50346101bb57806003193601126101bb576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b606036600319011261040457610227610408565b60243591906001600160401b038311610404578236036060600319820112610404576044356001600160401b03811161040457610268903690600401610432565b6060957f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031694919291853b1561040457632a2d80d160e01b87526001600160a01b03166004808801919091526024870188905260c48701949082013590602219018112156104045781016024600482013591019460018060401b038211610404578160071b360386136104045760648801899052819052869460e48601949392915f5b8181106103885750505061035c5f9694869488946044879560018060a01b0361033e6024830161041e565b166084880152013560a48601528483036003190160448601526104d3565b03925af19081610378575b5061019d575061019961018d6104f3565b5f61038291610489565b5f610367565b9196509394929391926001600160a01b036103a28861041e565b16815260208701356001600160a01b03811691908290036104045760808165ffffffffffff6103ee8e826103e160408f60019a60208a9b0152016104c0565b1660408501528c016104c0565b168d820152019701910191889695949392610313565b5f80fd5b600435906001600160a01b038216820361040457565b35906001600160a01b038216820361040457565b9181601f84011215610404578235916001600160401b038311610404576020838186019501011161040457565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b601f909101601f19168101906001600160401b038211908210176104ac57604052565b634e487b7160e01b5f52604160045260245ffd5b359065ffffffffffff8216820361040457565b908060209392818452848401375f828201840152601f01601f1916010190565b3d1561052c573d906001600160401b0382116104ac5760405191610521601f8201601f191660200184610489565b82523d5f602084013e565b60609056fea164736f6c634300081a000a","opcodes":"PUSH1 0xA0 CALLVALUE PUSH1 0x73 JUMPI PUSH1 0x1F PUSH2 0x5CA CODESIZE DUP2 SWAP1 SUB SWAP2 DUP3 ADD PUSH1 0x1F NOT AND DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT DUP5 DUP5 LT OR PUSH1 0x77 JUMPI DUP1 DUP5 SWAP3 PUSH1 0x20 SWAP5 PUSH1 0x40 MSTORE DUP4 CODECOPY DUP2 ADD SUB SLT PUSH1 0x73 JUMPI MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH1 0x73 JUMPI PUSH1 0x80 MSTORE PUSH1 0x40 MLOAD PUSH2 0x53E SWAP1 DUP2 PUSH2 0x8C DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 DUP2 DUP2 PUSH1 0x84 ADD MSTORE DUP2 DUP2 PUSH2 0x1E4 ADD MSTORE PUSH2 0x26D ADD MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x12 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 SWAP1 PUSH0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH3 0x2A3E3A EQ PUSH2 0x213 JUMPI POP DUP1 PUSH4 0x12261EE7 EQ PUSH2 0x1CE JUMPI PUSH4 0x2B67B570 EQ PUSH2 0x3E JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x100 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x1BB JUMPI PUSH2 0x53 PUSH2 0x408 JUMP JUMPDEST PUSH1 0xC0 CALLDATASIZE PUSH1 0x23 NOT ADD SLT PUSH2 0x1CA JUMPI PUSH1 0xE4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x1C6 JUMPI PUSH2 0x7E SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x432 JUMP JUMPDEST PUSH1 0x60 SWAP4 SWAP2 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 EXTCODESIZE ISZERO PUSH2 0x1C2 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2B67B57 PUSH1 0xE4 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 DUP7 AND PUSH1 0x4 DUP3 ADD MSTORE SWAP5 PUSH1 0x24 CALLDATALOAD SWAP1 DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH2 0x1BE JUMPI PUSH1 0x24 DUP7 ADD MSTORE PUSH1 0x44 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH2 0x1BE JUMPI PUSH1 0x44 DUP7 ADD MSTORE PUSH1 0x64 CALLDATALOAD PUSH6 0xFFFFFFFFFFFF DUP2 AND DUP1 SWAP2 SUB PUSH2 0x1BE JUMPI PUSH1 0x64 DUP7 ADD MSTORE PUSH1 0x84 CALLDATALOAD PUSH6 0xFFFFFFFFFFFF DUP2 AND DUP1 SWAP2 SUB PUSH2 0x1BE JUMPI PUSH1 0x84 DUP7 ADD MSTORE PUSH1 0xA4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH2 0x1BE JUMPI DUP5 DUP7 PUSH2 0x170 DUP2 SWAP6 DUP4 SWAP8 SWAP6 DUP4 SWAP6 PUSH1 0xA4 DUP6 ADD MSTORE PUSH1 0xC4 CALLDATALOAD PUSH1 0xC4 DUP6 ADD MSTORE PUSH2 0x100 PUSH1 0xE4 DUP6 ADD MSTORE PUSH2 0x104 DUP5 ADD SWAP2 PUSH2 0x4D3 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP2 DUP3 PUSH2 0x1A6 JUMPI JUMPDEST POP POP PUSH2 0x19D JUMPI POP PUSH2 0x199 PUSH2 0x18D PUSH2 0x4F3 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 PUSH2 0x45F JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST PUSH2 0x199 SWAP1 PUSH2 0x18D JUMP JUMPDEST PUSH2 0x1B1 DUP3 DUP1 SWAP3 PUSH2 0x489 JUMP JUMPDEST PUSH2 0x1BB JUMPI DUP1 PUSH2 0x17B JUMP JUMPDEST DUP1 REVERT JUMPDEST DUP5 DUP1 REVERT JUMPDEST DUP4 DUP1 REVERT JUMPDEST DUP3 DUP1 REVERT JUMPDEST POP DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x1BB JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x1BB JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x404 JUMPI PUSH2 0x227 PUSH2 0x408 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x404 JUMPI DUP3 CALLDATASIZE SUB PUSH1 0x60 PUSH1 0x3 NOT DUP3 ADD SLT PUSH2 0x404 JUMPI PUSH1 0x44 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x404 JUMPI PUSH2 0x268 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x432 JUMP JUMPDEST PUSH1 0x60 SWAP6 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP5 SWAP2 SWAP3 SWAP2 DUP6 EXTCODESIZE ISZERO PUSH2 0x404 JUMPI PUSH4 0x2A2D80D1 PUSH1 0xE0 SHL DUP8 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x4 DUP1 DUP9 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x24 DUP8 ADD DUP9 SWAP1 MSTORE PUSH1 0xC4 DUP8 ADD SWAP5 SWAP1 DUP3 ADD CALLDATALOAD SWAP1 PUSH1 0x22 NOT ADD DUP2 SLT ISZERO PUSH2 0x404 JUMPI DUP2 ADD PUSH1 0x24 PUSH1 0x4 DUP3 ADD CALLDATALOAD SWAP2 ADD SWAP5 PUSH1 0x1 DUP1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x404 JUMPI DUP2 PUSH1 0x7 SHL CALLDATASIZE SUB DUP7 SGT PUSH2 0x404 JUMPI PUSH1 0x64 DUP9 ADD DUP10 SWAP1 MSTORE DUP2 SWAP1 MSTORE DUP7 SWAP5 PUSH1 0xE4 DUP7 ADD SWAP5 SWAP4 SWAP3 SWAP2 PUSH0 JUMPDEST DUP2 DUP2 LT PUSH2 0x388 JUMPI POP POP POP PUSH2 0x35C PUSH0 SWAP7 SWAP5 DUP7 SWAP5 DUP9 SWAP5 PUSH1 0x44 DUP8 SWAP6 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0x33E PUSH1 0x24 DUP4 ADD PUSH2 0x41E JUMP JUMPDEST AND PUSH1 0x84 DUP9 ADD MSTORE ADD CALLDATALOAD PUSH1 0xA4 DUP7 ADD MSTORE DUP5 DUP4 SUB PUSH1 0x3 NOT ADD PUSH1 0x44 DUP7 ADD MSTORE PUSH2 0x4D3 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 PUSH2 0x378 JUMPI JUMPDEST POP PUSH2 0x19D JUMPI POP PUSH2 0x199 PUSH2 0x18D PUSH2 0x4F3 JUMP JUMPDEST PUSH0 PUSH2 0x382 SWAP2 PUSH2 0x489 JUMP JUMPDEST PUSH0 PUSH2 0x367 JUMP JUMPDEST SWAP2 SWAP7 POP SWAP4 SWAP5 SWAP3 SWAP4 SWAP2 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x3A2 DUP9 PUSH2 0x41E JUMP JUMPDEST AND DUP2 MSTORE PUSH1 0x20 DUP8 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP2 SWAP1 DUP3 SWAP1 SUB PUSH2 0x404 JUMPI PUSH1 0x80 DUP2 PUSH6 0xFFFFFFFFFFFF PUSH2 0x3EE DUP15 DUP3 PUSH2 0x3E1 PUSH1 0x40 DUP16 PUSH1 0x1 SWAP11 PUSH1 0x20 DUP11 SWAP12 ADD MSTORE ADD PUSH2 0x4C0 JUMP JUMPDEST AND PUSH1 0x40 DUP6 ADD MSTORE DUP13 ADD PUSH2 0x4C0 JUMP JUMPDEST AND DUP14 DUP3 ADD MSTORE ADD SWAP8 ADD SWAP2 ADD SWAP2 DUP9 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 PUSH2 0x313 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x404 JUMPI JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x404 JUMPI JUMP JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x404 JUMPI DUP3 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x404 JUMPI PUSH1 0x20 DUP4 DUP2 DUP7 ADD SWAP6 ADD ADD GT PUSH2 0x404 JUMPI JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 SWAP3 DUP2 DUP4 MSTORE DUP1 MLOAD SWAP2 DUP3 SWAP2 DUP3 DUP3 DUP7 ADD MSTORE ADD DUP5 DUP5 ADD MCOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x4AC JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CALLDATALOAD SWAP1 PUSH6 0xFFFFFFFFFFFF DUP3 AND DUP3 SUB PUSH2 0x404 JUMPI JUMP JUMPDEST SWAP1 DUP1 PUSH1 0x20 SWAP4 SWAP3 DUP2 DUP5 MSTORE DUP5 DUP5 ADD CALLDATACOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST RETURNDATASIZE ISZERO PUSH2 0x52C JUMPI RETURNDATASIZE SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x4AC JUMPI PUSH1 0x40 MLOAD SWAP2 PUSH2 0x521 PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP5 PUSH2 0x489 JUMP JUMPDEST DUP3 MSTORE RETURNDATASIZE PUSH0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY JUMP JUMPDEST PUSH1 0x60 SWAP1 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"341:1169:76:-:0;;;;;;;;;;;;;-1:-1:-1;;341:1169:76;;;;-1:-1:-1;;;;;341:1169:76;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;341:1169:76;;;;;;553:18;;341:1169;;;;;;;;553:18;341:1169;;;;;;;;;;;;;;;;;-1:-1:-1;341:1169:76;;;;;;-1:-1:-1;341:1169:76;;;;;-1:-1:-1;341:1169:76"},"deployedBytecode":{"functionDebugData":{"abi_decode_address":{"entryPoint":1054,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_address_2440":{"entryPoint":1032,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_bytes_calldata":{"entryPoint":1074,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_uint48":{"entryPoint":1216,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_bytes":{"entryPoint":1119,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_bytes_calldata":{"entryPoint":1235,"id":null,"parameterSlots":3,"returnSlots":1},"extract_returndata":{"entryPoint":1267,"id":null,"parameterSlots":0,"returnSlots":1},"finalize_allocation":{"entryPoint":1161,"id":null,"parameterSlots":2,"returnSlots":0}},"generatedSources":[],"immutableReferences":{"15048":[{"length":32,"start":132},{"length":32,"start":484},{"length":32,"start":621}]},"linkReferences":{},"object":"6080806040526004361015610012575f80fd5b5f905f3560e01c9081622a3e3a146102135750806312261ee7146101ce57632b67b5701461003e575f80fd5b6101003660031901126101bb57610053610408565b60c03660231901126101ca5760e4356001600160401b0381116101c65761007e903690600401610432565b606093917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b156101c2576040516302b67b5760e41b81526001600160a01b03958616600482015294602435908116908190036101be5760248601526044356001600160a01b038116908190036101be57604486015260643565ffffffffffff81168091036101be57606486015260843565ffffffffffff81168091036101be57608486015260a4356001600160a01b038116908190036101be5784866101708195839795839560a485015260c43560c485015261010060e48501526101048401916104d3565b03925af191826101a6575b505061019d575061019961018d6104f3565b6040519182918261045f565b0390f35b6101999061018d565b6101b1828092610489565b6101bb578061017b565b80fd5b8480fd5b8380fd5b8280fd5b5080fd5b50346101bb57806003193601126101bb576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b606036600319011261040457610227610408565b60243591906001600160401b038311610404578236036060600319820112610404576044356001600160401b03811161040457610268903690600401610432565b6060957f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031694919291853b1561040457632a2d80d160e01b87526001600160a01b03166004808801919091526024870188905260c48701949082013590602219018112156104045781016024600482013591019460018060401b038211610404578160071b360386136104045760648801899052819052869460e48601949392915f5b8181106103885750505061035c5f9694869488946044879560018060a01b0361033e6024830161041e565b166084880152013560a48601528483036003190160448601526104d3565b03925af19081610378575b5061019d575061019961018d6104f3565b5f61038291610489565b5f610367565b9196509394929391926001600160a01b036103a28861041e565b16815260208701356001600160a01b03811691908290036104045760808165ffffffffffff6103ee8e826103e160408f60019a60208a9b0152016104c0565b1660408501528c016104c0565b168d820152019701910191889695949392610313565b5f80fd5b600435906001600160a01b038216820361040457565b35906001600160a01b038216820361040457565b9181601f84011215610404578235916001600160401b038311610404576020838186019501011161040457565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b601f909101601f19168101906001600160401b038211908210176104ac57604052565b634e487b7160e01b5f52604160045260245ffd5b359065ffffffffffff8216820361040457565b908060209392818452848401375f828201840152601f01601f1916010190565b3d1561052c573d906001600160401b0382116104ac5760405191610521601f8201601f191660200184610489565b82523d5f602084013e565b60609056fea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x12 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 SWAP1 PUSH0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH3 0x2A3E3A EQ PUSH2 0x213 JUMPI POP DUP1 PUSH4 0x12261EE7 EQ PUSH2 0x1CE JUMPI PUSH4 0x2B67B570 EQ PUSH2 0x3E JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH2 0x100 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x1BB JUMPI PUSH2 0x53 PUSH2 0x408 JUMP JUMPDEST PUSH1 0xC0 CALLDATASIZE PUSH1 0x23 NOT ADD SLT PUSH2 0x1CA JUMPI PUSH1 0xE4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x1C6 JUMPI PUSH2 0x7E SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x432 JUMP JUMPDEST PUSH1 0x60 SWAP4 SWAP2 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 EXTCODESIZE ISZERO PUSH2 0x1C2 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2B67B57 PUSH1 0xE4 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 DUP7 AND PUSH1 0x4 DUP3 ADD MSTORE SWAP5 PUSH1 0x24 CALLDATALOAD SWAP1 DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH2 0x1BE JUMPI PUSH1 0x24 DUP7 ADD MSTORE PUSH1 0x44 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH2 0x1BE JUMPI PUSH1 0x44 DUP7 ADD MSTORE PUSH1 0x64 CALLDATALOAD PUSH6 0xFFFFFFFFFFFF DUP2 AND DUP1 SWAP2 SUB PUSH2 0x1BE JUMPI PUSH1 0x64 DUP7 ADD MSTORE PUSH1 0x84 CALLDATALOAD PUSH6 0xFFFFFFFFFFFF DUP2 AND DUP1 SWAP2 SUB PUSH2 0x1BE JUMPI PUSH1 0x84 DUP7 ADD MSTORE PUSH1 0xA4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH2 0x1BE JUMPI DUP5 DUP7 PUSH2 0x170 DUP2 SWAP6 DUP4 SWAP8 SWAP6 DUP4 SWAP6 PUSH1 0xA4 DUP6 ADD MSTORE PUSH1 0xC4 CALLDATALOAD PUSH1 0xC4 DUP6 ADD MSTORE PUSH2 0x100 PUSH1 0xE4 DUP6 ADD MSTORE PUSH2 0x104 DUP5 ADD SWAP2 PUSH2 0x4D3 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP2 DUP3 PUSH2 0x1A6 JUMPI JUMPDEST POP POP PUSH2 0x19D JUMPI POP PUSH2 0x199 PUSH2 0x18D PUSH2 0x4F3 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 PUSH2 0x45F JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST PUSH2 0x199 SWAP1 PUSH2 0x18D JUMP JUMPDEST PUSH2 0x1B1 DUP3 DUP1 SWAP3 PUSH2 0x489 JUMP JUMPDEST PUSH2 0x1BB JUMPI DUP1 PUSH2 0x17B JUMP JUMPDEST DUP1 REVERT JUMPDEST DUP5 DUP1 REVERT JUMPDEST DUP4 DUP1 REVERT JUMPDEST DUP3 DUP1 REVERT JUMPDEST POP DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x1BB JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x1BB JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x404 JUMPI PUSH2 0x227 PUSH2 0x408 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x404 JUMPI DUP3 CALLDATASIZE SUB PUSH1 0x60 PUSH1 0x3 NOT DUP3 ADD SLT PUSH2 0x404 JUMPI PUSH1 0x44 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x404 JUMPI PUSH2 0x268 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x432 JUMP JUMPDEST PUSH1 0x60 SWAP6 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP5 SWAP2 SWAP3 SWAP2 DUP6 EXTCODESIZE ISZERO PUSH2 0x404 JUMPI PUSH4 0x2A2D80D1 PUSH1 0xE0 SHL DUP8 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x4 DUP1 DUP9 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x24 DUP8 ADD DUP9 SWAP1 MSTORE PUSH1 0xC4 DUP8 ADD SWAP5 SWAP1 DUP3 ADD CALLDATALOAD SWAP1 PUSH1 0x22 NOT ADD DUP2 SLT ISZERO PUSH2 0x404 JUMPI DUP2 ADD PUSH1 0x24 PUSH1 0x4 DUP3 ADD CALLDATALOAD SWAP2 ADD SWAP5 PUSH1 0x1 DUP1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x404 JUMPI DUP2 PUSH1 0x7 SHL CALLDATASIZE SUB DUP7 SGT PUSH2 0x404 JUMPI PUSH1 0x64 DUP9 ADD DUP10 SWAP1 MSTORE DUP2 SWAP1 MSTORE DUP7 SWAP5 PUSH1 0xE4 DUP7 ADD SWAP5 SWAP4 SWAP3 SWAP2 PUSH0 JUMPDEST DUP2 DUP2 LT PUSH2 0x388 JUMPI POP POP POP PUSH2 0x35C PUSH0 SWAP7 SWAP5 DUP7 SWAP5 DUP9 SWAP5 PUSH1 0x44 DUP8 SWAP6 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0x33E PUSH1 0x24 DUP4 ADD PUSH2 0x41E JUMP JUMPDEST AND PUSH1 0x84 DUP9 ADD MSTORE ADD CALLDATALOAD PUSH1 0xA4 DUP7 ADD MSTORE DUP5 DUP4 SUB PUSH1 0x3 NOT ADD PUSH1 0x44 DUP7 ADD MSTORE PUSH2 0x4D3 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 PUSH2 0x378 JUMPI JUMPDEST POP PUSH2 0x19D JUMPI POP PUSH2 0x199 PUSH2 0x18D PUSH2 0x4F3 JUMP JUMPDEST PUSH0 PUSH2 0x382 SWAP2 PUSH2 0x489 JUMP JUMPDEST PUSH0 PUSH2 0x367 JUMP JUMPDEST SWAP2 SWAP7 POP SWAP4 SWAP5 SWAP3 SWAP4 SWAP2 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x3A2 DUP9 PUSH2 0x41E JUMP JUMPDEST AND DUP2 MSTORE PUSH1 0x20 DUP8 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP2 SWAP1 DUP3 SWAP1 SUB PUSH2 0x404 JUMPI PUSH1 0x80 DUP2 PUSH6 0xFFFFFFFFFFFF PUSH2 0x3EE DUP15 DUP3 PUSH2 0x3E1 PUSH1 0x40 DUP16 PUSH1 0x1 SWAP11 PUSH1 0x20 DUP11 SWAP12 ADD MSTORE ADD PUSH2 0x4C0 JUMP JUMPDEST AND PUSH1 0x40 DUP6 ADD MSTORE DUP13 ADD PUSH2 0x4C0 JUMP JUMPDEST AND DUP14 DUP3 ADD MSTORE ADD SWAP8 ADD SWAP2 ADD SWAP2 DUP9 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 PUSH2 0x313 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x404 JUMPI JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x404 JUMPI JUMP JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x404 JUMPI DUP3 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x404 JUMPI PUSH1 0x20 DUP4 DUP2 DUP7 ADD SWAP6 ADD ADD GT PUSH2 0x404 JUMPI JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 SWAP3 DUP2 DUP4 MSTORE DUP1 MLOAD SWAP2 DUP3 SWAP2 DUP3 DUP3 DUP7 ADD MSTORE ADD DUP5 DUP5 ADD MCOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x4AC JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CALLDATALOAD SWAP1 PUSH6 0xFFFFFFFFFFFF DUP3 AND DUP3 SUB PUSH2 0x404 JUMPI JUMP JUMPDEST SWAP1 DUP1 PUSH1 0x20 SWAP4 SWAP3 DUP2 DUP5 MSTORE DUP5 DUP5 ADD CALLDATACOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST RETURNDATASIZE ISZERO PUSH2 0x52C JUMPI RETURNDATASIZE SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x4AC JUMPI PUSH1 0x40 MLOAD SWAP2 PUSH2 0x521 PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP5 PUSH2 0x489 JUMP JUMPDEST DUP3 MSTORE RETURNDATASIZE PUSH0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY JUMP JUMPDEST PUSH1 0x60 SWAP1 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"341:1169:76:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;341:1169:76;;;;;;:::i;:::-;;;-1:-1:-1;;341:1169:76;;;;;;-1:-1:-1;;;;;341:1169:76;;;;;;;;;;;:::i;:::-;;;;912:7;-1:-1:-1;;;;;341:1169:76;;912:46;;;;;341:1169;;-1:-1:-1;;;912:46:76;;-1:-1:-1;;;;;341:1169:76;;;;912:46;;341:1169;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;341:1169:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;341:1169:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;912:46;;;;;;;;341:1169;-1:-1:-1;;908:127:76;;970:65;341:1169;970:65;;:::i;:::-;341:1169;;;;;;;:::i;:::-;;;;908:127;341:1169;908:127;;;912:46;;;;;;:::i;:::-;341:1169;;912:46;;;341:1169;;;;;;;912:46;341:1169;;;;;;;;;;;;;;;;;;;;;;;;;;452:43;-1:-1:-1;;;;;341:1169:76;;;;;;;;;-1:-1:-1;;341:1169:76;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;341:1169:76;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;341:1169:76;;;;;;;;;;;:::i;:::-;;;1379:7;-1:-1:-1;;;;;341:1169:76;;;;;1379:46;;;;;-1:-1:-1;;;1379:46:76;;-1:-1:-1;;;;;341:1169:76;;1379:46;;;341:1169;;;;;;;;;;;;;;;;;;;-1:-1:-1;;341:1169:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;341:1169:76;;;;;;:::i;:::-;1379:46;;;;;;;;341:1169;-1:-1:-1;1375:127:76;;1437:65;341:1169;1437:65;;:::i;1379:46::-;341:1169;1379:46;;;:::i;:::-;341:1169;1379:46;;341:1169;;;-1:-1:-1;341:1169:76;;;;;;-1:-1:-1;;;;;341:1169:76;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;341:1169:76;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;341:1169:76;;;;;;:::o;:::-;;;-1:-1:-1;;;;;341:1169:76;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;341:1169:76;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;341:1169:76;;;;:::o;:::-;;;;;-1:-1:-1;;341:1169:76;;;;-1:-1:-1;;;;;341:1169:76;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;341:1169:76;;;;;-1:-1:-1;341:1169:76;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;341:1169:76;;;;;;;;-1:-1:-1;;341:1169:76;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;341:1169:76;;;;;;;;;;;-1:-1:-1;;341:1169:76;;;;;:::i;:::-;;;;-1:-1:-1;341:1169:76;;;;:::o;:::-;;;:::o"},"methodIdentifiers":{"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)":"2b67b570","permit2()":"12261ee7","permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)":"002a3e3a"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IAllowanceTransfer\",\"name\":\"_permit2\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails\",\"name\":\"details\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitSingle\",\"name\":\"permitSingle\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"err\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"permit2\",\"outputs\":[{\"internalType\":\"contract IAllowanceTransfer\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails[]\",\"name\":\"details\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitBatch\",\"name\":\"_permitBatch\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitBatch\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"err\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This contract does not enforce the spender to be this contract, but that is the intended use case\",\"kind\":\"dev\",\"methods\":{\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"details\":\"this function is payable to allow multicall with NATIVE based actions\",\"params\":{\"owner\":\"the owner of the tokens\",\"permitSingle\":\"the permit data\",\"signature\":\"the signature of the permit; abi.encodePacked(r, s, v)\"},\"returns\":{\"err\":\"the error returned by a reverting permit call, empty if successful\"}},\"permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"details\":\"this function is payable to allow multicall with NATIVE based actions\",\"params\":{\"_permitBatch\":\"a batch of approvals\",\"owner\":\"the owner of the tokens\",\"signature\":\"the signature of the permit; abi.encodePacked(r, s, v)\"},\"returns\":{\"err\":\"the error returned by a reverting permit call, empty if successful\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"notice\":\"allows forwarding a single permit to permit2\"},\"permit2()\":{\"notice\":\"the Permit2 contract to forward approvals\"},\"permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"notice\":\"allows forwarding batch permits to permit2\"}},\"notice\":\"Permit2Forwarder allows permitting this contract as a spender on permit2\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/base/Permit2Forwarder.sol\":\"Permit2Forwarder\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/base/Permit2Forwarder.sol\":{\"keccak256\":\"0xcdf793e6732cdf0c386f89573384032314b0893bf208b3d75ac71d3002674a3b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4f18d0be711c1d586854e2a78113bf84765e7158c9568b2c73f8750511a22ce7\",\"dweb:/ipfs/QmSe3zz9jvDZo2MqPgCpfNs3yA4xAWPB1deZBoRFzeZiN1\"]},\"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol\":{\"keccak256\":\"0xfad472937280e861125ff12aa6f9c2cf7440fbb20a2cc29485c24662ad4279c5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31bfbc331f5972fc373d9469fd1ca1d14818db3275f21b7b590f20820cb4439d\",\"dweb:/ipfs/QmX3Bv9wfYpAFZKBcxKsQSXUrSC8mqNBdzh6XVMS72aNx9\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/base/PoolInitializer_v4.sol":{"PoolInitializer_v4":{"abi":[{"inputs":[],"name":"NotPoolManager","type":"error"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"initializePool","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"initializePool((address,address,uint24,int24,address),uint160)":"f7020405","poolManager()":"dc4c90d3"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"NotPoolManager\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"initializePool\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Enables create pool + mint liquidity in a single transaction with multicall\",\"kind\":\"dev\",\"methods\":{\"initializePool((address,address,uint24,int24,address),uint160)\":{\"details\":\"If the pool is already initialized, this function will not revert and just return type(int24).max\",\"params\":{\"key\":\"The PoolKey of the pool to initialize\",\"sqrtPriceX96\":\"The initial starting price of the pool, expressed as a sqrtPriceX96\"},\"returns\":{\"_0\":\"The current tick of the pool, or type(int24).max if the pool creation failed, or the pool already existed\"}}},\"title\":\"Pool Initializer\",\"version\":1},\"userdoc\":{\"errors\":{\"NotPoolManager()\":[{\"notice\":\"Thrown when the caller is not PoolManager\"}]},\"kind\":\"user\",\"methods\":{\"initializePool((address,address,uint24,int24,address),uint160)\":{\"notice\":\"Initialize a Uniswap v4 Pool\"},\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"}},\"notice\":\"Initializes a Uniswap v4 Pool\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/base/PoolInitializer_v4.sol\":\"PoolInitializer_v4\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/base/ImmutableState.sol\":{\"keccak256\":\"0x1867c9fa2f9b4fa73bab0fcdc9d19ccef4eeac552273d8b84a170cd1cc90350a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af2d699b439e13b599632fddfe82718aebd41055fba7c075f186675c588d1337\",\"dweb:/ipfs/Qmc111gckSKb9aESn3wRFLeLiS4KGujaUcaYJgRnCRfwQU\"]},\"@uniswap/v4-periphery/src/base/PoolInitializer_v4.sol\":{\"keccak256\":\"0x068c85032e50ef6374958ff3e7dcc143527f669de1bbba831e552d033344a1e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://674c29491faef627b52cb81495bf3747cd7f7613e2ddcabb1dd258f93f966006\",\"dweb:/ipfs/Qmc1D31ubNDRdxVS6pxDzn7z8disSw7UScHu8rgfpxCAsz\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol\":{\"keccak256\":\"0x2e4feda94650a2642039e0309ffdec480ee050bc40864bf5e1dba42bb4dc9e98\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://964c178b4da8bab9ef898b94bb26d7c17cc44c5cf20485f55dcf5e9c7e1b1d92\",\"dweb:/ipfs/QmVd2c3SYteyr5xZgUS4sDAiZF43dLwVAEKdCfvQbkZpRJ\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/base/ReentrancyLock.sol":{"ReentrancyLock":{"abi":[{"inputs":[],"name":"ContractLocked","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"608080604052346013576010908160188239f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x13 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x18 DUP3 CODECOPY RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"193:327:78:-:0;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"193:327:78:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ContractLocked\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"A transient reentrancy lock, that stores the caller's address as the lock\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/base/ReentrancyLock.sol\":\"ReentrancyLock\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/base/ReentrancyLock.sol\":{\"keccak256\":\"0x66dd19f8eb40b7a86afea0e5b1dcada6268041027b0dfc493b80ca1f66af217d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ac6d34517e2dd2c9cd03e16c5333defd003c134a4bff52ad95b673a5e8804609\",\"dweb:/ipfs/QmPSRdswfajCZCchH9j8rC7U3GLJ4w24gK35gxRVY3Qxz4\"]},\"@uniswap/v4-periphery/src/libraries/Locker.sol\":{\"keccak256\":\"0x5c0859290a277fbfba8579b506426d3fc4b2ff7d8b691c03dd23aa85797fdae1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18ad9effea8da74b9988373dddddd6669f11701fc954f77d2cb58beb9a9cc3ad\",\"dweb:/ipfs/QmQdBMoXdVACo6k6rumWj15UPDCqGpWNSPvQbejxKuV9RJ\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/base/SafeCallback.sol":{"SafeCallback":{"abi":[{"inputs":[],"name":"NotPoolManager","type":"error"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlockCallback","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"poolManager()":"dc4c90d3","unlockCallback(bytes)":"91dd7346"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"NotPoolManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlockCallback\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"unlockCallback(bytes)\":{\"details\":\"We force the onlyPoolManager modifier by exposing a virtual function after the onlyPoolManager check.\",\"params\":{\"data\":\"The data that was passed to the call to unlock\"},\"returns\":{\"_0\":\"Any data that you want to be returned from the unlock call\"}}},\"title\":\"Safe Callback\",\"version\":1},\"userdoc\":{\"errors\":{\"NotPoolManager()\":[{\"notice\":\"Thrown when the caller is not PoolManager\"}]},\"kind\":\"user\",\"methods\":{\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"},\"unlockCallback(bytes)\":{\"notice\":\"Called by the pool manager on `msg.sender` when the manager is unlocked\"}},\"notice\":\"A contract that only allows the Uniswap v4 PoolManager to call the unlockCallback\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/base/SafeCallback.sol\":\"SafeCallback\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol\":{\"keccak256\":\"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b\",\"dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/base/ImmutableState.sol\":{\"keccak256\":\"0x1867c9fa2f9b4fa73bab0fcdc9d19ccef4eeac552273d8b84a170cd1cc90350a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af2d699b439e13b599632fddfe82718aebd41055fba7c075f186675c588d1337\",\"dweb:/ipfs/Qmc111gckSKb9aESn3wRFLeLiS4KGujaUcaYJgRnCRfwQU\"]},\"@uniswap/v4-periphery/src/base/SafeCallback.sol\":{\"keccak256\":\"0xd78b583df1b9ee06d58e83b84fc9f08971389b34dd34bc13db072e0c13c710da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c0a47f4bcd6060c4462153b9a7c52a60a460ace91acb6ddd5492eab28ec26173\",\"dweb:/ipfs/QmdRCTRS1dhFjWEy6z577j4xz9J5HPfHBwcNzAic8G59oT\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/base/UnorderedNonce.sol":{"UnorderedNonce":{"abi":[{"inputs":[],"name":"NonceAlreadyUsed","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"word","type":"uint256"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"bitmap","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"revokeNonce","outputs":[],"stateMutability":"payable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460135760cb908160188239f35b5f80fdfe608060405260043610156010575f80fd5b5f3560e01c806305c1ee201460745763502e1a1614602c575f80fd5b3460705760403660031901126070576004356001600160a01b038116908190036070575f525f60205260405f206024355f52602052602060405f2054604051908152f35b5f80fd5b6020366003190112607057600435600160ff82161b90335f525f60205260405f209060081c5f5260205260405f2081815418809155161560b057005b623f613760e71b5f5260045ffdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x13 JUMPI PUSH1 0xCB SWAP1 DUP2 PUSH1 0x18 DUP3 CODECOPY RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x10 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x5C1EE20 EQ PUSH1 0x74 JUMPI PUSH4 0x502E1A16 EQ PUSH1 0x2C JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x70 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x70 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH1 0x70 JUMPI PUSH0 MSTORE PUSH0 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x24 CALLDATALOAD PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x70 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0xFF DUP3 AND SHL SWAP1 CALLER PUSH0 MSTORE PUSH0 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH1 0x8 SHR PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP2 DUP2 SLOAD XOR DUP1 SWAP2 SSTORE AND ISZERO PUSH1 0xB0 JUMPI STOP JUMPDEST PUSH3 0x3F6137 PUSH1 0xE7 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"232:883:80:-:0;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"608060405260043610156010575f80fd5b5f3560e01c806305c1ee201460745763502e1a1614602c575f80fd5b3460705760403660031901126070576004356001600160a01b038116908190036070575f525f60205260405f206024355f52602052602060405f2054604051908152f35b5f80fd5b6020366003190112607057600435600160ff82161b90335f525f60205260405f209060081c5f5260205260405f2081815418809155161560b057005b623f613760e71b5f5260045ffdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x10 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x5C1EE20 EQ PUSH1 0x74 JUMPI PUSH4 0x502E1A16 EQ PUSH1 0x2C JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x70 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x70 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH1 0x70 JUMPI PUSH0 MSTORE PUSH0 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH1 0x24 CALLDATALOAD PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x70 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0xFF DUP3 AND SHL SWAP1 CALLER PUSH0 MSTORE PUSH0 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 SWAP1 PUSH1 0x8 SHR PUSH0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP2 DUP2 SLOAD XOR DUP1 SWAP2 SSTORE AND ISZERO PUSH1 0xB0 JUMPI STOP JUMPDEST PUSH3 0x3F6137 PUSH1 0xE7 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"232:883:80:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;232:883:80;;;;;;-1:-1:-1;;;;;232:883:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;232:883:80;;;;;;;;;;;1088:10;;232:883;;;;;;;;;765:1;232:883;;;;;;;;;;;869:29;232:883;;;912:13;:18;908:49;;232:883;908:49;939:18;;;232:883;939:18;232:883;;939:18"},"methodIdentifiers":{"nonces(address,uint256)":"502e1a16","revokeNonce(uint256)":"05c1ee20"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"NonceAlreadyUsed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"word\",\"type\":\"uint256\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"bitmap\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"revokeNonce\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"revokeNonce(uint256)\":{\"details\":\"Used in cases where a valid nonce has not been broadcasted onchain, and the owner wants to revoke the validity of the noncepayable so it can be multicalled with native-token related actions\"}},\"stateVariables\":{\"nonces\":{\"details\":\"word is at most type(uint248).max\"}},\"title\":\"Unordered Nonce\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"nonces(address,uint256)\":{\"notice\":\"mapping of nonces consumed by each address, where a nonce is a single bit on the 256-bit bitmap\"},\"revokeNonce(uint256)\":{\"notice\":\"Revoke a nonce by spending it, preventing it from being used again\"}},\"notice\":\"Contract state and methods for using unordered nonces in signatures\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/base/UnorderedNonce.sol\":\"UnorderedNonce\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/base/UnorderedNonce.sol\":{\"keccak256\":\"0x0ec175bf2213d75606ebb770227e8622ae9666fbde8ff2d1682d85890b81676e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://079952902a4be56b5e963585349988fcbea853bf8271a5cb88e7629cafb06bcf\",\"dweb:/ipfs/Qmere81cd2Wq9Vq4rL5G1nW4Jv54YJeMr1oaej7468xrgi\"]},\"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol\":{\"keccak256\":\"0xd7f32fee74dc7d1a3b078ca1263961baccaa6bf434c79e8fe0e092e30c3e0ec3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7d1e92d89d5f49c84aa82f3b259678c2c97a4473b22d753ca4411a6b0cec36d\",\"dweb:/ipfs/QmNZoQyminStaAdaLqoDLoWaBU5QWrWjXFjmBm4aFhzL8i\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol":{"IEIP712_v4":{"abi":[{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"returns\":{\"_0\":\"bytes32 The domain separator\"}}},\"title\":\"IEIP712_v4\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"notice\":\"Returns the domain separator for the current chain.\"}},\"notice\":\"Interface for the EIP712 contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol\":\"IEIP712_v4\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol\":{\"keccak256\":\"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736\",\"dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol":{"IERC721Permit_v4":{"abi":[{"inputs":[],"name":"NoSelfPermit","type":"error"},{"inputs":[],"name":"SignatureDeadlineExpired","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitForAll","outputs":[],"stateMutability":"payable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"permit(address,uint256,uint256,uint256,bytes)":"0f5730f1","permitForAll(address,address,bool,uint256,uint256,bytes)":"3aea60f0"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"NoSelfPermit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SignatureDeadlineExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitForAll\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"permit(address,uint256,uint256,uint256,bytes)\":{\"details\":\"payable so it can be multicalled with NATIVE related actions\",\"params\":{\"deadline\":\"The deadline timestamp by which the call must be mined for the approve to work\",\"nonce\":\"a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\",\"signature\":\"Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\",\"spender\":\"The account that is being approved\",\"tokenId\":\"The ID of the token that is being approved for spending\"}},\"permitForAll(address,address,bool,uint256,uint256,bytes)\":{\"details\":\"payable so it can be multicalled with NATIVE related actions\",\"params\":{\"approved\":\"The permission to set on the operator\",\"deadline\":\"The deadline timestamp by which the call must be mined for the approve to work\",\"nonce\":\"a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\",\"operator\":\"The address that will be set as an operator for the owner\",\"owner\":\"The address that is setting the operator\",\"signature\":\"Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\"}}},\"title\":\"IERC721Permit_v4\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"permit(address,uint256,uint256,uint256,bytes)\":{\"notice\":\"Approve of a specific token ID for spending by spender via signature\"},\"permitForAll(address,address,bool,uint256,uint256,bytes)\":{\"notice\":\"Set an operator with full permission to an owner's tokens via signature\"}},\"notice\":\"Interface for the ERC721Permit_v4 contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol\":\"IERC721Permit_v4\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol\":{\"keccak256\":\"0x103adbba724ef536abc536fe8a4d7dc12880724c562109b69f2adce4a91fa017\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://06f51b5a5a218e0bc866a83e7821be53c9db9de0ca921f16abd3d13ea0eab69d\",\"dweb:/ipfs/QmbnhLy992hpQZyphTkj7fpr6jKKVva2AzfmLiDZEuqHAk\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol":{"IImmutableState":{"abi":[{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"poolManager()":"dc4c90d3"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"IImmutableState\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"}},\"notice\":\"Interface for the ImmutableState contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":\"IImmutableState\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol":{"IMulticall_v4":{"abi":[{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"payable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"multicall(bytes[])":"ac9650d8"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"multicall(bytes[])\":{\"details\":\"The `msg.value` is passed onto all subcalls, even if a previous subcall has consumed the ether. Subcalls can instead use `address(this).value` to see the available ETH, and consume it using {value: x}.\",\"params\":{\"data\":\"The encoded function data for each of the calls to make to this contract\"},\"returns\":{\"results\":\"The results from each of the calls passed in via data\"}}},\"title\":\"IMulticall_v4\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"multicall(bytes[])\":{\"notice\":\"Call multiple functions in the current contract and return the data from all of them if they all succeed\"}},\"notice\":\"Interface for the Multicall_v4 contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol\":\"IMulticall_v4\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol\":{\"keccak256\":\"0x336bec303f7ff86497d2679464c5adad5040f412b3d0769ce5e1d2a42f7e2c08\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7734f047d98d331c8abc51ad9f358ceee0a6dcae8d89ac49084b84de0d2d42e7\",\"dweb:/ipfs/QmWij2h7mU36LsXhb9P6pkYXrSCua4ixeWaVFSrsEcEmPQ\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/interfaces/INotifier.sol":{"INotifier":{"abi":[{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"subscriber","type":"address"}],"name":"AlreadySubscribed","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"BurnNotificationReverted","type":"error"},{"inputs":[],"name":"GasLimitTooLow","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"ModifyLiquidityNotificationReverted","type":"error"},{"inputs":[],"name":"NoCodeSubscriber","type":"error"},{"inputs":[],"name":"NotSubscribed","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"SubscriptionReverted","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"subscriber","type":"address"}],"name":"Subscription","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"subscriber","type":"address"}],"name":"Unsubscription","type":"event"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"newSubscriber","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"subscribe","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"subscriber","outputs":[{"internalType":"contract ISubscriber","name":"subscriber","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unsubscribe","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"unsubscribeGasLimit","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":{"subscribe(uint256,address,bytes)":"2b9261de","subscriber(uint256)":"16a24131","unsubscribe(uint256)":"ad0b27fb","unsubscribeGasLimit()":"4767565f"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"AlreadySubscribed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"BurnNotificationReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GasLimitTooLow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"ModifyLiquidityNotificationReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoCodeSubscriber\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotSubscribed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"SubscriptionReverted\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"Subscription\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"Unsubscription\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"newSubscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"subscribe\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"subscriber\",\"outputs\":[{\"internalType\":\"contract ISubscriber\",\"name\":\"subscriber\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"unsubscribe\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unsubscribeGasLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"subscribe(uint256,address,bytes)\":{\"details\":\"Calling subscribe when a position is already subscribed will revertpayable so it can be multicalled with NATIVE related actionswill revert if pool manager is locked\",\"params\":{\"data\":\"caller-provided data that's forwarded to the subscriber contract\",\"newSubscriber\":\"the address of the subscriber contract\",\"tokenId\":\"the ERC721 tokenId\"}},\"subscriber(uint256)\":{\"params\":{\"tokenId\":\"the ERC721 tokenId\"},\"returns\":{\"subscriber\":\"the subscriber contract\"}},\"unsubscribe(uint256)\":{\"details\":\"Callers must specify a high gas limit (remaining gas should be higher than unsubscriberGasLimit) such that the subscriber can be notifiedpayable so it can be multicalled with NATIVE related actionsMust always allow a user to unsubscribe. In the case of a malicious subscriber, a user can always unsubscribe safely, ensuring liquidity is always modifiable.will revert if pool manager is locked\",\"params\":{\"tokenId\":\"the ERC721 tokenId\"}},\"unsubscribeGasLimit()\":{\"returns\":{\"_0\":\"uint256 the maximum gas limit when notifying a subscriber's `notifyUnsubscribe` function\"}}},\"title\":\"INotifier\",\"version\":1},\"userdoc\":{\"errors\":{\"AlreadySubscribed(uint256,address)\":[{\"notice\":\"Thrown when a tokenId already has a subscriber\"}],\"BurnNotificationReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting burn notification\"}],\"GasLimitTooLow()\":[{\"notice\":\"Thrown when a user specifies a gas limit too low to avoid valid unsubscribe notifications\"}],\"ModifyLiquidityNotificationReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting modify liquidity notification\"}],\"NoCodeSubscriber()\":[{\"notice\":\"Thrown when a subscriber does not have code\"}],\"NotSubscribed()\":[{\"notice\":\"Thrown when unsubscribing without a subscriber\"}],\"SubscriptionReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting subscription\"}]},\"events\":{\"Subscription(uint256,address)\":{\"notice\":\"Emitted on a successful call to subscribe\"},\"Unsubscription(uint256,address)\":{\"notice\":\"Emitted on a successful call to unsubscribe\"}},\"kind\":\"user\",\"methods\":{\"subscribe(uint256,address,bytes)\":{\"notice\":\"Enables the subscriber to receive notifications for a respective position\"},\"subscriber(uint256)\":{\"notice\":\"Returns the subscriber for a respective position\"},\"unsubscribe(uint256)\":{\"notice\":\"Removes the subscriber from receiving notifications for a respective position\"},\"unsubscribeGasLimit()\":{\"notice\":\"Returns and determines the maximum allowable gas-used for notifying unsubscribe\"}},\"notice\":\"Interface for the Notifier contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/interfaces/INotifier.sol\":\"INotifier\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/interfaces/INotifier.sol\":{\"keccak256\":\"0xfdc5187a98240a1691aae98b7dd2444d4c2bfb4746f3c34de9f3d18399c17c5e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://683af56401ec4f8817e8dfe150e7b3febaf0baaf40efe8d0d0475f735275f746\",\"dweb:/ipfs/QmRQ6S3nFnSc2jjDcQTvUJdTf4xKPojmvCkpvgyr6qTuVV\"]},\"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol\":{\"keccak256\":\"0x34ceadec4a63019680e543fe73197f198a55c825d86e18f327840354760b57e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31734feafe1fe162a0702ddf862fcc3bd97505931afb3c685033c0185d898051\",\"dweb:/ipfs/QmQEANYVyaXTNzXKcjUVfPhLU71Bix5vxQH75BpPWMkWgw\"]},\"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":{\"keccak256\":\"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6\",\"dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol":{"IPermit2Forwarder":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails","name":"details","type":"tuple"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle","name":"permitSingle","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[{"internalType":"bytes","name":"err","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails[]","name":"details","type":"tuple[]"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitBatch","name":"_permitBatch","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitBatch","outputs":[{"internalType":"bytes","name":"err","type":"bytes"}],"stateMutability":"payable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)":"2b67b570","permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)":"002a3e3a"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails\",\"name\":\"details\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitSingle\",\"name\":\"permitSingle\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"err\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails[]\",\"name\":\"details\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitBatch\",\"name\":\"_permitBatch\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitBatch\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"err\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"details\":\"this function is payable to allow multicall with NATIVE based actions\",\"params\":{\"owner\":\"the owner of the tokens\",\"permitSingle\":\"the permit data\",\"signature\":\"the signature of the permit; abi.encodePacked(r, s, v)\"},\"returns\":{\"err\":\"the error returned by a reverting permit call, empty if successful\"}},\"permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"details\":\"this function is payable to allow multicall with NATIVE based actions\",\"params\":{\"_permitBatch\":\"a batch of approvals\",\"owner\":\"the owner of the tokens\",\"signature\":\"the signature of the permit; abi.encodePacked(r, s, v)\"},\"returns\":{\"err\":\"the error returned by a reverting permit call, empty if successful\"}}},\"title\":\"IPermit2Forwarder\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"notice\":\"allows forwarding a single permit to permit2\"},\"permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"notice\":\"allows forwarding batch permits to permit2\"}},\"notice\":\"Interface for the Permit2Forwarder contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol\":\"IPermit2Forwarder\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol\":{\"keccak256\":\"0xfad472937280e861125ff12aa6f9c2cf7440fbb20a2cc29485c24662ad4279c5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31bfbc331f5972fc373d9469fd1ca1d14818db3275f21b7b590f20820cb4439d\",\"dweb:/ipfs/QmX3Bv9wfYpAFZKBcxKsQSXUrSC8mqNBdzh6XVMS72aNx9\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol":{"IPoolInitializer_v4":{"abi":[{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"initializePool","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"payable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"initializePool((address,address,uint24,int24,address),uint160)":"f7020405"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"initializePool\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"initializePool((address,address,uint24,int24,address),uint160)\":{\"details\":\"If the pool is already initialized, this function will not revert and just return type(int24).max\",\"params\":{\"key\":\"The PoolKey of the pool to initialize\",\"sqrtPriceX96\":\"The initial starting price of the pool, expressed as a sqrtPriceX96\"},\"returns\":{\"_0\":\"The current tick of the pool, or type(int24).max if the pool creation failed, or the pool already existed\"}}},\"title\":\"IPoolInitializer_v4\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"initializePool((address,address,uint24,int24,address),uint160)\":{\"notice\":\"Initialize a Uniswap v4 Pool\"}},\"notice\":\"Interface for the PoolInitializer_v4 contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol\":\"IPoolInitializer_v4\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol\":{\"keccak256\":\"0x2e4feda94650a2642039e0309ffdec480ee050bc40864bf5e1dba42bb4dc9e98\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://964c178b4da8bab9ef898b94bb26d7c17cc44c5cf20485f55dcf5e9c7e1b1d92\",\"dweb:/ipfs/QmVd2c3SYteyr5xZgUS4sDAiZF43dLwVAEKdCfvQbkZpRJ\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/interfaces/IPositionDescriptor.sol":{"IPositionDescriptor":{"abi":[{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"InvalidTokenId","type":"error"},{"inputs":[{"internalType":"address","name":"currency","type":"address"}],"name":"currencyRatioPriority","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"currency0","type":"address"},{"internalType":"address","name":"currency1","type":"address"}],"name":"flipRatio","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nativeCurrencyLabel","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IPositionManager","name":"positionManager","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wrappedNative","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":{"currencyRatioPriority(address)":"166c5978","flipRatio(address,address)":"dee91a2c","nativeCurrencyLabel()":"b7af3cdc","poolManager()":"dc4c90d3","tokenURI(address,uint256)":"e9dc6375","wrappedNative()":"eb6d3a11"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"InvalidTokenId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"currencyRatioPriority\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"currency1\",\"type\":\"address\"}],\"name\":\"flipRatio\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nativeCurrencyLabel\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IPositionManager\",\"name\":\"positionManager\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wrappedNative\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"currencyRatioPriority(address)\":{\"params\":{\"currency\":\"The currency address\"},\"returns\":{\"_0\":\"The priority of the currency\"}},\"flipRatio(address,address)\":{\"params\":{\"currency0\":\"The first currency address\",\"currency1\":\"The second currency address\"},\"returns\":{\"_0\":\"True if currency0 has higher priority than currency1\"}},\"nativeCurrencyLabel()\":{\"returns\":{\"_0\":\"The native currency label for this descriptor\"}},\"poolManager()\":{\"returns\":{\"_0\":\"The pool manager for this descriptor\"}},\"tokenURI(address,uint256)\":{\"details\":\"Note this URI may be a data: URI with the JSON contents directly inlined\",\"params\":{\"positionManager\":\"The position manager for which to describe the token\",\"tokenId\":\"The ID of the token for which to produce a description, which may not be valid\"},\"returns\":{\"_0\":\"The URI of the ERC721-compliant metadata\"}},\"wrappedNative()\":{\"returns\":{\"_0\":\"The wrapped native token for this descriptor\"}}},\"title\":\"IPositionDescriptor\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"currencyRatioPriority(address)\":{\"notice\":\"Returns the priority of a currency. For certain currencies on mainnet, the smaller the currency, the higher the priority And those with the higher priority values (more positive values) will be in the numerator of the price ratio\"},\"flipRatio(address,address)\":{\"notice\":\"Returns true if currency0 has higher priority than currency1\"},\"tokenURI(address,uint256)\":{\"notice\":\"Produces the URI describing a particular token ID\"}},\"notice\":\"Interface for the PositionDescriptor contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/interfaces/IPositionDescriptor.sol\":\"IPositionDescriptor\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol\":{\"keccak256\":\"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736\",\"dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR\"]},\"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol\":{\"keccak256\":\"0x103adbba724ef536abc536fe8a4d7dc12880724c562109b69f2adce4a91fa017\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://06f51b5a5a218e0bc866a83e7821be53c9db9de0ca921f16abd3d13ea0eab69d\",\"dweb:/ipfs/QmbnhLy992hpQZyphTkj7fpr6jKKVva2AzfmLiDZEuqHAk\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol\":{\"keccak256\":\"0x336bec303f7ff86497d2679464c5adad5040f412b3d0769ce5e1d2a42f7e2c08\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7734f047d98d331c8abc51ad9f358ceee0a6dcae8d89ac49084b84de0d2d42e7\",\"dweb:/ipfs/QmWij2h7mU36LsXhb9P6pkYXrSCua4ixeWaVFSrsEcEmPQ\"]},\"@uniswap/v4-periphery/src/interfaces/INotifier.sol\":{\"keccak256\":\"0xfdc5187a98240a1691aae98b7dd2444d4c2bfb4746f3c34de9f3d18399c17c5e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://683af56401ec4f8817e8dfe150e7b3febaf0baaf40efe8d0d0475f735275f746\",\"dweb:/ipfs/QmRQ6S3nFnSc2jjDcQTvUJdTf4xKPojmvCkpvgyr6qTuVV\"]},\"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol\":{\"keccak256\":\"0xfad472937280e861125ff12aa6f9c2cf7440fbb20a2cc29485c24662ad4279c5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31bfbc331f5972fc373d9469fd1ca1d14818db3275f21b7b590f20820cb4439d\",\"dweb:/ipfs/QmX3Bv9wfYpAFZKBcxKsQSXUrSC8mqNBdzh6XVMS72aNx9\"]},\"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol\":{\"keccak256\":\"0x2e4feda94650a2642039e0309ffdec480ee050bc40864bf5e1dba42bb4dc9e98\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://964c178b4da8bab9ef898b94bb26d7c17cc44c5cf20485f55dcf5e9c7e1b1d92\",\"dweb:/ipfs/QmVd2c3SYteyr5xZgUS4sDAiZF43dLwVAEKdCfvQbkZpRJ\"]},\"@uniswap/v4-periphery/src/interfaces/IPositionDescriptor.sol\":{\"keccak256\":\"0x5a4327e608b35ba2d3451c267b609336efbd780912080dbb1a21563db25c9768\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c783c7a4834d610586ef6caf79806f4e339ad488046766d03fe3d014d11093e4\",\"dweb:/ipfs/QmcQWiNQz1hAcJRwFfw5NnSz6zcgAE5HytdVL8MAQJUrv4\"]},\"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\":{\"keccak256\":\"0x62dfa0cbee8314ee7e6787db8bc1d364245c340f940875ac7ff11e89d074fc7e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26f560c77d8a187bf93a710b827e3167eab3446922192fa8f92f208da2103834\",\"dweb:/ipfs/Qmbzp5gSYdTpMBF9aAb2GraxMEQZb5LRJCyg8VaRUyjTFc\"]},\"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol\":{\"keccak256\":\"0x34ceadec4a63019680e543fe73197f198a55c825d86e18f327840354760b57e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31734feafe1fe162a0702ddf862fcc3bd97505931afb3c685033c0185d898051\",\"dweb:/ipfs/QmQEANYVyaXTNzXKcjUVfPhLU71Bix5vxQH75BpPWMkWgw\"]},\"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol\":{\"keccak256\":\"0xd7f32fee74dc7d1a3b078ca1263961baccaa6bf434c79e8fe0e092e30c3e0ec3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7d1e92d89d5f49c84aa82f3b259678c2c97a4473b22d753ca4411a6b0cec36d\",\"dweb:/ipfs/QmNZoQyminStaAdaLqoDLoWaBU5QWrWjXFjmBm4aFhzL8i\"]},\"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":{\"keccak256\":\"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6\",\"dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol":{"IPositionManager":{"abi":[{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"subscriber","type":"address"}],"name":"AlreadySubscribed","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"BurnNotificationReverted","type":"error"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"DeadlinePassed","type":"error"},{"inputs":[],"name":"GasLimitTooLow","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"ModifyLiquidityNotificationReverted","type":"error"},{"inputs":[],"name":"NoCodeSubscriber","type":"error"},{"inputs":[],"name":"NoSelfPermit","type":"error"},{"inputs":[],"name":"NonceAlreadyUsed","type":"error"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"NotApproved","type":"error"},{"inputs":[],"name":"NotSubscribed","type":"error"},{"inputs":[],"name":"PoolManagerMustBeLocked","type":"error"},{"inputs":[],"name":"SignatureDeadlineExpired","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"SubscriptionReverted","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"subscriber","type":"address"}],"name":"Subscription","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"subscriber","type":"address"}],"name":"Unsubscription","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPoolAndPositionInfo","outputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"","type":"tuple"},{"internalType":"PositionInfo","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPositionLiquidity","outputs":[{"internalType":"uint128","name":"liquidity","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"initializePool","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"unlockData","type":"bytes"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"modifyLiquidities","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"actions","type":"bytes"},{"internalType":"bytes[]","name":"params","type":"bytes[]"}],"name":"modifyLiquiditiesWithoutUnlock","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"word","type":"uint256"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails","name":"details","type":"tuple"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle","name":"permitSingle","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[{"internalType":"bytes","name":"err","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails[]","name":"details","type":"tuple[]"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitBatch","name":"_permitBatch","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitBatch","outputs":[{"internalType":"bytes","name":"err","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitForAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"positionInfo","outputs":[{"internalType":"PositionInfo","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"revokeNonce","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"newSubscriber","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"subscribe","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"subscriber","outputs":[{"internalType":"contract ISubscriber","name":"subscriber","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unsubscribe","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"unsubscribeGasLimit","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":{"DOMAIN_SEPARATOR()":"3644e515","getPoolAndPositionInfo(uint256)":"7ba03aad","getPositionLiquidity(uint256)":"1efeed33","initializePool((address,address,uint24,int24,address),uint160)":"f7020405","modifyLiquidities(bytes,uint256)":"dd46508f","modifyLiquiditiesWithoutUnlock(bytes,bytes[])":"4afe393c","multicall(bytes[])":"ac9650d8","nextTokenId()":"75794a3c","nonces(address,uint256)":"502e1a16","permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)":"2b67b570","permit(address,uint256,uint256,uint256,bytes)":"0f5730f1","permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)":"002a3e3a","permitForAll(address,address,bool,uint256,uint256,bytes)":"3aea60f0","poolManager()":"dc4c90d3","positionInfo(uint256)":"89097a6a","revokeNonce(uint256)":"05c1ee20","subscribe(uint256,address,bytes)":"2b9261de","subscriber(uint256)":"16a24131","unsubscribe(uint256)":"ad0b27fb","unsubscribeGasLimit()":"4767565f"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"AlreadySubscribed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"BurnNotificationReverted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"DeadlinePassed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GasLimitTooLow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"ModifyLiquidityNotificationReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoCodeSubscriber\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoSelfPermit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonceAlreadyUsed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"NotApproved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotSubscribed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManagerMustBeLocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SignatureDeadlineExpired\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"SubscriptionReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"Subscription\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"Unsubscription\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getPoolAndPositionInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"\",\"type\":\"tuple\"},{\"internalType\":\"PositionInfo\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getPositionLiquidity\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"initializePool\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"unlockData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"modifyLiquidities\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"actions\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"params\",\"type\":\"bytes[]\"}],\"name\":\"modifyLiquiditiesWithoutUnlock\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextTokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"word\",\"type\":\"uint256\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails\",\"name\":\"details\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitSingle\",\"name\":\"permitSingle\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"err\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails[]\",\"name\":\"details\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitBatch\",\"name\":\"_permitBatch\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitBatch\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"err\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitForAll\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"positionInfo\",\"outputs\":[{\"internalType\":\"PositionInfo\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"revokeNonce\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"newSubscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"subscribe\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"subscriber\",\"outputs\":[{\"internalType\":\"contract ISubscriber\",\"name\":\"subscriber\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"unsubscribe\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unsubscribeGasLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"PoolManagerMustBeLocked()\":[{\"details\":\"This is to prevent hooks from being able to trigger notifications at the same time the position is being modified.\"}]},\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"returns\":{\"_0\":\"bytes32 The domain separator\"}},\"getPoolAndPositionInfo(uint256)\":{\"params\":{\"tokenId\":\"the ERC721 tokenId\"},\"returns\":{\"_0\":\"poolKey the pool key of the position\",\"_1\":\"PositionInfo a uint256 packed value holding information about the position including the range (tickLower, tickUpper)\"}},\"getPositionLiquidity(uint256)\":{\"details\":\"this value can be processed as an amount0 and amount1 by using the LiquidityAmounts library\",\"params\":{\"tokenId\":\"the ERC721 tokenId\"},\"returns\":{\"liquidity\":\"the position's liquidity, as a liquidityAmount\"}},\"initializePool((address,address,uint24,int24,address),uint160)\":{\"details\":\"If the pool is already initialized, this function will not revert and just return type(int24).max\",\"params\":{\"key\":\"The PoolKey of the pool to initialize\",\"sqrtPriceX96\":\"The initial starting price of the pool, expressed as a sqrtPriceX96\"},\"returns\":{\"_0\":\"The current tick of the pool, or type(int24).max if the pool creation failed, or the pool already existed\"}},\"modifyLiquidities(bytes,uint256)\":{\"details\":\"This is the standard entrypoint for the PositionManager\",\"params\":{\"deadline\":\"is the deadline for the batched actions to be executed\",\"unlockData\":\"is an encoding of actions, and parameters for those actions\"}},\"modifyLiquiditiesWithoutUnlock(bytes,bytes[])\":{\"details\":\"This must be called by a contract that has already unlocked the v4 PoolManager\",\"params\":{\"actions\":\"the actions to perform\",\"params\":\"the parameters to provide for the actions\"}},\"multicall(bytes[])\":{\"details\":\"The `msg.value` is passed onto all subcalls, even if a previous subcall has consumed the ether. Subcalls can instead use `address(this).value` to see the available ETH, and consume it using {value: x}.\",\"params\":{\"data\":\"The encoded function data for each of the calls to make to this contract\"},\"returns\":{\"results\":\"The results from each of the calls passed in via data\"}},\"nextTokenId()\":{\"returns\":{\"_0\":\"uint256 The next token ID\"}},\"nonces(address,uint256)\":{\"details\":\"word is at most type(uint248).max\"},\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"details\":\"this function is payable to allow multicall with NATIVE based actions\",\"params\":{\"owner\":\"the owner of the tokens\",\"permitSingle\":\"the permit data\",\"signature\":\"the signature of the permit; abi.encodePacked(r, s, v)\"},\"returns\":{\"err\":\"the error returned by a reverting permit call, empty if successful\"}},\"permit(address,uint256,uint256,uint256,bytes)\":{\"details\":\"payable so it can be multicalled with NATIVE related actions\",\"params\":{\"deadline\":\"The deadline timestamp by which the call must be mined for the approve to work\",\"nonce\":\"a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\",\"signature\":\"Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\",\"spender\":\"The account that is being approved\",\"tokenId\":\"The ID of the token that is being approved for spending\"}},\"permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"details\":\"this function is payable to allow multicall with NATIVE based actions\",\"params\":{\"_permitBatch\":\"a batch of approvals\",\"owner\":\"the owner of the tokens\",\"signature\":\"the signature of the permit; abi.encodePacked(r, s, v)\"},\"returns\":{\"err\":\"the error returned by a reverting permit call, empty if successful\"}},\"permitForAll(address,address,bool,uint256,uint256,bytes)\":{\"details\":\"payable so it can be multicalled with NATIVE related actions\",\"params\":{\"approved\":\"The permission to set on the operator\",\"deadline\":\"The deadline timestamp by which the call must be mined for the approve to work\",\"nonce\":\"a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\",\"operator\":\"The address that will be set as an operator for the owner\",\"owner\":\"The address that is setting the operator\",\"signature\":\"Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\"}},\"positionInfo(uint256)\":{\"params\":{\"tokenId\":\"the ERC721 tokenId\"},\"returns\":{\"_0\":\"a uint256 packed value holding information about the position including the range (tickLower, tickUpper)\"}},\"revokeNonce(uint256)\":{\"details\":\"Used in cases where a valid nonce has not been broadcasted onchain, and the owner wants to revoke the validity of the noncepayable so it can be multicalled with native-token related actions\"},\"subscribe(uint256,address,bytes)\":{\"details\":\"Calling subscribe when a position is already subscribed will revertpayable so it can be multicalled with NATIVE related actionswill revert if pool manager is locked\",\"params\":{\"data\":\"caller-provided data that's forwarded to the subscriber contract\",\"newSubscriber\":\"the address of the subscriber contract\",\"tokenId\":\"the ERC721 tokenId\"}},\"subscriber(uint256)\":{\"params\":{\"tokenId\":\"the ERC721 tokenId\"},\"returns\":{\"subscriber\":\"the subscriber contract\"}},\"unsubscribe(uint256)\":{\"details\":\"Callers must specify a high gas limit (remaining gas should be higher than unsubscriberGasLimit) such that the subscriber can be notifiedpayable so it can be multicalled with NATIVE related actionsMust always allow a user to unsubscribe. In the case of a malicious subscriber, a user can always unsubscribe safely, ensuring liquidity is always modifiable.will revert if pool manager is locked\",\"params\":{\"tokenId\":\"the ERC721 tokenId\"}},\"unsubscribeGasLimit()\":{\"returns\":{\"_0\":\"uint256 the maximum gas limit when notifying a subscriber's `notifyUnsubscribe` function\"}}},\"title\":\"IPositionManager\",\"version\":1},\"userdoc\":{\"errors\":{\"AlreadySubscribed(uint256,address)\":[{\"notice\":\"Thrown when a tokenId already has a subscriber\"}],\"BurnNotificationReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting burn notification\"}],\"DeadlinePassed(uint256)\":[{\"notice\":\"Thrown when the block.timestamp exceeds the user-provided deadline\"}],\"GasLimitTooLow()\":[{\"notice\":\"Thrown when a user specifies a gas limit too low to avoid valid unsubscribe notifications\"}],\"ModifyLiquidityNotificationReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting modify liquidity notification\"}],\"NoCodeSubscriber()\":[{\"notice\":\"Thrown when a subscriber does not have code\"}],\"NotApproved(address)\":[{\"notice\":\"Thrown when the caller is not approved to modify a position\"}],\"NotSubscribed()\":[{\"notice\":\"Thrown when unsubscribing without a subscriber\"}],\"PoolManagerMustBeLocked()\":[{\"notice\":\"Thrown when calling transfer, subscribe, or unsubscribe when the PoolManager is unlocked.\"}],\"SubscriptionReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting subscription\"}]},\"events\":{\"Subscription(uint256,address)\":{\"notice\":\"Emitted on a successful call to subscribe\"},\"Unsubscription(uint256,address)\":{\"notice\":\"Emitted on a successful call to unsubscribe\"}},\"kind\":\"user\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"notice\":\"Returns the domain separator for the current chain.\"},\"getPoolAndPositionInfo(uint256)\":{\"notice\":\"Returns the pool key and position info of a position\"},\"getPositionLiquidity(uint256)\":{\"notice\":\"Returns the liquidity of a position\"},\"initializePool((address,address,uint24,int24,address),uint160)\":{\"notice\":\"Initialize a Uniswap v4 Pool\"},\"modifyLiquidities(bytes,uint256)\":{\"notice\":\"Unlocks Uniswap v4 PoolManager and batches actions for modifying liquidity\"},\"modifyLiquiditiesWithoutUnlock(bytes,bytes[])\":{\"notice\":\"Batches actions for modifying liquidity without unlocking v4 PoolManager\"},\"multicall(bytes[])\":{\"notice\":\"Call multiple functions in the current contract and return the data from all of them if they all succeed\"},\"nextTokenId()\":{\"notice\":\"Used to get the ID that will be used for the next minted liquidity position\"},\"nonces(address,uint256)\":{\"notice\":\"mapping of nonces consumed by each address, where a nonce is a single bit on the 256-bit bitmap\"},\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"notice\":\"allows forwarding a single permit to permit2\"},\"permit(address,uint256,uint256,uint256,bytes)\":{\"notice\":\"Approve of a specific token ID for spending by spender via signature\"},\"permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"notice\":\"allows forwarding batch permits to permit2\"},\"permitForAll(address,address,bool,uint256,uint256,bytes)\":{\"notice\":\"Set an operator with full permission to an owner's tokens via signature\"},\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"},\"positionInfo(uint256)\":{\"notice\":\"Returns the position info of a position\"},\"revokeNonce(uint256)\":{\"notice\":\"Revoke a nonce by spending it, preventing it from being used again\"},\"subscribe(uint256,address,bytes)\":{\"notice\":\"Enables the subscriber to receive notifications for a respective position\"},\"subscriber(uint256)\":{\"notice\":\"Returns the subscriber for a respective position\"},\"unsubscribe(uint256)\":{\"notice\":\"Removes the subscriber from receiving notifications for a respective position\"},\"unsubscribeGasLimit()\":{\"notice\":\"Returns and determines the maximum allowable gas-used for notifying unsubscribe\"}},\"notice\":\"Interface for the PositionManager contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\":\"IPositionManager\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol\":{\"keccak256\":\"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736\",\"dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR\"]},\"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol\":{\"keccak256\":\"0x103adbba724ef536abc536fe8a4d7dc12880724c562109b69f2adce4a91fa017\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://06f51b5a5a218e0bc866a83e7821be53c9db9de0ca921f16abd3d13ea0eab69d\",\"dweb:/ipfs/QmbnhLy992hpQZyphTkj7fpr6jKKVva2AzfmLiDZEuqHAk\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol\":{\"keccak256\":\"0x336bec303f7ff86497d2679464c5adad5040f412b3d0769ce5e1d2a42f7e2c08\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7734f047d98d331c8abc51ad9f358ceee0a6dcae8d89ac49084b84de0d2d42e7\",\"dweb:/ipfs/QmWij2h7mU36LsXhb9P6pkYXrSCua4ixeWaVFSrsEcEmPQ\"]},\"@uniswap/v4-periphery/src/interfaces/INotifier.sol\":{\"keccak256\":\"0xfdc5187a98240a1691aae98b7dd2444d4c2bfb4746f3c34de9f3d18399c17c5e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://683af56401ec4f8817e8dfe150e7b3febaf0baaf40efe8d0d0475f735275f746\",\"dweb:/ipfs/QmRQ6S3nFnSc2jjDcQTvUJdTf4xKPojmvCkpvgyr6qTuVV\"]},\"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol\":{\"keccak256\":\"0xfad472937280e861125ff12aa6f9c2cf7440fbb20a2cc29485c24662ad4279c5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31bfbc331f5972fc373d9469fd1ca1d14818db3275f21b7b590f20820cb4439d\",\"dweb:/ipfs/QmX3Bv9wfYpAFZKBcxKsQSXUrSC8mqNBdzh6XVMS72aNx9\"]},\"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol\":{\"keccak256\":\"0x2e4feda94650a2642039e0309ffdec480ee050bc40864bf5e1dba42bb4dc9e98\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://964c178b4da8bab9ef898b94bb26d7c17cc44c5cf20485f55dcf5e9c7e1b1d92\",\"dweb:/ipfs/QmVd2c3SYteyr5xZgUS4sDAiZF43dLwVAEKdCfvQbkZpRJ\"]},\"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\":{\"keccak256\":\"0x62dfa0cbee8314ee7e6787db8bc1d364245c340f940875ac7ff11e89d074fc7e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26f560c77d8a187bf93a710b827e3167eab3446922192fa8f92f208da2103834\",\"dweb:/ipfs/Qmbzp5gSYdTpMBF9aAb2GraxMEQZb5LRJCyg8VaRUyjTFc\"]},\"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol\":{\"keccak256\":\"0x34ceadec4a63019680e543fe73197f198a55c825d86e18f327840354760b57e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31734feafe1fe162a0702ddf862fcc3bd97505931afb3c685033c0185d898051\",\"dweb:/ipfs/QmQEANYVyaXTNzXKcjUVfPhLU71Bix5vxQH75BpPWMkWgw\"]},\"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol\":{\"keccak256\":\"0xd7f32fee74dc7d1a3b078ca1263961baccaa6bf434c79e8fe0e092e30c3e0ec3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7d1e92d89d5f49c84aa82f3b259678c2c97a4473b22d753ca4411a6b0cec36d\",\"dweb:/ipfs/QmNZoQyminStaAdaLqoDLoWaBU5QWrWjXFjmBm4aFhzL8i\"]},\"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":{\"keccak256\":\"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6\",\"dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol":{"ISubscriber":{"abi":[{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"PositionInfo","name":"info","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"BalanceDelta","name":"feesAccrued","type":"int256"}],"name":"notifyBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"int256","name":"liquidityChange","type":"int256"},{"internalType":"BalanceDelta","name":"feesAccrued","type":"int256"}],"name":"notifyModifyLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"notifySubscribe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"notifyUnsubscribe","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"notifyBurn(uint256,address,uint256,uint256,int256)":"b1a9116f","notifyModifyLiquidity(uint256,int256,int256)":"d8865c27","notifySubscribe(uint256,bytes)":"8d57f6b2","notifyUnsubscribe(uint256)":"af45dd14"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"PositionInfo\",\"name\":\"info\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"BalanceDelta\",\"name\":\"feesAccrued\",\"type\":\"int256\"}],\"name\":\"notifyBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"liquidityChange\",\"type\":\"int256\"},{\"internalType\":\"BalanceDelta\",\"name\":\"feesAccrued\",\"type\":\"int256\"}],\"name\":\"notifyModifyLiquidity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"notifySubscribe\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"notifyUnsubscribe\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"notifyBurn(uint256,address,uint256,uint256,int256)\":{\"params\":{\"feesAccrued\":\"the fees accrued by the position if liquidity was decreased\",\"info\":\"information about the position\",\"liquidity\":\"the amount of liquidity decreased in the position, may be 0\",\"owner\":\"the current owner of the tokenId\",\"tokenId\":\"the token ID of the position\"}},\"notifyModifyLiquidity(uint256,int256,int256)\":{\"details\":\"Note that feesAccrued can be artificially inflated by a malicious user Pools with a single liquidity position can inflate feeGrowthGlobal (and consequently feesAccrued) by donating to themselves; atomically donating and collecting fees within the same unlockCallback may further inflate feeGrowthGlobal/feesAccrued\",\"params\":{\"feesAccrued\":\"the fees to be collected from the position as a result of the modifyLiquidity call\",\"liquidityChange\":\"the change in liquidity on the underlying position\",\"tokenId\":\"the token ID of the position\"}},\"notifySubscribe(uint256,bytes)\":{\"params\":{\"data\":\"additional data passed in by the caller\",\"tokenId\":\"the token ID of the position\"}},\"notifyUnsubscribe(uint256)\":{\"details\":\"This call's gas is capped at `unsubscribeGasLimit` (set at deployment)Because of EIP-150, solidity may only allocate 63/64 of gasleft()\",\"params\":{\"tokenId\":\"the token ID of the position\"}}},\"title\":\"ISubscriber\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"notifyBurn(uint256,address,uint256,uint256,int256)\":{\"notice\":\"Called when a position is burned\"},\"notifyModifyLiquidity(uint256,int256,int256)\":{\"notice\":\"Called when a position modifies its liquidity or collects fees\"},\"notifySubscribe(uint256,bytes)\":{\"notice\":\"Called when a position subscribes to this subscriber contract\"},\"notifyUnsubscribe(uint256)\":{\"notice\":\"Called when a position unsubscribes from the subscriber\"}},\"notice\":\"Interface that a Subscriber contract should implement to receive updates from the v4 position manager\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol\":\"ISubscriber\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol\":{\"keccak256\":\"0x34ceadec4a63019680e543fe73197f198a55c825d86e18f327840354760b57e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31734feafe1fe162a0702ddf862fcc3bd97505931afb3c685033c0185d898051\",\"dweb:/ipfs/QmQEANYVyaXTNzXKcjUVfPhLU71Bix5vxQH75BpPWMkWgw\"]},\"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":{\"keccak256\":\"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6\",\"dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol":{"IUnorderedNonce":{"abi":[{"inputs":[],"name":"NonceAlreadyUsed","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"word","type":"uint256"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"revokeNonce","outputs":[],"stateMutability":"payable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"nonces(address,uint256)":"502e1a16","revokeNonce(uint256)":"05c1ee20"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"NonceAlreadyUsed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"word\",\"type\":\"uint256\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"revokeNonce\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"nonces(address,uint256)\":{\"details\":\"word is at most type(uint248).max\"},\"revokeNonce(uint256)\":{\"details\":\"Used in cases where a valid nonce has not been broadcasted onchain, and the owner wants to revoke the validity of the noncepayable so it can be multicalled with native-token related actions\"}},\"title\":\"IUnorderedNonce\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"nonces(address,uint256)\":{\"notice\":\"mapping of nonces consumed by each address, where a nonce is a single bit on the 256-bit bitmap\"},\"revokeNonce(uint256)\":{\"notice\":\"Revoke a nonce by spending it, preventing it from being used again\"}},\"notice\":\"Interface for the UnorderedNonce contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol\":\"IUnorderedNonce\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol\":{\"keccak256\":\"0xd7f32fee74dc7d1a3b078ca1263961baccaa6bf434c79e8fe0e092e30c3e0ec3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7d1e92d89d5f49c84aa82f3b259678c2c97a4473b22d753ca4411a6b0cec36d\",\"dweb:/ipfs/QmNZoQyminStaAdaLqoDLoWaBU5QWrWjXFjmBm4aFhzL8i\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/interfaces/IV4Router.sol":{"IV4Router":{"abi":[{"inputs":[{"internalType":"uint256","name":"minAmountOutReceived","type":"uint256"},{"internalType":"uint256","name":"amountReceived","type":"uint256"}],"name":"V4TooLittleReceived","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxAmountInRequested","type":"uint256"},{"internalType":"uint256","name":"amountRequested","type":"uint256"}],"name":"V4TooMuchRequested","type":"error"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"poolManager()":"dc4c90d3"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minAmountOutReceived\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountReceived\",\"type\":\"uint256\"}],\"name\":\"V4TooLittleReceived\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAmountInRequested\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountRequested\",\"type\":\"uint256\"}],\"name\":\"V4TooMuchRequested\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"IV4Router\",\"version\":1},\"userdoc\":{\"errors\":{\"V4TooLittleReceived(uint256,uint256)\":[{\"notice\":\"Emitted when an exactInput swap does not receive its minAmountOut\"}],\"V4TooMuchRequested(uint256,uint256)\":[{\"notice\":\"Emitted when an exactOutput is asked for more than its maxAmountIn\"}]},\"kind\":\"user\",\"methods\":{\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"}},\"notice\":\"Interface for the V4Router contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":\"IV4Router\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":{\"keccak256\":\"0xc4133fae25e61cc2447d7331729f6035322d7c1fe26b39b225422bf98cc63459\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c24ff8428504e973e947a059f96289a66c520cd7f8ef47a3224f9cb6abdaf25\",\"dweb:/ipfs/QmVqxYnngWXXcCiuTC143vTEJrjZK5NXWB92pjvVbuJBQ5\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol":{"IWETH9":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","deposit()":"d0e30db0","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd","withdraw(uint256)":"2e1a7d4d"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets a `value` amount of tokens as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the value of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the value of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism. `value` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"title\":\"IWETH9\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"deposit()\":{\"notice\":\"Deposit ether to get wrapped ether\"},\"withdraw(uint256)\":{\"notice\":\"Withdraw wrapped ether to get ether\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol\":\"IWETH9\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol\":{\"keccak256\":\"0xe88abf12501ac275619aec0687240a07d26968aecbbcdfea88ba8bbd5d6e5e14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7097065d4492b4eccb1a73f99af1e5bec45404c6b973b8f5965c4c91403f5f92\",\"dweb:/ipfs/QmZK8oEqmjmTqhBoh3D3fBpyKGkUEFnptY8xwH9xpNjDm2\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/libraries/ActionConstants.sol":{"ActionConstants":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"204:835:94:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"204:835:94:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Constants are gas efficient alternatives to their literal values\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Action Constants\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Common constants used in actions\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":\"ActionConstants\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/libraries/Actions.sol":{"Actions":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"391:1639:95:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"391:1639:95:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"These are suggested common commands, however additional commands should be defined as required Some of these actions are not supported in the Router contracts or Position Manager contracts, but are left as they may be helpful commands for other peripheral contracts.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Library to define different pool actions.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/libraries/Actions.sol\":\"Actions\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/libraries/Actions.sol\":{\"keccak256\":\"0x8efd4b8b289177ee27e557d9d0a5a9f973d66fe1eb1ef8959d316b11987ca830\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://07fe35f194eb99465028f0546359befea574d844da53767d32f22b233c3bcc98\",\"dweb:/ipfs/Qmc19631uFxABTHAbGrDrroexi9GdyxWntaum1v8npPYz5\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol":{"BipsLibrary":{"abi":[{"inputs":[],"name":"InvalidBips","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"122:502:96:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"122:502:96:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidBips\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"For calculating a percentage of an amount, using bips\",\"version\":1},\"userdoc\":{\"errors\":{\"InvalidBips()\":[{\"notice\":\"emitted when an invalid percentage is provided\"}]},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol\":\"BipsLibrary\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol\":{\"keccak256\":\"0x37ebf99f5d086d9d9f6e7cecbf4d62167f47c63c30248cfcb921e828f0d7a359\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4f8e68a66bb6c166d72cdba6ed6fb83a93f713b79c2c572e8058084eb90ab6c\",\"dweb:/ipfs/QmY32FxtSBRf9PJzNUVzXqFY4i2ApTPHTUMpCBGovd2zo3\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol":{"CalldataDecoder":{"abi":[{"inputs":[],"name":"SliceOutOfBounds","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"291:16185:97:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"291:16185:97:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"SliceOutOfBounds\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"OFFSET_OR_LENGTH_MASK\":{\"details\":\"no sane abi encoding will pass in an offset or length greater than type(uint32).max      (note that this does deviate from standard solidity behavior and offsets/lengths will      be interpreted as mod type(uint32).max which will only impact malicious/buggy callers)\"}},\"title\":\"Library for abi decoding in calldata\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol\":\"CalldataDecoder\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":{\"keccak256\":\"0xc4133fae25e61cc2447d7331729f6035322d7c1fe26b39b225422bf98cc63459\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c24ff8428504e973e947a059f96289a66c520cd7f8ef47a3224f9cb6abdaf25\",\"dweb:/ipfs/QmVqxYnngWXXcCiuTC143vTEJrjZK5NXWB92pjvVbuJBQ5\"]},\"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol\":{\"keccak256\":\"0x26df49e13fb5410fd4db253cca877dfdfb3a1ba03e394d054c0e0514a88a56e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72a0c98c52171708f332f83d517deeb97fdd50ecf28f2510e1866e54593a6ff8\",\"dweb:/ipfs/QmY4LiDUfSKGj86nML7B6a8euiPciUqwYehasAyAVnMCHq\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/libraries/ERC721PermitHash.sol":{"ERC721PermitHash":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"57:3674:98:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"57:3674:98:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"PERMIT_FOR_ALL_TYPEHASH\":{\"details\":\"Value is equal to keccak256(\\\"PermitForAll(address operator,bool approved,uint256 nonce,uint256 deadline)\\\");\"},\"PERMIT_TYPEHASH\":{\"details\":\"Value is equal to keccak256(\\\"Permit(address spender,uint256 tokenId,uint256 nonce,uint256 deadline)\\\");\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/libraries/ERC721PermitHash.sol\":\"ERC721PermitHash\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/libraries/ERC721PermitHash.sol\":{\"keccak256\":\"0xd8024f516738a1f968169875efd4ba803049c933cf6ea5e36189df9915f4e3f2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://58b45295f87c31f516a727a2a40ba2f34ac57ebd5520c42ea59946d2ffc0f5df\",\"dweb:/ipfs/QmW8xC2xS18r4yhGbhSJTN1DfCgPT6oKHxwwszutn2sPuz\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol":{"LiquidityAmounts":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"369:3404:99:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"369:3404:99:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Provides functions for computing liquidity amounts from token amounts and prices\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\":\"LiquidityAmounts\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/FixedPoint96.sol\":{\"keccak256\":\"0xef5c3fd41aee26bb12aa1c32873cfee88e67eddfe7c2b32283786265ac669741\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4de298d02f662a1c36c7be0a150f18c2a161408a5d3e48432e707efd01fac9a4\",\"dweb:/ipfs/QmSiM4oeMmLVKmAtJXz2feYkv4R9ZcyBpkTRW5Nhw5KDyJ\"]},\"@uniswap/v4-core/src/libraries/FullMath.sol\":{\"keccak256\":\"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3b2d66d36b1ad56b1ab6e2eb8a816740877b40b461c93f125e88621c8378e52\",\"dweb:/ipfs/QmPGvMZzKQvNiWKd8aRzzdW7oAizwrMgcMtnaworDkVHFC\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\":{\"keccak256\":\"0x8ea74b89831877ffe657f8461164a01a6f3c7e46f415410854fca8d28a8cab53\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f4015f62e5e8aa154baa555dc39ce36b498e6d875a53f793d62b8556e6b97ccb\",\"dweb:/ipfs/QmUVHyEe3hZZZQum5ct6yDY8qduj62Ta7f7x5Kw95LpQbg\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/libraries/Locker.sol":{"Locker":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"247:486:100:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"247:486:100:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"This is a temporary library that allows us to use transient storage (tstore/tload) TODO: This library can be deleted when we have the transient keyword support in solidity.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/libraries/Locker.sol\":\"Locker\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-periphery/src/libraries/Locker.sol\":{\"keccak256\":\"0x5c0859290a277fbfba8579b506426d3fc4b2ff7d8b691c03dd23aa85797fdae1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18ad9effea8da74b9988373dddddd6669f11701fc954f77d2cb58beb9a9cc3ad\",\"dweb:/ipfs/QmQdBMoXdVACo6k6rumWj15UPDCqGpWNSPvQbejxKuV9RJ\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/libraries/PathKey.sol":{"PathKeyLibrary":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"503:861:101:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"503:861:101:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"PathKey Library\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Functions for working with PathKeys\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":\"PathKeyLibrary\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol":{"PositionInfoLibrary":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"1002:2942:102:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"1002:2942:102:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":\"PositionInfoLibrary\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":{\"keccak256\":\"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6\",\"dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx\"]}},\"version\":1}"}},"@uniswap/v4-periphery/src/libraries/SlippageCheck.sol":{"SlippageCheck":{"abi":[{"inputs":[{"internalType":"uint128","name":"maximumAmount","type":"uint128"},{"internalType":"uint128","name":"amountRequested","type":"uint128"}],"name":"MaximumAmountExceeded","type":"error"},{"inputs":[{"internalType":"uint128","name":"minimumAmount","type":"uint128"},{"internalType":"uint128","name":"amountReceived","type":"uint128"}],"name":"MinimumAmountInsufficient","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"341:3078:103:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"341:3078:103:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"maximumAmount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amountRequested\",\"type\":\"uint128\"}],\"name\":\"MaximumAmountExceeded\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"minimumAmount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amountReceived\",\"type\":\"uint128\"}],\"name\":\"MinimumAmountInsufficient\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Slippage Check Library\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"a library for checking if a delta exceeds a maximum ceiling or fails to meet a minimum floor\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@uniswap/v4-periphery/src/libraries/SlippageCheck.sol\":\"SlippageCheck\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-periphery/src/libraries/SlippageCheck.sol\":{\"keccak256\":\"0x9b7872e403b417dfbcf9835b16109f80f7abed702652a9817e28f07189983b4b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://911974b8e37b3be02150090b64d841fcc1153277d20f75315b3b8eb02c111e66\",\"dweb:/ipfs/QmRYe4UAYG5TNqB2ygM3n7e3GFMhJmW1c29WZjGDfGQyxQ\"]}},\"version\":1}"}},"contracts/UniversalRouter.sol":{"UniversalRouter":{"abi":[{"inputs":[{"components":[{"internalType":"address","name":"permit2","type":"address"},{"internalType":"address","name":"weth9","type":"address"},{"internalType":"address","name":"v2Factory","type":"address"},{"internalType":"address","name":"v3Factory","type":"address"},{"internalType":"bytes32","name":"pairInitCodeHash","type":"bytes32"},{"internalType":"bytes32","name":"poolInitCodeHash","type":"bytes32"},{"internalType":"address","name":"v4PoolManager","type":"address"},{"internalType":"address","name":"v3NFTPositionManager","type":"address"},{"internalType":"address","name":"v4PositionManager","type":"address"}],"internalType":"struct RouterParameters","name":"params","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BalanceTooLow","type":"error"},{"inputs":[],"name":"ContractLocked","type":"error"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotNegative","type":"error"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotPositive","type":"error"},{"inputs":[],"name":"ETHNotAccepted","type":"error"},{"inputs":[{"internalType":"uint256","name":"commandIndex","type":"uint256"},{"internalType":"bytes","name":"message","type":"bytes"}],"name":"ExecutionFailed","type":"error"},{"inputs":[],"name":"FromAddressIsNotOwner","type":"error"},{"inputs":[],"name":"InputLengthMismatch","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InsufficientETH","type":"error"},{"inputs":[],"name":"InsufficientToken","type":"error"},{"inputs":[{"internalType":"bytes4","name":"action","type":"bytes4"}],"name":"InvalidAction","type":"error"},{"inputs":[],"name":"InvalidBips","type":"error"},{"inputs":[{"internalType":"uint256","name":"commandType","type":"uint256"}],"name":"InvalidCommandType","type":"error"},{"inputs":[],"name":"InvalidEthSender","type":"error"},{"inputs":[],"name":"InvalidPath","type":"error"},{"inputs":[],"name":"InvalidReserves","type":"error"},{"inputs":[],"name":"LengthMismatch","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NotAuthorizedForToken","type":"error"},{"inputs":[],"name":"NotPoolManager","type":"error"},{"inputs":[],"name":"OnlyMintAllowed","type":"error"},{"inputs":[],"name":"SliceOutOfBounds","type":"error"},{"inputs":[],"name":"TransactionDeadlinePassed","type":"error"},{"inputs":[],"name":"UnsafeCast","type":"error"},{"inputs":[{"internalType":"uint256","name":"action","type":"uint256"}],"name":"UnsupportedAction","type":"error"},{"inputs":[],"name":"V2InvalidPath","type":"error"},{"inputs":[],"name":"V2TooLittleReceived","type":"error"},{"inputs":[],"name":"V2TooMuchRequested","type":"error"},{"inputs":[],"name":"V3InvalidAmountOut","type":"error"},{"inputs":[],"name":"V3InvalidCaller","type":"error"},{"inputs":[],"name":"V3InvalidSwap","type":"error"},{"inputs":[],"name":"V3TooLittleReceived","type":"error"},{"inputs":[],"name":"V3TooMuchRequested","type":"error"},{"inputs":[{"internalType":"uint256","name":"minAmountOutReceived","type":"uint256"},{"internalType":"uint256","name":"amountReceived","type":"uint256"}],"name":"V4TooLittleReceived","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxAmountInRequested","type":"uint256"},{"internalType":"uint256","name":"amountRequested","type":"uint256"}],"name":"V4TooMuchRequested","type":"error"},{"inputs":[],"name":"V3_POSITION_MANAGER","outputs":[{"internalType":"contract INonfungiblePositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"V4_POSITION_MANAGER","outputs":[{"internalType":"contract IPositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"commands","type":"bytes"},{"internalType":"bytes[]","name":"inputs","type":"bytes[]"}],"name":"execute","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"commands","type":"bytes"},{"internalType":"bytes[]","name":"inputs","type":"bytes[]"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"execute","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"msgSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlockCallback","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}],"evm":{"bytecode":{"functionDebugData":{"abi_decode_address_fromMemory":{"entryPoint":761,"id":null,"parameterSlots":1,"returnSlots":1},"allocate_memory":{"entryPoint":730,"id":null,"parameterSlots":0,"returnSlots":1}},"generatedSources":[],"linkReferences":{},"object":"6101a0604052346102d657604051601f613ada38819003918201601f19168301916001600160401b038311848410176102c257808492610120946040528339810103126102d6576040519061012082016001600160401b038111838210176102c25760405261006d816102f9565b825261007b602082016102f9565b6020830190815261008e604083016102f9565b604084019081526100a1606084016102f9565b93606081019485526080840151946080820195865260a08501519560a083019687526100cf60c087016102f9565b9660c084019788526100f66101006100e960e08a016102f9565b988960e0880152016102f9565b97886101008601526101066102da565b6001600160a01b03988916815298881660208a0190815290519451965190989796871696908116959416936101396102da565b968752602087019586525192519151905160405190936001600160a01b0393841693169060808101906001600160401b038211818310176102c257604091825282815260208101948552808201938452606001948552608091909152905160a05290516001600160a01b0390811660c052915160e0526101009290925291518216610120529151811661014052915182166101605291511661018052516137cc908161030e8239608051818181610f9e01528181611156015261287f015260a051818181610f7d01528181611178015261285e015260c051816121d1015260e051816121af0152610100518181816064015281816102fe015281816103d50152818161191801528181611d0e015281816130b001528181613109015281816131c8015281816132fb0152613606015261012051818181601b015281816114630152611582015261014051818181610caf0152818161172001526124f80152610160518181816104a801528181611a0d0152611ab00152610180518181816103740152611dab0152f35b634e487b7160e01b5f52604160045260245ffd5b5f80fd5b60408051919082016001600160401b038111838210176102c257604052565b51906001600160a01b03821682036102d65756fe60c06040526004361015610093575b3615610018575f80fd5b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316141580610060575b61005157005b631c5deabb60e11b5f5260045ffd5b50337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316141561004b565b5f3560e01c806324856bc3146105a05780633593564c146104d7578063817122dc1461049357806391dd7346146103a3578063d0c9f6cb1461035f578063d737d0c71461032d578063dc4c90d3146102e95763fa461e330361000e573461025a57606036600319011261025a576024356004356044356001600160401b03811161025a57610125903690600401610627565b5f8313918215806102df575b6102d05781810160408282031261025a5781356001600160401b03811161025a57820181601f8201121561025a57803561016a81611f97565b926101786040519485611f74565b8184526020828401011161025a575f928160208094018483013701015260208101356001600160a01b038116929083900361025a576101b6916120c3565b90601790602b83106102c1578035968760601c956101e462ffffff8585013560601c9a60481c168a8961214c565b336001600160a01b03909116036102b257156102a857508685105b156102155750505061021393503391612229565b005b91935091939482602b0180602b1161029457841061025e575082821161025a57918190039101600160ff1b84101561025a57610213936102553391611fb2565b61227b565b5f80fd5b925050505f805160206137a08339815191529291925c821161028557610213923391612229565b6339cedf2960e11b5f5260045ffd5b634e487b7160e01b5f52601160045260245ffd5b95508487106101ff565b6332b13d9160e01b5f5260045ffd5b633b99b53d60e01b5f5260045ffd5b63316cf0eb60e01b5f5260045ffd5b505f851315610131565b3461025a575f36600319011261025a576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461025a575f36600319011261025a576040516001600160a01b035f805160206137808339815191525c168152602090f35b3461025a575f36600319011261025a576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461025a57602036600319011261025a576004356001600160401b03811161025a576103d3903690600401610627565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036104845761040c91612582565b90818303610475575f5b8381106104495761044560405161042e602082611f74565b5f8152604051918291602083526020830190610684565b0390f35b8061046f61045a60019387896106a8565b3560f81c6104698387876106fa565b91612a80565b01610416565b63aaad13f760e01b5f5260045ffd5b63570c108560e11b5f5260045ffd5b3461025a575f36600319011261025a576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b606036600319011261025a576004356001600160401b03811161025a57610502903690600401610627565b6024356001600160401b03811161025a57610521903690600401610654565b91604435421161059157333014610588575f805160206137808339815191525c6001600160a01b03166105795761056793335f805160206137808339815191525d610715565b5f5f805160206137808339815191525d005b6337affdbf60e11b5f5260045ffd5b61021393610715565b632dfb7c8b60e11b5f5260045ffd5b604036600319011261025a576004356001600160401b03811161025a576105cb903690600401610627565b6024356001600160401b03811161025a576105ea903690600401610654565b91333014610588575f805160206137808339815191525c6001600160a01b03166105795761056793335f805160206137808339815191525d610715565b9181601f8401121561025a578235916001600160401b03831161025a576020838186019501011161025a57565b9181601f8401121561025a578235916001600160401b03831161025a576020808501948460051b01011161025a57565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b908210156106b4570190565b634e487b7160e01b5f52603260045260245ffd5b903590601e198136030182121561025a57018035906001600160401b03821161025a5760200191813603831361025a57565b908210156106b4576107119160051b8101906106c8565b9091565b909392848103611f3657919293905f925b828410610734575050505050565b61074484848495969798946106a8565b35936107518683896106fa565b919093606098603f8860f81c1696600197602181105f14611e305760108110156118d2576008811015610efc5780610a8a5750610793602088013595886120eb565b909690608089013515610a83575f805160206137808339815191525c975b6107bb8a356123ef565b9891806080528160a05288600160ff1b14610a0e575b50505b604296602b9190600160ff1b81101561025a576080518911610a075730915b608051841161025a57610862936040925f60a05135956108808760601c97610839601760a051013560601c998a81109a62ffffff60018060a01b039460481c169161214c565b16948884146109ec576401000276a4965b88519a8b928a6020850152606084019060a051611fc2565b6001600160a01b03919091168983015203601f1981018a5289611f74565b8551630251596160e31b81526001600160a01b039182166004820152602481018890526044810193909352909316606482015260a06084820152948592839182906108cf9060a4830190610684565b03925af19081156109e1575f905f926109a5575b6108f393501561099e5750611fb2565b608051909611610920573060805160171161025a57601760a051016017608051039060a0526080526107d4565b969198939a9460409198939a96509101351161098f575b159081610980575b5061095257506001019293949190610726565b9061097c604051928392632c4029e960e01b84526004840152604060248401526044830190610684565b0390fd5b600160ff1b161590505f61093f565b631ce9aa4b60e11b5f5260045ffd5b9050611fb2565b9150506040823d82116109d9575b816109c060409383611f74565b8101031261025a578160206108f39351910151916108e3565b3d91506109b3565b6040513d5f823e3d90fd5b73fffd8963efd1fc6a506488495d951d5263988d259661084a565b89916107f3565b601491929850106102c1576020602491604051928380926370a0823160e01b82523060048301523560601c5afa9081156109e1575f91610a52575b50955f806107d1565b90506020813d8211610a7b575b81610a6c60209383611f74565b8101031261025a57515f610a49565b3d9150610a5f565b30976107b1565b6001819c969299949b9798939a959c145f14610b55575090610ab1602082013592826120eb565b608083013515610b4e575f805160206137808339815191525c915b6040610ad885356123ef565b9401355f805160206137a08339815191525d600160ff1b85101561025a57610b039361025586611fb2565b90919015610b3f5750610b1590611fb2565b03610b30575f5f805160206137a08339815191525d5b610937565b636a70124760e11b5f5260045ffd5b610b499150611fb2565b610b15565b3091610acc565b60028103610b8c5750610b2b91604081013591505f805160206137808339815191525c610b8560208301356123ef565b91356124f4565b9394919390929060038103610d13575050508135820163ffffffff60208401351683019163ffffffff83351693602080850194860101910110610d0657604051632a2d80d160e01b602082019081526001600160a01b035f805160206137808339815191525c1660248301526060604483015293909260e4840192803536829003601e190181121561025a57810160208101949035906001600160401b03821161025a578160071b3603861361025a5781906060608489015252610104860194905f905b808210610ce85750505093610c9c5f96948294610caa9460408a9960018060a01b03610c7e60208301612011565b1660a4880152013560c4860152848303602319016064860152611fc2565b03601f198101835282611f74565b5190827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af190610ce2611fe2565b91610937565b90919560808082610cfb6001948b612065565b019701920190610c50565b633b99b53d5f526004601cfd5b9194939092509060048103610e115750610d3060208201356123ef565b906001600160a01b036040820135811691351680610d7d575047908110610d6e5780610d5e575b5050610937565b610d6791612639565b5f80610d57565b631a84bc4160e21b5f5260045ffd5b91604051916370a0823160e01b8352306004840152602083602481875afa9283156109e1575f93610dde575b508210610dcf5781610dbe575b505050610937565b610dc792612a11565b5f8080610db6565b630ceb95c760e31b5f5260045ffd5b9092506020813d8211610e09575b81610df960209383611f74565b8101031261025a5751915f610da9565b3d9150610dec565b60058103610e385750806040610b2b92013590610e3160208201356123ef565b9035612459565b60068103610eea5750604081013590610e5460208201356123ef565b90356001600160a01b031680610e785750610e72610b2b92476129e8565b90612639565b906040516370a0823160e01b8152306004820152602081602481865afa9081156109e1575f91610eb7575b50610b2b93610eb1916129e8565b91612a11565b90506020813d8211610ee2575b81610ed160209383611f74565b8101031261025a5751610b2b610ea3565b3d9150610ec4565b636bb50f4f60e11b5f5260045260245ffd5b6008819c969299949b9798939a959c145f1461111b5750610f22602083013591836123b7565b90608084013515611114575f805160206137808339815191525c915b610f4885356123ef565b9282156106b457610f58826123db565b83600110156106b457610f7a610fc291610f74602086016123db565b90613025565b907f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061303c565b9485816110fa575b5050505f198201828111610294576001600160a01b0390610ff590610ff090858561243c565b6123db565b1693604051926370a0823160e01b845260018060a01b038516928360048601526020856024818a5afa9485156109e1575f956110bd575b509461103c9291602095966126cd565b6024604051809581936370a0823160e01b835260048301525afa9182156109e1575f92611089575b506040611074929301359261244c565b101561093757631093d5f360e31b5f5260045ffd5b91506020823d82116110b5575b816110a360209383611f74565b8101031261025a579051906040611064565b3d9150611096565b92919450946020833d82116110f2575b816110da60209383611f74565b8101031261025a57915191949193909161103c61102c565b3d91506110cd565b61110c92611107856123db565b612229565b5f8085610fca565b3091610f3e565b60098103611367575061112e90826123b7565b608083013515611360575f805160206137808339815191525c915b61115384356123ef565b917f0000000000000000000000000000000000000000000000000000000000000000937f0000000000000000000000000000000000000000000000000000000000000000955f9560028510611351576020820135975f198601868111610294579190825b6111f4575050506040013586116111e55782156106b457610b2b95856111e092611107856123db565b6126cd565b6345585e0b60e11b5f5260045ffd5b90919897505f1989019789891161029457611216610ff06112389a898961243c565b61122d611227610ff08d8b8b61243c565b82613025565b8185879d939d61303c565b604051630240bc6b60e21b815290916060826004816001600160a01b0387165afa9182156109e1575f905f9361131d575b506001600160701b039283169c9216916001600160a01b039182169116036113175799905b998015801561130f575b61130057826112a6916129b7565b916103e88302928084046103e81490151715610294576112c59161244c565b6103e58102908082046103e51490151715610294576112e3916129ca565b6001810180911161029457988015610294575f19019190826111b7565b633dce448b60e11b5f5260045ffd5b508115611298565b9061128e565b905061134191925060603d811161134a575b6113398183611f74565b810190612697565b5091905f611269565b503d61132f565b6320db826760e01b5f5260045ffd5b3091611149565b93949193909290600a81036114245750505063ffffffff60c08301351682019063ffffffff8235169083602080850194840101910110610d06576040516302b67b5760e41b602082019081526001600160a01b035f805160206137808339815191525c1660248301525f9485949193610caa928492610c9c929060a0906113f16044870182612065565b600180831b0361140360808301612011565b1660c4870152013560e4850152610100610104850152610124840191611fc2565b91949390929091600b8103611557575050611444602082013591356123ef565b9080600160ff1b8103611541575050475b80611461575050610937565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b1561025a57604051630d0e30db60e41b81525f8160048186885af180156109e157611531575b506001600160a01b0316903082036114cd575b50610d57565b60446020925f604051958694859363a9059cbb60e01b8552600485015260248401525af180156109e157611503575b80806114c7565b6115239060203d811161152a575b61151b8183611f74565b810190612424565b505f6114fc565b503d611511565b5f61153b91611f74565b5f6114b4565b47101561145557631a84bc4160e21b5f5260045ffd5b600c810361167657505061156b81356123ef565b6040516370a0823160e01b815230600482015290917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690602083602481855afa9283156109e1575f93611642575b50602001358210610d6e57816115da57505050610937565b803b1561025a575f8091602460405180948193632e1a7d4d60e01b83528760048401525af180156109e157611632575b50306001600160a01b03831603611622575b80610db6565b61162b91612639565b5f8061161c565b5f61163c91611f74565b5f61160a565b9092506020813d821161166e575b8161165d60209383611f74565b8101031261025a57519160206115c2565b3d9150611650565b600d819c939c9b929597989b99949699145f1461181957508a358b01988935946116a86020808d019e8d03018761221c565b116102c1576001600160a01b035f805160206137808339815191525c169a935f5b86811015611709578c6001600160a01b036116ec600784901b8f016020016123db565b16036116fa576001016116c9565b63e700287760e01b5f5260045ffd5b50989593979694929b919a50985060018060a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561025a57604051630d58b1db60e01b8152602060048201526024810184905292839160448301915f905b8082106117a35750505091815f81819503925af180156109e157611793575b50610937565b5f61179d91611f74565b5f61178d565b9193509160019060809081906001600160a01b036117c088612011565b168152838060a01b036117d560208901612011565b166020820152838060a01b036117ed60408901612011565b166040820152838060a01b0361180560608901612011565b16606082015201940192018593929161176e565b80929b93989550600e919a97969450145f14610eea57506040516370a0823160e01b81526001600160a01b038235811660048301529091906020908390602490829084860135165afa9182156109e1575f9261189e575b5060400135111580610b2b576040516351940b3960e11b602082015260048152909250610ce2602482611f74565b9091506020813d82116118ca575b816118b960209383611f74565b8101031261025a5751906040611870565b3d91506118ac565b6010819c969299949b9798939a959c145f146119c757506040516348c8949160e01b815260206004820152915f918391829161191391602484019190611fc2565b0381837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156109e1576119525750610937565b3d805f833e6119618183611f74565b81019060208183031261025a578051906001600160401b03821161025a570181601f8201121561025a57805161199681611f97565b926119a46040519485611f74565b8184526020828401011161025a575f928160208094018483015e0101525f61178d565b80929495506011919350145f14611a5257509080356001600160e01b03191663853d008560e01b8101611a405750815f92918392604051928392833781018381520390827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af190610ce2611fe2565b63f801e52560e01b5f5260045260245ffd5b60128103611c5057505f805160206137808339815191525c9180356001600160e01b031916630624e65f60e11b81148015611c40575b8015611c30575b15611a4057506040516331a9108f60e11b81526004828101359082018190527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316949091602081602481895afa9081156109e1575f91611c12575b506001600160a01b039182169116818114918215611ba6575b8215611b4d575b505015611b3b575091815f809481946040519384928337810182815203925af190610ce2611fe2565b63bb25d4c560e01b5f5260045260245ffd5b60405163e985e9c560e01b8152600481019290925260248201529050602081604481885afa9081156109e1575f91611b88575b505f80611b12565b611ba0915060203d811161152a5761151b8183611f74565b5f611b80565b915060405163020604bf60e21b81528360048201526020816024818a5afa80156109e15783915f91611be4575b506001600160a01b03161491611b0b565b611c05915060203d8111611c0b575b611bfd8183611f74565b81019061261a565b5f611bd3565b503d611bf3565b611c2a915060203d8111611c0b57611bfd8183611f74565b5f611af2565b50630852cd8d60e31b8114611a8f565b5063fc6f786560e01b8114611a88565b60138103611d4157505060405163313b65df60e11b602082019081525f928392906001600160a01b03611c8282612011565b1660248301526001600160a01b03611c9c60208301612011565b16604483015262ffffff611cb260408301612025565b166064830152611cc460608201612035565b60020b60848301526001600160a01b03611ce060808301612011565b1660a483015260a001356001600160a01b031660c4808301919091528152611d0960e482611f74565b5190827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af190610ce2611fe2565b60148103610eea575081356001600160e01b0319166322b9af7160e01b8101611a4057508060041161025a57611d87611d816003198301600485016120c3565b906120c3565b5f5b818110611dde575050505f9182914791816040519283928337810184815203917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af190610ce2611fe2565b611de98183856106a8565b3560f81c8015908115611e25575b8115611e1a575b50611e0b57600101611d89565b635d1d0f9f60e01b5f5260045ffd5b60039150145f611dfe565b600181149150611df7565b9097939a506021819a9697929995939a145f14610eea575090611e5291612582565b611e7c6040959395519460208601966324856bc360e01b8852604060248801526064870191611fc2565b92602319858503016044860152818452602084019160208160051b86010194845f90601e19813603015b848310611edc5750505050505050509181611ecd5f9493859403601f198101835282611f74565b519082305af190610ce2611fe2565b9091929394959697601f1985820301885288358281121561025a578301602081019190356001600160401b03811161025a57803603831361025a57611f2660209283928b95611fc2565b9a01980196959493019190611ea6565b631fec674760e31b5f5260045ffd5b60a081019081106001600160401b03821117611f6057604052565b634e487b7160e01b5f52604160045260245ffd5b601f909101601f19168101906001600160401b03821190821017611f6057604052565b6001600160401b038111611f6057601f01601f191660200190565b600160ff1b8114610294575f0390565b908060209392818452848401375f828201840152601f01601f1916010190565b3d1561200c573d90611ff382611f97565b916120016040519384611f74565b82523d5f602084013e565b606090565b35906001600160a01b038216820361025a57565b359062ffffff8216820361025a57565b35908160020b820361025a57565b9081602091031261025a575190565b359065ffffffffffff8216820361025a57565b60609065ffffffffffff906120bd9083906001600160a01b0361208782612011565b1686526001600160a01b0361209e60208301612011565b166020870152836120b160408301612052565b16604087015201612052565b16910152565b909163ffffffff82351682019263ffffffff84351692602080860195850101910110610d0657565b909163ffffffff60608301351682019263ffffffff84351692602080860195850101910110610d0657565b6001600160f81b0319815260609190911b6001600160601b03191660018201526015810191909152603581019190915260550190565b916001600160a01b0382811690841611612214575b604080516001600160a01b0394851660208201908152949093169083015262ffffff16606080830191909152815261219a608082611f74565b51902060405190612204826121f660208201937f0000000000000000000000000000000000000000000000000000000000000000907f000000000000000000000000000000000000000000000000000000000000000086612116565b03601f198101845283611f74565b905190206001600160a01b031690565b909190612161565b9190820180921161029457565b909291906001600160a01b0384163003612249576122479350612459565b565b91926001600160a01b03841161226c57612247936001600160a01b0316926124f4565b63c4bd89a960e01b5f5260045ffd5b9092602b81106102c157825f604094359561234e8760601c93612306601782013560601c996122bf878c1097889c62ffffff60018060a01b039460481c169161214c565b169686861461239c576401000276a49b5b6122e88b519485938d60208601526060850191611fc2565b6001600160a01b03919091168b83015203601f198101835282611f74565b8751998a9788968795630251596160e31b875260018060a01b031660048701526024860152604485015260018060a01b0316606484015260a0608484015260a4830190610684565b03925af180156109e1575f925f9161236557509192565b9250506040823d604011612394575b8161238160409383611f74565b8101031261025a57602082519201519192565b3d9150612374565b73fffd8963efd1fc6a506488495d951d5263988d259b6122d0565b9160608301358301916123d460208435958186019503018561221c565b116102c157565b356001600160a01b038116810361025a5790565b6001600160a01b038116600181036124155750505f805160206137808339815191525c90565b60020361242157503090565b90565b9081602091031261025a5751801515810361025a5790565b91908110156106b45760051b0190565b9190820391821161029457565b9091906001600160a01b031680612474575061224791612639565b600160ff1b821461248a575b9161224792612a11565b6040516370a0823160e01b815230600482015292909150602083602481855afa80156109e1575f906124c0575b90925090612480565b506020833d6020116124ec575b816124da60209383611f74565b8101031261025a5761224792516124b7565b3d91506124cd565b91907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561025a57604051631b63c28b60e11b81526001600160a01b039182166004820152928116602484015293841660448301529190921660648301525f908290608490829084905af180156109e1576125785750565b5f61224791611f74565b604081351891606082019363ffffffff6040840135169363ffffffe0601f8601169060608201602086013518179084019260608401359463ffffffff861694641fffffffe0608082019760051b1680915f925b8084106125ed575060809250010191011017610d0657565b90916020809163ffffffe0601f60808089890101359b848d18179b880101350116010193019291906125d5565b9081602091031261025a57516001600160a01b038116810361025a5790565b5f80809381935af11561264857565b60405162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b6044820152606490fd5b51906001600160701b038216820361025a57565b9081606091031261025a576126ab81612683565b9160406126ba60208401612683565b92015163ffffffff8116810361025a5790565b91600282106129a85781156106b4576126e5836123db565b82600110156106b45761270190610f74602086979596016123db565b506001198401945f198501945f9460209392869290915b88841061272b5750505050505050505050565b612739610ff085848661243c565b61274a610ff060018701858761243c565b604051630240bc6b60e21b81526001600160a01b03909316969092916060836004818b5afa9283156109e15789905f905f95612981575b506001600160a01b03928316939092168314936024926001600160701b03918216929116851561297b5791935b604051938480926370a0823160e01b82528d60048301525afa9182156109e1575f9261294c575b5080820392811592838015612944575b61130057826103e586029586046103e514911417156102945761280890846129b7565b916103e882029182046103e81417156102945761282e926128289161221c565b906129ca565b901561293d575f90915b8b86101561293457906128596128a392610f74610ff060028a01888a61243c565b8193917f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061303c565b915b96604051906128b48a83611f74565b5f82528b368b840137803b1561025a57612908945f80946040519788958694859363022c0d9f60e01b85526004850152602484015260018060a01b0389166044840152608060648401526084830190610684565b03925af19182156109e157600192612924575b50930192612718565b5f61292e91611f74565b5f61291b565b5087905f6128a5565b5f91612838565b5081156127e5565b9091508981813d8311612974575b6129648183611f74565b8101031261025a5751905f6127d5565b503d61295a565b936127ae565b60249392955061299f915060603d811161134a576113398183611f74565b50949192612781565b632b94ab4360e21b5f5260045ffd5b8181029291811591840414171561029457565b81156129d4570490565b634e487b7160e01b5f52601260045260245ffd5b6127108211612a0257612710916129fe916129b7565b0490565b636f5500f360e11b5f5260045ffd5b5f91826044926020956040519363a9059cbb60e01b8552600485015260248401525af13d15601f3d1160015f511416171615612a4957565b60405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606490fd5b929190600b841015612ebe5760078403612bbd57612a9f9293506133ea565b6020810190612aae82826133f8565b90505f92612abb836123db565b90612ac860408501613360565b906001600160801b03821615612ba4575b92915f915b838310612b3a57505050505060600160018060801b03612afd82613360565b6001600160801b0390931692168210612b14575050565b612b1d90613360565b638b063d7360e01b5f5260018060801b031660045260245260445ffd5b849650612b8890612b65612b5e85612b58612b8d969798998b6133f8565b9061342d565b94856136a1565b9190612b7460808701876106c8565b9390926001600160801b03165f0391613531565b613769565b946001612b9a87936123db565b9194930191612ade565b9050612bb7612bb2836130a9565b61350d565b90612ad9565b60068403612c9857612bd0929350613351565b612bdc60c08201613360565b6001600160801b03811615612c47575b612c34612b8860e092612c13612c0460a08701613374565b916001600160801b0316611fb2565b90612c226101008701876106c8565b929091612c2f3689613381565b613531565b91016001600160801b03612afd82613360565b50612c5460a08201613374565b15612c7e5760e0612c34612b88612c75612bb2612c70866123db565b6130a9565b92505050612bec565b60e0612c34612b88612c75612bb2612c70602087016123db565b60098403612dc857612cab9293506133ea565b6020810190612cba82826133f8565b5f939150612cca60408401613360565b612cd3846123db565b916001600160801b03821615612db4575b92919290815b612d42575050505060600160018060801b03612d0582613360565b6001600160801b0390931692168211612d1c575050565b612d2590613360565b6312bacdd360e01b5f5260018060801b031660045260245260445ffd5b82939550612d9390612d6f612d68612d5e612d9d9596896133f8565b5f1988019161342d565b97886136a1565b612d7f60808a949394018a6106c8565b9390926001600160801b0316911590613531565b600f0b5f0361350d565b93612da885916123db565b92915f19019081612cea565b9050612dc2612bb2836132f4565b90612ce4565b60088414612de6575050505b635cda29d760e01b5f5260045260245ffd5b612df1929350613351565b612dfd60c08201613360565b6001600160801b03811615612e66575b612e53612bb2612e4b60e093612e2560a08701613374565b90612e346101008801886106c8565b9290916001600160801b031690612c2f368a613381565b600f0b611fb2565b91016001600160801b03612d0582613360565b50612e7360a08201613374565b15612ea45760e0612e53612bb2612e4b612e9a612bb2612e95602088016123db565b6132f4565b9350505050612e0d565b60e0612e53612bb2612e4b612e9a612bb2612e95876123db565b92600c8103612f165750612ed291926132e1565b90612edc816132f4565b91808311612eff575090612247915f805160206137808339815191525c906131be565b90506312bacdd360e01b5f5260045260245260445ffd5b600f8103612f6d5750612f2991926132e1565b90612f33816130a9565b91808310612f56575090612247915f805160206137808339815191525c90613100565b9050638b063d7360e01b5f5260045260245260445ffd5b600b8103612fb35750612f84906122479293613091565b15612fa857612fa2825f805160206137808339815191525c92613199565b916131be565b612fa2823092613199565b600e8103612fe65750612fda612fd0612fe0926122479495613091565b92829492916123ef565b92613185565b91613100565b9260108414612ff757505050612dd4565b61224792935061300d61301692612fe092613091565b929193906123ef565b91613020846130a9565b6129e8565b6001600160a01b0382811690821610156107115791565b6040516001600160601b0319606094851b8116602083019081529590941b90931660348401526028835290929091612204919061307a604882611f74565b5190206121f6604051948592602084019586612116565b90606011610d06578035916040602083013592013590565b6130d481307f000000000000000000000000000000000000000000000000000000000000000061344f565b905f82126130e0575090565b634c085bf160e01b5f9081526001600160a01b0391909116600452602490fd5b908215613180577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b1561025a57604051630b0d9c0960e01b81526001600160a01b03938416600482015291909216602482015260448101929092525f908290606490829084905af180156109e1576125785750565b505050565b90816131955761242191506130a9565b5090565b90600160ff1b82036131af5761242191506134cb565b816131955761242191506132f4565b5f9183156132db577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b1561025a57604051632961046560e21b81526001600160a01b0390911660048201819052905f8160248183885af180156109e1576132c6575b5080613292575050602090600460405180958193630476982d60e21b83525af1908115613286575061325b5750565b61327c9060203d60201161327f575b6132748183611f74565b810190612043565b50565b503d61326a565b604051903d90823e3d90fd5b839483602094936132a293612229565b600460405180958193630476982d60e21b83525af1908115613286575061325b5750565b6132d39194505f90611f74565b5f925f61322c565b50505050565b9190604011610d06576020823592013590565b61331f81307f000000000000000000000000000000000000000000000000000000000000000061344f565b905f8213613331575061242190611fb2565b63019a8d9360e51b5f9081526001600160a01b0391909116600452602490fd5b9061014011610d065780350190565b356001600160801b038116810361025a5790565b35801515810361025a5790565b91908260a091031261025a5760405161339981611f45565b60806133e58183956133aa81612011565b85526133b860208201612011565b60208601526133c960408201612025565b60408601526133da60608201612035565b606086015201612011565b910152565b9060a011610d065780350190565b903590601e198136030182121561025a57018035906001600160401b03821161025a57602001918160051b3603831361025a57565b91908110156106b45760051b81013590609e198136030182121561025a570190565b6001600160a01b039182165f9081529282166020908152604093849020935163789add5560e11b815260048101949094529183916024918391165afa9081156109e1575f9161349c575090565b90506020813d6020116134c3575b816134b760209383611f74565b8101031261025a575190565b3d91506134aa565b6001600160a01b0316806134de57504790565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156109e1575f9161349c575090565b6001600160801b038116919082900361352257565b6393dafdf160e01b5f5260045ffd5b93928115613686576401000276a4945b6040519160608301906001600160401b03821184831017611f6057604091825293151580845260208481018781526001600160a01b03998a168685019081528451633cf3645360e21b815286518c166004820152868401518c1660248201529486015162ffffff166044860152606086015160020b60648601526080909501518a1660848501529451151560a4840152935160c4830152915190961660e48701526101206101048701529390918591829161360191610124840191611fc2565b03815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af19283156109e1575f93613652575b505f130361364c57600f0b90565b60801d90565b9092506020813d60201161367e575b8161366e60209383611f74565b8101031261025a5751915f61363e565b3d9150613661565b73fffd8963efd1fc6a506488495d951d5263988d2594613541565b905f60806040516136b181611f45565b82815282602082015282604082015282606082015201526136d1826123db565b6001600160a01b03828116929082168084101561375f57505b6001600160a01b031691821492602081013562ffffff81169081900361025a576040820135918260020b80930361025a57606001359260018060a01b03841680940361025a576040519461373d86611f45565b85526001600160a01b0316602085015260408401526060830152608082015291565b91505081906136ea565b5f81600f0b12613522576001600160801b03169056fe0e87e1788ebd9ed6a7e63c70a374cd3283e41cad601d21fbe27863899ed4a708af28d9864a81dfdf71cab65f4e5d79a0cf9b083905fb8971425e6cb581b3f692a164736f6c634300081a000a","opcodes":"PUSH2 0x1A0 PUSH1 0x40 MSTORE CALLVALUE PUSH2 0x2D6 JUMPI PUSH1 0x40 MLOAD PUSH1 0x1F PUSH2 0x3ADA CODESIZE DUP2 SWAP1 SUB SWAP2 DUP3 ADD PUSH1 0x1F NOT AND DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT DUP5 DUP5 LT OR PUSH2 0x2C2 JUMPI DUP1 DUP5 SWAP3 PUSH2 0x120 SWAP5 PUSH1 0x40 MSTORE DUP4 CODECOPY DUP2 ADD SUB SLT PUSH2 0x2D6 JUMPI PUSH1 0x40 MLOAD SWAP1 PUSH2 0x120 DUP3 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP4 DUP3 LT OR PUSH2 0x2C2 JUMPI PUSH1 0x40 MSTORE PUSH2 0x6D DUP2 PUSH2 0x2F9 JUMP JUMPDEST DUP3 MSTORE PUSH2 0x7B PUSH1 0x20 DUP3 ADD PUSH2 0x2F9 JUMP JUMPDEST PUSH1 0x20 DUP4 ADD SWAP1 DUP2 MSTORE PUSH2 0x8E PUSH1 0x40 DUP4 ADD PUSH2 0x2F9 JUMP JUMPDEST PUSH1 0x40 DUP5 ADD SWAP1 DUP2 MSTORE PUSH2 0xA1 PUSH1 0x60 DUP5 ADD PUSH2 0x2F9 JUMP JUMPDEST SWAP4 PUSH1 0x60 DUP2 ADD SWAP5 DUP6 MSTORE PUSH1 0x80 DUP5 ADD MLOAD SWAP5 PUSH1 0x80 DUP3 ADD SWAP6 DUP7 MSTORE PUSH1 0xA0 DUP6 ADD MLOAD SWAP6 PUSH1 0xA0 DUP4 ADD SWAP7 DUP8 MSTORE PUSH2 0xCF PUSH1 0xC0 DUP8 ADD PUSH2 0x2F9 JUMP JUMPDEST SWAP7 PUSH1 0xC0 DUP5 ADD SWAP8 DUP9 MSTORE PUSH2 0xF6 PUSH2 0x100 PUSH2 0xE9 PUSH1 0xE0 DUP11 ADD PUSH2 0x2F9 JUMP JUMPDEST SWAP9 DUP10 PUSH1 0xE0 DUP9 ADD MSTORE ADD PUSH2 0x2F9 JUMP JUMPDEST SWAP8 DUP9 PUSH2 0x100 DUP7 ADD MSTORE PUSH2 0x106 PUSH2 0x2DA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP9 DUP10 AND DUP2 MSTORE SWAP9 DUP9 AND PUSH1 0x20 DUP11 ADD SWAP1 DUP2 MSTORE SWAP1 MLOAD SWAP5 MLOAD SWAP7 MLOAD SWAP1 SWAP9 SWAP8 SWAP7 DUP8 AND SWAP7 SWAP1 DUP2 AND SWAP6 SWAP5 AND SWAP4 PUSH2 0x139 PUSH2 0x2DA JUMP JUMPDEST SWAP7 DUP8 MSTORE PUSH1 0x20 DUP8 ADD SWAP6 DUP7 MSTORE MLOAD SWAP3 MLOAD SWAP2 MLOAD SWAP1 MLOAD PUSH1 0x40 MLOAD SWAP1 SWAP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND SWAP4 AND SWAP1 PUSH1 0x80 DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT DUP2 DUP4 LT OR PUSH2 0x2C2 JUMPI PUSH1 0x40 SWAP2 DUP3 MSTORE DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 ADD SWAP5 DUP6 MSTORE DUP1 DUP3 ADD SWAP4 DUP5 MSTORE PUSH1 0x60 ADD SWAP5 DUP6 MSTORE PUSH1 0x80 SWAP2 SWAP1 SWAP2 MSTORE SWAP1 MLOAD PUSH1 0xA0 MSTORE SWAP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0xC0 MSTORE SWAP2 MLOAD PUSH1 0xE0 MSTORE PUSH2 0x100 SWAP3 SWAP1 SWAP3 MSTORE SWAP2 MLOAD DUP3 AND PUSH2 0x120 MSTORE SWAP2 MLOAD DUP2 AND PUSH2 0x140 MSTORE SWAP2 MLOAD DUP3 AND PUSH2 0x160 MSTORE SWAP2 MLOAD AND PUSH2 0x180 MSTORE MLOAD PUSH2 0x37CC SWAP1 DUP2 PUSH2 0x30E DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 DUP2 DUP2 PUSH2 0xF9E ADD MSTORE DUP2 DUP2 PUSH2 0x1156 ADD MSTORE PUSH2 0x287F ADD MSTORE PUSH1 0xA0 MLOAD DUP2 DUP2 DUP2 PUSH2 0xF7D ADD MSTORE DUP2 DUP2 PUSH2 0x1178 ADD MSTORE PUSH2 0x285E ADD MSTORE PUSH1 0xC0 MLOAD DUP2 PUSH2 0x21D1 ADD MSTORE PUSH1 0xE0 MLOAD DUP2 PUSH2 0x21AF ADD MSTORE PUSH2 0x100 MLOAD DUP2 DUP2 DUP2 PUSH1 0x64 ADD MSTORE DUP2 DUP2 PUSH2 0x2FE ADD MSTORE DUP2 DUP2 PUSH2 0x3D5 ADD MSTORE DUP2 DUP2 PUSH2 0x1918 ADD MSTORE DUP2 DUP2 PUSH2 0x1D0E ADD MSTORE DUP2 DUP2 PUSH2 0x30B0 ADD MSTORE DUP2 DUP2 PUSH2 0x3109 ADD MSTORE DUP2 DUP2 PUSH2 0x31C8 ADD MSTORE DUP2 DUP2 PUSH2 0x32FB ADD MSTORE PUSH2 0x3606 ADD MSTORE PUSH2 0x120 MLOAD DUP2 DUP2 DUP2 PUSH1 0x1B ADD MSTORE DUP2 DUP2 PUSH2 0x1463 ADD MSTORE PUSH2 0x1582 ADD MSTORE PUSH2 0x140 MLOAD DUP2 DUP2 DUP2 PUSH2 0xCAF ADD MSTORE DUP2 DUP2 PUSH2 0x1720 ADD MSTORE PUSH2 0x24F8 ADD MSTORE PUSH2 0x160 MLOAD DUP2 DUP2 DUP2 PUSH2 0x4A8 ADD MSTORE DUP2 DUP2 PUSH2 0x1A0D ADD MSTORE PUSH2 0x1AB0 ADD MSTORE PUSH2 0x180 MLOAD DUP2 DUP2 DUP2 PUSH2 0x374 ADD MSTORE PUSH2 0x1DAB ADD MSTORE RETURN JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 SWAP1 DUP3 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP4 DUP3 LT OR PUSH2 0x2C2 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x2D6 JUMPI JUMP INVALID PUSH1 0xC0 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x93 JUMPI JUMPDEST CALLDATASIZE ISZERO PUSH2 0x18 JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLER PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO DUP1 PUSH2 0x60 JUMPI JUMPDEST PUSH2 0x51 JUMPI STOP JUMPDEST PUSH4 0x1C5DEABB PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP CALLER PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO PUSH2 0x4B JUMP JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x24856BC3 EQ PUSH2 0x5A0 JUMPI DUP1 PUSH4 0x3593564C EQ PUSH2 0x4D7 JUMPI DUP1 PUSH4 0x817122DC EQ PUSH2 0x493 JUMPI DUP1 PUSH4 0x91DD7346 EQ PUSH2 0x3A3 JUMPI DUP1 PUSH4 0xD0C9F6CB EQ PUSH2 0x35F JUMPI DUP1 PUSH4 0xD737D0C7 EQ PUSH2 0x32D JUMPI DUP1 PUSH4 0xDC4C90D3 EQ PUSH2 0x2E9 JUMPI PUSH4 0xFA461E33 SUB PUSH2 0xE JUMPI CALLVALUE PUSH2 0x25A JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x24 CALLDATALOAD PUSH1 0x4 CALLDATALOAD PUSH1 0x44 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI PUSH2 0x125 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x627 JUMP JUMPDEST PUSH0 DUP4 SGT SWAP2 DUP3 ISZERO DUP1 PUSH2 0x2DF JUMPI JUMPDEST PUSH2 0x2D0 JUMPI DUP2 DUP2 ADD PUSH1 0x40 DUP3 DUP3 SUB SLT PUSH2 0x25A JUMPI DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI DUP3 ADD DUP2 PUSH1 0x1F DUP3 ADD SLT ISZERO PUSH2 0x25A JUMPI DUP1 CALLDATALOAD PUSH2 0x16A DUP2 PUSH2 0x1F97 JUMP JUMPDEST SWAP3 PUSH2 0x178 PUSH1 0x40 MLOAD SWAP5 DUP6 PUSH2 0x1F74 JUMP JUMPDEST DUP2 DUP5 MSTORE PUSH1 0x20 DUP3 DUP5 ADD ADD GT PUSH2 0x25A JUMPI PUSH0 SWAP3 DUP2 PUSH1 0x20 DUP1 SWAP5 ADD DUP5 DUP4 ADD CALLDATACOPY ADD ADD MSTORE PUSH1 0x20 DUP2 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP3 SWAP1 DUP4 SWAP1 SUB PUSH2 0x25A JUMPI PUSH2 0x1B6 SWAP2 PUSH2 0x20C3 JUMP JUMPDEST SWAP1 PUSH1 0x17 SWAP1 PUSH1 0x2B DUP4 LT PUSH2 0x2C1 JUMPI DUP1 CALLDATALOAD SWAP7 DUP8 PUSH1 0x60 SHR SWAP6 PUSH2 0x1E4 PUSH3 0xFFFFFF DUP6 DUP6 ADD CALLDATALOAD PUSH1 0x60 SHR SWAP11 PUSH1 0x48 SHR AND DUP11 DUP10 PUSH2 0x214C JUMP JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SUB PUSH2 0x2B2 JUMPI ISZERO PUSH2 0x2A8 JUMPI POP DUP7 DUP6 LT JUMPDEST ISZERO PUSH2 0x215 JUMPI POP POP POP PUSH2 0x213 SWAP4 POP CALLER SWAP2 PUSH2 0x2229 JUMP JUMPDEST STOP JUMPDEST SWAP2 SWAP4 POP SWAP2 SWAP4 SWAP5 DUP3 PUSH1 0x2B ADD DUP1 PUSH1 0x2B GT PUSH2 0x294 JUMPI DUP5 LT PUSH2 0x25E JUMPI POP DUP3 DUP3 GT PUSH2 0x25A JUMPI SWAP2 DUP2 SWAP1 SUB SWAP2 ADD PUSH1 0x1 PUSH1 0xFF SHL DUP5 LT ISZERO PUSH2 0x25A JUMPI PUSH2 0x213 SWAP4 PUSH2 0x255 CALLER SWAP2 PUSH2 0x1FB2 JUMP JUMPDEST PUSH2 0x227B JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST SWAP3 POP POP POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x37A0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP3 SWAP2 SWAP3 TLOAD DUP3 GT PUSH2 0x285 JUMPI PUSH2 0x213 SWAP3 CALLER SWAP2 PUSH2 0x2229 JUMP JUMPDEST PUSH4 0x39CEDF29 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP6 POP DUP5 DUP8 LT PUSH2 0x1FF JUMP JUMPDEST PUSH4 0x32B13D91 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH4 0x3B99B53D PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH4 0x316CF0EB PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP PUSH0 DUP6 SGT ISZERO PUSH2 0x131 JUMP JUMPDEST CALLVALUE PUSH2 0x25A JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x25A JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x25A JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x25A JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI PUSH2 0x3D3 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x627 JUMP JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER SUB PUSH2 0x484 JUMPI PUSH2 0x40C SWAP2 PUSH2 0x2582 JUMP JUMPDEST SWAP1 DUP2 DUP4 SUB PUSH2 0x475 JUMPI PUSH0 JUMPDEST DUP4 DUP2 LT PUSH2 0x449 JUMPI PUSH2 0x445 PUSH1 0x40 MLOAD PUSH2 0x42E PUSH1 0x20 DUP3 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 DUP2 MSTORE PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 PUSH1 0x20 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x684 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST DUP1 PUSH2 0x46F PUSH2 0x45A PUSH1 0x1 SWAP4 DUP8 DUP10 PUSH2 0x6A8 JUMP JUMPDEST CALLDATALOAD PUSH1 0xF8 SHR PUSH2 0x469 DUP4 DUP8 DUP8 PUSH2 0x6FA JUMP JUMPDEST SWAP2 PUSH2 0x2A80 JUMP JUMPDEST ADD PUSH2 0x416 JUMP JUMPDEST PUSH4 0xAAAD13F7 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH4 0x570C1085 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x25A JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI PUSH2 0x502 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x627 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI PUSH2 0x521 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x654 JUMP JUMPDEST SWAP2 PUSH1 0x44 CALLDATALOAD TIMESTAMP GT PUSH2 0x591 JUMPI CALLER ADDRESS EQ PUSH2 0x588 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x579 JUMPI PUSH2 0x567 SWAP4 CALLER PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH2 0x715 JUMP JUMPDEST PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE STOP JUMPDEST PUSH4 0x37AFFDBF PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0x213 SWAP4 PUSH2 0x715 JUMP JUMPDEST PUSH4 0x2DFB7C8B PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI PUSH2 0x5CB SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x627 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI PUSH2 0x5EA SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x654 JUMP JUMPDEST SWAP2 CALLER ADDRESS EQ PUSH2 0x588 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x579 JUMPI PUSH2 0x567 SWAP4 CALLER PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH2 0x715 JUMP JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x25A JUMPI DUP3 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x25A JUMPI PUSH1 0x20 DUP4 DUP2 DUP7 ADD SWAP6 ADD ADD GT PUSH2 0x25A JUMPI JUMP JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x25A JUMPI DUP3 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x25A JUMPI PUSH1 0x20 DUP1 DUP6 ADD SWAP5 DUP5 PUSH1 0x5 SHL ADD ADD GT PUSH2 0x25A JUMPI JUMP JUMPDEST DUP1 MLOAD DUP1 DUP4 MSTORE PUSH1 0x20 SWAP3 SWAP2 DUP2 SWAP1 DUP5 ADD DUP5 DUP5 ADD MCOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST SWAP1 DUP3 LT ISZERO PUSH2 0x6B4 JUMPI ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP1 CALLDATALOAD SWAP1 PUSH1 0x1E NOT DUP2 CALLDATASIZE SUB ADD DUP3 SLT ISZERO PUSH2 0x25A JUMPI ADD DUP1 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x25A JUMPI PUSH1 0x20 ADD SWAP2 DUP2 CALLDATASIZE SUB DUP4 SGT PUSH2 0x25A JUMPI JUMP JUMPDEST SWAP1 DUP3 LT ISZERO PUSH2 0x6B4 JUMPI PUSH2 0x711 SWAP2 PUSH1 0x5 SHL DUP2 ADD SWAP1 PUSH2 0x6C8 JUMP JUMPDEST SWAP1 SWAP2 JUMP JUMPDEST SWAP1 SWAP4 SWAP3 DUP5 DUP2 SUB PUSH2 0x1F36 JUMPI SWAP2 SWAP3 SWAP4 SWAP1 PUSH0 SWAP3 JUMPDEST DUP3 DUP5 LT PUSH2 0x734 JUMPI POP POP POP POP POP JUMP JUMPDEST PUSH2 0x744 DUP5 DUP5 DUP5 SWAP6 SWAP7 SWAP8 SWAP9 SWAP5 PUSH2 0x6A8 JUMP JUMPDEST CALLDATALOAD SWAP4 PUSH2 0x751 DUP7 DUP4 DUP10 PUSH2 0x6FA JUMP JUMPDEST SWAP2 SWAP1 SWAP4 PUSH1 0x60 SWAP9 PUSH1 0x3F DUP9 PUSH1 0xF8 SHR AND SWAP7 PUSH1 0x1 SWAP8 PUSH1 0x21 DUP2 LT PUSH0 EQ PUSH2 0x1E30 JUMPI PUSH1 0x10 DUP2 LT ISZERO PUSH2 0x18D2 JUMPI PUSH1 0x8 DUP2 LT ISZERO PUSH2 0xEFC JUMPI DUP1 PUSH2 0xA8A JUMPI POP PUSH2 0x793 PUSH1 0x20 DUP9 ADD CALLDATALOAD SWAP6 DUP9 PUSH2 0x20EB JUMP JUMPDEST SWAP1 SWAP7 SWAP1 PUSH1 0x80 DUP10 ADD CALLDATALOAD ISZERO PUSH2 0xA83 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP8 JUMPDEST PUSH2 0x7BB DUP11 CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP9 SWAP2 DUP1 PUSH1 0x80 MSTORE DUP2 PUSH1 0xA0 MSTORE DUP9 PUSH1 0x1 PUSH1 0xFF SHL EQ PUSH2 0xA0E JUMPI JUMPDEST POP POP JUMPDEST PUSH1 0x42 SWAP7 PUSH1 0x2B SWAP2 SWAP1 PUSH1 0x1 PUSH1 0xFF SHL DUP2 LT ISZERO PUSH2 0x25A JUMPI PUSH1 0x80 MLOAD DUP10 GT PUSH2 0xA07 JUMPI ADDRESS SWAP2 JUMPDEST PUSH1 0x80 MLOAD DUP5 GT PUSH2 0x25A JUMPI PUSH2 0x862 SWAP4 PUSH1 0x40 SWAP3 PUSH0 PUSH1 0xA0 MLOAD CALLDATALOAD SWAP6 PUSH2 0x880 DUP8 PUSH1 0x60 SHR SWAP8 PUSH2 0x839 PUSH1 0x17 PUSH1 0xA0 MLOAD ADD CALLDATALOAD PUSH1 0x60 SHR SWAP10 DUP11 DUP2 LT SWAP11 PUSH3 0xFFFFFF PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB SWAP5 PUSH1 0x48 SHR AND SWAP2 PUSH2 0x214C JUMP JUMPDEST AND SWAP5 DUP9 DUP5 EQ PUSH2 0x9EC JUMPI PUSH5 0x1000276A4 SWAP7 JUMPDEST DUP9 MLOAD SWAP11 DUP12 SWAP3 DUP11 PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x60 DUP5 ADD SWAP1 PUSH1 0xA0 MLOAD PUSH2 0x1FC2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND DUP10 DUP4 ADD MSTORE SUB PUSH1 0x1F NOT DUP2 ADD DUP11 MSTORE DUP10 PUSH2 0x1F74 JUMP JUMPDEST DUP6 MLOAD PUSH4 0x2515961 PUSH1 0xE3 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP9 SWAP1 MSTORE PUSH1 0x44 DUP2 ADD SWAP4 SWAP1 SWAP4 MSTORE SWAP1 SWAP4 AND PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0xA0 PUSH1 0x84 DUP3 ADD MSTORE SWAP5 DUP6 SWAP3 DUP4 SWAP2 DUP3 SWAP1 PUSH2 0x8CF SWAP1 PUSH1 0xA4 DUP4 ADD SWAP1 PUSH2 0x684 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP1 PUSH0 SWAP3 PUSH2 0x9A5 JUMPI JUMPDEST PUSH2 0x8F3 SWAP4 POP ISZERO PUSH2 0x99E JUMPI POP PUSH2 0x1FB2 JUMP JUMPDEST PUSH1 0x80 MLOAD SWAP1 SWAP7 GT PUSH2 0x920 JUMPI ADDRESS PUSH1 0x80 MLOAD PUSH1 0x17 GT PUSH2 0x25A JUMPI PUSH1 0x17 PUSH1 0xA0 MLOAD ADD PUSH1 0x17 PUSH1 0x80 MLOAD SUB SWAP1 PUSH1 0xA0 MSTORE PUSH1 0x80 MSTORE PUSH2 0x7D4 JUMP JUMPDEST SWAP7 SWAP2 SWAP9 SWAP4 SWAP11 SWAP5 PUSH1 0x40 SWAP2 SWAP9 SWAP4 SWAP11 SWAP7 POP SWAP2 ADD CALLDATALOAD GT PUSH2 0x98F JUMPI JUMPDEST ISZERO SWAP1 DUP2 PUSH2 0x980 JUMPI JUMPDEST POP PUSH2 0x952 JUMPI POP PUSH1 0x1 ADD SWAP3 SWAP4 SWAP5 SWAP2 SWAP1 PUSH2 0x726 JUMP JUMPDEST SWAP1 PUSH2 0x97C PUSH1 0x40 MLOAD SWAP3 DUP4 SWAP3 PUSH4 0x2C4029E9 PUSH1 0xE0 SHL DUP5 MSTORE PUSH1 0x4 DUP5 ADD MSTORE PUSH1 0x40 PUSH1 0x24 DUP5 ADD MSTORE PUSH1 0x44 DUP4 ADD SWAP1 PUSH2 0x684 JUMP JUMPDEST SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0xFF SHL AND ISZERO SWAP1 POP PUSH0 PUSH2 0x93F JUMP JUMPDEST PUSH4 0x1CE9AA4B PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 POP PUSH2 0x1FB2 JUMP JUMPDEST SWAP2 POP POP PUSH1 0x40 DUP3 RETURNDATASIZE DUP3 GT PUSH2 0x9D9 JUMPI JUMPDEST DUP2 PUSH2 0x9C0 PUSH1 0x40 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI DUP2 PUSH1 0x20 PUSH2 0x8F3 SWAP4 MLOAD SWAP2 ADD MLOAD SWAP2 PUSH2 0x8E3 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x9B3 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH20 0xFFFD8963EFD1FC6A506488495D951D5263988D25 SWAP7 PUSH2 0x84A JUMP JUMPDEST DUP10 SWAP2 PUSH2 0x7F3 JUMP JUMPDEST PUSH1 0x14 SWAP2 SWAP3 SWAP9 POP LT PUSH2 0x2C1 JUMPI PUSH1 0x20 PUSH1 0x24 SWAP2 PUSH1 0x40 MLOAD SWAP3 DUP4 DUP1 SWAP3 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP3 MSTORE ADDRESS PUSH1 0x4 DUP4 ADD MSTORE CALLDATALOAD PUSH1 0x60 SHR GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP2 PUSH2 0xA52 JUMPI JUMPDEST POP SWAP6 PUSH0 DUP1 PUSH2 0x7D1 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 RETURNDATASIZE DUP3 GT PUSH2 0xA7B JUMPI JUMPDEST DUP2 PUSH2 0xA6C PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD PUSH0 PUSH2 0xA49 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0xA5F JUMP JUMPDEST ADDRESS SWAP8 PUSH2 0x7B1 JUMP JUMPDEST PUSH1 0x1 DUP2 SWAP13 SWAP7 SWAP3 SWAP10 SWAP5 SWAP12 SWAP8 SWAP9 SWAP4 SWAP11 SWAP6 SWAP13 EQ PUSH0 EQ PUSH2 0xB55 JUMPI POP SWAP1 PUSH2 0xAB1 PUSH1 0x20 DUP3 ADD CALLDATALOAD SWAP3 DUP3 PUSH2 0x20EB JUMP JUMPDEST PUSH1 0x80 DUP4 ADD CALLDATALOAD ISZERO PUSH2 0xB4E JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP2 JUMPDEST PUSH1 0x40 PUSH2 0xAD8 DUP6 CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP5 ADD CALLDATALOAD PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x37A0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH1 0x1 PUSH1 0xFF SHL DUP6 LT ISZERO PUSH2 0x25A JUMPI PUSH2 0xB03 SWAP4 PUSH2 0x255 DUP7 PUSH2 0x1FB2 JUMP JUMPDEST SWAP1 SWAP2 SWAP1 ISZERO PUSH2 0xB3F JUMPI POP PUSH2 0xB15 SWAP1 PUSH2 0x1FB2 JUMP JUMPDEST SUB PUSH2 0xB30 JUMPI PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x37A0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE JUMPDEST PUSH2 0x937 JUMP JUMPDEST PUSH4 0x6A701247 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0xB49 SWAP2 POP PUSH2 0x1FB2 JUMP JUMPDEST PUSH2 0xB15 JUMP JUMPDEST ADDRESS SWAP2 PUSH2 0xACC JUMP JUMPDEST PUSH1 0x2 DUP2 SUB PUSH2 0xB8C JUMPI POP PUSH2 0xB2B SWAP2 PUSH1 0x40 DUP2 ADD CALLDATALOAD SWAP2 POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0xB85 PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP2 CALLDATALOAD PUSH2 0x24F4 JUMP JUMPDEST SWAP4 SWAP5 SWAP2 SWAP4 SWAP1 SWAP3 SWAP1 PUSH1 0x3 DUP2 SUB PUSH2 0xD13 JUMPI POP POP POP DUP2 CALLDATALOAD DUP3 ADD PUSH4 0xFFFFFFFF PUSH1 0x20 DUP5 ADD CALLDATALOAD AND DUP4 ADD SWAP2 PUSH4 0xFFFFFFFF DUP4 CALLDATALOAD AND SWAP4 PUSH1 0x20 DUP1 DUP6 ADD SWAP5 DUP7 ADD ADD SWAP2 ADD LT PUSH2 0xD06 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2A2D80D1 PUSH1 0xE0 SHL PUSH1 0x20 DUP3 ADD SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD AND PUSH1 0x24 DUP4 ADD MSTORE PUSH1 0x60 PUSH1 0x44 DUP4 ADD MSTORE SWAP4 SWAP1 SWAP3 PUSH1 0xE4 DUP5 ADD SWAP3 DUP1 CALLDATALOAD CALLDATASIZE DUP3 SWAP1 SUB PUSH1 0x1E NOT ADD DUP2 SLT ISZERO PUSH2 0x25A JUMPI DUP2 ADD PUSH1 0x20 DUP2 ADD SWAP5 SWAP1 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x25A JUMPI DUP2 PUSH1 0x7 SHL CALLDATASIZE SUB DUP7 SGT PUSH2 0x25A JUMPI DUP2 SWAP1 PUSH1 0x60 PUSH1 0x84 DUP10 ADD MSTORE MSTORE PUSH2 0x104 DUP7 ADD SWAP5 SWAP1 PUSH0 SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0xCE8 JUMPI POP POP POP SWAP4 PUSH2 0xC9C PUSH0 SWAP7 SWAP5 DUP3 SWAP5 PUSH2 0xCAA SWAP5 PUSH1 0x40 DUP11 SWAP10 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0xC7E PUSH1 0x20 DUP4 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0xA4 DUP9 ADD MSTORE ADD CALLDATALOAD PUSH1 0xC4 DUP7 ADD MSTORE DUP5 DUP4 SUB PUSH1 0x23 NOT ADD PUSH1 0x64 DUP7 ADD MSTORE PUSH2 0x1FC2 JUMP JUMPDEST SUB PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x1F74 JUMP JUMPDEST MLOAD SWAP1 DUP3 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 PUSH2 0xCE2 PUSH2 0x1FE2 JUMP JUMPDEST SWAP2 PUSH2 0x937 JUMP JUMPDEST SWAP1 SWAP2 SWAP6 PUSH1 0x80 DUP1 DUP3 PUSH2 0xCFB PUSH1 0x1 SWAP5 DUP12 PUSH2 0x2065 JUMP JUMPDEST ADD SWAP8 ADD SWAP3 ADD SWAP1 PUSH2 0xC50 JUMP JUMPDEST PUSH4 0x3B99B53D PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST SWAP2 SWAP5 SWAP4 SWAP1 SWAP3 POP SWAP1 PUSH1 0x4 DUP2 SUB PUSH2 0xE11 JUMPI POP PUSH2 0xD30 PUSH1 0x20 DUP3 ADD CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH1 0x40 DUP3 ADD CALLDATALOAD DUP2 AND SWAP2 CALLDATALOAD AND DUP1 PUSH2 0xD7D JUMPI POP SELFBALANCE SWAP1 DUP2 LT PUSH2 0xD6E JUMPI DUP1 PUSH2 0xD5E JUMPI JUMPDEST POP POP PUSH2 0x937 JUMP JUMPDEST PUSH2 0xD67 SWAP2 PUSH2 0x2639 JUMP JUMPDEST PUSH0 DUP1 PUSH2 0xD57 JUMP JUMPDEST PUSH4 0x1A84BC41 PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP2 PUSH1 0x40 MLOAD SWAP2 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP4 MSTORE ADDRESS PUSH1 0x4 DUP5 ADD MSTORE PUSH1 0x20 DUP4 PUSH1 0x24 DUP2 DUP8 GAS STATICCALL SWAP3 DUP4 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP4 PUSH2 0xDDE JUMPI JUMPDEST POP DUP3 LT PUSH2 0xDCF JUMPI DUP2 PUSH2 0xDBE JUMPI JUMPDEST POP POP POP PUSH2 0x937 JUMP JUMPDEST PUSH2 0xDC7 SWAP3 PUSH2 0x2A11 JUMP JUMPDEST PUSH0 DUP1 DUP1 PUSH2 0xDB6 JUMP JUMPDEST PUSH4 0xCEB95C7 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 SWAP3 POP PUSH1 0x20 DUP2 RETURNDATASIZE DUP3 GT PUSH2 0xE09 JUMPI JUMPDEST DUP2 PUSH2 0xDF9 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP2 PUSH0 PUSH2 0xDA9 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0xDEC JUMP JUMPDEST PUSH1 0x5 DUP2 SUB PUSH2 0xE38 JUMPI POP DUP1 PUSH1 0x40 PUSH2 0xB2B SWAP3 ADD CALLDATALOAD SWAP1 PUSH2 0xE31 PUSH1 0x20 DUP3 ADD CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP1 CALLDATALOAD PUSH2 0x2459 JUMP JUMPDEST PUSH1 0x6 DUP2 SUB PUSH2 0xEEA JUMPI POP PUSH1 0x40 DUP2 ADD CALLDATALOAD SWAP1 PUSH2 0xE54 PUSH1 0x20 DUP3 ADD CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 PUSH2 0xE78 JUMPI POP PUSH2 0xE72 PUSH2 0xB2B SWAP3 SELFBALANCE PUSH2 0x29E8 JUMP JUMPDEST SWAP1 PUSH2 0x2639 JUMP JUMPDEST SWAP1 PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 DUP2 PUSH1 0x24 DUP2 DUP7 GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP2 PUSH2 0xEB7 JUMPI JUMPDEST POP PUSH2 0xB2B SWAP4 PUSH2 0xEB1 SWAP2 PUSH2 0x29E8 JUMP JUMPDEST SWAP2 PUSH2 0x2A11 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 RETURNDATASIZE DUP3 GT PUSH2 0xEE2 JUMPI JUMPDEST DUP2 PUSH2 0xED1 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD PUSH2 0xB2B PUSH2 0xEA3 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0xEC4 JUMP JUMPDEST PUSH4 0x6BB50F4F PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x8 DUP2 SWAP13 SWAP7 SWAP3 SWAP10 SWAP5 SWAP12 SWAP8 SWAP9 SWAP4 SWAP11 SWAP6 SWAP13 EQ PUSH0 EQ PUSH2 0x111B JUMPI POP PUSH2 0xF22 PUSH1 0x20 DUP4 ADD CALLDATALOAD SWAP2 DUP4 PUSH2 0x23B7 JUMP JUMPDEST SWAP1 PUSH1 0x80 DUP5 ADD CALLDATALOAD ISZERO PUSH2 0x1114 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP2 JUMPDEST PUSH2 0xF48 DUP6 CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP3 DUP3 ISZERO PUSH2 0x6B4 JUMPI PUSH2 0xF58 DUP3 PUSH2 0x23DB JUMP JUMPDEST DUP4 PUSH1 0x1 LT ISZERO PUSH2 0x6B4 JUMPI PUSH2 0xF7A PUSH2 0xFC2 SWAP2 PUSH2 0xF74 PUSH1 0x20 DUP7 ADD PUSH2 0x23DB JUMP JUMPDEST SWAP1 PUSH2 0x3025 JUMP JUMPDEST SWAP1 PUSH32 0x0 PUSH32 0x0 PUSH2 0x303C JUMP JUMPDEST SWAP5 DUP6 DUP2 PUSH2 0x10FA JUMPI JUMPDEST POP POP POP PUSH0 NOT DUP3 ADD DUP3 DUP2 GT PUSH2 0x294 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 PUSH2 0xFF5 SWAP1 PUSH2 0xFF0 SWAP1 DUP6 DUP6 PUSH2 0x243C JUMP JUMPDEST PUSH2 0x23DB JUMP JUMPDEST AND SWAP4 PUSH1 0x40 MLOAD SWAP3 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP5 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP3 DUP4 PUSH1 0x4 DUP7 ADD MSTORE PUSH1 0x20 DUP6 PUSH1 0x24 DUP2 DUP11 GAS STATICCALL SWAP5 DUP6 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP6 PUSH2 0x10BD JUMPI JUMPDEST POP SWAP5 PUSH2 0x103C SWAP3 SWAP2 PUSH1 0x20 SWAP6 SWAP7 PUSH2 0x26CD JUMP JUMPDEST PUSH1 0x24 PUSH1 0x40 MLOAD DUP1 SWAP6 DUP2 SWAP4 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD MSTORE GAS STATICCALL SWAP2 DUP3 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP3 PUSH2 0x1089 JUMPI JUMPDEST POP PUSH1 0x40 PUSH2 0x1074 SWAP3 SWAP4 ADD CALLDATALOAD SWAP3 PUSH2 0x244C JUMP JUMPDEST LT ISZERO PUSH2 0x937 JUMPI PUSH4 0x1093D5F3 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP2 POP PUSH1 0x20 DUP3 RETURNDATASIZE DUP3 GT PUSH2 0x10B5 JUMPI JUMPDEST DUP2 PUSH2 0x10A3 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI SWAP1 MLOAD SWAP1 PUSH1 0x40 PUSH2 0x1064 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x1096 JUMP JUMPDEST SWAP3 SWAP2 SWAP5 POP SWAP5 PUSH1 0x20 DUP4 RETURNDATASIZE DUP3 GT PUSH2 0x10F2 JUMPI JUMPDEST DUP2 PUSH2 0x10DA PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI SWAP2 MLOAD SWAP2 SWAP5 SWAP2 SWAP4 SWAP1 SWAP2 PUSH2 0x103C PUSH2 0x102C JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x10CD JUMP JUMPDEST PUSH2 0x110C SWAP3 PUSH2 0x1107 DUP6 PUSH2 0x23DB JUMP JUMPDEST PUSH2 0x2229 JUMP JUMPDEST PUSH0 DUP1 DUP6 PUSH2 0xFCA JUMP JUMPDEST ADDRESS SWAP2 PUSH2 0xF3E JUMP JUMPDEST PUSH1 0x9 DUP2 SUB PUSH2 0x1367 JUMPI POP PUSH2 0x112E SWAP1 DUP3 PUSH2 0x23B7 JUMP JUMPDEST PUSH1 0x80 DUP4 ADD CALLDATALOAD ISZERO PUSH2 0x1360 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP2 JUMPDEST PUSH2 0x1153 DUP5 CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP2 PUSH32 0x0 SWAP4 PUSH32 0x0 SWAP6 PUSH0 SWAP6 PUSH1 0x2 DUP6 LT PUSH2 0x1351 JUMPI PUSH1 0x20 DUP3 ADD CALLDATALOAD SWAP8 PUSH0 NOT DUP7 ADD DUP7 DUP2 GT PUSH2 0x294 JUMPI SWAP2 SWAP1 DUP3 JUMPDEST PUSH2 0x11F4 JUMPI POP POP POP PUSH1 0x40 ADD CALLDATALOAD DUP7 GT PUSH2 0x11E5 JUMPI DUP3 ISZERO PUSH2 0x6B4 JUMPI PUSH2 0xB2B SWAP6 DUP6 PUSH2 0x11E0 SWAP3 PUSH2 0x1107 DUP6 PUSH2 0x23DB JUMP JUMPDEST PUSH2 0x26CD JUMP JUMPDEST PUSH4 0x45585E0B PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 SWAP2 SWAP9 SWAP8 POP PUSH0 NOT DUP10 ADD SWAP8 DUP10 DUP10 GT PUSH2 0x294 JUMPI PUSH2 0x1216 PUSH2 0xFF0 PUSH2 0x1238 SWAP11 DUP10 DUP10 PUSH2 0x243C JUMP JUMPDEST PUSH2 0x122D PUSH2 0x1227 PUSH2 0xFF0 DUP14 DUP12 DUP12 PUSH2 0x243C JUMP JUMPDEST DUP3 PUSH2 0x3025 JUMP JUMPDEST DUP2 DUP6 DUP8 SWAP14 SWAP4 SWAP14 PUSH2 0x303C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x240BC6B PUSH1 0xE2 SHL DUP2 MSTORE SWAP1 SWAP2 PUSH1 0x60 DUP3 PUSH1 0x4 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND GAS STATICCALL SWAP2 DUP3 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP1 PUSH0 SWAP4 PUSH2 0x131D JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0x70 SHL SUB SWAP3 DUP4 AND SWAP13 SWAP3 AND SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND SWAP2 AND SUB PUSH2 0x1317 JUMPI SWAP10 SWAP1 JUMPDEST SWAP10 DUP1 ISZERO DUP1 ISZERO PUSH2 0x130F JUMPI JUMPDEST PUSH2 0x1300 JUMPI DUP3 PUSH2 0x12A6 SWAP2 PUSH2 0x29B7 JUMP JUMPDEST SWAP2 PUSH2 0x3E8 DUP4 MUL SWAP3 DUP1 DUP5 DIV PUSH2 0x3E8 EQ SWAP1 ISZERO OR ISZERO PUSH2 0x294 JUMPI PUSH2 0x12C5 SWAP2 PUSH2 0x244C JUMP JUMPDEST PUSH2 0x3E5 DUP2 MUL SWAP1 DUP1 DUP3 DIV PUSH2 0x3E5 EQ SWAP1 ISZERO OR ISZERO PUSH2 0x294 JUMPI PUSH2 0x12E3 SWAP2 PUSH2 0x29CA JUMP JUMPDEST PUSH1 0x1 DUP2 ADD DUP1 SWAP2 GT PUSH2 0x294 JUMPI SWAP9 DUP1 ISZERO PUSH2 0x294 JUMPI PUSH0 NOT ADD SWAP2 SWAP1 DUP3 PUSH2 0x11B7 JUMP JUMPDEST PUSH4 0x3DCE448B PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP DUP2 ISZERO PUSH2 0x1298 JUMP JUMPDEST SWAP1 PUSH2 0x128E JUMP JUMPDEST SWAP1 POP PUSH2 0x1341 SWAP2 SWAP3 POP PUSH1 0x60 RETURNDATASIZE DUP2 GT PUSH2 0x134A JUMPI JUMPDEST PUSH2 0x1339 DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x2697 JUMP JUMPDEST POP SWAP2 SWAP1 PUSH0 PUSH2 0x1269 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x132F JUMP JUMPDEST PUSH4 0x20DB8267 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST ADDRESS SWAP2 PUSH2 0x1149 JUMP JUMPDEST SWAP4 SWAP5 SWAP2 SWAP4 SWAP1 SWAP3 SWAP1 PUSH1 0xA DUP2 SUB PUSH2 0x1424 JUMPI POP POP POP PUSH4 0xFFFFFFFF PUSH1 0xC0 DUP4 ADD CALLDATALOAD AND DUP3 ADD SWAP1 PUSH4 0xFFFFFFFF DUP3 CALLDATALOAD AND SWAP1 DUP4 PUSH1 0x20 DUP1 DUP6 ADD SWAP5 DUP5 ADD ADD SWAP2 ADD LT PUSH2 0xD06 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2B67B57 PUSH1 0xE4 SHL PUSH1 0x20 DUP3 ADD SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD AND PUSH1 0x24 DUP4 ADD MSTORE PUSH0 SWAP5 DUP6 SWAP5 SWAP2 SWAP4 PUSH2 0xCAA SWAP3 DUP5 SWAP3 PUSH2 0xC9C SWAP3 SWAP1 PUSH1 0xA0 SWAP1 PUSH2 0x13F1 PUSH1 0x44 DUP8 ADD DUP3 PUSH2 0x2065 JUMP JUMPDEST PUSH1 0x1 DUP1 DUP4 SHL SUB PUSH2 0x1403 PUSH1 0x80 DUP4 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0xC4 DUP8 ADD MSTORE ADD CALLDATALOAD PUSH1 0xE4 DUP6 ADD MSTORE PUSH2 0x100 PUSH2 0x104 DUP6 ADD MSTORE PUSH2 0x124 DUP5 ADD SWAP2 PUSH2 0x1FC2 JUMP JUMPDEST SWAP2 SWAP5 SWAP4 SWAP1 SWAP3 SWAP1 SWAP2 PUSH1 0xB DUP2 SUB PUSH2 0x1557 JUMPI POP POP PUSH2 0x1444 PUSH1 0x20 DUP3 ADD CALLDATALOAD SWAP2 CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP1 DUP1 PUSH1 0x1 PUSH1 0xFF SHL DUP2 SUB PUSH2 0x1541 JUMPI POP POP SELFBALANCE JUMPDEST DUP1 PUSH2 0x1461 JUMPI POP POP PUSH2 0x937 JUMP JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH4 0xD0E30DB PUSH1 0xE4 SHL DUP2 MSTORE PUSH0 DUP2 PUSH1 0x4 DUP2 DUP7 DUP9 GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x1531 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 ADDRESS DUP3 SUB PUSH2 0x14CD JUMPI JUMPDEST POP PUSH2 0xD57 JUMP JUMPDEST PUSH1 0x44 PUSH1 0x20 SWAP3 PUSH0 PUSH1 0x40 MLOAD SWAP6 DUP7 SWAP5 DUP6 SWAP4 PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP6 MSTORE PUSH1 0x4 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x1503 JUMPI JUMPDEST DUP1 DUP1 PUSH2 0x14C7 JUMP JUMPDEST PUSH2 0x1523 SWAP1 PUSH1 0x20 RETURNDATASIZE DUP2 GT PUSH2 0x152A JUMPI JUMPDEST PUSH2 0x151B DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x2424 JUMP JUMPDEST POP PUSH0 PUSH2 0x14FC JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x1511 JUMP JUMPDEST PUSH0 PUSH2 0x153B SWAP2 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 PUSH2 0x14B4 JUMP JUMPDEST SELFBALANCE LT ISZERO PUSH2 0x1455 JUMPI PUSH4 0x1A84BC41 PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0xC DUP2 SUB PUSH2 0x1676 JUMPI POP POP PUSH2 0x156B DUP2 CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE SWAP1 SWAP2 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH1 0x20 DUP4 PUSH1 0x24 DUP2 DUP6 GAS STATICCALL SWAP3 DUP4 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP4 PUSH2 0x1642 JUMPI JUMPDEST POP PUSH1 0x20 ADD CALLDATALOAD DUP3 LT PUSH2 0xD6E JUMPI DUP2 PUSH2 0x15DA JUMPI POP POP POP PUSH2 0x937 JUMP JUMPDEST DUP1 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH0 DUP1 SWAP2 PUSH1 0x24 PUSH1 0x40 MLOAD DUP1 SWAP5 DUP2 SWAP4 PUSH4 0x2E1A7D4D PUSH1 0xE0 SHL DUP4 MSTORE DUP8 PUSH1 0x4 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x1632 JUMPI JUMPDEST POP ADDRESS PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SUB PUSH2 0x1622 JUMPI JUMPDEST DUP1 PUSH2 0xDB6 JUMP JUMPDEST PUSH2 0x162B SWAP2 PUSH2 0x2639 JUMP JUMPDEST PUSH0 DUP1 PUSH2 0x161C JUMP JUMPDEST PUSH0 PUSH2 0x163C SWAP2 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 PUSH2 0x160A JUMP JUMPDEST SWAP1 SWAP3 POP PUSH1 0x20 DUP2 RETURNDATASIZE DUP3 GT PUSH2 0x166E JUMPI JUMPDEST DUP2 PUSH2 0x165D PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP2 PUSH1 0x20 PUSH2 0x15C2 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x1650 JUMP JUMPDEST PUSH1 0xD DUP2 SWAP13 SWAP4 SWAP13 SWAP12 SWAP3 SWAP6 SWAP8 SWAP9 SWAP12 SWAP10 SWAP5 SWAP7 SWAP10 EQ PUSH0 EQ PUSH2 0x1819 JUMPI POP DUP11 CALLDATALOAD DUP12 ADD SWAP9 DUP10 CALLDATALOAD SWAP5 PUSH2 0x16A8 PUSH1 0x20 DUP1 DUP14 ADD SWAP15 DUP14 SUB ADD DUP8 PUSH2 0x221C JUMP JUMPDEST GT PUSH2 0x2C1 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD AND SWAP11 SWAP4 PUSH0 JUMPDEST DUP7 DUP2 LT ISZERO PUSH2 0x1709 JUMPI DUP13 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x16EC PUSH1 0x7 DUP5 SWAP1 SHL DUP16 ADD PUSH1 0x20 ADD PUSH2 0x23DB JUMP JUMPDEST AND SUB PUSH2 0x16FA JUMPI PUSH1 0x1 ADD PUSH2 0x16C9 JUMP JUMPDEST PUSH4 0xE7002877 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP SWAP9 SWAP6 SWAP4 SWAP8 SWAP7 SWAP5 SWAP3 SWAP12 SWAP2 SWAP11 POP SWAP9 POP PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH32 0x0 AND SWAP1 DUP2 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH4 0xD58B1DB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP5 SWAP1 MSTORE SWAP3 DUP4 SWAP2 PUSH1 0x44 DUP4 ADD SWAP2 PUSH0 SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x17A3 JUMPI POP POP POP SWAP2 DUP2 PUSH0 DUP2 DUP2 SWAP6 SUB SWAP3 GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x1793 JUMPI JUMPDEST POP PUSH2 0x937 JUMP JUMPDEST PUSH0 PUSH2 0x179D SWAP2 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 PUSH2 0x178D JUMP JUMPDEST SWAP2 SWAP4 POP SWAP2 PUSH1 0x1 SWAP1 PUSH1 0x80 SWAP1 DUP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x17C0 DUP9 PUSH2 0x2011 JUMP JUMPDEST AND DUP2 MSTORE DUP4 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0x17D5 PUSH1 0x20 DUP10 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0x20 DUP3 ADD MSTORE DUP4 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0x17ED PUSH1 0x40 DUP10 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0x40 DUP3 ADD MSTORE DUP4 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0x1805 PUSH1 0x60 DUP10 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0x60 DUP3 ADD MSTORE ADD SWAP5 ADD SWAP3 ADD DUP6 SWAP4 SWAP3 SWAP2 PUSH2 0x176E JUMP JUMPDEST DUP1 SWAP3 SWAP12 SWAP4 SWAP9 SWAP6 POP PUSH1 0xE SWAP2 SWAP11 SWAP8 SWAP7 SWAP5 POP EQ PUSH0 EQ PUSH2 0xEEA JUMPI POP PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 CALLDATALOAD DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE SWAP1 SWAP2 SWAP1 PUSH1 0x20 SWAP1 DUP4 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 DUP5 DUP7 ADD CALLDATALOAD AND GAS STATICCALL SWAP2 DUP3 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP3 PUSH2 0x189E JUMPI JUMPDEST POP PUSH1 0x40 ADD CALLDATALOAD GT ISZERO DUP1 PUSH2 0xB2B JUMPI PUSH1 0x40 MLOAD PUSH4 0x51940B39 PUSH1 0xE1 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x4 DUP2 MSTORE SWAP1 SWAP3 POP PUSH2 0xCE2 PUSH1 0x24 DUP3 PUSH2 0x1F74 JUMP JUMPDEST SWAP1 SWAP2 POP PUSH1 0x20 DUP2 RETURNDATASIZE DUP3 GT PUSH2 0x18CA JUMPI JUMPDEST DUP2 PUSH2 0x18B9 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP1 PUSH1 0x40 PUSH2 0x1870 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x18AC JUMP JUMPDEST PUSH1 0x10 DUP2 SWAP13 SWAP7 SWAP3 SWAP10 SWAP5 SWAP12 SWAP8 SWAP9 SWAP4 SWAP11 SWAP6 SWAP13 EQ PUSH0 EQ PUSH2 0x19C7 JUMPI POP PUSH1 0x40 MLOAD PUSH4 0x48C89491 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE SWAP2 PUSH0 SWAP2 DUP4 SWAP2 DUP3 SWAP2 PUSH2 0x1913 SWAP2 PUSH1 0x24 DUP5 ADD SWAP2 SWAP1 PUSH2 0x1FC2 JUMP JUMPDEST SUB DUP2 DUP4 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x1952 JUMPI POP PUSH2 0x937 JUMP JUMPDEST RETURNDATASIZE DUP1 PUSH0 DUP4 RETURNDATACOPY PUSH2 0x1961 DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH1 0x20 DUP2 DUP4 SUB SLT PUSH2 0x25A JUMPI DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x25A JUMPI ADD DUP2 PUSH1 0x1F DUP3 ADD SLT ISZERO PUSH2 0x25A JUMPI DUP1 MLOAD PUSH2 0x1996 DUP2 PUSH2 0x1F97 JUMP JUMPDEST SWAP3 PUSH2 0x19A4 PUSH1 0x40 MLOAD SWAP5 DUP6 PUSH2 0x1F74 JUMP JUMPDEST DUP2 DUP5 MSTORE PUSH1 0x20 DUP3 DUP5 ADD ADD GT PUSH2 0x25A JUMPI PUSH0 SWAP3 DUP2 PUSH1 0x20 DUP1 SWAP5 ADD DUP5 DUP4 ADD MCOPY ADD ADD MSTORE PUSH0 PUSH2 0x178D JUMP JUMPDEST DUP1 SWAP3 SWAP5 SWAP6 POP PUSH1 0x11 SWAP2 SWAP4 POP EQ PUSH0 EQ PUSH2 0x1A52 JUMPI POP SWAP1 DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0x853D0085 PUSH1 0xE0 SHL DUP2 ADD PUSH2 0x1A40 JUMPI POP DUP2 PUSH0 SWAP3 SWAP2 DUP4 SWAP3 PUSH1 0x40 MLOAD SWAP3 DUP4 SWAP3 DUP4 CALLDATACOPY DUP2 ADD DUP4 DUP2 MSTORE SUB SWAP1 DUP3 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 PUSH2 0xCE2 PUSH2 0x1FE2 JUMP JUMPDEST PUSH4 0xF801E525 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x12 DUP2 SUB PUSH2 0x1C50 JUMPI POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP2 DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0x624E65F PUSH1 0xE1 SHL DUP2 EQ DUP1 ISZERO PUSH2 0x1C40 JUMPI JUMPDEST DUP1 ISZERO PUSH2 0x1C30 JUMPI JUMPDEST ISZERO PUSH2 0x1A40 JUMPI POP PUSH1 0x40 MLOAD PUSH4 0x31A9108F PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP3 DUP2 ADD CALLDATALOAD SWAP1 DUP3 ADD DUP2 SWAP1 MSTORE PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP5 SWAP1 SWAP2 PUSH1 0x20 DUP2 PUSH1 0x24 DUP2 DUP10 GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP2 PUSH2 0x1C12 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND SWAP2 AND DUP2 DUP2 EQ SWAP2 DUP3 ISZERO PUSH2 0x1BA6 JUMPI JUMPDEST DUP3 ISZERO PUSH2 0x1B4D JUMPI JUMPDEST POP POP ISZERO PUSH2 0x1B3B JUMPI POP SWAP2 DUP2 PUSH0 DUP1 SWAP5 DUP2 SWAP5 PUSH1 0x40 MLOAD SWAP4 DUP5 SWAP3 DUP4 CALLDATACOPY DUP2 ADD DUP3 DUP2 MSTORE SUB SWAP3 GAS CALL SWAP1 PUSH2 0xCE2 PUSH2 0x1FE2 JUMP JUMPDEST PUSH4 0xBB25D4C5 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xE985E9C5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE SWAP1 POP PUSH1 0x20 DUP2 PUSH1 0x44 DUP2 DUP9 GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP2 PUSH2 0x1B88 JUMPI JUMPDEST POP PUSH0 DUP1 PUSH2 0x1B12 JUMP JUMPDEST PUSH2 0x1BA0 SWAP2 POP PUSH1 0x20 RETURNDATASIZE DUP2 GT PUSH2 0x152A JUMPI PUSH2 0x151B DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 PUSH2 0x1B80 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 MLOAD PUSH4 0x20604BF PUSH1 0xE2 SHL DUP2 MSTORE DUP4 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 DUP2 PUSH1 0x24 DUP2 DUP11 GAS STATICCALL DUP1 ISZERO PUSH2 0x9E1 JUMPI DUP4 SWAP2 PUSH0 SWAP2 PUSH2 0x1BE4 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ SWAP2 PUSH2 0x1B0B JUMP JUMPDEST PUSH2 0x1C05 SWAP2 POP PUSH1 0x20 RETURNDATASIZE DUP2 GT PUSH2 0x1C0B JUMPI JUMPDEST PUSH2 0x1BFD DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x261A JUMP JUMPDEST PUSH0 PUSH2 0x1BD3 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x1BF3 JUMP JUMPDEST PUSH2 0x1C2A SWAP2 POP PUSH1 0x20 RETURNDATASIZE DUP2 GT PUSH2 0x1C0B JUMPI PUSH2 0x1BFD DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 PUSH2 0x1AF2 JUMP JUMPDEST POP PUSH4 0x852CD8D PUSH1 0xE3 SHL DUP2 EQ PUSH2 0x1A8F JUMP JUMPDEST POP PUSH4 0xFC6F7865 PUSH1 0xE0 SHL DUP2 EQ PUSH2 0x1A88 JUMP JUMPDEST PUSH1 0x13 DUP2 SUB PUSH2 0x1D41 JUMPI POP POP PUSH1 0x40 MLOAD PUSH4 0x313B65DF PUSH1 0xE1 SHL PUSH1 0x20 DUP3 ADD SWAP1 DUP2 MSTORE PUSH0 SWAP3 DUP4 SWAP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1C82 DUP3 PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0x24 DUP4 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1C9C PUSH1 0x20 DUP4 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0x44 DUP4 ADD MSTORE PUSH3 0xFFFFFF PUSH2 0x1CB2 PUSH1 0x40 DUP4 ADD PUSH2 0x2025 JUMP JUMPDEST AND PUSH1 0x64 DUP4 ADD MSTORE PUSH2 0x1CC4 PUSH1 0x60 DUP3 ADD PUSH2 0x2035 JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND PUSH1 0x84 DUP4 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1CE0 PUSH1 0x80 DUP4 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0xA4 DUP4 ADD MSTORE PUSH1 0xA0 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0xC4 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP2 MSTORE PUSH2 0x1D09 PUSH1 0xE4 DUP3 PUSH2 0x1F74 JUMP JUMPDEST MLOAD SWAP1 DUP3 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 PUSH2 0xCE2 PUSH2 0x1FE2 JUMP JUMPDEST PUSH1 0x14 DUP2 SUB PUSH2 0xEEA JUMPI POP DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0x22B9AF71 PUSH1 0xE0 SHL DUP2 ADD PUSH2 0x1A40 JUMPI POP DUP1 PUSH1 0x4 GT PUSH2 0x25A JUMPI PUSH2 0x1D87 PUSH2 0x1D81 PUSH1 0x3 NOT DUP4 ADD PUSH1 0x4 DUP6 ADD PUSH2 0x20C3 JUMP JUMPDEST SWAP1 PUSH2 0x20C3 JUMP JUMPDEST PUSH0 JUMPDEST DUP2 DUP2 LT PUSH2 0x1DDE JUMPI POP POP POP PUSH0 SWAP2 DUP3 SWAP2 SELFBALANCE SWAP2 DUP2 PUSH1 0x40 MLOAD SWAP3 DUP4 SWAP3 DUP4 CALLDATACOPY DUP2 ADD DUP5 DUP2 MSTORE SUB SWAP2 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 PUSH2 0xCE2 PUSH2 0x1FE2 JUMP JUMPDEST PUSH2 0x1DE9 DUP2 DUP4 DUP6 PUSH2 0x6A8 JUMP JUMPDEST CALLDATALOAD PUSH1 0xF8 SHR DUP1 ISZERO SWAP1 DUP2 ISZERO PUSH2 0x1E25 JUMPI JUMPDEST DUP2 ISZERO PUSH2 0x1E1A JUMPI JUMPDEST POP PUSH2 0x1E0B JUMPI PUSH1 0x1 ADD PUSH2 0x1D89 JUMP JUMPDEST PUSH4 0x5D1D0F9F PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x3 SWAP2 POP EQ PUSH0 PUSH2 0x1DFE JUMP JUMPDEST PUSH1 0x1 DUP2 EQ SWAP2 POP PUSH2 0x1DF7 JUMP JUMPDEST SWAP1 SWAP8 SWAP4 SWAP11 POP PUSH1 0x21 DUP2 SWAP11 SWAP7 SWAP8 SWAP3 SWAP10 SWAP6 SWAP4 SWAP11 EQ PUSH0 EQ PUSH2 0xEEA JUMPI POP SWAP1 PUSH2 0x1E52 SWAP2 PUSH2 0x2582 JUMP JUMPDEST PUSH2 0x1E7C PUSH1 0x40 SWAP6 SWAP4 SWAP6 MLOAD SWAP5 PUSH1 0x20 DUP7 ADD SWAP7 PUSH4 0x24856BC3 PUSH1 0xE0 SHL DUP9 MSTORE PUSH1 0x40 PUSH1 0x24 DUP9 ADD MSTORE PUSH1 0x64 DUP8 ADD SWAP2 PUSH2 0x1FC2 JUMP JUMPDEST SWAP3 PUSH1 0x23 NOT DUP6 DUP6 SUB ADD PUSH1 0x44 DUP7 ADD MSTORE DUP2 DUP5 MSTORE PUSH1 0x20 DUP5 ADD SWAP2 PUSH1 0x20 DUP2 PUSH1 0x5 SHL DUP7 ADD ADD SWAP5 DUP5 PUSH0 SWAP1 PUSH1 0x1E NOT DUP2 CALLDATASIZE SUB ADD JUMPDEST DUP5 DUP4 LT PUSH2 0x1EDC JUMPI POP POP POP POP POP POP POP POP SWAP2 DUP2 PUSH2 0x1ECD PUSH0 SWAP5 SWAP4 DUP6 SWAP5 SUB PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x1F74 JUMP JUMPDEST MLOAD SWAP1 DUP3 ADDRESS GAS CALL SWAP1 PUSH2 0xCE2 PUSH2 0x1FE2 JUMP JUMPDEST SWAP1 SWAP2 SWAP3 SWAP4 SWAP5 SWAP6 SWAP7 SWAP8 PUSH1 0x1F NOT DUP6 DUP3 SUB ADD DUP9 MSTORE DUP9 CALLDATALOAD DUP3 DUP2 SLT ISZERO PUSH2 0x25A JUMPI DUP4 ADD PUSH1 0x20 DUP2 ADD SWAP2 SWAP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI DUP1 CALLDATASIZE SUB DUP4 SGT PUSH2 0x25A JUMPI PUSH2 0x1F26 PUSH1 0x20 SWAP3 DUP4 SWAP3 DUP12 SWAP6 PUSH2 0x1FC2 JUMP JUMPDEST SWAP11 ADD SWAP9 ADD SWAP7 SWAP6 SWAP5 SWAP4 ADD SWAP2 SWAP1 PUSH2 0x1EA6 JUMP JUMPDEST PUSH4 0x1FEC6747 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0xA0 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x1F60 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x1F60 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x1F60 JUMPI PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0xFF SHL DUP2 EQ PUSH2 0x294 JUMPI PUSH0 SUB SWAP1 JUMP JUMPDEST SWAP1 DUP1 PUSH1 0x20 SWAP4 SWAP3 DUP2 DUP5 MSTORE DUP5 DUP5 ADD CALLDATACOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST RETURNDATASIZE ISZERO PUSH2 0x200C JUMPI RETURNDATASIZE SWAP1 PUSH2 0x1FF3 DUP3 PUSH2 0x1F97 JUMP JUMPDEST SWAP2 PUSH2 0x2001 PUSH1 0x40 MLOAD SWAP4 DUP5 PUSH2 0x1F74 JUMP JUMPDEST DUP3 MSTORE RETURNDATASIZE PUSH0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY JUMP JUMPDEST PUSH1 0x60 SWAP1 JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x25A JUMPI JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH3 0xFFFFFF DUP3 AND DUP3 SUB PUSH2 0x25A JUMPI JUMP JUMPDEST CALLDATALOAD SWAP1 DUP2 PUSH1 0x2 SIGNEXTEND DUP3 SUB PUSH2 0x25A JUMPI JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP1 JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH6 0xFFFFFFFFFFFF DUP3 AND DUP3 SUB PUSH2 0x25A JUMPI JUMP JUMPDEST PUSH1 0x60 SWAP1 PUSH6 0xFFFFFFFFFFFF SWAP1 PUSH2 0x20BD SWAP1 DUP4 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x2087 DUP3 PUSH2 0x2011 JUMP JUMPDEST AND DUP7 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x209E PUSH1 0x20 DUP4 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0x20 DUP8 ADD MSTORE DUP4 PUSH2 0x20B1 PUSH1 0x40 DUP4 ADD PUSH2 0x2052 JUMP JUMPDEST AND PUSH1 0x40 DUP8 ADD MSTORE ADD PUSH2 0x2052 JUMP JUMPDEST AND SWAP2 ADD MSTORE JUMP JUMPDEST SWAP1 SWAP2 PUSH4 0xFFFFFFFF DUP3 CALLDATALOAD AND DUP3 ADD SWAP3 PUSH4 0xFFFFFFFF DUP5 CALLDATALOAD AND SWAP3 PUSH1 0x20 DUP1 DUP7 ADD SWAP6 DUP6 ADD ADD SWAP2 ADD LT PUSH2 0xD06 JUMPI JUMP JUMPDEST SWAP1 SWAP2 PUSH4 0xFFFFFFFF PUSH1 0x60 DUP4 ADD CALLDATALOAD AND DUP3 ADD SWAP3 PUSH4 0xFFFFFFFF DUP5 CALLDATALOAD AND SWAP3 PUSH1 0x20 DUP1 DUP7 ADD SWAP6 DUP6 ADD ADD SWAP2 ADD LT PUSH2 0xD06 JUMPI JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT DUP2 MSTORE PUSH1 0x60 SWAP2 SWAP1 SWAP2 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT AND PUSH1 0x1 DUP3 ADD MSTORE PUSH1 0x15 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x35 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x55 ADD SWAP1 JUMP JUMPDEST SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND SWAP1 DUP5 AND GT PUSH2 0x2214 JUMPI JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND PUSH1 0x20 DUP3 ADD SWAP1 DUP2 MSTORE SWAP5 SWAP1 SWAP4 AND SWAP1 DUP4 ADD MSTORE PUSH3 0xFFFFFF AND PUSH1 0x60 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP2 MSTORE PUSH2 0x219A PUSH1 0x80 DUP3 PUSH2 0x1F74 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD SWAP1 PUSH2 0x2204 DUP3 PUSH2 0x21F6 PUSH1 0x20 DUP3 ADD SWAP4 PUSH32 0x0 SWAP1 PUSH32 0x0 DUP7 PUSH2 0x2116 JUMP JUMPDEST SUB PUSH1 0x1F NOT DUP2 ADD DUP5 MSTORE DUP4 PUSH2 0x1F74 JUMP JUMPDEST SWAP1 MLOAD SWAP1 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST SWAP1 SWAP2 SWAP1 PUSH2 0x2161 JUMP JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x294 JUMPI JUMP JUMPDEST SWAP1 SWAP3 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND ADDRESS SUB PUSH2 0x2249 JUMPI PUSH2 0x2247 SWAP4 POP PUSH2 0x2459 JUMP JUMPDEST JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 GT PUSH2 0x226C JUMPI PUSH2 0x2247 SWAP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP3 PUSH2 0x24F4 JUMP JUMPDEST PUSH4 0xC4BD89A9 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 SWAP3 PUSH1 0x2B DUP2 LT PUSH2 0x2C1 JUMPI DUP3 PUSH0 PUSH1 0x40 SWAP5 CALLDATALOAD SWAP6 PUSH2 0x234E DUP8 PUSH1 0x60 SHR SWAP4 PUSH2 0x2306 PUSH1 0x17 DUP3 ADD CALLDATALOAD PUSH1 0x60 SHR SWAP10 PUSH2 0x22BF DUP8 DUP13 LT SWAP8 DUP9 SWAP13 PUSH3 0xFFFFFF PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB SWAP5 PUSH1 0x48 SHR AND SWAP2 PUSH2 0x214C JUMP JUMPDEST AND SWAP7 DUP7 DUP7 EQ PUSH2 0x239C JUMPI PUSH5 0x1000276A4 SWAP12 JUMPDEST PUSH2 0x22E8 DUP12 MLOAD SWAP5 DUP6 SWAP4 DUP14 PUSH1 0x20 DUP7 ADD MSTORE PUSH1 0x60 DUP6 ADD SWAP2 PUSH2 0x1FC2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND DUP12 DUP4 ADD MSTORE SUB PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x1F74 JUMP JUMPDEST DUP8 MLOAD SWAP10 DUP11 SWAP8 DUP9 SWAP7 DUP8 SWAP6 PUSH4 0x2515961 PUSH1 0xE3 SHL DUP8 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x4 DUP8 ADD MSTORE PUSH1 0x24 DUP7 ADD MSTORE PUSH1 0x44 DUP6 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x64 DUP5 ADD MSTORE PUSH1 0xA0 PUSH1 0x84 DUP5 ADD MSTORE PUSH1 0xA4 DUP4 ADD SWAP1 PUSH2 0x684 JUMP JUMPDEST SUB SWAP3 GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP3 PUSH0 SWAP2 PUSH2 0x2365 JUMPI POP SWAP2 SWAP3 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 DUP3 RETURNDATASIZE PUSH1 0x40 GT PUSH2 0x2394 JUMPI JUMPDEST DUP2 PUSH2 0x2381 PUSH1 0x40 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI PUSH1 0x20 DUP3 MLOAD SWAP3 ADD MLOAD SWAP2 SWAP3 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x2374 JUMP JUMPDEST PUSH20 0xFFFD8963EFD1FC6A506488495D951D5263988D25 SWAP12 PUSH2 0x22D0 JUMP JUMPDEST SWAP2 PUSH1 0x60 DUP4 ADD CALLDATALOAD DUP4 ADD SWAP2 PUSH2 0x23D4 PUSH1 0x20 DUP5 CALLDATALOAD SWAP6 DUP2 DUP7 ADD SWAP6 SUB ADD DUP6 PUSH2 0x221C JUMP JUMPDEST GT PUSH2 0x2C1 JUMPI JUMP JUMPDEST CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x25A JUMPI SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x1 DUP2 SUB PUSH2 0x2415 JUMPI POP POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP1 JUMP JUMPDEST PUSH1 0x2 SUB PUSH2 0x2421 JUMPI POP ADDRESS SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x25A JUMPI MLOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x25A JUMPI SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP2 LT ISZERO PUSH2 0x6B4 JUMPI PUSH1 0x5 SHL ADD SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP3 SUB SWAP2 DUP3 GT PUSH2 0x294 JUMPI JUMP JUMPDEST SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 PUSH2 0x2474 JUMPI POP PUSH2 0x2247 SWAP2 PUSH2 0x2639 JUMP JUMPDEST PUSH1 0x1 PUSH1 0xFF SHL DUP3 EQ PUSH2 0x248A JUMPI JUMPDEST SWAP2 PUSH2 0x2247 SWAP3 PUSH2 0x2A11 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE SWAP3 SWAP1 SWAP2 POP PUSH1 0x20 DUP4 PUSH1 0x24 DUP2 DUP6 GAS STATICCALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP1 PUSH2 0x24C0 JUMPI JUMPDEST SWAP1 SWAP3 POP SWAP1 PUSH2 0x2480 JUMP JUMPDEST POP PUSH1 0x20 DUP4 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x24EC JUMPI JUMPDEST DUP2 PUSH2 0x24DA PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI PUSH2 0x2247 SWAP3 MLOAD PUSH2 0x24B7 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x24CD JUMP JUMPDEST SWAP2 SWAP1 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH4 0x1B63C28B PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE SWAP3 DUP2 AND PUSH1 0x24 DUP5 ADD MSTORE SWAP4 DUP5 AND PUSH1 0x44 DUP4 ADD MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x64 DUP4 ADD MSTORE PUSH0 SWAP1 DUP3 SWAP1 PUSH1 0x84 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x2578 JUMPI POP JUMP JUMPDEST PUSH0 PUSH2 0x2247 SWAP2 PUSH2 0x1F74 JUMP JUMPDEST PUSH1 0x40 DUP2 CALLDATALOAD XOR SWAP2 PUSH1 0x60 DUP3 ADD SWAP4 PUSH4 0xFFFFFFFF PUSH1 0x40 DUP5 ADD CALLDATALOAD AND SWAP4 PUSH4 0xFFFFFFE0 PUSH1 0x1F DUP7 ADD AND SWAP1 PUSH1 0x60 DUP3 ADD PUSH1 0x20 DUP7 ADD CALLDATALOAD XOR OR SWAP1 DUP5 ADD SWAP3 PUSH1 0x60 DUP5 ADD CALLDATALOAD SWAP5 PUSH4 0xFFFFFFFF DUP7 AND SWAP5 PUSH5 0x1FFFFFFFE0 PUSH1 0x80 DUP3 ADD SWAP8 PUSH1 0x5 SHL AND DUP1 SWAP2 PUSH0 SWAP3 JUMPDEST DUP1 DUP5 LT PUSH2 0x25ED JUMPI POP PUSH1 0x80 SWAP3 POP ADD ADD SWAP2 ADD LT OR PUSH2 0xD06 JUMPI JUMP JUMPDEST SWAP1 SWAP2 PUSH1 0x20 DUP1 SWAP2 PUSH4 0xFFFFFFE0 PUSH1 0x1F PUSH1 0x80 DUP1 DUP10 DUP10 ADD ADD CALLDATALOAD SWAP12 DUP5 DUP14 XOR OR SWAP12 DUP9 ADD ADD CALLDATALOAD ADD AND ADD ADD SWAP4 ADD SWAP3 SWAP2 SWAP1 PUSH2 0x25D5 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x25A JUMPI MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x25A JUMPI SWAP1 JUMP JUMPDEST PUSH0 DUP1 DUP1 SWAP4 DUP2 SWAP4 GAS CALL ISZERO PUSH2 0x2648 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH19 0x11551217D514905394D1915497D19052531151 PUSH1 0x6A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x70 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x25A JUMPI JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x60 SWAP2 SUB SLT PUSH2 0x25A JUMPI PUSH2 0x26AB DUP2 PUSH2 0x2683 JUMP JUMPDEST SWAP2 PUSH1 0x40 PUSH2 0x26BA PUSH1 0x20 DUP5 ADD PUSH2 0x2683 JUMP JUMPDEST SWAP3 ADD MLOAD PUSH4 0xFFFFFFFF DUP2 AND DUP2 SUB PUSH2 0x25A JUMPI SWAP1 JUMP JUMPDEST SWAP2 PUSH1 0x2 DUP3 LT PUSH2 0x29A8 JUMPI DUP2 ISZERO PUSH2 0x6B4 JUMPI PUSH2 0x26E5 DUP4 PUSH2 0x23DB JUMP JUMPDEST DUP3 PUSH1 0x1 LT ISZERO PUSH2 0x6B4 JUMPI PUSH2 0x2701 SWAP1 PUSH2 0xF74 PUSH1 0x20 DUP7 SWAP8 SWAP6 SWAP7 ADD PUSH2 0x23DB JUMP JUMPDEST POP PUSH1 0x1 NOT DUP5 ADD SWAP5 PUSH0 NOT DUP6 ADD SWAP5 PUSH0 SWAP5 PUSH1 0x20 SWAP4 SWAP3 DUP7 SWAP3 SWAP1 SWAP2 JUMPDEST DUP9 DUP5 LT PUSH2 0x272B JUMPI POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x2739 PUSH2 0xFF0 DUP6 DUP5 DUP7 PUSH2 0x243C JUMP JUMPDEST PUSH2 0x274A PUSH2 0xFF0 PUSH1 0x1 DUP8 ADD DUP6 DUP8 PUSH2 0x243C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x240BC6B PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP4 AND SWAP7 SWAP1 SWAP3 SWAP2 PUSH1 0x60 DUP4 PUSH1 0x4 DUP2 DUP12 GAS STATICCALL SWAP3 DUP4 ISZERO PUSH2 0x9E1 JUMPI DUP10 SWAP1 PUSH0 SWAP1 PUSH0 SWAP6 PUSH2 0x2981 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 DUP4 AND SWAP4 SWAP1 SWAP3 AND DUP4 EQ SWAP4 PUSH1 0x24 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x70 SHL SUB SWAP2 DUP3 AND SWAP3 SWAP2 AND DUP6 ISZERO PUSH2 0x297B JUMPI SWAP2 SWAP4 JUMPDEST PUSH1 0x40 MLOAD SWAP4 DUP5 DUP1 SWAP3 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP3 MSTORE DUP14 PUSH1 0x4 DUP4 ADD MSTORE GAS STATICCALL SWAP2 DUP3 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP3 PUSH2 0x294C JUMPI JUMPDEST POP DUP1 DUP3 SUB SWAP3 DUP2 ISZERO SWAP3 DUP4 DUP1 ISZERO PUSH2 0x2944 JUMPI JUMPDEST PUSH2 0x1300 JUMPI DUP3 PUSH2 0x3E5 DUP7 MUL SWAP6 DUP7 DIV PUSH2 0x3E5 EQ SWAP2 EQ OR ISZERO PUSH2 0x294 JUMPI PUSH2 0x2808 SWAP1 DUP5 PUSH2 0x29B7 JUMP JUMPDEST SWAP2 PUSH2 0x3E8 DUP3 MUL SWAP2 DUP3 DIV PUSH2 0x3E8 EQ OR ISZERO PUSH2 0x294 JUMPI PUSH2 0x282E SWAP3 PUSH2 0x2828 SWAP2 PUSH2 0x221C JUMP JUMPDEST SWAP1 PUSH2 0x29CA JUMP JUMPDEST SWAP1 ISZERO PUSH2 0x293D JUMPI PUSH0 SWAP1 SWAP2 JUMPDEST DUP12 DUP7 LT ISZERO PUSH2 0x2934 JUMPI SWAP1 PUSH2 0x2859 PUSH2 0x28A3 SWAP3 PUSH2 0xF74 PUSH2 0xFF0 PUSH1 0x2 DUP11 ADD DUP9 DUP11 PUSH2 0x243C JUMP JUMPDEST DUP2 SWAP4 SWAP2 PUSH32 0x0 PUSH32 0x0 PUSH2 0x303C JUMP JUMPDEST SWAP2 JUMPDEST SWAP7 PUSH1 0x40 MLOAD SWAP1 PUSH2 0x28B4 DUP11 DUP4 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 DUP3 MSTORE DUP12 CALLDATASIZE DUP12 DUP5 ADD CALLDATACOPY DUP1 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH2 0x2908 SWAP5 PUSH0 DUP1 SWAP5 PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP6 DUP7 SWAP5 DUP6 SWAP4 PUSH4 0x22C0D9F PUSH1 0xE0 SHL DUP6 MSTORE PUSH1 0x4 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP10 AND PUSH1 0x44 DUP5 ADD MSTORE PUSH1 0x80 PUSH1 0x64 DUP5 ADD MSTORE PUSH1 0x84 DUP4 ADD SWAP1 PUSH2 0x684 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP2 DUP3 ISZERO PUSH2 0x9E1 JUMPI PUSH1 0x1 SWAP3 PUSH2 0x2924 JUMPI JUMPDEST POP SWAP4 ADD SWAP3 PUSH2 0x2718 JUMP JUMPDEST PUSH0 PUSH2 0x292E SWAP2 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 PUSH2 0x291B JUMP JUMPDEST POP DUP8 SWAP1 PUSH0 PUSH2 0x28A5 JUMP JUMPDEST PUSH0 SWAP2 PUSH2 0x2838 JUMP JUMPDEST POP DUP2 ISZERO PUSH2 0x27E5 JUMP JUMPDEST SWAP1 SWAP2 POP DUP10 DUP2 DUP2 RETURNDATASIZE DUP4 GT PUSH2 0x2974 JUMPI JUMPDEST PUSH2 0x2964 DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP1 PUSH0 PUSH2 0x27D5 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x295A JUMP JUMPDEST SWAP4 PUSH2 0x27AE JUMP JUMPDEST PUSH1 0x24 SWAP4 SWAP3 SWAP6 POP PUSH2 0x299F SWAP2 POP PUSH1 0x60 RETURNDATASIZE DUP2 GT PUSH2 0x134A JUMPI PUSH2 0x1339 DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST POP SWAP5 SWAP2 SWAP3 PUSH2 0x2781 JUMP JUMPDEST PUSH4 0x2B94AB43 PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST DUP2 DUP2 MUL SWAP3 SWAP2 DUP2 ISZERO SWAP2 DUP5 DIV EQ OR ISZERO PUSH2 0x294 JUMPI JUMP JUMPDEST DUP2 ISZERO PUSH2 0x29D4 JUMPI DIV SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH2 0x2710 DUP3 GT PUSH2 0x2A02 JUMPI PUSH2 0x2710 SWAP2 PUSH2 0x29FE SWAP2 PUSH2 0x29B7 JUMP JUMPDEST DIV SWAP1 JUMP JUMPDEST PUSH4 0x6F5500F3 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH0 SWAP2 DUP3 PUSH1 0x44 SWAP3 PUSH1 0x20 SWAP6 PUSH1 0x40 MLOAD SWAP4 PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP6 MSTORE PUSH1 0x4 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD MSTORE GAS CALL RETURNDATASIZE ISZERO PUSH1 0x1F RETURNDATASIZE GT PUSH1 0x1 PUSH0 MLOAD EQ AND OR AND ISZERO PUSH2 0x2A49 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH15 0x1514905394D1915497D19052531151 PUSH1 0x8A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP3 SWAP2 SWAP1 PUSH1 0xB DUP5 LT ISZERO PUSH2 0x2EBE JUMPI PUSH1 0x7 DUP5 SUB PUSH2 0x2BBD JUMPI PUSH2 0x2A9F SWAP3 SWAP4 POP PUSH2 0x33EA JUMP JUMPDEST PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x2AAE DUP3 DUP3 PUSH2 0x33F8 JUMP JUMPDEST SWAP1 POP PUSH0 SWAP3 PUSH2 0x2ABB DUP4 PUSH2 0x23DB JUMP JUMPDEST SWAP1 PUSH2 0x2AC8 PUSH1 0x40 DUP6 ADD PUSH2 0x3360 JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP3 AND ISZERO PUSH2 0x2BA4 JUMPI JUMPDEST SWAP3 SWAP2 PUSH0 SWAP2 JUMPDEST DUP4 DUP4 LT PUSH2 0x2B3A JUMPI POP POP POP POP POP PUSH1 0x60 ADD PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB PUSH2 0x2AFD DUP3 PUSH2 0x3360 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP1 SWAP4 AND SWAP3 AND DUP3 LT PUSH2 0x2B14 JUMPI POP POP JUMP JUMPDEST PUSH2 0x2B1D SWAP1 PUSH2 0x3360 JUMP JUMPDEST PUSH4 0x8B063D73 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH0 REVERT JUMPDEST DUP5 SWAP7 POP PUSH2 0x2B88 SWAP1 PUSH2 0x2B65 PUSH2 0x2B5E DUP6 PUSH2 0x2B58 PUSH2 0x2B8D SWAP7 SWAP8 SWAP9 SWAP10 DUP12 PUSH2 0x33F8 JUMP JUMPDEST SWAP1 PUSH2 0x342D JUMP JUMPDEST SWAP5 DUP6 PUSH2 0x36A1 JUMP JUMPDEST SWAP2 SWAP1 PUSH2 0x2B74 PUSH1 0x80 DUP8 ADD DUP8 PUSH2 0x6C8 JUMP JUMPDEST SWAP4 SWAP1 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH0 SUB SWAP2 PUSH2 0x3531 JUMP JUMPDEST PUSH2 0x3769 JUMP JUMPDEST SWAP5 PUSH1 0x1 PUSH2 0x2B9A DUP8 SWAP4 PUSH2 0x23DB JUMP JUMPDEST SWAP2 SWAP5 SWAP4 ADD SWAP2 PUSH2 0x2ADE JUMP JUMPDEST SWAP1 POP PUSH2 0x2BB7 PUSH2 0x2BB2 DUP4 PUSH2 0x30A9 JUMP JUMPDEST PUSH2 0x350D JUMP JUMPDEST SWAP1 PUSH2 0x2AD9 JUMP JUMPDEST PUSH1 0x6 DUP5 SUB PUSH2 0x2C98 JUMPI PUSH2 0x2BD0 SWAP3 SWAP4 POP PUSH2 0x3351 JUMP JUMPDEST PUSH2 0x2BDC PUSH1 0xC0 DUP3 ADD PUSH2 0x3360 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND ISZERO PUSH2 0x2C47 JUMPI JUMPDEST PUSH2 0x2C34 PUSH2 0x2B88 PUSH1 0xE0 SWAP3 PUSH2 0x2C13 PUSH2 0x2C04 PUSH1 0xA0 DUP8 ADD PUSH2 0x3374 JUMP JUMPDEST SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH2 0x1FB2 JUMP JUMPDEST SWAP1 PUSH2 0x2C22 PUSH2 0x100 DUP8 ADD DUP8 PUSH2 0x6C8 JUMP JUMPDEST SWAP3 SWAP1 SWAP2 PUSH2 0x2C2F CALLDATASIZE DUP10 PUSH2 0x3381 JUMP JUMPDEST PUSH2 0x3531 JUMP JUMPDEST SWAP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB PUSH2 0x2AFD DUP3 PUSH2 0x3360 JUMP JUMPDEST POP PUSH2 0x2C54 PUSH1 0xA0 DUP3 ADD PUSH2 0x3374 JUMP JUMPDEST ISZERO PUSH2 0x2C7E JUMPI PUSH1 0xE0 PUSH2 0x2C34 PUSH2 0x2B88 PUSH2 0x2C75 PUSH2 0x2BB2 PUSH2 0x2C70 DUP7 PUSH2 0x23DB JUMP JUMPDEST PUSH2 0x30A9 JUMP JUMPDEST SWAP3 POP POP POP PUSH2 0x2BEC JUMP JUMPDEST PUSH1 0xE0 PUSH2 0x2C34 PUSH2 0x2B88 PUSH2 0x2C75 PUSH2 0x2BB2 PUSH2 0x2C70 PUSH1 0x20 DUP8 ADD PUSH2 0x23DB JUMP JUMPDEST PUSH1 0x9 DUP5 SUB PUSH2 0x2DC8 JUMPI PUSH2 0x2CAB SWAP3 SWAP4 POP PUSH2 0x33EA JUMP JUMPDEST PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x2CBA DUP3 DUP3 PUSH2 0x33F8 JUMP JUMPDEST PUSH0 SWAP4 SWAP2 POP PUSH2 0x2CCA PUSH1 0x40 DUP5 ADD PUSH2 0x3360 JUMP JUMPDEST PUSH2 0x2CD3 DUP5 PUSH2 0x23DB JUMP JUMPDEST SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP3 AND ISZERO PUSH2 0x2DB4 JUMPI JUMPDEST SWAP3 SWAP2 SWAP3 SWAP1 DUP2 JUMPDEST PUSH2 0x2D42 JUMPI POP POP POP POP PUSH1 0x60 ADD PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB PUSH2 0x2D05 DUP3 PUSH2 0x3360 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP1 SWAP4 AND SWAP3 AND DUP3 GT PUSH2 0x2D1C JUMPI POP POP JUMP JUMPDEST PUSH2 0x2D25 SWAP1 PUSH2 0x3360 JUMP JUMPDEST PUSH4 0x12BACDD3 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH0 REVERT JUMPDEST DUP3 SWAP4 SWAP6 POP PUSH2 0x2D93 SWAP1 PUSH2 0x2D6F PUSH2 0x2D68 PUSH2 0x2D5E PUSH2 0x2D9D SWAP6 SWAP7 DUP10 PUSH2 0x33F8 JUMP JUMPDEST PUSH0 NOT DUP9 ADD SWAP2 PUSH2 0x342D JUMP JUMPDEST SWAP8 DUP9 PUSH2 0x36A1 JUMP JUMPDEST PUSH2 0x2D7F PUSH1 0x80 DUP11 SWAP5 SWAP4 SWAP5 ADD DUP11 PUSH2 0x6C8 JUMP JUMPDEST SWAP4 SWAP1 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP2 ISZERO SWAP1 PUSH2 0x3531 JUMP JUMPDEST PUSH1 0xF SIGNEXTEND PUSH0 SUB PUSH2 0x350D JUMP JUMPDEST SWAP4 PUSH2 0x2DA8 DUP6 SWAP2 PUSH2 0x23DB JUMP JUMPDEST SWAP3 SWAP2 PUSH0 NOT ADD SWAP1 DUP2 PUSH2 0x2CEA JUMP JUMPDEST SWAP1 POP PUSH2 0x2DC2 PUSH2 0x2BB2 DUP4 PUSH2 0x32F4 JUMP JUMPDEST SWAP1 PUSH2 0x2CE4 JUMP JUMPDEST PUSH1 0x8 DUP5 EQ PUSH2 0x2DE6 JUMPI POP POP POP JUMPDEST PUSH4 0x5CDA29D7 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH2 0x2DF1 SWAP3 SWAP4 POP PUSH2 0x3351 JUMP JUMPDEST PUSH2 0x2DFD PUSH1 0xC0 DUP3 ADD PUSH2 0x3360 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND ISZERO PUSH2 0x2E66 JUMPI JUMPDEST PUSH2 0x2E53 PUSH2 0x2BB2 PUSH2 0x2E4B PUSH1 0xE0 SWAP4 PUSH2 0x2E25 PUSH1 0xA0 DUP8 ADD PUSH2 0x3374 JUMP JUMPDEST SWAP1 PUSH2 0x2E34 PUSH2 0x100 DUP9 ADD DUP9 PUSH2 0x6C8 JUMP JUMPDEST SWAP3 SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH2 0x2C2F CALLDATASIZE DUP11 PUSH2 0x3381 JUMP JUMPDEST PUSH1 0xF SIGNEXTEND PUSH2 0x1FB2 JUMP JUMPDEST SWAP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB PUSH2 0x2D05 DUP3 PUSH2 0x3360 JUMP JUMPDEST POP PUSH2 0x2E73 PUSH1 0xA0 DUP3 ADD PUSH2 0x3374 JUMP JUMPDEST ISZERO PUSH2 0x2EA4 JUMPI PUSH1 0xE0 PUSH2 0x2E53 PUSH2 0x2BB2 PUSH2 0x2E4B PUSH2 0x2E9A PUSH2 0x2BB2 PUSH2 0x2E95 PUSH1 0x20 DUP9 ADD PUSH2 0x23DB JUMP JUMPDEST PUSH2 0x32F4 JUMP JUMPDEST SWAP4 POP POP POP POP PUSH2 0x2E0D JUMP JUMPDEST PUSH1 0xE0 PUSH2 0x2E53 PUSH2 0x2BB2 PUSH2 0x2E4B PUSH2 0x2E9A PUSH2 0x2BB2 PUSH2 0x2E95 DUP8 PUSH2 0x23DB JUMP JUMPDEST SWAP3 PUSH1 0xC DUP2 SUB PUSH2 0x2F16 JUMPI POP PUSH2 0x2ED2 SWAP2 SWAP3 PUSH2 0x32E1 JUMP JUMPDEST SWAP1 PUSH2 0x2EDC DUP2 PUSH2 0x32F4 JUMP JUMPDEST SWAP2 DUP1 DUP4 GT PUSH2 0x2EFF JUMPI POP SWAP1 PUSH2 0x2247 SWAP2 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP1 PUSH2 0x31BE JUMP JUMPDEST SWAP1 POP PUSH4 0x12BACDD3 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH0 REVERT JUMPDEST PUSH1 0xF DUP2 SUB PUSH2 0x2F6D JUMPI POP PUSH2 0x2F29 SWAP2 SWAP3 PUSH2 0x32E1 JUMP JUMPDEST SWAP1 PUSH2 0x2F33 DUP2 PUSH2 0x30A9 JUMP JUMPDEST SWAP2 DUP1 DUP4 LT PUSH2 0x2F56 JUMPI POP SWAP1 PUSH2 0x2247 SWAP2 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP1 PUSH2 0x3100 JUMP JUMPDEST SWAP1 POP PUSH4 0x8B063D73 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH0 REVERT JUMPDEST PUSH1 0xB DUP2 SUB PUSH2 0x2FB3 JUMPI POP PUSH2 0x2F84 SWAP1 PUSH2 0x2247 SWAP3 SWAP4 PUSH2 0x3091 JUMP JUMPDEST ISZERO PUSH2 0x2FA8 JUMPI PUSH2 0x2FA2 DUP3 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP3 PUSH2 0x3199 JUMP JUMPDEST SWAP2 PUSH2 0x31BE JUMP JUMPDEST PUSH2 0x2FA2 DUP3 ADDRESS SWAP3 PUSH2 0x3199 JUMP JUMPDEST PUSH1 0xE DUP2 SUB PUSH2 0x2FE6 JUMPI POP PUSH2 0x2FDA PUSH2 0x2FD0 PUSH2 0x2FE0 SWAP3 PUSH2 0x2247 SWAP5 SWAP6 PUSH2 0x3091 JUMP JUMPDEST SWAP3 DUP3 SWAP5 SWAP3 SWAP2 PUSH2 0x23EF JUMP JUMPDEST SWAP3 PUSH2 0x3185 JUMP JUMPDEST SWAP2 PUSH2 0x3100 JUMP JUMPDEST SWAP3 PUSH1 0x10 DUP5 EQ PUSH2 0x2FF7 JUMPI POP POP POP PUSH2 0x2DD4 JUMP JUMPDEST PUSH2 0x2247 SWAP3 SWAP4 POP PUSH2 0x300D PUSH2 0x3016 SWAP3 PUSH2 0x2FE0 SWAP3 PUSH2 0x3091 JUMP JUMPDEST SWAP3 SWAP2 SWAP4 SWAP1 PUSH2 0x23EF JUMP JUMPDEST SWAP2 PUSH2 0x3020 DUP5 PUSH2 0x30A9 JUMP JUMPDEST PUSH2 0x29E8 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND SWAP1 DUP3 AND LT ISZERO PUSH2 0x711 JUMPI SWAP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT PUSH1 0x60 SWAP5 DUP6 SHL DUP2 AND PUSH1 0x20 DUP4 ADD SWAP1 DUP2 MSTORE SWAP6 SWAP1 SWAP5 SHL SWAP1 SWAP4 AND PUSH1 0x34 DUP5 ADD MSTORE PUSH1 0x28 DUP4 MSTORE SWAP1 SWAP3 SWAP1 SWAP2 PUSH2 0x2204 SWAP2 SWAP1 PUSH2 0x307A PUSH1 0x48 DUP3 PUSH2 0x1F74 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH2 0x21F6 PUSH1 0x40 MLOAD SWAP5 DUP6 SWAP3 PUSH1 0x20 DUP5 ADD SWAP6 DUP7 PUSH2 0x2116 JUMP JUMPDEST SWAP1 PUSH1 0x60 GT PUSH2 0xD06 JUMPI DUP1 CALLDATALOAD SWAP2 PUSH1 0x40 PUSH1 0x20 DUP4 ADD CALLDATALOAD SWAP3 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH2 0x30D4 DUP2 ADDRESS PUSH32 0x0 PUSH2 0x344F JUMP JUMPDEST SWAP1 PUSH0 DUP3 SLT PUSH2 0x30E0 JUMPI POP SWAP1 JUMP JUMPDEST PUSH4 0x4C085BF1 PUSH1 0xE0 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST SWAP1 DUP3 ISZERO PUSH2 0x3180 JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH4 0xB0D9C09 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH0 SWAP1 DUP3 SWAP1 PUSH1 0x64 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x2578 JUMPI POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST SWAP1 DUP2 PUSH2 0x3195 JUMPI PUSH2 0x2421 SWAP2 POP PUSH2 0x30A9 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0xFF SHL DUP3 SUB PUSH2 0x31AF JUMPI PUSH2 0x2421 SWAP2 POP PUSH2 0x34CB JUMP JUMPDEST DUP2 PUSH2 0x3195 JUMPI PUSH2 0x2421 SWAP2 POP PUSH2 0x32F4 JUMP JUMPDEST PUSH0 SWAP2 DUP4 ISZERO PUSH2 0x32DB JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH4 0x29610465 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE SWAP1 PUSH0 DUP2 PUSH1 0x24 DUP2 DUP4 DUP9 GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x32C6 JUMPI JUMPDEST POP DUP1 PUSH2 0x3292 JUMPI POP POP PUSH1 0x20 SWAP1 PUSH1 0x4 PUSH1 0x40 MLOAD DUP1 SWAP6 DUP2 SWAP4 PUSH4 0x476982D PUSH1 0xE2 SHL DUP4 MSTORE GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x3286 JUMPI POP PUSH2 0x325B JUMPI POP JUMP JUMPDEST PUSH2 0x327C SWAP1 PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x327F JUMPI JUMPDEST PUSH2 0x3274 DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x2043 JUMP JUMPDEST POP JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x326A JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 RETURNDATASIZE SWAP1 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST DUP4 SWAP5 DUP4 PUSH1 0x20 SWAP5 SWAP4 PUSH2 0x32A2 SWAP4 PUSH2 0x2229 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x40 MLOAD DUP1 SWAP6 DUP2 SWAP4 PUSH4 0x476982D PUSH1 0xE2 SHL DUP4 MSTORE GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x3286 JUMPI POP PUSH2 0x325B JUMPI POP JUMP JUMPDEST PUSH2 0x32D3 SWAP2 SWAP5 POP PUSH0 SWAP1 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 SWAP3 PUSH0 PUSH2 0x322C JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST SWAP2 SWAP1 PUSH1 0x40 GT PUSH2 0xD06 JUMPI PUSH1 0x20 DUP3 CALLDATALOAD SWAP3 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH2 0x331F DUP2 ADDRESS PUSH32 0x0 PUSH2 0x344F JUMP JUMPDEST SWAP1 PUSH0 DUP3 SGT PUSH2 0x3331 JUMPI POP PUSH2 0x2421 SWAP1 PUSH2 0x1FB2 JUMP JUMPDEST PUSH4 0x19A8D93 PUSH1 0xE5 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST SWAP1 PUSH2 0x140 GT PUSH2 0xD06 JUMPI DUP1 CALLDATALOAD ADD SWAP1 JUMP JUMPDEST CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x25A JUMPI SWAP1 JUMP JUMPDEST CALLDATALOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x25A JUMPI SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP3 PUSH1 0xA0 SWAP2 SUB SLT PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH2 0x3399 DUP2 PUSH2 0x1F45 JUMP JUMPDEST PUSH1 0x80 PUSH2 0x33E5 DUP2 DUP4 SWAP6 PUSH2 0x33AA DUP2 PUSH2 0x2011 JUMP JUMPDEST DUP6 MSTORE PUSH2 0x33B8 PUSH1 0x20 DUP3 ADD PUSH2 0x2011 JUMP JUMPDEST PUSH1 0x20 DUP7 ADD MSTORE PUSH2 0x33C9 PUSH1 0x40 DUP3 ADD PUSH2 0x2025 JUMP JUMPDEST PUSH1 0x40 DUP7 ADD MSTORE PUSH2 0x33DA PUSH1 0x60 DUP3 ADD PUSH2 0x2035 JUMP JUMPDEST PUSH1 0x60 DUP7 ADD MSTORE ADD PUSH2 0x2011 JUMP JUMPDEST SWAP2 ADD MSTORE JUMP JUMPDEST SWAP1 PUSH1 0xA0 GT PUSH2 0xD06 JUMPI DUP1 CALLDATALOAD ADD SWAP1 JUMP JUMPDEST SWAP1 CALLDATALOAD SWAP1 PUSH1 0x1E NOT DUP2 CALLDATASIZE SUB ADD DUP3 SLT ISZERO PUSH2 0x25A JUMPI ADD DUP1 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x25A JUMPI PUSH1 0x20 ADD SWAP2 DUP2 PUSH1 0x5 SHL CALLDATASIZE SUB DUP4 SGT PUSH2 0x25A JUMPI JUMP JUMPDEST SWAP2 SWAP1 DUP2 LT ISZERO PUSH2 0x6B4 JUMPI PUSH1 0x5 SHL DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0x9E NOT DUP2 CALLDATASIZE SUB ADD DUP3 SLT ISZERO PUSH2 0x25A JUMPI ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH0 SWAP1 DUP2 MSTORE SWAP3 DUP3 AND PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP4 DUP5 SWAP1 KECCAK256 SWAP4 MLOAD PUSH4 0x789ADD55 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP5 SWAP1 SWAP5 MSTORE SWAP2 DUP4 SWAP2 PUSH1 0x24 SWAP2 DUP4 SWAP2 AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP2 PUSH2 0x349C JUMPI POP SWAP1 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x34C3 JUMPI JUMPDEST DUP2 PUSH2 0x34B7 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP1 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x34AA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 PUSH2 0x34DE JUMPI POP SELFBALANCE SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x24 SWAP2 PUSH1 0x40 MLOAD SWAP3 DUP4 DUP1 SWAP3 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP3 MSTORE ADDRESS PUSH1 0x4 DUP4 ADD MSTORE GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP2 PUSH2 0x349C JUMPI POP SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND SWAP2 SWAP1 DUP3 SWAP1 SUB PUSH2 0x3522 JUMPI JUMP JUMPDEST PUSH4 0x93DAFDF1 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP4 SWAP3 DUP2 ISZERO PUSH2 0x3686 JUMPI PUSH5 0x1000276A4 SWAP5 JUMPDEST PUSH1 0x40 MLOAD SWAP2 PUSH1 0x60 DUP4 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT DUP5 DUP4 LT OR PUSH2 0x1F60 JUMPI PUSH1 0x40 SWAP2 DUP3 MSTORE SWAP4 ISZERO ISZERO DUP1 DUP5 MSTORE PUSH1 0x20 DUP5 DUP2 ADD DUP8 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP10 DUP11 AND DUP7 DUP6 ADD SWAP1 DUP2 MSTORE DUP5 MLOAD PUSH4 0x3CF36453 PUSH1 0xE2 SHL DUP2 MSTORE DUP7 MLOAD DUP13 AND PUSH1 0x4 DUP3 ADD MSTORE DUP7 DUP5 ADD MLOAD DUP13 AND PUSH1 0x24 DUP3 ADD MSTORE SWAP5 DUP7 ADD MLOAD PUSH3 0xFFFFFF AND PUSH1 0x44 DUP7 ADD MSTORE PUSH1 0x60 DUP7 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x64 DUP7 ADD MSTORE PUSH1 0x80 SWAP1 SWAP6 ADD MLOAD DUP11 AND PUSH1 0x84 DUP6 ADD MSTORE SWAP5 MLOAD ISZERO ISZERO PUSH1 0xA4 DUP5 ADD MSTORE SWAP4 MLOAD PUSH1 0xC4 DUP4 ADD MSTORE SWAP2 MLOAD SWAP1 SWAP7 AND PUSH1 0xE4 DUP8 ADD MSTORE PUSH2 0x120 PUSH2 0x104 DUP8 ADD MSTORE SWAP4 SWAP1 SWAP2 DUP6 SWAP2 DUP3 SWAP2 PUSH2 0x3601 SWAP2 PUSH2 0x124 DUP5 ADD SWAP2 PUSH2 0x1FC2 JUMP JUMPDEST SUB DUP2 PUSH0 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP3 DUP4 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP4 PUSH2 0x3652 JUMPI JUMPDEST POP PUSH0 SGT SUB PUSH2 0x364C JUMPI PUSH1 0xF SIGNEXTEND SWAP1 JUMP JUMPDEST PUSH1 0x80 SAR SWAP1 JUMP JUMPDEST SWAP1 SWAP3 POP PUSH1 0x20 DUP2 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x367E JUMPI JUMPDEST DUP2 PUSH2 0x366E PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP2 PUSH0 PUSH2 0x363E JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x3661 JUMP JUMPDEST PUSH20 0xFFFD8963EFD1FC6A506488495D951D5263988D25 SWAP5 PUSH2 0x3541 JUMP JUMPDEST SWAP1 PUSH0 PUSH1 0x80 PUSH1 0x40 MLOAD PUSH2 0x36B1 DUP2 PUSH2 0x1F45 JUMP JUMPDEST DUP3 DUP2 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MSTORE DUP3 PUSH1 0x40 DUP3 ADD MSTORE DUP3 PUSH1 0x60 DUP3 ADD MSTORE ADD MSTORE PUSH2 0x36D1 DUP3 PUSH2 0x23DB JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND SWAP3 SWAP1 DUP3 AND DUP1 DUP5 LT ISZERO PUSH2 0x375F JUMPI POP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 EQ SWAP3 PUSH1 0x20 DUP2 ADD CALLDATALOAD PUSH3 0xFFFFFF DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH2 0x25A JUMPI PUSH1 0x40 DUP3 ADD CALLDATALOAD SWAP2 DUP3 PUSH1 0x2 SIGNEXTEND DUP1 SWAP4 SUB PUSH2 0x25A JUMPI PUSH1 0x60 ADD CALLDATALOAD SWAP3 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP5 AND DUP1 SWAP5 SUB PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD SWAP5 PUSH2 0x373D DUP7 PUSH2 0x1F45 JUMP JUMPDEST DUP6 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP5 ADD MSTORE PUSH1 0x60 DUP4 ADD MSTORE PUSH1 0x80 DUP3 ADD MSTORE SWAP2 JUMP JUMPDEST SWAP2 POP POP DUP2 SWAP1 PUSH2 0x36EA JUMP JUMPDEST PUSH0 DUP2 PUSH1 0xF SIGNEXTEND SLT PUSH2 0x3522 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 JUMP INVALID 0xE DUP8 0xE1 PUSH25 0x8EBD9ED6A7E63C70A374CD3283E41CAD601D21FBE27863899E 0xD4 0xA7 ADDMOD 0xAF 0x28 0xD9 DUP7 BLOBBASEFEE DUP2 0xDF 0xDF PUSH18 0xCAB65F4E5D79A0CF9B083905FB8971425E6C 0xB5 DUP2 0xB3 0xF6 SWAP3 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"671:2026:104:-:0;;;;;;;;;;;;;;;;;-1:-1:-1;;671:2026:104;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;671:2026:104;;;;;;;;;1078:73;;671:2026;;;;;;;;;1078:73;;671:2026;;;;;;;;;;;;;;:::i;:::-;;;;;1001:48;;671:2026;;;;;;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;;;;;;817:103;;671:2026;;;817:103;;;671:2026;;;;817:103;671:2026;;;;717:37:118;;;;671:2026:104;;;764:56:118;671:2026:104;;-1:-1:-1;;;;;671:2026:104;;;;830:37:118;671:2026:104;;;877:56:118;671:2026:104;782:26:72;;;;671:2026:104;;;;;518:28:115;671:2026:104;;;;556:34:115;;671:2026:104;;;;855:75:113;;671:2026:104;;;940:64:113;;671:2026:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;556:34:115;671:2026:104;;;;;;;;;;;;;;;855:75:113;671:2026:104;;;;;;;;;;;;;;;940:64:113;671:2026:104;;;;;;;;;;;;;;;-1:-1:-1;671:2026:104;;;;;-1:-1:-1;671:2026:104;;-1:-1:-1;671:2026:104;;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;671:2026:104;;;;;;:::o"},"deployedBytecode":{"functionDebugData":{"abi_decode_address_fromMemory":{"entryPoint":9754,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_array_bytes_calldata_dyn_calldata":{"entryPoint":1620,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_bool_fromMemory":{"entryPoint":9252,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_bytes_calldata":{"entryPoint":1575,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_int24":{"entryPoint":8245,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_struct_PoolKey":{"entryPoint":13185,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_uint112_fromMemory":{"entryPoint":9859,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_uint112t_uint112t_uint32_fromMemory":{"entryPoint":9879,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_uint24":{"entryPoint":8229,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_uint256_fromMemory":{"entryPoint":8259,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_uint48":{"entryPoint":8274,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_userDefinedValueType_Currency":{"entryPoint":8209,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_bytes":{"entryPoint":1668,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_bytes_calldata":{"entryPoint":8130,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_packed_stringliteral_8b1a_address_bytes32_bytes32":{"entryPoint":8470,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_struct_PermitDetails_calldata":{"entryPoint":8293,"id":null,"parameterSlots":2,"returnSlots":0},"access_calldata_tail_array_struct_PathKey_calldata_dyn_calldata":{"entryPoint":13304,"id":null,"parameterSlots":2,"returnSlots":2},"access_calldata_tail_bytes_calldata":{"entryPoint":1736,"id":null,"parameterSlots":2,"returnSlots":2},"array_allocation_size_bytes":{"entryPoint":8087,"id":null,"parameterSlots":1,"returnSlots":1},"calldata_array_index_access_address_dyn_calldata":{"entryPoint":9276,"id":null,"parameterSlots":3,"returnSlots":1},"calldata_array_index_access_bytes_calldata":{"entryPoint":1704,"id":null,"parameterSlots":3,"returnSlots":1},"calldata_array_index_access_bytes_calldata_dyn_calldata":{"entryPoint":1786,"id":null,"parameterSlots":3,"returnSlots":2},"calldata_array_index_access_struct_PathKey_calldata_dyn_calldata":{"entryPoint":13357,"id":null,"parameterSlots":3,"returnSlots":1},"checked_add_uint256":{"entryPoint":8732,"id":null,"parameterSlots":2,"returnSlots":1},"checked_div_uint256":{"entryPoint":10698,"id":null,"parameterSlots":2,"returnSlots":1},"checked_mul_uint256":{"entryPoint":10679,"id":null,"parameterSlots":2,"returnSlots":1},"checked_sub_uint256":{"entryPoint":9292,"id":null,"parameterSlots":2,"returnSlots":1},"extract_returndata":{"entryPoint":8162,"id":null,"parameterSlots":0,"returnSlots":1},"finalize_allocation":{"entryPoint":8052,"id":null,"parameterSlots":2,"returnSlots":0},"finalize_allocation_23326":{"entryPoint":8005,"id":null,"parameterSlots":1,"returnSlots":0},"fun__swap":{"entryPoint":8827,"id":20504,"parameterSlots":5,"returnSlots":3},"fun_balanceOfSelf":{"entryPoint":13515,"id":10924,"parameterSlots":1,"returnSlots":1},"fun_calculatePortion":{"entryPoint":10728,"id":16029,"parameterSlots":2,"returnSlots":1},"fun_computePoolAddress":{"entryPoint":8524,"id":20556,"parameterSlots":3,"returnSlots":1},"fun_currencyDelta":{"entryPoint":13391,"id":10448,"parameterSlots":3,"returnSlots":1},"fun_decodeActionsRouterParams":{"entryPoint":9602,"id":16068,"parameterSlots":2,"returnSlots":4},"fun_decodeCurrencyAddressAndUint256":{"entryPoint":12433,"id":16314,"parameterSlots":2,"returnSlots":3},"fun_decodeCurrencyAndUint256":{"entryPoint":13025,"id":16327,"parameterSlots":2,"returnSlots":2},"fun_decodeSwapExactOutParams":{"entryPoint":13290,"id":16234,"parameterSlots":2,"returnSlots":1},"fun_decodeSwapExactOutSingleParams":{"entryPoint":13137,"id":16245,"parameterSlots":2,"returnSlots":1},"fun_execute_inner":{"entryPoint":1813,"id":null,"parameterSlots":4,"returnSlots":0},"fun_getFullCredit":{"entryPoint":12457,"id":13963,"parameterSlots":1,"returnSlots":1},"fun_getFullDebt":{"entryPoint":13044,"id":13927,"parameterSlots":1,"returnSlots":1},"fun_getPoolAndSwapDirection":{"entryPoint":13985,"id":16695,"parameterSlots":2,"returnSlots":2},"fun_handleAction":{"entryPoint":10880,"id":13152,"parameterSlots":3,"returnSlots":0},"fun_map":{"entryPoint":9199,"id":18014,"parameterSlots":1,"returnSlots":1},"fun_mapSettleAmount":{"entryPoint":12697,"id":13998,"parameterSlots":2,"returnSlots":1},"fun_mapTakeAmount":{"entryPoint":12677,"id":14023,"parameterSlots":2,"returnSlots":1},"fun_pairForPreSorted":{"entryPoint":12348,"id":19236,"parameterSlots":4,"returnSlots":1},"fun_pay":{"entryPoint":9305,"id":18412,"parameterSlots":3,"returnSlots":0},"fun_payOrPermit2Transfer":{"entryPoint":8745,"id":18828,"parameterSlots":4,"returnSlots":0},"fun_permit2TransferFrom":{"entryPoint":9460,"id":18749,"parameterSlots":4,"returnSlots":0},"fun_safeTransfer":{"entryPoint":10769,"id":22452,"parameterSlots":3,"returnSlots":0},"fun_safeTransferETH":{"entryPoint":9785,"id":22410,"parameterSlots":2,"returnSlots":0},"fun_settle":{"entryPoint":12734,"id":13879,"parameterSlots":3,"returnSlots":0},"fun_sortTokens":{"entryPoint":12325,"id":19499,"parameterSlots":2,"returnSlots":2},"fun_swap":{"entryPoint":13617,"id":13584,"parameterSlots":5,"returnSlots":1},"fun_take":{"entryPoint":12544,"id":13832,"parameterSlots":3,"returnSlots":0},"fun_toBytes":{"entryPoint":8427,"id":16367,"parameterSlots":2,"returnSlots":2},"fun_toBytes_23289":{"entryPoint":8387,"id":16367,"parameterSlots":2,"returnSlots":2},"fun_toLengthOffset":{"entryPoint":9143,"id":19924,"parameterSlots":2,"returnSlots":2},"fun_toUint128":{"entryPoint":13581,"id":8033,"parameterSlots":1,"returnSlots":1},"fun_toUint128_8060":{"entryPoint":14185,"id":8060,"parameterSlots":1,"returnSlots":1},"fun_v2Swap":{"entryPoint":9933,"id":19707,"parameterSlots":4,"returnSlots":0},"negate_int256":{"entryPoint":8114,"id":null,"parameterSlots":1,"returnSlots":1},"read_from_calldatat_address":{"entryPoint":9179,"id":null,"parameterSlots":1,"returnSlots":1},"read_from_calldatat_bool":{"entryPoint":13172,"id":null,"parameterSlots":1,"returnSlots":1},"read_from_calldatat_uint128":{"entryPoint":13152,"id":null,"parameterSlots":1,"returnSlots":1}},"generatedSources":[],"immutableReferences":{"14480":[{"length":32,"start":100},{"length":32,"start":766},{"length":32,"start":981},{"length":32,"start":6424},{"length":32,"start":7438},{"length":32,"start":12464},{"length":32,"start":12553},{"length":32,"start":12744},{"length":32,"start":13051},{"length":32,"start":13830}],"18305":[{"length":32,"start":1192},{"length":32,"start":6669},{"length":32,"start":6832}],"18309":[{"length":32,"start":884},{"length":32,"start":7595}],"18685":[{"length":32,"start":27},{"length":32,"start":5219},{"length":32,"start":5506}],"18689":[{"length":32,"start":3247},{"length":32,"start":5920},{"length":32,"start":9464}],"19077":[{"length":32,"start":3998},{"length":32,"start":4438},{"length":32,"start":10367}],"19080":[{"length":32,"start":3965},{"length":32,"start":4472},{"length":32,"start":10334}],"19083":[{"length":32,"start":8657}],"19086":[{"length":32,"start":8623}]},"linkReferences":{},"object":"60c06040526004361015610093575b3615610018575f80fd5b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316141580610060575b61005157005b631c5deabb60e11b5f5260045ffd5b50337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316141561004b565b5f3560e01c806324856bc3146105a05780633593564c146104d7578063817122dc1461049357806391dd7346146103a3578063d0c9f6cb1461035f578063d737d0c71461032d578063dc4c90d3146102e95763fa461e330361000e573461025a57606036600319011261025a576024356004356044356001600160401b03811161025a57610125903690600401610627565b5f8313918215806102df575b6102d05781810160408282031261025a5781356001600160401b03811161025a57820181601f8201121561025a57803561016a81611f97565b926101786040519485611f74565b8184526020828401011161025a575f928160208094018483013701015260208101356001600160a01b038116929083900361025a576101b6916120c3565b90601790602b83106102c1578035968760601c956101e462ffffff8585013560601c9a60481c168a8961214c565b336001600160a01b03909116036102b257156102a857508685105b156102155750505061021393503391612229565b005b91935091939482602b0180602b1161029457841061025e575082821161025a57918190039101600160ff1b84101561025a57610213936102553391611fb2565b61227b565b5f80fd5b925050505f805160206137a08339815191529291925c821161028557610213923391612229565b6339cedf2960e11b5f5260045ffd5b634e487b7160e01b5f52601160045260245ffd5b95508487106101ff565b6332b13d9160e01b5f5260045ffd5b633b99b53d60e01b5f5260045ffd5b63316cf0eb60e01b5f5260045ffd5b505f851315610131565b3461025a575f36600319011261025a576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461025a575f36600319011261025a576040516001600160a01b035f805160206137808339815191525c168152602090f35b3461025a575f36600319011261025a576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461025a57602036600319011261025a576004356001600160401b03811161025a576103d3903690600401610627565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036104845761040c91612582565b90818303610475575f5b8381106104495761044560405161042e602082611f74565b5f8152604051918291602083526020830190610684565b0390f35b8061046f61045a60019387896106a8565b3560f81c6104698387876106fa565b91612a80565b01610416565b63aaad13f760e01b5f5260045ffd5b63570c108560e11b5f5260045ffd5b3461025a575f36600319011261025a576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b606036600319011261025a576004356001600160401b03811161025a57610502903690600401610627565b6024356001600160401b03811161025a57610521903690600401610654565b91604435421161059157333014610588575f805160206137808339815191525c6001600160a01b03166105795761056793335f805160206137808339815191525d610715565b5f5f805160206137808339815191525d005b6337affdbf60e11b5f5260045ffd5b61021393610715565b632dfb7c8b60e11b5f5260045ffd5b604036600319011261025a576004356001600160401b03811161025a576105cb903690600401610627565b6024356001600160401b03811161025a576105ea903690600401610654565b91333014610588575f805160206137808339815191525c6001600160a01b03166105795761056793335f805160206137808339815191525d610715565b9181601f8401121561025a578235916001600160401b03831161025a576020838186019501011161025a57565b9181601f8401121561025a578235916001600160401b03831161025a576020808501948460051b01011161025a57565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b908210156106b4570190565b634e487b7160e01b5f52603260045260245ffd5b903590601e198136030182121561025a57018035906001600160401b03821161025a5760200191813603831361025a57565b908210156106b4576107119160051b8101906106c8565b9091565b909392848103611f3657919293905f925b828410610734575050505050565b61074484848495969798946106a8565b35936107518683896106fa565b919093606098603f8860f81c1696600197602181105f14611e305760108110156118d2576008811015610efc5780610a8a5750610793602088013595886120eb565b909690608089013515610a83575f805160206137808339815191525c975b6107bb8a356123ef565b9891806080528160a05288600160ff1b14610a0e575b50505b604296602b9190600160ff1b81101561025a576080518911610a075730915b608051841161025a57610862936040925f60a05135956108808760601c97610839601760a051013560601c998a81109a62ffffff60018060a01b039460481c169161214c565b16948884146109ec576401000276a4965b88519a8b928a6020850152606084019060a051611fc2565b6001600160a01b03919091168983015203601f1981018a5289611f74565b8551630251596160e31b81526001600160a01b039182166004820152602481018890526044810193909352909316606482015260a06084820152948592839182906108cf9060a4830190610684565b03925af19081156109e1575f905f926109a5575b6108f393501561099e5750611fb2565b608051909611610920573060805160171161025a57601760a051016017608051039060a0526080526107d4565b969198939a9460409198939a96509101351161098f575b159081610980575b5061095257506001019293949190610726565b9061097c604051928392632c4029e960e01b84526004840152604060248401526044830190610684565b0390fd5b600160ff1b161590505f61093f565b631ce9aa4b60e11b5f5260045ffd5b9050611fb2565b9150506040823d82116109d9575b816109c060409383611f74565b8101031261025a578160206108f39351910151916108e3565b3d91506109b3565b6040513d5f823e3d90fd5b73fffd8963efd1fc6a506488495d951d5263988d259661084a565b89916107f3565b601491929850106102c1576020602491604051928380926370a0823160e01b82523060048301523560601c5afa9081156109e1575f91610a52575b50955f806107d1565b90506020813d8211610a7b575b81610a6c60209383611f74565b8101031261025a57515f610a49565b3d9150610a5f565b30976107b1565b6001819c969299949b9798939a959c145f14610b55575090610ab1602082013592826120eb565b608083013515610b4e575f805160206137808339815191525c915b6040610ad885356123ef565b9401355f805160206137a08339815191525d600160ff1b85101561025a57610b039361025586611fb2565b90919015610b3f5750610b1590611fb2565b03610b30575f5f805160206137a08339815191525d5b610937565b636a70124760e11b5f5260045ffd5b610b499150611fb2565b610b15565b3091610acc565b60028103610b8c5750610b2b91604081013591505f805160206137808339815191525c610b8560208301356123ef565b91356124f4565b9394919390929060038103610d13575050508135820163ffffffff60208401351683019163ffffffff83351693602080850194860101910110610d0657604051632a2d80d160e01b602082019081526001600160a01b035f805160206137808339815191525c1660248301526060604483015293909260e4840192803536829003601e190181121561025a57810160208101949035906001600160401b03821161025a578160071b3603861361025a5781906060608489015252610104860194905f905b808210610ce85750505093610c9c5f96948294610caa9460408a9960018060a01b03610c7e60208301612011565b1660a4880152013560c4860152848303602319016064860152611fc2565b03601f198101835282611f74565b5190827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af190610ce2611fe2565b91610937565b90919560808082610cfb6001948b612065565b019701920190610c50565b633b99b53d5f526004601cfd5b9194939092509060048103610e115750610d3060208201356123ef565b906001600160a01b036040820135811691351680610d7d575047908110610d6e5780610d5e575b5050610937565b610d6791612639565b5f80610d57565b631a84bc4160e21b5f5260045ffd5b91604051916370a0823160e01b8352306004840152602083602481875afa9283156109e1575f93610dde575b508210610dcf5781610dbe575b505050610937565b610dc792612a11565b5f8080610db6565b630ceb95c760e31b5f5260045ffd5b9092506020813d8211610e09575b81610df960209383611f74565b8101031261025a5751915f610da9565b3d9150610dec565b60058103610e385750806040610b2b92013590610e3160208201356123ef565b9035612459565b60068103610eea5750604081013590610e5460208201356123ef565b90356001600160a01b031680610e785750610e72610b2b92476129e8565b90612639565b906040516370a0823160e01b8152306004820152602081602481865afa9081156109e1575f91610eb7575b50610b2b93610eb1916129e8565b91612a11565b90506020813d8211610ee2575b81610ed160209383611f74565b8101031261025a5751610b2b610ea3565b3d9150610ec4565b636bb50f4f60e11b5f5260045260245ffd5b6008819c969299949b9798939a959c145f1461111b5750610f22602083013591836123b7565b90608084013515611114575f805160206137808339815191525c915b610f4885356123ef565b9282156106b457610f58826123db565b83600110156106b457610f7a610fc291610f74602086016123db565b90613025565b907f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061303c565b9485816110fa575b5050505f198201828111610294576001600160a01b0390610ff590610ff090858561243c565b6123db565b1693604051926370a0823160e01b845260018060a01b038516928360048601526020856024818a5afa9485156109e1575f956110bd575b509461103c9291602095966126cd565b6024604051809581936370a0823160e01b835260048301525afa9182156109e1575f92611089575b506040611074929301359261244c565b101561093757631093d5f360e31b5f5260045ffd5b91506020823d82116110b5575b816110a360209383611f74565b8101031261025a579051906040611064565b3d9150611096565b92919450946020833d82116110f2575b816110da60209383611f74565b8101031261025a57915191949193909161103c61102c565b3d91506110cd565b61110c92611107856123db565b612229565b5f8085610fca565b3091610f3e565b60098103611367575061112e90826123b7565b608083013515611360575f805160206137808339815191525c915b61115384356123ef565b917f0000000000000000000000000000000000000000000000000000000000000000937f0000000000000000000000000000000000000000000000000000000000000000955f9560028510611351576020820135975f198601868111610294579190825b6111f4575050506040013586116111e55782156106b457610b2b95856111e092611107856123db565b6126cd565b6345585e0b60e11b5f5260045ffd5b90919897505f1989019789891161029457611216610ff06112389a898961243c565b61122d611227610ff08d8b8b61243c565b82613025565b8185879d939d61303c565b604051630240bc6b60e21b815290916060826004816001600160a01b0387165afa9182156109e1575f905f9361131d575b506001600160701b039283169c9216916001600160a01b039182169116036113175799905b998015801561130f575b61130057826112a6916129b7565b916103e88302928084046103e81490151715610294576112c59161244c565b6103e58102908082046103e51490151715610294576112e3916129ca565b6001810180911161029457988015610294575f19019190826111b7565b633dce448b60e11b5f5260045ffd5b508115611298565b9061128e565b905061134191925060603d811161134a575b6113398183611f74565b810190612697565b5091905f611269565b503d61132f565b6320db826760e01b5f5260045ffd5b3091611149565b93949193909290600a81036114245750505063ffffffff60c08301351682019063ffffffff8235169083602080850194840101910110610d06576040516302b67b5760e41b602082019081526001600160a01b035f805160206137808339815191525c1660248301525f9485949193610caa928492610c9c929060a0906113f16044870182612065565b600180831b0361140360808301612011565b1660c4870152013560e4850152610100610104850152610124840191611fc2565b91949390929091600b8103611557575050611444602082013591356123ef565b9080600160ff1b8103611541575050475b80611461575050610937565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b1561025a57604051630d0e30db60e41b81525f8160048186885af180156109e157611531575b506001600160a01b0316903082036114cd575b50610d57565b60446020925f604051958694859363a9059cbb60e01b8552600485015260248401525af180156109e157611503575b80806114c7565b6115239060203d811161152a575b61151b8183611f74565b810190612424565b505f6114fc565b503d611511565b5f61153b91611f74565b5f6114b4565b47101561145557631a84bc4160e21b5f5260045ffd5b600c810361167657505061156b81356123ef565b6040516370a0823160e01b815230600482015290917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690602083602481855afa9283156109e1575f93611642575b50602001358210610d6e57816115da57505050610937565b803b1561025a575f8091602460405180948193632e1a7d4d60e01b83528760048401525af180156109e157611632575b50306001600160a01b03831603611622575b80610db6565b61162b91612639565b5f8061161c565b5f61163c91611f74565b5f61160a565b9092506020813d821161166e575b8161165d60209383611f74565b8101031261025a57519160206115c2565b3d9150611650565b600d819c939c9b929597989b99949699145f1461181957508a358b01988935946116a86020808d019e8d03018761221c565b116102c1576001600160a01b035f805160206137808339815191525c169a935f5b86811015611709578c6001600160a01b036116ec600784901b8f016020016123db565b16036116fa576001016116c9565b63e700287760e01b5f5260045ffd5b50989593979694929b919a50985060018060a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561025a57604051630d58b1db60e01b8152602060048201526024810184905292839160448301915f905b8082106117a35750505091815f81819503925af180156109e157611793575b50610937565b5f61179d91611f74565b5f61178d565b9193509160019060809081906001600160a01b036117c088612011565b168152838060a01b036117d560208901612011565b166020820152838060a01b036117ed60408901612011565b166040820152838060a01b0361180560608901612011565b16606082015201940192018593929161176e565b80929b93989550600e919a97969450145f14610eea57506040516370a0823160e01b81526001600160a01b038235811660048301529091906020908390602490829084860135165afa9182156109e1575f9261189e575b5060400135111580610b2b576040516351940b3960e11b602082015260048152909250610ce2602482611f74565b9091506020813d82116118ca575b816118b960209383611f74565b8101031261025a5751906040611870565b3d91506118ac565b6010819c969299949b9798939a959c145f146119c757506040516348c8949160e01b815260206004820152915f918391829161191391602484019190611fc2565b0381837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af180156109e1576119525750610937565b3d805f833e6119618183611f74565b81019060208183031261025a578051906001600160401b03821161025a570181601f8201121561025a57805161199681611f97565b926119a46040519485611f74565b8184526020828401011161025a575f928160208094018483015e0101525f61178d565b80929495506011919350145f14611a5257509080356001600160e01b03191663853d008560e01b8101611a405750815f92918392604051928392833781018381520390827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af190610ce2611fe2565b63f801e52560e01b5f5260045260245ffd5b60128103611c5057505f805160206137808339815191525c9180356001600160e01b031916630624e65f60e11b81148015611c40575b8015611c30575b15611a4057506040516331a9108f60e11b81526004828101359082018190527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316949091602081602481895afa9081156109e1575f91611c12575b506001600160a01b039182169116818114918215611ba6575b8215611b4d575b505015611b3b575091815f809481946040519384928337810182815203925af190610ce2611fe2565b63bb25d4c560e01b5f5260045260245ffd5b60405163e985e9c560e01b8152600481019290925260248201529050602081604481885afa9081156109e1575f91611b88575b505f80611b12565b611ba0915060203d811161152a5761151b8183611f74565b5f611b80565b915060405163020604bf60e21b81528360048201526020816024818a5afa80156109e15783915f91611be4575b506001600160a01b03161491611b0b565b611c05915060203d8111611c0b575b611bfd8183611f74565b81019061261a565b5f611bd3565b503d611bf3565b611c2a915060203d8111611c0b57611bfd8183611f74565b5f611af2565b50630852cd8d60e31b8114611a8f565b5063fc6f786560e01b8114611a88565b60138103611d4157505060405163313b65df60e11b602082019081525f928392906001600160a01b03611c8282612011565b1660248301526001600160a01b03611c9c60208301612011565b16604483015262ffffff611cb260408301612025565b166064830152611cc460608201612035565b60020b60848301526001600160a01b03611ce060808301612011565b1660a483015260a001356001600160a01b031660c4808301919091528152611d0960e482611f74565b5190827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af190610ce2611fe2565b60148103610eea575081356001600160e01b0319166322b9af7160e01b8101611a4057508060041161025a57611d87611d816003198301600485016120c3565b906120c3565b5f5b818110611dde575050505f9182914791816040519283928337810184815203917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af190610ce2611fe2565b611de98183856106a8565b3560f81c8015908115611e25575b8115611e1a575b50611e0b57600101611d89565b635d1d0f9f60e01b5f5260045ffd5b60039150145f611dfe565b600181149150611df7565b9097939a506021819a9697929995939a145f14610eea575090611e5291612582565b611e7c6040959395519460208601966324856bc360e01b8852604060248801526064870191611fc2565b92602319858503016044860152818452602084019160208160051b86010194845f90601e19813603015b848310611edc5750505050505050509181611ecd5f9493859403601f198101835282611f74565b519082305af190610ce2611fe2565b9091929394959697601f1985820301885288358281121561025a578301602081019190356001600160401b03811161025a57803603831361025a57611f2660209283928b95611fc2565b9a01980196959493019190611ea6565b631fec674760e31b5f5260045ffd5b60a081019081106001600160401b03821117611f6057604052565b634e487b7160e01b5f52604160045260245ffd5b601f909101601f19168101906001600160401b03821190821017611f6057604052565b6001600160401b038111611f6057601f01601f191660200190565b600160ff1b8114610294575f0390565b908060209392818452848401375f828201840152601f01601f1916010190565b3d1561200c573d90611ff382611f97565b916120016040519384611f74565b82523d5f602084013e565b606090565b35906001600160a01b038216820361025a57565b359062ffffff8216820361025a57565b35908160020b820361025a57565b9081602091031261025a575190565b359065ffffffffffff8216820361025a57565b60609065ffffffffffff906120bd9083906001600160a01b0361208782612011565b1686526001600160a01b0361209e60208301612011565b166020870152836120b160408301612052565b16604087015201612052565b16910152565b909163ffffffff82351682019263ffffffff84351692602080860195850101910110610d0657565b909163ffffffff60608301351682019263ffffffff84351692602080860195850101910110610d0657565b6001600160f81b0319815260609190911b6001600160601b03191660018201526015810191909152603581019190915260550190565b916001600160a01b0382811690841611612214575b604080516001600160a01b0394851660208201908152949093169083015262ffffff16606080830191909152815261219a608082611f74565b51902060405190612204826121f660208201937f0000000000000000000000000000000000000000000000000000000000000000907f000000000000000000000000000000000000000000000000000000000000000086612116565b03601f198101845283611f74565b905190206001600160a01b031690565b909190612161565b9190820180921161029457565b909291906001600160a01b0384163003612249576122479350612459565b565b91926001600160a01b03841161226c57612247936001600160a01b0316926124f4565b63c4bd89a960e01b5f5260045ffd5b9092602b81106102c157825f604094359561234e8760601c93612306601782013560601c996122bf878c1097889c62ffffff60018060a01b039460481c169161214c565b169686861461239c576401000276a49b5b6122e88b519485938d60208601526060850191611fc2565b6001600160a01b03919091168b83015203601f198101835282611f74565b8751998a9788968795630251596160e31b875260018060a01b031660048701526024860152604485015260018060a01b0316606484015260a0608484015260a4830190610684565b03925af180156109e1575f925f9161236557509192565b9250506040823d604011612394575b8161238160409383611f74565b8101031261025a57602082519201519192565b3d9150612374565b73fffd8963efd1fc6a506488495d951d5263988d259b6122d0565b9160608301358301916123d460208435958186019503018561221c565b116102c157565b356001600160a01b038116810361025a5790565b6001600160a01b038116600181036124155750505f805160206137808339815191525c90565b60020361242157503090565b90565b9081602091031261025a5751801515810361025a5790565b91908110156106b45760051b0190565b9190820391821161029457565b9091906001600160a01b031680612474575061224791612639565b600160ff1b821461248a575b9161224792612a11565b6040516370a0823160e01b815230600482015292909150602083602481855afa80156109e1575f906124c0575b90925090612480565b506020833d6020116124ec575b816124da60209383611f74565b8101031261025a5761224792516124b7565b3d91506124cd565b91907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561025a57604051631b63c28b60e11b81526001600160a01b039182166004820152928116602484015293841660448301529190921660648301525f908290608490829084905af180156109e1576125785750565b5f61224791611f74565b604081351891606082019363ffffffff6040840135169363ffffffe0601f8601169060608201602086013518179084019260608401359463ffffffff861694641fffffffe0608082019760051b1680915f925b8084106125ed575060809250010191011017610d0657565b90916020809163ffffffe0601f60808089890101359b848d18179b880101350116010193019291906125d5565b9081602091031261025a57516001600160a01b038116810361025a5790565b5f80809381935af11561264857565b60405162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b6044820152606490fd5b51906001600160701b038216820361025a57565b9081606091031261025a576126ab81612683565b9160406126ba60208401612683565b92015163ffffffff8116810361025a5790565b91600282106129a85781156106b4576126e5836123db565b82600110156106b45761270190610f74602086979596016123db565b506001198401945f198501945f9460209392869290915b88841061272b5750505050505050505050565b612739610ff085848661243c565b61274a610ff060018701858761243c565b604051630240bc6b60e21b81526001600160a01b03909316969092916060836004818b5afa9283156109e15789905f905f95612981575b506001600160a01b03928316939092168314936024926001600160701b03918216929116851561297b5791935b604051938480926370a0823160e01b82528d60048301525afa9182156109e1575f9261294c575b5080820392811592838015612944575b61130057826103e586029586046103e514911417156102945761280890846129b7565b916103e882029182046103e81417156102945761282e926128289161221c565b906129ca565b901561293d575f90915b8b86101561293457906128596128a392610f74610ff060028a01888a61243c565b8193917f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061303c565b915b96604051906128b48a83611f74565b5f82528b368b840137803b1561025a57612908945f80946040519788958694859363022c0d9f60e01b85526004850152602484015260018060a01b0389166044840152608060648401526084830190610684565b03925af19182156109e157600192612924575b50930192612718565b5f61292e91611f74565b5f61291b565b5087905f6128a5565b5f91612838565b5081156127e5565b9091508981813d8311612974575b6129648183611f74565b8101031261025a5751905f6127d5565b503d61295a565b936127ae565b60249392955061299f915060603d811161134a576113398183611f74565b50949192612781565b632b94ab4360e21b5f5260045ffd5b8181029291811591840414171561029457565b81156129d4570490565b634e487b7160e01b5f52601260045260245ffd5b6127108211612a0257612710916129fe916129b7565b0490565b636f5500f360e11b5f5260045ffd5b5f91826044926020956040519363a9059cbb60e01b8552600485015260248401525af13d15601f3d1160015f511416171615612a4957565b60405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606490fd5b929190600b841015612ebe5760078403612bbd57612a9f9293506133ea565b6020810190612aae82826133f8565b90505f92612abb836123db565b90612ac860408501613360565b906001600160801b03821615612ba4575b92915f915b838310612b3a57505050505060600160018060801b03612afd82613360565b6001600160801b0390931692168210612b14575050565b612b1d90613360565b638b063d7360e01b5f5260018060801b031660045260245260445ffd5b849650612b8890612b65612b5e85612b58612b8d969798998b6133f8565b9061342d565b94856136a1565b9190612b7460808701876106c8565b9390926001600160801b03165f0391613531565b613769565b946001612b9a87936123db565b9194930191612ade565b9050612bb7612bb2836130a9565b61350d565b90612ad9565b60068403612c9857612bd0929350613351565b612bdc60c08201613360565b6001600160801b03811615612c47575b612c34612b8860e092612c13612c0460a08701613374565b916001600160801b0316611fb2565b90612c226101008701876106c8565b929091612c2f3689613381565b613531565b91016001600160801b03612afd82613360565b50612c5460a08201613374565b15612c7e5760e0612c34612b88612c75612bb2612c70866123db565b6130a9565b92505050612bec565b60e0612c34612b88612c75612bb2612c70602087016123db565b60098403612dc857612cab9293506133ea565b6020810190612cba82826133f8565b5f939150612cca60408401613360565b612cd3846123db565b916001600160801b03821615612db4575b92919290815b612d42575050505060600160018060801b03612d0582613360565b6001600160801b0390931692168211612d1c575050565b612d2590613360565b6312bacdd360e01b5f5260018060801b031660045260245260445ffd5b82939550612d9390612d6f612d68612d5e612d9d9596896133f8565b5f1988019161342d565b97886136a1565b612d7f60808a949394018a6106c8565b9390926001600160801b0316911590613531565b600f0b5f0361350d565b93612da885916123db565b92915f19019081612cea565b9050612dc2612bb2836132f4565b90612ce4565b60088414612de6575050505b635cda29d760e01b5f5260045260245ffd5b612df1929350613351565b612dfd60c08201613360565b6001600160801b03811615612e66575b612e53612bb2612e4b60e093612e2560a08701613374565b90612e346101008801886106c8565b9290916001600160801b031690612c2f368a613381565b600f0b611fb2565b91016001600160801b03612d0582613360565b50612e7360a08201613374565b15612ea45760e0612e53612bb2612e4b612e9a612bb2612e95602088016123db565b6132f4565b9350505050612e0d565b60e0612e53612bb2612e4b612e9a612bb2612e95876123db565b92600c8103612f165750612ed291926132e1565b90612edc816132f4565b91808311612eff575090612247915f805160206137808339815191525c906131be565b90506312bacdd360e01b5f5260045260245260445ffd5b600f8103612f6d5750612f2991926132e1565b90612f33816130a9565b91808310612f56575090612247915f805160206137808339815191525c90613100565b9050638b063d7360e01b5f5260045260245260445ffd5b600b8103612fb35750612f84906122479293613091565b15612fa857612fa2825f805160206137808339815191525c92613199565b916131be565b612fa2823092613199565b600e8103612fe65750612fda612fd0612fe0926122479495613091565b92829492916123ef565b92613185565b91613100565b9260108414612ff757505050612dd4565b61224792935061300d61301692612fe092613091565b929193906123ef565b91613020846130a9565b6129e8565b6001600160a01b0382811690821610156107115791565b6040516001600160601b0319606094851b8116602083019081529590941b90931660348401526028835290929091612204919061307a604882611f74565b5190206121f6604051948592602084019586612116565b90606011610d06578035916040602083013592013590565b6130d481307f000000000000000000000000000000000000000000000000000000000000000061344f565b905f82126130e0575090565b634c085bf160e01b5f9081526001600160a01b0391909116600452602490fd5b908215613180577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b1561025a57604051630b0d9c0960e01b81526001600160a01b03938416600482015291909216602482015260448101929092525f908290606490829084905af180156109e1576125785750565b505050565b90816131955761242191506130a9565b5090565b90600160ff1b82036131af5761242191506134cb565b816131955761242191506132f4565b5f9183156132db577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b1561025a57604051632961046560e21b81526001600160a01b0390911660048201819052905f8160248183885af180156109e1576132c6575b5080613292575050602090600460405180958193630476982d60e21b83525af1908115613286575061325b5750565b61327c9060203d60201161327f575b6132748183611f74565b810190612043565b50565b503d61326a565b604051903d90823e3d90fd5b839483602094936132a293612229565b600460405180958193630476982d60e21b83525af1908115613286575061325b5750565b6132d39194505f90611f74565b5f925f61322c565b50505050565b9190604011610d06576020823592013590565b61331f81307f000000000000000000000000000000000000000000000000000000000000000061344f565b905f8213613331575061242190611fb2565b63019a8d9360e51b5f9081526001600160a01b0391909116600452602490fd5b9061014011610d065780350190565b356001600160801b038116810361025a5790565b35801515810361025a5790565b91908260a091031261025a5760405161339981611f45565b60806133e58183956133aa81612011565b85526133b860208201612011565b60208601526133c960408201612025565b60408601526133da60608201612035565b606086015201612011565b910152565b9060a011610d065780350190565b903590601e198136030182121561025a57018035906001600160401b03821161025a57602001918160051b3603831361025a57565b91908110156106b45760051b81013590609e198136030182121561025a570190565b6001600160a01b039182165f9081529282166020908152604093849020935163789add5560e11b815260048101949094529183916024918391165afa9081156109e1575f9161349c575090565b90506020813d6020116134c3575b816134b760209383611f74565b8101031261025a575190565b3d91506134aa565b6001600160a01b0316806134de57504790565b6020602491604051928380926370a0823160e01b82523060048301525afa9081156109e1575f9161349c575090565b6001600160801b038116919082900361352257565b6393dafdf160e01b5f5260045ffd5b93928115613686576401000276a4945b6040519160608301906001600160401b03821184831017611f6057604091825293151580845260208481018781526001600160a01b03998a168685019081528451633cf3645360e21b815286518c166004820152868401518c1660248201529486015162ffffff166044860152606086015160020b60648601526080909501518a1660848501529451151560a4840152935160c4830152915190961660e48701526101206101048701529390918591829161360191610124840191611fc2565b03815f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af19283156109e1575f93613652575b505f130361364c57600f0b90565b60801d90565b9092506020813d60201161367e575b8161366e60209383611f74565b8101031261025a5751915f61363e565b3d9150613661565b73fffd8963efd1fc6a506488495d951d5263988d2594613541565b905f60806040516136b181611f45565b82815282602082015282604082015282606082015201526136d1826123db565b6001600160a01b03828116929082168084101561375f57505b6001600160a01b031691821492602081013562ffffff81169081900361025a576040820135918260020b80930361025a57606001359260018060a01b03841680940361025a576040519461373d86611f45565b85526001600160a01b0316602085015260408401526060830152608082015291565b91505081906136ea565b5f81600f0b12613522576001600160801b03169056fe0e87e1788ebd9ed6a7e63c70a374cd3283e41cad601d21fbe27863899ed4a708af28d9864a81dfdf71cab65f4e5d79a0cf9b083905fb8971425e6cb581b3f692a164736f6c634300081a000a","opcodes":"PUSH1 0xC0 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x93 JUMPI JUMPDEST CALLDATASIZE ISZERO PUSH2 0x18 JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLER PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO DUP1 PUSH2 0x60 JUMPI JUMPDEST PUSH2 0x51 JUMPI STOP JUMPDEST PUSH4 0x1C5DEABB PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP CALLER PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ ISZERO PUSH2 0x4B JUMP JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x24856BC3 EQ PUSH2 0x5A0 JUMPI DUP1 PUSH4 0x3593564C EQ PUSH2 0x4D7 JUMPI DUP1 PUSH4 0x817122DC EQ PUSH2 0x493 JUMPI DUP1 PUSH4 0x91DD7346 EQ PUSH2 0x3A3 JUMPI DUP1 PUSH4 0xD0C9F6CB EQ PUSH2 0x35F JUMPI DUP1 PUSH4 0xD737D0C7 EQ PUSH2 0x32D JUMPI DUP1 PUSH4 0xDC4C90D3 EQ PUSH2 0x2E9 JUMPI PUSH4 0xFA461E33 SUB PUSH2 0xE JUMPI CALLVALUE PUSH2 0x25A JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x24 CALLDATALOAD PUSH1 0x4 CALLDATALOAD PUSH1 0x44 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI PUSH2 0x125 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x627 JUMP JUMPDEST PUSH0 DUP4 SGT SWAP2 DUP3 ISZERO DUP1 PUSH2 0x2DF JUMPI JUMPDEST PUSH2 0x2D0 JUMPI DUP2 DUP2 ADD PUSH1 0x40 DUP3 DUP3 SUB SLT PUSH2 0x25A JUMPI DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI DUP3 ADD DUP2 PUSH1 0x1F DUP3 ADD SLT ISZERO PUSH2 0x25A JUMPI DUP1 CALLDATALOAD PUSH2 0x16A DUP2 PUSH2 0x1F97 JUMP JUMPDEST SWAP3 PUSH2 0x178 PUSH1 0x40 MLOAD SWAP5 DUP6 PUSH2 0x1F74 JUMP JUMPDEST DUP2 DUP5 MSTORE PUSH1 0x20 DUP3 DUP5 ADD ADD GT PUSH2 0x25A JUMPI PUSH0 SWAP3 DUP2 PUSH1 0x20 DUP1 SWAP5 ADD DUP5 DUP4 ADD CALLDATACOPY ADD ADD MSTORE PUSH1 0x20 DUP2 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP3 SWAP1 DUP4 SWAP1 SUB PUSH2 0x25A JUMPI PUSH2 0x1B6 SWAP2 PUSH2 0x20C3 JUMP JUMPDEST SWAP1 PUSH1 0x17 SWAP1 PUSH1 0x2B DUP4 LT PUSH2 0x2C1 JUMPI DUP1 CALLDATALOAD SWAP7 DUP8 PUSH1 0x60 SHR SWAP6 PUSH2 0x1E4 PUSH3 0xFFFFFF DUP6 DUP6 ADD CALLDATALOAD PUSH1 0x60 SHR SWAP11 PUSH1 0x48 SHR AND DUP11 DUP10 PUSH2 0x214C JUMP JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SUB PUSH2 0x2B2 JUMPI ISZERO PUSH2 0x2A8 JUMPI POP DUP7 DUP6 LT JUMPDEST ISZERO PUSH2 0x215 JUMPI POP POP POP PUSH2 0x213 SWAP4 POP CALLER SWAP2 PUSH2 0x2229 JUMP JUMPDEST STOP JUMPDEST SWAP2 SWAP4 POP SWAP2 SWAP4 SWAP5 DUP3 PUSH1 0x2B ADD DUP1 PUSH1 0x2B GT PUSH2 0x294 JUMPI DUP5 LT PUSH2 0x25E JUMPI POP DUP3 DUP3 GT PUSH2 0x25A JUMPI SWAP2 DUP2 SWAP1 SUB SWAP2 ADD PUSH1 0x1 PUSH1 0xFF SHL DUP5 LT ISZERO PUSH2 0x25A JUMPI PUSH2 0x213 SWAP4 PUSH2 0x255 CALLER SWAP2 PUSH2 0x1FB2 JUMP JUMPDEST PUSH2 0x227B JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST SWAP3 POP POP POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x37A0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP3 SWAP2 SWAP3 TLOAD DUP3 GT PUSH2 0x285 JUMPI PUSH2 0x213 SWAP3 CALLER SWAP2 PUSH2 0x2229 JUMP JUMPDEST PUSH4 0x39CEDF29 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP6 POP DUP5 DUP8 LT PUSH2 0x1FF JUMP JUMPDEST PUSH4 0x32B13D91 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH4 0x3B99B53D PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH4 0x316CF0EB PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP PUSH0 DUP6 SGT ISZERO PUSH2 0x131 JUMP JUMPDEST CALLVALUE PUSH2 0x25A JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x25A JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x25A JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x25A JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI PUSH2 0x3D3 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x627 JUMP JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER SUB PUSH2 0x484 JUMPI PUSH2 0x40C SWAP2 PUSH2 0x2582 JUMP JUMPDEST SWAP1 DUP2 DUP4 SUB PUSH2 0x475 JUMPI PUSH0 JUMPDEST DUP4 DUP2 LT PUSH2 0x449 JUMPI PUSH2 0x445 PUSH1 0x40 MLOAD PUSH2 0x42E PUSH1 0x20 DUP3 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 DUP2 MSTORE PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 PUSH1 0x20 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x684 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST DUP1 PUSH2 0x46F PUSH2 0x45A PUSH1 0x1 SWAP4 DUP8 DUP10 PUSH2 0x6A8 JUMP JUMPDEST CALLDATALOAD PUSH1 0xF8 SHR PUSH2 0x469 DUP4 DUP8 DUP8 PUSH2 0x6FA JUMP JUMPDEST SWAP2 PUSH2 0x2A80 JUMP JUMPDEST ADD PUSH2 0x416 JUMP JUMPDEST PUSH4 0xAAAD13F7 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH4 0x570C1085 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x25A JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI PUSH2 0x502 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x627 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI PUSH2 0x521 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x654 JUMP JUMPDEST SWAP2 PUSH1 0x44 CALLDATALOAD TIMESTAMP GT PUSH2 0x591 JUMPI CALLER ADDRESS EQ PUSH2 0x588 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x579 JUMPI PUSH2 0x567 SWAP4 CALLER PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH2 0x715 JUMP JUMPDEST PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE STOP JUMPDEST PUSH4 0x37AFFDBF PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0x213 SWAP4 PUSH2 0x715 JUMP JUMPDEST PUSH4 0x2DFB7C8B PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x25A JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI PUSH2 0x5CB SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x627 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI PUSH2 0x5EA SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x654 JUMP JUMPDEST SWAP2 CALLER ADDRESS EQ PUSH2 0x588 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x579 JUMPI PUSH2 0x567 SWAP4 CALLER PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH2 0x715 JUMP JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x25A JUMPI DUP3 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x25A JUMPI PUSH1 0x20 DUP4 DUP2 DUP7 ADD SWAP6 ADD ADD GT PUSH2 0x25A JUMPI JUMP JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x25A JUMPI DUP3 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT PUSH2 0x25A JUMPI PUSH1 0x20 DUP1 DUP6 ADD SWAP5 DUP5 PUSH1 0x5 SHL ADD ADD GT PUSH2 0x25A JUMPI JUMP JUMPDEST DUP1 MLOAD DUP1 DUP4 MSTORE PUSH1 0x20 SWAP3 SWAP2 DUP2 SWAP1 DUP5 ADD DUP5 DUP5 ADD MCOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST SWAP1 DUP3 LT ISZERO PUSH2 0x6B4 JUMPI ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP1 CALLDATALOAD SWAP1 PUSH1 0x1E NOT DUP2 CALLDATASIZE SUB ADD DUP3 SLT ISZERO PUSH2 0x25A JUMPI ADD DUP1 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x25A JUMPI PUSH1 0x20 ADD SWAP2 DUP2 CALLDATASIZE SUB DUP4 SGT PUSH2 0x25A JUMPI JUMP JUMPDEST SWAP1 DUP3 LT ISZERO PUSH2 0x6B4 JUMPI PUSH2 0x711 SWAP2 PUSH1 0x5 SHL DUP2 ADD SWAP1 PUSH2 0x6C8 JUMP JUMPDEST SWAP1 SWAP2 JUMP JUMPDEST SWAP1 SWAP4 SWAP3 DUP5 DUP2 SUB PUSH2 0x1F36 JUMPI SWAP2 SWAP3 SWAP4 SWAP1 PUSH0 SWAP3 JUMPDEST DUP3 DUP5 LT PUSH2 0x734 JUMPI POP POP POP POP POP JUMP JUMPDEST PUSH2 0x744 DUP5 DUP5 DUP5 SWAP6 SWAP7 SWAP8 SWAP9 SWAP5 PUSH2 0x6A8 JUMP JUMPDEST CALLDATALOAD SWAP4 PUSH2 0x751 DUP7 DUP4 DUP10 PUSH2 0x6FA JUMP JUMPDEST SWAP2 SWAP1 SWAP4 PUSH1 0x60 SWAP9 PUSH1 0x3F DUP9 PUSH1 0xF8 SHR AND SWAP7 PUSH1 0x1 SWAP8 PUSH1 0x21 DUP2 LT PUSH0 EQ PUSH2 0x1E30 JUMPI PUSH1 0x10 DUP2 LT ISZERO PUSH2 0x18D2 JUMPI PUSH1 0x8 DUP2 LT ISZERO PUSH2 0xEFC JUMPI DUP1 PUSH2 0xA8A JUMPI POP PUSH2 0x793 PUSH1 0x20 DUP9 ADD CALLDATALOAD SWAP6 DUP9 PUSH2 0x20EB JUMP JUMPDEST SWAP1 SWAP7 SWAP1 PUSH1 0x80 DUP10 ADD CALLDATALOAD ISZERO PUSH2 0xA83 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP8 JUMPDEST PUSH2 0x7BB DUP11 CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP9 SWAP2 DUP1 PUSH1 0x80 MSTORE DUP2 PUSH1 0xA0 MSTORE DUP9 PUSH1 0x1 PUSH1 0xFF SHL EQ PUSH2 0xA0E JUMPI JUMPDEST POP POP JUMPDEST PUSH1 0x42 SWAP7 PUSH1 0x2B SWAP2 SWAP1 PUSH1 0x1 PUSH1 0xFF SHL DUP2 LT ISZERO PUSH2 0x25A JUMPI PUSH1 0x80 MLOAD DUP10 GT PUSH2 0xA07 JUMPI ADDRESS SWAP2 JUMPDEST PUSH1 0x80 MLOAD DUP5 GT PUSH2 0x25A JUMPI PUSH2 0x862 SWAP4 PUSH1 0x40 SWAP3 PUSH0 PUSH1 0xA0 MLOAD CALLDATALOAD SWAP6 PUSH2 0x880 DUP8 PUSH1 0x60 SHR SWAP8 PUSH2 0x839 PUSH1 0x17 PUSH1 0xA0 MLOAD ADD CALLDATALOAD PUSH1 0x60 SHR SWAP10 DUP11 DUP2 LT SWAP11 PUSH3 0xFFFFFF PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB SWAP5 PUSH1 0x48 SHR AND SWAP2 PUSH2 0x214C JUMP JUMPDEST AND SWAP5 DUP9 DUP5 EQ PUSH2 0x9EC JUMPI PUSH5 0x1000276A4 SWAP7 JUMPDEST DUP9 MLOAD SWAP11 DUP12 SWAP3 DUP11 PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x60 DUP5 ADD SWAP1 PUSH1 0xA0 MLOAD PUSH2 0x1FC2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND DUP10 DUP4 ADD MSTORE SUB PUSH1 0x1F NOT DUP2 ADD DUP11 MSTORE DUP10 PUSH2 0x1F74 JUMP JUMPDEST DUP6 MLOAD PUSH4 0x2515961 PUSH1 0xE3 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP9 SWAP1 MSTORE PUSH1 0x44 DUP2 ADD SWAP4 SWAP1 SWAP4 MSTORE SWAP1 SWAP4 AND PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0xA0 PUSH1 0x84 DUP3 ADD MSTORE SWAP5 DUP6 SWAP3 DUP4 SWAP2 DUP3 SWAP1 PUSH2 0x8CF SWAP1 PUSH1 0xA4 DUP4 ADD SWAP1 PUSH2 0x684 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP1 PUSH0 SWAP3 PUSH2 0x9A5 JUMPI JUMPDEST PUSH2 0x8F3 SWAP4 POP ISZERO PUSH2 0x99E JUMPI POP PUSH2 0x1FB2 JUMP JUMPDEST PUSH1 0x80 MLOAD SWAP1 SWAP7 GT PUSH2 0x920 JUMPI ADDRESS PUSH1 0x80 MLOAD PUSH1 0x17 GT PUSH2 0x25A JUMPI PUSH1 0x17 PUSH1 0xA0 MLOAD ADD PUSH1 0x17 PUSH1 0x80 MLOAD SUB SWAP1 PUSH1 0xA0 MSTORE PUSH1 0x80 MSTORE PUSH2 0x7D4 JUMP JUMPDEST SWAP7 SWAP2 SWAP9 SWAP4 SWAP11 SWAP5 PUSH1 0x40 SWAP2 SWAP9 SWAP4 SWAP11 SWAP7 POP SWAP2 ADD CALLDATALOAD GT PUSH2 0x98F JUMPI JUMPDEST ISZERO SWAP1 DUP2 PUSH2 0x980 JUMPI JUMPDEST POP PUSH2 0x952 JUMPI POP PUSH1 0x1 ADD SWAP3 SWAP4 SWAP5 SWAP2 SWAP1 PUSH2 0x726 JUMP JUMPDEST SWAP1 PUSH2 0x97C PUSH1 0x40 MLOAD SWAP3 DUP4 SWAP3 PUSH4 0x2C4029E9 PUSH1 0xE0 SHL DUP5 MSTORE PUSH1 0x4 DUP5 ADD MSTORE PUSH1 0x40 PUSH1 0x24 DUP5 ADD MSTORE PUSH1 0x44 DUP4 ADD SWAP1 PUSH2 0x684 JUMP JUMPDEST SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0xFF SHL AND ISZERO SWAP1 POP PUSH0 PUSH2 0x93F JUMP JUMPDEST PUSH4 0x1CE9AA4B PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 POP PUSH2 0x1FB2 JUMP JUMPDEST SWAP2 POP POP PUSH1 0x40 DUP3 RETURNDATASIZE DUP3 GT PUSH2 0x9D9 JUMPI JUMPDEST DUP2 PUSH2 0x9C0 PUSH1 0x40 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI DUP2 PUSH1 0x20 PUSH2 0x8F3 SWAP4 MLOAD SWAP2 ADD MLOAD SWAP2 PUSH2 0x8E3 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x9B3 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH20 0xFFFD8963EFD1FC6A506488495D951D5263988D25 SWAP7 PUSH2 0x84A JUMP JUMPDEST DUP10 SWAP2 PUSH2 0x7F3 JUMP JUMPDEST PUSH1 0x14 SWAP2 SWAP3 SWAP9 POP LT PUSH2 0x2C1 JUMPI PUSH1 0x20 PUSH1 0x24 SWAP2 PUSH1 0x40 MLOAD SWAP3 DUP4 DUP1 SWAP3 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP3 MSTORE ADDRESS PUSH1 0x4 DUP4 ADD MSTORE CALLDATALOAD PUSH1 0x60 SHR GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP2 PUSH2 0xA52 JUMPI JUMPDEST POP SWAP6 PUSH0 DUP1 PUSH2 0x7D1 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 RETURNDATASIZE DUP3 GT PUSH2 0xA7B JUMPI JUMPDEST DUP2 PUSH2 0xA6C PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD PUSH0 PUSH2 0xA49 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0xA5F JUMP JUMPDEST ADDRESS SWAP8 PUSH2 0x7B1 JUMP JUMPDEST PUSH1 0x1 DUP2 SWAP13 SWAP7 SWAP3 SWAP10 SWAP5 SWAP12 SWAP8 SWAP9 SWAP4 SWAP11 SWAP6 SWAP13 EQ PUSH0 EQ PUSH2 0xB55 JUMPI POP SWAP1 PUSH2 0xAB1 PUSH1 0x20 DUP3 ADD CALLDATALOAD SWAP3 DUP3 PUSH2 0x20EB JUMP JUMPDEST PUSH1 0x80 DUP4 ADD CALLDATALOAD ISZERO PUSH2 0xB4E JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP2 JUMPDEST PUSH1 0x40 PUSH2 0xAD8 DUP6 CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP5 ADD CALLDATALOAD PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x37A0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE PUSH1 0x1 PUSH1 0xFF SHL DUP6 LT ISZERO PUSH2 0x25A JUMPI PUSH2 0xB03 SWAP4 PUSH2 0x255 DUP7 PUSH2 0x1FB2 JUMP JUMPDEST SWAP1 SWAP2 SWAP1 ISZERO PUSH2 0xB3F JUMPI POP PUSH2 0xB15 SWAP1 PUSH2 0x1FB2 JUMP JUMPDEST SUB PUSH2 0xB30 JUMPI PUSH0 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x37A0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TSTORE JUMPDEST PUSH2 0x937 JUMP JUMPDEST PUSH4 0x6A701247 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0xB49 SWAP2 POP PUSH2 0x1FB2 JUMP JUMPDEST PUSH2 0xB15 JUMP JUMPDEST ADDRESS SWAP2 PUSH2 0xACC JUMP JUMPDEST PUSH1 0x2 DUP2 SUB PUSH2 0xB8C JUMPI POP PUSH2 0xB2B SWAP2 PUSH1 0x40 DUP2 ADD CALLDATALOAD SWAP2 POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD PUSH2 0xB85 PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP2 CALLDATALOAD PUSH2 0x24F4 JUMP JUMPDEST SWAP4 SWAP5 SWAP2 SWAP4 SWAP1 SWAP3 SWAP1 PUSH1 0x3 DUP2 SUB PUSH2 0xD13 JUMPI POP POP POP DUP2 CALLDATALOAD DUP3 ADD PUSH4 0xFFFFFFFF PUSH1 0x20 DUP5 ADD CALLDATALOAD AND DUP4 ADD SWAP2 PUSH4 0xFFFFFFFF DUP4 CALLDATALOAD AND SWAP4 PUSH1 0x20 DUP1 DUP6 ADD SWAP5 DUP7 ADD ADD SWAP2 ADD LT PUSH2 0xD06 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2A2D80D1 PUSH1 0xE0 SHL PUSH1 0x20 DUP3 ADD SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD AND PUSH1 0x24 DUP4 ADD MSTORE PUSH1 0x60 PUSH1 0x44 DUP4 ADD MSTORE SWAP4 SWAP1 SWAP3 PUSH1 0xE4 DUP5 ADD SWAP3 DUP1 CALLDATALOAD CALLDATASIZE DUP3 SWAP1 SUB PUSH1 0x1E NOT ADD DUP2 SLT ISZERO PUSH2 0x25A JUMPI DUP2 ADD PUSH1 0x20 DUP2 ADD SWAP5 SWAP1 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x25A JUMPI DUP2 PUSH1 0x7 SHL CALLDATASIZE SUB DUP7 SGT PUSH2 0x25A JUMPI DUP2 SWAP1 PUSH1 0x60 PUSH1 0x84 DUP10 ADD MSTORE MSTORE PUSH2 0x104 DUP7 ADD SWAP5 SWAP1 PUSH0 SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0xCE8 JUMPI POP POP POP SWAP4 PUSH2 0xC9C PUSH0 SWAP7 SWAP5 DUP3 SWAP5 PUSH2 0xCAA SWAP5 PUSH1 0x40 DUP11 SWAP10 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0xC7E PUSH1 0x20 DUP4 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0xA4 DUP9 ADD MSTORE ADD CALLDATALOAD PUSH1 0xC4 DUP7 ADD MSTORE DUP5 DUP4 SUB PUSH1 0x23 NOT ADD PUSH1 0x64 DUP7 ADD MSTORE PUSH2 0x1FC2 JUMP JUMPDEST SUB PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x1F74 JUMP JUMPDEST MLOAD SWAP1 DUP3 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 PUSH2 0xCE2 PUSH2 0x1FE2 JUMP JUMPDEST SWAP2 PUSH2 0x937 JUMP JUMPDEST SWAP1 SWAP2 SWAP6 PUSH1 0x80 DUP1 DUP3 PUSH2 0xCFB PUSH1 0x1 SWAP5 DUP12 PUSH2 0x2065 JUMP JUMPDEST ADD SWAP8 ADD SWAP3 ADD SWAP1 PUSH2 0xC50 JUMP JUMPDEST PUSH4 0x3B99B53D PUSH0 MSTORE PUSH1 0x4 PUSH1 0x1C REVERT JUMPDEST SWAP2 SWAP5 SWAP4 SWAP1 SWAP3 POP SWAP1 PUSH1 0x4 DUP2 SUB PUSH2 0xE11 JUMPI POP PUSH2 0xD30 PUSH1 0x20 DUP3 ADD CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH1 0x40 DUP3 ADD CALLDATALOAD DUP2 AND SWAP2 CALLDATALOAD AND DUP1 PUSH2 0xD7D JUMPI POP SELFBALANCE SWAP1 DUP2 LT PUSH2 0xD6E JUMPI DUP1 PUSH2 0xD5E JUMPI JUMPDEST POP POP PUSH2 0x937 JUMP JUMPDEST PUSH2 0xD67 SWAP2 PUSH2 0x2639 JUMP JUMPDEST PUSH0 DUP1 PUSH2 0xD57 JUMP JUMPDEST PUSH4 0x1A84BC41 PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP2 PUSH1 0x40 MLOAD SWAP2 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP4 MSTORE ADDRESS PUSH1 0x4 DUP5 ADD MSTORE PUSH1 0x20 DUP4 PUSH1 0x24 DUP2 DUP8 GAS STATICCALL SWAP3 DUP4 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP4 PUSH2 0xDDE JUMPI JUMPDEST POP DUP3 LT PUSH2 0xDCF JUMPI DUP2 PUSH2 0xDBE JUMPI JUMPDEST POP POP POP PUSH2 0x937 JUMP JUMPDEST PUSH2 0xDC7 SWAP3 PUSH2 0x2A11 JUMP JUMPDEST PUSH0 DUP1 DUP1 PUSH2 0xDB6 JUMP JUMPDEST PUSH4 0xCEB95C7 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 SWAP3 POP PUSH1 0x20 DUP2 RETURNDATASIZE DUP3 GT PUSH2 0xE09 JUMPI JUMPDEST DUP2 PUSH2 0xDF9 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP2 PUSH0 PUSH2 0xDA9 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0xDEC JUMP JUMPDEST PUSH1 0x5 DUP2 SUB PUSH2 0xE38 JUMPI POP DUP1 PUSH1 0x40 PUSH2 0xB2B SWAP3 ADD CALLDATALOAD SWAP1 PUSH2 0xE31 PUSH1 0x20 DUP3 ADD CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP1 CALLDATALOAD PUSH2 0x2459 JUMP JUMPDEST PUSH1 0x6 DUP2 SUB PUSH2 0xEEA JUMPI POP PUSH1 0x40 DUP2 ADD CALLDATALOAD SWAP1 PUSH2 0xE54 PUSH1 0x20 DUP3 ADD CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 PUSH2 0xE78 JUMPI POP PUSH2 0xE72 PUSH2 0xB2B SWAP3 SELFBALANCE PUSH2 0x29E8 JUMP JUMPDEST SWAP1 PUSH2 0x2639 JUMP JUMPDEST SWAP1 PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 DUP2 PUSH1 0x24 DUP2 DUP7 GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP2 PUSH2 0xEB7 JUMPI JUMPDEST POP PUSH2 0xB2B SWAP4 PUSH2 0xEB1 SWAP2 PUSH2 0x29E8 JUMP JUMPDEST SWAP2 PUSH2 0x2A11 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 RETURNDATASIZE DUP3 GT PUSH2 0xEE2 JUMPI JUMPDEST DUP2 PUSH2 0xED1 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD PUSH2 0xB2B PUSH2 0xEA3 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0xEC4 JUMP JUMPDEST PUSH4 0x6BB50F4F PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x8 DUP2 SWAP13 SWAP7 SWAP3 SWAP10 SWAP5 SWAP12 SWAP8 SWAP9 SWAP4 SWAP11 SWAP6 SWAP13 EQ PUSH0 EQ PUSH2 0x111B JUMPI POP PUSH2 0xF22 PUSH1 0x20 DUP4 ADD CALLDATALOAD SWAP2 DUP4 PUSH2 0x23B7 JUMP JUMPDEST SWAP1 PUSH1 0x80 DUP5 ADD CALLDATALOAD ISZERO PUSH2 0x1114 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP2 JUMPDEST PUSH2 0xF48 DUP6 CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP3 DUP3 ISZERO PUSH2 0x6B4 JUMPI PUSH2 0xF58 DUP3 PUSH2 0x23DB JUMP JUMPDEST DUP4 PUSH1 0x1 LT ISZERO PUSH2 0x6B4 JUMPI PUSH2 0xF7A PUSH2 0xFC2 SWAP2 PUSH2 0xF74 PUSH1 0x20 DUP7 ADD PUSH2 0x23DB JUMP JUMPDEST SWAP1 PUSH2 0x3025 JUMP JUMPDEST SWAP1 PUSH32 0x0 PUSH32 0x0 PUSH2 0x303C JUMP JUMPDEST SWAP5 DUP6 DUP2 PUSH2 0x10FA JUMPI JUMPDEST POP POP POP PUSH0 NOT DUP3 ADD DUP3 DUP2 GT PUSH2 0x294 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 PUSH2 0xFF5 SWAP1 PUSH2 0xFF0 SWAP1 DUP6 DUP6 PUSH2 0x243C JUMP JUMPDEST PUSH2 0x23DB JUMP JUMPDEST AND SWAP4 PUSH1 0x40 MLOAD SWAP3 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP5 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP3 DUP4 PUSH1 0x4 DUP7 ADD MSTORE PUSH1 0x20 DUP6 PUSH1 0x24 DUP2 DUP11 GAS STATICCALL SWAP5 DUP6 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP6 PUSH2 0x10BD JUMPI JUMPDEST POP SWAP5 PUSH2 0x103C SWAP3 SWAP2 PUSH1 0x20 SWAP6 SWAP7 PUSH2 0x26CD JUMP JUMPDEST PUSH1 0x24 PUSH1 0x40 MLOAD DUP1 SWAP6 DUP2 SWAP4 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD MSTORE GAS STATICCALL SWAP2 DUP3 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP3 PUSH2 0x1089 JUMPI JUMPDEST POP PUSH1 0x40 PUSH2 0x1074 SWAP3 SWAP4 ADD CALLDATALOAD SWAP3 PUSH2 0x244C JUMP JUMPDEST LT ISZERO PUSH2 0x937 JUMPI PUSH4 0x1093D5F3 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP2 POP PUSH1 0x20 DUP3 RETURNDATASIZE DUP3 GT PUSH2 0x10B5 JUMPI JUMPDEST DUP2 PUSH2 0x10A3 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI SWAP1 MLOAD SWAP1 PUSH1 0x40 PUSH2 0x1064 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x1096 JUMP JUMPDEST SWAP3 SWAP2 SWAP5 POP SWAP5 PUSH1 0x20 DUP4 RETURNDATASIZE DUP3 GT PUSH2 0x10F2 JUMPI JUMPDEST DUP2 PUSH2 0x10DA PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI SWAP2 MLOAD SWAP2 SWAP5 SWAP2 SWAP4 SWAP1 SWAP2 PUSH2 0x103C PUSH2 0x102C JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x10CD JUMP JUMPDEST PUSH2 0x110C SWAP3 PUSH2 0x1107 DUP6 PUSH2 0x23DB JUMP JUMPDEST PUSH2 0x2229 JUMP JUMPDEST PUSH0 DUP1 DUP6 PUSH2 0xFCA JUMP JUMPDEST ADDRESS SWAP2 PUSH2 0xF3E JUMP JUMPDEST PUSH1 0x9 DUP2 SUB PUSH2 0x1367 JUMPI POP PUSH2 0x112E SWAP1 DUP3 PUSH2 0x23B7 JUMP JUMPDEST PUSH1 0x80 DUP4 ADD CALLDATALOAD ISZERO PUSH2 0x1360 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP2 JUMPDEST PUSH2 0x1153 DUP5 CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP2 PUSH32 0x0 SWAP4 PUSH32 0x0 SWAP6 PUSH0 SWAP6 PUSH1 0x2 DUP6 LT PUSH2 0x1351 JUMPI PUSH1 0x20 DUP3 ADD CALLDATALOAD SWAP8 PUSH0 NOT DUP7 ADD DUP7 DUP2 GT PUSH2 0x294 JUMPI SWAP2 SWAP1 DUP3 JUMPDEST PUSH2 0x11F4 JUMPI POP POP POP PUSH1 0x40 ADD CALLDATALOAD DUP7 GT PUSH2 0x11E5 JUMPI DUP3 ISZERO PUSH2 0x6B4 JUMPI PUSH2 0xB2B SWAP6 DUP6 PUSH2 0x11E0 SWAP3 PUSH2 0x1107 DUP6 PUSH2 0x23DB JUMP JUMPDEST PUSH2 0x26CD JUMP JUMPDEST PUSH4 0x45585E0B PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 SWAP2 SWAP9 SWAP8 POP PUSH0 NOT DUP10 ADD SWAP8 DUP10 DUP10 GT PUSH2 0x294 JUMPI PUSH2 0x1216 PUSH2 0xFF0 PUSH2 0x1238 SWAP11 DUP10 DUP10 PUSH2 0x243C JUMP JUMPDEST PUSH2 0x122D PUSH2 0x1227 PUSH2 0xFF0 DUP14 DUP12 DUP12 PUSH2 0x243C JUMP JUMPDEST DUP3 PUSH2 0x3025 JUMP JUMPDEST DUP2 DUP6 DUP8 SWAP14 SWAP4 SWAP14 PUSH2 0x303C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x240BC6B PUSH1 0xE2 SHL DUP2 MSTORE SWAP1 SWAP2 PUSH1 0x60 DUP3 PUSH1 0x4 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND GAS STATICCALL SWAP2 DUP3 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP1 PUSH0 SWAP4 PUSH2 0x131D JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0x70 SHL SUB SWAP3 DUP4 AND SWAP13 SWAP3 AND SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND SWAP2 AND SUB PUSH2 0x1317 JUMPI SWAP10 SWAP1 JUMPDEST SWAP10 DUP1 ISZERO DUP1 ISZERO PUSH2 0x130F JUMPI JUMPDEST PUSH2 0x1300 JUMPI DUP3 PUSH2 0x12A6 SWAP2 PUSH2 0x29B7 JUMP JUMPDEST SWAP2 PUSH2 0x3E8 DUP4 MUL SWAP3 DUP1 DUP5 DIV PUSH2 0x3E8 EQ SWAP1 ISZERO OR ISZERO PUSH2 0x294 JUMPI PUSH2 0x12C5 SWAP2 PUSH2 0x244C JUMP JUMPDEST PUSH2 0x3E5 DUP2 MUL SWAP1 DUP1 DUP3 DIV PUSH2 0x3E5 EQ SWAP1 ISZERO OR ISZERO PUSH2 0x294 JUMPI PUSH2 0x12E3 SWAP2 PUSH2 0x29CA JUMP JUMPDEST PUSH1 0x1 DUP2 ADD DUP1 SWAP2 GT PUSH2 0x294 JUMPI SWAP9 DUP1 ISZERO PUSH2 0x294 JUMPI PUSH0 NOT ADD SWAP2 SWAP1 DUP3 PUSH2 0x11B7 JUMP JUMPDEST PUSH4 0x3DCE448B PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP DUP2 ISZERO PUSH2 0x1298 JUMP JUMPDEST SWAP1 PUSH2 0x128E JUMP JUMPDEST SWAP1 POP PUSH2 0x1341 SWAP2 SWAP3 POP PUSH1 0x60 RETURNDATASIZE DUP2 GT PUSH2 0x134A JUMPI JUMPDEST PUSH2 0x1339 DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x2697 JUMP JUMPDEST POP SWAP2 SWAP1 PUSH0 PUSH2 0x1269 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x132F JUMP JUMPDEST PUSH4 0x20DB8267 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST ADDRESS SWAP2 PUSH2 0x1149 JUMP JUMPDEST SWAP4 SWAP5 SWAP2 SWAP4 SWAP1 SWAP3 SWAP1 PUSH1 0xA DUP2 SUB PUSH2 0x1424 JUMPI POP POP POP PUSH4 0xFFFFFFFF PUSH1 0xC0 DUP4 ADD CALLDATALOAD AND DUP3 ADD SWAP1 PUSH4 0xFFFFFFFF DUP3 CALLDATALOAD AND SWAP1 DUP4 PUSH1 0x20 DUP1 DUP6 ADD SWAP5 DUP5 ADD ADD SWAP2 ADD LT PUSH2 0xD06 JUMPI PUSH1 0x40 MLOAD PUSH4 0x2B67B57 PUSH1 0xE4 SHL PUSH1 0x20 DUP3 ADD SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD AND PUSH1 0x24 DUP4 ADD MSTORE PUSH0 SWAP5 DUP6 SWAP5 SWAP2 SWAP4 PUSH2 0xCAA SWAP3 DUP5 SWAP3 PUSH2 0xC9C SWAP3 SWAP1 PUSH1 0xA0 SWAP1 PUSH2 0x13F1 PUSH1 0x44 DUP8 ADD DUP3 PUSH2 0x2065 JUMP JUMPDEST PUSH1 0x1 DUP1 DUP4 SHL SUB PUSH2 0x1403 PUSH1 0x80 DUP4 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0xC4 DUP8 ADD MSTORE ADD CALLDATALOAD PUSH1 0xE4 DUP6 ADD MSTORE PUSH2 0x100 PUSH2 0x104 DUP6 ADD MSTORE PUSH2 0x124 DUP5 ADD SWAP2 PUSH2 0x1FC2 JUMP JUMPDEST SWAP2 SWAP5 SWAP4 SWAP1 SWAP3 SWAP1 SWAP2 PUSH1 0xB DUP2 SUB PUSH2 0x1557 JUMPI POP POP PUSH2 0x1444 PUSH1 0x20 DUP3 ADD CALLDATALOAD SWAP2 CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST SWAP1 DUP1 PUSH1 0x1 PUSH1 0xFF SHL DUP2 SUB PUSH2 0x1541 JUMPI POP POP SELFBALANCE JUMPDEST DUP1 PUSH2 0x1461 JUMPI POP POP PUSH2 0x937 JUMP JUMPDEST PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH4 0xD0E30DB PUSH1 0xE4 SHL DUP2 MSTORE PUSH0 DUP2 PUSH1 0x4 DUP2 DUP7 DUP9 GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x1531 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 ADDRESS DUP3 SUB PUSH2 0x14CD JUMPI JUMPDEST POP PUSH2 0xD57 JUMP JUMPDEST PUSH1 0x44 PUSH1 0x20 SWAP3 PUSH0 PUSH1 0x40 MLOAD SWAP6 DUP7 SWAP5 DUP6 SWAP4 PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP6 MSTORE PUSH1 0x4 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x1503 JUMPI JUMPDEST DUP1 DUP1 PUSH2 0x14C7 JUMP JUMPDEST PUSH2 0x1523 SWAP1 PUSH1 0x20 RETURNDATASIZE DUP2 GT PUSH2 0x152A JUMPI JUMPDEST PUSH2 0x151B DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x2424 JUMP JUMPDEST POP PUSH0 PUSH2 0x14FC JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x1511 JUMP JUMPDEST PUSH0 PUSH2 0x153B SWAP2 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 PUSH2 0x14B4 JUMP JUMPDEST SELFBALANCE LT ISZERO PUSH2 0x1455 JUMPI PUSH4 0x1A84BC41 PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0xC DUP2 SUB PUSH2 0x1676 JUMPI POP POP PUSH2 0x156B DUP2 CALLDATALOAD PUSH2 0x23EF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE SWAP1 SWAP2 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH1 0x20 DUP4 PUSH1 0x24 DUP2 DUP6 GAS STATICCALL SWAP3 DUP4 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP4 PUSH2 0x1642 JUMPI JUMPDEST POP PUSH1 0x20 ADD CALLDATALOAD DUP3 LT PUSH2 0xD6E JUMPI DUP2 PUSH2 0x15DA JUMPI POP POP POP PUSH2 0x937 JUMP JUMPDEST DUP1 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH0 DUP1 SWAP2 PUSH1 0x24 PUSH1 0x40 MLOAD DUP1 SWAP5 DUP2 SWAP4 PUSH4 0x2E1A7D4D PUSH1 0xE0 SHL DUP4 MSTORE DUP8 PUSH1 0x4 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x1632 JUMPI JUMPDEST POP ADDRESS PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SUB PUSH2 0x1622 JUMPI JUMPDEST DUP1 PUSH2 0xDB6 JUMP JUMPDEST PUSH2 0x162B SWAP2 PUSH2 0x2639 JUMP JUMPDEST PUSH0 DUP1 PUSH2 0x161C JUMP JUMPDEST PUSH0 PUSH2 0x163C SWAP2 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 PUSH2 0x160A JUMP JUMPDEST SWAP1 SWAP3 POP PUSH1 0x20 DUP2 RETURNDATASIZE DUP3 GT PUSH2 0x166E JUMPI JUMPDEST DUP2 PUSH2 0x165D PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP2 PUSH1 0x20 PUSH2 0x15C2 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x1650 JUMP JUMPDEST PUSH1 0xD DUP2 SWAP13 SWAP4 SWAP13 SWAP12 SWAP3 SWAP6 SWAP8 SWAP9 SWAP12 SWAP10 SWAP5 SWAP7 SWAP10 EQ PUSH0 EQ PUSH2 0x1819 JUMPI POP DUP11 CALLDATALOAD DUP12 ADD SWAP9 DUP10 CALLDATALOAD SWAP5 PUSH2 0x16A8 PUSH1 0x20 DUP1 DUP14 ADD SWAP15 DUP14 SUB ADD DUP8 PUSH2 0x221C JUMP JUMPDEST GT PUSH2 0x2C1 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD AND SWAP11 SWAP4 PUSH0 JUMPDEST DUP7 DUP2 LT ISZERO PUSH2 0x1709 JUMPI DUP13 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x16EC PUSH1 0x7 DUP5 SWAP1 SHL DUP16 ADD PUSH1 0x20 ADD PUSH2 0x23DB JUMP JUMPDEST AND SUB PUSH2 0x16FA JUMPI PUSH1 0x1 ADD PUSH2 0x16C9 JUMP JUMPDEST PUSH4 0xE7002877 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST POP SWAP9 SWAP6 SWAP4 SWAP8 SWAP7 SWAP5 SWAP3 SWAP12 SWAP2 SWAP11 POP SWAP9 POP PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH32 0x0 AND SWAP1 DUP2 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH4 0xD58B1DB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP5 SWAP1 MSTORE SWAP3 DUP4 SWAP2 PUSH1 0x44 DUP4 ADD SWAP2 PUSH0 SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x17A3 JUMPI POP POP POP SWAP2 DUP2 PUSH0 DUP2 DUP2 SWAP6 SUB SWAP3 GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x1793 JUMPI JUMPDEST POP PUSH2 0x937 JUMP JUMPDEST PUSH0 PUSH2 0x179D SWAP2 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 PUSH2 0x178D JUMP JUMPDEST SWAP2 SWAP4 POP SWAP2 PUSH1 0x1 SWAP1 PUSH1 0x80 SWAP1 DUP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x17C0 DUP9 PUSH2 0x2011 JUMP JUMPDEST AND DUP2 MSTORE DUP4 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0x17D5 PUSH1 0x20 DUP10 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0x20 DUP3 ADD MSTORE DUP4 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0x17ED PUSH1 0x40 DUP10 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0x40 DUP3 ADD MSTORE DUP4 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0x1805 PUSH1 0x60 DUP10 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0x60 DUP3 ADD MSTORE ADD SWAP5 ADD SWAP3 ADD DUP6 SWAP4 SWAP3 SWAP2 PUSH2 0x176E JUMP JUMPDEST DUP1 SWAP3 SWAP12 SWAP4 SWAP9 SWAP6 POP PUSH1 0xE SWAP2 SWAP11 SWAP8 SWAP7 SWAP5 POP EQ PUSH0 EQ PUSH2 0xEEA JUMPI POP PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 CALLDATALOAD DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE SWAP1 SWAP2 SWAP1 PUSH1 0x20 SWAP1 DUP4 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 DUP5 DUP7 ADD CALLDATALOAD AND GAS STATICCALL SWAP2 DUP3 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP3 PUSH2 0x189E JUMPI JUMPDEST POP PUSH1 0x40 ADD CALLDATALOAD GT ISZERO DUP1 PUSH2 0xB2B JUMPI PUSH1 0x40 MLOAD PUSH4 0x51940B39 PUSH1 0xE1 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x4 DUP2 MSTORE SWAP1 SWAP3 POP PUSH2 0xCE2 PUSH1 0x24 DUP3 PUSH2 0x1F74 JUMP JUMPDEST SWAP1 SWAP2 POP PUSH1 0x20 DUP2 RETURNDATASIZE DUP3 GT PUSH2 0x18CA JUMPI JUMPDEST DUP2 PUSH2 0x18B9 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP1 PUSH1 0x40 PUSH2 0x1870 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x18AC JUMP JUMPDEST PUSH1 0x10 DUP2 SWAP13 SWAP7 SWAP3 SWAP10 SWAP5 SWAP12 SWAP8 SWAP9 SWAP4 SWAP11 SWAP6 SWAP13 EQ PUSH0 EQ PUSH2 0x19C7 JUMPI POP PUSH1 0x40 MLOAD PUSH4 0x48C89491 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE SWAP2 PUSH0 SWAP2 DUP4 SWAP2 DUP3 SWAP2 PUSH2 0x1913 SWAP2 PUSH1 0x24 DUP5 ADD SWAP2 SWAP1 PUSH2 0x1FC2 JUMP JUMPDEST SUB DUP2 DUP4 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x1952 JUMPI POP PUSH2 0x937 JUMP JUMPDEST RETURNDATASIZE DUP1 PUSH0 DUP4 RETURNDATACOPY PUSH2 0x1961 DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH1 0x20 DUP2 DUP4 SUB SLT PUSH2 0x25A JUMPI DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x25A JUMPI ADD DUP2 PUSH1 0x1F DUP3 ADD SLT ISZERO PUSH2 0x25A JUMPI DUP1 MLOAD PUSH2 0x1996 DUP2 PUSH2 0x1F97 JUMP JUMPDEST SWAP3 PUSH2 0x19A4 PUSH1 0x40 MLOAD SWAP5 DUP6 PUSH2 0x1F74 JUMP JUMPDEST DUP2 DUP5 MSTORE PUSH1 0x20 DUP3 DUP5 ADD ADD GT PUSH2 0x25A JUMPI PUSH0 SWAP3 DUP2 PUSH1 0x20 DUP1 SWAP5 ADD DUP5 DUP4 ADD MCOPY ADD ADD MSTORE PUSH0 PUSH2 0x178D JUMP JUMPDEST DUP1 SWAP3 SWAP5 SWAP6 POP PUSH1 0x11 SWAP2 SWAP4 POP EQ PUSH0 EQ PUSH2 0x1A52 JUMPI POP SWAP1 DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0x853D0085 PUSH1 0xE0 SHL DUP2 ADD PUSH2 0x1A40 JUMPI POP DUP2 PUSH0 SWAP3 SWAP2 DUP4 SWAP3 PUSH1 0x40 MLOAD SWAP3 DUP4 SWAP3 DUP4 CALLDATACOPY DUP2 ADD DUP4 DUP2 MSTORE SUB SWAP1 DUP3 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 PUSH2 0xCE2 PUSH2 0x1FE2 JUMP JUMPDEST PUSH4 0xF801E525 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x12 DUP2 SUB PUSH2 0x1C50 JUMPI POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP2 DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0x624E65F PUSH1 0xE1 SHL DUP2 EQ DUP1 ISZERO PUSH2 0x1C40 JUMPI JUMPDEST DUP1 ISZERO PUSH2 0x1C30 JUMPI JUMPDEST ISZERO PUSH2 0x1A40 JUMPI POP PUSH1 0x40 MLOAD PUSH4 0x31A9108F PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP3 DUP2 ADD CALLDATALOAD SWAP1 DUP3 ADD DUP2 SWAP1 MSTORE PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP5 SWAP1 SWAP2 PUSH1 0x20 DUP2 PUSH1 0x24 DUP2 DUP10 GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP2 PUSH2 0x1C12 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND SWAP2 AND DUP2 DUP2 EQ SWAP2 DUP3 ISZERO PUSH2 0x1BA6 JUMPI JUMPDEST DUP3 ISZERO PUSH2 0x1B4D JUMPI JUMPDEST POP POP ISZERO PUSH2 0x1B3B JUMPI POP SWAP2 DUP2 PUSH0 DUP1 SWAP5 DUP2 SWAP5 PUSH1 0x40 MLOAD SWAP4 DUP5 SWAP3 DUP4 CALLDATACOPY DUP2 ADD DUP3 DUP2 MSTORE SUB SWAP3 GAS CALL SWAP1 PUSH2 0xCE2 PUSH2 0x1FE2 JUMP JUMPDEST PUSH4 0xBB25D4C5 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xE985E9C5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE SWAP1 POP PUSH1 0x20 DUP2 PUSH1 0x44 DUP2 DUP9 GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP2 PUSH2 0x1B88 JUMPI JUMPDEST POP PUSH0 DUP1 PUSH2 0x1B12 JUMP JUMPDEST PUSH2 0x1BA0 SWAP2 POP PUSH1 0x20 RETURNDATASIZE DUP2 GT PUSH2 0x152A JUMPI PUSH2 0x151B DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 PUSH2 0x1B80 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 MLOAD PUSH4 0x20604BF PUSH1 0xE2 SHL DUP2 MSTORE DUP4 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 DUP2 PUSH1 0x24 DUP2 DUP11 GAS STATICCALL DUP1 ISZERO PUSH2 0x9E1 JUMPI DUP4 SWAP2 PUSH0 SWAP2 PUSH2 0x1BE4 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ SWAP2 PUSH2 0x1B0B JUMP JUMPDEST PUSH2 0x1C05 SWAP2 POP PUSH1 0x20 RETURNDATASIZE DUP2 GT PUSH2 0x1C0B JUMPI JUMPDEST PUSH2 0x1BFD DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x261A JUMP JUMPDEST PUSH0 PUSH2 0x1BD3 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x1BF3 JUMP JUMPDEST PUSH2 0x1C2A SWAP2 POP PUSH1 0x20 RETURNDATASIZE DUP2 GT PUSH2 0x1C0B JUMPI PUSH2 0x1BFD DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 PUSH2 0x1AF2 JUMP JUMPDEST POP PUSH4 0x852CD8D PUSH1 0xE3 SHL DUP2 EQ PUSH2 0x1A8F JUMP JUMPDEST POP PUSH4 0xFC6F7865 PUSH1 0xE0 SHL DUP2 EQ PUSH2 0x1A88 JUMP JUMPDEST PUSH1 0x13 DUP2 SUB PUSH2 0x1D41 JUMPI POP POP PUSH1 0x40 MLOAD PUSH4 0x313B65DF PUSH1 0xE1 SHL PUSH1 0x20 DUP3 ADD SWAP1 DUP2 MSTORE PUSH0 SWAP3 DUP4 SWAP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1C82 DUP3 PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0x24 DUP4 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1C9C PUSH1 0x20 DUP4 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0x44 DUP4 ADD MSTORE PUSH3 0xFFFFFF PUSH2 0x1CB2 PUSH1 0x40 DUP4 ADD PUSH2 0x2025 JUMP JUMPDEST AND PUSH1 0x64 DUP4 ADD MSTORE PUSH2 0x1CC4 PUSH1 0x60 DUP3 ADD PUSH2 0x2035 JUMP JUMPDEST PUSH1 0x2 SIGNEXTEND PUSH1 0x84 DUP4 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1CE0 PUSH1 0x80 DUP4 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0xA4 DUP4 ADD MSTORE PUSH1 0xA0 ADD CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0xC4 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP2 MSTORE PUSH2 0x1D09 PUSH1 0xE4 DUP3 PUSH2 0x1F74 JUMP JUMPDEST MLOAD SWAP1 DUP3 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 PUSH2 0xCE2 PUSH2 0x1FE2 JUMP JUMPDEST PUSH1 0x14 DUP2 SUB PUSH2 0xEEA JUMPI POP DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0x22B9AF71 PUSH1 0xE0 SHL DUP2 ADD PUSH2 0x1A40 JUMPI POP DUP1 PUSH1 0x4 GT PUSH2 0x25A JUMPI PUSH2 0x1D87 PUSH2 0x1D81 PUSH1 0x3 NOT DUP4 ADD PUSH1 0x4 DUP6 ADD PUSH2 0x20C3 JUMP JUMPDEST SWAP1 PUSH2 0x20C3 JUMP JUMPDEST PUSH0 JUMPDEST DUP2 DUP2 LT PUSH2 0x1DDE JUMPI POP POP POP PUSH0 SWAP2 DUP3 SWAP2 SELFBALANCE SWAP2 DUP2 PUSH1 0x40 MLOAD SWAP3 DUP4 SWAP3 DUP4 CALLDATACOPY DUP2 ADD DUP5 DUP2 MSTORE SUB SWAP2 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 PUSH2 0xCE2 PUSH2 0x1FE2 JUMP JUMPDEST PUSH2 0x1DE9 DUP2 DUP4 DUP6 PUSH2 0x6A8 JUMP JUMPDEST CALLDATALOAD PUSH1 0xF8 SHR DUP1 ISZERO SWAP1 DUP2 ISZERO PUSH2 0x1E25 JUMPI JUMPDEST DUP2 ISZERO PUSH2 0x1E1A JUMPI JUMPDEST POP PUSH2 0x1E0B JUMPI PUSH1 0x1 ADD PUSH2 0x1D89 JUMP JUMPDEST PUSH4 0x5D1D0F9F PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0x3 SWAP2 POP EQ PUSH0 PUSH2 0x1DFE JUMP JUMPDEST PUSH1 0x1 DUP2 EQ SWAP2 POP PUSH2 0x1DF7 JUMP JUMPDEST SWAP1 SWAP8 SWAP4 SWAP11 POP PUSH1 0x21 DUP2 SWAP11 SWAP7 SWAP8 SWAP3 SWAP10 SWAP6 SWAP4 SWAP11 EQ PUSH0 EQ PUSH2 0xEEA JUMPI POP SWAP1 PUSH2 0x1E52 SWAP2 PUSH2 0x2582 JUMP JUMPDEST PUSH2 0x1E7C PUSH1 0x40 SWAP6 SWAP4 SWAP6 MLOAD SWAP5 PUSH1 0x20 DUP7 ADD SWAP7 PUSH4 0x24856BC3 PUSH1 0xE0 SHL DUP9 MSTORE PUSH1 0x40 PUSH1 0x24 DUP9 ADD MSTORE PUSH1 0x64 DUP8 ADD SWAP2 PUSH2 0x1FC2 JUMP JUMPDEST SWAP3 PUSH1 0x23 NOT DUP6 DUP6 SUB ADD PUSH1 0x44 DUP7 ADD MSTORE DUP2 DUP5 MSTORE PUSH1 0x20 DUP5 ADD SWAP2 PUSH1 0x20 DUP2 PUSH1 0x5 SHL DUP7 ADD ADD SWAP5 DUP5 PUSH0 SWAP1 PUSH1 0x1E NOT DUP2 CALLDATASIZE SUB ADD JUMPDEST DUP5 DUP4 LT PUSH2 0x1EDC JUMPI POP POP POP POP POP POP POP POP SWAP2 DUP2 PUSH2 0x1ECD PUSH0 SWAP5 SWAP4 DUP6 SWAP5 SUB PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x1F74 JUMP JUMPDEST MLOAD SWAP1 DUP3 ADDRESS GAS CALL SWAP1 PUSH2 0xCE2 PUSH2 0x1FE2 JUMP JUMPDEST SWAP1 SWAP2 SWAP3 SWAP4 SWAP5 SWAP6 SWAP7 SWAP8 PUSH1 0x1F NOT DUP6 DUP3 SUB ADD DUP9 MSTORE DUP9 CALLDATALOAD DUP3 DUP2 SLT ISZERO PUSH2 0x25A JUMPI DUP4 ADD PUSH1 0x20 DUP2 ADD SWAP2 SWAP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x25A JUMPI DUP1 CALLDATASIZE SUB DUP4 SGT PUSH2 0x25A JUMPI PUSH2 0x1F26 PUSH1 0x20 SWAP3 DUP4 SWAP3 DUP12 SWAP6 PUSH2 0x1FC2 JUMP JUMPDEST SWAP11 ADD SWAP9 ADD SWAP7 SWAP6 SWAP5 SWAP4 ADD SWAP2 SWAP1 PUSH2 0x1EA6 JUMP JUMPDEST PUSH4 0x1FEC6747 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH1 0xA0 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x1F60 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x1F60 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x1F60 JUMPI PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0xFF SHL DUP2 EQ PUSH2 0x294 JUMPI PUSH0 SUB SWAP1 JUMP JUMPDEST SWAP1 DUP1 PUSH1 0x20 SWAP4 SWAP3 DUP2 DUP5 MSTORE DUP5 DUP5 ADD CALLDATACOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST RETURNDATASIZE ISZERO PUSH2 0x200C JUMPI RETURNDATASIZE SWAP1 PUSH2 0x1FF3 DUP3 PUSH2 0x1F97 JUMP JUMPDEST SWAP2 PUSH2 0x2001 PUSH1 0x40 MLOAD SWAP4 DUP5 PUSH2 0x1F74 JUMP JUMPDEST DUP3 MSTORE RETURNDATASIZE PUSH0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY JUMP JUMPDEST PUSH1 0x60 SWAP1 JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x25A JUMPI JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH3 0xFFFFFF DUP3 AND DUP3 SUB PUSH2 0x25A JUMPI JUMP JUMPDEST CALLDATALOAD SWAP1 DUP2 PUSH1 0x2 SIGNEXTEND DUP3 SUB PUSH2 0x25A JUMPI JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP1 JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH6 0xFFFFFFFFFFFF DUP3 AND DUP3 SUB PUSH2 0x25A JUMPI JUMP JUMPDEST PUSH1 0x60 SWAP1 PUSH6 0xFFFFFFFFFFFF SWAP1 PUSH2 0x20BD SWAP1 DUP4 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x2087 DUP3 PUSH2 0x2011 JUMP JUMPDEST AND DUP7 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x209E PUSH1 0x20 DUP4 ADD PUSH2 0x2011 JUMP JUMPDEST AND PUSH1 0x20 DUP8 ADD MSTORE DUP4 PUSH2 0x20B1 PUSH1 0x40 DUP4 ADD PUSH2 0x2052 JUMP JUMPDEST AND PUSH1 0x40 DUP8 ADD MSTORE ADD PUSH2 0x2052 JUMP JUMPDEST AND SWAP2 ADD MSTORE JUMP JUMPDEST SWAP1 SWAP2 PUSH4 0xFFFFFFFF DUP3 CALLDATALOAD AND DUP3 ADD SWAP3 PUSH4 0xFFFFFFFF DUP5 CALLDATALOAD AND SWAP3 PUSH1 0x20 DUP1 DUP7 ADD SWAP6 DUP6 ADD ADD SWAP2 ADD LT PUSH2 0xD06 JUMPI JUMP JUMPDEST SWAP1 SWAP2 PUSH4 0xFFFFFFFF PUSH1 0x60 DUP4 ADD CALLDATALOAD AND DUP3 ADD SWAP3 PUSH4 0xFFFFFFFF DUP5 CALLDATALOAD AND SWAP3 PUSH1 0x20 DUP1 DUP7 ADD SWAP6 DUP6 ADD ADD SWAP2 ADD LT PUSH2 0xD06 JUMPI JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT DUP2 MSTORE PUSH1 0x60 SWAP2 SWAP1 SWAP2 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT AND PUSH1 0x1 DUP3 ADD MSTORE PUSH1 0x15 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x35 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x55 ADD SWAP1 JUMP JUMPDEST SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND SWAP1 DUP5 AND GT PUSH2 0x2214 JUMPI JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND PUSH1 0x20 DUP3 ADD SWAP1 DUP2 MSTORE SWAP5 SWAP1 SWAP4 AND SWAP1 DUP4 ADD MSTORE PUSH3 0xFFFFFF AND PUSH1 0x60 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP2 MSTORE PUSH2 0x219A PUSH1 0x80 DUP3 PUSH2 0x1F74 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD SWAP1 PUSH2 0x2204 DUP3 PUSH2 0x21F6 PUSH1 0x20 DUP3 ADD SWAP4 PUSH32 0x0 SWAP1 PUSH32 0x0 DUP7 PUSH2 0x2116 JUMP JUMPDEST SUB PUSH1 0x1F NOT DUP2 ADD DUP5 MSTORE DUP4 PUSH2 0x1F74 JUMP JUMPDEST SWAP1 MLOAD SWAP1 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST SWAP1 SWAP2 SWAP1 PUSH2 0x2161 JUMP JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x294 JUMPI JUMP JUMPDEST SWAP1 SWAP3 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND ADDRESS SUB PUSH2 0x2249 JUMPI PUSH2 0x2247 SWAP4 POP PUSH2 0x2459 JUMP JUMPDEST JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 GT PUSH2 0x226C JUMPI PUSH2 0x2247 SWAP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP3 PUSH2 0x24F4 JUMP JUMPDEST PUSH4 0xC4BD89A9 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP1 SWAP3 PUSH1 0x2B DUP2 LT PUSH2 0x2C1 JUMPI DUP3 PUSH0 PUSH1 0x40 SWAP5 CALLDATALOAD SWAP6 PUSH2 0x234E DUP8 PUSH1 0x60 SHR SWAP4 PUSH2 0x2306 PUSH1 0x17 DUP3 ADD CALLDATALOAD PUSH1 0x60 SHR SWAP10 PUSH2 0x22BF DUP8 DUP13 LT SWAP8 DUP9 SWAP13 PUSH3 0xFFFFFF PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB SWAP5 PUSH1 0x48 SHR AND SWAP2 PUSH2 0x214C JUMP JUMPDEST AND SWAP7 DUP7 DUP7 EQ PUSH2 0x239C JUMPI PUSH5 0x1000276A4 SWAP12 JUMPDEST PUSH2 0x22E8 DUP12 MLOAD SWAP5 DUP6 SWAP4 DUP14 PUSH1 0x20 DUP7 ADD MSTORE PUSH1 0x60 DUP6 ADD SWAP2 PUSH2 0x1FC2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND DUP12 DUP4 ADD MSTORE SUB PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x1F74 JUMP JUMPDEST DUP8 MLOAD SWAP10 DUP11 SWAP8 DUP9 SWAP7 DUP8 SWAP6 PUSH4 0x2515961 PUSH1 0xE3 SHL DUP8 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x4 DUP8 ADD MSTORE PUSH1 0x24 DUP7 ADD MSTORE PUSH1 0x44 DUP6 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x64 DUP5 ADD MSTORE PUSH1 0xA0 PUSH1 0x84 DUP5 ADD MSTORE PUSH1 0xA4 DUP4 ADD SWAP1 PUSH2 0x684 JUMP JUMPDEST SUB SWAP3 GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP3 PUSH0 SWAP2 PUSH2 0x2365 JUMPI POP SWAP2 SWAP3 JUMP JUMPDEST SWAP3 POP POP PUSH1 0x40 DUP3 RETURNDATASIZE PUSH1 0x40 GT PUSH2 0x2394 JUMPI JUMPDEST DUP2 PUSH2 0x2381 PUSH1 0x40 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI PUSH1 0x20 DUP3 MLOAD SWAP3 ADD MLOAD SWAP2 SWAP3 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x2374 JUMP JUMPDEST PUSH20 0xFFFD8963EFD1FC6A506488495D951D5263988D25 SWAP12 PUSH2 0x22D0 JUMP JUMPDEST SWAP2 PUSH1 0x60 DUP4 ADD CALLDATALOAD DUP4 ADD SWAP2 PUSH2 0x23D4 PUSH1 0x20 DUP5 CALLDATALOAD SWAP6 DUP2 DUP7 ADD SWAP6 SUB ADD DUP6 PUSH2 0x221C JUMP JUMPDEST GT PUSH2 0x2C1 JUMPI JUMP JUMPDEST CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x25A JUMPI SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x1 DUP2 SUB PUSH2 0x2415 JUMPI POP POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP1 JUMP JUMPDEST PUSH1 0x2 SUB PUSH2 0x2421 JUMPI POP ADDRESS SWAP1 JUMP JUMPDEST SWAP1 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x25A JUMPI MLOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x25A JUMPI SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP2 LT ISZERO PUSH2 0x6B4 JUMPI PUSH1 0x5 SHL ADD SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP3 SUB SWAP2 DUP3 GT PUSH2 0x294 JUMPI JUMP JUMPDEST SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 PUSH2 0x2474 JUMPI POP PUSH2 0x2247 SWAP2 PUSH2 0x2639 JUMP JUMPDEST PUSH1 0x1 PUSH1 0xFF SHL DUP3 EQ PUSH2 0x248A JUMPI JUMPDEST SWAP2 PUSH2 0x2247 SWAP3 PUSH2 0x2A11 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE ADDRESS PUSH1 0x4 DUP3 ADD MSTORE SWAP3 SWAP1 SWAP2 POP PUSH1 0x20 DUP4 PUSH1 0x24 DUP2 DUP6 GAS STATICCALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP1 PUSH2 0x24C0 JUMPI JUMPDEST SWAP1 SWAP3 POP SWAP1 PUSH2 0x2480 JUMP JUMPDEST POP PUSH1 0x20 DUP4 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x24EC JUMPI JUMPDEST DUP2 PUSH2 0x24DA PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI PUSH2 0x2247 SWAP3 MLOAD PUSH2 0x24B7 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x24CD JUMP JUMPDEST SWAP2 SWAP1 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH4 0x1B63C28B PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE SWAP3 DUP2 AND PUSH1 0x24 DUP5 ADD MSTORE SWAP4 DUP5 AND PUSH1 0x44 DUP4 ADD MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x64 DUP4 ADD MSTORE PUSH0 SWAP1 DUP3 SWAP1 PUSH1 0x84 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x2578 JUMPI POP JUMP JUMPDEST PUSH0 PUSH2 0x2247 SWAP2 PUSH2 0x1F74 JUMP JUMPDEST PUSH1 0x40 DUP2 CALLDATALOAD XOR SWAP2 PUSH1 0x60 DUP3 ADD SWAP4 PUSH4 0xFFFFFFFF PUSH1 0x40 DUP5 ADD CALLDATALOAD AND SWAP4 PUSH4 0xFFFFFFE0 PUSH1 0x1F DUP7 ADD AND SWAP1 PUSH1 0x60 DUP3 ADD PUSH1 0x20 DUP7 ADD CALLDATALOAD XOR OR SWAP1 DUP5 ADD SWAP3 PUSH1 0x60 DUP5 ADD CALLDATALOAD SWAP5 PUSH4 0xFFFFFFFF DUP7 AND SWAP5 PUSH5 0x1FFFFFFFE0 PUSH1 0x80 DUP3 ADD SWAP8 PUSH1 0x5 SHL AND DUP1 SWAP2 PUSH0 SWAP3 JUMPDEST DUP1 DUP5 LT PUSH2 0x25ED JUMPI POP PUSH1 0x80 SWAP3 POP ADD ADD SWAP2 ADD LT OR PUSH2 0xD06 JUMPI JUMP JUMPDEST SWAP1 SWAP2 PUSH1 0x20 DUP1 SWAP2 PUSH4 0xFFFFFFE0 PUSH1 0x1F PUSH1 0x80 DUP1 DUP10 DUP10 ADD ADD CALLDATALOAD SWAP12 DUP5 DUP14 XOR OR SWAP12 DUP9 ADD ADD CALLDATALOAD ADD AND ADD ADD SWAP4 ADD SWAP3 SWAP2 SWAP1 PUSH2 0x25D5 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x25A JUMPI MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x25A JUMPI SWAP1 JUMP JUMPDEST PUSH0 DUP1 DUP1 SWAP4 DUP2 SWAP4 GAS CALL ISZERO PUSH2 0x2648 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH19 0x11551217D514905394D1915497D19052531151 PUSH1 0x6A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x70 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x25A JUMPI JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x60 SWAP2 SUB SLT PUSH2 0x25A JUMPI PUSH2 0x26AB DUP2 PUSH2 0x2683 JUMP JUMPDEST SWAP2 PUSH1 0x40 PUSH2 0x26BA PUSH1 0x20 DUP5 ADD PUSH2 0x2683 JUMP JUMPDEST SWAP3 ADD MLOAD PUSH4 0xFFFFFFFF DUP2 AND DUP2 SUB PUSH2 0x25A JUMPI SWAP1 JUMP JUMPDEST SWAP2 PUSH1 0x2 DUP3 LT PUSH2 0x29A8 JUMPI DUP2 ISZERO PUSH2 0x6B4 JUMPI PUSH2 0x26E5 DUP4 PUSH2 0x23DB JUMP JUMPDEST DUP3 PUSH1 0x1 LT ISZERO PUSH2 0x6B4 JUMPI PUSH2 0x2701 SWAP1 PUSH2 0xF74 PUSH1 0x20 DUP7 SWAP8 SWAP6 SWAP7 ADD PUSH2 0x23DB JUMP JUMPDEST POP PUSH1 0x1 NOT DUP5 ADD SWAP5 PUSH0 NOT DUP6 ADD SWAP5 PUSH0 SWAP5 PUSH1 0x20 SWAP4 SWAP3 DUP7 SWAP3 SWAP1 SWAP2 JUMPDEST DUP9 DUP5 LT PUSH2 0x272B JUMPI POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x2739 PUSH2 0xFF0 DUP6 DUP5 DUP7 PUSH2 0x243C JUMP JUMPDEST PUSH2 0x274A PUSH2 0xFF0 PUSH1 0x1 DUP8 ADD DUP6 DUP8 PUSH2 0x243C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x240BC6B PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP4 AND SWAP7 SWAP1 SWAP3 SWAP2 PUSH1 0x60 DUP4 PUSH1 0x4 DUP2 DUP12 GAS STATICCALL SWAP3 DUP4 ISZERO PUSH2 0x9E1 JUMPI DUP10 SWAP1 PUSH0 SWAP1 PUSH0 SWAP6 PUSH2 0x2981 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 DUP4 AND SWAP4 SWAP1 SWAP3 AND DUP4 EQ SWAP4 PUSH1 0x24 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x70 SHL SUB SWAP2 DUP3 AND SWAP3 SWAP2 AND DUP6 ISZERO PUSH2 0x297B JUMPI SWAP2 SWAP4 JUMPDEST PUSH1 0x40 MLOAD SWAP4 DUP5 DUP1 SWAP3 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP3 MSTORE DUP14 PUSH1 0x4 DUP4 ADD MSTORE GAS STATICCALL SWAP2 DUP3 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP3 PUSH2 0x294C JUMPI JUMPDEST POP DUP1 DUP3 SUB SWAP3 DUP2 ISZERO SWAP3 DUP4 DUP1 ISZERO PUSH2 0x2944 JUMPI JUMPDEST PUSH2 0x1300 JUMPI DUP3 PUSH2 0x3E5 DUP7 MUL SWAP6 DUP7 DIV PUSH2 0x3E5 EQ SWAP2 EQ OR ISZERO PUSH2 0x294 JUMPI PUSH2 0x2808 SWAP1 DUP5 PUSH2 0x29B7 JUMP JUMPDEST SWAP2 PUSH2 0x3E8 DUP3 MUL SWAP2 DUP3 DIV PUSH2 0x3E8 EQ OR ISZERO PUSH2 0x294 JUMPI PUSH2 0x282E SWAP3 PUSH2 0x2828 SWAP2 PUSH2 0x221C JUMP JUMPDEST SWAP1 PUSH2 0x29CA JUMP JUMPDEST SWAP1 ISZERO PUSH2 0x293D JUMPI PUSH0 SWAP1 SWAP2 JUMPDEST DUP12 DUP7 LT ISZERO PUSH2 0x2934 JUMPI SWAP1 PUSH2 0x2859 PUSH2 0x28A3 SWAP3 PUSH2 0xF74 PUSH2 0xFF0 PUSH1 0x2 DUP11 ADD DUP9 DUP11 PUSH2 0x243C JUMP JUMPDEST DUP2 SWAP4 SWAP2 PUSH32 0x0 PUSH32 0x0 PUSH2 0x303C JUMP JUMPDEST SWAP2 JUMPDEST SWAP7 PUSH1 0x40 MLOAD SWAP1 PUSH2 0x28B4 DUP11 DUP4 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 DUP3 MSTORE DUP12 CALLDATASIZE DUP12 DUP5 ADD CALLDATACOPY DUP1 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH2 0x2908 SWAP5 PUSH0 DUP1 SWAP5 PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP6 DUP7 SWAP5 DUP6 SWAP4 PUSH4 0x22C0D9F PUSH1 0xE0 SHL DUP6 MSTORE PUSH1 0x4 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP10 AND PUSH1 0x44 DUP5 ADD MSTORE PUSH1 0x80 PUSH1 0x64 DUP5 ADD MSTORE PUSH1 0x84 DUP4 ADD SWAP1 PUSH2 0x684 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP2 DUP3 ISZERO PUSH2 0x9E1 JUMPI PUSH1 0x1 SWAP3 PUSH2 0x2924 JUMPI JUMPDEST POP SWAP4 ADD SWAP3 PUSH2 0x2718 JUMP JUMPDEST PUSH0 PUSH2 0x292E SWAP2 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 PUSH2 0x291B JUMP JUMPDEST POP DUP8 SWAP1 PUSH0 PUSH2 0x28A5 JUMP JUMPDEST PUSH0 SWAP2 PUSH2 0x2838 JUMP JUMPDEST POP DUP2 ISZERO PUSH2 0x27E5 JUMP JUMPDEST SWAP1 SWAP2 POP DUP10 DUP2 DUP2 RETURNDATASIZE DUP4 GT PUSH2 0x2974 JUMPI JUMPDEST PUSH2 0x2964 DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP1 PUSH0 PUSH2 0x27D5 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x295A JUMP JUMPDEST SWAP4 PUSH2 0x27AE JUMP JUMPDEST PUSH1 0x24 SWAP4 SWAP3 SWAP6 POP PUSH2 0x299F SWAP2 POP PUSH1 0x60 RETURNDATASIZE DUP2 GT PUSH2 0x134A JUMPI PUSH2 0x1339 DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST POP SWAP5 SWAP2 SWAP3 PUSH2 0x2781 JUMP JUMPDEST PUSH4 0x2B94AB43 PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST DUP2 DUP2 MUL SWAP3 SWAP2 DUP2 ISZERO SWAP2 DUP5 DIV EQ OR ISZERO PUSH2 0x294 JUMPI JUMP JUMPDEST DUP2 ISZERO PUSH2 0x29D4 JUMPI DIV SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH2 0x2710 DUP3 GT PUSH2 0x2A02 JUMPI PUSH2 0x2710 SWAP2 PUSH2 0x29FE SWAP2 PUSH2 0x29B7 JUMP JUMPDEST DIV SWAP1 JUMP JUMPDEST PUSH4 0x6F5500F3 PUSH1 0xE1 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH0 SWAP2 DUP3 PUSH1 0x44 SWAP3 PUSH1 0x20 SWAP6 PUSH1 0x40 MLOAD SWAP4 PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP6 MSTORE PUSH1 0x4 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD MSTORE GAS CALL RETURNDATASIZE ISZERO PUSH1 0x1F RETURNDATASIZE GT PUSH1 0x1 PUSH0 MLOAD EQ AND OR AND ISZERO PUSH2 0x2A49 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH15 0x1514905394D1915497D19052531151 PUSH1 0x8A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP3 SWAP2 SWAP1 PUSH1 0xB DUP5 LT ISZERO PUSH2 0x2EBE JUMPI PUSH1 0x7 DUP5 SUB PUSH2 0x2BBD JUMPI PUSH2 0x2A9F SWAP3 SWAP4 POP PUSH2 0x33EA JUMP JUMPDEST PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x2AAE DUP3 DUP3 PUSH2 0x33F8 JUMP JUMPDEST SWAP1 POP PUSH0 SWAP3 PUSH2 0x2ABB DUP4 PUSH2 0x23DB JUMP JUMPDEST SWAP1 PUSH2 0x2AC8 PUSH1 0x40 DUP6 ADD PUSH2 0x3360 JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP3 AND ISZERO PUSH2 0x2BA4 JUMPI JUMPDEST SWAP3 SWAP2 PUSH0 SWAP2 JUMPDEST DUP4 DUP4 LT PUSH2 0x2B3A JUMPI POP POP POP POP POP PUSH1 0x60 ADD PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB PUSH2 0x2AFD DUP3 PUSH2 0x3360 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP1 SWAP4 AND SWAP3 AND DUP3 LT PUSH2 0x2B14 JUMPI POP POP JUMP JUMPDEST PUSH2 0x2B1D SWAP1 PUSH2 0x3360 JUMP JUMPDEST PUSH4 0x8B063D73 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH0 REVERT JUMPDEST DUP5 SWAP7 POP PUSH2 0x2B88 SWAP1 PUSH2 0x2B65 PUSH2 0x2B5E DUP6 PUSH2 0x2B58 PUSH2 0x2B8D SWAP7 SWAP8 SWAP9 SWAP10 DUP12 PUSH2 0x33F8 JUMP JUMPDEST SWAP1 PUSH2 0x342D JUMP JUMPDEST SWAP5 DUP6 PUSH2 0x36A1 JUMP JUMPDEST SWAP2 SWAP1 PUSH2 0x2B74 PUSH1 0x80 DUP8 ADD DUP8 PUSH2 0x6C8 JUMP JUMPDEST SWAP4 SWAP1 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH0 SUB SWAP2 PUSH2 0x3531 JUMP JUMPDEST PUSH2 0x3769 JUMP JUMPDEST SWAP5 PUSH1 0x1 PUSH2 0x2B9A DUP8 SWAP4 PUSH2 0x23DB JUMP JUMPDEST SWAP2 SWAP5 SWAP4 ADD SWAP2 PUSH2 0x2ADE JUMP JUMPDEST SWAP1 POP PUSH2 0x2BB7 PUSH2 0x2BB2 DUP4 PUSH2 0x30A9 JUMP JUMPDEST PUSH2 0x350D JUMP JUMPDEST SWAP1 PUSH2 0x2AD9 JUMP JUMPDEST PUSH1 0x6 DUP5 SUB PUSH2 0x2C98 JUMPI PUSH2 0x2BD0 SWAP3 SWAP4 POP PUSH2 0x3351 JUMP JUMPDEST PUSH2 0x2BDC PUSH1 0xC0 DUP3 ADD PUSH2 0x3360 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND ISZERO PUSH2 0x2C47 JUMPI JUMPDEST PUSH2 0x2C34 PUSH2 0x2B88 PUSH1 0xE0 SWAP3 PUSH2 0x2C13 PUSH2 0x2C04 PUSH1 0xA0 DUP8 ADD PUSH2 0x3374 JUMP JUMPDEST SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND PUSH2 0x1FB2 JUMP JUMPDEST SWAP1 PUSH2 0x2C22 PUSH2 0x100 DUP8 ADD DUP8 PUSH2 0x6C8 JUMP JUMPDEST SWAP3 SWAP1 SWAP2 PUSH2 0x2C2F CALLDATASIZE DUP10 PUSH2 0x3381 JUMP JUMPDEST PUSH2 0x3531 JUMP JUMPDEST SWAP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB PUSH2 0x2AFD DUP3 PUSH2 0x3360 JUMP JUMPDEST POP PUSH2 0x2C54 PUSH1 0xA0 DUP3 ADD PUSH2 0x3374 JUMP JUMPDEST ISZERO PUSH2 0x2C7E JUMPI PUSH1 0xE0 PUSH2 0x2C34 PUSH2 0x2B88 PUSH2 0x2C75 PUSH2 0x2BB2 PUSH2 0x2C70 DUP7 PUSH2 0x23DB JUMP JUMPDEST PUSH2 0x30A9 JUMP JUMPDEST SWAP3 POP POP POP PUSH2 0x2BEC JUMP JUMPDEST PUSH1 0xE0 PUSH2 0x2C34 PUSH2 0x2B88 PUSH2 0x2C75 PUSH2 0x2BB2 PUSH2 0x2C70 PUSH1 0x20 DUP8 ADD PUSH2 0x23DB JUMP JUMPDEST PUSH1 0x9 DUP5 SUB PUSH2 0x2DC8 JUMPI PUSH2 0x2CAB SWAP3 SWAP4 POP PUSH2 0x33EA JUMP JUMPDEST PUSH1 0x20 DUP2 ADD SWAP1 PUSH2 0x2CBA DUP3 DUP3 PUSH2 0x33F8 JUMP JUMPDEST PUSH0 SWAP4 SWAP2 POP PUSH2 0x2CCA PUSH1 0x40 DUP5 ADD PUSH2 0x3360 JUMP JUMPDEST PUSH2 0x2CD3 DUP5 PUSH2 0x23DB JUMP JUMPDEST SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP3 AND ISZERO PUSH2 0x2DB4 JUMPI JUMPDEST SWAP3 SWAP2 SWAP3 SWAP1 DUP2 JUMPDEST PUSH2 0x2D42 JUMPI POP POP POP POP PUSH1 0x60 ADD PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB PUSH2 0x2D05 DUP3 PUSH2 0x3360 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB SWAP1 SWAP4 AND SWAP3 AND DUP3 GT PUSH2 0x2D1C JUMPI POP POP JUMP JUMPDEST PUSH2 0x2D25 SWAP1 PUSH2 0x3360 JUMP JUMPDEST PUSH4 0x12BACDD3 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x1 DUP1 PUSH1 0x80 SHL SUB AND PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH0 REVERT JUMPDEST DUP3 SWAP4 SWAP6 POP PUSH2 0x2D93 SWAP1 PUSH2 0x2D6F PUSH2 0x2D68 PUSH2 0x2D5E PUSH2 0x2D9D SWAP6 SWAP7 DUP10 PUSH2 0x33F8 JUMP JUMPDEST PUSH0 NOT DUP9 ADD SWAP2 PUSH2 0x342D JUMP JUMPDEST SWAP8 DUP9 PUSH2 0x36A1 JUMP JUMPDEST PUSH2 0x2D7F PUSH1 0x80 DUP11 SWAP5 SWAP4 SWAP5 ADD DUP11 PUSH2 0x6C8 JUMP JUMPDEST SWAP4 SWAP1 SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP2 ISZERO SWAP1 PUSH2 0x3531 JUMP JUMPDEST PUSH1 0xF SIGNEXTEND PUSH0 SUB PUSH2 0x350D JUMP JUMPDEST SWAP4 PUSH2 0x2DA8 DUP6 SWAP2 PUSH2 0x23DB JUMP JUMPDEST SWAP3 SWAP2 PUSH0 NOT ADD SWAP1 DUP2 PUSH2 0x2CEA JUMP JUMPDEST SWAP1 POP PUSH2 0x2DC2 PUSH2 0x2BB2 DUP4 PUSH2 0x32F4 JUMP JUMPDEST SWAP1 PUSH2 0x2CE4 JUMP JUMPDEST PUSH1 0x8 DUP5 EQ PUSH2 0x2DE6 JUMPI POP POP POP JUMPDEST PUSH4 0x5CDA29D7 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH2 0x2DF1 SWAP3 SWAP4 POP PUSH2 0x3351 JUMP JUMPDEST PUSH2 0x2DFD PUSH1 0xC0 DUP3 ADD PUSH2 0x3360 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND ISZERO PUSH2 0x2E66 JUMPI JUMPDEST PUSH2 0x2E53 PUSH2 0x2BB2 PUSH2 0x2E4B PUSH1 0xE0 SWAP4 PUSH2 0x2E25 PUSH1 0xA0 DUP8 ADD PUSH2 0x3374 JUMP JUMPDEST SWAP1 PUSH2 0x2E34 PUSH2 0x100 DUP9 ADD DUP9 PUSH2 0x6C8 JUMP JUMPDEST SWAP3 SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 PUSH2 0x2C2F CALLDATASIZE DUP11 PUSH2 0x3381 JUMP JUMPDEST PUSH1 0xF SIGNEXTEND PUSH2 0x1FB2 JUMP JUMPDEST SWAP2 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB PUSH2 0x2D05 DUP3 PUSH2 0x3360 JUMP JUMPDEST POP PUSH2 0x2E73 PUSH1 0xA0 DUP3 ADD PUSH2 0x3374 JUMP JUMPDEST ISZERO PUSH2 0x2EA4 JUMPI PUSH1 0xE0 PUSH2 0x2E53 PUSH2 0x2BB2 PUSH2 0x2E4B PUSH2 0x2E9A PUSH2 0x2BB2 PUSH2 0x2E95 PUSH1 0x20 DUP9 ADD PUSH2 0x23DB JUMP JUMPDEST PUSH2 0x32F4 JUMP JUMPDEST SWAP4 POP POP POP POP PUSH2 0x2E0D JUMP JUMPDEST PUSH1 0xE0 PUSH2 0x2E53 PUSH2 0x2BB2 PUSH2 0x2E4B PUSH2 0x2E9A PUSH2 0x2BB2 PUSH2 0x2E95 DUP8 PUSH2 0x23DB JUMP JUMPDEST SWAP3 PUSH1 0xC DUP2 SUB PUSH2 0x2F16 JUMPI POP PUSH2 0x2ED2 SWAP2 SWAP3 PUSH2 0x32E1 JUMP JUMPDEST SWAP1 PUSH2 0x2EDC DUP2 PUSH2 0x32F4 JUMP JUMPDEST SWAP2 DUP1 DUP4 GT PUSH2 0x2EFF JUMPI POP SWAP1 PUSH2 0x2247 SWAP2 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP1 PUSH2 0x31BE JUMP JUMPDEST SWAP1 POP PUSH4 0x12BACDD3 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH0 REVERT JUMPDEST PUSH1 0xF DUP2 SUB PUSH2 0x2F6D JUMPI POP PUSH2 0x2F29 SWAP2 SWAP3 PUSH2 0x32E1 JUMP JUMPDEST SWAP1 PUSH2 0x2F33 DUP2 PUSH2 0x30A9 JUMP JUMPDEST SWAP2 DUP1 DUP4 LT PUSH2 0x2F56 JUMPI POP SWAP1 PUSH2 0x2247 SWAP2 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP1 PUSH2 0x3100 JUMP JUMPDEST SWAP1 POP PUSH4 0x8B063D73 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH0 REVERT JUMPDEST PUSH1 0xB DUP2 SUB PUSH2 0x2FB3 JUMPI POP PUSH2 0x2F84 SWAP1 PUSH2 0x2247 SWAP3 SWAP4 PUSH2 0x3091 JUMP JUMPDEST ISZERO PUSH2 0x2FA8 JUMPI PUSH2 0x2FA2 DUP3 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3780 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE TLOAD SWAP3 PUSH2 0x3199 JUMP JUMPDEST SWAP2 PUSH2 0x31BE JUMP JUMPDEST PUSH2 0x2FA2 DUP3 ADDRESS SWAP3 PUSH2 0x3199 JUMP JUMPDEST PUSH1 0xE DUP2 SUB PUSH2 0x2FE6 JUMPI POP PUSH2 0x2FDA PUSH2 0x2FD0 PUSH2 0x2FE0 SWAP3 PUSH2 0x2247 SWAP5 SWAP6 PUSH2 0x3091 JUMP JUMPDEST SWAP3 DUP3 SWAP5 SWAP3 SWAP2 PUSH2 0x23EF JUMP JUMPDEST SWAP3 PUSH2 0x3185 JUMP JUMPDEST SWAP2 PUSH2 0x3100 JUMP JUMPDEST SWAP3 PUSH1 0x10 DUP5 EQ PUSH2 0x2FF7 JUMPI POP POP POP PUSH2 0x2DD4 JUMP JUMPDEST PUSH2 0x2247 SWAP3 SWAP4 POP PUSH2 0x300D PUSH2 0x3016 SWAP3 PUSH2 0x2FE0 SWAP3 PUSH2 0x3091 JUMP JUMPDEST SWAP3 SWAP2 SWAP4 SWAP1 PUSH2 0x23EF JUMP JUMPDEST SWAP2 PUSH2 0x3020 DUP5 PUSH2 0x30A9 JUMP JUMPDEST PUSH2 0x29E8 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND SWAP1 DUP3 AND LT ISZERO PUSH2 0x711 JUMPI SWAP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT PUSH1 0x60 SWAP5 DUP6 SHL DUP2 AND PUSH1 0x20 DUP4 ADD SWAP1 DUP2 MSTORE SWAP6 SWAP1 SWAP5 SHL SWAP1 SWAP4 AND PUSH1 0x34 DUP5 ADD MSTORE PUSH1 0x28 DUP4 MSTORE SWAP1 SWAP3 SWAP1 SWAP2 PUSH2 0x2204 SWAP2 SWAP1 PUSH2 0x307A PUSH1 0x48 DUP3 PUSH2 0x1F74 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH2 0x21F6 PUSH1 0x40 MLOAD SWAP5 DUP6 SWAP3 PUSH1 0x20 DUP5 ADD SWAP6 DUP7 PUSH2 0x2116 JUMP JUMPDEST SWAP1 PUSH1 0x60 GT PUSH2 0xD06 JUMPI DUP1 CALLDATALOAD SWAP2 PUSH1 0x40 PUSH1 0x20 DUP4 ADD CALLDATALOAD SWAP3 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH2 0x30D4 DUP2 ADDRESS PUSH32 0x0 PUSH2 0x344F JUMP JUMPDEST SWAP1 PUSH0 DUP3 SLT PUSH2 0x30E0 JUMPI POP SWAP1 JUMP JUMPDEST PUSH4 0x4C085BF1 PUSH1 0xE0 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST SWAP1 DUP3 ISZERO PUSH2 0x3180 JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH4 0xB0D9C09 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH0 SWAP1 DUP3 SWAP1 PUSH1 0x64 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x2578 JUMPI POP JUMP JUMPDEST POP POP POP JUMP JUMPDEST SWAP1 DUP2 PUSH2 0x3195 JUMPI PUSH2 0x2421 SWAP2 POP PUSH2 0x30A9 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0xFF SHL DUP3 SUB PUSH2 0x31AF JUMPI PUSH2 0x2421 SWAP2 POP PUSH2 0x34CB JUMP JUMPDEST DUP2 PUSH2 0x3195 JUMPI PUSH2 0x2421 SWAP2 POP PUSH2 0x32F4 JUMP JUMPDEST PUSH0 SWAP2 DUP4 ISZERO PUSH2 0x32DB JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 EXTCODESIZE ISZERO PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH4 0x29610465 PUSH1 0xE2 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE SWAP1 PUSH0 DUP2 PUSH1 0x24 DUP2 DUP4 DUP9 GAS CALL DUP1 ISZERO PUSH2 0x9E1 JUMPI PUSH2 0x32C6 JUMPI JUMPDEST POP DUP1 PUSH2 0x3292 JUMPI POP POP PUSH1 0x20 SWAP1 PUSH1 0x4 PUSH1 0x40 MLOAD DUP1 SWAP6 DUP2 SWAP4 PUSH4 0x476982D PUSH1 0xE2 SHL DUP4 MSTORE GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x3286 JUMPI POP PUSH2 0x325B JUMPI POP JUMP JUMPDEST PUSH2 0x327C SWAP1 PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x327F JUMPI JUMPDEST PUSH2 0x3274 DUP2 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x2043 JUMP JUMPDEST POP JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x326A JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 RETURNDATASIZE SWAP1 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST DUP4 SWAP5 DUP4 PUSH1 0x20 SWAP5 SWAP4 PUSH2 0x32A2 SWAP4 PUSH2 0x2229 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x40 MLOAD DUP1 SWAP6 DUP2 SWAP4 PUSH4 0x476982D PUSH1 0xE2 SHL DUP4 MSTORE GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x3286 JUMPI POP PUSH2 0x325B JUMPI POP JUMP JUMPDEST PUSH2 0x32D3 SWAP2 SWAP5 POP PUSH0 SWAP1 PUSH2 0x1F74 JUMP JUMPDEST PUSH0 SWAP3 PUSH0 PUSH2 0x322C JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST SWAP2 SWAP1 PUSH1 0x40 GT PUSH2 0xD06 JUMPI PUSH1 0x20 DUP3 CALLDATALOAD SWAP3 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH2 0x331F DUP2 ADDRESS PUSH32 0x0 PUSH2 0x344F JUMP JUMPDEST SWAP1 PUSH0 DUP3 SGT PUSH2 0x3331 JUMPI POP PUSH2 0x2421 SWAP1 PUSH2 0x1FB2 JUMP JUMPDEST PUSH4 0x19A8D93 PUSH1 0xE5 SHL PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST SWAP1 PUSH2 0x140 GT PUSH2 0xD06 JUMPI DUP1 CALLDATALOAD ADD SWAP1 JUMP JUMPDEST CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x25A JUMPI SWAP1 JUMP JUMPDEST CALLDATALOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x25A JUMPI SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP3 PUSH1 0xA0 SWAP2 SUB SLT PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD PUSH2 0x3399 DUP2 PUSH2 0x1F45 JUMP JUMPDEST PUSH1 0x80 PUSH2 0x33E5 DUP2 DUP4 SWAP6 PUSH2 0x33AA DUP2 PUSH2 0x2011 JUMP JUMPDEST DUP6 MSTORE PUSH2 0x33B8 PUSH1 0x20 DUP3 ADD PUSH2 0x2011 JUMP JUMPDEST PUSH1 0x20 DUP7 ADD MSTORE PUSH2 0x33C9 PUSH1 0x40 DUP3 ADD PUSH2 0x2025 JUMP JUMPDEST PUSH1 0x40 DUP7 ADD MSTORE PUSH2 0x33DA PUSH1 0x60 DUP3 ADD PUSH2 0x2035 JUMP JUMPDEST PUSH1 0x60 DUP7 ADD MSTORE ADD PUSH2 0x2011 JUMP JUMPDEST SWAP2 ADD MSTORE JUMP JUMPDEST SWAP1 PUSH1 0xA0 GT PUSH2 0xD06 JUMPI DUP1 CALLDATALOAD ADD SWAP1 JUMP JUMPDEST SWAP1 CALLDATALOAD SWAP1 PUSH1 0x1E NOT DUP2 CALLDATASIZE SUB ADD DUP3 SLT ISZERO PUSH2 0x25A JUMPI ADD DUP1 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x25A JUMPI PUSH1 0x20 ADD SWAP2 DUP2 PUSH1 0x5 SHL CALLDATASIZE SUB DUP4 SGT PUSH2 0x25A JUMPI JUMP JUMPDEST SWAP2 SWAP1 DUP2 LT ISZERO PUSH2 0x6B4 JUMPI PUSH1 0x5 SHL DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0x9E NOT DUP2 CALLDATASIZE SUB ADD DUP3 SLT ISZERO PUSH2 0x25A JUMPI ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH0 SWAP1 DUP2 MSTORE SWAP3 DUP3 AND PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP4 DUP5 SWAP1 KECCAK256 SWAP4 MLOAD PUSH4 0x789ADD55 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP5 SWAP1 SWAP5 MSTORE SWAP2 DUP4 SWAP2 PUSH1 0x24 SWAP2 DUP4 SWAP2 AND GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP2 PUSH2 0x349C JUMPI POP SWAP1 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 DUP2 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x34C3 JUMPI JUMPDEST DUP2 PUSH2 0x34B7 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP1 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x34AA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 PUSH2 0x34DE JUMPI POP SELFBALANCE SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x24 SWAP2 PUSH1 0x40 MLOAD SWAP3 DUP4 DUP1 SWAP3 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP3 MSTORE ADDRESS PUSH1 0x4 DUP4 ADD MSTORE GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP2 PUSH2 0x349C JUMPI POP SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB DUP2 AND SWAP2 SWAP1 DUP3 SWAP1 SUB PUSH2 0x3522 JUMPI JUMP JUMPDEST PUSH4 0x93DAFDF1 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST SWAP4 SWAP3 DUP2 ISZERO PUSH2 0x3686 JUMPI PUSH5 0x1000276A4 SWAP5 JUMPDEST PUSH1 0x40 MLOAD SWAP2 PUSH1 0x60 DUP4 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT DUP5 DUP4 LT OR PUSH2 0x1F60 JUMPI PUSH1 0x40 SWAP2 DUP3 MSTORE SWAP4 ISZERO ISZERO DUP1 DUP5 MSTORE PUSH1 0x20 DUP5 DUP2 ADD DUP8 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP10 DUP11 AND DUP7 DUP6 ADD SWAP1 DUP2 MSTORE DUP5 MLOAD PUSH4 0x3CF36453 PUSH1 0xE2 SHL DUP2 MSTORE DUP7 MLOAD DUP13 AND PUSH1 0x4 DUP3 ADD MSTORE DUP7 DUP5 ADD MLOAD DUP13 AND PUSH1 0x24 DUP3 ADD MSTORE SWAP5 DUP7 ADD MLOAD PUSH3 0xFFFFFF AND PUSH1 0x44 DUP7 ADD MSTORE PUSH1 0x60 DUP7 ADD MLOAD PUSH1 0x2 SIGNEXTEND PUSH1 0x64 DUP7 ADD MSTORE PUSH1 0x80 SWAP1 SWAP6 ADD MLOAD DUP11 AND PUSH1 0x84 DUP6 ADD MSTORE SWAP5 MLOAD ISZERO ISZERO PUSH1 0xA4 DUP5 ADD MSTORE SWAP4 MLOAD PUSH1 0xC4 DUP4 ADD MSTORE SWAP2 MLOAD SWAP1 SWAP7 AND PUSH1 0xE4 DUP8 ADD MSTORE PUSH2 0x120 PUSH2 0x104 DUP8 ADD MSTORE SWAP4 SWAP1 SWAP2 DUP6 SWAP2 DUP3 SWAP2 PUSH2 0x3601 SWAP2 PUSH2 0x124 DUP5 ADD SWAP2 PUSH2 0x1FC2 JUMP JUMPDEST SUB DUP2 PUSH0 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP3 DUP4 ISZERO PUSH2 0x9E1 JUMPI PUSH0 SWAP4 PUSH2 0x3652 JUMPI JUMPDEST POP PUSH0 SGT SUB PUSH2 0x364C JUMPI PUSH1 0xF SIGNEXTEND SWAP1 JUMP JUMPDEST PUSH1 0x80 SAR SWAP1 JUMP JUMPDEST SWAP1 SWAP3 POP PUSH1 0x20 DUP2 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x367E JUMPI JUMPDEST DUP2 PUSH2 0x366E PUSH1 0x20 SWAP4 DUP4 PUSH2 0x1F74 JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x25A JUMPI MLOAD SWAP2 PUSH0 PUSH2 0x363E JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x3661 JUMP JUMPDEST PUSH20 0xFFFD8963EFD1FC6A506488495D951D5263988D25 SWAP5 PUSH2 0x3541 JUMP JUMPDEST SWAP1 PUSH0 PUSH1 0x80 PUSH1 0x40 MLOAD PUSH2 0x36B1 DUP2 PUSH2 0x1F45 JUMP JUMPDEST DUP3 DUP2 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MSTORE DUP3 PUSH1 0x40 DUP3 ADD MSTORE DUP3 PUSH1 0x60 DUP3 ADD MSTORE ADD MSTORE PUSH2 0x36D1 DUP3 PUSH2 0x23DB JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND SWAP3 SWAP1 DUP3 AND DUP1 DUP5 LT ISZERO PUSH2 0x375F JUMPI POP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 EQ SWAP3 PUSH1 0x20 DUP2 ADD CALLDATALOAD PUSH3 0xFFFFFF DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH2 0x25A JUMPI PUSH1 0x40 DUP3 ADD CALLDATALOAD SWAP2 DUP3 PUSH1 0x2 SIGNEXTEND DUP1 SWAP4 SUB PUSH2 0x25A JUMPI PUSH1 0x60 ADD CALLDATALOAD SWAP3 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP5 AND DUP1 SWAP5 SUB PUSH2 0x25A JUMPI PUSH1 0x40 MLOAD SWAP5 PUSH2 0x373D DUP7 PUSH2 0x1F45 JUMP JUMPDEST DUP6 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 DUP5 ADD MSTORE PUSH1 0x60 DUP4 ADD MSTORE PUSH1 0x80 DUP3 ADD MSTORE SWAP2 JUMP JUMPDEST SWAP2 POP POP DUP2 SWAP1 PUSH2 0x36EA JUMP JUMPDEST PUSH0 DUP2 PUSH1 0xF SIGNEXTEND SLT PUSH2 0x3522 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0x80 SHL SUB AND SWAP1 JUMP INVALID 0xE DUP8 0xE1 PUSH25 0x8EBD9ED6A7E63C70A374CD3283E41CAD601D21FBE27863899E 0xD4 0xA7 ADDMOD 0xAF 0x28 0xD9 DUP7 BLOBBASEFEE DUP2 0xDF 0xDF PUSH18 0xCAB65F4E5D79A0CF9B083905FB8971425E6C 0xB5 DUP2 0xB3 0xF6 SWAP3 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"671:2026:104:-:0;;;;;;;;;-1:-1:-1;671:2026:104;;;;;;;;1388:10;1410:5;-1:-1:-1;;;;;671:2026:104;1388:28;;;:66;;671:2026;1384:97;;671:2026;1384:97;1463:18;;;;;671:2026;1463:18;;1388:66;-1:-1:-1;1388:10:104;1442:11;-1:-1:-1;;;;;671:2026:104;1420:34;;1388:66;;671:2026;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;671:2026:104;;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;:::i;:::-;;1787:17:123;;;;;:38;;;671:2026:104;1783:66:123;;1942:34;;;671:2026:104;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;2008:15:123;;;:::i;:::-;1324:23:121;636:1:110;930:31;636:1;1308:39:121;;1304:70;;1384:239;;;;671:2026:104;1384:239:121;;2232:42:123;1384:239:121;;;;;671:2026:104;1384:239:121;;;;;2232:42:123;;;:::i;:::-;2278:10;-1:-1:-1;;;;;671:2026:104;;;2232:56:123;2228:86;;2380:108;;;2400:18;;;;2380:108;2499:781;;;2278:10;;;2621:11;2278:10;;;2621:11;;:::i;:::-;671:2026:104;2499:781:123;1118:19:110;;;;;;636:1;;;;;;;;569:53:122;;636:1:110;;1699:36:122;671:2026:104;;;;;;;;;;;-1:-1:-1;;;1004:10:14;;671:2026:104;;;2891:62:123;2278:10;2897:23;2278:10;2897:23;;:::i;:::-;2891:62;:::i;671:2026:104:-;;;;2716:554:123;695:89:112;;;;-1:-1:-1;;;;;;;;;;;695:89:112;;;;2996:34:123;;2992:67;;3243:11;2278:10;;3243:11;;:::i;2992:67::-;3039:20;;;671:2026:104;3039:20:123;671:2026:104;;3039:20:123;636:1:110;671:2026:104;;;;;;;;;;;2380:108:123;2446:18;;;;;2380:108;;2228:86;2297:17;;;671:2026:104;2297:17:123;671:2026:104;;2297:17:123;1304:70:121;1356:18;;;671:2026:104;1356:18:121;671:2026:104;;1356:18:121;1783:66:123;1834:15;;;671:2026:104;1834:15:123;671:2026:104;;1834:15:123;1787:38;1808:17;671:2026:104;1808:17:123;;;1787:38;;671:2026:104;;;;;;-1:-1:-1;;671:2026:104;;;;;;411:41:72;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;;-1:-1:-1;;671:2026:104;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;874:77:111;671:2026:104;;;;;;;;;;;;-1:-1:-1;;671:2026:104;;;;;;739:53:113;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;;-1:-1:-1;;671:2026:104;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;:::i;:::-;672:11:72;-1:-1:-1;;;;;671:2026:104;650:10:72;:34;646:63;;1633:32:68;;;:::i;:::-;1907:27;;;;1903:61;;671:2026:104;2005:24:68;;;;;;671:2026:104;;;;;;;:::i;:::-;;1800:4:109;;671:2026:104;;;;;;;;;;;;;:::i;:::-;;;;2031:13:68;2083:20;2141:19;2083:20;671:2026:104;2083:20:68;;;;:::i;:::-;;313:4:109;;2141:19:68;;;;;:::i;:::-;;;:::i;:::-;671:2026:104;1980:23:68;;1903:61;1943:21;;;671:2026:104;1943:21:68;671:2026:104;;1943:21:68;646:63:72;693:16;;;671:2026:104;693:16:72;671:2026:104;;693:16:72;671:2026:104;;;;;;-1:-1:-1;;671:2026:104;;;;;;626:64:113;-1:-1:-1;;;;;671:2026:104;;;;;;;;;-1:-1:-1;;671:2026:104;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;:::i;:::-;;;;1220:15;:26;1216:66;;602:10:106;624:4;602:27;624:4;;-1:-1:-1;;;;;;;;;;;874:77:111;-1:-1:-1;;;;;671:2026:104;645:46:106;;741:1;602:10;;-1:-1:-1;;;;;;;;;;;722:76:111;741:1:106;:::i;:::-;671:2026:104;-1:-1:-1;;;;;;;;;;;722:76:111;671:2026:104;645:46:106;675:16;;;671:2026:104;675:16:106;671:2026:104;;675:16:106;598:308;894:1;;;:::i;1216:66:104:-;1255:27;;;671:2026;1255:27;671:2026;;1255:27;671:2026;;;-1:-1:-1;;671:2026:104;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;:::i;:::-;624:4:106;602:10;624:4;602:27;624:4;;-1:-1:-1;;;;;;;;;;;874:77:111;-1:-1:-1;;;;;671:2026:104;645:46:106;;741:1;602:10;;-1:-1:-1;;;;;;;;;;;722:76:111;741:1:106;:::i;671:2026:104:-;;;;;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;671:2026:104;;;;;;;;-1:-1:-1;;671:2026:104;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;:::o;1764:790::-;;;;1979:28;;;1975:57;;2139:24;;;;-1:-1:-1;2134:414:104;2165:26;;;;;;1764:790;;;;;:::o;2193:14::-;2240:22;;;;;;;;;;:::i;:::-;;2300:20;;;;;;:::i;:::-;2355:24;;;671:2026;313:4:109;;;671:2026:104;313:4:109;;2836:14:105;671:2026:104;2899:35:105;1800:4:109;2899:35:105;;2895:13761;1800:4:109;;;1454;2992:26:105;;1454:4:109;;;1021;3084:35:105;;1021:4:109;;;3147:36:105;;;3484:419;3950:17;3484:419;;;;3950:17;;;:::i;:::-;4009:41;;;3484:419;;;;;;;-1:-1:-1;;;;;;;;;;;874:77:111;4009:41:105;;4093:14;3484:419;;4093:14;:::i;:::-;4139:5;;;;;;;;;671:2026:104;1008:6:14;;3978:44:123;3974:180;;4009:41:105;4164:17:123;;4191:922;636:1:110;;;;1118:19;-1:-1:-1;;;1004:10:14;;671:2026:104;;;569:53:122;;;-1:-1:-1;1102:35:110;;4508:4:123;4481:44;;671:2026:104;;;;;;1433:10:123;4421:335;3484:419:105;4421:335:123;-1:-1:-1;1384:239:121;;;;6934:23:123;1384:239:121;671:2026:104;1384:239:121;;6737:42:123;636:1:110;1384:239:121;;;;671:2026:104;1384:239:121;6629:51:123;6641:18;;;6616:64;1384:239:121;671:2026:104;;;;;1384:239:121;;;;6737:42:123;;:::i;:::-;671:2026:104;6867:52:123;;;;;;1433:10;6867:52;;671:2026:104;;6934:23:123;;;;3484:419:105;6934:23:123;;1433:10;671:2026:104;1433:10:123;;;;;;:::i;:::-;-1:-1:-1;;;;;671:2026:104;;;;1433:10:123;;;671:2026:104;6934:23:123;-1:-1:-1;;6934:23:123;;;;;;:::i;:::-;671:2026:104;;-1:-1:-1;;;6722:245:123;;-1:-1:-1;;;;;671:2026:104;;;6722:245:123;;;671:2026:104;1433:10:123;;;;;;;;;671:2026:104;;;;;;;1433:10:123;;;671:2026:104;;1433:10:123;;;;671:2026:104;;;;;;;1433:10:123;;;;;;;:::i;:::-;6722:245;;;;;;;;;-1:-1:-1;;;6722:245:123;;;6867:52;4790:43;;-1:-1:-1;4792:40:123;;;;4790:43;:::i;:::-;569:53:122;;;;-1:-1:-1;1102:35:110;;4960:4:123;671:2026:104;;636:1:110;671:2026:104;;;636:1:110;1699:36:122;;671:2026:104;636:1:110;671:2026:104;;;4983:23:123;;;;;4191:922;;4904:199;5045:20;;;;;;3484:419:105;5045:20:123;;;;;;5083:5;3484:419:105;;-1:-1:-1;5123:62:123;;3143:5724:105;2398:8:104;:36;;;;2895:13761:105;2394:144:104;;;2193:14;671:2026;;2139:24;;;;;;;2394:144;671:2026;;;;2461:62;;;;;;;;;;;671:2026;;;;;;;;;;;:::i;:::-;2461:62;;;2398:36;-1:-1:-1;;;2647:36:104;:41;;-1:-1:-1;2398:36:104;;;5123:62:123;5164:21;;;-1:-1:-1;5164:21:123;6722:245;-1:-1:-1;5164:21:123;4792:40;;;4790:43;:::i;6722:245::-;;;;3484:419:105;6722:245:123;;;;;;;;;3484:419:105;6722:245:123;;;:::i;:::-;;;1433:10;;;;;3484:419:105;4790:43:123;1433:10;;;;;6722:245;;;;;;-1:-1:-1;6722:245:123;;;3484:419:105;671:2026:104;1297:4:109;-1:-1:-1;1297:4:109;;;;;6867:52:123;1614:49;6867:52;;;4481:44;;;;;3974:180;1666:4:109;692:35:121;;;;;688:66;;3484:419:105;4104:39:123;671:2026:104;3484:419:105;671:2026:104;1297:4:109;;;;;;;4104:39:123;;4137:4;4104:39;;;671:2026:104;764:81:121;671:2026:104;764:81:121;4104:39:123;;;;;;;-1:-1:-1;4104:39:123;;;3974:180;4093:50;3974:180;;;;;4104:39;;;3484:419:105;4104:39:123;;;;;;;;;1297:4:109;4104:39:123;;;:::i;:::-;;;1297:4:109;;;;;4104:39:123;;;;;;-1:-1:-1;4104:39:123;;4009:41:105;4045:4;4009:41;;;3143:5724;671:2026:104;4178:37:105;;;;;;;;;;;;;;4174:4693;671:2026:104;;;4516:419:105;;4982:17;4516:419;;;;4982:17;;;:::i;:::-;4516:419;;;;;;;-1:-1:-1;;;;;;;;;;;874:77:111;5041:41:105;;4516:419;5126:14;4516:419;;5126:14;:::i;:::-;4516:419;;;-1:-1:-1;;;;;;;;;;;526:88:112;-1:-1:-1;;;1004:10:14;;671:2026:104;;;5899:59:123;5905:21;;;;:::i;5899:59::-;5997:60;;;;;;6018:13;;;;:::i;:::-;6072:30;6068:63;;-1:-1:-1;;;;;;;;;;;;526:88:112;4174:4693:105;3143:5724;;6068:63:123;6111:20;;;-1:-1:-1;6111:20:123;;-1:-1:-1;6111:20:123;5997:60;6043:13;;;;:::i;:::-;5997:60;;5041:41:105;5077:4;5041:41;;;4174:4693;690:4:109;5211:41:105;;690:4:109;;-1:-1:-1;5828:6:105;;5489:258;;;;;-1:-1:-1;;;;;;;;;;;;874:77:111;5812:14:105;5489:258;;;;5812:14;:::i;:::-;5489:258;;5828:6;:::i;5207:3660::-;5868:40;;;;;;;740:4:109;5868:40:105;;740:4:109;;6013:320:105;;;;;;;15527:941:97;;;;;;;;;;;;;;;;;;;;;;;;;;;671:2026:104;;-1:-1:-1;;;15527:941:97;6494:290:105;;;;;-1:-1:-1;;;;;;;;;;;;;;;;874:77:111;671:2026:104;6494:290:105;;;671:2026:104;;854:4:109;;;;6494:290:105;671:2026:104;;854:4:109;;;;;;;;;;-1:-1:-1;;854:4:109;;;;;;;;15527:941:97;854:4:109;;;;;;-1:-1:-1;;;;;854:4:109;;;;;;;;;;;;;;;671:2026:104;854:4:109;;;;671:2026:104;;;;854:4:109;;-1:-1:-1;854:4:109;;;;;;;671:2026:104;;;;854:4:109;-1:-1:-1;671:2026:104;;;;6494:290:105;671:2026:104;;;;;;;;;1297:4:109;15527:941:97;854:4:109;;1297;:::i;:::-;671:2026:104;854:4:109;;;671:2026:104;854:4:109;671:2026:104;854:4:109;;;671:2026:104;854:4:109;;;-1:-1:-1;;854:4:109;;;;;;:::i;:::-;6494:290:105;671:2026:104;;6494:290:105;;;;;;:::i;:::-;6443:367;;671:2026:104;6451:7:105;-1:-1:-1;;;;;671:2026:104;6443:367:105;;;;;:::i;:::-;6423:387;3143:5724;;854:4:109;;;;;;;;671:2026:104;854:4:109;;;:::i;:::-;;;;;;;;;15527:941:97;;-1:-1:-1;15527:941:97;;;;5864:3003:105;6843:25;;;;;-1:-1:-1;6843:25:105;775:4:109;6843:25:105;;775:4:109;;7109:261:105;7417:14;7109:261;;;;7417:14;:::i;:::-;671:2026:104;-1:-1:-1;;;;;7109:261:105;;;;671:2026:104;;;7109:261:105;671:2026:104;;;;2672:21:114;;2711:23;;;2707:53;;2778:11;2774:51;;2620:439;;;3143:5724:105;;2774:51:114;2817:7;;;:::i;:::-;2774:51;;;;2707:53;4065:17;;;-1:-1:-1;2743:17:114;775:4:109;-1:-1:-1;2743:17:114;2620:439;671:2026:104;7109:261:105;671:2026:104;1297:4:109;;;;2866:37:114;;2897:4;775::109;2866:37:114;;671:2026:104;7109:261:105;2866:37:114;;;;;;;;;;;-1:-1:-1;2866:37:114;;;2620:439;2921:23;;;2917:55;;2990:11;2986:62;;2620:439;;;;3143:5724:105;;2986:62:114;3040:7;;;:::i;:::-;2986:62;;;;;2917:55;2953:19;;;-1:-1:-1;2953:19:114;775:4:109;-1:-1:-1;2953:19:114;2866:37;;;;7109:261:105;2866:37:114;;;;;;;;;1297:4:109;2866:37:114;;;:::i;:::-;;;1297:4:109;;;;;2866:37:114;;;;;;;-1:-1:-1;2866:37:114;;6839:2028:105;813:4:109;7476:28:105;;813:4:109;;7741:257:105;;;8059:5;7741:257;;;;8043:14;7741:257;;;;8043:14;:::i;:::-;7741:257;;8059:5;:::i;7472:1395::-;854:4:109;8098:31:105;;854:4:109;;8365:256:105;;;;;;8673:14;8365:256;;;;8673:14;:::i;:::-;671:2026:104;8365:256:105;-1:-1:-1;;;;;671:2026:104;1827:22:114;671:2026:104;;1883:21:114;1935:30;2005:6;1883:21;;1935:30;:::i;:::-;2005:6;;:::i;1823:405::-;671:2026:104;8365:256:105;671:2026:104;1297:4:109;;;2061:37:114;;2092:4;775::109;2061:37:114;;671:2026:104;8365:256:105;2061:37:114;;;;;;;;;;;-1:-1:-1;2061:37:114;;;1823:405;2129:30;2210:6;2129:30;;;;:::i;:::-;2210:6;;:::i;2061:37::-;;;8365:256:105;2061:37:114;;;;;;;;;1297:4:109;2061:37:114;;;:::i;:::-;;;1297:4:109;;;;;2210:6:114;2061:37;;;;;-1:-1:-1;2061:37:114;;8094:773:105;16604:27;;;-1:-1:-1;8817:27:105;775:4:109;671:2026:104;1800:4:109;-1:-1:-1;8817:27:105;3080:11269;1021:4:109;8963:36:105;;;;;;;;;;;;;;8959:5372;1021:4:109;;;9300:419:105;3142:28:121;9300:419:105;;;;3142:28:121;;;:::i;:::-;9836:41:105;9300:419;;;;;;;-1:-1:-1;;;;;;;;;;;874:77:111;9836:41:105;;9920:14;9300:419;;9920:14;:::i;:::-;671:2026:104;;;;;2959:7:120;;;:::i;:::-;671:2026:104;;;;;;892:26:119;935:55;671:2026:104;2968:7:120;9300:419:105;671:2026:104;;2968:7:120;:::i;:::-;892:26:119;;:::i;:::-;2927:30:120;;2907:18;935:55:119;:::i;:::-;3003:34:120;;;2986:208;;9836:41:105;-1:-1:-1;;;;;307:1:110;;;;;;;-1:-1:-1;;;;;671:2026:104;3227:21:120;;;;;;;:::i;:::-;;:::i;:::-;671:2026:104;;9300:419:105;671:2026:104;1297:4:109;;;;3283:29:120;;671:2026:104;;;;;;;3283:29:120;;;;;671:2026:104;9300:419:105;3283:29:120;;;;;;;;;;;-1:-1:-1;3283:29:120;;;9836:41:105;3348:9:120;;;;;9300:419:105;3348:9:120;;;:::i;:::-;3283:29;9300:419:105;671:2026:104;1297:4:109;;;;;;;3389:29:120;;3283;3389;;671:2026:104;3389:29:120;;;;;;;-1:-1:-1;3389:29:120;;;9836:41:105;9300:419;;3389:45:120;9300:419:105;;;;3389:45:120;;:::i;:::-;3448:28;3444:62;3080:11269:105;3444:62:120;3485:21;;;-1:-1:-1;3485:21:120;3283:29;-1:-1:-1;3485:21:120;3389:29;;;9300:419:105;3389:29:120;;;;;;;;;1297:4:109;3389:29:120;;;:::i;:::-;;;1297:4:109;;;;;;;9300:419:105;3389:29:120;;;;;-1:-1:-1;3389:29:120;;3283;;;;;;9300:419:105;3283:29:120;;;;;;;;;1297:4:109;3283:29:120;;;:::i;:::-;;;1297:4:109;;;;;;3283:29:120;;1297:4:109;;3283:29:120;;3348:9;3283:29;;;;;-1:-1:-1;3283:29:120;;2986:208;3174:8;671:2026:104;3147:7:120;;;:::i;:::-;3174:8;:::i;:::-;2986:208;;;;;9836:41:105;9872:4;9836:41;;;8959:5372;1068:4:109;10005:37:105;;1068:4:109;;3142:28:121;;;;;:::i;:::-;10343:419:105;;;;;;;-1:-1:-1;;;;;;;;;;;874:77:111;10879:41:105;;10964:14;10343:419;;10964:14;:::i;:::-;4207:18:120;;4227:30;;4170:105;-1:-1:-1;5668:15:119;5682:1;5668:15;;5664:41;;10343:419:105;;;;;-1:-1:-1;;307:1:110;;;;;;;5748:27:119;;5743:295;5777:5;;;10343:419:105;;;;;;4289:26:120;;4285:59;;671:2026:104;;;;4447:9:120;4376:7;;4403:8;4376:7;;;;:::i;4403:8::-;4447:9;:::i;4285:59::-;4324:20;;;-1:-1:-1;4324:20:120;3352:34:119;-1:-1:-1;4324:20:120;5784:3:119;307:1:110;;;;;;;;;;;;;;;5941:11:119;;1680:55;5941:11;;;;:::i;:::-;1637:26;5954:7;;;;;;:::i;:::-;1637:26;;:::i;:::-;1680:55;;;;;;;:::i;:::-;10343:419:105;671:2026:104;-1:-1:-1;;;3352:34:119;;671:2026:104;;;;3352:34:119;671:2026:104;-1:-1:-1;;;;;671:2026:104;;3352:34:119;;;;;;;-1:-1:-1;;;3352:34:119;;;5784:3;-1:-1:-1;;;;;;671:2026:104;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;3419:16:119;671:2026:104;;3419:62:119;;;4800:14;;;:33;;;;3419:62;4796:63;;4889:21;;;;:::i;:::-;192:6:96;4913:4:119;192:6:96;;;;;;4913:4:119;192:6:96;;;;;;;4950:22:119;;;:::i;:::-;4976:3;192:6:96;;;;;;4976:3:119;192:6:96;;;;;;;5001:23:119;;;:::i;:::-;671:2026:104;636:1:110;;;;;;;5784:3:119;671:2026:104;;;;-1:-1:-1;;671:2026:104;;5748:27:119;671:2026:104;5748:27:119;;4796:63;4842:17;;;-1:-1:-1;4842:17:119;3352:34;-1:-1:-1;4842:17:119;4800:33;4818:15;;;4800:33;;3419:62;;;;3352:34;;;;;;;671:2026:104;3352:34:119;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;5664:41;5692:13;;;-1:-1:-1;5692:13:119;;-1:-1:-1;5692:13:119;10879:41:105;10915:4;10879:41;;;10001:4330;11049:34;;;;;;;1112:4:109;11049:34:105;;1112:4:109;;11431:17:105;;;15527:941:97;;;;;;;;;;;;;;;;;;;;;;;;;;;;671:2026:104;;-1:-1:-1;;;15527:941:97;11588:289:105;;;;;-1:-1:-1;;;;;;;;;;;;;;;;874:77:111;671:2026:104;11588:289:105;;;671:2026:104;-1:-1:-1;;;;11588:289:105;;;;671:2026:104;;1297:4:109;;671:2026:104;1297:4:109;;;;;;874:77:111;1297:4:109;:::i;:::-;671:2026:104;;;;;1297:4:109;;;;;:::i;:::-;671:2026:104;1297:4:109;;;671:2026:104;1297:4:109;671:2026:104;1297:4:109;;;671:2026:104;1297:4:109;;;;;;;;;;:::i;11045:3286:105:-;11936:28;;;;;;;1150:4:109;11936:28:105;;1150:4:109;;12153:182:105;;12377:14;12153:182;;;;;;12377:14;:::i;:::-;12393:6;;-1:-1:-1;;;3313:42:114;;671:2026:104;;3380:21:114;;;3309:194;3516:10;3512:182;;11932:2399:105;;3143:5724;;3512:182:114;3542:5;-1:-1:-1;;;;;671:2026:104;;3542:30:114;;;;;671:2026:104;;-1:-1:-1;;;3542:30:114;;-1:-1:-1;671:2026:104;3542:30:114;671:2026:104;3542:30:114;;;;;;;;;;3512:182;-1:-1:-1;;;;;;671:2026:104;;3611:4:114;3590:26;;3586:98;;3512:182;;;;3586:98;3636:33;12153:182:105;671:2026:104;-1:-1:-1;671:2026:104;;1297:4:109;;;;;;;;3636:33:114;;3542:30;3636:33;;671:2026:104;678:66:94;;;671:2026:104;3636:33:114;;;;;;;;3586:98;;;;;3636:33;;;12153:182:105;3636:33:114;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;3542:30;-1:-1:-1;3542:30:114;;;:::i;:::-;;;;3309:194;3431:21;-1:-1:-1;3418:85:114;3309:194;3418:85;4065:17;;;-1:-1:-1;3475:17:114;;-1:-1:-1;3475:17:114;11932:2399:105;1191:4:109;12433:31:105;;1191:4:109;;12656:185:105;;12887:14;12656:185;;12887:14;:::i;:::-;671:2026:104;;-1:-1:-1;;;3977:30:114;;4001:4;3977:30;;;671:2026:104;;;3977:5:114;-1:-1:-1;;;;;671:2026:104;;12656:185:105;671:2026:104;3977:30:114;671:2026:104;;3977:30:114;;;;;;;-1:-1:-1;3977:30:114;;;12429:1902:105;12656:185;;;;4021:21:114;;4017:76;;4106:9;4102:171;;12429:1902:105;;;3143:5724;;4102:171:114;4131:21;;;;;-1:-1:-1;671:2026:104;;3977:30:114;671:2026:104;;1297:4:109;;;;;;;4131:21:114;;;3977:30;4131:21;;671:2026:104;4131:21:114;;;;;;;;4102:171;-1:-1:-1;4001:4:114;-1:-1:-1;;;;;671:2026:104;;4170:26:114;4166:97;;4102:171;;;;4166:97;4242:5;;;:::i;:::-;4166:97;;;;4131:21;-1:-1:-1;4131:21:114;;;:::i;:::-;;;;3977:30;;;;12656:185:105;3977:30:114;;;;;;;;;1297:4:109;3977:30:114;;;:::i;:::-;;;1297:4:109;;;;;;12656:185:105;3977:30:114;;;;;-1:-1:-1;3977:30:114;;12429:1902:105;1248:4:109;12946:47:105;;;;;;;;;;;;;;;12942:1389;1248:4:109;;;13149:24:105;2262:428:121;;;;;;;;2719:23;2262:428;;;;;;;;2719:23;;:::i;:::-;-1:-1:-1;2699:70:121;;-1:-1:-1;;;;;;;;;;;;;;;;874:77:111;671:2026:104;;874:77:111;-1:-1:-1;1338:3:116;1321:15;;;;;;671:2026:104;-1:-1:-1;;;;;1361:20:116;671:2026:104;;;;;;2262:428:121;671:2026:104;1361:20:116;:::i;:::-;671:2026:104;1361:29:116;1357:65;;671:2026:104;;1306:13:116;;1357:65;1399:23;;;-1:-1:-1;1399:23:116;;-1:-1:-1;1399:23:116;1321:15;;;;;;;;;;;;;;;671:2026:104;;;;;1442:7:116;671:2026:104;1442:34:116;;;;;;671:2026:104;;-1:-1:-1;;;1442:34:116;;2262:428:121;1442:34:116;;;671:2026:104;;;;;;;;;;;;;;-1:-1:-1;;671:2026:104;;;;;;1442:34:116;;;;;-1:-1:-1;1442:34:116;;;;;;;;;;;;;671:2026:104;12942:1389:105;3143:5724;;1442:34:116;-1:-1:-1;1442:34:116;;;:::i;:::-;;;;671:2026:104;;;-1:-1:-1;671:2026:104;;;;;;;-1:-1:-1;;;;;1297:4:109;671:2026:104;1297:4:109;:::i;:::-;671:2026:104;;;;;;;;1297:4:109;2262:428:121;671:2026:104;;1297:4:109;:::i;:::-;671:2026:104;2262:428:121;671:2026:104;;;;;;;;1297:4:109;671:2026:104;;;1297:4:109;:::i;:::-;671:2026:104;;;;;;;;;;1297:4:109;671:2026:104;;;1297:4:109;:::i;:::-;671:2026:104;;;;;;854:4:109;;671:2026:104;;;;;;;;12942:1389:105;13455:39;;;;;;;1297:4:109;13455:39:105;;;;;;;13451:880;1297:4:109;;;-1:-1:-1;13731:258:105;671:2026:104;-1:-1:-1;;;14025:29:105;;-1:-1:-1;;;;;13731:258:105;;671:2026:104;;14025:29:105;;;671:2026:104;;;13731:258:105;;;671:2026:104;;14025:29:105;;671:2026:104;;13731:258:105;;;;671:2026:104;14025:29:105;;;;;;;-1:-1:-1;14025:29:105;;;13451:880;-1:-1:-1;13731:258:105;;;-1:-1:-1;14025:43:105;;12429:1902;14095:63;13731:258;671:2026:104;-1:-1:-1;;;13731:258:105;14118:40;;1297:4:109;14025:29:105;14118:40;;671:2026:104;;-1:-1:-1;14118:40:105;14025:29;671:2026:104;14118:40:105;:::i;14025:29::-;;;;13731:258;14025:29;;;;;;;;;1297:4:109;14025:29:105;;;:::i;:::-;;;1297:4:109;;;;;;13731:258:105;14025:29;;;;;-1:-1:-1;14025:29:105;;2988:13187;1454:4:109;14433:27:105;;;;;;;;;;;;;;14429:1732;1454:4:109;;;-1:-1:-1;671:2026:104;;-1:-1:-1;;;1162:30:68;;671:2026:104;1162:30:68;;;671:2026:104;;-1:-1:-1;;671:2026:104;;;;;;;;;;;;:::i;:::-;1162:30:68;671:2026:104;;1162:11:68;-1:-1:-1;;;;;671:2026:104;1162:30:68;;;;;;;;14429:1732:105;2988:13187;;1162:30:68;;;-1:-1:-1;1162:30:68;;;;;;:::i;:::-;;;671:2026:104;;;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;671:2026:104;;;;;;;;;;;;;1162:30:68;;;14429:1732:105;14783:46;;;;;1510:4:109;14783:46:105;;;;14779:1382;1510:4:109;;;-1:-1:-1;1297:4:109;1788:72:117;;-1:-1:-1;;;;;;1297:4:109;-1:-1:-1;;;1874:41:117;;1870:102;;671:2026:104;;-1:-1:-1;671:2026:104;;;;;;;;;;;;;;;;14921:41:105;;671:2026:104;14929:19:105;-1:-1:-1;;;;;671:2026:104;14921:41:105;;;;;:::i;1870:102:117:-;3688:23;;;-1:-1:-1;1938:23:117;;1297:4:109;671:2026:104;-1:-1:-1;1938:23:117;14779:1382:105;1564:4:109;14991:44:105;;1564:4:109;;-1:-1:-1;;;;;;;;;;;;874:77:111;;2177:72:117;;-1:-1:-1;;;;;;1297:4:109;-1:-1:-1;;;993:66:117;;:138;;;;14987:1174:105;993:207:117;;;;14987:1174:105;2263:25:117;2259:86;;-1:-1:-1;671:2026:104;;-1:-1:-1;;;1422:36:117;;2380:156;;;;;1422:36;;;671:2026:104;;;1422:19:117;-1:-1:-1;;;;;671:2026:104;;2380:156:117;;1800:4:109;671:2026:104;1422:36:117;671:2026:104;;1422:36:117;;;;;;;-1:-1:-1;1422:36:117;;;14987:1174:105;-1:-1:-1;;;;;;671:2026:104;;;;;1475:15:117;;;;:69;;;;14987:1174:105;1475:136:117;;;;14987:1174:105;2980:39:117;;;2976:107;;671:2026:104;;;-1:-1:-1;671:2026:104;;;;;;;;;;;;;;;;15149:41:105;;;;;;;:::i;2976:107:117:-;3042:30;;;-1:-1:-1;3042:30:117;2380:156;671:2026:104;1422:36:117;-1:-1:-1;3042:30:117;1475:136;671:2026:104;;-1:-1:-1;;;1560:51:117;;2380:156;1560:51;;671:2026:104;;;;1422:36:117;671:2026:104;;;;-1:-1:-1;1800:4:109;671:2026:104;1560:51:117;671:2026:104;1560:51:117;;;;;;;;-1:-1:-1;1560:51:117;;;1475:136;;;;;;1560:51;;;;1800:4:109;1560:51:117;;;;;;;;;:::i;:::-;;;;1475:69;671:2026:104;;;;1297:4:109;;;1494:40:117;;;2380:156;1494:40;;671:2026:104;1800:4:109;1494:40:117;1422:36;1494:40;;;;;;;;;;-1:-1:-1;1494:40:117;;;1475:69;-1:-1:-1;;;;;;671:2026:104;1494:50:117;;1475:69;;1494:40;;;;1800:4:109;1494:40:117;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;1422:36;;;;1800:4:109;1422:36:117;;;;;;;;;:::i;:::-;;;;993:207;-1:-1:-1;;;;1147:53:117;;993:207;;:138;-1:-1:-1;;;;1075:56:117;;993:138;;14987:1174:105;1612:4:109;15219:38:105;;1612:4:109;;-1:-1:-1;;671:2026:104;;-1:-1:-1;;;15620:64:105;;;;;;-1:-1:-1;;;;671:2026:104;-1:-1:-1;;;;;1666:4:109;671:2026:104;1666:4:109;:::i;:::-;671:2026:104;15620:64:105;;;671:2026:104;-1:-1:-1;;;;;1666:4:109;15620:64:105;1666:4:109;;;:::i;:::-;671:2026:104;1666:4:109;;;671:2026:104;1666:4:109;;671:2026:104;1666:4:109;;;:::i;:::-;;;;;;;671:2026:104;1666:4:109;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;1666:4:109;;;;;:::i;:::-;671:2026:104;1666:4:109;;;671:2026:104;15369:160:105;;;-1:-1:-1;;;;;671:2026:104;1666:4:109;;;;671:2026:104;;;;15620:64:105;;;;1666:4:109;15620:64:105;:::i;:::-;15594:91;;671:2026:104;15602:11:105;-1:-1:-1;;;;;671:2026:104;15594:91:105;;;;;:::i;15215:946::-;1666:4:109;15714:44:105;;1666:4:109;;-1:-1:-1;3522:72:117;;-1:-1:-1;;;;;;1297:4:109;-1:-1:-1;;;3607:58:117;;3603:119;;671:2026:104;;3831:1:117;671:2026:104;;;4102:27:117;:16;-1:-1:-1;;671:2026:104;;3831:1:117;671:2026:104;;4102:16:117;:::i;:::-;:27;;:::i;:::-;-1:-1:-1;4216:24:117;;;;;;15968:21:105;;;-1:-1:-1;15968:21:105;;;;671:2026:104;;;;;;;;;;;;;;15927:71:105;;15935:19;-1:-1:-1;;;;;671:2026:104;15927:71:105;;;;;:::i;4242:13:117:-;4294:20;;;;;:::i;:::-;;671:2026:104;313:4:109;4351:36:117;;:76;;;;;4242:13;4351:131;;;;4242:13;4330:224;;;671:2026:104;;4191:23:117;;4330:224;4522:17;;;-1:-1:-1;4522:17:117;3831:1;-1:-1:-1;4522:17:117;4351:131;740:4:109;4451:31:117;;;4351:131;;;:76;671:2026:104;4391:36:117;;;-1:-1:-1;4351:76:117;;2895:13761:105;16240:36;;;;;1800:4:109;16240:36:105;;;;;;;;;;16236:410;1800:4:109;;;3540:34:121;;;;;:::i;:::-;1800:4:109;671:2026:104;;;;;16442:56:105;;;;;;;;;;671:2026:104;16442:56:105;;;1800:4:109;;;;;;:::i;:::-;;;;;;;;;;;;671:2026:104;;;16442:56:105;671:2026:104;;1800:4:109;16442:56:105;1800:4:109;;;;;;;;-1:-1:-1;671:2026:104;;;1800:4:109;;;;;;;;;;16442:56:105;;;;;;;;;;;-1:-1:-1;16442:56:105;;;;;671:2026:104;;16442:56:105;;;;;;:::i;:::-;16421:78;16430:4;;;16421:78;;;;;:::i;1800:4:109:-;671:2026:104;;;;;;;;;;1800:4:109;;;;;;;;;;;;;;;;16442:56:105;1800:4:109;;;;;-1:-1:-1;;;;;1800:4:109;;;;;;;;;;;;16442:56:105;1800:4:109;;;;;;:::i;:::-;;;;;;;;;;;;;;1975:57:104;2016:16;;;-1:-1:-1;2016:16:104;;-1:-1:-1;2016:16:104;671:2026;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;:::o;:::-;;;;-1:-1:-1;671:2026:104;;;;;-1:-1:-1;671:2026:104;;;;;;-1:-1:-1;;671:2026:104;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;671:2026:104;;;;;;-1:-1:-1;;671:2026:104;;;;:::o;:::-;-1:-1:-1;;;671:2026:104;;;;;;;:::o;1800:4:109:-;;;671:2026:104;1800:4:109;;671:2026:104;;;;;;;-1:-1:-1;671:2026:104;;;;;;;;-1:-1:-1;;671:2026:104;1800:4:109;;;:::o;:::-;;;;;;;;;;:::i;:::-;671:2026:104;;;;;;;:::i;:::-;1800:4:109;;;-1:-1:-1;1800:4:109;;;;:::o;:::-;671:2026:104;1800:4:109;:::o;1666:::-;;;-1:-1:-1;;;;;671:2026:104;;;;;;1666:4:109:o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;1297:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;;;;;1297:4:109;;;:::i;:::-;671:2026:104;;;-1:-1:-1;;;;;1297:4:109;;;;;:::i;:::-;671:2026:104;1297:4:109;;;671:2026:104;1297:4:109;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;:::o;15396:1078:97:-;;;15527:941;;;;;;;;;;;;;;;;;;;;;;;;;15396:1078::o;:::-;;;15527:941;;;;;;;;;;;;;;;;;;;;;;;;;;;15396:1078::o;671:2026:104:-;-1:-1:-1;;;;;;671:2026:104;;;;;;;-1:-1:-1;;;;;;671:2026:104;;;;;;;;;;;;;;;;;;;;;;:::o;6980:631:123:-;;-1:-1:-1;;;;;671:2026:104;;;;;;7102:15:123;7098:56;;6980:631;671:2026:104;;;-1:-1:-1;;;;;671:2026:104;;;7422:31:123;;;671:2026:104;;;;;;;;;;;1666:4:109;;671:2026:104;;;;1666:4:109;;;;7422:31:123;;;;671:2026:104;7422:31:123;:::i;:::-;671:2026:104;7412:42:123;;671:2026:104;;7281:259:123;;;;7422:31;7281:259;;7484:30;;7364:18;;7281:259;;:::i;:::-;;671:2026:104;;7281:259:123;;;;;;:::i;:::-;671:2026:104;;7246:316:123;;-1:-1:-1;;;;;671:2026:104;;6980:631:123:o;7098:56::-;7138:16;;;7098:56;;636:1:110;;;;;;;;;;:::o;1798:257:116:-;;;;;-1:-1:-1;;;;;671:2026:104;;1933:4:116;1916:22;1933:4;;1962:6;;;;:::i;:::-;1798:257::o;1912:136::-;671:2026:104;;-1:-1:-1;;;;;368:25:136;;364:50;;2029:18:116;;-1:-1:-1;;;;;671:2026:104;;2029:18:116;:::i;364:50:136:-;402:12;;;-1:-1:-1;402:12:136;;-1:-1:-1;402:12:136;6326:648:123;;;636:1:110;1308:39:121;;1304:70;;1384:239;671:2026:104;;1384:239:121;;;1433:10:123;1384:239:121;;;;6934:23:123;636:1:110;1384:239:121;;;;;6629:51:123;6737:42;6662:18;;;6616:64;;671:2026:104;1384:239:121;671:2026:104;;;;;1384:239:121;;;;6737:42:123;;:::i;:::-;671:2026:104;6867:52:123;;;;;;1433:10;6867:52;;1433:10;671:2026:104;;6934:23:123;;;;;;;1433:10;1384:239:121;1433:10:123;;;;:::i;:::-;-1:-1:-1;;;;;671:2026:104;;;;1433:10:123;;;671:2026:104;6934:23:123;-1:-1:-1;;6934:23:123;;;;;;:::i;:::-;671:2026:104;;1297:4:109;;;;;;;;;;6722:245:123;;671:2026:104;;;;;;6722:245:123;;;671:2026:104;1433:10:123;;;;;;;671:2026:104;;;;;;;1433:10:123;;;671:2026:104;1433:10:123;;;;;;;;;;:::i;:::-;6722:245;;;;;;;;671:2026:104;;;6722:245:123;;;6691:276;;6326:648;:::o;6722:245::-;;;;671:2026:104;6722:245:123;;671:2026:104;6722:245:123;;;;;;671:2026:104;6722:245:123;;;:::i;:::-;;;1433:10;;;;6934:23;1433:10;;;;;6691:276;6326:648;:::o;6722:245::-;;;-1:-1:-1;6722:245:123;;6867:52;1614:49;6867:52;;;2076:700:121;;2262:428;;;;;;;2719:23;2262:428;;;;;;;;;;2719:23;;:::i;:::-;-1:-1:-1;2699:70:121;;2076:700::o;671:2026:104:-;;-1:-1:-1;;;;;671:2026:104;;;;;;;:::o;16867:313:105:-;-1:-1:-1;;;;;671:2026:104;;;16945:39:105;;885:1:94;;874:77:111;;-1:-1:-1;;;;;;;;;;;874:77:111;17000:18:105;:::o;16941:233::-;1034:1:94;17039:41:105;1034:1:94;;17111:4:105;;17096:20;:::o;17035:139::-;17147:16;:::o;678:66:94:-;;;;;;;;;;671:2026:104;;;678:66:94;;;;;:::o;671:2026:104:-;;;;;;;;;;;;:::o;307:1:110:-;;;;;;;;;;:::o;1062:385:114:-;;;;-1:-1:-1;;;;;671:2026:104;1147:22:114;671:2026:104;;1211:5:114;;;;:::i;1143:298::-;-1:-1:-1;;;1252:41:114;;1248:125;;1143:298;1424:5;;;;:::i;1248:125::-;671:2026:104;;-1:-1:-1;;;1321:37:114;;1352:4;1321:37;;;671:2026:104;;;;-1:-1:-1;671:2026:104;;1321:37:114;671:2026:104;;1321:37:114;;;;;;438:1:110;1321:37:114;;;1248:125;;;-1:-1:-1;1248:125:114;;;1321:37;;671:2026:104;1321:37:114;;671:2026:104;1321:37:114;;;;;;1297:4:109;1321:37:114;;;:::i;:::-;;;1297:4:109;;;;1424:5:114;1297:4:109;;1321:37:114;;;;;-1:-1:-1;1321:37:114;;724:157:116;;;829:7;-1:-1:-1;;;;;671:2026:104;;829:45:116;;;;;671:2026:104;;-1:-1:-1;;;829:45:116;;-1:-1:-1;;;;;671:2026:104;;;829:45:116;;;671:2026:104;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;671:2026:104;;829:45:116;;671:2026:104;;-1:-1:-1;;829:45:116;;;;;;;;724:157;:::o;829:45::-;-1:-1:-1;829:45:116;;;:::i;1143:2631:97:-;1311:2457;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1143:2631::o;1311:2457::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;671:2026:104;;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;:::o;799:339:141:-;-1:-1:-1;799:339:141;;;;;937:145;;671:2026:104;;;799:339:141:o;671:2026:104:-;;;-1:-1:-1;;;671:2026:104;;;;;;;;;;;;-1:-1:-1;;;671:2026:104;;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;:::o;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;:::o;657:1601:120:-;;792:1;778:15;;774:43;;671:2026:104;;;;934:7:120;;;:::i;:::-;671:2026:104;948:1:120;671:2026:104;;;;906:45:120;671:2026:104;943:7:120;671:2026:104;;;;;;943:7:120;:::i;906:45::-;-1:-1:-1;;;671:2026:104;;;-1:-1:-1;;671:2026:104;;;307:1:110;;671:2026:104;;307:1:110;;;1087:9:120;;1098:18;;;;;;657:1601;;;;;;;;;;:::o;1118:3::-;1176:7;;;;;;:::i;:::-;1185:11;;948:1;671:2026:104;;1185:11:120;;;:::i;:::-;671:2026:104;;-1:-1:-1;;;1255:34:120;;-1:-1:-1;;;;;671:2026:104;;;;;;;1255:34:120;671:2026:104;1255:34:120;671:2026:104;;1255:34:120;;;;;;;;;939:1;;;1255:34;;;1118:3;-1:-1:-1;;;;;;671:2026:104;;;;;;;1375:15:120;;;1476:28;;-1:-1:-1;;;;;671:2026:104;;;;;;1375:61:120;;;;;;;671:2026:104;;1297:4:109;;;;;;;1476:28:120;;;1255:34;1476:28;;671:2026:104;1476:28:120;;;;;;;939:1;1476:28;;;1375:61;671:2026:104;;;;4001:14:119;;;;;:33;;;;1375:61:120;3997:63:119;;192:6:96;4107:3:119;192:6:96;;;;;4107:3:119;192:6:96;;;;;;;4140:28:119;;;;:::i;:::-;192:6:96;4212:4:119;192:6:96;;;;;4212:4:119;192:6:96;;;;;4256:23:119;4200:34;;;;:::i;:::-;4256:23;;:::i;:::-;1712:73:120;;;;939:1;1712:73;;;1858:24;;;;;;671:2026:104;1637:26:119;1680:55;671:2026:104;2024:11:120;;792:1;671:2026:104;;2024:11:120;;;:::i;1637:26:119:-;1984:30:120;;;;1964:18;1680:55:119;:::i;:::-;1858:245:120;;671:2026:104;;;;;;;;:::i;:::-;939:1:120;1800:4:109;;671:2026:104;;;;;;2121:73:120;;;;;671:2026:104;;939:1:120;671:2026:104;;;;1297:4:109;;;;;;;;;;2121:73:120;;1255:34;2121:73;;671:2026:104;1476:28:120;671:2026:104;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2121:73:120;;;;;;;;;948:1;2121:73;;;1858:245;2212:15;1118:3;671:2026:104;1087:9:120;;;2121:73;939:1;2121:73;;;:::i;:::-;;;;1858:245;;;;939:1;1858:245;;1712:73;939:1;1712:73;;;4001:33:119;4019:15;;;4001:33;;1476:28:120;;;;;;;;;;;;;;;;;:::i;:::-;;;1297:4:109;;;;;1476:28:120;;;;;;;;;1375:61;;;;1255:34;1476:28;1255:34;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;774:43;802:15;;;;;;;;192:6:96;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::o;:::-;671:2026:104;;;192:6:96;;;;;;;;419:203;192:6;521:22;;517:48;;192:6;583:13;;;;:::i;:::-;192:6;419:203;:::o;517:48::-;552:13;;;;;;;;2950:1499:141;-1:-1:-1;2950:1499:141;;3128:1269;2950:1499;3128:1269;2950:1499;3128:1269;;1297:4:109;;;;3128:1269:141;;;;;;;;;;;;;;;;;;-1:-1:-1;3128:1269:141;;;;;671:2026:104;;;2950:1499:141:o;671:2026:104:-;3128:1269:141;671:2026:104;-1:-1:-1;;;671:2026:104;;3128:1269:141;;671:2026:104;;;;3128:1269:141;671:2026:104;;;-1:-1:-1;;;3128:1269:141;671:2026:104;;;;;;1549:2857:67;;;;1150:4:109;1726:23:67;;1150:4:109;;;927::95;1769:31:67;;927:4:95;;1869:32:67;;;;;:::i;:::-;5185:11;;;;;;;;:::i;:::-;5217:17;;-1:-1:-1;5270:17:67;;;;:::i;:::-;5320:15;;;;;;:::i;:::-;671:2026:104;-1:-1:-1;;;;;671:2026:104;;5353:38:67;5349:93;;1765:956;5500:13;;-1:-1:-1;5495:528:67;5515:14;;;;;;6053:23;;;;;;;671:2026:104;;;;;6053:23:67;;;:::i;:::-;-1:-1:-1;;;;;671:2026:104;;;;;6041:35:67;;6037:103;;1964:7;;:::o;6037:103::-;6105:23;;;:::i;:::-;3353:38;;;-1:-1:-1;6085:55:67;671:2026:104;;;;;;6085:55:67;671:2026:104;;;;-1:-1:-1;6085:55:67;5531:3;5564:11;;;5826:72;5564:11;5640:43;5564:14;:11;;5826:84;5564:11;;;;;;:::i;:::-;:14;;:::i;:::-;5640:43;;;:::i;:::-;5881:16;;;;;;;;:::i;:::-;671:2026:104;;;-1:-1:-1;;;;;671:2026:104;-1:-1:-1;671:2026:104;;5826:72:67;:::i;:::-;:84;:::i;:::-;5929:20;671:2026:104;5980:28:67;5929:20;5980:28;;:::i;:::-;5500:13;;;671:2026:104;;5500:13:67;;5349:93;5404:26;;:38;:26;;;:::i;:::-;:38;:::i;:::-;5349:93;;;1765:956;854:4:109;1995:38:67;;854:4:109;;2108:38:67;;;;;:::i;:::-;4530:15;;;;;:::i;:::-;-1:-1:-1;;;;;671:2026:104;;4559:38:67;4555:195;;1991:730;4791:97;:85;4914:23;4813:17;4832:26;4813:17;;;;;:::i;:::-;671:2026:104;-1:-1:-1;;;;;671:2026:104;4832:26:67;:::i;:::-;4860:15;;;;;;;:::i;:::-;671:2026:104;;;;;;;:::i;:::-;4791:85:67;:::i;:97::-;4914:23;;-1:-1:-1;;;;;4914:23:67;;;:::i;4555:195::-;4655:17;;;;;;:::i;:::-;:71;;;4914:23;4791:97;:85;4640:99;:87;4675:24;;;:::i;:::-;4640:87;:::i;:99::-;4555:195;;;;;;4655:71;4914:23;4791:97;:85;4640:99;:87;4702:24;;;;;:::i;1991:730::-;1068:4:109;2246:32:67;;1068:4:109;;2348:33:67;;;;;:::i;:::-;6966:11;;;;;;;;:::i;:::-;-1:-1:-1;;6998:16:67;-1:-1:-1;7048:16:67;;;;;:::i;:::-;7101:18;;;:::i;:::-;671:2026:104;-1:-1:-1;;;;;671:2026:104;;7176:39:67;7172:127;;2242:479;7318:22;;;7313:575;;7342:5;;;7916:22;;;;;;671:2026:104;;;;;7916:22:67;;;:::i;:::-;-1:-1:-1;;;;;671:2026:104;;;;;7905:33:67;;7901:98;;2445:7;;:::o;7901:98::-;7966:22;;;:::i;:::-;2983:37;;;-1:-1:-1;7947:52:67;671:2026:104;;;;;;7947:52:67;671:2026:104;;;;-1:-1:-1;7947:52:67;7349:3;7382:11;;;;7665:73;7382:11;7462:44;7382:18;:11;7648:126;7382:11;;;;:::i;:::-;-1:-1:-1;;671:2026:104;;;7382:18:67;:::i;:::-;7462:44;;;:::i;:::-;7721:16;;;;;;;;;:::i;:::-;671:2026:104;;;-1:-1:-1;;;;;671:2026:104;;7680:11:67;;7665:73;:::i;:::-;671:2026:104;;-1:-1:-1;671:2026:104;7648:126:67;:::i;:::-;7793:20;7845:28;7793:20;7845:28;;:::i;:::-;7349:3;7318:22;-1:-1:-1;;671:2026:104;;;7318:22:67;;7172:127;7247:25;;:37;:25;;;:::i;:37::-;7172:127;;;2242:479;1021:4:109;2476:39:67;;2472:249;;2242:479;;;1722:2636;4374:25;;;;;;671:2026:104;1800:4:109;4374:25:67;;2472:249;2591:39;;;;;:::i;:::-;6284:16;;;;;:::i;:::-;-1:-1:-1;;;;;671:2026:104;;6314:39:67;6310:195;;2472:249;6533:139;6555:94;6563:85;6697:22;6585:17;;;;;;:::i;:::-;6632:15;;;;;;;:::i;:::-;671:2026:104;;;-1:-1:-1;;;;;671:2026:104;;;;;;:::i;6563:85:67:-;671:2026:104;;6555:94:67;:::i;6533:139::-;6697:22;;-1:-1:-1;;;;;6697:22:67;;;:::i;6310:195::-;6410:17;;;;;;:::i;:::-;:71;;;6697:22;6533:139;6555:94;6563:85;6397:97;:85;6430:24;;;;;:::i;:::-;6397:85;:::i;:97::-;6310:195;;;;;;;6410:71;6697:22;6533:139;6555:94;6563:85;6397:97;:85;6457:24;;;:::i;1722:2636::-;2755:28;1191:4:109;2755:28:67;;1191:4:109;;2844:33:67;;;;;:::i;:::-;2912:22;;;;:::i;:::-;2956:18;;;;2952:68;;874:77:111;;3069:6:67;874:77:111;-1:-1:-1;;;;;;;;;;;874:77:111;3069:6:67;;:::i;2952:68::-;2983:37;;;;;;;;671:2026:104;1526:4:95;671:2026:104;1526:4:95;2983:37:67;;2751:1597;1475:4:95;3125:26:67;;1475:4:95;;3212:33:67;;;;;:::i;:::-;3280:24;;;;:::i;:::-;3326:18;;;;3322:69;;874:77:111;;3438:6:67;874:77:111;-1:-1:-1;;;;;;;;;;;874:77:111;3438:6:67;;:::i;3322:69::-;3353:38;;;;;;;;671:2026:104;1526:4:95;671:2026:104;1526:4:95;3353:38:67;;3121:1227;1150:4:109;3494:24:67;;1150:4:109;;3594:37:67;;;3691:34;3594:37;;;:::i;:::-;3430:41:68;;;3691:34:67;874:77:111;-1:-1:-1;;;;;;;;;;;874:77:111;3430:41:68;3691:34:67;:::i;:::-;;;:::i;3430:41:68:-;3691:34:67;3466:4:68;;3430:41;3691:34:67;:::i;3490:858::-;1297:4:109;3775:22:67;;1297:4:109;;3874:40:67;3948:24;3874:40;3974:32;3874:40;3974:32;3874:40;;;:::i;:::-;3948:24;;;;;;:::i;:::-;3974:32;;:::i;:::-;;;:::i;3771:577::-;4056:30;1454:4:109;4056:30:67;;4052:296;;3771:577;;;1722:2636;;4052:296;4261:47;4161:40;;;;4235:24;4161:40;4261:47;4161:40;;:::i;:::-;4235:24;;;;;:::i;:::-;4261;;;;:::i;:::-;:47;:::i;6318:196:119:-;-1:-1:-1;;;;;671:2026:104;;;;;;6454:15:119;671:2026:104;;;6318:196:119;:::o;2084:452::-;671:2026:104;;-1:-1:-1;;;;;;671:2026:104;;;;;;2417:32:119;;;671:2026:104;;;;;;;;;;;;;;2417:32:119;;;2084:452;;;;2372:93;;2417:32;;;671:2026:104;2417:32:119;:::i;:::-;671:2026:104;2407:43:119;;2372:93;671:2026:104;;2372:93:119;;;2417:32;2372:93;;;;;:::i;13116:531:97:-;;13294:347;-1:-1:-1;13294:347:97;;;;;;;;;;;;;13116:531;:::o;3365:331:69:-;3474:50;3508:4;;3474:11;:50;:::i;:::-;3608:11;3618:1;3608:11;;3604:50;;3664:25;3365:331;:::o;3604:50::-;-1:-1:-1;;;3618:1:69;3628:26;;;-1:-1:-1;;;;;671:2026:104;;;;3628:26:69;671:2026:104;;;3628:26:69;1270:173;;1362:11;;1358:24;;1391:11;-1:-1:-1;;;;;671:2026:104;1391:45:69;;;;;671:2026:104;;-1:-1:-1;;;1391:45:69;;-1:-1:-1;;;;;671:2026:104;;;1391:45:69;;;671:2026:104;;;;;;;;;;;;;;;;-1:-1:-1;;671:2026:104;;1391:45:69;;671:2026:104;;-1:-1:-1;;1391:45:69;;;;;;;;1270:173;:::o;1358:24::-;1375:7;;;:::o;4181:249::-;;4286:36;;;4345:24;;;;:::i;4282:142::-;4400:13;;:::o;3760:359::-;;-1:-1:-1;;;3867:42:69;;671:2026:104;;3932:24:69;;;;:::i;3863:250::-;3977:36;;;4036:22;;;;:::i;1766:346::-;1866:1;1856:11;;;1852:24;;1886:11;-1:-1:-1;;;;;671:2026:104;;1886:26:69;;;;;671:2026:104;;-1:-1:-1;;;1886:26:69;;-1:-1:-1;;;;;671:2026:104;;;1886:26:69;;;671:2026:104;;;;-1:-1:-1;671:2026:104;1886:26:69;671:2026:104;-1:-1:-1;1886:26:69;;;;;;;;;1766:346;-1:-1:-1;4998:58:62;1926:24:69;;671:2026:104;;;;1886:26:69;671:2026:104;;1297:4:109;;;;;;;1966:35:69;;;;;;;;;;;;1922:184;1766:346::o;1966:35::-;;;671:2026:104;1966:35:69;671:2026:104;1966:35:69;;;;;;;;:::i;:::-;;;;;:::i;:::-;;1766:346::o;1966:35::-;;;;;;671:2026:104;;1297:4:109;;;;;;;;1922:184:69;749:6:124;;;671:2026:104;749:6:124;;;;;:::i;:::-;1886:26:69;671:2026:104;;1297:4:109;;;;;;;2075:20:69;;;;;;;;;;;;1922:184;1766:346::o;1886:26::-;;;;;1866:1;1886:26;;:::i;:::-;1866:1;1886:26;;;;1852:24;1869:7;;;;:::o;13733:443:97:-;;;13886:284;-1:-1:-1;13886:284:97;;;;;;;;13733:443;:::o;2757:401:69:-;2864:50;2898:4;;2864:11;:50;:::i;:::-;2998:11;3008:1;2998:11;;2994:50;;3142:8;;;;:::i;2994:50::-;-1:-1:-1;;;3008:1:69;3018:26;;;-1:-1:-1;;;;;671:2026:104;;;;3018:26:69;671:2026:104;;;3018:26:69;10248:697:97;;10530:409;-1:-1:-1;10530:409:97;;;;;10248:697;:::o;671:2026:104:-;;-1:-1:-1;;;;;671:2026:104;;;;;;;:::o;:::-;;;;;678:66:94;;;;671:2026:104;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;1666:4:109;671:2026:104;;1666:4:109;;;;:::i;:::-;671:2026:104;;1666:4:109;671:2026:104;;;1666:4:109;:::i;:::-;671:2026:104;;;;1666:4:109;671:2026:104;;;1666:4:109;:::i;:::-;671:2026:104;;;;1666:4:109;671:2026:104;;;1666:4:109;:::i;:::-;671:2026:104;;;;;1666:4:109;:::i;:::-;671:2026:104;;;:::o;9488:670:97:-;;9752:400;-1:-1:-1;9752:400:97;;;;;9488:670;:::o;671:2026:104:-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1711:436:58:-;-1:-1:-1;;;;;1853:233:58;;;-1:-1:-1;1853:233:58;;;;;;;;;;;;;;;671:2026:104;;-1:-1:-1;;;2117:21:58;;;;;671:2026:104;;;;1853:233:58;671:2026:104;;2117:21:58;;671:2026:104;;;2117:21:58;;;;;;;-1:-1:-1;2117:21:58;;;2095:45;1711:436;:::o;2117:21::-;;;1853:233;2117:21;;1853:233;2117:21;;;;;;1853:233;2117:21;;;:::i;:::-;;;671:2026:104;;;;;1711:436:58;:::o;2117:21::-;;;-1:-1:-1;2117:21:58;;4351:276:62;-1:-1:-1;;;;;671:2026:104;4998:58:62;4439:24;;4486:21;;4479:28;:::o;4435:186::-;671:2026:104;4545:65:62;671:2026:104;;;1297:4:109;;;;;;;4545:65:62;;4604:4;4545:65;;;671:2026:104;4545:65:62;;;;;;;671:2026:104;4545:65:62;;;4538:72;;:::o;790:155:52:-;-1:-1:-1;;;;;671:2026:104;;;790:155:52;892:6;;;888:50;;790:155::o;888:50::-;900:25;;;814:96:39;;;;;8022:710:67;;;8482:70;;;;1862:10:57;8482:70:67;;671:2026:104;;;1862:10:57;671:2026:104;;;-1:-1:-1;;;;;671:2026:104;;;;;;;;;;;;;;;1862:10:57;;;8408:162:67;;;;1862:10:57;;;-1:-1:-1;;;;;671:2026:104;;;8408:162:67;;;1862:10:57;;;671:2026:104;;-1:-1:-1;;;8349:261:67;;1862:10:57;;671:2026:104;;8349:261:67;;;671:2026:104;1862:10:57;;;;671:2026:104;;1862:10:57;;;671:2026:104;1862:10:57;;;;1666:4:109;;1862:10:57;;;1666:4:109;1862:10:57;;;;1666:4:109;;1862:10:57;;;1666:4:109;1862:10:57;;;;;671:2026:104;;1862:10:57;;;671:2026:104;1862:10:57;;671:2026:104;;1862:10:57;;;1433::123;1862::57;;;;;671:2026:104;1862:10:57;;671:2026:104;;;1862:10:57;;;671:2026:104;1862:10:57;;;;;671:2026:104;8408:162:67;;671:2026:104;;;;1862:10:57;;;;;;;:::i;:::-;8349:261:67;671:2026:104;-1:-1:-1;8349:11:67;-1:-1:-1;;;;;671:2026:104;8349:261:67;;;;;;;-1:-1:-1;8349:261:67;;;8482:70;-1:-1:-1;;;8645:33:67;-1:-1:-1;;2241:89:60;;8022:710:67;:::o;8644:71::-;1862:10:57;2052:83:60;8022:710:67;:::o;8349:261::-;;;;8408:162;8349:261;;8408:162;8349:261;;;;;;8408:162;8349:261;;;:::i;:::-;;;1862:10:57;;;;1433::123;;-1:-1:-1;8349:261:67;;;;;-1:-1:-1;8349:261:67;;8482:70;2042:49:57;8482:70:67;;;837:525:101;;-1:-1:-1;671:2026:104;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;1041:27:101;;;:::i;:::-;-1:-1:-1;;;;;671:2026:104;;;;;;;734:50:62;;;671:2026:104;;;1133:80:101;;-1:-1:-1;;;;;671:2026:104;448:51:62;;;;671:2026:104;1310:10:101;;671:2026:104;1666:4:109;;;;;;;;;671:2026:104;1322:18:101;;671:2026:104;1666:4:109;;;;;;;;;671:2026:104;1342:12:101;671:2026:104;;;;;;;;;;;;;;;;;;;;:::i;:::-;1862:10:57;;-1:-1:-1;;;;;671:2026:104;;1280:75:101;;1862:10:57;671:2026:104;1280:75:101;;671:2026:104;;1280:75:101;;671:2026:104;;1280:75:101;;1862:10:57;;837:525:101:o;1133:80::-;;;;;;;;1123:153:52;1204:1;671:2026:104;;;1200:5:52;1196:49;;-1:-1:-1;;;;;671:2026:104;;1123:153:52:o"},"methodIdentifiers":{"V3_POSITION_MANAGER()":"817122dc","V4_POSITION_MANAGER()":"d0c9f6cb","execute(bytes,bytes[])":"24856bc3","execute(bytes,bytes[],uint256)":"3593564c","msgSender()":"d737d0c7","poolManager()":"dc4c90d3","uniswapV3SwapCallback(int256,int256,bytes)":"fa461e33","unlockCallback(bytes)":"91dd7346"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"permit2\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"weth9\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v2Factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v3Factory\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"pairInitCodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"poolInitCodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"v4PoolManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v3NFTPositionManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v4PositionManager\",\"type\":\"address\"}],\"internalType\":\"struct RouterParameters\",\"name\":\"params\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"BalanceTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ContractLocked\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotNegative\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotPositive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ETHNotAccepted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"commandIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"ExecutionFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FromAddressIsNotOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InputLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientETH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientToken\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"}],\"name\":\"InvalidAction\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBips\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"commandType\",\"type\":\"uint256\"}],\"name\":\"InvalidCommandType\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidEthSender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPath\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidReserves\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"NotAuthorizedForToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPoolManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyMintAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SliceOutOfBounds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransactionDeadlinePassed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnsafeCast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"action\",\"type\":\"uint256\"}],\"name\":\"UnsupportedAction\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V2InvalidPath\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V2TooLittleReceived\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V2TooMuchRequested\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3InvalidAmountOut\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3InvalidCaller\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3InvalidSwap\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3TooLittleReceived\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3TooMuchRequested\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minAmountOutReceived\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountReceived\",\"type\":\"uint256\"}],\"name\":\"V4TooLittleReceived\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAmountInRequested\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountRequested\",\"type\":\"uint256\"}],\"name\":\"V4TooMuchRequested\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3_POSITION_MANAGER\",\"outputs\":[{\"internalType\":\"contract INonfungiblePositionManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"V4_POSITION_MANAGER\",\"outputs\":[{\"internalType\":\"contract IPositionManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"commands\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"inputs\",\"type\":\"bytes[]\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"commands\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"inputs\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"msgSender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlockCallback\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"execute(bytes,bytes[])\":{\"params\":{\"commands\":\"A set of concatenated commands, each 1 byte in length\",\"inputs\":\"An array of byte strings containing abi encoded inputs for each command\"}},\"execute(bytes,bytes[],uint256)\":{\"params\":{\"commands\":\"A set of concatenated commands, each 1 byte in length\",\"deadline\":\"The deadline by which the transaction must be executed\",\"inputs\":\"An array of byte strings containing abi encoded inputs for each command\"}},\"msgSender()\":{\"details\":\"overrides BaseActionsRouter.msgSender in V4Router\"},\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"details\":\"In the implementation you must pay the pool tokens owed for the swap. The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\",\"params\":{\"amount0Delta\":\"The amount of token0 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token0 to the pool.\",\"amount1Delta\":\"The amount of token1 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token1 to the pool.\",\"data\":\"Any data passed through by the caller via the IUniswapV3PoolActions#swap call\"}},\"unlockCallback(bytes)\":{\"details\":\"We force the onlyPoolManager modifier by exposing a virtual function after the onlyPoolManager check.\",\"params\":{\"data\":\"The data that was passed to the call to unlock\"},\"returns\":{\"_0\":\"Any data that you want to be returned from the unlock call\"}}},\"version\":1},\"userdoc\":{\"errors\":{\"ContractLocked()\":[{\"notice\":\"Thrown when attempting to reenter a locked function from an external caller\"}],\"DeltaNotNegative(address)\":[{\"notice\":\"Emitted trying to take a negative delta.\"}],\"DeltaNotPositive(address)\":[{\"notice\":\"Emitted trying to settle a positive delta.\"}],\"ETHNotAccepted()\":[{\"notice\":\"Thrown when attempting to send ETH directly to the contract\"}],\"ExecutionFailed(uint256,bytes)\":[{\"notice\":\"Thrown when a required command has failed\"}],\"InputLengthMismatch()\":[{\"notice\":\"emitted when different numbers of parameters and actions are provided\"}],\"InsufficientBalance()\":[{\"notice\":\"Emitted when the contract does not have enough balance to wrap or unwrap.\"}],\"InvalidBips()\":[{\"notice\":\"emitted when an invalid percentage is provided\"}],\"LengthMismatch()\":[{\"notice\":\"Thrown when attempting to execute commands and an incorrect number of inputs are provided\"}],\"NotPoolManager()\":[{\"notice\":\"Thrown when the caller is not PoolManager\"}],\"TransactionDeadlinePassed()\":[{\"notice\":\"Thrown when executing commands with an expired deadline\"}],\"UnsafeCast()\":[{\"notice\":\"Thrown when a valude greater than type(uint160).max is cast to uint160\"}],\"UnsupportedAction(uint256)\":[{\"notice\":\"emitted when an inheriting contract does not support an action\"}],\"V4TooLittleReceived(uint256,uint256)\":[{\"notice\":\"Emitted when an exactInput swap does not receive its minAmountOut\"}],\"V4TooMuchRequested(uint256,uint256)\":[{\"notice\":\"Emitted when an exactOutput is asked for more than its maxAmountIn\"}]},\"kind\":\"user\",\"methods\":{\"V3_POSITION_MANAGER()\":{\"notice\":\"v3 PositionManager address\"},\"V4_POSITION_MANAGER()\":{\"notice\":\"v4 PositionManager address\"},\"execute(bytes,bytes[])\":{\"notice\":\"Executes encoded commands along with provided inputs.\"},\"execute(bytes,bytes[],uint256)\":{\"notice\":\"Executes encoded commands along with provided inputs. Reverts if deadline has expired.\"},\"msgSender()\":{\"notice\":\"Public view function to be used instead of msg.sender, as the contract performs self-reentrancy and at times msg.sender == address(this). Instead msgSender() returns the initiator of the lock\"},\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"},\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"notice\":\"Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\"},\"unlockCallback(bytes)\":{\"notice\":\"Called by the pool manager on `msg.sender` when the manager is unlocked\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/UniversalRouter.sol\":\"UniversalRouter\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f8f2a76e23b02fc69e8cd24c3cb47da6c7af3a2d6c3a382f8ac25c6e094ade7\",\"dweb:/ipfs/QmPV4ZS4tPVv4mTCf9ejyZ1ai57EEibDRj7mN2ARDCLV5n\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":{\"keccak256\":\"0x3d6954a93ac198a2ffa384fa58ccf18e7e235263e051a394328002eff4e073de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f58c799bd939d3951c94893e83ef86acd56989d1d7db7f9d180c515e29e28ff\",\"dweb:/ipfs/QmTgAxHAAys4kq9ZfU9YB24MWYoHLGAKSxnYUigPFrNW7g\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02\",\"dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]},\"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol\":{\"keccak256\":\"0x7c9bc70e5996c763e02ff38905282bc24fb242b0ef2519a003b36824fc524a4b\",\"urls\":[\"bzz-raw://85d5ad2dd23ee127f40907a12865a1e8cb5828814f6f2480285e1827dd72dedf\",\"dweb:/ipfs/QmayKQWJgWmr46DqWseADyUanmqxh662hPNdAkdHRjiQQH\"]},\"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol\":{\"keccak256\":\"0xfe6113d518466cd6652c85b111e01f33eb62157f49ae5ed7d5a3947a2044adb1\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://1c42b9e6f5902ac38dd43e25750939baa7e0c1425dc75afd717c4412731065d5\",\"dweb:/ipfs/QmWaoacnzsucTvBME2o7YgZBZMhaHv7fkj83htHMVWJKWh\"]},\"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol\":{\"keccak256\":\"0x9453dd0e7442188667d01d9b65de3f1e14e9511ff3e303179a15f6fc267f7634\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://982f4328f956c3e60e67501e759eb292ac487f76460c774c50e9ae4fcc92aae5\",\"dweb:/ipfs/QmRnzEDsaqtd9PJEVcgQi7p5aV5pMSvRUoGZJAdwFUJxgZ\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol\":{\"keccak256\":\"0xe603ac5b17ecdee73ba2b27efdf386c257a19c14206e87eee77e2017b742d9e5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://8febc9bdb399a4d94bb89f5377732652e2400e4a8dee808201ade6848f9004e7\",\"dweb:/ipfs/QmaKDqYYFU4d2W2iN77aDHptfbFmYZRrMYXHeGpJmM8C1c\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol\":{\"keccak256\":\"0x8071514d0fe5d17d6fbd31c191cdfb703031c24e0ece3621d88ab10e871375cd\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0b571930cc7488b1d546a7e9cea7c52d8b3c4e207da657ed0e0db7343b8cd03\",\"dweb:/ipfs/QmaGK6vVwB95QSTR1XMYvrh7ivYAYZxi3fD7v6VMA4jZ39\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol\":{\"keccak256\":\"0xf6e5d2cd1139c4c276bdbc8e1d2b256e456c866a91f1b868da265c6d2685c3f7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b99c8c9ae8e27ee6559e5866bea82cbc9ffc8247f8d15b7422a4deb287d4d047\",\"dweb:/ipfs/QmfL8gaqt3ffAnm6nVj5ksuNpLygXuL3xq5VBqrkwC2JJ3\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol\":{\"keccak256\":\"0x759b78a2918af9e99e246dc3af084f654e48ef32bb4e4cb8a966aa3dcaece235\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://64144fb96e1c7fdba87305acadb98a198d26a3d46c097cb3a666e567f6f29735\",\"dweb:/ipfs/QmUnWVwN9FKB9uV5Pr8YfLpWZnYM2DENnRMaadZ492JS9u\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol\":{\"keccak256\":\"0x852dc1f5df7dcf7f11e7bb3eed79f0cea72ad4b25f6a9d2c35aafb48925fd49f\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://ed63907c38ff36b0e22bc9ffc53e791ea74f0d4f0e7c257fdfb5aaf8825b1f0f\",\"dweb:/ipfs/QmSQrckghEjs6HVsA5GVgpNpZWvTXMY5eQLF7cN6deFeEg\"]},\"@uniswap/v3-core/contracts/libraries/SafeCast.sol\":{\"keccak256\":\"0x4c12bf820c0b011f5490a209960ca34dd8af34660ef9e01de0438393d15e3fd8\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://fed11489e218e55d087d42b4f350a30e10cd2aedec8f432bd3cc712f648d5869\",\"dweb:/ipfs/QmWfRnRxyXwHUDcTQPazxYYk5jxErGeQqdvnYtyg5nBPbU\"]},\"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol\":{\"keccak256\":\"0x9e3c2a4ee65ddf95b2dfcb0815784eea3a295707e6f8b83e4c4f0f8fe2e3a1d4\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://bfd939085b3618101b955f87c7fabf38338ba1aad480295acb8102ebc5d72471\",\"dweb:/ipfs/QmauQD8bGDHTztmTDfaKXjzM7Wacrq2XU7VcTbwn1WrDBL\"]},\"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol\":{\"keccak256\":\"0x3357b065654abb7f4a9ebd184a260bc39efde2afa4e99dca2e72ffc28e9c2984\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f7682dab014724be8e0a5a401b047788ff9c70b77fa5bd567ea6adc333cb3b56\",\"dweb:/ipfs/QmatH1Gc6z3AkP4dHjAEBKfCBbgBfD4vCceF4TuZU2bCyW\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol\":{\"keccak256\":\"0x7affcfeb5127c0925a71d6a65345e117c33537523aeca7bc98085ead8452519d\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://e16b291294210e71cb0f20cd0afe62ae2dc6878d627f5ccc19c4dc9cd80aec3f\",\"dweb:/ipfs/QmQGitSyBr26nour81BZmpmDMyJpvZRqHQZvnCD1Acb127\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol\":{\"keccak256\":\"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407\",\"dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol\":{\"keccak256\":\"0x9d7695e8d94c22cc5fcced602017aabb988de89981ea7bee29ea629d5328a862\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://61b50933026ee1017db2a6273af8cedc3238c95dca58880db0918dbdbb2f064f\",\"dweb:/ipfs/QmUebR26pqG25d18aBELKz8aFFKkmHa8PxntzXTA7o9Ldu\"]},\"@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol\":{\"keccak256\":\"0xa72de315bd655a0fd5043ff97c7fd3868a1b5b1986afd75c6f5f8fd0f904985f\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a8838e68aba9caf2b2cb13bd4cb661b1f9c167cca4dfcd50ac72ae96691392df\",\"dweb:/ipfs/QmfLq3cmsSQTuLLxiF4bgceaf2jx8CoiVXQd7BZXGgJG1E\"]},\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol\":{\"keccak256\":\"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b\",\"dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/BitMath.sol\":{\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e\",\"dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi\"]},\"@uniswap/v4-core/src/libraries/CurrencyReserves.sol\":{\"keccak256\":\"0x1576616129933fcdf3b684cea33cffd9c95e18fafbd2832a8c48ac3d8526d4c3\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://33b050efb9b81803b18f562271e7cca2ec5362c4d505860d6419b4a345636725\",\"dweb:/ipfs/QmQtFtTwKZ5pFVGD2ENDUXvp7ECFvzqeCuJ1miJcUHdmiX\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/Lock.sol\":{\"keccak256\":\"0x9338be4b5695f1da5f3d3f7a3eeaf7a356c1045458289586ac0cbe9cef77c6d5\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://485ec42ed6155469d612a9a0c18068ebfbad74448792a338a435503de3ef1b2c\",\"dweb:/ipfs/QmVnnv5u74MYatfRmBgrcfFYQcsMAJMG9jQ6ju8UiydKNF\"]},\"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol\":{\"keccak256\":\"0x0666ebd5d3528d7d52c48538296367a4cff97a578cf13365c51983fae3219b87\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d27f1be3bd09d85c53d3e6a539dd6529ddd8b2b764ccb47fd7765fc81f9add59\",\"dweb:/ipfs/QmQdZujNXhKEXQBkKtF5jbdvo1yXMqPDUoBBaF9S5u3Kpm\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/TickMath.sol\":{\"keccak256\":\"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a79a57f7b240783b045168d1c4f774ac1812caf8f9a83cb6959a86b0b07b6c70\",\"dweb:/ipfs/QmTb5kvxwDNW8jDuQaqdJ445cCFejNkUqEB17Bjo8UBiva\"]},\"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\":{\"keccak256\":\"0x7d1e0875747bd89b32c25f1a48da2766e5f4aff1f671ad5f3c0c07ebbbcb946a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d76cfeb1cb60595b41ecc51c8a12fb4bf63a7fc733d0b1a2e3adb55abeb1f9d5\",\"dweb:/ipfs/Qmb8oX7DtsRpw3tTtdWZwGhauj1evq43d3PLwe4nSDAKkV\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/V4Router.sol\":{\"keccak256\":\"0x8ede1e538ae9b74984c52347a3bbaee7b3d69f00ed9b3a6db1f1bd6e058a2326\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8e370416fa9681ad124414e2b2fb57a5455e15dd873c9e61c964177ae5c2d544\",\"dweb:/ipfs/QmWrM97ezNB9CpawqhkwpubXHcXUbMFWKYEbD3D6EyAe1w\"]},\"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol\":{\"keccak256\":\"0xca1ee500f88951ad351d18ba2adfb5fe23abef6d502f234ce5748a3497674a4c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f03ab458be27c29cef1b7ace5b11517d3fef8bf6131af7dd80d6297c224cf71\",\"dweb:/ipfs/QmYoH6o8yeRzbeLoaMG9TjS8q2Fw7T1h4vXvvMnp3XfsUa\"]},\"@uniswap/v4-periphery/src/base/DeltaResolver.sol\":{\"keccak256\":\"0x94a2da2be5c924df65a8e1e29f585bbe4c37777fedd43b45989c66d509a4a83c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://42bba590f6e817fd56328b74ae99bfdc4df57386d0a69ee22b9108341953ed36\",\"dweb:/ipfs/QmdusastK7FWYouLz9gvV5J3z8MQbNKLJNNHTrc1vi7DWw\"]},\"@uniswap/v4-periphery/src/base/ImmutableState.sol\":{\"keccak256\":\"0x1867c9fa2f9b4fa73bab0fcdc9d19ccef4eeac552273d8b84a170cd1cc90350a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af2d699b439e13b599632fddfe82718aebd41055fba7c075f186675c588d1337\",\"dweb:/ipfs/Qmc111gckSKb9aESn3wRFLeLiS4KGujaUcaYJgRnCRfwQU\"]},\"@uniswap/v4-periphery/src/base/SafeCallback.sol\":{\"keccak256\":\"0xd78b583df1b9ee06d58e83b84fc9f08971389b34dd34bc13db072e0c13c710da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c0a47f4bcd6060c4462153b9a7c52a60a460ace91acb6ddd5492eab28ec26173\",\"dweb:/ipfs/QmdRCTRS1dhFjWEy6z577j4xz9J5HPfHBwcNzAic8G59oT\"]},\"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol\":{\"keccak256\":\"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736\",\"dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR\"]},\"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol\":{\"keccak256\":\"0x103adbba724ef536abc536fe8a4d7dc12880724c562109b69f2adce4a91fa017\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://06f51b5a5a218e0bc866a83e7821be53c9db9de0ca921f16abd3d13ea0eab69d\",\"dweb:/ipfs/QmbnhLy992hpQZyphTkj7fpr6jKKVva2AzfmLiDZEuqHAk\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol\":{\"keccak256\":\"0x336bec303f7ff86497d2679464c5adad5040f412b3d0769ce5e1d2a42f7e2c08\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7734f047d98d331c8abc51ad9f358ceee0a6dcae8d89ac49084b84de0d2d42e7\",\"dweb:/ipfs/QmWij2h7mU36LsXhb9P6pkYXrSCua4ixeWaVFSrsEcEmPQ\"]},\"@uniswap/v4-periphery/src/interfaces/INotifier.sol\":{\"keccak256\":\"0xfdc5187a98240a1691aae98b7dd2444d4c2bfb4746f3c34de9f3d18399c17c5e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://683af56401ec4f8817e8dfe150e7b3febaf0baaf40efe8d0d0475f735275f746\",\"dweb:/ipfs/QmRQ6S3nFnSc2jjDcQTvUJdTf4xKPojmvCkpvgyr6qTuVV\"]},\"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol\":{\"keccak256\":\"0xfad472937280e861125ff12aa6f9c2cf7440fbb20a2cc29485c24662ad4279c5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31bfbc331f5972fc373d9469fd1ca1d14818db3275f21b7b590f20820cb4439d\",\"dweb:/ipfs/QmX3Bv9wfYpAFZKBcxKsQSXUrSC8mqNBdzh6XVMS72aNx9\"]},\"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol\":{\"keccak256\":\"0x2e4feda94650a2642039e0309ffdec480ee050bc40864bf5e1dba42bb4dc9e98\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://964c178b4da8bab9ef898b94bb26d7c17cc44c5cf20485f55dcf5e9c7e1b1d92\",\"dweb:/ipfs/QmVd2c3SYteyr5xZgUS4sDAiZF43dLwVAEKdCfvQbkZpRJ\"]},\"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\":{\"keccak256\":\"0x62dfa0cbee8314ee7e6787db8bc1d364245c340f940875ac7ff11e89d074fc7e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26f560c77d8a187bf93a710b827e3167eab3446922192fa8f92f208da2103834\",\"dweb:/ipfs/Qmbzp5gSYdTpMBF9aAb2GraxMEQZb5LRJCyg8VaRUyjTFc\"]},\"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol\":{\"keccak256\":\"0x34ceadec4a63019680e543fe73197f198a55c825d86e18f327840354760b57e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31734feafe1fe162a0702ddf862fcc3bd97505931afb3c685033c0185d898051\",\"dweb:/ipfs/QmQEANYVyaXTNzXKcjUVfPhLU71Bix5vxQH75BpPWMkWgw\"]},\"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol\":{\"keccak256\":\"0xd7f32fee74dc7d1a3b078ca1263961baccaa6bf434c79e8fe0e092e30c3e0ec3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7d1e92d89d5f49c84aa82f3b259678c2c97a4473b22d753ca4411a6b0cec36d\",\"dweb:/ipfs/QmNZoQyminStaAdaLqoDLoWaBU5QWrWjXFjmBm4aFhzL8i\"]},\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":{\"keccak256\":\"0xc4133fae25e61cc2447d7331729f6035322d7c1fe26b39b225422bf98cc63459\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c24ff8428504e973e947a059f96289a66c520cd7f8ef47a3224f9cb6abdaf25\",\"dweb:/ipfs/QmVqxYnngWXXcCiuTC143vTEJrjZK5NXWB92pjvVbuJBQ5\"]},\"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol\":{\"keccak256\":\"0xe88abf12501ac275619aec0687240a07d26968aecbbcdfea88ba8bbd5d6e5e14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7097065d4492b4eccb1a73f99af1e5bec45404c6b973b8f5965c4c91403f5f92\",\"dweb:/ipfs/QmZK8oEqmjmTqhBoh3D3fBpyKGkUEFnptY8xwH9xpNjDm2\"]},\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]},\"@uniswap/v4-periphery/src/libraries/Actions.sol\":{\"keccak256\":\"0x8efd4b8b289177ee27e557d9d0a5a9f973d66fe1eb1ef8959d316b11987ca830\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://07fe35f194eb99465028f0546359befea574d844da53767d32f22b233c3bcc98\",\"dweb:/ipfs/Qmc19631uFxABTHAbGrDrroexi9GdyxWntaum1v8npPYz5\"]},\"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol\":{\"keccak256\":\"0x37ebf99f5d086d9d9f6e7cecbf4d62167f47c63c30248cfcb921e828f0d7a359\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4f8e68a66bb6c166d72cdba6ed6fb83a93f713b79c2c572e8058084eb90ab6c\",\"dweb:/ipfs/QmY32FxtSBRf9PJzNUVzXqFY4i2ApTPHTUMpCBGovd2zo3\"]},\"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol\":{\"keccak256\":\"0x26df49e13fb5410fd4db253cca877dfdfb3a1ba03e394d054c0e0514a88a56e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72a0c98c52171708f332f83d517deeb97fdd50ecf28f2510e1866e54593a6ff8\",\"dweb:/ipfs/QmY4LiDUfSKGj86nML7B6a8euiPciUqwYehasAyAVnMCHq\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]},\"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":{\"keccak256\":\"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6\",\"dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx\"]},\"contracts/UniversalRouter.sol\":{\"keccak256\":\"0x5c7515720fa9b429bc83f0044f3a02cdd065fe1773b9fd32151dc5ff9042d368\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://dd77517f3a73a07fdff8f3a52c268afca749a678ea11442140d401eb102f4404\",\"dweb:/ipfs/QmeJiwCtgF1rMB7Foi6PrqWEaXktztPGQfHoAsw1BRhLU3\"]},\"contracts/base/Dispatcher.sol\":{\"keccak256\":\"0x1564339a5163c5d27f06a64f994a7457b061aa0f5046377bcc5078cd6907cc5d\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://82dc3ed71c19d6e5d1f72304e62e360954fc40a4d92a2a94e862c5474490d58d\",\"dweb:/ipfs/QmcNamJcGijcEetbHWVJHNjSE2WCyQsmEGEGDg9ZNwqSjR\"]},\"contracts/base/Lock.sol\":{\"keccak256\":\"0x92f953dda0d671178d054eeb3915b70f8ba80be33df8670a9146af4a4bc2c6ac\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://f73faac9532c8a8870d31bcef68a0dde387579d7b755c342b3352a54a4b63682\",\"dweb:/ipfs/QmXLvJb6vxfrUG84ASLhEf7tL62MN3oxkp7aXUxemrZTy3\"]},\"contracts/interfaces/IUniversalRouter.sol\":{\"keccak256\":\"0x2525b52d1edf5df89bfd093c5b933b9e8f65236f44f58096763a6c87a5cafb63\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://5cc0fcfedd6b32586099ee0f6781bb81da99175c65013c06bb6f61a125babb18\",\"dweb:/ipfs/QmcEkSzkjkPpp3YyJZaY232TjuNU4Pw6CSiTWz7sk2Sq5D\"]},\"contracts/libraries/Commands.sol\":{\"keccak256\":\"0xa08ae7be62972a4f17779257641065d41fa5cc2d5fc7050e5e5b76fbda9e6a9f\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://0b94d73c5cd54aba5e1ad4ccfc33df13c1b04417f53fda188275fc15f95f02f2\",\"dweb:/ipfs/QmNpigDf9g9AAbFr27gug5hAZjb6iuFekRqXonC6upoEcp\"]},\"contracts/libraries/Constants.sol\":{\"keccak256\":\"0xb668498f11a4bb576a0a61c183da7ca348249dd9176c57dcb6532912b1b49b0e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://87d8588baf0b7b72faec637843c7623ac416d45e0f7719d0a635afe7981b2cf2\",\"dweb:/ipfs/QmSu7Jr8JM6mab2dddk1UaiPhyLZvsA8iLxC9MEcBUaMzT\"]},\"contracts/libraries/Locker.sol\":{\"keccak256\":\"0xfccb45f77b5c66f0f417d803b4b3f7ae97206d8d850a383ab7d97f25d0617cc0\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://b47f3f4e74961f8e9d918c2cc3514cb8d097caee6ab2c20c10735235dec440ec\",\"dweb:/ipfs/QmfTWUjP7g7zTw67C2RvoMhWRX6ExLNV3UYSb5LqfE4bqC\"]},\"contracts/libraries/MaxInputAmount.sol\":{\"keccak256\":\"0x2dd6efbcaf9991c852e29a726f9876a0a6d08f2271912e69efa5c6a5e8034739\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://949ebd746eee3589d1e466c738884bd3532043d9e8a7b77c1521a098ba3c69b6\",\"dweb:/ipfs/QmZC9idgGQDfLksqfz41FrcsVXhqkfRZCZH9MJXQkQavt6\"]},\"contracts/modules/MigratorImmutables.sol\":{\"keccak256\":\"0x666d1622a10509c69b679df9d175a3e0c176a62b9e18d1cee7634219aded8f68\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://a88e472495d32648ba3e7964c4c88b68853b49540f40afbaf2ede6822372b49f\",\"dweb:/ipfs/QmQoaWbCpwFYCnRgehM7ruYaa7za8fBghT5aQCRCPYJr1V\"]},\"contracts/modules/Payments.sol\":{\"keccak256\":\"0x19a103b3269ee2f7bc28a6e1850091b2087dd2558662494d1104ac8e5ac68524\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://ba64c600f57bb13672a5549b6dba11ae4dfe49f688c24eadb3289dcc87d226a8\",\"dweb:/ipfs/QmWkmVyeai1WeymuWqEk1fQE5R2frrQQjJv81cytrKvFuA\"]},\"contracts/modules/PaymentsImmutables.sol\":{\"keccak256\":\"0x9ca2535b69b15d3bdb7a15871c5bca83f5536cffb0191c64f4c6a2db4a154338\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://dc85fb3ddd19481bf0d1a8a9f5d9631b396d86344a33e30b4c4ab6cd58d51169\",\"dweb:/ipfs/QmeEGFqfHFUo1Mu6tRfCjvVGJYyoDu29ZspZgxxcj6ykvq\"]},\"contracts/modules/Permit2Payments.sol\":{\"keccak256\":\"0x887ec1f57144cd91a1b86d5a7b1d1119146f41dae6865e6fd0e849801e968628\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://08b713e82f3f192976902497e1c02dd60bf7e90c83a471eb4c7ac7710b086f95\",\"dweb:/ipfs/QmWJSGZ9Dj7FmFCnDWpDdL5fx76JYDgYWhggXCroxV7cjX\"]},\"contracts/modules/V3ToV4Migrator.sol\":{\"keccak256\":\"0x5ee3774b749b9a8d851dc6074c8de8c61f408a4cfd829c47c753840c839ba91c\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://337e17b84f4fdad7e32be0e482e7b2471d7f927ba3b3174cae38cf2509d97443\",\"dweb:/ipfs/QmbzgdyxAC5vpvWRGaemn3Qn7DRbNDjHSH3KbHSDPwJ8LY\"]},\"contracts/modules/uniswap/UniswapImmutables.sol\":{\"keccak256\":\"0xb810727f5e734a30871ff1d83d8c96d99150f1ce77bb39e032aec6254ca43cd0\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://5eb9df8b6c81f8e33b8a6bace294ed0d81c541988f7ba42027e3041eff32e1bd\",\"dweb:/ipfs/QmVPSWBv7WegGySGV4BoewKKx7iAetHsjydxQyKk3dh5yw\"]},\"contracts/modules/uniswap/v2/UniswapV2Library.sol\":{\"keccak256\":\"0x829d48c1b69d2e1bc078a57aae8d87dc31d920b01c62d6268d20d517fd24150c\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://b87236ea4c1e64c12434f31abbd658ca3fc510ebe65be731d84d3ce8efa71c32\",\"dweb:/ipfs/QmUerjg5Ebt3pfQZtk2sArUy414gQtHwvFNgsQNe4PhxbN\"]},\"contracts/modules/uniswap/v2/V2SwapRouter.sol\":{\"keccak256\":\"0x0fcb6ad6c4d5a7b25054dd9951432b2b41cb2c0077e6bc7ca0d0416115ef2326\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://124b1dd54d27914306bdd1021e171111f0ae622fffb2974ccdee24eab31b359d\",\"dweb:/ipfs/QmfKr2sbxdc31aPWv9d6ETA4GyfqHiKVZRKqhREnMkR5j9\"]},\"contracts/modules/uniswap/v3/BytesLib.sol\":{\"keccak256\":\"0xc3c23e83afd06781c4a0a5c418c20c40611e71d049766eb70987007ce372656e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://c62989beb75edad6de18c31be31eb68f0c3fb15c5f9e9bb380221afc6785fda5\",\"dweb:/ipfs/QmVEsp5yivbmjP7HcXS5kJ1XJY5Uic3J3y4zjpwD1SNySD\"]},\"contracts/modules/uniswap/v3/V3Path.sol\":{\"keccak256\":\"0xf6abbf4c7cd0975ddabb0ddb641ea9ae3b0cc1dd9a1cabf5e7cc271a974eabc2\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://1e0987fc9b81c65eada64cb65f981680c2054e489a6049d397b5ecbbf4c9a0a9\",\"dweb:/ipfs/QmW7mbbHsfc2GLy2GkCUv3VwXV93y6UFtKDD7E9QEtzFH7\"]},\"contracts/modules/uniswap/v3/V3SwapRouter.sol\":{\"keccak256\":\"0x31fe8777a6de583c54a0f09ec11d318c253b7fe50c7a2af1608b2b89a03ca660\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://780219ff0d6d333727655719d31d61ce345cdbca7f906467a2d00e3162b3c0aa\",\"dweb:/ipfs/QmbauA5Kvj7m9P9hxe4hhnLY5w2TEXMMnCc9oWehVgj2jo\"]},\"contracts/modules/uniswap/v4/V4SwapRouter.sol\":{\"keccak256\":\"0x68b7666641ad5ba227b500c9845c4bc71eaaac6556d97d31d123fce41b51969a\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://40a99bb5e9e407ad6741f5c210ac23a32950e7567c73f21975444e9729fc6cfb\",\"dweb:/ipfs/QmUK98HjyQ7NDGR36DD9owjLDk7ujEj5b5uKt9zjUsCFG5\"]},\"contracts/types/RouterParameters.sol\":{\"keccak256\":\"0x9efe9912d44e56cff8fc23e1411c80b47ffc9f5c0ad5ca5c66ab77a1b7ddfcbf\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://473acf49dc1be1ca997ad20258124e26e03b3cef15412a8827ecf9b52e4cef21\",\"dweb:/ipfs/QmaGR2QL6im4XYJpubqhUuP82nFytemX7wwEk4cXECJYJN\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]},\"permit2/src/interfaces/IPermit2.sol\":{\"keccak256\":\"0xaa631cc9f53e699301d94233007110a345e6779011def484e8dd97b8fe0af771\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc0502cf19c9c18f320a3001201e89e350393b75837f6b7971de18b2de06f30d\",\"dweb:/ipfs/QmT9SfhdJ7VJNNrf94g4H5usyi7ShqWGx7Cqsz9jZTjX96\"]},\"permit2/src/interfaces/ISignatureTransfer.sol\":{\"keccak256\":\"0xe6df9966f8841dc3958ee86169c89de97e7f614c81c28b9dc947b12d732df64e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d4eafdee7f48c3be8350a94eb6edd0bfb2af2c105df65787a77174f356c0317\",\"dweb:/ipfs/QmY1j2adeeAhNpn6cUuthemxGCdLXHTfyMh9yTKsY4mZ2d\"]},\"permit2/src/libraries/SafeCast160.sol\":{\"keccak256\":\"0x8a34e2beac108d74f89510c949983212b5f09307a93ee9e17a9d50e93f6bc8e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://828697f9567ce617c5c1c8f76b6bcd250e93aea2c4f3ee188be6dff8443c19e7\",\"dweb:/ipfs/QmafxeSPhUc9gGtNDLAw26oZooC5XNLhDMxHxYhJxL5Nwi\"]},\"solmate/src/tokens/ERC20.sol\":{\"keccak256\":\"0xcdfd8db76b2a3415620e4d18cc5545f3d50de792dbf2c3dd5adb40cbe6f94b10\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://57b3ab70cde374af1cf2c9888636e8de6cf660f087b1c9abd805e9271e19fa35\",\"dweb:/ipfs/QmNrLDBAHYFjpjSd12jerm1AdBkDqEYUUaXgnT854BUZ97\"]},\"solmate/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0xbadf3d708cf532b12f75f78a1d423135954b63774a6d4ba15914a551d348db8a\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://88ac8256bd520d1b8e6f9c4ac9e8777bffdc4a6c8afb1a848f596665779a55b4\",\"dweb:/ipfs/QmXx7X1dxe6f5VM91vgQ5BA4r2eF97GWDcQDrgHytcvfjU\"]}},\"version\":1}"}},"contracts/base/Dispatcher.sol":{"Dispatcher":{"abi":[{"inputs":[],"name":"BalanceTooLow","type":"error"},{"inputs":[],"name":"ContractLocked","type":"error"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotNegative","type":"error"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotPositive","type":"error"},{"inputs":[],"name":"FromAddressIsNotOwner","type":"error"},{"inputs":[],"name":"InputLengthMismatch","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InsufficientETH","type":"error"},{"inputs":[],"name":"InsufficientToken","type":"error"},{"inputs":[{"internalType":"bytes4","name":"action","type":"bytes4"}],"name":"InvalidAction","type":"error"},{"inputs":[],"name":"InvalidBips","type":"error"},{"inputs":[{"internalType":"uint256","name":"commandType","type":"uint256"}],"name":"InvalidCommandType","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NotAuthorizedForToken","type":"error"},{"inputs":[],"name":"NotPoolManager","type":"error"},{"inputs":[],"name":"OnlyMintAllowed","type":"error"},{"inputs":[],"name":"SliceOutOfBounds","type":"error"},{"inputs":[],"name":"UnsafeCast","type":"error"},{"inputs":[{"internalType":"uint256","name":"action","type":"uint256"}],"name":"UnsupportedAction","type":"error"},{"inputs":[],"name":"V2InvalidPath","type":"error"},{"inputs":[],"name":"V2TooLittleReceived","type":"error"},{"inputs":[],"name":"V2TooMuchRequested","type":"error"},{"inputs":[],"name":"V3InvalidAmountOut","type":"error"},{"inputs":[],"name":"V3InvalidCaller","type":"error"},{"inputs":[],"name":"V3InvalidSwap","type":"error"},{"inputs":[],"name":"V3TooLittleReceived","type":"error"},{"inputs":[],"name":"V3TooMuchRequested","type":"error"},{"inputs":[{"internalType":"uint256","name":"minAmountOutReceived","type":"uint256"},{"internalType":"uint256","name":"amountReceived","type":"uint256"}],"name":"V4TooLittleReceived","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxAmountInRequested","type":"uint256"},{"internalType":"uint256","name":"amountRequested","type":"uint256"}],"name":"V4TooMuchRequested","type":"error"},{"inputs":[],"name":"V3_POSITION_MANAGER","outputs":[{"internalType":"contract INonfungiblePositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"V4_POSITION_MANAGER","outputs":[{"internalType":"contract IPositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"commands","type":"bytes"},{"internalType":"bytes[]","name":"inputs","type":"bytes[]"}],"name":"execute","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"msgSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlockCallback","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"V3_POSITION_MANAGER()":"817122dc","V4_POSITION_MANAGER()":"d0c9f6cb","execute(bytes,bytes[])":"24856bc3","msgSender()":"d737d0c7","poolManager()":"dc4c90d3","uniswapV3SwapCallback(int256,int256,bytes)":"fa461e33","unlockCallback(bytes)":"91dd7346"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"BalanceTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ContractLocked\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotNegative\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotPositive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FromAddressIsNotOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InputLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientETH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientToken\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"}],\"name\":\"InvalidAction\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBips\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"commandType\",\"type\":\"uint256\"}],\"name\":\"InvalidCommandType\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"NotAuthorizedForToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPoolManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyMintAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SliceOutOfBounds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnsafeCast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"action\",\"type\":\"uint256\"}],\"name\":\"UnsupportedAction\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V2InvalidPath\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V2TooLittleReceived\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V2TooMuchRequested\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3InvalidAmountOut\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3InvalidCaller\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3InvalidSwap\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3TooLittleReceived\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3TooMuchRequested\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minAmountOutReceived\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountReceived\",\"type\":\"uint256\"}],\"name\":\"V4TooLittleReceived\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAmountInRequested\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountRequested\",\"type\":\"uint256\"}],\"name\":\"V4TooMuchRequested\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3_POSITION_MANAGER\",\"outputs\":[{\"internalType\":\"contract INonfungiblePositionManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"V4_POSITION_MANAGER\",\"outputs\":[{\"internalType\":\"contract IPositionManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"commands\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"inputs\",\"type\":\"bytes[]\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"msgSender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlockCallback\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"execute(bytes,bytes[])\":{\"params\":{\"commands\":\"A set of concatenated commands, each 1 byte in length\",\"inputs\":\"An array of byte strings containing abi encoded inputs for each command\"}},\"msgSender()\":{\"details\":\"overrides BaseActionsRouter.msgSender in V4Router\"},\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"details\":\"In the implementation you must pay the pool tokens owed for the swap. The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\",\"params\":{\"amount0Delta\":\"The amount of token0 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token0 to the pool.\",\"amount1Delta\":\"The amount of token1 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token1 to the pool.\",\"data\":\"Any data passed through by the caller via the IUniswapV3PoolActions#swap call\"}},\"unlockCallback(bytes)\":{\"details\":\"We force the onlyPoolManager modifier by exposing a virtual function after the onlyPoolManager check.\",\"params\":{\"data\":\"The data that was passed to the call to unlock\"},\"returns\":{\"_0\":\"Any data that you want to be returned from the unlock call\"}}},\"title\":\"Decodes and Executes Commands\",\"version\":1},\"userdoc\":{\"errors\":{\"ContractLocked()\":[{\"notice\":\"Thrown when attempting to reenter a locked function from an external caller\"}],\"DeltaNotNegative(address)\":[{\"notice\":\"Emitted trying to take a negative delta.\"}],\"DeltaNotPositive(address)\":[{\"notice\":\"Emitted trying to settle a positive delta.\"}],\"InputLengthMismatch()\":[{\"notice\":\"emitted when different numbers of parameters and actions are provided\"}],\"InsufficientBalance()\":[{\"notice\":\"Emitted when the contract does not have enough balance to wrap or unwrap.\"}],\"InvalidBips()\":[{\"notice\":\"emitted when an invalid percentage is provided\"}],\"NotPoolManager()\":[{\"notice\":\"Thrown when the caller is not PoolManager\"}],\"UnsafeCast()\":[{\"notice\":\"Thrown when a valude greater than type(uint160).max is cast to uint160\"}],\"UnsupportedAction(uint256)\":[{\"notice\":\"emitted when an inheriting contract does not support an action\"}],\"V4TooLittleReceived(uint256,uint256)\":[{\"notice\":\"Emitted when an exactInput swap does not receive its minAmountOut\"}],\"V4TooMuchRequested(uint256,uint256)\":[{\"notice\":\"Emitted when an exactOutput is asked for more than its maxAmountIn\"}]},\"kind\":\"user\",\"methods\":{\"V3_POSITION_MANAGER()\":{\"notice\":\"v3 PositionManager address\"},\"V4_POSITION_MANAGER()\":{\"notice\":\"v4 PositionManager address\"},\"execute(bytes,bytes[])\":{\"notice\":\"Executes encoded commands along with provided inputs.\"},\"msgSender()\":{\"notice\":\"Public view function to be used instead of msg.sender, as the contract performs self-reentrancy and at times msg.sender == address(this). Instead msgSender() returns the initiator of the lock\"},\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"},\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"notice\":\"Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\"},\"unlockCallback(bytes)\":{\"notice\":\"Called by the pool manager on `msg.sender` when the manager is unlocked\"}},\"notice\":\"Called by the UniversalRouter contract to efficiently decode and execute a singular command\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/base/Dispatcher.sol\":\"Dispatcher\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f8f2a76e23b02fc69e8cd24c3cb47da6c7af3a2d6c3a382f8ac25c6e094ade7\",\"dweb:/ipfs/QmPV4ZS4tPVv4mTCf9ejyZ1ai57EEibDRj7mN2ARDCLV5n\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":{\"keccak256\":\"0x3d6954a93ac198a2ffa384fa58ccf18e7e235263e051a394328002eff4e073de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f58c799bd939d3951c94893e83ef86acd56989d1d7db7f9d180c515e29e28ff\",\"dweb:/ipfs/QmTgAxHAAys4kq9ZfU9YB24MWYoHLGAKSxnYUigPFrNW7g\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02\",\"dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]},\"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol\":{\"keccak256\":\"0x7c9bc70e5996c763e02ff38905282bc24fb242b0ef2519a003b36824fc524a4b\",\"urls\":[\"bzz-raw://85d5ad2dd23ee127f40907a12865a1e8cb5828814f6f2480285e1827dd72dedf\",\"dweb:/ipfs/QmayKQWJgWmr46DqWseADyUanmqxh662hPNdAkdHRjiQQH\"]},\"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol\":{\"keccak256\":\"0xfe6113d518466cd6652c85b111e01f33eb62157f49ae5ed7d5a3947a2044adb1\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://1c42b9e6f5902ac38dd43e25750939baa7e0c1425dc75afd717c4412731065d5\",\"dweb:/ipfs/QmWaoacnzsucTvBME2o7YgZBZMhaHv7fkj83htHMVWJKWh\"]},\"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol\":{\"keccak256\":\"0x9453dd0e7442188667d01d9b65de3f1e14e9511ff3e303179a15f6fc267f7634\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://982f4328f956c3e60e67501e759eb292ac487f76460c774c50e9ae4fcc92aae5\",\"dweb:/ipfs/QmRnzEDsaqtd9PJEVcgQi7p5aV5pMSvRUoGZJAdwFUJxgZ\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol\":{\"keccak256\":\"0xe603ac5b17ecdee73ba2b27efdf386c257a19c14206e87eee77e2017b742d9e5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://8febc9bdb399a4d94bb89f5377732652e2400e4a8dee808201ade6848f9004e7\",\"dweb:/ipfs/QmaKDqYYFU4d2W2iN77aDHptfbFmYZRrMYXHeGpJmM8C1c\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol\":{\"keccak256\":\"0x8071514d0fe5d17d6fbd31c191cdfb703031c24e0ece3621d88ab10e871375cd\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0b571930cc7488b1d546a7e9cea7c52d8b3c4e207da657ed0e0db7343b8cd03\",\"dweb:/ipfs/QmaGK6vVwB95QSTR1XMYvrh7ivYAYZxi3fD7v6VMA4jZ39\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol\":{\"keccak256\":\"0xf6e5d2cd1139c4c276bdbc8e1d2b256e456c866a91f1b868da265c6d2685c3f7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b99c8c9ae8e27ee6559e5866bea82cbc9ffc8247f8d15b7422a4deb287d4d047\",\"dweb:/ipfs/QmfL8gaqt3ffAnm6nVj5ksuNpLygXuL3xq5VBqrkwC2JJ3\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol\":{\"keccak256\":\"0x759b78a2918af9e99e246dc3af084f654e48ef32bb4e4cb8a966aa3dcaece235\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://64144fb96e1c7fdba87305acadb98a198d26a3d46c097cb3a666e567f6f29735\",\"dweb:/ipfs/QmUnWVwN9FKB9uV5Pr8YfLpWZnYM2DENnRMaadZ492JS9u\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol\":{\"keccak256\":\"0x852dc1f5df7dcf7f11e7bb3eed79f0cea72ad4b25f6a9d2c35aafb48925fd49f\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://ed63907c38ff36b0e22bc9ffc53e791ea74f0d4f0e7c257fdfb5aaf8825b1f0f\",\"dweb:/ipfs/QmSQrckghEjs6HVsA5GVgpNpZWvTXMY5eQLF7cN6deFeEg\"]},\"@uniswap/v3-core/contracts/libraries/SafeCast.sol\":{\"keccak256\":\"0x4c12bf820c0b011f5490a209960ca34dd8af34660ef9e01de0438393d15e3fd8\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://fed11489e218e55d087d42b4f350a30e10cd2aedec8f432bd3cc712f648d5869\",\"dweb:/ipfs/QmWfRnRxyXwHUDcTQPazxYYk5jxErGeQqdvnYtyg5nBPbU\"]},\"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol\":{\"keccak256\":\"0x9e3c2a4ee65ddf95b2dfcb0815784eea3a295707e6f8b83e4c4f0f8fe2e3a1d4\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://bfd939085b3618101b955f87c7fabf38338ba1aad480295acb8102ebc5d72471\",\"dweb:/ipfs/QmauQD8bGDHTztmTDfaKXjzM7Wacrq2XU7VcTbwn1WrDBL\"]},\"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol\":{\"keccak256\":\"0x3357b065654abb7f4a9ebd184a260bc39efde2afa4e99dca2e72ffc28e9c2984\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f7682dab014724be8e0a5a401b047788ff9c70b77fa5bd567ea6adc333cb3b56\",\"dweb:/ipfs/QmatH1Gc6z3AkP4dHjAEBKfCBbgBfD4vCceF4TuZU2bCyW\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol\":{\"keccak256\":\"0x7affcfeb5127c0925a71d6a65345e117c33537523aeca7bc98085ead8452519d\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://e16b291294210e71cb0f20cd0afe62ae2dc6878d627f5ccc19c4dc9cd80aec3f\",\"dweb:/ipfs/QmQGitSyBr26nour81BZmpmDMyJpvZRqHQZvnCD1Acb127\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol\":{\"keccak256\":\"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407\",\"dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol\":{\"keccak256\":\"0x9d7695e8d94c22cc5fcced602017aabb988de89981ea7bee29ea629d5328a862\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://61b50933026ee1017db2a6273af8cedc3238c95dca58880db0918dbdbb2f064f\",\"dweb:/ipfs/QmUebR26pqG25d18aBELKz8aFFKkmHa8PxntzXTA7o9Ldu\"]},\"@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol\":{\"keccak256\":\"0xa72de315bd655a0fd5043ff97c7fd3868a1b5b1986afd75c6f5f8fd0f904985f\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a8838e68aba9caf2b2cb13bd4cb661b1f9c167cca4dfcd50ac72ae96691392df\",\"dweb:/ipfs/QmfLq3cmsSQTuLLxiF4bgceaf2jx8CoiVXQd7BZXGgJG1E\"]},\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol\":{\"keccak256\":\"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b\",\"dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/BitMath.sol\":{\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e\",\"dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi\"]},\"@uniswap/v4-core/src/libraries/CurrencyReserves.sol\":{\"keccak256\":\"0x1576616129933fcdf3b684cea33cffd9c95e18fafbd2832a8c48ac3d8526d4c3\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://33b050efb9b81803b18f562271e7cca2ec5362c4d505860d6419b4a345636725\",\"dweb:/ipfs/QmQtFtTwKZ5pFVGD2ENDUXvp7ECFvzqeCuJ1miJcUHdmiX\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/Lock.sol\":{\"keccak256\":\"0x9338be4b5695f1da5f3d3f7a3eeaf7a356c1045458289586ac0cbe9cef77c6d5\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://485ec42ed6155469d612a9a0c18068ebfbad74448792a338a435503de3ef1b2c\",\"dweb:/ipfs/QmVnnv5u74MYatfRmBgrcfFYQcsMAJMG9jQ6ju8UiydKNF\"]},\"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol\":{\"keccak256\":\"0x0666ebd5d3528d7d52c48538296367a4cff97a578cf13365c51983fae3219b87\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d27f1be3bd09d85c53d3e6a539dd6529ddd8b2b764ccb47fd7765fc81f9add59\",\"dweb:/ipfs/QmQdZujNXhKEXQBkKtF5jbdvo1yXMqPDUoBBaF9S5u3Kpm\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/TickMath.sol\":{\"keccak256\":\"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a79a57f7b240783b045168d1c4f774ac1812caf8f9a83cb6959a86b0b07b6c70\",\"dweb:/ipfs/QmTb5kvxwDNW8jDuQaqdJ445cCFejNkUqEB17Bjo8UBiva\"]},\"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\":{\"keccak256\":\"0x7d1e0875747bd89b32c25f1a48da2766e5f4aff1f671ad5f3c0c07ebbbcb946a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d76cfeb1cb60595b41ecc51c8a12fb4bf63a7fc733d0b1a2e3adb55abeb1f9d5\",\"dweb:/ipfs/Qmb8oX7DtsRpw3tTtdWZwGhauj1evq43d3PLwe4nSDAKkV\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/V4Router.sol\":{\"keccak256\":\"0x8ede1e538ae9b74984c52347a3bbaee7b3d69f00ed9b3a6db1f1bd6e058a2326\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8e370416fa9681ad124414e2b2fb57a5455e15dd873c9e61c964177ae5c2d544\",\"dweb:/ipfs/QmWrM97ezNB9CpawqhkwpubXHcXUbMFWKYEbD3D6EyAe1w\"]},\"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol\":{\"keccak256\":\"0xca1ee500f88951ad351d18ba2adfb5fe23abef6d502f234ce5748a3497674a4c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f03ab458be27c29cef1b7ace5b11517d3fef8bf6131af7dd80d6297c224cf71\",\"dweb:/ipfs/QmYoH6o8yeRzbeLoaMG9TjS8q2Fw7T1h4vXvvMnp3XfsUa\"]},\"@uniswap/v4-periphery/src/base/DeltaResolver.sol\":{\"keccak256\":\"0x94a2da2be5c924df65a8e1e29f585bbe4c37777fedd43b45989c66d509a4a83c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://42bba590f6e817fd56328b74ae99bfdc4df57386d0a69ee22b9108341953ed36\",\"dweb:/ipfs/QmdusastK7FWYouLz9gvV5J3z8MQbNKLJNNHTrc1vi7DWw\"]},\"@uniswap/v4-periphery/src/base/ImmutableState.sol\":{\"keccak256\":\"0x1867c9fa2f9b4fa73bab0fcdc9d19ccef4eeac552273d8b84a170cd1cc90350a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af2d699b439e13b599632fddfe82718aebd41055fba7c075f186675c588d1337\",\"dweb:/ipfs/Qmc111gckSKb9aESn3wRFLeLiS4KGujaUcaYJgRnCRfwQU\"]},\"@uniswap/v4-periphery/src/base/SafeCallback.sol\":{\"keccak256\":\"0xd78b583df1b9ee06d58e83b84fc9f08971389b34dd34bc13db072e0c13c710da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c0a47f4bcd6060c4462153b9a7c52a60a460ace91acb6ddd5492eab28ec26173\",\"dweb:/ipfs/QmdRCTRS1dhFjWEy6z577j4xz9J5HPfHBwcNzAic8G59oT\"]},\"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol\":{\"keccak256\":\"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736\",\"dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR\"]},\"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol\":{\"keccak256\":\"0x103adbba724ef536abc536fe8a4d7dc12880724c562109b69f2adce4a91fa017\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://06f51b5a5a218e0bc866a83e7821be53c9db9de0ca921f16abd3d13ea0eab69d\",\"dweb:/ipfs/QmbnhLy992hpQZyphTkj7fpr6jKKVva2AzfmLiDZEuqHAk\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol\":{\"keccak256\":\"0x336bec303f7ff86497d2679464c5adad5040f412b3d0769ce5e1d2a42f7e2c08\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7734f047d98d331c8abc51ad9f358ceee0a6dcae8d89ac49084b84de0d2d42e7\",\"dweb:/ipfs/QmWij2h7mU36LsXhb9P6pkYXrSCua4ixeWaVFSrsEcEmPQ\"]},\"@uniswap/v4-periphery/src/interfaces/INotifier.sol\":{\"keccak256\":\"0xfdc5187a98240a1691aae98b7dd2444d4c2bfb4746f3c34de9f3d18399c17c5e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://683af56401ec4f8817e8dfe150e7b3febaf0baaf40efe8d0d0475f735275f746\",\"dweb:/ipfs/QmRQ6S3nFnSc2jjDcQTvUJdTf4xKPojmvCkpvgyr6qTuVV\"]},\"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol\":{\"keccak256\":\"0xfad472937280e861125ff12aa6f9c2cf7440fbb20a2cc29485c24662ad4279c5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31bfbc331f5972fc373d9469fd1ca1d14818db3275f21b7b590f20820cb4439d\",\"dweb:/ipfs/QmX3Bv9wfYpAFZKBcxKsQSXUrSC8mqNBdzh6XVMS72aNx9\"]},\"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol\":{\"keccak256\":\"0x2e4feda94650a2642039e0309ffdec480ee050bc40864bf5e1dba42bb4dc9e98\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://964c178b4da8bab9ef898b94bb26d7c17cc44c5cf20485f55dcf5e9c7e1b1d92\",\"dweb:/ipfs/QmVd2c3SYteyr5xZgUS4sDAiZF43dLwVAEKdCfvQbkZpRJ\"]},\"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\":{\"keccak256\":\"0x62dfa0cbee8314ee7e6787db8bc1d364245c340f940875ac7ff11e89d074fc7e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26f560c77d8a187bf93a710b827e3167eab3446922192fa8f92f208da2103834\",\"dweb:/ipfs/Qmbzp5gSYdTpMBF9aAb2GraxMEQZb5LRJCyg8VaRUyjTFc\"]},\"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol\":{\"keccak256\":\"0x34ceadec4a63019680e543fe73197f198a55c825d86e18f327840354760b57e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31734feafe1fe162a0702ddf862fcc3bd97505931afb3c685033c0185d898051\",\"dweb:/ipfs/QmQEANYVyaXTNzXKcjUVfPhLU71Bix5vxQH75BpPWMkWgw\"]},\"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol\":{\"keccak256\":\"0xd7f32fee74dc7d1a3b078ca1263961baccaa6bf434c79e8fe0e092e30c3e0ec3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7d1e92d89d5f49c84aa82f3b259678c2c97a4473b22d753ca4411a6b0cec36d\",\"dweb:/ipfs/QmNZoQyminStaAdaLqoDLoWaBU5QWrWjXFjmBm4aFhzL8i\"]},\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":{\"keccak256\":\"0xc4133fae25e61cc2447d7331729f6035322d7c1fe26b39b225422bf98cc63459\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c24ff8428504e973e947a059f96289a66c520cd7f8ef47a3224f9cb6abdaf25\",\"dweb:/ipfs/QmVqxYnngWXXcCiuTC143vTEJrjZK5NXWB92pjvVbuJBQ5\"]},\"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol\":{\"keccak256\":\"0xe88abf12501ac275619aec0687240a07d26968aecbbcdfea88ba8bbd5d6e5e14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7097065d4492b4eccb1a73f99af1e5bec45404c6b973b8f5965c4c91403f5f92\",\"dweb:/ipfs/QmZK8oEqmjmTqhBoh3D3fBpyKGkUEFnptY8xwH9xpNjDm2\"]},\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]},\"@uniswap/v4-periphery/src/libraries/Actions.sol\":{\"keccak256\":\"0x8efd4b8b289177ee27e557d9d0a5a9f973d66fe1eb1ef8959d316b11987ca830\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://07fe35f194eb99465028f0546359befea574d844da53767d32f22b233c3bcc98\",\"dweb:/ipfs/Qmc19631uFxABTHAbGrDrroexi9GdyxWntaum1v8npPYz5\"]},\"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol\":{\"keccak256\":\"0x37ebf99f5d086d9d9f6e7cecbf4d62167f47c63c30248cfcb921e828f0d7a359\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4f8e68a66bb6c166d72cdba6ed6fb83a93f713b79c2c572e8058084eb90ab6c\",\"dweb:/ipfs/QmY32FxtSBRf9PJzNUVzXqFY4i2ApTPHTUMpCBGovd2zo3\"]},\"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol\":{\"keccak256\":\"0x26df49e13fb5410fd4db253cca877dfdfb3a1ba03e394d054c0e0514a88a56e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72a0c98c52171708f332f83d517deeb97fdd50ecf28f2510e1866e54593a6ff8\",\"dweb:/ipfs/QmY4LiDUfSKGj86nML7B6a8euiPciUqwYehasAyAVnMCHq\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]},\"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":{\"keccak256\":\"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6\",\"dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx\"]},\"contracts/base/Dispatcher.sol\":{\"keccak256\":\"0x1564339a5163c5d27f06a64f994a7457b061aa0f5046377bcc5078cd6907cc5d\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://82dc3ed71c19d6e5d1f72304e62e360954fc40a4d92a2a94e862c5474490d58d\",\"dweb:/ipfs/QmcNamJcGijcEetbHWVJHNjSE2WCyQsmEGEGDg9ZNwqSjR\"]},\"contracts/base/Lock.sol\":{\"keccak256\":\"0x92f953dda0d671178d054eeb3915b70f8ba80be33df8670a9146af4a4bc2c6ac\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://f73faac9532c8a8870d31bcef68a0dde387579d7b755c342b3352a54a4b63682\",\"dweb:/ipfs/QmXLvJb6vxfrUG84ASLhEf7tL62MN3oxkp7aXUxemrZTy3\"]},\"contracts/libraries/Commands.sol\":{\"keccak256\":\"0xa08ae7be62972a4f17779257641065d41fa5cc2d5fc7050e5e5b76fbda9e6a9f\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://0b94d73c5cd54aba5e1ad4ccfc33df13c1b04417f53fda188275fc15f95f02f2\",\"dweb:/ipfs/QmNpigDf9g9AAbFr27gug5hAZjb6iuFekRqXonC6upoEcp\"]},\"contracts/libraries/Constants.sol\":{\"keccak256\":\"0xb668498f11a4bb576a0a61c183da7ca348249dd9176c57dcb6532912b1b49b0e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://87d8588baf0b7b72faec637843c7623ac416d45e0f7719d0a635afe7981b2cf2\",\"dweb:/ipfs/QmSu7Jr8JM6mab2dddk1UaiPhyLZvsA8iLxC9MEcBUaMzT\"]},\"contracts/libraries/Locker.sol\":{\"keccak256\":\"0xfccb45f77b5c66f0f417d803b4b3f7ae97206d8d850a383ab7d97f25d0617cc0\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://b47f3f4e74961f8e9d918c2cc3514cb8d097caee6ab2c20c10735235dec440ec\",\"dweb:/ipfs/QmfTWUjP7g7zTw67C2RvoMhWRX6ExLNV3UYSb5LqfE4bqC\"]},\"contracts/libraries/MaxInputAmount.sol\":{\"keccak256\":\"0x2dd6efbcaf9991c852e29a726f9876a0a6d08f2271912e69efa5c6a5e8034739\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://949ebd746eee3589d1e466c738884bd3532043d9e8a7b77c1521a098ba3c69b6\",\"dweb:/ipfs/QmZC9idgGQDfLksqfz41FrcsVXhqkfRZCZH9MJXQkQavt6\"]},\"contracts/modules/MigratorImmutables.sol\":{\"keccak256\":\"0x666d1622a10509c69b679df9d175a3e0c176a62b9e18d1cee7634219aded8f68\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://a88e472495d32648ba3e7964c4c88b68853b49540f40afbaf2ede6822372b49f\",\"dweb:/ipfs/QmQoaWbCpwFYCnRgehM7ruYaa7za8fBghT5aQCRCPYJr1V\"]},\"contracts/modules/Payments.sol\":{\"keccak256\":\"0x19a103b3269ee2f7bc28a6e1850091b2087dd2558662494d1104ac8e5ac68524\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://ba64c600f57bb13672a5549b6dba11ae4dfe49f688c24eadb3289dcc87d226a8\",\"dweb:/ipfs/QmWkmVyeai1WeymuWqEk1fQE5R2frrQQjJv81cytrKvFuA\"]},\"contracts/modules/PaymentsImmutables.sol\":{\"keccak256\":\"0x9ca2535b69b15d3bdb7a15871c5bca83f5536cffb0191c64f4c6a2db4a154338\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://dc85fb3ddd19481bf0d1a8a9f5d9631b396d86344a33e30b4c4ab6cd58d51169\",\"dweb:/ipfs/QmeEGFqfHFUo1Mu6tRfCjvVGJYyoDu29ZspZgxxcj6ykvq\"]},\"contracts/modules/Permit2Payments.sol\":{\"keccak256\":\"0x887ec1f57144cd91a1b86d5a7b1d1119146f41dae6865e6fd0e849801e968628\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://08b713e82f3f192976902497e1c02dd60bf7e90c83a471eb4c7ac7710b086f95\",\"dweb:/ipfs/QmWJSGZ9Dj7FmFCnDWpDdL5fx76JYDgYWhggXCroxV7cjX\"]},\"contracts/modules/V3ToV4Migrator.sol\":{\"keccak256\":\"0x5ee3774b749b9a8d851dc6074c8de8c61f408a4cfd829c47c753840c839ba91c\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://337e17b84f4fdad7e32be0e482e7b2471d7f927ba3b3174cae38cf2509d97443\",\"dweb:/ipfs/QmbzgdyxAC5vpvWRGaemn3Qn7DRbNDjHSH3KbHSDPwJ8LY\"]},\"contracts/modules/uniswap/UniswapImmutables.sol\":{\"keccak256\":\"0xb810727f5e734a30871ff1d83d8c96d99150f1ce77bb39e032aec6254ca43cd0\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://5eb9df8b6c81f8e33b8a6bace294ed0d81c541988f7ba42027e3041eff32e1bd\",\"dweb:/ipfs/QmVPSWBv7WegGySGV4BoewKKx7iAetHsjydxQyKk3dh5yw\"]},\"contracts/modules/uniswap/v2/UniswapV2Library.sol\":{\"keccak256\":\"0x829d48c1b69d2e1bc078a57aae8d87dc31d920b01c62d6268d20d517fd24150c\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://b87236ea4c1e64c12434f31abbd658ca3fc510ebe65be731d84d3ce8efa71c32\",\"dweb:/ipfs/QmUerjg5Ebt3pfQZtk2sArUy414gQtHwvFNgsQNe4PhxbN\"]},\"contracts/modules/uniswap/v2/V2SwapRouter.sol\":{\"keccak256\":\"0x0fcb6ad6c4d5a7b25054dd9951432b2b41cb2c0077e6bc7ca0d0416115ef2326\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://124b1dd54d27914306bdd1021e171111f0ae622fffb2974ccdee24eab31b359d\",\"dweb:/ipfs/QmfKr2sbxdc31aPWv9d6ETA4GyfqHiKVZRKqhREnMkR5j9\"]},\"contracts/modules/uniswap/v3/BytesLib.sol\":{\"keccak256\":\"0xc3c23e83afd06781c4a0a5c418c20c40611e71d049766eb70987007ce372656e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://c62989beb75edad6de18c31be31eb68f0c3fb15c5f9e9bb380221afc6785fda5\",\"dweb:/ipfs/QmVEsp5yivbmjP7HcXS5kJ1XJY5Uic3J3y4zjpwD1SNySD\"]},\"contracts/modules/uniswap/v3/V3Path.sol\":{\"keccak256\":\"0xf6abbf4c7cd0975ddabb0ddb641ea9ae3b0cc1dd9a1cabf5e7cc271a974eabc2\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://1e0987fc9b81c65eada64cb65f981680c2054e489a6049d397b5ecbbf4c9a0a9\",\"dweb:/ipfs/QmW7mbbHsfc2GLy2GkCUv3VwXV93y6UFtKDD7E9QEtzFH7\"]},\"contracts/modules/uniswap/v3/V3SwapRouter.sol\":{\"keccak256\":\"0x31fe8777a6de583c54a0f09ec11d318c253b7fe50c7a2af1608b2b89a03ca660\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://780219ff0d6d333727655719d31d61ce345cdbca7f906467a2d00e3162b3c0aa\",\"dweb:/ipfs/QmbauA5Kvj7m9P9hxe4hhnLY5w2TEXMMnCc9oWehVgj2jo\"]},\"contracts/modules/uniswap/v4/V4SwapRouter.sol\":{\"keccak256\":\"0x68b7666641ad5ba227b500c9845c4bc71eaaac6556d97d31d123fce41b51969a\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://40a99bb5e9e407ad6741f5c210ac23a32950e7567c73f21975444e9729fc6cfb\",\"dweb:/ipfs/QmUK98HjyQ7NDGR36DD9owjLDk7ujEj5b5uKt9zjUsCFG5\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]},\"permit2/src/interfaces/IPermit2.sol\":{\"keccak256\":\"0xaa631cc9f53e699301d94233007110a345e6779011def484e8dd97b8fe0af771\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc0502cf19c9c18f320a3001201e89e350393b75837f6b7971de18b2de06f30d\",\"dweb:/ipfs/QmT9SfhdJ7VJNNrf94g4H5usyi7ShqWGx7Cqsz9jZTjX96\"]},\"permit2/src/interfaces/ISignatureTransfer.sol\":{\"keccak256\":\"0xe6df9966f8841dc3958ee86169c89de97e7f614c81c28b9dc947b12d732df64e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d4eafdee7f48c3be8350a94eb6edd0bfb2af2c105df65787a77174f356c0317\",\"dweb:/ipfs/QmY1j2adeeAhNpn6cUuthemxGCdLXHTfyMh9yTKsY4mZ2d\"]},\"permit2/src/libraries/SafeCast160.sol\":{\"keccak256\":\"0x8a34e2beac108d74f89510c949983212b5f09307a93ee9e17a9d50e93f6bc8e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://828697f9567ce617c5c1c8f76b6bcd250e93aea2c4f3ee188be6dff8443c19e7\",\"dweb:/ipfs/QmafxeSPhUc9gGtNDLAw26oZooC5XNLhDMxHxYhJxL5Nwi\"]},\"solmate/src/tokens/ERC20.sol\":{\"keccak256\":\"0xcdfd8db76b2a3415620e4d18cc5545f3d50de792dbf2c3dd5adb40cbe6f94b10\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://57b3ab70cde374af1cf2c9888636e8de6cf660f087b1c9abd805e9271e19fa35\",\"dweb:/ipfs/QmNrLDBAHYFjpjSd12jerm1AdBkDqEYUUaXgnT854BUZ97\"]},\"solmate/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0xbadf3d708cf532b12f75f78a1d423135954b63774a6d4ba15914a551d348db8a\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://88ac8256bd520d1b8e6f9c4ac9e8777bffdc4a6c8afb1a848f596665779a55b4\",\"dweb:/ipfs/QmXx7X1dxe6f5VM91vgQ5BA4r2eF97GWDcQDrgHytcvfjU\"]}},\"version\":1}"}},"contracts/base/Lock.sol":{"Lock":{"abi":[{"inputs":[],"name":"ContractLocked","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"608080604052346013576010908160188239f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x13 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x18 DUP3 CODECOPY RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"210:858:106:-:0;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"210:858:106:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ContractLocked\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Lock\",\"version\":1},\"userdoc\":{\"errors\":{\"ContractLocked()\":[{\"notice\":\"Thrown when attempting to reenter a locked function from an external caller\"}]},\"kind\":\"user\",\"methods\":{},\"notice\":\"A contract that provides a reentrancy lock for external calls\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/base/Lock.sol\":\"Lock\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/base/Lock.sol\":{\"keccak256\":\"0x92f953dda0d671178d054eeb3915b70f8ba80be33df8670a9146af4a4bc2c6ac\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://f73faac9532c8a8870d31bcef68a0dde387579d7b755c342b3352a54a4b63682\",\"dweb:/ipfs/QmXLvJb6vxfrUG84ASLhEf7tL62MN3oxkp7aXUxemrZTy3\"]},\"contracts/libraries/Locker.sol\":{\"keccak256\":\"0xfccb45f77b5c66f0f417d803b4b3f7ae97206d8d850a383ab7d97f25d0617cc0\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://b47f3f4e74961f8e9d918c2cc3514cb8d097caee6ab2c20c10735235dec440ec\",\"dweb:/ipfs/QmfTWUjP7g7zTw67C2RvoMhWRX6ExLNV3UYSb5LqfE4bqC\"]}},\"version\":1}"}},"contracts/deploy/UnsupportedProtocol.sol":{"UnsupportedProtocol":{"abi":[{"inputs":[],"name":"UnsupportedProtocolError","type":"error"},{"stateMutability":"nonpayable","type":"fallback"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"608080604052346013576023908160188239f35b5f80fdfe3460125763ea3559ef60e01b5f5260045ffd5b5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x13 JUMPI PUSH1 0x23 SWAP1 DUP2 PUSH1 0x18 DUP3 CODECOPY RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID CALLVALUE PUSH1 0x12 JUMPI PUSH4 0xEA3559EF PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"230:146:107:-:0;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"3460125763ea3559ef60e01b5f5260045ffd5b5f80fdfea164736f6c634300081a000a","opcodes":"CALLVALUE PUSH1 0x12 JUMPI PUSH4 0xEA3559EF PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"230:146:107:-:0;;;341:26;;;;;;;;230:146;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"UnsupportedProtocolError\",\"type\":\"error\"},{\"stateMutability\":\"nonpayable\",\"type\":\"fallback\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Dummy contract that always reverts\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Used as a placeholder to ensure reverts on attempted calls to protocols unsupported on a given chain\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/deploy/UnsupportedProtocol.sol\":\"UnsupportedProtocol\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/deploy/UnsupportedProtocol.sol\":{\"keccak256\":\"0x5effc8e27fd5ff186e9b90657b2bb6ec61fb14f5f5642ae699db5fa44c365af6\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://80f60ffdfec2cf3ae09d56dddfc9c4f6c1f0fc9caa8a987c3858bf94c2a71a5a\",\"dweb:/ipfs/QmeHDSs1SquFRgt96XZdW7BsED7FDxRE4FfLh7U42stJk9\"]}},\"version\":1}"}},"contracts/interfaces/IUniversalRouter.sol":{"IUniversalRouter":{"abi":[{"inputs":[],"name":"ETHNotAccepted","type":"error"},{"inputs":[{"internalType":"uint256","name":"commandIndex","type":"uint256"},{"internalType":"bytes","name":"message","type":"bytes"}],"name":"ExecutionFailed","type":"error"},{"inputs":[],"name":"InvalidEthSender","type":"error"},{"inputs":[],"name":"LengthMismatch","type":"error"},{"inputs":[],"name":"TransactionDeadlinePassed","type":"error"},{"inputs":[{"internalType":"bytes","name":"commands","type":"bytes"},{"internalType":"bytes[]","name":"inputs","type":"bytes[]"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"execute","outputs":[],"stateMutability":"payable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"execute(bytes,bytes[],uint256)":"3593564c"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ETHNotAccepted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"commandIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"ExecutionFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidEthSender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransactionDeadlinePassed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"commands\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"inputs\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"execute(bytes,bytes[],uint256)\":{\"params\":{\"commands\":\"A set of concatenated commands, each 1 byte in length\",\"deadline\":\"The deadline by which the transaction must be executed\",\"inputs\":\"An array of byte strings containing abi encoded inputs for each command\"}}},\"version\":1},\"userdoc\":{\"errors\":{\"ETHNotAccepted()\":[{\"notice\":\"Thrown when attempting to send ETH directly to the contract\"}],\"ExecutionFailed(uint256,bytes)\":[{\"notice\":\"Thrown when a required command has failed\"}],\"LengthMismatch()\":[{\"notice\":\"Thrown when attempting to execute commands and an incorrect number of inputs are provided\"}],\"TransactionDeadlinePassed()\":[{\"notice\":\"Thrown when executing commands with an expired deadline\"}]},\"kind\":\"user\",\"methods\":{\"execute(bytes,bytes[],uint256)\":{\"notice\":\"Executes encoded commands along with provided inputs. Reverts if deadline has expired.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/IUniversalRouter.sol\":\"IUniversalRouter\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/interfaces/IUniversalRouter.sol\":{\"keccak256\":\"0x2525b52d1edf5df89bfd093c5b933b9e8f65236f44f58096763a6c87a5cafb63\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://5cc0fcfedd6b32586099ee0f6781bb81da99175c65013c06bb6f61a125babb18\",\"dweb:/ipfs/QmcEkSzkjkPpp3YyJZaY232TjuNU4Pw6CSiTWz7sk2Sq5D\"]}},\"version\":1}"}},"contracts/libraries/Commands.sol":{"Commands":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"141:1710:109:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"141:1710:109:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Commands\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Command Flags used to decode commands\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/libraries/Commands.sol\":\"Commands\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/libraries/Commands.sol\":{\"keccak256\":\"0xa08ae7be62972a4f17779257641065d41fa5cc2d5fc7050e5e5b76fbda9e6a9f\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://0b94d73c5cd54aba5e1ad4ccfc33df13c1b04417f53fda188275fc15f95f02f2\",\"dweb:/ipfs/QmNpigDf9g9AAbFr27gug5hAZjb6iuFekRqXonC6upoEcp\"]}},\"version\":1}"}},"contracts/libraries/Constants.sol":{"Constants":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"153:987:110:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"153:987:110:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"ADDR_SIZE\":{\"details\":\"The length of the bytes encoded address\"},\"ALREADY_PAID\":{\"details\":\"Used for identifying cases when a v2 pair has already received input tokens\"},\"ETH\":{\"details\":\"Used as a flag for identifying the transfer of ETH instead of a token\"},\"MULTIPLE_V3_POOLS_MIN_LENGTH\":{\"details\":\"The minimum length of an encoding that contains 2 or more pools\"},\"NEXT_V3_POOL_OFFSET\":{\"details\":\"The offset of a single token address (20) and pool fee (3)\"},\"V3_FEE_SIZE\":{\"details\":\"The length of the bytes encoded fee\"},\"V3_POP_OFFSET\":{\"details\":\"The offset of an encoded pool key Token (20) + Fee (3) + Token (20) = 43\"}},\"title\":\"Constant state\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Constant state used by the Universal Router\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/libraries/Constants.sol\":\"Constants\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/libraries/Constants.sol\":{\"keccak256\":\"0xb668498f11a4bb576a0a61c183da7ca348249dd9176c57dcb6532912b1b49b0e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://87d8588baf0b7b72faec637843c7623ac416d45e0f7719d0a635afe7981b2cf2\",\"dweb:/ipfs/QmSu7Jr8JM6mab2dddk1UaiPhyLZvsA8iLxC9MEcBUaMzT\"]}},\"version\":1}"}},"contracts/libraries/Locker.sol":{"Locker":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"364:700:111:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"364:700:111:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Instead of storing a boolean, the locker's address is stored to allow the contract to know who locked the contract TODO: This library can be deleted when we have the transient keyword support in solidity.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"A library to implement a reentrancy lock in transient storage.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/libraries/Locker.sol\":\"Locker\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/libraries/Locker.sol\":{\"keccak256\":\"0xfccb45f77b5c66f0f417d803b4b3f7ae97206d8d850a383ab7d97f25d0617cc0\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://b47f3f4e74961f8e9d918c2cc3514cb8d097caee6ab2c20c10735235dec440ec\",\"dweb:/ipfs/QmfTWUjP7g7zTw67C2RvoMhWRX6ExLNV3UYSb5LqfE4bqC\"]}},\"version\":1}"}},"contracts/libraries/MaxInputAmount.sol":{"MaxInputAmount":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"201:591:112:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"201:591:112:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"A library used to store the maximum desired amount of input tokens for exact output swaps; used for checking slippage\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/libraries/MaxInputAmount.sol\":\"MaxInputAmount\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/libraries/MaxInputAmount.sol\":{\"keccak256\":\"0x2dd6efbcaf9991c852e29a726f9876a0a6d08f2271912e69efa5c6a5e8034739\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://949ebd746eee3589d1e466c738884bd3532043d9e8a7b77c1521a098ba3c69b6\",\"dweb:/ipfs/QmZC9idgGQDfLksqfz41FrcsVXhqkfRZCZH9MJXQkQavt6\"]}},\"version\":1}"}},"contracts/modules/MigratorImmutables.sol":{"MigratorImmutables":{"abi":[{"inputs":[{"components":[{"internalType":"address","name":"v3PositionManager","type":"address"},{"internalType":"address","name":"v4PositionManager","type":"address"}],"internalType":"struct MigratorParameters","name":"params","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"V3_POSITION_MANAGER","outputs":[{"internalType":"contract INonfungiblePositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"V4_POSITION_MANAGER","outputs":[{"internalType":"contract IPositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"abi_decode_address_fromMemory":{"entryPoint":200,"id":null,"parameterSlots":1,"returnSlots":1}},"generatedSources":[],"linkReferences":{},"object":"60c0604052346100c457604051601f61019e38819003918201601f19168301916001600160401b038311848410176100b05780849260409485528339810103126100c45760408051919082016001600160401b038111838210176100b05760405260206100798161006f846100c8565b93848652016100c8565b92019182526001600160a01b0390811660805290511660a05260405160c190816100dd8239608051816085015260a0518160420152f35b634e487b7160e01b5f52604160045260245ffd5b5f80fd5b51906001600160a01b03821682036100c45756fe60808060405260043610156011575f80fd5b5f3560e01c908163817122dc146075575063d0c9f6cb14602f575f80fd5b346071575f3660031901126071576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b5f80fd5b346071575f3660031901126071577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f3fea164736f6c634300081a000a","opcodes":"PUSH1 0xC0 PUSH1 0x40 MSTORE CALLVALUE PUSH2 0xC4 JUMPI PUSH1 0x40 MLOAD PUSH1 0x1F PUSH2 0x19E CODESIZE DUP2 SWAP1 SUB SWAP2 DUP3 ADD PUSH1 0x1F NOT AND DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT DUP5 DUP5 LT OR PUSH2 0xB0 JUMPI DUP1 DUP5 SWAP3 PUSH1 0x40 SWAP5 DUP6 MSTORE DUP4 CODECOPY DUP2 ADD SUB SLT PUSH2 0xC4 JUMPI PUSH1 0x40 DUP1 MLOAD SWAP2 SWAP1 DUP3 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP4 DUP3 LT OR PUSH2 0xB0 JUMPI PUSH1 0x40 MSTORE PUSH1 0x20 PUSH2 0x79 DUP2 PUSH2 0x6F DUP5 PUSH2 0xC8 JUMP JUMPDEST SWAP4 DUP5 DUP7 MSTORE ADD PUSH2 0xC8 JUMP JUMPDEST SWAP3 ADD SWAP2 DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x80 MSTORE SWAP1 MLOAD AND PUSH1 0xA0 MSTORE PUSH1 0x40 MLOAD PUSH1 0xC1 SWAP1 DUP2 PUSH2 0xDD DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 PUSH1 0x85 ADD MSTORE PUSH1 0xA0 MLOAD DUP2 PUSH1 0x42 ADD MSTORE RETURN JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0xC4 JUMPI JUMP INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x817122DC EQ PUSH1 0x75 JUMPI POP PUSH4 0xD0C9F6CB EQ PUSH1 0x2F JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x71 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x71 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x71 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x71 JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"549:464:113:-:0;;;;;;;;;;;;;;;;;-1:-1:-1;;549:464:113;;;;-1:-1:-1;;;;;549:464:113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;549:464:113;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;549:464:113;;;855:75;;549:464;;;;940:64;549:464;;;;;;;;855:75;549:464;;;;;940:64;549:464;;;;;;;;;;-1:-1:-1;549:464:113;;;;;-1:-1:-1;549:464:113;;-1:-1:-1;549:464:113;;;;;-1:-1:-1;;;;;549:464:113;;;;;;:::o"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{"18305":[{"length":32,"start":133}],"18309":[{"length":32,"start":66}]},"linkReferences":{},"object":"60808060405260043610156011575f80fd5b5f3560e01c908163817122dc146075575063d0c9f6cb14602f575f80fd5b346071575f3660031901126071576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b5f80fd5b346071575f3660031901126071577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f3fea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x817122DC EQ PUSH1 0x75 JUMPI POP PUSH4 0xD0C9F6CB EQ PUSH1 0x2F JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x71 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x71 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x71 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x71 JUMPI PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"549:464:113:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;549:464:113;;;;;;739:53;-1:-1:-1;;;;;549:464:113;;;;;;;;;;;;;;;;-1:-1:-1;;549:464:113;;;;626:64;-1:-1:-1;;;;;549:464:113;;;;;"},"methodIdentifiers":{"V3_POSITION_MANAGER()":"817122dc","V4_POSITION_MANAGER()":"d0c9f6cb"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"v3PositionManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v4PositionManager\",\"type\":\"address\"}],\"internalType\":\"struct MigratorParameters\",\"name\":\"params\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"V3_POSITION_MANAGER\",\"outputs\":[{\"internalType\":\"contract INonfungiblePositionManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"V4_POSITION_MANAGER\",\"outputs\":[{\"internalType\":\"contract IPositionManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Migrator Immutables\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"V3_POSITION_MANAGER()\":{\"notice\":\"v3 PositionManager address\"},\"V4_POSITION_MANAGER()\":{\"notice\":\"v4 PositionManager address\"}},\"notice\":\"Immutable state for liquidity-migration contracts\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/modules/MigratorImmutables.sol\":\"MigratorImmutables\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f8f2a76e23b02fc69e8cd24c3cb47da6c7af3a2d6c3a382f8ac25c6e094ade7\",\"dweb:/ipfs/QmPV4ZS4tPVv4mTCf9ejyZ1ai57EEibDRj7mN2ARDCLV5n\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":{\"keccak256\":\"0x3d6954a93ac198a2ffa384fa58ccf18e7e235263e051a394328002eff4e073de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f58c799bd939d3951c94893e83ef86acd56989d1d7db7f9d180c515e29e28ff\",\"dweb:/ipfs/QmTgAxHAAys4kq9ZfU9YB24MWYoHLGAKSxnYUigPFrNW7g\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02\",\"dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]},\"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol\":{\"keccak256\":\"0x9e3c2a4ee65ddf95b2dfcb0815784eea3a295707e6f8b83e4c4f0f8fe2e3a1d4\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://bfd939085b3618101b955f87c7fabf38338ba1aad480295acb8102ebc5d72471\",\"dweb:/ipfs/QmauQD8bGDHTztmTDfaKXjzM7Wacrq2XU7VcTbwn1WrDBL\"]},\"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol\":{\"keccak256\":\"0x3357b065654abb7f4a9ebd184a260bc39efde2afa4e99dca2e72ffc28e9c2984\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f7682dab014724be8e0a5a401b047788ff9c70b77fa5bd567ea6adc333cb3b56\",\"dweb:/ipfs/QmatH1Gc6z3AkP4dHjAEBKfCBbgBfD4vCceF4TuZU2bCyW\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol\":{\"keccak256\":\"0x7affcfeb5127c0925a71d6a65345e117c33537523aeca7bc98085ead8452519d\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://e16b291294210e71cb0f20cd0afe62ae2dc6878d627f5ccc19c4dc9cd80aec3f\",\"dweb:/ipfs/QmQGitSyBr26nour81BZmpmDMyJpvZRqHQZvnCD1Acb127\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol\":{\"keccak256\":\"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407\",\"dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol\":{\"keccak256\":\"0x9d7695e8d94c22cc5fcced602017aabb988de89981ea7bee29ea629d5328a862\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://61b50933026ee1017db2a6273af8cedc3238c95dca58880db0918dbdbb2f064f\",\"dweb:/ipfs/QmUebR26pqG25d18aBELKz8aFFKkmHa8PxntzXTA7o9Ldu\"]},\"@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol\":{\"keccak256\":\"0xa72de315bd655a0fd5043ff97c7fd3868a1b5b1986afd75c6f5f8fd0f904985f\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a8838e68aba9caf2b2cb13bd4cb661b1f9c167cca4dfcd50ac72ae96691392df\",\"dweb:/ipfs/QmfLq3cmsSQTuLLxiF4bgceaf2jx8CoiVXQd7BZXGgJG1E\"]},\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol\":{\"keccak256\":\"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736\",\"dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR\"]},\"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol\":{\"keccak256\":\"0x103adbba724ef536abc536fe8a4d7dc12880724c562109b69f2adce4a91fa017\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://06f51b5a5a218e0bc866a83e7821be53c9db9de0ca921f16abd3d13ea0eab69d\",\"dweb:/ipfs/QmbnhLy992hpQZyphTkj7fpr6jKKVva2AzfmLiDZEuqHAk\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol\":{\"keccak256\":\"0x336bec303f7ff86497d2679464c5adad5040f412b3d0769ce5e1d2a42f7e2c08\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7734f047d98d331c8abc51ad9f358ceee0a6dcae8d89ac49084b84de0d2d42e7\",\"dweb:/ipfs/QmWij2h7mU36LsXhb9P6pkYXrSCua4ixeWaVFSrsEcEmPQ\"]},\"@uniswap/v4-periphery/src/interfaces/INotifier.sol\":{\"keccak256\":\"0xfdc5187a98240a1691aae98b7dd2444d4c2bfb4746f3c34de9f3d18399c17c5e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://683af56401ec4f8817e8dfe150e7b3febaf0baaf40efe8d0d0475f735275f746\",\"dweb:/ipfs/QmRQ6S3nFnSc2jjDcQTvUJdTf4xKPojmvCkpvgyr6qTuVV\"]},\"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol\":{\"keccak256\":\"0xfad472937280e861125ff12aa6f9c2cf7440fbb20a2cc29485c24662ad4279c5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31bfbc331f5972fc373d9469fd1ca1d14818db3275f21b7b590f20820cb4439d\",\"dweb:/ipfs/QmX3Bv9wfYpAFZKBcxKsQSXUrSC8mqNBdzh6XVMS72aNx9\"]},\"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol\":{\"keccak256\":\"0x2e4feda94650a2642039e0309ffdec480ee050bc40864bf5e1dba42bb4dc9e98\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://964c178b4da8bab9ef898b94bb26d7c17cc44c5cf20485f55dcf5e9c7e1b1d92\",\"dweb:/ipfs/QmVd2c3SYteyr5xZgUS4sDAiZF43dLwVAEKdCfvQbkZpRJ\"]},\"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\":{\"keccak256\":\"0x62dfa0cbee8314ee7e6787db8bc1d364245c340f940875ac7ff11e89d074fc7e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26f560c77d8a187bf93a710b827e3167eab3446922192fa8f92f208da2103834\",\"dweb:/ipfs/Qmbzp5gSYdTpMBF9aAb2GraxMEQZb5LRJCyg8VaRUyjTFc\"]},\"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol\":{\"keccak256\":\"0x34ceadec4a63019680e543fe73197f198a55c825d86e18f327840354760b57e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31734feafe1fe162a0702ddf862fcc3bd97505931afb3c685033c0185d898051\",\"dweb:/ipfs/QmQEANYVyaXTNzXKcjUVfPhLU71Bix5vxQH75BpPWMkWgw\"]},\"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol\":{\"keccak256\":\"0xd7f32fee74dc7d1a3b078ca1263961baccaa6bf434c79e8fe0e092e30c3e0ec3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7d1e92d89d5f49c84aa82f3b259678c2c97a4473b22d753ca4411a6b0cec36d\",\"dweb:/ipfs/QmNZoQyminStaAdaLqoDLoWaBU5QWrWjXFjmBm4aFhzL8i\"]},\"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":{\"keccak256\":\"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6\",\"dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx\"]},\"contracts/modules/MigratorImmutables.sol\":{\"keccak256\":\"0x666d1622a10509c69b679df9d175a3e0c176a62b9e18d1cee7634219aded8f68\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://a88e472495d32648ba3e7964c4c88b68853b49540f40afbaf2ede6822372b49f\",\"dweb:/ipfs/QmQoaWbCpwFYCnRgehM7ruYaa7za8fBghT5aQCRCPYJr1V\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]}},\"version\":1}"}},"contracts/modules/Payments.sol":{"Payments":{"abi":[{"inputs":[],"name":"InsufficientETH","type":"error"},{"inputs":[],"name":"InsufficientToken","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InsufficientETH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientToken\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Payments contract\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Performs various operations around the payment of ETH and tokens\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/modules/Payments.sol\":\"Payments\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol\":{\"keccak256\":\"0xe88abf12501ac275619aec0687240a07d26968aecbbcdfea88ba8bbd5d6e5e14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7097065d4492b4eccb1a73f99af1e5bec45404c6b973b8f5965c4c91403f5f92\",\"dweb:/ipfs/QmZK8oEqmjmTqhBoh3D3fBpyKGkUEFnptY8xwH9xpNjDm2\"]},\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]},\"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol\":{\"keccak256\":\"0x37ebf99f5d086d9d9f6e7cecbf4d62167f47c63c30248cfcb921e828f0d7a359\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4f8e68a66bb6c166d72cdba6ed6fb83a93f713b79c2c572e8058084eb90ab6c\",\"dweb:/ipfs/QmY32FxtSBRf9PJzNUVzXqFY4i2ApTPHTUMpCBGovd2zo3\"]},\"contracts/libraries/Constants.sol\":{\"keccak256\":\"0xb668498f11a4bb576a0a61c183da7ca348249dd9176c57dcb6532912b1b49b0e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://87d8588baf0b7b72faec637843c7623ac416d45e0f7719d0a635afe7981b2cf2\",\"dweb:/ipfs/QmSu7Jr8JM6mab2dddk1UaiPhyLZvsA8iLxC9MEcBUaMzT\"]},\"contracts/modules/Payments.sol\":{\"keccak256\":\"0x19a103b3269ee2f7bc28a6e1850091b2087dd2558662494d1104ac8e5ac68524\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://ba64c600f57bb13672a5549b6dba11ae4dfe49f688c24eadb3289dcc87d226a8\",\"dweb:/ipfs/QmWkmVyeai1WeymuWqEk1fQE5R2frrQQjJv81cytrKvFuA\"]},\"contracts/modules/PaymentsImmutables.sol\":{\"keccak256\":\"0x9ca2535b69b15d3bdb7a15871c5bca83f5536cffb0191c64f4c6a2db4a154338\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://dc85fb3ddd19481bf0d1a8a9f5d9631b396d86344a33e30b4c4ab6cd58d51169\",\"dweb:/ipfs/QmeEGFqfHFUo1Mu6tRfCjvVGJYyoDu29ZspZgxxcj6ykvq\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]},\"permit2/src/interfaces/IPermit2.sol\":{\"keccak256\":\"0xaa631cc9f53e699301d94233007110a345e6779011def484e8dd97b8fe0af771\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc0502cf19c9c18f320a3001201e89e350393b75837f6b7971de18b2de06f30d\",\"dweb:/ipfs/QmT9SfhdJ7VJNNrf94g4H5usyi7ShqWGx7Cqsz9jZTjX96\"]},\"permit2/src/interfaces/ISignatureTransfer.sol\":{\"keccak256\":\"0xe6df9966f8841dc3958ee86169c89de97e7f614c81c28b9dc947b12d732df64e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d4eafdee7f48c3be8350a94eb6edd0bfb2af2c105df65787a77174f356c0317\",\"dweb:/ipfs/QmY1j2adeeAhNpn6cUuthemxGCdLXHTfyMh9yTKsY4mZ2d\"]},\"solmate/src/tokens/ERC20.sol\":{\"keccak256\":\"0xcdfd8db76b2a3415620e4d18cc5545f3d50de792dbf2c3dd5adb40cbe6f94b10\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://57b3ab70cde374af1cf2c9888636e8de6cf660f087b1c9abd805e9271e19fa35\",\"dweb:/ipfs/QmNrLDBAHYFjpjSd12jerm1AdBkDqEYUUaXgnT854BUZ97\"]},\"solmate/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0xbadf3d708cf532b12f75f78a1d423135954b63774a6d4ba15914a551d348db8a\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://88ac8256bd520d1b8e6f9c4ac9e8777bffdc4a6c8afb1a848f596665779a55b4\",\"dweb:/ipfs/QmXx7X1dxe6f5VM91vgQ5BA4r2eF97GWDcQDrgHytcvfjU\"]}},\"version\":1}"}},"contracts/modules/PaymentsImmutables.sol":{"PaymentsImmutables":{"abi":[{"inputs":[{"components":[{"internalType":"address","name":"permit2","type":"address"},{"internalType":"address","name":"weth9","type":"address"}],"internalType":"struct PaymentsParameters","name":"params","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"}],"evm":{"bytecode":{"functionDebugData":{"abi_decode_address_fromMemory":{"entryPoint":197,"id":null,"parameterSlots":1,"returnSlots":1}},"generatedSources":[],"linkReferences":{},"object":"60c0604052346100c157604051601f6100ea38819003918201601f19168301916001600160401b038311848410176100ad5780849260409485528339810103126100c15760408051919082016001600160401b038111838210176100ad5761007891602091604052610070816100c5565b8452016100c5565b602082018190526001600160a01b0390811660805290511660a052604051601090816100da823960805181505060a051815050f35b634e487b7160e01b5f52604160045260245ffd5b5f80fd5b51906001600160a01b03821682036100c15756fe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0xC0 PUSH1 0x40 MSTORE CALLVALUE PUSH2 0xC1 JUMPI PUSH1 0x40 MLOAD PUSH1 0x1F PUSH2 0xEA CODESIZE DUP2 SWAP1 SUB SWAP2 DUP3 ADD PUSH1 0x1F NOT AND DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT DUP5 DUP5 LT OR PUSH2 0xAD JUMPI DUP1 DUP5 SWAP3 PUSH1 0x40 SWAP5 DUP6 MSTORE DUP4 CODECOPY DUP2 ADD SUB SLT PUSH2 0xC1 JUMPI PUSH1 0x40 DUP1 MLOAD SWAP2 SWAP1 DUP3 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP4 DUP3 LT OR PUSH2 0xAD JUMPI PUSH2 0x78 SWAP2 PUSH1 0x20 SWAP2 PUSH1 0x40 MSTORE PUSH2 0x70 DUP2 PUSH2 0xC5 JUMP JUMPDEST DUP5 MSTORE ADD PUSH2 0xC5 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x80 MSTORE SWAP1 MLOAD AND PUSH1 0xA0 MSTORE PUSH1 0x40 MLOAD PUSH1 0x10 SWAP1 DUP2 PUSH2 0xDA DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 POP POP PUSH1 0xA0 MLOAD DUP2 POP POP RETURN JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0xC1 JUMPI JUMP INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"286:313:115:-:0;;;;;;;;;;;;;;;;;-1:-1:-1;;286:313:115;;;;-1:-1:-1;;;;;286:313:115;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;286:313:115;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;286:313:115;;;518:28;;286:313;;;;556:34;286:313;;;;;;;;518:28;286:313;;;;556:34;286:313;;;;;;;;;-1:-1:-1;286:313:115;;;;;-1:-1:-1;286:313:115;;-1:-1:-1;286:313:115;;;;;-1:-1:-1;;;;;286:313:115;;;;;;:::o"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"286:313:115:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"permit2\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"weth9\",\"type\":\"address\"}],\"internalType\":\"struct PaymentsParameters\",\"name\":\"params\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/modules/PaymentsImmutables.sol\":\"PaymentsImmutables\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol\":{\"keccak256\":\"0xe88abf12501ac275619aec0687240a07d26968aecbbcdfea88ba8bbd5d6e5e14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7097065d4492b4eccb1a73f99af1e5bec45404c6b973b8f5965c4c91403f5f92\",\"dweb:/ipfs/QmZK8oEqmjmTqhBoh3D3fBpyKGkUEFnptY8xwH9xpNjDm2\"]},\"contracts/modules/PaymentsImmutables.sol\":{\"keccak256\":\"0x9ca2535b69b15d3bdb7a15871c5bca83f5536cffb0191c64f4c6a2db4a154338\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://dc85fb3ddd19481bf0d1a8a9f5d9631b396d86344a33e30b4c4ab6cd58d51169\",\"dweb:/ipfs/QmeEGFqfHFUo1Mu6tRfCjvVGJYyoDu29ZspZgxxcj6ykvq\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]},\"permit2/src/interfaces/IPermit2.sol\":{\"keccak256\":\"0xaa631cc9f53e699301d94233007110a345e6779011def484e8dd97b8fe0af771\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc0502cf19c9c18f320a3001201e89e350393b75837f6b7971de18b2de06f30d\",\"dweb:/ipfs/QmT9SfhdJ7VJNNrf94g4H5usyi7ShqWGx7Cqsz9jZTjX96\"]},\"permit2/src/interfaces/ISignatureTransfer.sol\":{\"keccak256\":\"0xe6df9966f8841dc3958ee86169c89de97e7f614c81c28b9dc947b12d732df64e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d4eafdee7f48c3be8350a94eb6edd0bfb2af2c105df65787a77174f356c0317\",\"dweb:/ipfs/QmY1j2adeeAhNpn6cUuthemxGCdLXHTfyMh9yTKsY4mZ2d\"]}},\"version\":1}"}},"contracts/modules/Permit2Payments.sol":{"Permit2Payments":{"abi":[{"inputs":[],"name":"FromAddressIsNotOwner","type":"error"},{"inputs":[],"name":"InsufficientETH","type":"error"},{"inputs":[],"name":"InsufficientToken","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"FromAddressIsNotOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientETH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientToken\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Payments through Permit2\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Performs interactions with Permit2 to transfer tokens\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/modules/Permit2Payments.sol\":\"Permit2Payments\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol\":{\"keccak256\":\"0xe88abf12501ac275619aec0687240a07d26968aecbbcdfea88ba8bbd5d6e5e14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7097065d4492b4eccb1a73f99af1e5bec45404c6b973b8f5965c4c91403f5f92\",\"dweb:/ipfs/QmZK8oEqmjmTqhBoh3D3fBpyKGkUEFnptY8xwH9xpNjDm2\"]},\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]},\"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol\":{\"keccak256\":\"0x37ebf99f5d086d9d9f6e7cecbf4d62167f47c63c30248cfcb921e828f0d7a359\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4f8e68a66bb6c166d72cdba6ed6fb83a93f713b79c2c572e8058084eb90ab6c\",\"dweb:/ipfs/QmY32FxtSBRf9PJzNUVzXqFY4i2ApTPHTUMpCBGovd2zo3\"]},\"contracts/libraries/Constants.sol\":{\"keccak256\":\"0xb668498f11a4bb576a0a61c183da7ca348249dd9176c57dcb6532912b1b49b0e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://87d8588baf0b7b72faec637843c7623ac416d45e0f7719d0a635afe7981b2cf2\",\"dweb:/ipfs/QmSu7Jr8JM6mab2dddk1UaiPhyLZvsA8iLxC9MEcBUaMzT\"]},\"contracts/modules/Payments.sol\":{\"keccak256\":\"0x19a103b3269ee2f7bc28a6e1850091b2087dd2558662494d1104ac8e5ac68524\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://ba64c600f57bb13672a5549b6dba11ae4dfe49f688c24eadb3289dcc87d226a8\",\"dweb:/ipfs/QmWkmVyeai1WeymuWqEk1fQE5R2frrQQjJv81cytrKvFuA\"]},\"contracts/modules/PaymentsImmutables.sol\":{\"keccak256\":\"0x9ca2535b69b15d3bdb7a15871c5bca83f5536cffb0191c64f4c6a2db4a154338\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://dc85fb3ddd19481bf0d1a8a9f5d9631b396d86344a33e30b4c4ab6cd58d51169\",\"dweb:/ipfs/QmeEGFqfHFUo1Mu6tRfCjvVGJYyoDu29ZspZgxxcj6ykvq\"]},\"contracts/modules/Permit2Payments.sol\":{\"keccak256\":\"0x887ec1f57144cd91a1b86d5a7b1d1119146f41dae6865e6fd0e849801e968628\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://08b713e82f3f192976902497e1c02dd60bf7e90c83a471eb4c7ac7710b086f95\",\"dweb:/ipfs/QmWJSGZ9Dj7FmFCnDWpDdL5fx76JYDgYWhggXCroxV7cjX\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]},\"permit2/src/interfaces/IPermit2.sol\":{\"keccak256\":\"0xaa631cc9f53e699301d94233007110a345e6779011def484e8dd97b8fe0af771\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc0502cf19c9c18f320a3001201e89e350393b75837f6b7971de18b2de06f30d\",\"dweb:/ipfs/QmT9SfhdJ7VJNNrf94g4H5usyi7ShqWGx7Cqsz9jZTjX96\"]},\"permit2/src/interfaces/ISignatureTransfer.sol\":{\"keccak256\":\"0xe6df9966f8841dc3958ee86169c89de97e7f614c81c28b9dc947b12d732df64e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d4eafdee7f48c3be8350a94eb6edd0bfb2af2c105df65787a77174f356c0317\",\"dweb:/ipfs/QmY1j2adeeAhNpn6cUuthemxGCdLXHTfyMh9yTKsY4mZ2d\"]},\"permit2/src/libraries/SafeCast160.sol\":{\"keccak256\":\"0x8a34e2beac108d74f89510c949983212b5f09307a93ee9e17a9d50e93f6bc8e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://828697f9567ce617c5c1c8f76b6bcd250e93aea2c4f3ee188be6dff8443c19e7\",\"dweb:/ipfs/QmafxeSPhUc9gGtNDLAw26oZooC5XNLhDMxHxYhJxL5Nwi\"]},\"solmate/src/tokens/ERC20.sol\":{\"keccak256\":\"0xcdfd8db76b2a3415620e4d18cc5545f3d50de792dbf2c3dd5adb40cbe6f94b10\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://57b3ab70cde374af1cf2c9888636e8de6cf660f087b1c9abd805e9271e19fa35\",\"dweb:/ipfs/QmNrLDBAHYFjpjSd12jerm1AdBkDqEYUUaXgnT854BUZ97\"]},\"solmate/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0xbadf3d708cf532b12f75f78a1d423135954b63774a6d4ba15914a551d348db8a\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://88ac8256bd520d1b8e6f9c4ac9e8777bffdc4a6c8afb1a848f596665779a55b4\",\"dweb:/ipfs/QmXx7X1dxe6f5VM91vgQ5BA4r2eF97GWDcQDrgHytcvfjU\"]}},\"version\":1}"}},"contracts/modules/V3ToV4Migrator.sol":{"V3ToV4Migrator":{"abi":[{"inputs":[{"internalType":"bytes4","name":"action","type":"bytes4"}],"name":"InvalidAction","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NotAuthorizedForToken","type":"error"},{"inputs":[],"name":"OnlyMintAllowed","type":"error"},{"inputs":[],"name":"V3_POSITION_MANAGER","outputs":[{"internalType":"contract INonfungiblePositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"V4_POSITION_MANAGER","outputs":[{"internalType":"contract IPositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"V3_POSITION_MANAGER()":"817122dc","V4_POSITION_MANAGER()":"d0c9f6cb"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"action\",\"type\":\"bytes4\"}],\"name\":\"InvalidAction\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"NotAuthorizedForToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyMintAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3_POSITION_MANAGER\",\"outputs\":[{\"internalType\":\"contract INonfungiblePositionManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"V4_POSITION_MANAGER\",\"outputs\":[{\"internalType\":\"contract IPositionManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"V3 to V4 Migrator\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"V3_POSITION_MANAGER()\":{\"notice\":\"v3 PositionManager address\"},\"V4_POSITION_MANAGER()\":{\"notice\":\"v4 PositionManager address\"}},\"notice\":\"A contract that migrates liquidity from Uniswap V3 to V4\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/modules/V3ToV4Migrator.sol\":\"V3ToV4Migrator\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5ef46daa3b58ef2702279d514780316efaa952915ee1aa3396f041ee2982b0b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f8f2a76e23b02fc69e8cd24c3cb47da6c7af3a2d6c3a382f8ac25c6e094ade7\",\"dweb:/ipfs/QmPV4ZS4tPVv4mTCf9ejyZ1ai57EEibDRj7mN2ARDCLV5n\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol\":{\"keccak256\":\"0x3d6954a93ac198a2ffa384fa58ccf18e7e235263e051a394328002eff4e073de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f58c799bd939d3951c94893e83ef86acd56989d1d7db7f9d180c515e29e28ff\",\"dweb:/ipfs/QmTgAxHAAys4kq9ZfU9YB24MWYoHLGAKSxnYUigPFrNW7g\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02\",\"dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]},\"@uniswap/v3-periphery/contracts/interfaces/IERC721Permit.sol\":{\"keccak256\":\"0x9e3c2a4ee65ddf95b2dfcb0815784eea3a295707e6f8b83e4c4f0f8fe2e3a1d4\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://bfd939085b3618101b955f87c7fabf38338ba1aad480295acb8102ebc5d72471\",\"dweb:/ipfs/QmauQD8bGDHTztmTDfaKXjzM7Wacrq2XU7VcTbwn1WrDBL\"]},\"@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol\":{\"keccak256\":\"0x3357b065654abb7f4a9ebd184a260bc39efde2afa4e99dca2e72ffc28e9c2984\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f7682dab014724be8e0a5a401b047788ff9c70b77fa5bd567ea6adc333cb3b56\",\"dweb:/ipfs/QmatH1Gc6z3AkP4dHjAEBKfCBbgBfD4vCceF4TuZU2bCyW\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol\":{\"keccak256\":\"0x7affcfeb5127c0925a71d6a65345e117c33537523aeca7bc98085ead8452519d\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://e16b291294210e71cb0f20cd0afe62ae2dc6878d627f5ccc19c4dc9cd80aec3f\",\"dweb:/ipfs/QmQGitSyBr26nour81BZmpmDMyJpvZRqHQZvnCD1Acb127\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol\":{\"keccak256\":\"0xb547e10f1e69bed03621a62b73a503e260643066c6b4054867a4d1fef47eb274\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://f9a90f58f5fd5fb42f7811f4094113b532f307b14a73764c91f977590747f407\",\"dweb:/ipfs/QmSeNH2mfiDMKf3Q6V2sqtNxx1s72JNuA1VVxRM9HoMqYp\"]},\"@uniswap/v3-periphery/contracts/interfaces/IPoolInitializer.sol\":{\"keccak256\":\"0x9d7695e8d94c22cc5fcced602017aabb988de89981ea7bee29ea629d5328a862\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://61b50933026ee1017db2a6273af8cedc3238c95dca58880db0918dbdbb2f064f\",\"dweb:/ipfs/QmUebR26pqG25d18aBELKz8aFFKkmHa8PxntzXTA7o9Ldu\"]},\"@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol\":{\"keccak256\":\"0xa72de315bd655a0fd5043ff97c7fd3868a1b5b1986afd75c6f5f8fd0f904985f\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://a8838e68aba9caf2b2cb13bd4cb661b1f9c167cca4dfcd50ac72ae96691392df\",\"dweb:/ipfs/QmfLq3cmsSQTuLLxiF4bgceaf2jx8CoiVXQd7BZXGgJG1E\"]},\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol\":{\"keccak256\":\"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736\",\"dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR\"]},\"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol\":{\"keccak256\":\"0x103adbba724ef536abc536fe8a4d7dc12880724c562109b69f2adce4a91fa017\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://06f51b5a5a218e0bc866a83e7821be53c9db9de0ca921f16abd3d13ea0eab69d\",\"dweb:/ipfs/QmbnhLy992hpQZyphTkj7fpr6jKKVva2AzfmLiDZEuqHAk\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol\":{\"keccak256\":\"0x336bec303f7ff86497d2679464c5adad5040f412b3d0769ce5e1d2a42f7e2c08\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7734f047d98d331c8abc51ad9f358ceee0a6dcae8d89ac49084b84de0d2d42e7\",\"dweb:/ipfs/QmWij2h7mU36LsXhb9P6pkYXrSCua4ixeWaVFSrsEcEmPQ\"]},\"@uniswap/v4-periphery/src/interfaces/INotifier.sol\":{\"keccak256\":\"0xfdc5187a98240a1691aae98b7dd2444d4c2bfb4746f3c34de9f3d18399c17c5e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://683af56401ec4f8817e8dfe150e7b3febaf0baaf40efe8d0d0475f735275f746\",\"dweb:/ipfs/QmRQ6S3nFnSc2jjDcQTvUJdTf4xKPojmvCkpvgyr6qTuVV\"]},\"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol\":{\"keccak256\":\"0xfad472937280e861125ff12aa6f9c2cf7440fbb20a2cc29485c24662ad4279c5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31bfbc331f5972fc373d9469fd1ca1d14818db3275f21b7b590f20820cb4439d\",\"dweb:/ipfs/QmX3Bv9wfYpAFZKBcxKsQSXUrSC8mqNBdzh6XVMS72aNx9\"]},\"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol\":{\"keccak256\":\"0x2e4feda94650a2642039e0309ffdec480ee050bc40864bf5e1dba42bb4dc9e98\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://964c178b4da8bab9ef898b94bb26d7c17cc44c5cf20485f55dcf5e9c7e1b1d92\",\"dweb:/ipfs/QmVd2c3SYteyr5xZgUS4sDAiZF43dLwVAEKdCfvQbkZpRJ\"]},\"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\":{\"keccak256\":\"0x62dfa0cbee8314ee7e6787db8bc1d364245c340f940875ac7ff11e89d074fc7e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26f560c77d8a187bf93a710b827e3167eab3446922192fa8f92f208da2103834\",\"dweb:/ipfs/Qmbzp5gSYdTpMBF9aAb2GraxMEQZb5LRJCyg8VaRUyjTFc\"]},\"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol\":{\"keccak256\":\"0x34ceadec4a63019680e543fe73197f198a55c825d86e18f327840354760b57e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31734feafe1fe162a0702ddf862fcc3bd97505931afb3c685033c0185d898051\",\"dweb:/ipfs/QmQEANYVyaXTNzXKcjUVfPhLU71Bix5vxQH75BpPWMkWgw\"]},\"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol\":{\"keccak256\":\"0xd7f32fee74dc7d1a3b078ca1263961baccaa6bf434c79e8fe0e092e30c3e0ec3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7d1e92d89d5f49c84aa82f3b259678c2c97a4473b22d753ca4411a6b0cec36d\",\"dweb:/ipfs/QmNZoQyminStaAdaLqoDLoWaBU5QWrWjXFjmBm4aFhzL8i\"]},\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":{\"keccak256\":\"0xc4133fae25e61cc2447d7331729f6035322d7c1fe26b39b225422bf98cc63459\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c24ff8428504e973e947a059f96289a66c520cd7f8ef47a3224f9cb6abdaf25\",\"dweb:/ipfs/QmVqxYnngWXXcCiuTC143vTEJrjZK5NXWB92pjvVbuJBQ5\"]},\"@uniswap/v4-periphery/src/libraries/Actions.sol\":{\"keccak256\":\"0x8efd4b8b289177ee27e557d9d0a5a9f973d66fe1eb1ef8959d316b11987ca830\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://07fe35f194eb99465028f0546359befea574d844da53767d32f22b233c3bcc98\",\"dweb:/ipfs/Qmc19631uFxABTHAbGrDrroexi9GdyxWntaum1v8npPYz5\"]},\"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol\":{\"keccak256\":\"0x26df49e13fb5410fd4db253cca877dfdfb3a1ba03e394d054c0e0514a88a56e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72a0c98c52171708f332f83d517deeb97fdd50ecf28f2510e1866e54593a6ff8\",\"dweb:/ipfs/QmY4LiDUfSKGj86nML7B6a8euiPciUqwYehasAyAVnMCHq\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]},\"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":{\"keccak256\":\"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6\",\"dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx\"]},\"contracts/modules/MigratorImmutables.sol\":{\"keccak256\":\"0x666d1622a10509c69b679df9d175a3e0c176a62b9e18d1cee7634219aded8f68\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://a88e472495d32648ba3e7964c4c88b68853b49540f40afbaf2ede6822372b49f\",\"dweb:/ipfs/QmQoaWbCpwFYCnRgehM7ruYaa7za8fBghT5aQCRCPYJr1V\"]},\"contracts/modules/V3ToV4Migrator.sol\":{\"keccak256\":\"0x5ee3774b749b9a8d851dc6074c8de8c61f408a4cfd829c47c753840c839ba91c\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://337e17b84f4fdad7e32be0e482e7b2471d7f927ba3b3174cae38cf2509d97443\",\"dweb:/ipfs/QmbzgdyxAC5vpvWRGaemn3Qn7DRbNDjHSH3KbHSDPwJ8LY\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]}},\"version\":1}"}},"contracts/modules/uniswap/UniswapImmutables.sol":{"UniswapImmutables":{"abi":[{"inputs":[{"components":[{"internalType":"address","name":"v2Factory","type":"address"},{"internalType":"address","name":"v3Factory","type":"address"},{"internalType":"bytes32","name":"pairInitCodeHash","type":"bytes32"},{"internalType":"bytes32","name":"poolInitCodeHash","type":"bytes32"}],"internalType":"struct UniswapParameters","name":"params","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"}],"evm":{"bytecode":{"functionDebugData":{"abi_decode_address_fromMemory":{"entryPoint":245,"id":null,"parameterSlots":1,"returnSlots":1}},"generatedSources":[],"linkReferences":{},"object":"610100604052346100f157604051601f61011a38819003918201601f19168301916001600160401b038311848410176100dd578084926080946040528339810103126100f15760405190608082016001600160401b038111838210176100dd5760405261006b816100f5565b9081835261007b602082016100f5565b60208401908152604082810151818601908152606093840151939095019283526001600160a01b03938416608052935160a0525190911660c0525160e052516010908161010a823960805181505060a05181505060c05181505060e051815050f35b634e487b7160e01b5f52604160045260245ffd5b5f80fd5b51906001600160a01b03821682036100f15756fe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH2 0x100 PUSH1 0x40 MSTORE CALLVALUE PUSH2 0xF1 JUMPI PUSH1 0x40 MLOAD PUSH1 0x1F PUSH2 0x11A CODESIZE DUP2 SWAP1 SUB SWAP2 DUP3 ADD PUSH1 0x1F NOT AND DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT DUP5 DUP5 LT OR PUSH2 0xDD JUMPI DUP1 DUP5 SWAP3 PUSH1 0x80 SWAP5 PUSH1 0x40 MSTORE DUP4 CODECOPY DUP2 ADD SUB SLT PUSH2 0xF1 JUMPI PUSH1 0x40 MLOAD SWAP1 PUSH1 0x80 DUP3 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP4 DUP3 LT OR PUSH2 0xDD JUMPI PUSH1 0x40 MSTORE PUSH2 0x6B DUP2 PUSH2 0xF5 JUMP JUMPDEST SWAP1 DUP2 DUP4 MSTORE PUSH2 0x7B PUSH1 0x20 DUP3 ADD PUSH2 0xF5 JUMP JUMPDEST PUSH1 0x20 DUP5 ADD SWAP1 DUP2 MSTORE PUSH1 0x40 DUP3 DUP2 ADD MLOAD DUP2 DUP7 ADD SWAP1 DUP2 MSTORE PUSH1 0x60 SWAP4 DUP5 ADD MLOAD SWAP4 SWAP1 SWAP6 ADD SWAP3 DUP4 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND PUSH1 0x80 MSTORE SWAP4 MLOAD PUSH1 0xA0 MSTORE MLOAD SWAP1 SWAP2 AND PUSH1 0xC0 MSTORE MLOAD PUSH1 0xE0 MSTORE MLOAD PUSH1 0x10 SWAP1 DUP2 PUSH2 0x10A DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 POP POP PUSH1 0xA0 MLOAD DUP2 POP POP PUSH1 0xC0 MLOAD DUP2 POP POP PUSH1 0xE0 MLOAD DUP2 POP POP RETURN JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH0 DUP1 REVERT JUMPDEST MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0xF1 JUMPI JUMP INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"207:735:118:-:0;;;;;;;;;;;;;;;;;-1:-1:-1;;207:735:118;;;;-1:-1:-1;;;;;207:735:118;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;207:735:118;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;207:735:118;;;;717:37;207:735;;;764:56;207:735;;;;830:37;;207:735;877:56;;207:735;;;;;;;;;;;;764:56;207:735;;;;830:37;207:735;;;;877:56;207:735;;;;;;;;;-1:-1:-1;207:735:118;;;;;-1:-1:-1;207:735:118;;-1:-1:-1;207:735:118;;;;;-1:-1:-1;;;;;207:735:118;;;;;;:::o"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"207:735:118:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"v2Factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"v3Factory\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"pairInitCodeHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"poolInitCodeHash\",\"type\":\"bytes32\"}],\"internalType\":\"struct UniswapParameters\",\"name\":\"params\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/modules/uniswap/UniswapImmutables.sol\":\"UniswapImmutables\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/modules/uniswap/UniswapImmutables.sol\":{\"keccak256\":\"0xb810727f5e734a30871ff1d83d8c96d99150f1ce77bb39e032aec6254ca43cd0\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://5eb9df8b6c81f8e33b8a6bace294ed0d81c541988f7ba42027e3041eff32e1bd\",\"dweb:/ipfs/QmVPSWBv7WegGySGV4BoewKKx7iAetHsjydxQyKk3dh5yw\"]}},\"version\":1}"}},"contracts/modules/uniswap/v2/UniswapV2Library.sol":{"UniswapV2Library":{"abi":[{"inputs":[],"name":"InvalidPath","type":"error"},{"inputs":[],"name":"InvalidReserves","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"257:6259:119:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"257:6259:119:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidPath\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidReserves\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Uniswap v2 Helper Library\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Calculates the recipient address for a command\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/modules/uniswap/v2/UniswapV2Library.sol\":\"UniswapV2Library\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol\":{\"keccak256\":\"0x7c9bc70e5996c763e02ff38905282bc24fb242b0ef2519a003b36824fc524a4b\",\"urls\":[\"bzz-raw://85d5ad2dd23ee127f40907a12865a1e8cb5828814f6f2480285e1827dd72dedf\",\"dweb:/ipfs/QmayKQWJgWmr46DqWseADyUanmqxh662hPNdAkdHRjiQQH\"]},\"contracts/modules/uniswap/v2/UniswapV2Library.sol\":{\"keccak256\":\"0x829d48c1b69d2e1bc078a57aae8d87dc31d920b01c62d6268d20d517fd24150c\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://b87236ea4c1e64c12434f31abbd658ca3fc510ebe65be731d84d3ce8efa71c32\",\"dweb:/ipfs/QmUerjg5Ebt3pfQZtk2sArUy414gQtHwvFNgsQNe4PhxbN\"]}},\"version\":1}"}},"contracts/modules/uniswap/v2/V2SwapRouter.sol":{"V2SwapRouter":{"abi":[{"inputs":[],"name":"FromAddressIsNotOwner","type":"error"},{"inputs":[],"name":"InsufficientETH","type":"error"},{"inputs":[],"name":"InsufficientToken","type":"error"},{"inputs":[],"name":"V2InvalidPath","type":"error"},{"inputs":[],"name":"V2TooLittleReceived","type":"error"},{"inputs":[],"name":"V2TooMuchRequested","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"FromAddressIsNotOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientETH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V2InvalidPath\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V2TooLittleReceived\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V2TooMuchRequested\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Router for Uniswap v2 Trades\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/modules/uniswap/v2/V2SwapRouter.sol\":\"V2SwapRouter\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol\":{\"keccak256\":\"0x7c9bc70e5996c763e02ff38905282bc24fb242b0ef2519a003b36824fc524a4b\",\"urls\":[\"bzz-raw://85d5ad2dd23ee127f40907a12865a1e8cb5828814f6f2480285e1827dd72dedf\",\"dweb:/ipfs/QmayKQWJgWmr46DqWseADyUanmqxh662hPNdAkdHRjiQQH\"]},\"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol\":{\"keccak256\":\"0xe88abf12501ac275619aec0687240a07d26968aecbbcdfea88ba8bbd5d6e5e14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7097065d4492b4eccb1a73f99af1e5bec45404c6b973b8f5965c4c91403f5f92\",\"dweb:/ipfs/QmZK8oEqmjmTqhBoh3D3fBpyKGkUEFnptY8xwH9xpNjDm2\"]},\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]},\"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol\":{\"keccak256\":\"0x37ebf99f5d086d9d9f6e7cecbf4d62167f47c63c30248cfcb921e828f0d7a359\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4f8e68a66bb6c166d72cdba6ed6fb83a93f713b79c2c572e8058084eb90ab6c\",\"dweb:/ipfs/QmY32FxtSBRf9PJzNUVzXqFY4i2ApTPHTUMpCBGovd2zo3\"]},\"contracts/libraries/Constants.sol\":{\"keccak256\":\"0xb668498f11a4bb576a0a61c183da7ca348249dd9176c57dcb6532912b1b49b0e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://87d8588baf0b7b72faec637843c7623ac416d45e0f7719d0a635afe7981b2cf2\",\"dweb:/ipfs/QmSu7Jr8JM6mab2dddk1UaiPhyLZvsA8iLxC9MEcBUaMzT\"]},\"contracts/modules/Payments.sol\":{\"keccak256\":\"0x19a103b3269ee2f7bc28a6e1850091b2087dd2558662494d1104ac8e5ac68524\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://ba64c600f57bb13672a5549b6dba11ae4dfe49f688c24eadb3289dcc87d226a8\",\"dweb:/ipfs/QmWkmVyeai1WeymuWqEk1fQE5R2frrQQjJv81cytrKvFuA\"]},\"contracts/modules/PaymentsImmutables.sol\":{\"keccak256\":\"0x9ca2535b69b15d3bdb7a15871c5bca83f5536cffb0191c64f4c6a2db4a154338\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://dc85fb3ddd19481bf0d1a8a9f5d9631b396d86344a33e30b4c4ab6cd58d51169\",\"dweb:/ipfs/QmeEGFqfHFUo1Mu6tRfCjvVGJYyoDu29ZspZgxxcj6ykvq\"]},\"contracts/modules/Permit2Payments.sol\":{\"keccak256\":\"0x887ec1f57144cd91a1b86d5a7b1d1119146f41dae6865e6fd0e849801e968628\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://08b713e82f3f192976902497e1c02dd60bf7e90c83a471eb4c7ac7710b086f95\",\"dweb:/ipfs/QmWJSGZ9Dj7FmFCnDWpDdL5fx76JYDgYWhggXCroxV7cjX\"]},\"contracts/modules/uniswap/UniswapImmutables.sol\":{\"keccak256\":\"0xb810727f5e734a30871ff1d83d8c96d99150f1ce77bb39e032aec6254ca43cd0\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://5eb9df8b6c81f8e33b8a6bace294ed0d81c541988f7ba42027e3041eff32e1bd\",\"dweb:/ipfs/QmVPSWBv7WegGySGV4BoewKKx7iAetHsjydxQyKk3dh5yw\"]},\"contracts/modules/uniswap/v2/UniswapV2Library.sol\":{\"keccak256\":\"0x829d48c1b69d2e1bc078a57aae8d87dc31d920b01c62d6268d20d517fd24150c\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://b87236ea4c1e64c12434f31abbd658ca3fc510ebe65be731d84d3ce8efa71c32\",\"dweb:/ipfs/QmUerjg5Ebt3pfQZtk2sArUy414gQtHwvFNgsQNe4PhxbN\"]},\"contracts/modules/uniswap/v2/V2SwapRouter.sol\":{\"keccak256\":\"0x0fcb6ad6c4d5a7b25054dd9951432b2b41cb2c0077e6bc7ca0d0416115ef2326\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://124b1dd54d27914306bdd1021e171111f0ae622fffb2974ccdee24eab31b359d\",\"dweb:/ipfs/QmfKr2sbxdc31aPWv9d6ETA4GyfqHiKVZRKqhREnMkR5j9\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]},\"permit2/src/interfaces/IPermit2.sol\":{\"keccak256\":\"0xaa631cc9f53e699301d94233007110a345e6779011def484e8dd97b8fe0af771\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc0502cf19c9c18f320a3001201e89e350393b75837f6b7971de18b2de06f30d\",\"dweb:/ipfs/QmT9SfhdJ7VJNNrf94g4H5usyi7ShqWGx7Cqsz9jZTjX96\"]},\"permit2/src/interfaces/ISignatureTransfer.sol\":{\"keccak256\":\"0xe6df9966f8841dc3958ee86169c89de97e7f614c81c28b9dc947b12d732df64e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d4eafdee7f48c3be8350a94eb6edd0bfb2af2c105df65787a77174f356c0317\",\"dweb:/ipfs/QmY1j2adeeAhNpn6cUuthemxGCdLXHTfyMh9yTKsY4mZ2d\"]},\"permit2/src/libraries/SafeCast160.sol\":{\"keccak256\":\"0x8a34e2beac108d74f89510c949983212b5f09307a93ee9e17a9d50e93f6bc8e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://828697f9567ce617c5c1c8f76b6bcd250e93aea2c4f3ee188be6dff8443c19e7\",\"dweb:/ipfs/QmafxeSPhUc9gGtNDLAw26oZooC5XNLhDMxHxYhJxL5Nwi\"]},\"solmate/src/tokens/ERC20.sol\":{\"keccak256\":\"0xcdfd8db76b2a3415620e4d18cc5545f3d50de792dbf2c3dd5adb40cbe6f94b10\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://57b3ab70cde374af1cf2c9888636e8de6cf660f087b1c9abd805e9271e19fa35\",\"dweb:/ipfs/QmNrLDBAHYFjpjSd12jerm1AdBkDqEYUUaXgnT854BUZ97\"]},\"solmate/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0xbadf3d708cf532b12f75f78a1d423135954b63774a6d4ba15914a551d348db8a\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://88ac8256bd520d1b8e6f9c4ac9e8777bffdc4a6c8afb1a848f596665779a55b4\",\"dweb:/ipfs/QmXx7X1dxe6f5VM91vgQ5BA4r2eF97GWDcQDrgHytcvfjU\"]}},\"version\":1}"}},"contracts/modules/uniswap/v3/BytesLib.sol":{"BytesLib":{"abi":[{"inputs":[],"name":"SliceOutOfBounds","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"263:3320:121:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"263:3320:121:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"SliceOutOfBounds\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/modules/uniswap/v3/BytesLib.sol\":\"BytesLib\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":{\"keccak256\":\"0xc4133fae25e61cc2447d7331729f6035322d7c1fe26b39b225422bf98cc63459\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c24ff8428504e973e947a059f96289a66c520cd7f8ef47a3224f9cb6abdaf25\",\"dweb:/ipfs/QmVqxYnngWXXcCiuTC143vTEJrjZK5NXWB92pjvVbuJBQ5\"]},\"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol\":{\"keccak256\":\"0x26df49e13fb5410fd4db253cca877dfdfb3a1ba03e394d054c0e0514a88a56e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72a0c98c52171708f332f83d517deeb97fdd50ecf28f2510e1866e54593a6ff8\",\"dweb:/ipfs/QmY4LiDUfSKGj86nML7B6a8euiPciUqwYehasAyAVnMCHq\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]},\"contracts/libraries/Constants.sol\":{\"keccak256\":\"0xb668498f11a4bb576a0a61c183da7ca348249dd9176c57dcb6532912b1b49b0e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://87d8588baf0b7b72faec637843c7623ac416d45e0f7719d0a635afe7981b2cf2\",\"dweb:/ipfs/QmSu7Jr8JM6mab2dddk1UaiPhyLZvsA8iLxC9MEcBUaMzT\"]},\"contracts/modules/uniswap/v3/BytesLib.sol\":{\"keccak256\":\"0xc3c23e83afd06781c4a0a5c418c20c40611e71d049766eb70987007ce372656e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://c62989beb75edad6de18c31be31eb68f0c3fb15c5f9e9bb380221afc6785fda5\",\"dweb:/ipfs/QmVEsp5yivbmjP7HcXS5kJ1XJY5Uic3J3y4zjpwD1SNySD\"]}},\"version\":1}"}},"contracts/modules/uniswap/v3/V3Path.sol":{"V3Path":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"240:1504:122:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"240:1504:122:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Functions for manipulating path data for multihop swaps\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/modules/uniswap/v3/V3Path.sol\":\"V3Path\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":{\"keccak256\":\"0xc4133fae25e61cc2447d7331729f6035322d7c1fe26b39b225422bf98cc63459\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c24ff8428504e973e947a059f96289a66c520cd7f8ef47a3224f9cb6abdaf25\",\"dweb:/ipfs/QmVqxYnngWXXcCiuTC143vTEJrjZK5NXWB92pjvVbuJBQ5\"]},\"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol\":{\"keccak256\":\"0x26df49e13fb5410fd4db253cca877dfdfb3a1ba03e394d054c0e0514a88a56e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72a0c98c52171708f332f83d517deeb97fdd50ecf28f2510e1866e54593a6ff8\",\"dweb:/ipfs/QmY4LiDUfSKGj86nML7B6a8euiPciUqwYehasAyAVnMCHq\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]},\"contracts/libraries/Constants.sol\":{\"keccak256\":\"0xb668498f11a4bb576a0a61c183da7ca348249dd9176c57dcb6532912b1b49b0e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://87d8588baf0b7b72faec637843c7623ac416d45e0f7719d0a635afe7981b2cf2\",\"dweb:/ipfs/QmSu7Jr8JM6mab2dddk1UaiPhyLZvsA8iLxC9MEcBUaMzT\"]},\"contracts/modules/uniswap/v3/BytesLib.sol\":{\"keccak256\":\"0xc3c23e83afd06781c4a0a5c418c20c40611e71d049766eb70987007ce372656e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://c62989beb75edad6de18c31be31eb68f0c3fb15c5f9e9bb380221afc6785fda5\",\"dweb:/ipfs/QmVEsp5yivbmjP7HcXS5kJ1XJY5Uic3J3y4zjpwD1SNySD\"]},\"contracts/modules/uniswap/v3/V3Path.sol\":{\"keccak256\":\"0xf6abbf4c7cd0975ddabb0ddb641ea9ae3b0cc1dd9a1cabf5e7cc271a974eabc2\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://1e0987fc9b81c65eada64cb65f981680c2054e489a6049d397b5ecbbf4c9a0a9\",\"dweb:/ipfs/QmW7mbbHsfc2GLy2GkCUv3VwXV93y6UFtKDD7E9QEtzFH7\"]}},\"version\":1}"}},"contracts/modules/uniswap/v3/V3SwapRouter.sol":{"V3SwapRouter":{"abi":[{"inputs":[],"name":"FromAddressIsNotOwner","type":"error"},{"inputs":[],"name":"InsufficientETH","type":"error"},{"inputs":[],"name":"InsufficientToken","type":"error"},{"inputs":[],"name":"SliceOutOfBounds","type":"error"},{"inputs":[],"name":"UnsafeCast","type":"error"},{"inputs":[],"name":"V3InvalidAmountOut","type":"error"},{"inputs":[],"name":"V3InvalidCaller","type":"error"},{"inputs":[],"name":"V3InvalidSwap","type":"error"},{"inputs":[],"name":"V3TooLittleReceived","type":"error"},{"inputs":[],"name":"V3TooMuchRequested","type":"error"},{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"uniswapV3SwapCallback(int256,int256,bytes)":"fa461e33"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"FromAddressIsNotOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientETH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SliceOutOfBounds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnsafeCast\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3InvalidAmountOut\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3InvalidCaller\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3InvalidSwap\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3TooLittleReceived\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"V3TooMuchRequested\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"details\":\"In the implementation you must pay the pool tokens owed for the swap. The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. amount0Delta and amount1Delta can both be 0 if no tokens were swapped.\",\"params\":{\"amount0Delta\":\"The amount of token0 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token0 to the pool.\",\"amount1Delta\":\"The amount of token1 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token1 to the pool.\",\"data\":\"Any data passed through by the caller via the IUniswapV3PoolActions#swap call\"}}},\"stateVariables\":{\"MAX_SQRT_RATIO\":{\"details\":\"The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)\"},\"MIN_SQRT_RATIO\":{\"details\":\"The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)\"}},\"title\":\"Router for Uniswap v3 Trades\",\"version\":1},\"userdoc\":{\"errors\":{\"UnsafeCast()\":[{\"notice\":\"Thrown when a valude greater than type(uint160).max is cast to uint160\"}]},\"kind\":\"user\",\"methods\":{\"uniswapV3SwapCallback(int256,int256,bytes)\":{\"notice\":\"Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/modules/uniswap/v3/V3SwapRouter.sol\":\"V3SwapRouter\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol\":{\"keccak256\":\"0xfe6113d518466cd6652c85b111e01f33eb62157f49ae5ed7d5a3947a2044adb1\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://1c42b9e6f5902ac38dd43e25750939baa7e0c1425dc75afd717c4412731065d5\",\"dweb:/ipfs/QmWaoacnzsucTvBME2o7YgZBZMhaHv7fkj83htHMVWJKWh\"]},\"@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol\":{\"keccak256\":\"0x3f485fb1a44e8fbeadefb5da07d66edab3cfe809f0ac4074b1e54e3eb3c4cf69\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://095ce0626b41318c772b3ebf19d548282607f6a8f3d6c41c13edfbd5370c8652\",\"dweb:/ipfs/QmVDZfJJ89UUCE1hMyzqpkZAtQ8jUsBgZNE5AMRG7RzRFS\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol\":{\"keccak256\":\"0x9453dd0e7442188667d01d9b65de3f1e14e9511ff3e303179a15f6fc267f7634\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://982f4328f956c3e60e67501e759eb292ac487f76460c774c50e9ae4fcc92aae5\",\"dweb:/ipfs/QmRnzEDsaqtd9PJEVcgQi7p5aV5pMSvRUoGZJAdwFUJxgZ\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol\":{\"keccak256\":\"0xe603ac5b17ecdee73ba2b27efdf386c257a19c14206e87eee77e2017b742d9e5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://8febc9bdb399a4d94bb89f5377732652e2400e4a8dee808201ade6848f9004e7\",\"dweb:/ipfs/QmaKDqYYFU4d2W2iN77aDHptfbFmYZRrMYXHeGpJmM8C1c\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol\":{\"keccak256\":\"0x8071514d0fe5d17d6fbd31c191cdfb703031c24e0ece3621d88ab10e871375cd\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0b571930cc7488b1d546a7e9cea7c52d8b3c4e207da657ed0e0db7343b8cd03\",\"dweb:/ipfs/QmaGK6vVwB95QSTR1XMYvrh7ivYAYZxi3fD7v6VMA4jZ39\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol\":{\"keccak256\":\"0xf6e5d2cd1139c4c276bdbc8e1d2b256e456c866a91f1b868da265c6d2685c3f7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b99c8c9ae8e27ee6559e5866bea82cbc9ffc8247f8d15b7422a4deb287d4d047\",\"dweb:/ipfs/QmfL8gaqt3ffAnm6nVj5ksuNpLygXuL3xq5VBqrkwC2JJ3\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol\":{\"keccak256\":\"0x759b78a2918af9e99e246dc3af084f654e48ef32bb4e4cb8a966aa3dcaece235\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://64144fb96e1c7fdba87305acadb98a198d26a3d46c097cb3a666e567f6f29735\",\"dweb:/ipfs/QmUnWVwN9FKB9uV5Pr8YfLpWZnYM2DENnRMaadZ492JS9u\"]},\"@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol\":{\"keccak256\":\"0x852dc1f5df7dcf7f11e7bb3eed79f0cea72ad4b25f6a9d2c35aafb48925fd49f\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://ed63907c38ff36b0e22bc9ffc53e791ea74f0d4f0e7c257fdfb5aaf8825b1f0f\",\"dweb:/ipfs/QmSQrckghEjs6HVsA5GVgpNpZWvTXMY5eQLF7cN6deFeEg\"]},\"@uniswap/v3-core/contracts/libraries/SafeCast.sol\":{\"keccak256\":\"0x4c12bf820c0b011f5490a209960ca34dd8af34660ef9e01de0438393d15e3fd8\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://fed11489e218e55d087d42b4f350a30e10cd2aedec8f432bd3cc712f648d5869\",\"dweb:/ipfs/QmWfRnRxyXwHUDcTQPazxYYk5jxErGeQqdvnYtyg5nBPbU\"]},\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":{\"keccak256\":\"0xc4133fae25e61cc2447d7331729f6035322d7c1fe26b39b225422bf98cc63459\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c24ff8428504e973e947a059f96289a66c520cd7f8ef47a3224f9cb6abdaf25\",\"dweb:/ipfs/QmVqxYnngWXXcCiuTC143vTEJrjZK5NXWB92pjvVbuJBQ5\"]},\"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol\":{\"keccak256\":\"0xe88abf12501ac275619aec0687240a07d26968aecbbcdfea88ba8bbd5d6e5e14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7097065d4492b4eccb1a73f99af1e5bec45404c6b973b8f5965c4c91403f5f92\",\"dweb:/ipfs/QmZK8oEqmjmTqhBoh3D3fBpyKGkUEFnptY8xwH9xpNjDm2\"]},\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]},\"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol\":{\"keccak256\":\"0x37ebf99f5d086d9d9f6e7cecbf4d62167f47c63c30248cfcb921e828f0d7a359\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4f8e68a66bb6c166d72cdba6ed6fb83a93f713b79c2c572e8058084eb90ab6c\",\"dweb:/ipfs/QmY32FxtSBRf9PJzNUVzXqFY4i2ApTPHTUMpCBGovd2zo3\"]},\"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol\":{\"keccak256\":\"0x26df49e13fb5410fd4db253cca877dfdfb3a1ba03e394d054c0e0514a88a56e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72a0c98c52171708f332f83d517deeb97fdd50ecf28f2510e1866e54593a6ff8\",\"dweb:/ipfs/QmY4LiDUfSKGj86nML7B6a8euiPciUqwYehasAyAVnMCHq\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]},\"contracts/libraries/Constants.sol\":{\"keccak256\":\"0xb668498f11a4bb576a0a61c183da7ca348249dd9176c57dcb6532912b1b49b0e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://87d8588baf0b7b72faec637843c7623ac416d45e0f7719d0a635afe7981b2cf2\",\"dweb:/ipfs/QmSu7Jr8JM6mab2dddk1UaiPhyLZvsA8iLxC9MEcBUaMzT\"]},\"contracts/libraries/MaxInputAmount.sol\":{\"keccak256\":\"0x2dd6efbcaf9991c852e29a726f9876a0a6d08f2271912e69efa5c6a5e8034739\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://949ebd746eee3589d1e466c738884bd3532043d9e8a7b77c1521a098ba3c69b6\",\"dweb:/ipfs/QmZC9idgGQDfLksqfz41FrcsVXhqkfRZCZH9MJXQkQavt6\"]},\"contracts/modules/Payments.sol\":{\"keccak256\":\"0x19a103b3269ee2f7bc28a6e1850091b2087dd2558662494d1104ac8e5ac68524\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://ba64c600f57bb13672a5549b6dba11ae4dfe49f688c24eadb3289dcc87d226a8\",\"dweb:/ipfs/QmWkmVyeai1WeymuWqEk1fQE5R2frrQQjJv81cytrKvFuA\"]},\"contracts/modules/PaymentsImmutables.sol\":{\"keccak256\":\"0x9ca2535b69b15d3bdb7a15871c5bca83f5536cffb0191c64f4c6a2db4a154338\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://dc85fb3ddd19481bf0d1a8a9f5d9631b396d86344a33e30b4c4ab6cd58d51169\",\"dweb:/ipfs/QmeEGFqfHFUo1Mu6tRfCjvVGJYyoDu29ZspZgxxcj6ykvq\"]},\"contracts/modules/Permit2Payments.sol\":{\"keccak256\":\"0x887ec1f57144cd91a1b86d5a7b1d1119146f41dae6865e6fd0e849801e968628\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://08b713e82f3f192976902497e1c02dd60bf7e90c83a471eb4c7ac7710b086f95\",\"dweb:/ipfs/QmWJSGZ9Dj7FmFCnDWpDdL5fx76JYDgYWhggXCroxV7cjX\"]},\"contracts/modules/uniswap/UniswapImmutables.sol\":{\"keccak256\":\"0xb810727f5e734a30871ff1d83d8c96d99150f1ce77bb39e032aec6254ca43cd0\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://5eb9df8b6c81f8e33b8a6bace294ed0d81c541988f7ba42027e3041eff32e1bd\",\"dweb:/ipfs/QmVPSWBv7WegGySGV4BoewKKx7iAetHsjydxQyKk3dh5yw\"]},\"contracts/modules/uniswap/v3/BytesLib.sol\":{\"keccak256\":\"0xc3c23e83afd06781c4a0a5c418c20c40611e71d049766eb70987007ce372656e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://c62989beb75edad6de18c31be31eb68f0c3fb15c5f9e9bb380221afc6785fda5\",\"dweb:/ipfs/QmVEsp5yivbmjP7HcXS5kJ1XJY5Uic3J3y4zjpwD1SNySD\"]},\"contracts/modules/uniswap/v3/V3Path.sol\":{\"keccak256\":\"0xf6abbf4c7cd0975ddabb0ddb641ea9ae3b0cc1dd9a1cabf5e7cc271a974eabc2\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://1e0987fc9b81c65eada64cb65f981680c2054e489a6049d397b5ecbbf4c9a0a9\",\"dweb:/ipfs/QmW7mbbHsfc2GLy2GkCUv3VwXV93y6UFtKDD7E9QEtzFH7\"]},\"contracts/modules/uniswap/v3/V3SwapRouter.sol\":{\"keccak256\":\"0x31fe8777a6de583c54a0f09ec11d318c253b7fe50c7a2af1608b2b89a03ca660\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://780219ff0d6d333727655719d31d61ce345cdbca7f906467a2d00e3162b3c0aa\",\"dweb:/ipfs/QmbauA5Kvj7m9P9hxe4hhnLY5w2TEXMMnCc9oWehVgj2jo\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]},\"permit2/src/interfaces/IPermit2.sol\":{\"keccak256\":\"0xaa631cc9f53e699301d94233007110a345e6779011def484e8dd97b8fe0af771\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc0502cf19c9c18f320a3001201e89e350393b75837f6b7971de18b2de06f30d\",\"dweb:/ipfs/QmT9SfhdJ7VJNNrf94g4H5usyi7ShqWGx7Cqsz9jZTjX96\"]},\"permit2/src/interfaces/ISignatureTransfer.sol\":{\"keccak256\":\"0xe6df9966f8841dc3958ee86169c89de97e7f614c81c28b9dc947b12d732df64e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d4eafdee7f48c3be8350a94eb6edd0bfb2af2c105df65787a77174f356c0317\",\"dweb:/ipfs/QmY1j2adeeAhNpn6cUuthemxGCdLXHTfyMh9yTKsY4mZ2d\"]},\"permit2/src/libraries/SafeCast160.sol\":{\"keccak256\":\"0x8a34e2beac108d74f89510c949983212b5f09307a93ee9e17a9d50e93f6bc8e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://828697f9567ce617c5c1c8f76b6bcd250e93aea2c4f3ee188be6dff8443c19e7\",\"dweb:/ipfs/QmafxeSPhUc9gGtNDLAw26oZooC5XNLhDMxHxYhJxL5Nwi\"]},\"solmate/src/tokens/ERC20.sol\":{\"keccak256\":\"0xcdfd8db76b2a3415620e4d18cc5545f3d50de792dbf2c3dd5adb40cbe6f94b10\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://57b3ab70cde374af1cf2c9888636e8de6cf660f087b1c9abd805e9271e19fa35\",\"dweb:/ipfs/QmNrLDBAHYFjpjSd12jerm1AdBkDqEYUUaXgnT854BUZ97\"]},\"solmate/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0xbadf3d708cf532b12f75f78a1d423135954b63774a6d4ba15914a551d348db8a\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://88ac8256bd520d1b8e6f9c4ac9e8777bffdc4a6c8afb1a848f596665779a55b4\",\"dweb:/ipfs/QmXx7X1dxe6f5VM91vgQ5BA4r2eF97GWDcQDrgHytcvfjU\"]}},\"version\":1}"}},"contracts/modules/uniswap/v4/V4SwapRouter.sol":{"V4SwapRouter":{"abi":[{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotNegative","type":"error"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotPositive","type":"error"},{"inputs":[],"name":"FromAddressIsNotOwner","type":"error"},{"inputs":[],"name":"InputLengthMismatch","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InsufficientETH","type":"error"},{"inputs":[],"name":"InsufficientToken","type":"error"},{"inputs":[],"name":"InvalidBips","type":"error"},{"inputs":[],"name":"NotPoolManager","type":"error"},{"inputs":[],"name":"UnsafeCast","type":"error"},{"inputs":[{"internalType":"uint256","name":"action","type":"uint256"}],"name":"UnsupportedAction","type":"error"},{"inputs":[{"internalType":"uint256","name":"minAmountOutReceived","type":"uint256"},{"internalType":"uint256","name":"amountReceived","type":"uint256"}],"name":"V4TooLittleReceived","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxAmountInRequested","type":"uint256"},{"internalType":"uint256","name":"amountRequested","type":"uint256"}],"name":"V4TooMuchRequested","type":"error"},{"inputs":[],"name":"msgSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlockCallback","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"msgSender()":"d737d0c7","poolManager()":"dc4c90d3","unlockCallback(bytes)":"91dd7346"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotNegative\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotPositive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FromAddressIsNotOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InputLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientETH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBips\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPoolManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnsafeCast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"action\",\"type\":\"uint256\"}],\"name\":\"UnsupportedAction\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minAmountOutReceived\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountReceived\",\"type\":\"uint256\"}],\"name\":\"V4TooLittleReceived\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAmountInRequested\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountRequested\",\"type\":\"uint256\"}],\"name\":\"V4TooMuchRequested\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"msgSender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlockCallback\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"msgSender()\":{\"details\":\"The other context functions, _msgData and _msgValue, are not supported by this contract In many contracts this will be the address that calls the initial entry point that calls `_executeActions` `msg.sender` shouldn't be used, as this will be the v4 pool manager contract that calls `unlockCallback` If using ReentrancyLock.sol, this function can return _getLocker()\"},\"unlockCallback(bytes)\":{\"details\":\"We force the onlyPoolManager modifier by exposing a virtual function after the onlyPoolManager check.\",\"params\":{\"data\":\"The data that was passed to the call to unlock\"},\"returns\":{\"_0\":\"Any data that you want to be returned from the unlock call\"}}},\"title\":\"Router for Uniswap v4 Trades\",\"version\":1},\"userdoc\":{\"errors\":{\"DeltaNotNegative(address)\":[{\"notice\":\"Emitted trying to take a negative delta.\"}],\"DeltaNotPositive(address)\":[{\"notice\":\"Emitted trying to settle a positive delta.\"}],\"InputLengthMismatch()\":[{\"notice\":\"emitted when different numbers of parameters and actions are provided\"}],\"InsufficientBalance()\":[{\"notice\":\"Emitted when the contract does not have enough balance to wrap or unwrap.\"}],\"InvalidBips()\":[{\"notice\":\"emitted when an invalid percentage is provided\"}],\"NotPoolManager()\":[{\"notice\":\"Thrown when the caller is not PoolManager\"}],\"UnsafeCast()\":[{\"notice\":\"Thrown when a valude greater than type(uint160).max is cast to uint160\"}],\"UnsupportedAction(uint256)\":[{\"notice\":\"emitted when an inheriting contract does not support an action\"}],\"V4TooLittleReceived(uint256,uint256)\":[{\"notice\":\"Emitted when an exactInput swap does not receive its minAmountOut\"}],\"V4TooMuchRequested(uint256,uint256)\":[{\"notice\":\"Emitted when an exactOutput is asked for more than its maxAmountIn\"}]},\"kind\":\"user\",\"methods\":{\"msgSender()\":{\"notice\":\"function that returns address considered executor of the actions\"},\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"},\"unlockCallback(bytes)\":{\"notice\":\"Called by the pool manager on `msg.sender` when the manager is unlocked\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/modules/uniswap/v4/V4SwapRouter.sol\":\"V4SwapRouter\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol\":{\"keccak256\":\"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b\",\"dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/BitMath.sol\":{\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e\",\"dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi\"]},\"@uniswap/v4-core/src/libraries/CurrencyReserves.sol\":{\"keccak256\":\"0x1576616129933fcdf3b684cea33cffd9c95e18fafbd2832a8c48ac3d8526d4c3\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://33b050efb9b81803b18f562271e7cca2ec5362c4d505860d6419b4a345636725\",\"dweb:/ipfs/QmQtFtTwKZ5pFVGD2ENDUXvp7ECFvzqeCuJ1miJcUHdmiX\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/Lock.sol\":{\"keccak256\":\"0x9338be4b5695f1da5f3d3f7a3eeaf7a356c1045458289586ac0cbe9cef77c6d5\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://485ec42ed6155469d612a9a0c18068ebfbad74448792a338a435503de3ef1b2c\",\"dweb:/ipfs/QmVnnv5u74MYatfRmBgrcfFYQcsMAJMG9jQ6ju8UiydKNF\"]},\"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol\":{\"keccak256\":\"0x0666ebd5d3528d7d52c48538296367a4cff97a578cf13365c51983fae3219b87\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d27f1be3bd09d85c53d3e6a539dd6529ddd8b2b764ccb47fd7765fc81f9add59\",\"dweb:/ipfs/QmQdZujNXhKEXQBkKtF5jbdvo1yXMqPDUoBBaF9S5u3Kpm\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/TickMath.sol\":{\"keccak256\":\"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a79a57f7b240783b045168d1c4f774ac1812caf8f9a83cb6959a86b0b07b6c70\",\"dweb:/ipfs/QmTb5kvxwDNW8jDuQaqdJ445cCFejNkUqEB17Bjo8UBiva\"]},\"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\":{\"keccak256\":\"0x7d1e0875747bd89b32c25f1a48da2766e5f4aff1f671ad5f3c0c07ebbbcb946a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d76cfeb1cb60595b41ecc51c8a12fb4bf63a7fc733d0b1a2e3adb55abeb1f9d5\",\"dweb:/ipfs/Qmb8oX7DtsRpw3tTtdWZwGhauj1evq43d3PLwe4nSDAKkV\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-periphery/src/V4Router.sol\":{\"keccak256\":\"0x8ede1e538ae9b74984c52347a3bbaee7b3d69f00ed9b3a6db1f1bd6e058a2326\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8e370416fa9681ad124414e2b2fb57a5455e15dd873c9e61c964177ae5c2d544\",\"dweb:/ipfs/QmWrM97ezNB9CpawqhkwpubXHcXUbMFWKYEbD3D6EyAe1w\"]},\"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol\":{\"keccak256\":\"0xca1ee500f88951ad351d18ba2adfb5fe23abef6d502f234ce5748a3497674a4c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f03ab458be27c29cef1b7ace5b11517d3fef8bf6131af7dd80d6297c224cf71\",\"dweb:/ipfs/QmYoH6o8yeRzbeLoaMG9TjS8q2Fw7T1h4vXvvMnp3XfsUa\"]},\"@uniswap/v4-periphery/src/base/DeltaResolver.sol\":{\"keccak256\":\"0x94a2da2be5c924df65a8e1e29f585bbe4c37777fedd43b45989c66d509a4a83c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://42bba590f6e817fd56328b74ae99bfdc4df57386d0a69ee22b9108341953ed36\",\"dweb:/ipfs/QmdusastK7FWYouLz9gvV5J3z8MQbNKLJNNHTrc1vi7DWw\"]},\"@uniswap/v4-periphery/src/base/ImmutableState.sol\":{\"keccak256\":\"0x1867c9fa2f9b4fa73bab0fcdc9d19ccef4eeac552273d8b84a170cd1cc90350a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af2d699b439e13b599632fddfe82718aebd41055fba7c075f186675c588d1337\",\"dweb:/ipfs/Qmc111gckSKb9aESn3wRFLeLiS4KGujaUcaYJgRnCRfwQU\"]},\"@uniswap/v4-periphery/src/base/SafeCallback.sol\":{\"keccak256\":\"0xd78b583df1b9ee06d58e83b84fc9f08971389b34dd34bc13db072e0c13c710da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c0a47f4bcd6060c4462153b9a7c52a60a460ace91acb6ddd5492eab28ec26173\",\"dweb:/ipfs/QmdRCTRS1dhFjWEy6z577j4xz9J5HPfHBwcNzAic8G59oT\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":{\"keccak256\":\"0xc4133fae25e61cc2447d7331729f6035322d7c1fe26b39b225422bf98cc63459\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c24ff8428504e973e947a059f96289a66c520cd7f8ef47a3224f9cb6abdaf25\",\"dweb:/ipfs/QmVqxYnngWXXcCiuTC143vTEJrjZK5NXWB92pjvVbuJBQ5\"]},\"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol\":{\"keccak256\":\"0xe88abf12501ac275619aec0687240a07d26968aecbbcdfea88ba8bbd5d6e5e14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7097065d4492b4eccb1a73f99af1e5bec45404c6b973b8f5965c4c91403f5f92\",\"dweb:/ipfs/QmZK8oEqmjmTqhBoh3D3fBpyKGkUEFnptY8xwH9xpNjDm2\"]},\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]},\"@uniswap/v4-periphery/src/libraries/Actions.sol\":{\"keccak256\":\"0x8efd4b8b289177ee27e557d9d0a5a9f973d66fe1eb1ef8959d316b11987ca830\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://07fe35f194eb99465028f0546359befea574d844da53767d32f22b233c3bcc98\",\"dweb:/ipfs/Qmc19631uFxABTHAbGrDrroexi9GdyxWntaum1v8npPYz5\"]},\"@uniswap/v4-periphery/src/libraries/BipsLibrary.sol\":{\"keccak256\":\"0x37ebf99f5d086d9d9f6e7cecbf4d62167f47c63c30248cfcb921e828f0d7a359\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4f8e68a66bb6c166d72cdba6ed6fb83a93f713b79c2c572e8058084eb90ab6c\",\"dweb:/ipfs/QmY32FxtSBRf9PJzNUVzXqFY4i2ApTPHTUMpCBGovd2zo3\"]},\"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol\":{\"keccak256\":\"0x26df49e13fb5410fd4db253cca877dfdfb3a1ba03e394d054c0e0514a88a56e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72a0c98c52171708f332f83d517deeb97fdd50ecf28f2510e1866e54593a6ff8\",\"dweb:/ipfs/QmY4LiDUfSKGj86nML7B6a8euiPciUqwYehasAyAVnMCHq\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]},\"contracts/libraries/Constants.sol\":{\"keccak256\":\"0xb668498f11a4bb576a0a61c183da7ca348249dd9176c57dcb6532912b1b49b0e\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://87d8588baf0b7b72faec637843c7623ac416d45e0f7719d0a635afe7981b2cf2\",\"dweb:/ipfs/QmSu7Jr8JM6mab2dddk1UaiPhyLZvsA8iLxC9MEcBUaMzT\"]},\"contracts/modules/Payments.sol\":{\"keccak256\":\"0x19a103b3269ee2f7bc28a6e1850091b2087dd2558662494d1104ac8e5ac68524\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://ba64c600f57bb13672a5549b6dba11ae4dfe49f688c24eadb3289dcc87d226a8\",\"dweb:/ipfs/QmWkmVyeai1WeymuWqEk1fQE5R2frrQQjJv81cytrKvFuA\"]},\"contracts/modules/PaymentsImmutables.sol\":{\"keccak256\":\"0x9ca2535b69b15d3bdb7a15871c5bca83f5536cffb0191c64f4c6a2db4a154338\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://dc85fb3ddd19481bf0d1a8a9f5d9631b396d86344a33e30b4c4ab6cd58d51169\",\"dweb:/ipfs/QmeEGFqfHFUo1Mu6tRfCjvVGJYyoDu29ZspZgxxcj6ykvq\"]},\"contracts/modules/Permit2Payments.sol\":{\"keccak256\":\"0x887ec1f57144cd91a1b86d5a7b1d1119146f41dae6865e6fd0e849801e968628\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://08b713e82f3f192976902497e1c02dd60bf7e90c83a471eb4c7ac7710b086f95\",\"dweb:/ipfs/QmWJSGZ9Dj7FmFCnDWpDdL5fx76JYDgYWhggXCroxV7cjX\"]},\"contracts/modules/uniswap/UniswapImmutables.sol\":{\"keccak256\":\"0xb810727f5e734a30871ff1d83d8c96d99150f1ce77bb39e032aec6254ca43cd0\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://5eb9df8b6c81f8e33b8a6bace294ed0d81c541988f7ba42027e3041eff32e1bd\",\"dweb:/ipfs/QmVPSWBv7WegGySGV4BoewKKx7iAetHsjydxQyKk3dh5yw\"]},\"contracts/modules/uniswap/v4/V4SwapRouter.sol\":{\"keccak256\":\"0x68b7666641ad5ba227b500c9845c4bc71eaaac6556d97d31d123fce41b51969a\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://40a99bb5e9e407ad6741f5c210ac23a32950e7567c73f21975444e9729fc6cfb\",\"dweb:/ipfs/QmUK98HjyQ7NDGR36DD9owjLDk7ujEj5b5uKt9zjUsCFG5\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]},\"permit2/src/interfaces/IPermit2.sol\":{\"keccak256\":\"0xaa631cc9f53e699301d94233007110a345e6779011def484e8dd97b8fe0af771\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc0502cf19c9c18f320a3001201e89e350393b75837f6b7971de18b2de06f30d\",\"dweb:/ipfs/QmT9SfhdJ7VJNNrf94g4H5usyi7ShqWGx7Cqsz9jZTjX96\"]},\"permit2/src/interfaces/ISignatureTransfer.sol\":{\"keccak256\":\"0xe6df9966f8841dc3958ee86169c89de97e7f614c81c28b9dc947b12d732df64e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d4eafdee7f48c3be8350a94eb6edd0bfb2af2c105df65787a77174f356c0317\",\"dweb:/ipfs/QmY1j2adeeAhNpn6cUuthemxGCdLXHTfyMh9yTKsY4mZ2d\"]},\"permit2/src/libraries/SafeCast160.sol\":{\"keccak256\":\"0x8a34e2beac108d74f89510c949983212b5f09307a93ee9e17a9d50e93f6bc8e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://828697f9567ce617c5c1c8f76b6bcd250e93aea2c4f3ee188be6dff8443c19e7\",\"dweb:/ipfs/QmafxeSPhUc9gGtNDLAw26oZooC5XNLhDMxHxYhJxL5Nwi\"]},\"solmate/src/tokens/ERC20.sol\":{\"keccak256\":\"0xcdfd8db76b2a3415620e4d18cc5545f3d50de792dbf2c3dd5adb40cbe6f94b10\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://57b3ab70cde374af1cf2c9888636e8de6cf660f087b1c9abd805e9271e19fa35\",\"dweb:/ipfs/QmNrLDBAHYFjpjSd12jerm1AdBkDqEYUUaXgnT854BUZ97\"]},\"solmate/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0xbadf3d708cf532b12f75f78a1d423135954b63774a6d4ba15914a551d348db8a\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://88ac8256bd520d1b8e6f9c4ac9e8777bffdc4a6c8afb1a848f596665779a55b4\",\"dweb:/ipfs/QmXx7X1dxe6f5VM91vgQ5BA4r2eF97GWDcQDrgHytcvfjU\"]}},\"version\":1}"}},"contracts/test/ExampleModule.sol":{"ExampleModule":{"abi":[{"inputs":[],"name":"CauseRevert","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"ExampleModuleEvent","type":"event"},{"inputs":[],"name":"causeRevert","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"logEvent","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460135760ae908160188239f35b5f80fdfe608060405260043610156010575f80fd5b5f3560e01c806367192b631460845763a5fe087214602c575f80fd5b346080575f3660031901126080577ff173516ab337f2e7729ba9acd5771deab6be31f2ad8d5dd42dab5269e61701b960606040516020815260096020820152681d195cdd115d995b9d60ba1b6040820152a1005b5f80fd5b346080575f366003190112608057630e524bcd60e21b5f5260045ffdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x13 JUMPI PUSH1 0xAE SWAP1 DUP2 PUSH1 0x18 DUP3 CODECOPY RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x10 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x67192B63 EQ PUSH1 0x84 JUMPI PUSH4 0xA5FE0872 EQ PUSH1 0x2C JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x80 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x80 JUMPI PUSH32 0xF173516AB337F2E7729BA9ACD5771DEAB6BE31F2AD8D5DD42DAB5269E61701B9 PUSH1 0x60 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 DUP3 ADD MSTORE PUSH9 0x1D195CDD115D995B9D PUSH1 0xBA SHL PUSH1 0x40 DUP3 ADD MSTORE LOG1 STOP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x80 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x80 JUMPI PUSH4 0xE524BCD PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"71:262:125:-:0;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"608060405260043610156010575f80fd5b5f3560e01c806367192b631460845763a5fe087214602c575f80fd5b346080575f3660031901126080577ff173516ab337f2e7729ba9acd5771deab6be31f2ad8d5dd42dab5269e61701b960606040516020815260096020820152681d195cdd115d995b9d60ba1b6040820152a1005b5f80fd5b346080575f366003190112608057630e524bcd60e21b5f5260045ffdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x10 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x67192B63 EQ PUSH1 0x84 JUMPI PUSH4 0xA5FE0872 EQ PUSH1 0x2C JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x80 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x80 JUMPI PUSH32 0xF173516AB337F2E7729BA9ACD5771DEAB6BE31F2AD8D5DD42DAB5269E61701B9 PUSH1 0x60 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 MSTORE PUSH1 0x9 PUSH1 0x20 DUP3 ADD MSTORE PUSH9 0x1D195CDD115D995B9D PUSH1 0xBA SHL PUSH1 0x40 DUP3 ADD MSTORE LOG1 STOP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x80 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x80 JUMPI PUSH4 0xE524BCD PUSH1 0xE2 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"71:262:125:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;71:262:125;;;;215:31;;71:262;;;;;;;;;;-1:-1:-1;;;71:262:125;;;;215:31;71:262;;;;;;;;;;;-1:-1:-1;;71:262:125;;;;311:13;;;71:262;311:13;71:262;;311:13"},"methodIdentifiers":{"causeRevert()":"67192b63","logEvent()":"a5fe0872"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"CauseRevert\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"ExampleModuleEvent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"causeRevert\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"logEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/ExampleModule.sol\":\"ExampleModule\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/test/ExampleModule.sol\":{\"keccak256\":\"0x7ee62c2b76a1d42d8dda37fe736ced6cd6fe8fb4e13062a92384c98eaca16546\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://e238732742176c24c5892cb417c6fd4ae2fbb841780a20e68b661a75f3dd928f\",\"dweb:/ipfs/QmP4MKDj2HxsxnmaVWgnCRAJchgYuDva8o6bTBgaPnWhLB\"]}},\"version\":1}"}},"contracts/test/ImportsForTypechain.sol":{"ImportsForTypechain":{"abi":[{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"subscriber","type":"address"}],"name":"AlreadySubscribed","type":"error"},{"inputs":[],"name":"AlreadyUnlocked","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"BurnNotificationReverted","type":"error"},{"inputs":[],"name":"ContractLocked","type":"error"},{"inputs":[{"internalType":"address","name":"currency0","type":"address"},{"internalType":"address","name":"currency1","type":"address"}],"name":"CurrenciesOutOfOrderOrEqual","type":"error"},{"inputs":[],"name":"CurrencyNotSettled","type":"error"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"DeadlinePassed","type":"error"},{"inputs":[],"name":"DelegateCallNotAllowed","type":"error"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotNegative","type":"error"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"DeltaNotPositive","type":"error"},{"inputs":[],"name":"GasLimitTooLow","type":"error"},{"inputs":[],"name":"InputLengthMismatch","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidCaller","type":"error"},{"inputs":[],"name":"InvalidContractSignature","type":"error"},{"inputs":[],"name":"InvalidEthSender","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"InvalidSignatureLength","type":"error"},{"inputs":[],"name":"InvalidSigner","type":"error"},{"inputs":[],"name":"ManagerLocked","type":"error"},{"inputs":[{"internalType":"uint128","name":"maximumAmount","type":"uint128"},{"internalType":"uint128","name":"amountRequested","type":"uint128"}],"name":"MaximumAmountExceeded","type":"error"},{"inputs":[{"internalType":"uint128","name":"minimumAmount","type":"uint128"},{"internalType":"uint128","name":"amountReceived","type":"uint128"}],"name":"MinimumAmountInsufficient","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"ModifyLiquidityNotificationReverted","type":"error"},{"inputs":[],"name":"MustClearExactPositiveDelta","type":"error"},{"inputs":[],"name":"NoCodeSubscriber","type":"error"},{"inputs":[],"name":"NoSelfPermit","type":"error"},{"inputs":[],"name":"NonceAlreadyUsed","type":"error"},{"inputs":[],"name":"NonzeroNativeValue","type":"error"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"NotApproved","type":"error"},{"inputs":[],"name":"NotPoolManager","type":"error"},{"inputs":[],"name":"NotSubscribed","type":"error"},{"inputs":[],"name":"PoolManagerMustBeLocked","type":"error"},{"inputs":[],"name":"PoolNotInitialized","type":"error"},{"inputs":[],"name":"ProtocolFeeCurrencySynced","type":"error"},{"inputs":[{"internalType":"uint24","name":"fee","type":"uint24"}],"name":"ProtocolFeeTooLarge","type":"error"},{"inputs":[],"name":"SignatureDeadlineExpired","type":"error"},{"inputs":[{"internalType":"address","name":"subscriber","type":"address"},{"internalType":"bytes","name":"reason","type":"bytes"}],"name":"SubscriptionReverted","type":"error"},{"inputs":[],"name":"SwapAmountCannotBeZero","type":"error"},{"inputs":[{"internalType":"int24","name":"tickSpacing","type":"int24"}],"name":"TickSpacingTooLarge","type":"error"},{"inputs":[{"internalType":"int24","name":"tickSpacing","type":"int24"}],"name":"TickSpacingTooSmall","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnauthorizedDynamicLPFeeUpdate","type":"error"},{"inputs":[{"internalType":"uint256","name":"action","type":"uint256"}],"name":"UnsupportedAction","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Donate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":true,"internalType":"Currency","name":"currency0","type":"address"},{"indexed":true,"internalType":"Currency","name":"currency1","type":"address"},{"indexed":false,"internalType":"uint24","name":"fee","type":"uint24"},{"indexed":false,"internalType":"int24","name":"tickSpacing","type":"int24"},{"indexed":false,"internalType":"contract IHooks","name":"hooks","type":"address"},{"indexed":false,"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"}],"name":"Initialize","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"int24","name":"tickLower","type":"int24"},{"indexed":false,"internalType":"int24","name":"tickUpper","type":"int24"},{"indexed":false,"internalType":"int256","name":"liquidityDelta","type":"int256"},{"indexed":false,"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"ModifyLiquidity","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"OperatorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"protocolFeeController","type":"address"}],"name":"ProtocolFeeControllerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":false,"internalType":"uint24","name":"protocolFee","type":"uint24"}],"name":"ProtocolFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"subscriber","type":"address"}],"name":"Subscription","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"PoolId","name":"id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"int128","name":"amount0","type":"int128"},{"indexed":false,"internalType":"int128","name":"amount1","type":"int128"},{"indexed":false,"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"indexed":false,"internalType":"uint128","name":"liquidity","type":"uint128"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"},{"indexed":false,"internalType":"uint24","name":"fee","type":"uint24"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"subscriber","type":"address"}],"name":"Unsubscription","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH9","outputs":[{"internalType":"contract IWETH9","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"clear","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"Currency","name":"currency","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"collectProtocolFees","outputs":[{"internalType":"uint256","name":"amountCollected","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"donate","outputs":[{"internalType":"BalanceDelta","name":"delta","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"extsload","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"startSlot","type":"bytes32"},{"internalType":"uint256","name":"nSlots","type":"uint256"}],"name":"extsload","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"slots","type":"bytes32[]"}],"name":"extsload","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"slots","type":"bytes32[]"}],"name":"exttload","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"exttload","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPoolAndPositionInfo","outputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"poolKey","type":"tuple"},{"internalType":"PositionInfo","name":"info","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPositionLiquidity","outputs":[{"internalType":"uint128","name":"liquidity","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"initialize","outputs":[{"internalType":"int24","name":"tick","type":"int24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"initializePool","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"unlockData","type":"bytes"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"modifyLiquidities","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"actions","type":"bytes"},{"internalType":"bytes[]","name":"params","type":"bytes[]"}],"name":"modifyLiquiditiesWithoutUnlock","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"components":[{"internalType":"int24","name":"tickLower","type":"int24"},{"internalType":"int24","name":"tickUpper","type":"int24"},{"internalType":"int256","name":"liquidityDelta","type":"int256"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"internalType":"struct IPoolManager.ModifyLiquidityParams","name":"params","type":"tuple"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"modifyLiquidity","outputs":[{"internalType":"BalanceDelta","name":"callerDelta","type":"int256"},{"internalType":"BalanceDelta","name":"feesAccrued","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"msgSender","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"word","type":"uint256"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"bitmap","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails","name":"details","type":"tuple"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle","name":"permitSingle","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[{"internalType":"bytes","name":"err","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"permit2","outputs":[{"internalType":"contract IAllowanceTransfer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails[]","name":"details","type":"tuple[]"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitBatch","name":"_permitBatch","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitBatch","outputs":[{"internalType":"bytes","name":"err","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitForAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes25","name":"poolId","type":"bytes25"}],"name":"poolKeys","outputs":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"contract IPoolManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"positionInfo","outputs":[{"internalType":"PositionInfo","name":"info","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolFeeController","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"protocolFeesAccrued","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"revokeNonce","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint24","name":"newProtocolFee","type":"uint24"}],"name":"setProtocolFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"setProtocolFeeController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"settle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"settleFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"newSubscriber","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"subscribe","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"subscriber","outputs":[{"internalType":"contract ISubscriber","name":"subscriber","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"components":[{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"int256","name":"amountSpecified","type":"int256"},{"internalType":"uint160","name":"sqrtPriceLimitX96","type":"uint160"}],"internalType":"struct IPoolManager.SwapParams","name":"params","type":"tuple"},{"internalType":"bytes","name":"hookData","type":"bytes"}],"name":"swap","outputs":[{"internalType":"BalanceDelta","name":"swapDelta","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"}],"name":"sync","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"Currency","name":"currency","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"take","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenDescriptor","outputs":[{"internalType":"contract IPositionDescriptor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlock","outputs":[{"internalType":"bytes","name":"result","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"unlockCallback","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unsubscribe","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"unsubscribeGasLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"Currency","name":"currency0","type":"address"},{"internalType":"Currency","name":"currency1","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"contract IHooks","name":"hooks","type":"address"}],"internalType":"struct PoolKey","name":"key","type":"tuple"},{"internalType":"uint24","name":"newDynamicLPFee","type":"uint24"}],"name":"updateDynamicLPFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","WETH9()":"4aa4a4fc","allowance(address,address,uint256)":"598af9e7","approve(address,uint256)":"095ea7b3","approve(address,uint256,uint256)":"426a8493","balanceOf(address)":"70a08231","balanceOf(address,uint256)":"00fdd58e","burn(address,uint256,uint256)":"f5298aca","clear(address,uint256)":"80f0b44c","collectProtocolFees(address,address,uint256)":"8161b874","donate((address,address,uint24,int24,address),uint256,uint256,bytes)":"234266d7","extsload(bytes32)":"1e2eaeaf","extsload(bytes32,uint256)":"35fd631a","extsload(bytes32[])":"dbd035ff","exttload(bytes32)":"f135baaa","exttload(bytes32[])":"9bf6645f","getApproved(uint256)":"081812fc","getPoolAndPositionInfo(uint256)":"7ba03aad","getPositionLiquidity(uint256)":"1efeed33","initialize((address,address,uint24,int24,address),uint160)":"6276cbbe","initializePool((address,address,uint24,int24,address),uint160)":"f7020405","isApprovedForAll(address,address)":"e985e9c5","isOperator(address,address)":"b6363cf2","mint(address,uint256,uint256)":"156e29f6","modifyLiquidities(bytes,uint256)":"dd46508f","modifyLiquiditiesWithoutUnlock(bytes,bytes[])":"4afe393c","modifyLiquidity((address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)":"5a6bcfda","msgSender()":"d737d0c7","multicall(bytes[])":"ac9650d8","name()":"06fdde03","nextTokenId()":"75794a3c","nonces(address,uint256)":"502e1a16","owner()":"8da5cb5b","ownerOf(uint256)":"6352211e","permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)":"2b67b570","permit(address,uint256,uint256,uint256,bytes)":"0f5730f1","permit2()":"12261ee7","permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)":"002a3e3a","permitForAll(address,address,bool,uint256,uint256,bytes)":"3aea60f0","poolKeys(bytes25)":"86b6be7d","poolManager()":"dc4c90d3","positionInfo(uint256)":"89097a6a","protocolFeeController()":"f02de3b2","protocolFeesAccrued(address)":"97e8cd4e","revokeNonce(uint256)":"05c1ee20","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","setOperator(address,bool)":"558a7297","setProtocolFee((address,address,uint24,int24,address),uint24)":"7e87ce7d","setProtocolFeeController(address)":"2d771389","settle()":"11da60b4","settleFor(address)":"3dd45adb","subscribe(uint256,address,bytes)":"2b9261de","subscriber(uint256)":"16a24131","supportsInterface(bytes4)":"01ffc9a7","swap((address,address,uint24,int24,address),(bool,int256,uint160),bytes)":"f3cd914c","symbol()":"95d89b41","sync(address)":"a5841194","take(address,address,uint256)":"0b0d9c09","tokenDescriptor()":"5a9d7a68","tokenURI(uint256)":"c87b56dd","transfer(address,uint256,uint256)":"095bcdb6","transferFrom(address,address,uint256)":"23b872dd","transferFrom(address,address,uint256,uint256)":"fe99049a","transferOwnership(address)":"f2fde38b","unlock(bytes)":"48c89491","unlockCallback(bytes)":"91dd7346","unsubscribe(uint256)":"ad0b27fb","unsubscribeGasLimit()":"4767565f","updateDynamicLPFee((address,address,uint24,int24,address),uint24)":"52759651"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"AlreadySubscribed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyUnlocked\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"BurnNotificationReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ContractLocked\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"currency1\",\"type\":\"address\"}],\"name\":\"CurrenciesOutOfOrderOrEqual\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CurrencyNotSettled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"DeadlinePassed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DelegateCallNotAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotNegative\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"DeltaNotPositive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GasLimitTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InputLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCaller\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidContractSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidEthSender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSigner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ManagerLocked\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"maximumAmount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amountRequested\",\"type\":\"uint128\"}],\"name\":\"MaximumAmountExceeded\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"minimumAmount\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amountReceived\",\"type\":\"uint128\"}],\"name\":\"MinimumAmountInsufficient\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"ModifyLiquidityNotificationReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustClearExactPositiveDelta\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoCodeSubscriber\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoSelfPermit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonceAlreadyUsed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonzeroNativeValue\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"NotApproved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPoolManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotSubscribed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManagerMustBeLocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolNotInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProtocolFeeCurrencySynced\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"ProtocolFeeTooLarge\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SignatureDeadlineExpired\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"name\":\"SubscriptionReverted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SwapAmountCannotBeZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"TickSpacingTooLarge\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"TickSpacingTooSmall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnauthorizedDynamicLPFeeUpdate\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"action\",\"type\":\"uint256\"}],\"name\":\"UnsupportedAction\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Donate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Initialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"liquidityDelta\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"ModifyLiquidity\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"OperatorSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"protocolFeeController\",\"type\":\"address\"}],\"name\":\"ProtocolFeeControllerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"protocolFee\",\"type\":\"uint24\"}],\"name\":\"ProtocolFeeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"Subscription\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"PoolId\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"amount0\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"int128\",\"name\":\"amount1\",\"type\":\"int128\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subscriber\",\"type\":\"address\"}],\"name\":\"Unsubscription\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WETH9\",\"outputs\":[{\"internalType\":\"contract IWETH9\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"clear\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"collectProtocolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountCollected\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"donate\",\"outputs\":[{\"internalType\":\"BalanceDelta\",\"name\":\"delta\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"startSlot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"nSlots\",\"type\":\"uint256\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"slots\",\"type\":\"bytes32[]\"}],\"name\":\"extsload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"slots\",\"type\":\"bytes32[]\"}],\"name\":\"exttload\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"exttload\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getPoolAndPositionInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"poolKey\",\"type\":\"tuple\"},{\"internalType\":\"PositionInfo\",\"name\":\"info\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getPositionLiquidity\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"initialize\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"initializePool\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isOperator\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"unlockData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"modifyLiquidities\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"actions\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"params\",\"type\":\"bytes[]\"}],\"name\":\"modifyLiquiditiesWithoutUnlock\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"int256\",\"name\":\"liquidityDelta\",\"type\":\"int256\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct IPoolManager.ModifyLiquidityParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"modifyLiquidity\",\"outputs\":[{\"internalType\":\"BalanceDelta\",\"name\":\"callerDelta\",\"type\":\"int256\"},{\"internalType\":\"BalanceDelta\",\"name\":\"feesAccrued\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"msgSender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextTokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"word\",\"type\":\"uint256\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"bitmap\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails\",\"name\":\"details\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitSingle\",\"name\":\"permitSingle\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"err\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"permit2\",\"outputs\":[{\"internalType\":\"contract IAllowanceTransfer\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails[]\",\"name\":\"details\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitBatch\",\"name\":\"_permitBatch\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitBatch\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"err\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitForAll\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes25\",\"name\":\"poolId\",\"type\":\"bytes25\"}],\"name\":\"poolKeys\",\"outputs\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolManager\",\"outputs\":[{\"internalType\":\"contract IPoolManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"positionInfo\",\"outputs\":[{\"internalType\":\"PositionInfo\",\"name\":\"info\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeController\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"protocolFeesAccrued\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"revokeNonce\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint24\",\"name\":\"newProtocolFee\",\"type\":\"uint24\"}],\"name\":\"setProtocolFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"setProtocolFeeController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"settle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"settleFor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"newSubscriber\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"subscribe\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"subscriber\",\"outputs\":[{\"internalType\":\"contract ISubscriber\",\"name\":\"subscriber\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountSpecified\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"}],\"internalType\":\"struct IPoolManager.SwapParams\",\"name\":\"params\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"hookData\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"BalanceDelta\",\"name\":\"swapDelta\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"sync\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"Currency\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"take\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenDescriptor\",\"outputs\":[{\"internalType\":\"contract IPositionDescriptor\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlock\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"result\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"unlockCallback\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"unsubscribe\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unsubscribeGasLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"Currency\",\"name\":\"currency0\",\"type\":\"address\"},{\"internalType\":\"Currency\",\"name\":\"currency1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"contract IHooks\",\"name\":\"hooks\",\"type\":\"address\"}],\"internalType\":\"struct PoolKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"internalType\":\"uint24\",\"name\":\"newDynamicLPFee\",\"type\":\"uint24\"}],\"name\":\"updateDynamicLPFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"errors\":{\"PoolManagerMustBeLocked()\":[{\"details\":\"This is to prevent hooks from being able to trigger notifications at the same time the position is being modified.\"}]},\"events\":{\"Donate(bytes32,address,uint256,uint256)\":{\"params\":{\"amount0\":\"The amount donated in currency0\",\"amount1\":\"The amount donated in currency1\",\"id\":\"The abi encoded hash of the pool key struct for the pool that was donated to\",\"sender\":\"The address that initiated the donate call\"}},\"Initialize(bytes32,address,address,uint24,int24,address,uint160,int24)\":{\"params\":{\"currency0\":\"The first currency of the pool by address sort order\",\"currency1\":\"The second currency of the pool by address sort order\",\"fee\":\"The fee collected upon every swap in the pool, denominated in hundredths of a bip\",\"hooks\":\"The hooks contract address for the pool, or address(0) if none\",\"id\":\"The abi encoded hash of the pool key struct for the new pool\",\"sqrtPriceX96\":\"The price of the pool on initialization\",\"tick\":\"The initial tick of the pool corresponding to the initialized price\",\"tickSpacing\":\"The minimum number of ticks between initialized ticks\"}},\"ModifyLiquidity(bytes32,address,int24,int24,int256,bytes32)\":{\"params\":{\"id\":\"The abi encoded hash of the pool key struct for the pool that was modified\",\"liquidityDelta\":\"The amount of liquidity that was added or removed\",\"salt\":\"The extra data to make positions unique\",\"sender\":\"The address that modified the pool\",\"tickLower\":\"The lower tick of the position\",\"tickUpper\":\"The upper tick of the position\"}},\"Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)\":{\"params\":{\"amount0\":\"The delta of the currency0 balance of the pool\",\"amount1\":\"The delta of the currency1 balance of the pool\",\"fee\":\"The swap fee in hundredths of a bip\",\"id\":\"The abi encoded hash of the pool key struct for the pool that was modified\",\"liquidity\":\"The liquidity of the pool after the swap\",\"sender\":\"The address that initiated the swap call, and that received the callback\",\"sqrtPriceX96\":\"The sqrt(price) of the pool after the swap, as a Q64.96\",\"tick\":\"The log base 1.0001 of the price of the pool after the swap\"}}},\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"returns\":{\"_0\":\"bytes32 The domain separator\"}},\"approve(address,uint256)\":{\"details\":\"override Solmate's ERC721 approve so approve() and permit() share the _approve method Passing a spender address of zero can be used to remove any outstanding approvals Throws error unless `msg.sender` is the current NFT owner, or an authorized operator of the current owner.\",\"params\":{\"id\":\"The tokenId of the NFT to approve\",\"spender\":\"The new approved NFT controller\"}},\"approve(address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"spender\":\"The address of the spender.\"},\"returns\":{\"_0\":\"bool True, always\"}},\"burn(address,uint256,uint256)\":{\"details\":\"The id is converted to a uint160 to correspond to a currency address If the upper 12 bytes are not 0, they will be 0-ed out\",\"params\":{\"amount\":\"The amount of currency to burn\",\"from\":\"The address to burn the tokens from\",\"id\":\"The currency address to burn from ERC6909s, as a uint256\"}},\"clear(address,uint256)\":{\"details\":\"This could be used to clear a balance that is considered dust. Additionally, the amount must be the exact positive balance. This is to enforce that the caller is aware of the amount being cleared.\"},\"collectProtocolFees(address,address,uint256)\":{\"details\":\"This will revert if the contract is unlocked\",\"params\":{\"amount\":\"The amount of currency to withdraw\",\"currency\":\"The currency to withdraw\",\"recipient\":\"The address to receive the protocol fees\"},\"returns\":{\"amountCollected\":\"The amount of currency successfully withdrawn\"}},\"donate((address,address,uint24,int24,address),uint256,uint256,bytes)\":{\"details\":\"Calls to donate can be frontrun adding just-in-time liquidity, with the aim of receiving a portion donated funds. Donors should keep this in mind when designing donation mechanisms.This function donates to in-range LPs at slot0.tick. In certain edge-cases of the swap algorithm, the `sqrtPrice` of a pool can be at the lower boundary of tick `n`, but the `slot0.tick` of the pool is already `n - 1`. In this case a call to `donate` would donate to tick `n - 1` (slot0.tick) not tick `n` (getTickAtSqrtPrice(slot0.sqrtPriceX96)). Read the comments in `Pool.swap()` for more information about this.\",\"params\":{\"amount0\":\"The amount of currency0 to donate\",\"amount1\":\"The amount of currency1 to donate\",\"hookData\":\"The data to pass through to the donate hooks\",\"key\":\"The key of the pool to donate to\"},\"returns\":{\"delta\":\"BalanceDelta The delta of the caller after the donate\"}},\"extsload(bytes32)\":{\"params\":{\"slot\":\"Key of slot to sload\"},\"returns\":{\"_0\":\"The value of the slot as bytes32\"}},\"extsload(bytes32,uint256)\":{\"params\":{\"nSlots\":\"Number of slots to load into return value\",\"startSlot\":\"Key of slot to start sloading from\"},\"returns\":{\"_0\":\"List of loaded values.\"}},\"extsload(bytes32[])\":{\"params\":{\"slots\":\"List of slots to SLOAD from.\"},\"returns\":{\"_0\":\"List of loaded values.\"}},\"exttload(bytes32)\":{\"params\":{\"slot\":\"Key of slot to tload\"},\"returns\":{\"_0\":\"The value of the slot as bytes32\"}},\"exttload(bytes32[])\":{\"params\":{\"slots\":\"List of slots to tload\"},\"returns\":{\"_0\":\"List of loaded values\"}},\"getPoolAndPositionInfo(uint256)\":{\"params\":{\"tokenId\":\"the ERC721 tokenId\"},\"returns\":{\"info\":\"PositionInfo a uint256 packed value holding information about the position including the range (tickLower, tickUpper)\",\"poolKey\":\"the pool key of the position\"}},\"getPositionLiquidity(uint256)\":{\"details\":\"this value can be processed as an amount0 and amount1 by using the LiquidityAmounts library\",\"params\":{\"tokenId\":\"the ERC721 tokenId\"},\"returns\":{\"liquidity\":\"the position's liquidity, as a liquidityAmount\"}},\"initialize((address,address,uint24,int24,address),uint160)\":{\"details\":\"A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\",\"params\":{\"key\":\"The pool key for the pool to initialize\",\"sqrtPriceX96\":\"The initial square root price\"},\"returns\":{\"tick\":\"The initial tick of the pool\"}},\"initializePool((address,address,uint24,int24,address),uint160)\":{\"details\":\"If the pool is already initialized, this function will not revert and just return type(int24).max\",\"params\":{\"key\":\"The PoolKey of the pool to initialize\",\"sqrtPriceX96\":\"The initial starting price of the pool, expressed as a sqrtPriceX96\"},\"returns\":{\"_0\":\"The current tick of the pool, or type(int24).max if the pool creation failed, or the pool already existed\"}},\"mint(address,uint256,uint256)\":{\"details\":\"The id is converted to a uint160 to correspond to a currency address If the upper 12 bytes are not 0, they will be 0-ed out\",\"params\":{\"amount\":\"The amount of currency to mint\",\"id\":\"The currency address to mint to ERC6909s, as a uint256\",\"to\":\"The address to mint the tokens to\"}},\"modifyLiquidities(bytes,uint256)\":{\"details\":\"This is the standard entrypoint for the PositionManager\",\"params\":{\"deadline\":\"is the deadline for the batched actions to be executed\",\"unlockData\":\"is an encoding of actions, and parameters for those actions\"}},\"modifyLiquiditiesWithoutUnlock(bytes,bytes[])\":{\"details\":\"This must be called by a contract that has already unlocked the v4 PoolManager\",\"params\":{\"actions\":\"the actions to perform\",\"params\":\"the parameters to provide for the actions\"}},\"modifyLiquidity((address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)\":{\"details\":\"Poke by calling with a zero liquidityDelta\",\"params\":{\"hookData\":\"The data to pass through to the add/removeLiquidity hooks\",\"key\":\"The pool to modify liquidity in\",\"params\":\"The parameters for modifying the liquidity\"},\"returns\":{\"callerDelta\":\"The balance delta of the caller of modifyLiquidity. This is the total of both principal, fee deltas, and hook deltas if applicable\",\"feesAccrued\":\"The balance delta of the fees generated in the liquidity range. Returned for informational purposes\"}},\"msgSender()\":{\"details\":\"The other context functions, _msgData and _msgValue, are not supported by this contract In many contracts this will be the address that calls the initial entry point that calls `_executeActions` `msg.sender` shouldn't be used, as this will be the v4 pool manager contract that calls `unlockCallback` If using ReentrancyLock.sol, this function can return _getLocker()\"},\"multicall(bytes[])\":{\"details\":\"The `msg.value` is passed onto all subcalls, even if a previous subcall has consumed the ether. Subcalls can instead use `address(this).value` to see the available ETH, and consume it using {value: x}.\",\"params\":{\"data\":\"The encoded function data for each of the calls to make to this contract\"},\"returns\":{\"results\":\"The results from each of the calls passed in via data\"}},\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"details\":\"this function is payable to allow multicall with NATIVE based actions\",\"params\":{\"owner\":\"the owner of the tokens\",\"permitSingle\":\"the permit data\",\"signature\":\"the signature of the permit; abi.encodePacked(r, s, v)\"},\"returns\":{\"err\":\"the error returned by a reverting permit call, empty if successful\"}},\"permit(address,uint256,uint256,uint256,bytes)\":{\"details\":\"payable so it can be multicalled with NATIVE related actions\",\"params\":{\"deadline\":\"The deadline timestamp by which the call must be mined for the approve to work\",\"nonce\":\"a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\",\"signature\":\"Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\",\"spender\":\"The account that is being approved\",\"tokenId\":\"The ID of the token that is being approved for spending\"}},\"permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"details\":\"this function is payable to allow multicall with NATIVE based actions\",\"params\":{\"_permitBatch\":\"a batch of approvals\",\"owner\":\"the owner of the tokens\",\"signature\":\"the signature of the permit; abi.encodePacked(r, s, v)\"},\"returns\":{\"err\":\"the error returned by a reverting permit call, empty if successful\"}},\"permitForAll(address,address,bool,uint256,uint256,bytes)\":{\"details\":\"payable so it can be multicalled with NATIVE related actions\",\"params\":{\"approved\":\"The permission to set on the operator\",\"deadline\":\"The deadline timestamp by which the call must be mined for the approve to work\",\"nonce\":\"a unique value, for an owner, to prevent replay attacks; an unordered nonce where the top 248 bits correspond to a word and the bottom 8 bits calculate the bit position of the word\",\"operator\":\"The address that will be set as an operator for the owner\",\"owner\":\"The address that is setting the operator\",\"signature\":\"Concatenated data from a valid secp256k1 signature from the holder, i.e. abi.encodePacked(r, s, v)\"}},\"revokeNonce(uint256)\":{\"details\":\"Used in cases where a valid nonce has not been broadcasted onchain, and the owner wants to revoke the validity of the noncepayable so it can be multicalled with native-token related actions\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Emits the ApprovalForAll event. The contract MUST allow multiple operators per owner.Override Solmate's ERC721 setApprovalForAll so setApprovalForAll() and permit() share the _approveForAll method\",\"params\":{\"approved\":\"True if the operator is approved, false to revoke approval\",\"operator\":\"Address to add to the set of authorized operators\"}},\"setOperator(address,bool)\":{\"params\":{\"approved\":\"The approval status.\",\"operator\":\"The address of the operator.\"},\"returns\":{\"_0\":\"bool True, always\"}},\"setProtocolFee((address,address,uint24,int24,address),uint24)\":{\"params\":{\"key\":\"The key of the pool to set a protocol fee for\",\"newProtocolFee\":\"The fee to set\"}},\"setProtocolFeeController(address)\":{\"params\":{\"controller\":\"The new protocol fee controller\"}},\"settle()\":{\"returns\":{\"_0\":\"The amount of currency settled\"}},\"settleFor(address)\":{\"params\":{\"recipient\":\"The address to credit for the payment\"},\"returns\":{\"_0\":\"The amount of currency settled\"}},\"subscribe(uint256,address,bytes)\":{\"details\":\"Calling subscribe when a position is already subscribed will revertpayable so it can be multicalled with NATIVE related actionswill revert if pool manager is locked\",\"params\":{\"data\":\"caller-provided data that's forwarded to the subscriber contract\",\"newSubscriber\":\"the address of the subscriber contract\",\"tokenId\":\"the ERC721 tokenId\"}},\"swap((address,address,uint24,int24,address),(bool,int256,uint160),bytes)\":{\"details\":\"Swapping on low liquidity pools may cause unexpected swap amounts when liquidity available is less than amountSpecified. Additionally note that if interacting with hooks that have the BEFORE_SWAP_RETURNS_DELTA_FLAG or AFTER_SWAP_RETURNS_DELTA_FLAG the hook may alter the swap input/output. Integrators should perform checks on the returned swapDelta.\",\"params\":{\"hookData\":\"The data to pass through to the swap hooks\",\"key\":\"The pool to swap in\",\"params\":\"The parameters for swapping\"},\"returns\":{\"swapDelta\":\"The balance delta of the address swapping\"}},\"sync(address)\":{\"details\":\"This MUST be called before any ERC20 tokens are sent into the contract, but can be skipped for native tokens because the amount to settle is determined by the sent value. However, if an ERC20 token has been synced and not settled, and the caller instead wants to settle native funds, this function can be called with the native currency to then be able to settle the native currency\"},\"take(address,address,uint256)\":{\"details\":\"Will revert if the requested amount is not available, consider using `mint` insteadCan also be used as a mechanism for free flash loans\",\"params\":{\"amount\":\"The amount of currency to withdraw\",\"currency\":\"The currency to withdraw from the pool manager\",\"to\":\"The address to withdraw to\"}},\"transfer(address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"receiver\":\"The address of the receiver.\"},\"returns\":{\"_0\":\"bool True, always, unless the function reverts\"}},\"transferFrom(address,address,uint256)\":{\"details\":\"overrides solmate transferFrom in case a notification to subscribers is neededwill revert if pool manager is locked\"},\"transferFrom(address,address,uint256,uint256)\":{\"params\":{\"amount\":\"The amount of the token.\",\"id\":\"The id of the token.\",\"receiver\":\"The address of the receiver.\",\"sender\":\"The address of the sender.\"},\"returns\":{\"_0\":\"bool True, always, unless the function reverts\"}},\"unlock(bytes)\":{\"details\":\"The only functions callable without an unlocking are `initialize` and `updateDynamicLPFee`\",\"params\":{\"data\":\"Any data to pass to the callback, via `IUnlockCallback(msg.sender).unlockCallback(data)`\"},\"returns\":{\"result\":\"The data returned by the call to `IUnlockCallback(msg.sender).unlockCallback(data)`\"}},\"unlockCallback(bytes)\":{\"details\":\"We force the onlyPoolManager modifier by exposing a virtual function after the onlyPoolManager check.\",\"params\":{\"data\":\"The data that was passed to the call to unlock\"},\"returns\":{\"_0\":\"Any data that you want to be returned from the unlock call\"}},\"unsubscribe(uint256)\":{\"details\":\"Callers must specify a high gas limit (remaining gas should be higher than unsubscriberGasLimit) such that the subscriber can be notifiedpayable so it can be multicalled with NATIVE related actionsMust always allow a user to unsubscribe. In the case of a malicious subscriber, a user can always unsubscribe safely, ensuring liquidity is always modifiable.will revert if pool manager is locked\",\"params\":{\"tokenId\":\"the ERC721 tokenId\"}},\"updateDynamicLPFee((address,address,uint24,int24,address),uint24)\":{\"details\":\"A swap fee totaling MAX_SWAP_FEE (100%) makes exact output swaps impossible since the input is entirely consumed by the fee\",\"params\":{\"key\":\"The key of the pool to update dynamic LP fees for\",\"newDynamicLPFee\":\"The new dynamic pool LP fee\"}}},\"version\":1},\"userdoc\":{\"errors\":{\"AlreadySubscribed(uint256,address)\":[{\"notice\":\"Thrown when a tokenId already has a subscriber\"}],\"AlreadyUnlocked()\":[{\"notice\":\"Thrown when unlock is called, but the contract is already unlocked\"}],\"BurnNotificationReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting burn notification\"}],\"CurrenciesOutOfOrderOrEqual(address,address)\":[{\"notice\":\"PoolKey must have currencies where address(currency0) < address(currency1)\"}],\"CurrencyNotSettled()\":[{\"notice\":\"Thrown when a currency is not netted out after the contract is unlocked\"}],\"DeadlinePassed(uint256)\":[{\"notice\":\"Thrown when the block.timestamp exceeds the user-provided deadline\"}],\"DeltaNotNegative(address)\":[{\"notice\":\"Emitted trying to take a negative delta.\"}],\"DeltaNotPositive(address)\":[{\"notice\":\"Emitted trying to settle a positive delta.\"}],\"GasLimitTooLow()\":[{\"notice\":\"Thrown when a user specifies a gas limit too low to avoid valid unsubscribe notifications\"}],\"InputLengthMismatch()\":[{\"notice\":\"emitted when different numbers of parameters and actions are provided\"}],\"InsufficientBalance()\":[{\"notice\":\"Emitted when the contract does not have enough balance to wrap or unwrap.\"}],\"InvalidCaller()\":[{\"notice\":\"Thrown when collectProtocolFees or setProtocolFee is not called by the controller.\"}],\"InvalidContractSignature()\":[{\"notice\":\"Thrown when the recovered contract signature is incorrect\"}],\"InvalidEthSender()\":[{\"notice\":\"Thrown when an unexpected address sends ETH to this contract\"}],\"InvalidSignature()\":[{\"notice\":\"Thrown when the recovered signer is equal to the zero address\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Thrown when the passed in signature is not a valid length\"}],\"InvalidSigner()\":[{\"notice\":\"Thrown when the recovered signer does not equal the claimedSigner\"}],\"ManagerLocked()\":[{\"notice\":\"Thrown when a function is called that requires the contract to be unlocked, but it is not\"}],\"ModifyLiquidityNotificationReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting modify liquidity notification\"}],\"MustClearExactPositiveDelta()\":[{\"notice\":\"Thrown when `clear` is called with an amount that is not exactly equal to the open currency delta.\"}],\"NoCodeSubscriber()\":[{\"notice\":\"Thrown when a subscriber does not have code\"}],\"NonzeroNativeValue()\":[{\"notice\":\"Thrown when native currency is passed to a non native settlement\"}],\"NotApproved(address)\":[{\"notice\":\"Thrown when the caller is not approved to modify a position\"}],\"NotPoolManager()\":[{\"notice\":\"Thrown when the caller is not PoolManager\"}],\"NotSubscribed()\":[{\"notice\":\"Thrown when unsubscribing without a subscriber\"}],\"PoolManagerMustBeLocked()\":[{\"notice\":\"Thrown when calling transfer, subscribe, or unsubscribe when the PoolManager is unlocked.\"}],\"PoolNotInitialized()\":[{\"notice\":\"Thrown when trying to interact with a non-initialized pool\"}],\"ProtocolFeeCurrencySynced()\":[{\"notice\":\"Thrown when collectProtocolFees is attempted on a token that is synced.\"}],\"ProtocolFeeTooLarge(uint24)\":[{\"notice\":\"Thrown when protocol fee is set too high\"}],\"SubscriptionReverted(address,bytes)\":[{\"notice\":\"Wraps the revert message of the subscriber contract on a reverting subscription\"}],\"SwapAmountCannotBeZero()\":[{\"notice\":\"Thrown when trying to swap amount of 0\"}],\"TickSpacingTooLarge(int24)\":[{\"notice\":\"Pools are limited to type(int16).max tickSpacing in #initialize, to prevent overflow\"}],\"TickSpacingTooSmall(int24)\":[{\"notice\":\"Pools must have a positive non-zero tickSpacing passed to #initialize\"}],\"UnauthorizedDynamicLPFeeUpdate()\":[{\"notice\":\"Thrown when a call to updateDynamicLPFee is made by an address that is not the hook, or on a pool that does not have a dynamic swap fee.\"}],\"UnsupportedAction(uint256)\":[{\"notice\":\"emitted when an inheriting contract does not support an action\"}]},\"events\":{\"Donate(bytes32,address,uint256,uint256)\":{\"notice\":\"Emitted for donations\"},\"Initialize(bytes32,address,address,uint24,int24,address,uint160,int24)\":{\"notice\":\"Emitted when a new pool is initialized\"},\"ModifyLiquidity(bytes32,address,int24,int24,int256,bytes32)\":{\"notice\":\"Emitted when a liquidity position is modified\"},\"ProtocolFeeControllerUpdated(address)\":{\"notice\":\"Emitted when the protocol fee controller address is updated in setProtocolFeeController.\"},\"ProtocolFeeUpdated(bytes32,uint24)\":{\"notice\":\"Emitted when the protocol fee is updated for a pool.\"},\"Subscription(uint256,address)\":{\"notice\":\"Emitted on a successful call to subscribe\"},\"Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)\":{\"notice\":\"Emitted for swaps between currency0 and currency1\"},\"Unsubscription(uint256,address)\":{\"notice\":\"Emitted on a successful call to unsubscribe\"}},\"kind\":\"user\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"notice\":\"Returns the domain separator for the current chain.\"},\"WETH9()\":{\"notice\":\"The address for WETH9\"},\"allowance(address,address,uint256)\":{\"notice\":\"Spender allowance of an id.\"},\"approve(address,uint256)\":{\"notice\":\"Change or reaffirm the approved address for an NFT\"},\"approve(address,uint256,uint256)\":{\"notice\":\"Approves an amount of an id to a spender.\"},\"balanceOf(address,uint256)\":{\"notice\":\"Owner balance of an id.\"},\"burn(address,uint256,uint256)\":{\"notice\":\"Called by the user to move value from ERC6909 balance\"},\"clear(address,uint256)\":{\"notice\":\"WARNING - Any currency that is cleared, will be non-retrievable, and locked in the contract permanently. A call to clear will zero out a positive balance WITHOUT a corresponding transfer.\"},\"collectProtocolFees(address,address,uint256)\":{\"notice\":\"Collects the protocol fees for a given recipient and currency, returning the amount collected\"},\"donate((address,address,uint24,int24,address),uint256,uint256,bytes)\":{\"notice\":\"Donate the given currency amounts to the in-range liquidity providers of a pool\"},\"extsload(bytes32)\":{\"notice\":\"Called by external contracts to access granular pool state\"},\"extsload(bytes32,uint256)\":{\"notice\":\"Called by external contracts to access granular pool state\"},\"extsload(bytes32[])\":{\"notice\":\"Called by external contracts to access sparse pool state\"},\"exttload(bytes32)\":{\"notice\":\"Called by external contracts to access transient storage of the contract\"},\"exttload(bytes32[])\":{\"notice\":\"Called by external contracts to access sparse transient pool state\"},\"getPoolAndPositionInfo(uint256)\":{\"notice\":\"Returns the pool key and position info of a position\"},\"getPositionLiquidity(uint256)\":{\"notice\":\"Returns the liquidity of a position\"},\"initialize((address,address,uint24,int24,address),uint160)\":{\"notice\":\"Initialize the state for a given pool ID\"},\"initializePool((address,address,uint24,int24,address),uint160)\":{\"notice\":\"Initialize a Uniswap v4 Pool\"},\"isOperator(address,address)\":{\"notice\":\"Checks if a spender is approved by an owner as an operator\"},\"mint(address,uint256,uint256)\":{\"notice\":\"Called by the user to move value into ERC6909 balance\"},\"modifyLiquidities(bytes,uint256)\":{\"notice\":\"Unlocks Uniswap v4 PoolManager and batches actions for modifying liquidity\"},\"modifyLiquiditiesWithoutUnlock(bytes,bytes[])\":{\"notice\":\"Batches actions for modifying liquidity without unlocking v4 PoolManager\"},\"modifyLiquidity((address,address,uint24,int24,address),(int24,int24,int256,bytes32),bytes)\":{\"notice\":\"Modify the liquidity for the given pool\"},\"msgSender()\":{\"notice\":\"function that returns address considered executor of the actions\"},\"multicall(bytes[])\":{\"notice\":\"Call multiple functions in the current contract and return the data from all of them if they all succeed\"},\"nextTokenId()\":{\"notice\":\"Used to get the ID that will be used for the next minted liquidity position\"},\"nonces(address,uint256)\":{\"notice\":\"mapping of nonces consumed by each address, where a nonce is a single bit on the 256-bit bitmap\"},\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"notice\":\"allows forwarding a single permit to permit2\"},\"permit(address,uint256,uint256,uint256,bytes)\":{\"notice\":\"Approve of a specific token ID for spending by spender via signature\"},\"permit2()\":{\"notice\":\"the Permit2 contract to forward approvals\"},\"permitBatch(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"notice\":\"allows forwarding batch permits to permit2\"},\"permitForAll(address,address,bool,uint256,uint256,bytes)\":{\"notice\":\"Set an operator with full permission to an owner's tokens via signature\"},\"poolManager()\":{\"notice\":\"The Uniswap v4 PoolManager contract\"},\"positionInfo(uint256)\":{\"notice\":\"Returns the position info of a position\"},\"protocolFeeController()\":{\"notice\":\"Returns the current protocol fee controller address\"},\"protocolFeesAccrued(address)\":{\"notice\":\"Given a currency address, returns the protocol fees accrued in that currency\"},\"revokeNonce(uint256)\":{\"notice\":\"Revoke a nonce by spending it, preventing it from being used again\"},\"setApprovalForAll(address,bool)\":{\"notice\":\"Enable or disable approval for a third party (\\\"operator\\\") to manage all of `msg.sender`'s assets\"},\"setOperator(address,bool)\":{\"notice\":\"Sets or removes an operator for the caller.\"},\"setProtocolFee((address,address,uint24,int24,address),uint24)\":{\"notice\":\"Sets the protocol fee for the given pool\"},\"setProtocolFeeController(address)\":{\"notice\":\"Sets the protocol fee controller\"},\"settle()\":{\"notice\":\"Called by the user to pay what is owed\"},\"settleFor(address)\":{\"notice\":\"Called by the user to pay on behalf of another address\"},\"subscribe(uint256,address,bytes)\":{\"notice\":\"Enables the subscriber to receive notifications for a respective position\"},\"subscriber(uint256)\":{\"notice\":\"Returns the subscriber for a respective position\"},\"swap((address,address,uint24,int24,address),(bool,int256,uint160),bytes)\":{\"notice\":\"Swap against the given pool\"},\"sync(address)\":{\"notice\":\"Writes the current ERC20 balance of the specified currency to transient storage This is used to checkpoint balances for the manager and derive deltas for the caller.\"},\"take(address,address,uint256)\":{\"notice\":\"Called by the user to net out some value owed to the user\"},\"transfer(address,uint256,uint256)\":{\"notice\":\"Transfers an amount of an id from the caller to a receiver.\"},\"transferFrom(address,address,uint256,uint256)\":{\"notice\":\"Transfers an amount of an id from a sender to a receiver.\"},\"unlock(bytes)\":{\"notice\":\"All interactions on the contract that account deltas require unlocking. A caller that calls `unlock` must implement `IUnlockCallback(msg.sender).unlockCallback(data)`, where they interact with the remaining functions on this contract.\"},\"unlockCallback(bytes)\":{\"notice\":\"Called by the pool manager on `msg.sender` when the manager is unlocked\"},\"unsubscribe(uint256)\":{\"notice\":\"Removes the subscriber from receiving notifications for a respective position\"},\"unsubscribeGasLimit()\":{\"notice\":\"Returns and determines the maximum allowable gas-used for notifying unsubscribe\"},\"updateDynamicLPFee((address,address,uint24,int24,address),uint24)\":{\"notice\":\"Updates the pools lp fees for the a pool that has enabled dynamic lp fees.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/ImportsForTypechain.sol\":\"ImportsForTypechain\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"@uniswap/v4-core/src/ERC6909.sol\":{\"keccak256\":\"0x22476a1c183be1b547a509b3e6906abaccb6408375f798fce805ff7877aca09f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e85580e1563ea0556705132fb6bd038ca4aa355749039923853ebcb76b7c84e6\",\"dweb:/ipfs/QmVoxPrbagRKpFdRWoaCSKmStYLZrhNFuedcuyGycSGR7q\"]},\"@uniswap/v4-core/src/ERC6909Claims.sol\":{\"keccak256\":\"0xf496ef3a5a9bf4f4aa2eec951dbeff09a01ef058bb9f64b1664cf46c9e85cd49\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2a0a97c359a7a4c526ba9fc4ceb20af8050f9cf7886ea7e1f38c9c10b4a3750c\",\"dweb:/ipfs/QmPy6pCQbvzCdJRqG1thHRSwEZoLBAaLo3KQnueL3wxb8i\"]},\"@uniswap/v4-core/src/Extsload.sol\":{\"keccak256\":\"0x784074bd04a1541c7c6ace074e30245746133fd37c3ba16b025dce394db986ce\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://35f1f4fb306bf01e98b7eca012b85f3ab978b39fa5136193363e2519c4435e51\",\"dweb:/ipfs/QmeGrjGMt71dJymVhkEadh5CuCW5GxRqNEZLi5AJxvC5tU\"]},\"@uniswap/v4-core/src/Exttload.sol\":{\"keccak256\":\"0x769ee2733a08112c652274f4b972c45fb56cc46109f233b9a30f81561b15dd54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dd19e88d50ae77c1ed5581baca1c75b3fb828d0b58cded90188d55c4e336266c\",\"dweb:/ipfs/Qmc8YM6Tfpwwa4qivHHzRxNdhZzdzGiD7VexWsDvkaQTxG\"]},\"@uniswap/v4-core/src/NoDelegateCall.sol\":{\"keccak256\":\"0xacb81aecb7c74c86650a035462dae38c313b4b7b5842e14b645f864f61da2b51\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://363a0e15fc30ea68a5d52a78772facecde6433ea156e3ec2ce25068c97cd5ad6\",\"dweb:/ipfs/QmYhWaF3wH71SDx5TZr9qEXXQf5FYQvdjoo3B2qWiAbm18\"]},\"@uniswap/v4-core/src/PoolManager.sol\":{\"keccak256\":\"0xaa234912d8bc3a54c80f3973b34823cfac88d01fe9481765b7a5925dccbc9b79\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://6faf4019cd6cfcaa434631e2f9709389abd8ab339d51096f404f260cc255b5e1\",\"dweb:/ipfs/QmZ8aLGm3b2L4UuzrerGmpyB2f32cUcNUL6qvzNBqop45k\"]},\"@uniswap/v4-core/src/ProtocolFees.sol\":{\"keccak256\":\"0x81362ef1d19670b41cefc2b6f2dc0333b6743fe39a1929edd36bd9b6a1111755\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de483bbd8bf9a53b9644d7f9a6a6fe77ae527b755cf29e1db8725de89e70c7aa\",\"dweb:/ipfs/Qmex3PcgJGbYsuDNaMXc8mg5fW1DNaPGiNToPpAAzz6GEq\"]},\"@uniswap/v4-core/src/interfaces/IExtsload.sol\":{\"keccak256\":\"0x80b53ca4907d6f0088c3b931f2b72cad1dc4615a95094d96bd0fb8dff8d5ba43\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://375c69148622aab7a3537d5fd37d373a8e9731022c8d87bdaee46233b0a99fe1\",\"dweb:/ipfs/QmXFjdoYRxsA5B1kyuxEXgNf3FBoL1zPvy26Qy8EtpdFRN\"]},\"@uniswap/v4-core/src/interfaces/IExttload.sol\":{\"keccak256\":\"0xc6b68283ebd8d1c789df536756726eed51c589134bb20821b236a0d22a135937\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://294394f72dfc219689209f4130d85601dfd0d63c8d47578050d312db70f9b6c8\",\"dweb:/ipfs/QmTDMQ3oxCGHgEBU48a3Lp4S1rRjc8vVCxkhE5ZNej1bsY\"]},\"@uniswap/v4-core/src/interfaces/IHooks.sol\":{\"keccak256\":\"0x4c9571aed0c2b6ef11832545554fc11ffdb03746daaf5c73683c00600bfc7ec0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e78b34b58ce9de91b91943b4f3cc3ce121d0b151e123e8a600ac5ef64d91db6c\",\"dweb:/ipfs/QmRkaQnPCYwLrXgbpGujJTx32PaZK63KSPJJV1XmnQuCMb\"]},\"@uniswap/v4-core/src/interfaces/IPoolManager.sol\":{\"keccak256\":\"0xb29607eefac17cb3b0a6f7ca1225a4f5a4baf4873fd1689c770e1fa0b3465399\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d1c9d83b6910d2cbd8b711438072b57f7feffcc18321330c0d83e73159c9c828\",\"dweb:/ipfs/QmZfkdqayzYHAiGXrXLXYNaiS6JXSQmKyJLDQHvaXYi5Y2\"]},\"@uniswap/v4-core/src/interfaces/IProtocolFees.sol\":{\"keccak256\":\"0x32a666e588a2f66334430357bb1e2424fe7eebeb98a3364b1dd16eb6ccca9848\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85751d302125881f72e5f8af051c2d5d9b1f606ebaea8ca7d04fccdd27cc252d\",\"dweb:/ipfs/QmeRwomeh9NWm6A6fgNA4KZPQZHPpdKsPQyYsHSFmvud7J\"]},\"@uniswap/v4-core/src/interfaces/callback/IUnlockCallback.sol\":{\"keccak256\":\"0x58c82f2bd9d7c097ed09bd0991fedc403b0ec270eb3d0158bfb095c06a03d719\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91168ca26a10980df2cdc3fbfe8ddf372c002b7ef19e3c59a0c9870d64198f1b\",\"dweb:/ipfs/QmUSpaM825vd1SwvF38esgbdLgYiPwefKaFERTWvUi6uSK\"]},\"@uniswap/v4-core/src/interfaces/external/IERC20Minimal.sol\":{\"keccak256\":\"0xeccadf1bf69ba2eb51f2fe4fa511bc7bb05bbd6b9f9a3cb8e5d83d9582613e0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://118757369892687b99ef46ce28d6861f62c098285bd7687a4f17f7e44e5f81de\",\"dweb:/ipfs/QmUxqbYqQtcEwwFbb9e6BBMePEaSgN8C45v6RKubD4ib8d\"]},\"@uniswap/v4-core/src/interfaces/external/IERC6909Claims.sol\":{\"keccak256\":\"0xa586f345739e52b0488a0fe40b6e375cce67fdd25758408b0efcb5133ad96a48\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8c557b7e52abdbbd82e415a1acc27921446a7fd090b7d4877e52be72619547f\",\"dweb:/ipfs/QmXE2KNPbXmGX8BQF3ei6zhzRTnhoTQg39XmqMnkhbr6QK\"]},\"@uniswap/v4-core/src/libraries/BitMath.sol\":{\"keccak256\":\"0x51b9be4f5c4fd3e80cbc9631a65244a2eb2be250b6b7f128a2035080e18aee8d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe98bbd5498e912146b9319827fc63621eb66ff55d5baae0fa02a7a972ab8d1e\",\"dweb:/ipfs/QmY5hCuyrtgsJtk4AavrxcvBkRrChfr4N6ZnhdC8roPpNi\"]},\"@uniswap/v4-core/src/libraries/CurrencyDelta.sol\":{\"keccak256\":\"0x80dbd898cf0f90c5c27192689b16c34edc765d6ab21b8358e3bb792c7fef238c\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://107698da024313f132d9fe28deb920b5c03d14624889c3ce5720e588f03635bb\",\"dweb:/ipfs/QmQteUbhj5SsWbvSF6U8niBUSrETqVbEwULc8E7vS4Kbnn\"]},\"@uniswap/v4-core/src/libraries/CurrencyReserves.sol\":{\"keccak256\":\"0x1576616129933fcdf3b684cea33cffd9c95e18fafbd2832a8c48ac3d8526d4c3\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://33b050efb9b81803b18f562271e7cca2ec5362c4d505860d6419b4a345636725\",\"dweb:/ipfs/QmQtFtTwKZ5pFVGD2ENDUXvp7ECFvzqeCuJ1miJcUHdmiX\"]},\"@uniswap/v4-core/src/libraries/CustomRevert.sol\":{\"keccak256\":\"0x111ed3031b6990c80a93ae35dde6b6ac0b7e6af471388fdd7461e91edda9b7de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ea883c98d6ae1829160d0977bb5195761cfd5bc81692d0a941f45717f594cd\",\"dweb:/ipfs/QmZPwxzaeMNv536wzrAMrMswu7vMHuqPVpjcqL3YvCMoxt\"]},\"@uniswap/v4-core/src/libraries/FixedPoint128.sol\":{\"keccak256\":\"0xad236e10853f4b4b20a35a9bb52b857c4fc79874846b7e444e06ead7f2630542\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0de1f9a06520b1a689660943faa14fc0b8344ab41fab9e6012ea34bff4b9b3eb\",\"dweb:/ipfs/QmRNMPTyko7W6d6KxuTsnDBa9oZgDK4xiwRRq3H9ASTbwy\"]},\"@uniswap/v4-core/src/libraries/FixedPoint96.sol\":{\"keccak256\":\"0xef5c3fd41aee26bb12aa1c32873cfee88e67eddfe7c2b32283786265ac669741\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4de298d02f662a1c36c7be0a150f18c2a161408a5d3e48432e707efd01fac9a4\",\"dweb:/ipfs/QmSiM4oeMmLVKmAtJXz2feYkv4R9ZcyBpkTRW5Nhw5KDyJ\"]},\"@uniswap/v4-core/src/libraries/FullMath.sol\":{\"keccak256\":\"0x4fc73a00817193fd3cac1cc03d8167d21af97d75f1815a070ee31a90c702b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3b2d66d36b1ad56b1ab6e2eb8a816740877b40b461c93f125e88621c8378e52\",\"dweb:/ipfs/QmPGvMZzKQvNiWKd8aRzzdW7oAizwrMgcMtnaworDkVHFC\"]},\"@uniswap/v4-core/src/libraries/Hooks.sol\":{\"keccak256\":\"0x27b1c3b8aa3d07d8e3123970695745929315685a5ffaa7342c3ba3582f37fecb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fa3bb092dc205eaa1b9defc93e9bbad5f4c5c44e1c4aa531dfca2574c2aba9ba\",\"dweb:/ipfs/QmR1soxkepHNkbGxAMaK4XqhQ4VxWn69dewzGkQJNx5byM\"]},\"@uniswap/v4-core/src/libraries/LPFeeLibrary.sol\":{\"keccak256\":\"0xbf6914e01014e7c1044111feb7df7a3d96bb503b3da827ad8464b1955580d13b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33823c20a91882c9aacdcbb02f0558c05209f4d5954aa6dd4fa17c95664db475\",\"dweb:/ipfs/QmR7owkFgpfztpp1QUg3ut3nw9iPVQqLGP4hzgmZtRUQ2J\"]},\"@uniswap/v4-core/src/libraries/LiquidityMath.sol\":{\"keccak256\":\"0x000ef2eadcc1eb7b2c18a77655f94e76e0e860f605783484657ef65fd6eda353\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a766b620a7a22798b43c6c1f23b5c6cff0ebf588deb89842bad05208d448cd99\",\"dweb:/ipfs/QmVKjaFJdzkqA3ey2Byum8iTCMssWVD8MmVC8rw62Tj5WD\"]},\"@uniswap/v4-core/src/libraries/Lock.sol\":{\"keccak256\":\"0x9338be4b5695f1da5f3d3f7a3eeaf7a356c1045458289586ac0cbe9cef77c6d5\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://485ec42ed6155469d612a9a0c18068ebfbad74448792a338a435503de3ef1b2c\",\"dweb:/ipfs/QmVnnv5u74MYatfRmBgrcfFYQcsMAJMG9jQ6ju8UiydKNF\"]},\"@uniswap/v4-core/src/libraries/NonzeroDeltaCount.sol\":{\"keccak256\":\"0x0666ebd5d3528d7d52c48538296367a4cff97a578cf13365c51983fae3219b87\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d27f1be3bd09d85c53d3e6a539dd6529ddd8b2b764ccb47fd7765fc81f9add59\",\"dweb:/ipfs/QmQdZujNXhKEXQBkKtF5jbdvo1yXMqPDUoBBaF9S5u3Kpm\"]},\"@uniswap/v4-core/src/libraries/ParseBytes.sol\":{\"keccak256\":\"0x7533b13f53ee2c2c55500100b22ffd6e37e7523c27874edc98663d53a8672b15\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://82449058634fde28a085f3c59a6a5f412550c02181590593fd84c3e8b329aa17\",\"dweb:/ipfs/Qmev4E9Au6SsE4wsArChCwfg94KhHc5gYsEsZUnjF5sRLa\"]},\"@uniswap/v4-core/src/libraries/Pool.sol\":{\"keccak256\":\"0x53cd1b8791274c3599ed62fb8d2eb428bfad6cefa2002b5e684250b89e681371\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://469124e41971bbd78107099961aaef5c6cb8035d236647f9e6ce2b0d9e1318cf\",\"dweb:/ipfs/QmWjfugsTJa8jB15dm6acpixXLgDoEMa1me9tMeEXxsazU\"]},\"@uniswap/v4-core/src/libraries/Position.sol\":{\"keccak256\":\"0xddab2a831f1befb6abf5567e77c4582169ca8156cf69eb4f22d8e87f7226a3f9\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c79fe61b50f3b70cff503abfa6f5643fcbefb9b794855bee1019b1e6d9c083b2\",\"dweb:/ipfs/QmbKmYNQesaMz8bo1b7TMHQcAwaDd3eDPrE5pAdPPZTtk5\"]},\"@uniswap/v4-core/src/libraries/ProtocolFeeLibrary.sol\":{\"keccak256\":\"0xf483001899229ab10f5a626fe1c5866134d9e965b48ce6cf55ce0d7f74f7d8ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6ba9211a7f69bbb44649c35211eb29d193c09032ec600064ef9d04b4625dd8ba\",\"dweb:/ipfs/QmQSjQvtguYgMJSkkKRhHjxasfX9xfTbrbcZ1QmjUVb787\"]},\"@uniswap/v4-core/src/libraries/SafeCast.sol\":{\"keccak256\":\"0x42c4a24f996a14d358be397b71f7ec9d7daf666aaec78002c63315a6ee67aa86\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c3db86e2ba3679105fc32edec656c70282e1fede6cab11217702443f6c26fa59\",\"dweb:/ipfs/QmX4yaaSPdKQzYNRsezjTvZKsubzS8JRTEGFD3fPpTTCcj\"]},\"@uniswap/v4-core/src/libraries/SqrtPriceMath.sol\":{\"keccak256\":\"0xf8079fe6e3460db495451d06b1705e18f1c4075c1af96a31ad313545f7082982\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://582fc51546723a0a8acccf782f69b530bacf9b3ef929458e82569b7121f0b138\",\"dweb:/ipfs/QmSBXcmqZdFsM7M4sRaiyQAxykCeMNFKyKgBcwSMTw1bcF\"]},\"@uniswap/v4-core/src/libraries/StateLibrary.sol\":{\"keccak256\":\"0x4bbb1e816dd67fd4e958518ef50d216fcdab19912ab98c28d4c5279890c48c2c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eab2611adf69904cb0f326dbd82cdd6d1a09630dacace7f741e29c76836e41e8\",\"dweb:/ipfs/QmcCR78dZ8C7pF3DSDoWyYobX7aXkBNxbCmgenkqpgRrbT\"]},\"@uniswap/v4-core/src/libraries/SwapMath.sol\":{\"keccak256\":\"0x6baa782ae523269c079cc763639a9b91a25fcfa1743c049c76e43741ef494bd9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://035c337e62e05262a5bd5d3bc85bc9a383c1013001216b429f49cf1e129a0812\",\"dweb:/ipfs/QmU7s4h58Fh2A6mM8yeorZ2ygwEJMQw8zdZLLkHeDoSWxD\"]},\"@uniswap/v4-core/src/libraries/TickBitmap.sol\":{\"keccak256\":\"0x6779f89e28a0b4af6e09d518caf014b7e8fc627400f5561f86fed11635b1458a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a64dee983106de3be3f968be94368c1e37592f5418aa2a39e8dd358d5a962b0d\",\"dweb:/ipfs/QmYuECZTiEeQVxDLYx6pBSSnVrg56Apw75bugQiM3FmGwy\"]},\"@uniswap/v4-core/src/libraries/TickMath.sol\":{\"keccak256\":\"0x4e1a11e154eb06106cb1c4598f06cca5f5ca16eaa33494ba2f0e74981123eca8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a79a57f7b240783b045168d1c4f774ac1812caf8f9a83cb6959a86b0b07b6c70\",\"dweb:/ipfs/QmTb5kvxwDNW8jDuQaqdJ445cCFejNkUqEB17Bjo8UBiva\"]},\"@uniswap/v4-core/src/libraries/TransientStateLibrary.sol\":{\"keccak256\":\"0x7d1e0875747bd89b32c25f1a48da2766e5f4aff1f671ad5f3c0c07ebbbcb946a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d76cfeb1cb60595b41ecc51c8a12fb4bf63a7fc733d0b1a2e3adb55abeb1f9d5\",\"dweb:/ipfs/Qmb8oX7DtsRpw3tTtdWZwGhauj1evq43d3PLwe4nSDAKkV\"]},\"@uniswap/v4-core/src/libraries/UnsafeMath.sol\":{\"keccak256\":\"0xa6e55e0a43a15df2df471d9972cd48f613d07c663ecb8bbeaf7623f6f99bcce4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://02ea6e13879fc5a5f35149a2f1cd8af3a1f0877ff69101dad53841d16f515572\",\"dweb:/ipfs/QmcpL4gdG6hL2w1wqs2Vw4J1EFCwBs9T1Qd4p16CtECQkn\"]},\"@uniswap/v4-core/src/types/BalanceDelta.sol\":{\"keccak256\":\"0xa719c8fe51e0a9524280178f19f6851bcc3b3b60e73618f3d60905d35ae5569f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7436928dc9de35c6c7c5c636cb51adaf295cfd590da83b19a004ae33cbec9ef9\",\"dweb:/ipfs/QmRJ9yZkUpzk4433GX3LgVVL8jwpbSYSUwXcucKisf3v4H\"]},\"@uniswap/v4-core/src/types/BeforeSwapDelta.sol\":{\"keccak256\":\"0x2a774312d91285313d569da1a718c909655da5432310417692097a1d4dc83a78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2c7a0379955cff9c17ab9e61f95e42909aa5947c22740f86ce940d09856f782\",\"dweb:/ipfs/QmaAuo8UBYXsGrVuKh8iRoAAdqwtg1jDq515cW1ZRP5m9K\"]},\"@uniswap/v4-core/src/types/Currency.sol\":{\"keccak256\":\"0x4a0b84b282577ff6f8acf13ec9f4d32dbb9348748b49611d00e68bee96609c93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45f9d62ab3d51b52957279e353853ba1547c3182c9a1e3d1846ada4a90263b01\",\"dweb:/ipfs/QmS8NG84ccQS1yXVD8cv3eKX7J1UKxuJhbUfHTQR2opKF5\"]},\"@uniswap/v4-core/src/types/PoolId.sol\":{\"keccak256\":\"0x308311916ea0f5c2fd878b6a2751eb223d170a69e33f601fae56dfe3c5d392af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://669c2cd7ac17690b5d8831e0bda72822376c3a04b36afed6d31df4d75fe60918\",\"dweb:/ipfs/QmT6EpkxqU8VF3WsgrZ66F3s1cCQRffR95z1HDYZz7ph6y\"]},\"@uniswap/v4-core/src/types/PoolKey.sol\":{\"keccak256\":\"0xf89856e0580d7a4856d3187a76858377ccee9d59702d230c338d84388221b786\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f3118fa189025695c37fdf0bdd1190f085ad097484d3c88cf4c56d1db65f639\",\"dweb:/ipfs/QmamXpgtB8GV1CaFLvqefPWSoikLDhMk1yU4heBnVzU8gi\"]},\"@uniswap/v4-core/src/types/Slot0.sol\":{\"keccak256\":\"0x8b4912fac7e25ea680056748121113f902d56f8b2640f421d5c38d438db11c1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c19b1ff5b951fb54129268d2be37d82c8bb3ea6e29ac9bc78a8a37794fc082b8\",\"dweb:/ipfs/QmTAQ2mUoiT77hoWJAfn9pyoGy47qaevn45QHrbyovGt2C\"]},\"@uniswap/v4-periphery/src/PositionManager.sol\":{\"keccak256\":\"0x6996866c77410da122d307535083b01746eef470a914b12baedd0721ffd96a24\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18d8f752af824da84d3dd826ac4f18a70ea1c94831473c2813825bdc271b0c20\",\"dweb:/ipfs/QmcyGxdkB2gFinYaKt9H9PdTcQoKZyo1hXjtaJ3krf5fPQ\"]},\"@uniswap/v4-periphery/src/base/BaseActionsRouter.sol\":{\"keccak256\":\"0xca1ee500f88951ad351d18ba2adfb5fe23abef6d502f234ce5748a3497674a4c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f03ab458be27c29cef1b7ace5b11517d3fef8bf6131af7dd80d6297c224cf71\",\"dweb:/ipfs/QmYoH6o8yeRzbeLoaMG9TjS8q2Fw7T1h4vXvvMnp3XfsUa\"]},\"@uniswap/v4-periphery/src/base/DeltaResolver.sol\":{\"keccak256\":\"0x94a2da2be5c924df65a8e1e29f585bbe4c37777fedd43b45989c66d509a4a83c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://42bba590f6e817fd56328b74ae99bfdc4df57386d0a69ee22b9108341953ed36\",\"dweb:/ipfs/QmdusastK7FWYouLz9gvV5J3z8MQbNKLJNNHTrc1vi7DWw\"]},\"@uniswap/v4-periphery/src/base/EIP712_v4.sol\":{\"keccak256\":\"0x151e85890822c1b0fe85ec3c021826cb42f615e2b9d6fcdd79019681a6ee5588\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c5df84221ba4fe59c8223e94bec954b7f7602d4ad81d2f0c046a67c21c1d24be\",\"dweb:/ipfs/QmbTUqqHxRxEDyrMPApozbC6DEYMZGa27dWu3KodNACiLy\"]},\"@uniswap/v4-periphery/src/base/ERC721Permit_v4.sol\":{\"keccak256\":\"0xb1c3d4cc1fa0c7f9562674917d9ffdd119a1ccdb3adca44b2832d5c91c068125\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://752a8a679a9cc9e56a8e95fc1fa1d8c39a951a479b6c0b1109238f73520045df\",\"dweb:/ipfs/QmRzLo9KRcJH38Fx2xvweVmvMbTRKzyDR7R7Fui4Ca9cma\"]},\"@uniswap/v4-periphery/src/base/ImmutableState.sol\":{\"keccak256\":\"0x1867c9fa2f9b4fa73bab0fcdc9d19ccef4eeac552273d8b84a170cd1cc90350a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af2d699b439e13b599632fddfe82718aebd41055fba7c075f186675c588d1337\",\"dweb:/ipfs/Qmc111gckSKb9aESn3wRFLeLiS4KGujaUcaYJgRnCRfwQU\"]},\"@uniswap/v4-periphery/src/base/Multicall_v4.sol\":{\"keccak256\":\"0x654c6e65bd9bbf12b2cc393f8523db04e85ec45e829200de3895709479d6d569\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d7ee5441ed14cdad5328f8e844403c2969fe2ecd9d110d7b80954bfa41f52d69\",\"dweb:/ipfs/QmQ1r1qmGyg1JXUgmjzi3WxjAmkLtMpUVsRWfYJsRRo3sP\"]},\"@uniswap/v4-periphery/src/base/NativeWrapper.sol\":{\"keccak256\":\"0xfb756bc69e401d621f615746d881cfef7e98f3f563775905a1eca79a074a35ca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://507c9b3ddf79ec34b8ae472dfc4d6840343a9a172d7c6f33eec290e0078e9254\",\"dweb:/ipfs/QmWhGck33w1s343mtojttgisJcsdwDf6Ah6oTpjgsWcQWh\"]},\"@uniswap/v4-periphery/src/base/Notifier.sol\":{\"keccak256\":\"0x5f2a29b2a528269643d026bf4698e6520eeb1e5fc773f9d5059b3e279a488bf6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://63d5c541039f37ae89533a15fc311e3fec3d143fa11bac42e73964bdf74b3d06\",\"dweb:/ipfs/QmUrvqNYEYwEu1zRWLFVDUW2zEajbkNYxiNqUpc5aWx5ui\"]},\"@uniswap/v4-periphery/src/base/Permit2Forwarder.sol\":{\"keccak256\":\"0xcdf793e6732cdf0c386f89573384032314b0893bf208b3d75ac71d3002674a3b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4f18d0be711c1d586854e2a78113bf84765e7158c9568b2c73f8750511a22ce7\",\"dweb:/ipfs/QmSe3zz9jvDZo2MqPgCpfNs3yA4xAWPB1deZBoRFzeZiN1\"]},\"@uniswap/v4-periphery/src/base/PoolInitializer_v4.sol\":{\"keccak256\":\"0x068c85032e50ef6374958ff3e7dcc143527f669de1bbba831e552d033344a1e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://674c29491faef627b52cb81495bf3747cd7f7613e2ddcabb1dd258f93f966006\",\"dweb:/ipfs/Qmc1D31ubNDRdxVS6pxDzn7z8disSw7UScHu8rgfpxCAsz\"]},\"@uniswap/v4-periphery/src/base/ReentrancyLock.sol\":{\"keccak256\":\"0x66dd19f8eb40b7a86afea0e5b1dcada6268041027b0dfc493b80ca1f66af217d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ac6d34517e2dd2c9cd03e16c5333defd003c134a4bff52ad95b673a5e8804609\",\"dweb:/ipfs/QmPSRdswfajCZCchH9j8rC7U3GLJ4w24gK35gxRVY3Qxz4\"]},\"@uniswap/v4-periphery/src/base/SafeCallback.sol\":{\"keccak256\":\"0xd78b583df1b9ee06d58e83b84fc9f08971389b34dd34bc13db072e0c13c710da\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c0a47f4bcd6060c4462153b9a7c52a60a460ace91acb6ddd5492eab28ec26173\",\"dweb:/ipfs/QmdRCTRS1dhFjWEy6z577j4xz9J5HPfHBwcNzAic8G59oT\"]},\"@uniswap/v4-periphery/src/base/UnorderedNonce.sol\":{\"keccak256\":\"0x0ec175bf2213d75606ebb770227e8622ae9666fbde8ff2d1682d85890b81676e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://079952902a4be56b5e963585349988fcbea853bf8271a5cb88e7629cafb06bcf\",\"dweb:/ipfs/Qmere81cd2Wq9Vq4rL5G1nW4Jv54YJeMr1oaej7468xrgi\"]},\"@uniswap/v4-periphery/src/interfaces/IEIP712_v4.sol\":{\"keccak256\":\"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736\",\"dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR\"]},\"@uniswap/v4-periphery/src/interfaces/IERC721Permit_v4.sol\":{\"keccak256\":\"0x103adbba724ef536abc536fe8a4d7dc12880724c562109b69f2adce4a91fa017\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://06f51b5a5a218e0bc866a83e7821be53c9db9de0ca921f16abd3d13ea0eab69d\",\"dweb:/ipfs/QmbnhLy992hpQZyphTkj7fpr6jKKVva2AzfmLiDZEuqHAk\"]},\"@uniswap/v4-periphery/src/interfaces/IImmutableState.sol\":{\"keccak256\":\"0x36ab3100e87457ecf04887f4f540e34fd7f21d8e3b83880cb679239e60b7b06b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f290c7ce8e4832608d637a51b13dff95abecf6549485448e647a11c8ed01341\",\"dweb:/ipfs/QmfD1R6mTp8j4EjQXmQZW3vCh11EYFjnvoaw8rXRP27mMq\"]},\"@uniswap/v4-periphery/src/interfaces/IMulticall_v4.sol\":{\"keccak256\":\"0x336bec303f7ff86497d2679464c5adad5040f412b3d0769ce5e1d2a42f7e2c08\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7734f047d98d331c8abc51ad9f358ceee0a6dcae8d89ac49084b84de0d2d42e7\",\"dweb:/ipfs/QmWij2h7mU36LsXhb9P6pkYXrSCua4ixeWaVFSrsEcEmPQ\"]},\"@uniswap/v4-periphery/src/interfaces/INotifier.sol\":{\"keccak256\":\"0xfdc5187a98240a1691aae98b7dd2444d4c2bfb4746f3c34de9f3d18399c17c5e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://683af56401ec4f8817e8dfe150e7b3febaf0baaf40efe8d0d0475f735275f746\",\"dweb:/ipfs/QmRQ6S3nFnSc2jjDcQTvUJdTf4xKPojmvCkpvgyr6qTuVV\"]},\"@uniswap/v4-periphery/src/interfaces/IPermit2Forwarder.sol\":{\"keccak256\":\"0xfad472937280e861125ff12aa6f9c2cf7440fbb20a2cc29485c24662ad4279c5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31bfbc331f5972fc373d9469fd1ca1d14818db3275f21b7b590f20820cb4439d\",\"dweb:/ipfs/QmX3Bv9wfYpAFZKBcxKsQSXUrSC8mqNBdzh6XVMS72aNx9\"]},\"@uniswap/v4-periphery/src/interfaces/IPoolInitializer_v4.sol\":{\"keccak256\":\"0x2e4feda94650a2642039e0309ffdec480ee050bc40864bf5e1dba42bb4dc9e98\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://964c178b4da8bab9ef898b94bb26d7c17cc44c5cf20485f55dcf5e9c7e1b1d92\",\"dweb:/ipfs/QmVd2c3SYteyr5xZgUS4sDAiZF43dLwVAEKdCfvQbkZpRJ\"]},\"@uniswap/v4-periphery/src/interfaces/IPositionDescriptor.sol\":{\"keccak256\":\"0x5a4327e608b35ba2d3451c267b609336efbd780912080dbb1a21563db25c9768\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c783c7a4834d610586ef6caf79806f4e339ad488046766d03fe3d014d11093e4\",\"dweb:/ipfs/QmcQWiNQz1hAcJRwFfw5NnSz6zcgAE5HytdVL8MAQJUrv4\"]},\"@uniswap/v4-periphery/src/interfaces/IPositionManager.sol\":{\"keccak256\":\"0x62dfa0cbee8314ee7e6787db8bc1d364245c340f940875ac7ff11e89d074fc7e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26f560c77d8a187bf93a710b827e3167eab3446922192fa8f92f208da2103834\",\"dweb:/ipfs/Qmbzp5gSYdTpMBF9aAb2GraxMEQZb5LRJCyg8VaRUyjTFc\"]},\"@uniswap/v4-periphery/src/interfaces/ISubscriber.sol\":{\"keccak256\":\"0x34ceadec4a63019680e543fe73197f198a55c825d86e18f327840354760b57e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31734feafe1fe162a0702ddf862fcc3bd97505931afb3c685033c0185d898051\",\"dweb:/ipfs/QmQEANYVyaXTNzXKcjUVfPhLU71Bix5vxQH75BpPWMkWgw\"]},\"@uniswap/v4-periphery/src/interfaces/IUnorderedNonce.sol\":{\"keccak256\":\"0xd7f32fee74dc7d1a3b078ca1263961baccaa6bf434c79e8fe0e092e30c3e0ec3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7d1e92d89d5f49c84aa82f3b259678c2c97a4473b22d753ca4411a6b0cec36d\",\"dweb:/ipfs/QmNZoQyminStaAdaLqoDLoWaBU5QWrWjXFjmBm4aFhzL8i\"]},\"@uniswap/v4-periphery/src/interfaces/IV4Router.sol\":{\"keccak256\":\"0xc4133fae25e61cc2447d7331729f6035322d7c1fe26b39b225422bf98cc63459\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c24ff8428504e973e947a059f96289a66c520cd7f8ef47a3224f9cb6abdaf25\",\"dweb:/ipfs/QmVqxYnngWXXcCiuTC143vTEJrjZK5NXWB92pjvVbuJBQ5\"]},\"@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol\":{\"keccak256\":\"0xe88abf12501ac275619aec0687240a07d26968aecbbcdfea88ba8bbd5d6e5e14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7097065d4492b4eccb1a73f99af1e5bec45404c6b973b8f5965c4c91403f5f92\",\"dweb:/ipfs/QmZK8oEqmjmTqhBoh3D3fBpyKGkUEFnptY8xwH9xpNjDm2\"]},\"@uniswap/v4-periphery/src/libraries/ActionConstants.sol\":{\"keccak256\":\"0x3d6f0e5b4a7b1e60bad93e73dce5db67fb66bebef11c31ed8355014a79aa03b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dfa42e24b1b5c7f66e75304ab034fbb6768518eb2410ccfff8b3defdd1658f2\",\"dweb:/ipfs/QmQQ7fud9mmv7PEWPAQiNzeZhNkWf28Z6nCHc2e6WJFfa7\"]},\"@uniswap/v4-periphery/src/libraries/Actions.sol\":{\"keccak256\":\"0x8efd4b8b289177ee27e557d9d0a5a9f973d66fe1eb1ef8959d316b11987ca830\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://07fe35f194eb99465028f0546359befea574d844da53767d32f22b233c3bcc98\",\"dweb:/ipfs/Qmc19631uFxABTHAbGrDrroexi9GdyxWntaum1v8npPYz5\"]},\"@uniswap/v4-periphery/src/libraries/CalldataDecoder.sol\":{\"keccak256\":\"0x26df49e13fb5410fd4db253cca877dfdfb3a1ba03e394d054c0e0514a88a56e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72a0c98c52171708f332f83d517deeb97fdd50ecf28f2510e1866e54593a6ff8\",\"dweb:/ipfs/QmY4LiDUfSKGj86nML7B6a8euiPciUqwYehasAyAVnMCHq\"]},\"@uniswap/v4-periphery/src/libraries/ERC721PermitHash.sol\":{\"keccak256\":\"0xd8024f516738a1f968169875efd4ba803049c933cf6ea5e36189df9915f4e3f2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://58b45295f87c31f516a727a2a40ba2f34ac57ebd5520c42ea59946d2ffc0f5df\",\"dweb:/ipfs/QmW8xC2xS18r4yhGbhSJTN1DfCgPT6oKHxwwszutn2sPuz\"]},\"@uniswap/v4-periphery/src/libraries/LiquidityAmounts.sol\":{\"keccak256\":\"0x8ea74b89831877ffe657f8461164a01a6f3c7e46f415410854fca8d28a8cab53\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f4015f62e5e8aa154baa555dc39ce36b498e6d875a53f793d62b8556e6b97ccb\",\"dweb:/ipfs/QmUVHyEe3hZZZQum5ct6yDY8qduj62Ta7f7x5Kw95LpQbg\"]},\"@uniswap/v4-periphery/src/libraries/Locker.sol\":{\"keccak256\":\"0x5c0859290a277fbfba8579b506426d3fc4b2ff7d8b691c03dd23aa85797fdae1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18ad9effea8da74b9988373dddddd6669f11701fc954f77d2cb58beb9a9cc3ad\",\"dweb:/ipfs/QmQdBMoXdVACo6k6rumWj15UPDCqGpWNSPvQbejxKuV9RJ\"]},\"@uniswap/v4-periphery/src/libraries/PathKey.sol\":{\"keccak256\":\"0xbbd79ffefe045f025263e389539021266fb4d371463aefba405e1ff1d3fcf9bc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d1c47b81a01218be46ee79f0a8837095479b94dc5cfd18abbf2006709f0ea89\",\"dweb:/ipfs/QmRb6CQ13Zp7f3WF5jbZtsF2szhxpPgcuWs9mjwQXxzqtg\"]},\"@uniswap/v4-periphery/src/libraries/PositionInfoLibrary.sol\":{\"keccak256\":\"0xc5ddf96bd088bc87ea50a20f907fc932fb28397a42682a301b268a11b7f34078\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dfeb4dc747537240f8167243e8066b6f5f08057386fb8bda93f82973fc18ad6\",\"dweb:/ipfs/Qmby9DAAaHj8hjsMUnqY3vjqCHKGAKrT5EULMmeGcjbbGx\"]},\"@uniswap/v4-periphery/src/libraries/SlippageCheck.sol\":{\"keccak256\":\"0x9b7872e403b417dfbcf9835b16109f80f7abed702652a9817e28f07189983b4b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://911974b8e37b3be02150090b64d841fcc1153277d20f75315b3b8eb02c111e66\",\"dweb:/ipfs/QmRYe4UAYG5TNqB2ygM3n7e3GFMhJmW1c29WZjGDfGQyxQ\"]},\"contracts/test/ImportsForTypechain.sol\":{\"keccak256\":\"0x3576f76c1f1ac081a11195eaae31cec8397db29489c3ec2895bdb26362a9027a\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://332c73508c14acc2e51214b90015b950666831c9b95d0ea23ea055bd0598bb8f\",\"dweb:/ipfs/QmQKYSd3ZzVg869Zs86cfXA46h9iDPYWvXhBCoxbXcf9Jz\"]},\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]},\"permit2/src/interfaces/IERC1271.sol\":{\"keccak256\":\"0x0a546b8535127fb4a49d36d5f306fd5a8bbe6125a1852f935b9bb85a04c1acef\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4b99651e2df98e283a97c46d8d1ac4eff0d6a3618e25f7f85294472a670b541c\",\"dweb:/ipfs/QmYRy5G8fXE8BfmyvGEbESEYZPPg3zJEFxHzR5GJZEMMTk\"]},\"permit2/src/libraries/SignatureVerification.sol\":{\"keccak256\":\"0x99f437ffe99aa1ff7885aec8b971f48efac00c6ebc59c02eec78c9ca850a5e30\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9365414bdb67813d4ef6c89fa152dff05fc2a64992a1a4f212fa414dbdee3eab\",\"dweb:/ipfs/QmfJxSszF1rjmMoNXW5oQMo9gARMHAXYTu68fkZvdEu58i\"]},\"solmate/src/auth/Owned.sol\":{\"keccak256\":\"0xfedb27d14c508342c33eb067c9a02eabcdb0f9dcf93b04ded1001f580d12d0ea\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://1ff52bbee698b9cf9e4574615e6550be0887ccf355f6571e23d6f25b332e79b4\",\"dweb:/ipfs/QmVorA2apojVRStzS7h8aFccR3Uv32G6HVtBtFHZrE7YXx\"]},\"solmate/src/tokens/ERC721.sol\":{\"keccak256\":\"0x04af19f16f00ba65ae168d6d10da5210dc18da6bcec6974dccf984ba388aa22d\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://098e69f22b67da6927e03203c12ebfda5b0490518f6d9cce7853001ac5ad8403\",\"dweb:/ipfs/QmYyzfurQe88PsVjRNfutV3gS7Vi68f7zgtVZVtLfd4ViK\"]}},\"version\":1}"}},"contracts/test/MintableERC20.sol":{"MintableERC20":{"abi":[{"inputs":[{"internalType":"uint256","name":"amountToMint","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"checked_add_uint256":{"entryPoint":1143,"id":null,"parameterSlots":2,"returnSlots":1},"extract_byte_array_length":{"entryPoint":1087,"id":null,"parameterSlots":1,"returnSlots":1},"finalize_allocation":{"entryPoint":1052,"id":null,"parameterSlots":2,"returnSlots":0}},"generatedSources":[],"linkReferences":{},"object":"60e0806040523461041857602081610eba803803809161001f828561041c565b83398101031261041857516040519061003960408361041c565b60048252631d195cdd60e21b60208301526040519061005960408361041c565b6004825263151154d560e21b602083015282516001600160401b038111610349576100845f5461043f565b601f81116103c9575b506020601f821160011461036857819293945f9261035d575b50508160011b915f199060031b1c1916175f555b81516001600160401b038111610349576100d560015461043f565b601f81116102e6575b50602092601f821160011461028557928192935f9261027a575b50508160011b915f199060031b1c1916176001555b60126080524660a052604051905f915f54906101288261043f565b80825260208201926001811690811561025f575060011461021c575b50610154816101ef95038261041c565b51902060405160208101917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f835260408201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260a081526101c860c08261041c565b51902060c052335f52600360205260405f206101e5828254610477565b9055600254610477565b600255604051610a019081610499823960805181610534015260a05181610823015260c051816108490152f35b5f8080529094505f80516020610e9a8339815191525b858210610249575081016020019350610154610144565b6001816020925483858701015201910190610232565b60ff1916845250151560051b81016020019350610154610144565b015190505f806100f8565b601f1982169360015f52805f20915f5b8681106102ce57508360019596106102b6575b505050811b0160015561010d565b01515f1960f88460031b161c191690555f80806102a8565b91926020600181928685015181550194019201610295565b60015f527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6601f830160051c8101916020841061033f575b601f0160051c01905b81811061033457506100de565b5f8155600101610327565b909150819061031e565b634e487b7160e01b5f52604160045260245ffd5b015190505f806100a6565b601f198216905f8052805f20915f5b8181106103b157509583600195969710610399575b505050811b015f556100ba565b01515f1960f88460031b161c191690555f808061038c565b9192602060018192868b015181550194019201610377565b5f80525f80516020610e9a833981519152601f830160051c8101916020841061040e575b601f0160051c01905b818110610403575061008d565b5f81556001016103f6565b90915081906103ed565b5f80fd5b601f909101601f19168101906001600160401b0382119082101761034957604052565b90600182811c9216801561046d575b602083101461045957565b634e487b7160e01b5f52602260045260245ffd5b91607f169161044e565b9190820180921161048457565b634e487b7160e01b5f52601160045260245ffdfe60806040526004361015610011575f80fd5b5f3560e01c806306fdde03146106ab578063095ea7b31461064557806318160ddd1461062857806323b872dd14610558578063313ce5671461051b5780633644e515146104f957806340c10f19146104ac57806370a08231146104745780637ecebe001461043c57806395d89b4114610362578063a9059cbb146102ed578063d505accf146100fc5763dd62ed3e146100a8575f80fd5b346100f85760403660031901126100f8576100c16107d3565b6100c96107e9565b6001600160a01b039182165f908152600460209081526040808320949093168252928352819020549051908152f35b5f80fd5b346100f85760e03660031901126100f8576101156107d3565b61011d6107e9565b6044356064359260843560ff81168091036100f8574285106102ae5760805f91602093610148610820565b9060018060a01b03169687855260058652604085209889549960018b01905560405190878201927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c984528a604084015260018060a01b03169a8b6060840152898784015260a083015260c082015260c081526101c560e082610772565b519020604051908682019261190160f01b845260228301526042820152604281526101f1606282610772565b519020906040519182528482015260a435604082015260c435606082015282805260015afa156102a3575f516001600160a01b03168015158061029a575b15610264575f805160206109d5833981519152916020915f526004825260405f20855f5282528060405f2055604051908152a3005b60405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606490fd5b5082811461022f565b6040513d5f823e3d90fd5b60405162461bcd60e51b815260206004820152601760248201527614115493525517d11150511312539157d1561412549151604a1b6044820152606490fd5b346100f85760403660031901126100f8576103066107d3565b60243590335f52600360205260405f206103218382546107ff565b905560018060a01b031690815f52600360205260405f208181540190556040519081525f805160206109b583398151915260203392a3602060405160018152f35b346100f8575f3660031901126100f8576040515f6001546103828161073a565b808452906001811690811561041857506001146103ba575b6103b6836103aa81850382610772565b604051918291826107a9565b0390f35b60015f9081527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6939250905b8082106103fe575090915081016020016103aa61039a565b9192600181602092548385880101520191019092916103e6565b60ff191660208086019190915291151560051b840190910191506103aa905061039a565b346100f85760203660031901126100f8576001600160a01b0361045d6107d3565b165f526005602052602060405f2054604051908152f35b346100f85760203660031901126100f8576001600160a01b036104956107d3565b165f526003602052602060405f2054604051908152f35b346100f85760403660031901126100f8576104f46104c86107d3565b6024359060018060a01b03165f52600360205260405f206104ea828254610987565b9055600254610987565b600255005b346100f8575f3660031901126100f8576020610513610820565b604051908152f35b346100f8575f3660031901126100f857602060405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b346100f85760603660031901126100f8576105716107d3565b6105796107e9565b6001600160a01b039091165f818152600460209081526040808320338452825290912054604435935f805160206109b583398151915292918560018201610603575b5050835f526003825260405f206105d38682546107ff565b90556001600160a01b03165f818152600383526040908190208054870190555194855293a3602060405160018152f35b61060c916107ff565b5f858152600484526040808220338352855290205585856105bb565b346100f8575f3660031901126100f8576020600254604051908152f35b346100f85760403660031901126100f85761065e6107d3565b335f8181526004602090815260408083206001600160a01b03909516808452948252918290206024359081905591519182525f805160206109d583398151915291a3602060405160018152f35b346100f8575f3660031901126100f8576040515f80546106ca8161073a565b808452906001811690811561041857506001146106f1576103b6836103aa81850382610772565b5f8080525f80516020610995833981519152939250905b808210610720575090915081016020016103aa61039a565b919260018160209254838588010152019101909291610708565b90600182811c92168015610768575b602083101461075457565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610749565b601f909101601f19168101906001600160401b0382119082101761079557604052565b634e487b7160e01b5f52604160045260245ffd5b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036100f857565b602435906001600160a01b03821682036100f857565b9190820391821161080c57565b634e487b7160e01b5f52601160045260245ffd5b467f00000000000000000000000000000000000000000000000000000000000000000361086b577f000000000000000000000000000000000000000000000000000000000000000090565b6040515f905f54918161087d8461073a565b9182825260208201946001811690815f1461096b5750600114610921575b6108a792500382610772565b51902060405160208101917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f835260408201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260a0815261091b60c082610772565b51902090565b505f80805290915f805160206109958339815191525b81831061094f5750509060206108a79282010161089b565b6020919350806001915483858801015201910190918392610937565b60ff19168652506108a792151560051b8201602001905061089b565b9190820180921161080c5756fe290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a164736f6c634300081a000a290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563","opcodes":"PUSH1 0xE0 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH2 0x418 JUMPI PUSH1 0x20 DUP2 PUSH2 0xEBA DUP1 CODESIZE SUB DUP1 SWAP2 PUSH2 0x1F DUP3 DUP6 PUSH2 0x41C JUMP JUMPDEST DUP4 CODECOPY DUP2 ADD SUB SLT PUSH2 0x418 JUMPI MLOAD PUSH1 0x40 MLOAD SWAP1 PUSH2 0x39 PUSH1 0x40 DUP4 PUSH2 0x41C JUMP JUMPDEST PUSH1 0x4 DUP3 MSTORE PUSH4 0x1D195CDD PUSH1 0xE2 SHL PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 MLOAD SWAP1 PUSH2 0x59 PUSH1 0x40 DUP4 PUSH2 0x41C JUMP JUMPDEST PUSH1 0x4 DUP3 MSTORE PUSH4 0x151154D5 PUSH1 0xE2 SHL PUSH1 0x20 DUP4 ADD MSTORE DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x349 JUMPI PUSH2 0x84 PUSH0 SLOAD PUSH2 0x43F JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x3C9 JUMPI JUMPDEST POP PUSH1 0x20 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x368 JUMPI DUP2 SWAP3 SWAP4 SWAP5 PUSH0 SWAP3 PUSH2 0x35D JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH0 SSTORE JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x349 JUMPI PUSH2 0xD5 PUSH1 0x1 SLOAD PUSH2 0x43F JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x2E6 JUMPI JUMPDEST POP PUSH1 0x20 SWAP3 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x285 JUMPI SWAP3 DUP2 SWAP3 SWAP4 PUSH0 SWAP3 PUSH2 0x27A JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH1 0x1 SSTORE JUMPDEST PUSH1 0x12 PUSH1 0x80 MSTORE CHAINID PUSH1 0xA0 MSTORE PUSH1 0x40 MLOAD SWAP1 PUSH0 SWAP2 PUSH0 SLOAD SWAP1 PUSH2 0x128 DUP3 PUSH2 0x43F JUMP JUMPDEST DUP1 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP3 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x25F JUMPI POP PUSH1 0x1 EQ PUSH2 0x21C JUMPI JUMPDEST POP PUSH2 0x154 DUP2 PUSH2 0x1EF SWAP6 SUB DUP3 PUSH2 0x41C JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP2 PUSH32 0x8B73C3C69BB8FE3D512ECC4CF759CC79239F7B179B0FFACAA9A75D522B39400F DUP4 MSTORE PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0xC89EFDAA54C0F20C7ADF612882DF0950F5A951637E0307CDCB4C672F298B8BC6 PUSH1 0x60 DUP3 ADD MSTORE CHAINID PUSH1 0x80 DUP3 ADD MSTORE ADDRESS PUSH1 0xA0 DUP3 ADD MSTORE PUSH1 0xA0 DUP2 MSTORE PUSH2 0x1C8 PUSH1 0xC0 DUP3 PUSH2 0x41C JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0xC0 MSTORE CALLER PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x1E5 DUP3 DUP3 SLOAD PUSH2 0x477 JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x2 SLOAD PUSH2 0x477 JUMP JUMPDEST PUSH1 0x2 SSTORE PUSH1 0x40 MLOAD PUSH2 0xA01 SWAP1 DUP2 PUSH2 0x499 DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 PUSH2 0x534 ADD MSTORE PUSH1 0xA0 MLOAD DUP2 PUSH2 0x823 ADD MSTORE PUSH1 0xC0 MLOAD DUP2 PUSH2 0x849 ADD MSTORE RETURN JUMPDEST PUSH0 DUP1 DUP1 MSTORE SWAP1 SWAP5 POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xE9A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE JUMPDEST DUP6 DUP3 LT PUSH2 0x249 JUMPI POP DUP2 ADD PUSH1 0x20 ADD SWAP4 POP PUSH2 0x154 PUSH2 0x144 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP8 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 PUSH2 0x232 JUMP JUMPDEST PUSH1 0xFF NOT AND DUP5 MSTORE POP ISZERO ISZERO PUSH1 0x5 SHL DUP2 ADD PUSH1 0x20 ADD SWAP4 POP PUSH2 0x154 PUSH2 0x144 JUMP JUMPDEST ADD MLOAD SWAP1 POP PUSH0 DUP1 PUSH2 0xF8 JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP4 PUSH1 0x1 PUSH0 MSTORE DUP1 PUSH0 KECCAK256 SWAP2 PUSH0 JUMPDEST DUP7 DUP2 LT PUSH2 0x2CE JUMPI POP DUP4 PUSH1 0x1 SWAP6 SWAP7 LT PUSH2 0x2B6 JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0x1 SSTORE PUSH2 0x10D JUMP JUMPDEST ADD MLOAD PUSH0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE PUSH0 DUP1 DUP1 PUSH2 0x2A8 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP7 DUP6 ADD MLOAD DUP2 SSTORE ADD SWAP5 ADD SWAP3 ADD PUSH2 0x295 JUMP JUMPDEST PUSH1 0x1 PUSH0 MSTORE PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 PUSH1 0x1F DUP4 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP5 LT PUSH2 0x33F JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x334 JUMPI POP PUSH2 0xDE JUMP JUMPDEST PUSH0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x327 JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x31E JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST ADD MLOAD SWAP1 POP PUSH0 DUP1 PUSH2 0xA6 JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP1 PUSH0 DUP1 MSTORE DUP1 PUSH0 KECCAK256 SWAP2 PUSH0 JUMPDEST DUP2 DUP2 LT PUSH2 0x3B1 JUMPI POP SWAP6 DUP4 PUSH1 0x1 SWAP6 SWAP7 SWAP8 LT PUSH2 0x399 JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH0 SSTORE PUSH2 0xBA JUMP JUMPDEST ADD MLOAD PUSH0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE PUSH0 DUP1 DUP1 PUSH2 0x38C JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP7 DUP12 ADD MLOAD DUP2 SSTORE ADD SWAP5 ADD SWAP3 ADD PUSH2 0x377 JUMP JUMPDEST PUSH0 DUP1 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xE9A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x1F DUP4 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP5 LT PUSH2 0x40E JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x403 JUMPI POP PUSH2 0x8D JUMP JUMPDEST PUSH0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x3F6 JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x3ED JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x349 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x46D JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x459 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x44E JUMP JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x484 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x6AB JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x645 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x628 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x558 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x51B JUMPI DUP1 PUSH4 0x3644E515 EQ PUSH2 0x4F9 JUMPI DUP1 PUSH4 0x40C10F19 EQ PUSH2 0x4AC JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x474 JUMPI DUP1 PUSH4 0x7ECEBE00 EQ PUSH2 0x43C JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x362 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x2ED JUMPI DUP1 PUSH4 0xD505ACCF EQ PUSH2 0xFC JUMPI PUSH4 0xDD62ED3E EQ PUSH2 0xA8 JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH2 0xC1 PUSH2 0x7D3 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x7E9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 SWAP1 SWAP4 AND DUP3 MSTORE SWAP3 DUP4 MSTORE DUP2 SWAP1 KECCAK256 SLOAD SWAP1 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0xE0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH2 0x115 PUSH2 0x7D3 JUMP JUMPDEST PUSH2 0x11D PUSH2 0x7E9 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD PUSH1 0x64 CALLDATALOAD SWAP3 PUSH1 0x84 CALLDATALOAD PUSH1 0xFF DUP2 AND DUP1 SWAP2 SUB PUSH2 0xF8 JUMPI TIMESTAMP DUP6 LT PUSH2 0x2AE JUMPI PUSH1 0x80 PUSH0 SWAP2 PUSH1 0x20 SWAP4 PUSH2 0x148 PUSH2 0x820 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP7 DUP8 DUP6 MSTORE PUSH1 0x5 DUP7 MSTORE PUSH1 0x40 DUP6 KECCAK256 SWAP9 DUP10 SLOAD SWAP10 PUSH1 0x1 DUP12 ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP8 DUP3 ADD SWAP3 PUSH32 0x6E71EDAE12B1B97F4D1F60370FEF10105FA2FAAE0126114A169C64845D6126C9 DUP5 MSTORE DUP11 PUSH1 0x40 DUP5 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP11 DUP12 PUSH1 0x60 DUP5 ADD MSTORE DUP10 DUP8 DUP5 ADD MSTORE PUSH1 0xA0 DUP4 ADD MSTORE PUSH1 0xC0 DUP3 ADD MSTORE PUSH1 0xC0 DUP2 MSTORE PUSH2 0x1C5 PUSH1 0xE0 DUP3 PUSH2 0x772 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD SWAP1 DUP7 DUP3 ADD SWAP3 PUSH2 0x1901 PUSH1 0xF0 SHL DUP5 MSTORE PUSH1 0x22 DUP4 ADD MSTORE PUSH1 0x42 DUP3 ADD MSTORE PUSH1 0x42 DUP2 MSTORE PUSH2 0x1F1 PUSH1 0x62 DUP3 PUSH2 0x772 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 SWAP1 PUSH1 0x40 MLOAD SWAP2 DUP3 MSTORE DUP5 DUP3 ADD MSTORE PUSH1 0xA4 CALLDATALOAD PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0xC4 CALLDATALOAD PUSH1 0x60 DUP3 ADD MSTORE DUP3 DUP1 MSTORE PUSH1 0x1 GAS STATICCALL ISZERO PUSH2 0x2A3 JUMPI PUSH0 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO ISZERO DUP1 PUSH2 0x29A JUMPI JUMPDEST ISZERO PUSH2 0x264 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x9D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 PUSH1 0x20 SWAP2 PUSH0 MSTORE PUSH1 0x4 DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP6 PUSH0 MSTORE DUP3 MSTORE DUP1 PUSH1 0x40 PUSH0 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG3 STOP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x24A72B20A624A22FA9A4A3A722A9 PUSH1 0x91 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP DUP3 DUP2 EQ PUSH2 0x22F JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH23 0x14115493525517D11150511312539157D1561412549151 PUSH1 0x4A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH2 0x306 PUSH2 0x7D3 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 CALLER PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x321 DUP4 DUP3 SLOAD PUSH2 0x7FF JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP2 DUP2 SLOAD ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x9B5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 CALLER SWAP3 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x40 MLOAD PUSH0 PUSH1 0x1 SLOAD PUSH2 0x382 DUP2 PUSH2 0x73A JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x418 JUMPI POP PUSH1 0x1 EQ PUSH2 0x3BA JUMPI JUMPDEST PUSH2 0x3B6 DUP4 PUSH2 0x3AA DUP2 DUP6 SUB DUP3 PUSH2 0x772 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 PUSH2 0x7A9 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST PUSH1 0x1 PUSH0 SWAP1 DUP2 MSTORE PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x3FE JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x3AA PUSH2 0x39A JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x3E6 JUMP JUMPDEST PUSH1 0xFF NOT AND PUSH1 0x20 DUP1 DUP7 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP2 ISZERO ISZERO PUSH1 0x5 SHL DUP5 ADD SWAP1 SWAP2 ADD SWAP2 POP PUSH2 0x3AA SWAP1 POP PUSH2 0x39A JUMP JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x45D PUSH2 0x7D3 JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x495 PUSH2 0x7D3 JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH2 0x4F4 PUSH2 0x4C8 PUSH2 0x7D3 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x4EA DUP3 DUP3 SLOAD PUSH2 0x987 JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x2 SLOAD PUSH2 0x987 JUMP JUMPDEST PUSH1 0x2 SSTORE STOP JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x20 PUSH2 0x513 PUSH2 0x820 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0xFF PUSH32 0x0 AND DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH2 0x571 PUSH2 0x7D3 JUMP JUMPDEST PUSH2 0x579 PUSH2 0x7E9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE DUP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH1 0x44 CALLDATALOAD SWAP4 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x9B5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP3 SWAP2 DUP6 PUSH1 0x1 DUP3 ADD PUSH2 0x603 JUMPI JUMPDEST POP POP DUP4 PUSH0 MSTORE PUSH1 0x3 DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x5D3 DUP7 DUP3 SLOAD PUSH2 0x7FF JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH0 DUP2 DUP2 MSTORE PUSH1 0x3 DUP4 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD DUP8 ADD SWAP1 SSTORE MLOAD SWAP5 DUP6 MSTORE SWAP4 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST PUSH2 0x60C SWAP2 PUSH2 0x7FF JUMP JUMPDEST PUSH0 DUP6 DUP2 MSTORE PUSH1 0x4 DUP5 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 CALLER DUP4 MSTORE DUP6 MSTORE SWAP1 KECCAK256 SSTORE DUP6 DUP6 PUSH2 0x5BB JUMP JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x20 PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH2 0x65E PUSH2 0x7D3 JUMP JUMPDEST CALLER PUSH0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 PUSH1 0x24 CALLDATALOAD SWAP1 DUP2 SWAP1 SSTORE SWAP2 MLOAD SWAP2 DUP3 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x9D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x40 MLOAD PUSH0 DUP1 SLOAD PUSH2 0x6CA DUP2 PUSH2 0x73A JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x418 JUMPI POP PUSH1 0x1 EQ PUSH2 0x6F1 JUMPI PUSH2 0x3B6 DUP4 PUSH2 0x3AA DUP2 DUP6 SUB DUP3 PUSH2 0x772 JUMP JUMPDEST PUSH0 DUP1 DUP1 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x995 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x720 JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x3AA PUSH2 0x39A JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x708 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x768 JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x754 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x749 JUMP JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x795 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x20 PUSH1 0x40 SWAP3 DUP2 DUP4 MSTORE DUP1 MLOAD SWAP2 DUP3 SWAP2 DUP3 DUP3 DUP7 ADD MSTORE ADD DUP5 DUP5 ADD MCOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0xF8 JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0xF8 JUMPI JUMP JUMPDEST SWAP2 SWAP1 DUP3 SUB SWAP2 DUP3 GT PUSH2 0x80C JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CHAINID PUSH32 0x0 SUB PUSH2 0x86B JUMPI PUSH32 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH0 SWAP1 PUSH0 SLOAD SWAP2 DUP2 PUSH2 0x87D DUP5 PUSH2 0x73A JUMP JUMPDEST SWAP2 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP5 PUSH1 0x1 DUP2 AND SWAP1 DUP2 PUSH0 EQ PUSH2 0x96B JUMPI POP PUSH1 0x1 EQ PUSH2 0x921 JUMPI JUMPDEST PUSH2 0x8A7 SWAP3 POP SUB DUP3 PUSH2 0x772 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP2 PUSH32 0x8B73C3C69BB8FE3D512ECC4CF759CC79239F7B179B0FFACAA9A75D522B39400F DUP4 MSTORE PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0xC89EFDAA54C0F20C7ADF612882DF0950F5A951637E0307CDCB4C672F298B8BC6 PUSH1 0x60 DUP3 ADD MSTORE CHAINID PUSH1 0x80 DUP3 ADD MSTORE ADDRESS PUSH1 0xA0 DUP3 ADD MSTORE PUSH1 0xA0 DUP2 MSTORE PUSH2 0x91B PUSH1 0xC0 DUP3 PUSH2 0x772 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST POP PUSH0 DUP1 DUP1 MSTORE SWAP1 SWAP2 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x995 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE JUMPDEST DUP2 DUP4 LT PUSH2 0x94F JUMPI POP POP SWAP1 PUSH1 0x20 PUSH2 0x8A7 SWAP3 DUP3 ADD ADD PUSH2 0x89B JUMP JUMPDEST PUSH1 0x20 SWAP2 SWAP4 POP DUP1 PUSH1 0x1 SWAP2 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP2 DUP4 SWAP3 PUSH2 0x937 JUMP JUMPDEST PUSH1 0xFF NOT AND DUP7 MSTORE POP PUSH2 0x8A7 SWAP3 ISZERO ISZERO PUSH1 0x5 SHL DUP3 ADD PUSH1 0x20 ADD SWAP1 POP PUSH2 0x89B JUMP JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x80C JUMPI JUMP INVALID 0x29 0xD 0xEC 0xD9 SLOAD DUP12 PUSH3 0xA8D603 GASLIMIT 0xA9 DUP9 CODESIZE PUSH16 0xC84BA6BC95484008F6362F93160EF3E5 PUSH4 0xDDF252AD SHL 0xE2 0xC8 SWAP12 PUSH10 0xC2B068FC378DAA952BA7 CALL PUSH4 0xC4A11628 CREATE2 GAS 0x4D CREATE2 0x23 0xB3 0xEF DUP13 JUMPDEST 0xE1 0xE5 0xEB 0xEC PUSH30 0x5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925A164736F6C PUSH4 0x4300081A STOP EXP 0x29 0xD 0xEC 0xD9 SLOAD DUP12 PUSH3 0xA8D603 GASLIMIT 0xA9 DUP9 CODESIZE PUSH16 0xC84BA6BC95484008F6362F93160EF3E5 PUSH4 0x0 ","sourceMap":"124:273:127:-:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;124:273:127;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;124:273:127;;;;;;-1:-1:-1;;;;;124:273:127;;;;;-1:-1:-1;124:273:127;;:::i;:::-;;;;;;-1:-1:-1;124:273:127;;;;;;;;;;;;;-1:-1:-1;124:273:127;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:273:127;;;;-1:-1:-1;;;;;124:273:127;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:273:127;;;;;;;;;;;;;;;;;;;;;;218:2;2142:20:139;;2192:13;2173:32;;124:273:127;;;-1:-1:-1;124:273:127;-1:-1:-1;124:273:127;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;367:21;124:273;;;;:::i;:::-;;5789:22:139;;124:273:127;;;5640:295:139;;124:273:127;5672:95:139;124:273:127;;;;;;5833:14:139;124:273:127;;;;2192:13:139;2142:20;124:273:127;;;5912:4:139;2173:32;124:273:127;;;2173:32:139;5640:295;;;;;;:::i;:::-;124:273:127;5613:336:139;;5640:295;2215:51;237:10:127;-1:-1:-1;124:273:127;334:9;124:273;;;-1:-1:-1;124:273:127;334:23;124:273;;;334:23;:::i;:::-;124:273;;367:21;124:273;367:21;:::i;:::-;;124:273;;;;;;;;;2142:20:139;124:273:127;;;;;2173:32:139;124:273:127;;;;;5640:295:139;124:273:127;;;;;;;-1:-1:-1;124:273:127;;;;;-1:-1:-1;;;;;;;;;;;;124:273:127;;;;;;-1:-1:-1;124:273:127;;;;;-1:-1:-1;124:273:127;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;-1:-1:-1;124:273:127;;;;;;;;;-1:-1:-1;124:273:127;;;;;;;-1:-1:-1;124:273:127;;;;;;;;;;;-1:-1:-1;124:273:127;;-1:-1:-1;124:273:127;;-1:-1:-1;124:273:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:273:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:273:127;;;;;;;;;-1:-1:-1;124:273:127;;;;;;;;-1:-1:-1;124:273:127;;;;;-1:-1:-1;124:273:127;;;;;-1:-1:-1;124:273:127;;;;;;;;;;-1:-1:-1;124:273:127;;;-1:-1:-1;124:273:127;;-1:-1:-1;124:273:127;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:273:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:273:127;;-1:-1:-1;;;;;;;;;;;124:273:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:273:127;;;;;;;;;-1:-1:-1;124:273:127;;;;;-1:-1:-1;124:273:127;;;;;;;-1:-1:-1;;124:273:127;;;;-1:-1:-1;;;;;124:273:127;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"abi_decode_address":{"entryPoint":2025,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_address_5469":{"entryPoint":2003,"id":null,"parameterSlots":0,"returnSlots":1},"abi_encode_string":{"entryPoint":1961,"id":null,"parameterSlots":2,"returnSlots":1},"checked_add_uint256":{"entryPoint":2439,"id":null,"parameterSlots":2,"returnSlots":1},"checked_sub_uint256":{"entryPoint":2047,"id":null,"parameterSlots":2,"returnSlots":1},"extract_byte_array_length":{"entryPoint":1850,"id":null,"parameterSlots":1,"returnSlots":1},"finalize_allocation":{"entryPoint":1906,"id":null,"parameterSlots":2,"returnSlots":0},"fun_DOMAIN_SEPARATOR":{"entryPoint":2080,"id":21737,"parameterSlots":0,"returnSlots":1}},"generatedSources":[],"immutableReferences":{"21461":[{"length":32,"start":1332}],"21475":[{"length":32,"start":2083}],"21477":[{"length":32,"start":2121}]},"linkReferences":{},"object":"60806040526004361015610011575f80fd5b5f3560e01c806306fdde03146106ab578063095ea7b31461064557806318160ddd1461062857806323b872dd14610558578063313ce5671461051b5780633644e515146104f957806340c10f19146104ac57806370a08231146104745780637ecebe001461043c57806395d89b4114610362578063a9059cbb146102ed578063d505accf146100fc5763dd62ed3e146100a8575f80fd5b346100f85760403660031901126100f8576100c16107d3565b6100c96107e9565b6001600160a01b039182165f908152600460209081526040808320949093168252928352819020549051908152f35b5f80fd5b346100f85760e03660031901126100f8576101156107d3565b61011d6107e9565b6044356064359260843560ff81168091036100f8574285106102ae5760805f91602093610148610820565b9060018060a01b03169687855260058652604085209889549960018b01905560405190878201927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c984528a604084015260018060a01b03169a8b6060840152898784015260a083015260c082015260c081526101c560e082610772565b519020604051908682019261190160f01b845260228301526042820152604281526101f1606282610772565b519020906040519182528482015260a435604082015260c435606082015282805260015afa156102a3575f516001600160a01b03168015158061029a575b15610264575f805160206109d5833981519152916020915f526004825260405f20855f5282528060405f2055604051908152a3005b60405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606490fd5b5082811461022f565b6040513d5f823e3d90fd5b60405162461bcd60e51b815260206004820152601760248201527614115493525517d11150511312539157d1561412549151604a1b6044820152606490fd5b346100f85760403660031901126100f8576103066107d3565b60243590335f52600360205260405f206103218382546107ff565b905560018060a01b031690815f52600360205260405f208181540190556040519081525f805160206109b583398151915260203392a3602060405160018152f35b346100f8575f3660031901126100f8576040515f6001546103828161073a565b808452906001811690811561041857506001146103ba575b6103b6836103aa81850382610772565b604051918291826107a9565b0390f35b60015f9081527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6939250905b8082106103fe575090915081016020016103aa61039a565b9192600181602092548385880101520191019092916103e6565b60ff191660208086019190915291151560051b840190910191506103aa905061039a565b346100f85760203660031901126100f8576001600160a01b0361045d6107d3565b165f526005602052602060405f2054604051908152f35b346100f85760203660031901126100f8576001600160a01b036104956107d3565b165f526003602052602060405f2054604051908152f35b346100f85760403660031901126100f8576104f46104c86107d3565b6024359060018060a01b03165f52600360205260405f206104ea828254610987565b9055600254610987565b600255005b346100f8575f3660031901126100f8576020610513610820565b604051908152f35b346100f8575f3660031901126100f857602060405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b346100f85760603660031901126100f8576105716107d3565b6105796107e9565b6001600160a01b039091165f818152600460209081526040808320338452825290912054604435935f805160206109b583398151915292918560018201610603575b5050835f526003825260405f206105d38682546107ff565b90556001600160a01b03165f818152600383526040908190208054870190555194855293a3602060405160018152f35b61060c916107ff565b5f858152600484526040808220338352855290205585856105bb565b346100f8575f3660031901126100f8576020600254604051908152f35b346100f85760403660031901126100f85761065e6107d3565b335f8181526004602090815260408083206001600160a01b03909516808452948252918290206024359081905591519182525f805160206109d583398151915291a3602060405160018152f35b346100f8575f3660031901126100f8576040515f80546106ca8161073a565b808452906001811690811561041857506001146106f1576103b6836103aa81850382610772565b5f8080525f80516020610995833981519152939250905b808210610720575090915081016020016103aa61039a565b919260018160209254838588010152019101909291610708565b90600182811c92168015610768575b602083101461075457565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610749565b601f909101601f19168101906001600160401b0382119082101761079557604052565b634e487b7160e01b5f52604160045260245ffd5b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036100f857565b602435906001600160a01b03821682036100f857565b9190820391821161080c57565b634e487b7160e01b5f52601160045260245ffd5b467f00000000000000000000000000000000000000000000000000000000000000000361086b577f000000000000000000000000000000000000000000000000000000000000000090565b6040515f905f54918161087d8461073a565b9182825260208201946001811690815f1461096b5750600114610921575b6108a792500382610772565b51902060405160208101917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f835260408201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260a0815261091b60c082610772565b51902090565b505f80805290915f805160206109958339815191525b81831061094f5750509060206108a79282010161089b565b6020919350806001915483858801015201910190918392610937565b60ff19168652506108a792151560051b8201602001905061089b565b9190820180921161080c5756fe290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a164736f6c634300081a000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x6AB JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x645 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x628 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x558 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x51B JUMPI DUP1 PUSH4 0x3644E515 EQ PUSH2 0x4F9 JUMPI DUP1 PUSH4 0x40C10F19 EQ PUSH2 0x4AC JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x474 JUMPI DUP1 PUSH4 0x7ECEBE00 EQ PUSH2 0x43C JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x362 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x2ED JUMPI DUP1 PUSH4 0xD505ACCF EQ PUSH2 0xFC JUMPI PUSH4 0xDD62ED3E EQ PUSH2 0xA8 JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH2 0xC1 PUSH2 0x7D3 JUMP JUMPDEST PUSH2 0xC9 PUSH2 0x7E9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 SWAP1 SWAP4 AND DUP3 MSTORE SWAP3 DUP4 MSTORE DUP2 SWAP1 KECCAK256 SLOAD SWAP1 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0xE0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH2 0x115 PUSH2 0x7D3 JUMP JUMPDEST PUSH2 0x11D PUSH2 0x7E9 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD PUSH1 0x64 CALLDATALOAD SWAP3 PUSH1 0x84 CALLDATALOAD PUSH1 0xFF DUP2 AND DUP1 SWAP2 SUB PUSH2 0xF8 JUMPI TIMESTAMP DUP6 LT PUSH2 0x2AE JUMPI PUSH1 0x80 PUSH0 SWAP2 PUSH1 0x20 SWAP4 PUSH2 0x148 PUSH2 0x820 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP7 DUP8 DUP6 MSTORE PUSH1 0x5 DUP7 MSTORE PUSH1 0x40 DUP6 KECCAK256 SWAP9 DUP10 SLOAD SWAP10 PUSH1 0x1 DUP12 ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP8 DUP3 ADD SWAP3 PUSH32 0x6E71EDAE12B1B97F4D1F60370FEF10105FA2FAAE0126114A169C64845D6126C9 DUP5 MSTORE DUP11 PUSH1 0x40 DUP5 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP11 DUP12 PUSH1 0x60 DUP5 ADD MSTORE DUP10 DUP8 DUP5 ADD MSTORE PUSH1 0xA0 DUP4 ADD MSTORE PUSH1 0xC0 DUP3 ADD MSTORE PUSH1 0xC0 DUP2 MSTORE PUSH2 0x1C5 PUSH1 0xE0 DUP3 PUSH2 0x772 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD SWAP1 DUP7 DUP3 ADD SWAP3 PUSH2 0x1901 PUSH1 0xF0 SHL DUP5 MSTORE PUSH1 0x22 DUP4 ADD MSTORE PUSH1 0x42 DUP3 ADD MSTORE PUSH1 0x42 DUP2 MSTORE PUSH2 0x1F1 PUSH1 0x62 DUP3 PUSH2 0x772 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 SWAP1 PUSH1 0x40 MLOAD SWAP2 DUP3 MSTORE DUP5 DUP3 ADD MSTORE PUSH1 0xA4 CALLDATALOAD PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0xC4 CALLDATALOAD PUSH1 0x60 DUP3 ADD MSTORE DUP3 DUP1 MSTORE PUSH1 0x1 GAS STATICCALL ISZERO PUSH2 0x2A3 JUMPI PUSH0 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO ISZERO DUP1 PUSH2 0x29A JUMPI JUMPDEST ISZERO PUSH2 0x264 JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x9D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 PUSH1 0x20 SWAP2 PUSH0 MSTORE PUSH1 0x4 DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP6 PUSH0 MSTORE DUP3 MSTORE DUP1 PUSH1 0x40 PUSH0 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG3 STOP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x24A72B20A624A22FA9A4A3A722A9 PUSH1 0x91 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP DUP3 DUP2 EQ PUSH2 0x22F JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH23 0x14115493525517D11150511312539157D1561412549151 PUSH1 0x4A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH2 0x306 PUSH2 0x7D3 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 CALLER PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x321 DUP4 DUP3 SLOAD PUSH2 0x7FF JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP2 DUP2 SLOAD ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x9B5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 CALLER SWAP3 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x40 MLOAD PUSH0 PUSH1 0x1 SLOAD PUSH2 0x382 DUP2 PUSH2 0x73A JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x418 JUMPI POP PUSH1 0x1 EQ PUSH2 0x3BA JUMPI JUMPDEST PUSH2 0x3B6 DUP4 PUSH2 0x3AA DUP2 DUP6 SUB DUP3 PUSH2 0x772 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 PUSH2 0x7A9 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST PUSH1 0x1 PUSH0 SWAP1 DUP2 MSTORE PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x3FE JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x3AA PUSH2 0x39A JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x3E6 JUMP JUMPDEST PUSH1 0xFF NOT AND PUSH1 0x20 DUP1 DUP7 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP2 ISZERO ISZERO PUSH1 0x5 SHL DUP5 ADD SWAP1 SWAP2 ADD SWAP2 POP PUSH2 0x3AA SWAP1 POP PUSH2 0x39A JUMP JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x45D PUSH2 0x7D3 JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x495 PUSH2 0x7D3 JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH2 0x4F4 PUSH2 0x4C8 PUSH2 0x7D3 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x4EA DUP3 DUP3 SLOAD PUSH2 0x987 JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x2 SLOAD PUSH2 0x987 JUMP JUMPDEST PUSH1 0x2 SSTORE STOP JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x20 PUSH2 0x513 PUSH2 0x820 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0xFF PUSH32 0x0 AND DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH2 0x571 PUSH2 0x7D3 JUMP JUMPDEST PUSH2 0x579 PUSH2 0x7E9 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE DUP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH1 0x44 CALLDATALOAD SWAP4 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x9B5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP3 SWAP2 DUP6 PUSH1 0x1 DUP3 ADD PUSH2 0x603 JUMPI JUMPDEST POP POP DUP4 PUSH0 MSTORE PUSH1 0x3 DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x5D3 DUP7 DUP3 SLOAD PUSH2 0x7FF JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH0 DUP2 DUP2 MSTORE PUSH1 0x3 DUP4 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD DUP8 ADD SWAP1 SSTORE MLOAD SWAP5 DUP6 MSTORE SWAP4 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST PUSH2 0x60C SWAP2 PUSH2 0x7FF JUMP JUMPDEST PUSH0 DUP6 DUP2 MSTORE PUSH1 0x4 DUP5 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 CALLER DUP4 MSTORE DUP6 MSTORE SWAP1 KECCAK256 SSTORE DUP6 DUP6 PUSH2 0x5BB JUMP JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x20 PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH2 0x65E PUSH2 0x7D3 JUMP JUMPDEST CALLER PUSH0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 PUSH1 0x24 CALLDATALOAD SWAP1 DUP2 SWAP1 SSTORE SWAP2 MLOAD SWAP2 DUP3 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x9D5 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xF8 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xF8 JUMPI PUSH1 0x40 MLOAD PUSH0 DUP1 SLOAD PUSH2 0x6CA DUP2 PUSH2 0x73A JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x418 JUMPI POP PUSH1 0x1 EQ PUSH2 0x6F1 JUMPI PUSH2 0x3B6 DUP4 PUSH2 0x3AA DUP2 DUP6 SUB DUP3 PUSH2 0x772 JUMP JUMPDEST PUSH0 DUP1 DUP1 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x995 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x720 JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x3AA PUSH2 0x39A JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x708 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x768 JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x754 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x749 JUMP JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x795 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST PUSH1 0x20 PUSH1 0x40 SWAP3 DUP2 DUP4 MSTORE DUP1 MLOAD SWAP2 DUP3 SWAP2 DUP3 DUP3 DUP7 ADD MSTORE ADD DUP5 DUP5 ADD MCOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0xF8 JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0xF8 JUMPI JUMP JUMPDEST SWAP2 SWAP1 DUP3 SUB SWAP2 DUP3 GT PUSH2 0x80C JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CHAINID PUSH32 0x0 SUB PUSH2 0x86B JUMPI PUSH32 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH0 SWAP1 PUSH0 SLOAD SWAP2 DUP2 PUSH2 0x87D DUP5 PUSH2 0x73A JUMP JUMPDEST SWAP2 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP5 PUSH1 0x1 DUP2 AND SWAP1 DUP2 PUSH0 EQ PUSH2 0x96B JUMPI POP PUSH1 0x1 EQ PUSH2 0x921 JUMPI JUMPDEST PUSH2 0x8A7 SWAP3 POP SUB DUP3 PUSH2 0x772 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP2 PUSH32 0x8B73C3C69BB8FE3D512ECC4CF759CC79239F7B179B0FFACAA9A75D522B39400F DUP4 MSTORE PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0xC89EFDAA54C0F20C7ADF612882DF0950F5A951637E0307CDCB4C672F298B8BC6 PUSH1 0x60 DUP3 ADD MSTORE CHAINID PUSH1 0x80 DUP3 ADD MSTORE ADDRESS PUSH1 0xA0 DUP3 ADD MSTORE PUSH1 0xA0 DUP2 MSTORE PUSH2 0x91B PUSH1 0xC0 DUP3 PUSH2 0x772 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST POP PUSH0 DUP1 DUP1 MSTORE SWAP1 SWAP2 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x995 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE JUMPDEST DUP2 DUP4 LT PUSH2 0x94F JUMPI POP POP SWAP1 PUSH1 0x20 PUSH2 0x8A7 SWAP3 DUP3 ADD ADD PUSH2 0x89B JUMP JUMPDEST PUSH1 0x20 SWAP2 SWAP4 POP DUP1 PUSH1 0x1 SWAP2 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP2 DUP4 SWAP3 PUSH2 0x937 JUMP JUMPDEST PUSH1 0xFF NOT AND DUP7 MSTORE POP PUSH2 0x8A7 SWAP3 ISZERO ISZERO PUSH1 0x5 SHL DUP3 ADD PUSH1 0x20 ADD SWAP1 POP PUSH2 0x89B JUMP JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x80C JUMPI JUMP INVALID 0x29 0xD 0xEC 0xD9 SLOAD DUP12 PUSH3 0xA8D603 GASLIMIT 0xA9 DUP9 CODESIZE PUSH16 0xC84BA6BC95484008F6362F93160EF3E5 PUSH4 0xDDF252AD SHL 0xE2 0xC8 SWAP12 PUSH10 0xC2B068FC378DAA952BA7 CALL PUSH4 0xC4A11628 CREATE2 GAS 0x4D CREATE2 0x23 0xB3 0xEF DUP13 JUMPDEST 0xE1 0xE5 0xEB 0xEC PUSH30 0x5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925A164736F6C PUSH4 0x4300081A STOP EXP ","sourceMap":"124:273:127:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;;;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;124:273:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;4057:15:139;4045:27;;124:273:127;;;;4428:18:139;124:273:127;4428:18:139;;;:::i;:::-;124:273:127;;;;;;;;;;;4873:6:139;124:273:127;;;;;;;;;;;;;;;;4511:449:139;;;;124:273:127;4555:165:139;124:273:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4511:449:139;;;124:273:127;4511:449:139;;:::i;:::-;124:273:127;4472:514:139;;124:273:127;;4350:658:139;;;;124:273:127;;;;;;;;;;;;;;;4350:658:139;;;;;;:::i;:::-;124:273:127;4319:707:139;;124:273:127;;;;;;;;;;;;;;;;;;;;;;4292:805:139;;;124:273:127;4292:805:139;;;;;124:273:127;4292:805:139;-1:-1:-1;;;;;124:273:127;5120:30:139;;;;:59;;124:273:127;;;;-1:-1:-1;;;;;;;;;;;124:273:127;;;;;;;;;;;;-1:-1:-1;124:273:127;;;;;-1:-1:-1;124:273:127;;;;;;;5283:31:139;124:273:127;;;;-1:-1:-1;;;124:273:127;;;;;;;;;;;;-1:-1:-1;;;124:273:127;;;;;;;5120:59:139;5154:25;;;;5120:59;;4292:805;124:273:127;;;;;;;;;;;;-1:-1:-1;;;124:273:127;;;;;;;;;;;;-1:-1:-1;;;124:273:127;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;;;;:::i;:::-;;;2774:10:139;;124:273:127;;2764:9:139;124:273:127;;;;;2764:31:139;124:273:127;;;2764:31:139;:::i;:::-;124:273:127;;;;;;;;;;;;2764:9:139;124:273:127;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;124:273:127;2774:10:139;2990:32;;124:273:127;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;;;;;1056:20:139;124:273:127;;;;:::i;:::-;;;;;1056:20:139;124:273:127;;;1056:20:139;;;;124:273:127;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;1056:20:139;124:273:127;;;;;;;-1:-1:-1;124:273:127;;;;;;;-1:-1:-1;124:273:127;;-1:-1:-1;124:273:127;;;;;;;;;;1056:20:139;124:273:127;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:273:127;;-1:-1:-1;124:273:127;;;;;;;;-1:-1:-1;;124:273:127;;;;-1:-1:-1;;;;;124:273:127;;:::i;:::-;;;;1751:41:139;124:273:127;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;;-1:-1:-1;;;;;124:273:127;;:::i;:::-;;;;1337:44:139;124:273:127;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;;367:21;124:273;;:::i;:::-;;;;;;;;;;;;334:9;124:273;;;;;334:23;124:273;;;334:23;:::i;:::-;124:273;;367:21;124:273;367:21;:::i;:::-;;124:273;;;;;;;;-1:-1:-1;;124:273:127;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;;;;;;1083:31:139;124:273:127;;;;;;;;;;-1:-1:-1;;124:273:127;;;;;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;124:273:127;;;;;;;;;;;;;;;;3225:10:139;124:273:127;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3594:26:139;124:273:127;;;3287:28:139;;3283:80;;124:273:127;;;;;;3374:9:139;124:273:127;;;;;3374:25:139;124:273:127;;;3374:25:139;:::i;:::-;124:273:127;;-1:-1:-1;;;;;124:273:127;;;;;3374:9:139;124:273:127;;;;;;;;;;;;;;;;;;3594:26:139;124:273:127;;;;;;;3283:80:139;3347:16;;;:::i;:::-;124:273:127;;;;;;;;;;;3225:10:139;124:273:127;;;;;;;3283:80:139;;;;124:273:127;;;;;;-1:-1:-1;;124:273:127;;;;;1304:26:139;124:273:127;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;;;;:::i;:::-;2561:10:139;124:273:127;;;;;;;;;;;;;-1:-1:-1;;;;;124:273:127;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2606:37:139;;124:273:127;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;;;;;;124:273:127;;-1:-1:-1;124:273:127;;;;;;;-1:-1:-1;124:273:127;;-1:-1:-1;124:273:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;;-1:-1:-1;;;;;124:273:127;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;124:273:127;;;;;-1:-1:-1;124:273:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;;:::o;:::-;;;;-1:-1:-1;;;;;124:273:127;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;124:273:127;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;5327:177:139;5410:13;5427:16;5410:33;5427:16;;5446:24;5327:177;:::o;5410:87::-;124:273:127;;-1:-1:-1;124:273:127;-1:-1:-1;124:273:127;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5789:22:139;;124:273:127;;;5640:295:139;;124:273:127;5672:95:139;124:273:127;;;;;;5833:14:139;124:273:127;;;;5410:13:139;124:273:127;;;;5912:4:139;124:273:127;;;;;5640:295:139;;;;;;:::i;:::-;124:273:127;5613:336:139;;5327:177;:::o;124:273:127:-;-1:-1:-1;;124:273:127;;;;;-1:-1:-1;;;;;;;;;;;124:273:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:273:127;;;-1:-1:-1;124:273:127;;;;;;;;;;;-1:-1:-1;124:273:127;;;;;;;;;;;;:::o"},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","decimals()":"313ce567","mint(address,uint256)":"40c10f19","name()":"06fdde03","nonces(address)":"7ecebe00","permit(address,address,uint256,uint256,uint8,bytes32,bytes32)":"d505accf","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToMint\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/MintableERC20.sol\":\"MintableERC20\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/test/MintableERC20.sol\":{\"keccak256\":\"0x22a56dd3312d678a1c3d8ea1620111ff6dc9ace0ff757881daada97f441b00e6\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://c99516a8b3b4bf7559c636939491baee3d7f8838f381435982674bc35da76f83\",\"dweb:/ipfs/Qmdo1YPkuUHrhJYgk5E5NQPhMYk6xyjGLTkb7v4ScnYGyX\"]},\"solmate/src/tokens/ERC20.sol\":{\"keccak256\":\"0xcdfd8db76b2a3415620e4d18cc5545f3d50de792dbf2c3dd5adb40cbe6f94b10\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://57b3ab70cde374af1cf2c9888636e8de6cf660f087b1c9abd805e9271e19fa35\",\"dweb:/ipfs/QmNrLDBAHYFjpjSd12jerm1AdBkDqEYUUaXgnT854BUZ97\"]}},\"version\":1}"}},"contracts/test/ReenteringWETH.sol":{"ReenteringWETH":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"NotAllowedReenter","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_universalRouter","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"setParameters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"extract_byte_array_length":{"entryPoint":1027,"id":null,"parameterSlots":1,"returnSlots":1},"finalize_allocation":{"entryPoint":992,"id":null,"parameterSlots":2,"returnSlots":0}},"generatedSources":[],"linkReferences":{},"object":"60e0604052346103dc576040516100176040826103e0565b600e81526d0a4cacadce8cae4d2dcceae8aa8960931b60208201526040516100406040826103e0565b6002815261525760f01b602082015281516001600160401b03811161030f576100695f54610403565b601f811161038d575b50602092601f821160011461032e57928192935f92610323575b50508160011b915f199060031b1c1916175f555b80516001600160401b03811161030f576100bb600154610403565b601f81116102ac575b50602091601f821160011461024c579181925f92610241575b50508160011b915f199060031b1c1916176001555b60126080524660a0526040515f905f54918161010d84610403565b9182825260208201946001811690815f1461022557506001146101db575b610137925003826103e0565b51902060405160208101917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f835260408201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260a081526101ab60c0826103e0565b51902060c052604051610c6d908161043c823960805181610786015260a05181610a7c015260c05181610aa20152f35b505f80805290915f805160206110a98339815191525b8183106102095750509060206101379282010161012b565b60209193508060019154838588010152019101909183926101f1565b60ff191686525061013792151560051b8201602001905061012b565b015190505f806100dd565b601f1982169260015f52805f20915f5b8581106102945750836001951061027c575b505050811b016001556100f2565b01515f1960f88460031b161c191690555f808061026e565b9192602060018192868501518155019401920161025c565b60015f527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6601f830160051c81019160208410610305575b601f0160051c01905b8181106102fa57506100c4565b5f81556001016102ed565b90915081906102e4565b634e487b7160e01b5f52604160045260245ffd5b015190505f8061008c565b601f198216935f8052805f20915f5b868110610375575083600195961061035d575b505050811b015f556100a0565b01515f1960f88460031b161c191690555f8080610350565b9192602060018192868501518155019401920161033d565b5f80525f805160206110a9833981519152601f830160051c810191602084106103d2575b601f0160051c01905b8181106103c75750610072565b5f81556001016103ba565b90915081906103b1565b5f80fd5b601f909101601f19168101906001600160401b0382119082101761030f57604052565b90600182811c92168015610431575b602083101461041d57565b634e487b7160e01b5f52602260045260245ffd5b91607f169161041256fe60806040526004361015610011575f80fd5b5f3560e01c806306fdde03146108fd578063095ea7b31461089757806318160ddd1461087a57806323b872dd146107aa578063313ce5671461076d5780633644e5151461074b578063472ec4431461059857806370a08231146105605780637ecebe001461052857806395d89b411461044e578063a9059cbb146103d9578063d0e30db0146102f8578063d505accf146101075763dd62ed3e146100b3575f80fd5b34610103576040366003190112610103576100cc610a11565b6100d4610a27565b6001600160a01b039182165f908152600460209081526040808320949093168252928352819020549051908152f35b5f80fd5b346101035760e036600319011261010357610120610a11565b610128610a27565b6044356064359260843560ff8116809103610103574285106102b95760805f91602093610153610a79565b9060018060a01b03169687855260058652604085209889549960018b01905560405190878201927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c984528a604084015260018060a01b03169a8b6060840152898784015260a083015260c082015260c081526101d060e0826109c4565b519020604051908682019261190160f01b845260228301526042820152604281526101fc6062826109c4565b519020906040519182528482015260a435604082015260c435606082015282805260015afa156102ae575f516001600160a01b0316801515806102a5575b1561026f575f80516020610c41833981519152916020915f526004825260405f20855f5282528060405f2055604051908152a3005b60405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606490fd5b5082811461023a565b6040513d5f823e3d90fd5b60405162461bcd60e51b815260206004820152601760248201527614115493525517d11150511312539157d1561412549151604a1b6044820152606490fd5b5f3660031901126101035760065460405160075490916001600160a01b0316905f906103238161098c565b90600181169081156103c45750600114610387575b5090825f8094819403925af13d15610382573d61035481610a3d565b9061036260405192836109c4565b81525f60203d92013e5b1561037357005b631683197360e31b5f5260045ffd5b61036c565b60075f9081529091505f80516020610c018339815191525b8282106103b0575050820182610338565b60018160209254848801520191019061039f565b60ff1916855250801515028301905082610338565b34610103576040366003190112610103576103f2610a11565b60243590335f52600360205260405f2061040d838254610a58565b905560018060a01b031690815f52600360205260405f208181540190556040519081525f80516020610c2183398151915260203392a3602060405160018152f35b34610103575f366003190112610103576040515f60015461046e8161098c565b808452906001811690811561050457506001146104a6575b6104a283610496818503826109c4565b604051918291826109e7565b0390f35b60015f9081527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6939250905b8082106104ea57509091508101602001610496610486565b9192600181602092548385880101520191019092916104d2565b60ff191660208086019190915291151560051b840190910191506104969050610486565b34610103576020366003190112610103576001600160a01b03610549610a11565b165f526005602052602060405f2054604051908152f35b34610103576020366003190112610103576001600160a01b03610581610a11565b165f526003602052602060405f2054604051908152f35b34610103576040366003190112610103576105b1610a11565b602435906001600160401b03821161010357366023830112156101035781600401356105dc81610a3d565b926105ea60405194856109c4565b818452366024838301011161010357815f926024602093018387013784010152600680546001600160a01b0319166001600160a01b039290921691909117905580516001600160401b0381116107375761064560075461098c565b601f81116106e7575b50602091601f821160011461068a579181925f9261067f575b50505f19600383901b1c191660019190911b17600755005b015190508280610667565b601f1982169260075f52805f20915f5b8581106106cf575083600195106106b7575b505050811b01600755005b01515f1960f88460031b161c191690558280806106ac565b9192602060018192868501518155019401920161069a565b60075f525f80516020610c01833981519152601f830160051c8101916020841061072d575b601f0160051c01905b818110610722575061064e565b5f8155600101610715565b909150819061070c565b634e487b7160e01b5f52604160045260245ffd5b34610103575f366003190112610103576020610765610a79565b604051908152f35b34610103575f36600319011261010357602060405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b34610103576060366003190112610103576107c3610a11565b6107cb610a27565b6001600160a01b039091165f818152600460209081526040808320338452825290912054604435935f80516020610c2183398151915292918560018201610855575b5050835f526003825260405f20610825868254610a58565b90556001600160a01b03165f818152600383526040908190208054870190555194855293a3602060405160018152f35b61085e91610a58565b5f8581526004845260408082203383528552902055858561080d565b34610103575f366003190112610103576020600254604051908152f35b34610103576040366003190112610103576108b0610a11565b335f8181526004602090815260408083206001600160a01b03909516808452948252918290206024359081905591519182525f80516020610c4183398151915291a3602060405160018152f35b34610103575f366003190112610103576040515f805461091c8161098c565b80845290600181169081156105045750600114610943576104a283610496818503826109c4565b5f8080525f80516020610be1833981519152939250905b80821061097257509091508101602001610496610486565b91926001816020925483858801015201910190929161095a565b90600182811c921680156109ba575b60208310146109a657565b634e487b7160e01b5f52602260045260245ffd5b91607f169161099b565b601f909101601f19168101906001600160401b0382119082101761073757604052565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361010357565b602435906001600160a01b038216820361010357565b6001600160401b03811161073757601f01601f191660200190565b91908203918211610a6557565b634e487b7160e01b5f52601160045260245ffd5b467f000000000000000000000000000000000000000000000000000000000000000003610ac4577f000000000000000000000000000000000000000000000000000000000000000090565b6040515f905f549181610ad68461098c565b9182825260208201946001811690815f14610bc45750600114610b7a575b610b00925003826109c4565b51902060405160208101917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f835260408201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260a08152610b7460c0826109c4565b51902090565b505f80805290915f80516020610be18339815191525b818310610ba8575050906020610b0092820101610af4565b6020919350806001915483858801015201910190918392610b90565b60ff1916865250610b0092151560051b82016020019050610af456fe290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563a66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a164736f6c634300081a000a290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563","opcodes":"PUSH1 0xE0 PUSH1 0x40 MSTORE CALLVALUE PUSH2 0x3DC JUMPI PUSH1 0x40 MLOAD PUSH2 0x17 PUSH1 0x40 DUP3 PUSH2 0x3E0 JUMP JUMPDEST PUSH1 0xE DUP2 MSTORE PUSH14 0xA4CACADCE8CAE4D2DCCEAE8AA89 PUSH1 0x93 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 MLOAD PUSH2 0x40 PUSH1 0x40 DUP3 PUSH2 0x3E0 JUMP JUMPDEST PUSH1 0x2 DUP2 MSTORE PUSH2 0x5257 PUSH1 0xF0 SHL PUSH1 0x20 DUP3 ADD MSTORE DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x30F JUMPI PUSH2 0x69 PUSH0 SLOAD PUSH2 0x403 JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x38D JUMPI JUMPDEST POP PUSH1 0x20 SWAP3 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x32E JUMPI SWAP3 DUP2 SWAP3 SWAP4 PUSH0 SWAP3 PUSH2 0x323 JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH0 SSTORE JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x30F JUMPI PUSH2 0xBB PUSH1 0x1 SLOAD PUSH2 0x403 JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x2AC JUMPI JUMPDEST POP PUSH1 0x20 SWAP2 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x24C JUMPI SWAP2 DUP2 SWAP3 PUSH0 SWAP3 PUSH2 0x241 JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH1 0x1 SSTORE JUMPDEST PUSH1 0x12 PUSH1 0x80 MSTORE CHAINID PUSH1 0xA0 MSTORE PUSH1 0x40 MLOAD PUSH0 SWAP1 PUSH0 SLOAD SWAP2 DUP2 PUSH2 0x10D DUP5 PUSH2 0x403 JUMP JUMPDEST SWAP2 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP5 PUSH1 0x1 DUP2 AND SWAP1 DUP2 PUSH0 EQ PUSH2 0x225 JUMPI POP PUSH1 0x1 EQ PUSH2 0x1DB JUMPI JUMPDEST PUSH2 0x137 SWAP3 POP SUB DUP3 PUSH2 0x3E0 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP2 PUSH32 0x8B73C3C69BB8FE3D512ECC4CF759CC79239F7B179B0FFACAA9A75D522B39400F DUP4 MSTORE PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0xC89EFDAA54C0F20C7ADF612882DF0950F5A951637E0307CDCB4C672F298B8BC6 PUSH1 0x60 DUP3 ADD MSTORE CHAINID PUSH1 0x80 DUP3 ADD MSTORE ADDRESS PUSH1 0xA0 DUP3 ADD MSTORE PUSH1 0xA0 DUP2 MSTORE PUSH2 0x1AB PUSH1 0xC0 DUP3 PUSH2 0x3E0 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0xC0 MSTORE PUSH1 0x40 MLOAD PUSH2 0xC6D SWAP1 DUP2 PUSH2 0x43C DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 PUSH2 0x786 ADD MSTORE PUSH1 0xA0 MLOAD DUP2 PUSH2 0xA7C ADD MSTORE PUSH1 0xC0 MLOAD DUP2 PUSH2 0xAA2 ADD MSTORE RETURN JUMPDEST POP PUSH0 DUP1 DUP1 MSTORE SWAP1 SWAP2 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x10A9 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE JUMPDEST DUP2 DUP4 LT PUSH2 0x209 JUMPI POP POP SWAP1 PUSH1 0x20 PUSH2 0x137 SWAP3 DUP3 ADD ADD PUSH2 0x12B JUMP JUMPDEST PUSH1 0x20 SWAP2 SWAP4 POP DUP1 PUSH1 0x1 SWAP2 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP2 DUP4 SWAP3 PUSH2 0x1F1 JUMP JUMPDEST PUSH1 0xFF NOT AND DUP7 MSTORE POP PUSH2 0x137 SWAP3 ISZERO ISZERO PUSH1 0x5 SHL DUP3 ADD PUSH1 0x20 ADD SWAP1 POP PUSH2 0x12B JUMP JUMPDEST ADD MLOAD SWAP1 POP PUSH0 DUP1 PUSH2 0xDD JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP3 PUSH1 0x1 PUSH0 MSTORE DUP1 PUSH0 KECCAK256 SWAP2 PUSH0 JUMPDEST DUP6 DUP2 LT PUSH2 0x294 JUMPI POP DUP4 PUSH1 0x1 SWAP6 LT PUSH2 0x27C JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0x1 SSTORE PUSH2 0xF2 JUMP JUMPDEST ADD MLOAD PUSH0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE PUSH0 DUP1 DUP1 PUSH2 0x26E JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP7 DUP6 ADD MLOAD DUP2 SSTORE ADD SWAP5 ADD SWAP3 ADD PUSH2 0x25C JUMP JUMPDEST PUSH1 0x1 PUSH0 MSTORE PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 PUSH1 0x1F DUP4 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP5 LT PUSH2 0x305 JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x2FA JUMPI POP PUSH2 0xC4 JUMP JUMPDEST PUSH0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x2ED JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x2E4 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST ADD MLOAD SWAP1 POP PUSH0 DUP1 PUSH2 0x8C JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP4 PUSH0 DUP1 MSTORE DUP1 PUSH0 KECCAK256 SWAP2 PUSH0 JUMPDEST DUP7 DUP2 LT PUSH2 0x375 JUMPI POP DUP4 PUSH1 0x1 SWAP6 SWAP7 LT PUSH2 0x35D JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH0 SSTORE PUSH2 0xA0 JUMP JUMPDEST ADD MLOAD PUSH0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE PUSH0 DUP1 DUP1 PUSH2 0x350 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP7 DUP6 ADD MLOAD DUP2 SSTORE ADD SWAP5 ADD SWAP3 ADD PUSH2 0x33D JUMP JUMPDEST PUSH0 DUP1 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x10A9 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x1F DUP4 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP5 LT PUSH2 0x3D2 JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x3C7 JUMPI POP PUSH2 0x72 JUMP JUMPDEST PUSH0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x3BA JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x3B1 JUMP JUMPDEST PUSH0 DUP1 REVERT JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x30F JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x431 JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x41D JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x412 JUMP INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x8FD JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x897 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x87A JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x7AA JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x76D JUMPI DUP1 PUSH4 0x3644E515 EQ PUSH2 0x74B JUMPI DUP1 PUSH4 0x472EC443 EQ PUSH2 0x598 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x560 JUMPI DUP1 PUSH4 0x7ECEBE00 EQ PUSH2 0x528 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x44E JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x3D9 JUMPI DUP1 PUSH4 0xD0E30DB0 EQ PUSH2 0x2F8 JUMPI DUP1 PUSH4 0xD505ACCF EQ PUSH2 0x107 JUMPI PUSH4 0xDD62ED3E EQ PUSH2 0xB3 JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH2 0xCC PUSH2 0xA11 JUMP JUMPDEST PUSH2 0xD4 PUSH2 0xA27 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 SWAP1 SWAP4 AND DUP3 MSTORE SWAP3 DUP4 MSTORE DUP2 SWAP1 KECCAK256 SLOAD SWAP1 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0xE0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH2 0x120 PUSH2 0xA11 JUMP JUMPDEST PUSH2 0x128 PUSH2 0xA27 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD PUSH1 0x64 CALLDATALOAD SWAP3 PUSH1 0x84 CALLDATALOAD PUSH1 0xFF DUP2 AND DUP1 SWAP2 SUB PUSH2 0x103 JUMPI TIMESTAMP DUP6 LT PUSH2 0x2B9 JUMPI PUSH1 0x80 PUSH0 SWAP2 PUSH1 0x20 SWAP4 PUSH2 0x153 PUSH2 0xA79 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP7 DUP8 DUP6 MSTORE PUSH1 0x5 DUP7 MSTORE PUSH1 0x40 DUP6 KECCAK256 SWAP9 DUP10 SLOAD SWAP10 PUSH1 0x1 DUP12 ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP8 DUP3 ADD SWAP3 PUSH32 0x6E71EDAE12B1B97F4D1F60370FEF10105FA2FAAE0126114A169C64845D6126C9 DUP5 MSTORE DUP11 PUSH1 0x40 DUP5 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP11 DUP12 PUSH1 0x60 DUP5 ADD MSTORE DUP10 DUP8 DUP5 ADD MSTORE PUSH1 0xA0 DUP4 ADD MSTORE PUSH1 0xC0 DUP3 ADD MSTORE PUSH1 0xC0 DUP2 MSTORE PUSH2 0x1D0 PUSH1 0xE0 DUP3 PUSH2 0x9C4 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD SWAP1 DUP7 DUP3 ADD SWAP3 PUSH2 0x1901 PUSH1 0xF0 SHL DUP5 MSTORE PUSH1 0x22 DUP4 ADD MSTORE PUSH1 0x42 DUP3 ADD MSTORE PUSH1 0x42 DUP2 MSTORE PUSH2 0x1FC PUSH1 0x62 DUP3 PUSH2 0x9C4 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 SWAP1 PUSH1 0x40 MLOAD SWAP2 DUP3 MSTORE DUP5 DUP3 ADD MSTORE PUSH1 0xA4 CALLDATALOAD PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0xC4 CALLDATALOAD PUSH1 0x60 DUP3 ADD MSTORE DUP3 DUP1 MSTORE PUSH1 0x1 GAS STATICCALL ISZERO PUSH2 0x2AE JUMPI PUSH0 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO ISZERO DUP1 PUSH2 0x2A5 JUMPI JUMPDEST ISZERO PUSH2 0x26F JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xC41 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 PUSH1 0x20 SWAP2 PUSH0 MSTORE PUSH1 0x4 DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP6 PUSH0 MSTORE DUP3 MSTORE DUP1 PUSH1 0x40 PUSH0 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG3 STOP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x24A72B20A624A22FA9A4A3A722A9 PUSH1 0x91 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP DUP3 DUP2 EQ PUSH2 0x23A JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH23 0x14115493525517D11150511312539157D1561412549151 PUSH1 0x4A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x7 SLOAD SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH0 SWAP1 PUSH2 0x323 DUP2 PUSH2 0x98C JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x3C4 JUMPI POP PUSH1 0x1 EQ PUSH2 0x387 JUMPI JUMPDEST POP SWAP1 DUP3 PUSH0 DUP1 SWAP5 DUP2 SWAP5 SUB SWAP3 GAS CALL RETURNDATASIZE ISZERO PUSH2 0x382 JUMPI RETURNDATASIZE PUSH2 0x354 DUP2 PUSH2 0xA3D JUMP JUMPDEST SWAP1 PUSH2 0x362 PUSH1 0x40 MLOAD SWAP3 DUP4 PUSH2 0x9C4 JUMP JUMPDEST DUP2 MSTORE PUSH0 PUSH1 0x20 RETURNDATASIZE SWAP3 ADD RETURNDATACOPY JUMPDEST ISZERO PUSH2 0x373 JUMPI STOP JUMPDEST PUSH4 0x16831973 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0x36C JUMP JUMPDEST PUSH1 0x7 PUSH0 SWAP1 DUP2 MSTORE SWAP1 SWAP2 POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xC01 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE JUMPDEST DUP3 DUP3 LT PUSH2 0x3B0 JUMPI POP POP DUP3 ADD DUP3 PUSH2 0x338 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP5 DUP9 ADD MSTORE ADD SWAP2 ADD SWAP1 PUSH2 0x39F JUMP JUMPDEST PUSH1 0xFF NOT AND DUP6 MSTORE POP DUP1 ISZERO ISZERO MUL DUP4 ADD SWAP1 POP DUP3 PUSH2 0x338 JUMP JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH2 0x3F2 PUSH2 0xA11 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 CALLER PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x40D DUP4 DUP3 SLOAD PUSH2 0xA58 JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP2 DUP2 SLOAD ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xC21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 CALLER SWAP3 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x40 MLOAD PUSH0 PUSH1 0x1 SLOAD PUSH2 0x46E DUP2 PUSH2 0x98C JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x504 JUMPI POP PUSH1 0x1 EQ PUSH2 0x4A6 JUMPI JUMPDEST PUSH2 0x4A2 DUP4 PUSH2 0x496 DUP2 DUP6 SUB DUP3 PUSH2 0x9C4 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 PUSH2 0x9E7 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST PUSH1 0x1 PUSH0 SWAP1 DUP2 MSTORE PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x4EA JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x496 PUSH2 0x486 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x4D2 JUMP JUMPDEST PUSH1 0xFF NOT AND PUSH1 0x20 DUP1 DUP7 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP2 ISZERO ISZERO PUSH1 0x5 SHL DUP5 ADD SWAP1 SWAP2 ADD SWAP2 POP PUSH2 0x496 SWAP1 POP PUSH2 0x486 JUMP JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x549 PUSH2 0xA11 JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x581 PUSH2 0xA11 JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH2 0x5B1 PUSH2 0xA11 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x103 JUMPI CALLDATASIZE PUSH1 0x23 DUP4 ADD SLT ISZERO PUSH2 0x103 JUMPI DUP2 PUSH1 0x4 ADD CALLDATALOAD PUSH2 0x5DC DUP2 PUSH2 0xA3D JUMP JUMPDEST SWAP3 PUSH2 0x5EA PUSH1 0x40 MLOAD SWAP5 DUP6 PUSH2 0x9C4 JUMP JUMPDEST DUP2 DUP5 MSTORE CALLDATASIZE PUSH1 0x24 DUP4 DUP4 ADD ADD GT PUSH2 0x103 JUMPI DUP2 PUSH0 SWAP3 PUSH1 0x24 PUSH1 0x20 SWAP4 ADD DUP4 DUP8 ADD CALLDATACOPY DUP5 ADD ADD MSTORE PUSH1 0x6 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x737 JUMPI PUSH2 0x645 PUSH1 0x7 SLOAD PUSH2 0x98C JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x6E7 JUMPI JUMPDEST POP PUSH1 0x20 SWAP2 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x68A JUMPI SWAP2 DUP2 SWAP3 PUSH0 SWAP3 PUSH2 0x67F JUMPI JUMPDEST POP POP PUSH0 NOT PUSH1 0x3 DUP4 SWAP1 SHL SHR NOT AND PUSH1 0x1 SWAP2 SWAP1 SWAP2 SHL OR PUSH1 0x7 SSTORE STOP JUMPDEST ADD MLOAD SWAP1 POP DUP3 DUP1 PUSH2 0x667 JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP3 PUSH1 0x7 PUSH0 MSTORE DUP1 PUSH0 KECCAK256 SWAP2 PUSH0 JUMPDEST DUP6 DUP2 LT PUSH2 0x6CF JUMPI POP DUP4 PUSH1 0x1 SWAP6 LT PUSH2 0x6B7 JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0x7 SSTORE STOP JUMPDEST ADD MLOAD PUSH0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE DUP3 DUP1 DUP1 PUSH2 0x6AC JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP7 DUP6 ADD MLOAD DUP2 SSTORE ADD SWAP5 ADD SWAP3 ADD PUSH2 0x69A JUMP JUMPDEST PUSH1 0x7 PUSH0 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xC01 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x1F DUP4 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP5 LT PUSH2 0x72D JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x722 JUMPI POP PUSH2 0x64E JUMP JUMPDEST PUSH0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x715 JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x70C JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x20 PUSH2 0x765 PUSH2 0xA79 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0xFF PUSH32 0x0 AND DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH2 0x7C3 PUSH2 0xA11 JUMP JUMPDEST PUSH2 0x7CB PUSH2 0xA27 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE DUP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH1 0x44 CALLDATALOAD SWAP4 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xC21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP3 SWAP2 DUP6 PUSH1 0x1 DUP3 ADD PUSH2 0x855 JUMPI JUMPDEST POP POP DUP4 PUSH0 MSTORE PUSH1 0x3 DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x825 DUP7 DUP3 SLOAD PUSH2 0xA58 JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH0 DUP2 DUP2 MSTORE PUSH1 0x3 DUP4 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD DUP8 ADD SWAP1 SSTORE MLOAD SWAP5 DUP6 MSTORE SWAP4 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST PUSH2 0x85E SWAP2 PUSH2 0xA58 JUMP JUMPDEST PUSH0 DUP6 DUP2 MSTORE PUSH1 0x4 DUP5 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 CALLER DUP4 MSTORE DUP6 MSTORE SWAP1 KECCAK256 SSTORE DUP6 DUP6 PUSH2 0x80D JUMP JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x20 PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH2 0x8B0 PUSH2 0xA11 JUMP JUMPDEST CALLER PUSH0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 PUSH1 0x24 CALLDATALOAD SWAP1 DUP2 SWAP1 SSTORE SWAP2 MLOAD SWAP2 DUP3 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xC41 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x40 MLOAD PUSH0 DUP1 SLOAD PUSH2 0x91C DUP2 PUSH2 0x98C JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x504 JUMPI POP PUSH1 0x1 EQ PUSH2 0x943 JUMPI PUSH2 0x4A2 DUP4 PUSH2 0x496 DUP2 DUP6 SUB DUP3 PUSH2 0x9C4 JUMP JUMPDEST PUSH0 DUP1 DUP1 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xBE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x972 JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x496 PUSH2 0x486 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x95A JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x9BA JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x9A6 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x99B JUMP JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x737 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 SWAP3 DUP2 DUP4 MSTORE DUP1 MLOAD SWAP2 DUP3 SWAP2 DUP3 DUP3 DUP7 ADD MSTORE ADD DUP5 DUP5 ADD MCOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x103 JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x103 JUMPI JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x737 JUMPI PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP3 SUB SWAP2 DUP3 GT PUSH2 0xA65 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CHAINID PUSH32 0x0 SUB PUSH2 0xAC4 JUMPI PUSH32 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH0 SWAP1 PUSH0 SLOAD SWAP2 DUP2 PUSH2 0xAD6 DUP5 PUSH2 0x98C JUMP JUMPDEST SWAP2 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP5 PUSH1 0x1 DUP2 AND SWAP1 DUP2 PUSH0 EQ PUSH2 0xBC4 JUMPI POP PUSH1 0x1 EQ PUSH2 0xB7A JUMPI JUMPDEST PUSH2 0xB00 SWAP3 POP SUB DUP3 PUSH2 0x9C4 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP2 PUSH32 0x8B73C3C69BB8FE3D512ECC4CF759CC79239F7B179B0FFACAA9A75D522B39400F DUP4 MSTORE PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0xC89EFDAA54C0F20C7ADF612882DF0950F5A951637E0307CDCB4C672F298B8BC6 PUSH1 0x60 DUP3 ADD MSTORE CHAINID PUSH1 0x80 DUP3 ADD MSTORE ADDRESS PUSH1 0xA0 DUP3 ADD MSTORE PUSH1 0xA0 DUP2 MSTORE PUSH2 0xB74 PUSH1 0xC0 DUP3 PUSH2 0x9C4 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST POP PUSH0 DUP1 DUP1 MSTORE SWAP1 SWAP2 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xBE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE JUMPDEST DUP2 DUP4 LT PUSH2 0xBA8 JUMPI POP POP SWAP1 PUSH1 0x20 PUSH2 0xB00 SWAP3 DUP3 ADD ADD PUSH2 0xAF4 JUMP JUMPDEST PUSH1 0x20 SWAP2 SWAP4 POP DUP1 PUSH1 0x1 SWAP2 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP2 DUP4 SWAP3 PUSH2 0xB90 JUMP JUMPDEST PUSH1 0xFF NOT AND DUP7 MSTORE POP PUSH2 0xB00 SWAP3 ISZERO ISZERO PUSH1 0x5 SHL DUP3 ADD PUSH1 0x20 ADD SWAP1 POP PUSH2 0xAF4 JUMP INVALID 0x29 0xD 0xEC 0xD9 SLOAD DUP12 PUSH3 0xA8D603 GASLIMIT 0xA9 DUP9 CODESIZE PUSH16 0xC84BA6BC95484008F6362F93160EF3E5 PUSH4 0xA66CC928 0xB5 0xED 0xB8 0x2A 0xF9 0xBD BLOBHASH SWAP3 0x29 SLOAD ISZERO GAS 0xB7 0xB0 SWAP5 0x26 SWAP5 0xBE LOG4 0xCE PREVRANDAO PUSH7 0x1D9A8736C688DD CALLCODE MSTORE 0xAD SHL 0xE2 0xC8 SWAP12 PUSH10 0xC2B068FC378DAA952BA7 CALL PUSH4 0xC4A11628 CREATE2 GAS 0x4D CREATE2 0x23 0xB3 0xEF DUP13 JUMPDEST 0xE1 0xE5 0xEB 0xEC PUSH30 0x5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925A164736F6C PUSH4 0x4300081A STOP EXP 0x29 0xD 0xEC 0xD9 SLOAD DUP12 PUSH3 0xA8D603 GASLIMIT 0xA9 DUP9 CODESIZE PUSH16 0xC84BA6BC95484008F6362F93160EF3E5 PUSH4 0x0 ","sourceMap":"124:477:128:-:0;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;124:477:128;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;124:477:128;;;;;;-1:-1:-1;;;;;124:477:128;;;;;-1:-1:-1;124:477:128;;:::i;:::-;;;;;;-1:-1:-1;124:477:128;;;;;;;;;;;;;;-1:-1:-1;124:477:128;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:477:128;;;;-1:-1:-1;;;;;124:477:128;;;;;2116:16:139;124:477:128;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:477:128;;;;;;;2116:16:139;124:477:128;;;;;;;;;;;2116:16:139;124:477:128;;285:2;2142:20:139;;2192:13;2173:32;;124:477:128;;-1:-1:-1;124:477:128;-1:-1:-1;124:477:128;;;;;;:::i;:::-;;;;;;;;;2116:16:139;124:477:128;;2116:16:139;;124:477:128;2116:16:139;;;124:477:128;;;;;;;;;;;;:::i;:::-;;5789:22:139;;124:477:128;;;5640:295:139;;124:477:128;5672:95:139;124:477:128;;;;;;5833:14:139;124:477:128;;;;2192:13:139;2142:20;124:477:128;;;5912:4:139;2173:32;124:477:128;;;2173:32:139;5640:295;;;;;;:::i;:::-;124:477:128;5613:336:139;;5640:295;2215:51;124:477:128;;;;;;;;2142:20:139;124:477:128;;;;;2173:32:139;124:477:128;;;;;5640:295:139;124:477:128;;;;;;;-1:-1:-1;;124:477:128;;;;;-1:-1:-1;;;;;;;;;;;124:477:128;;;;;;;;;;;;;;;;;;;;;;;2116:16:139;124:477:128;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;-1:-1:-1;124:477:128;;;;;;;;;;;-1:-1:-1;124:477:128;;;;;;-1:-1:-1;124:477:128;;;;;;;;;;2116:16:139;-1:-1:-1;124:477:128;;-1:-1:-1;124:477:128;;-1:-1:-1;124:477:128;;;;;;;;2116:16:139;124:477:128;;;;;;;;;;;2116:16:139;124:477:128;;;;;;;;;;;;;;;;;;;;;;;;;;;2116:16:139;124:477:128;;;;;;;;;;;;;;;;2116:16:139;-1:-1:-1;124:477:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:477:128;;2116:16:139;124:477:128;;;;;;-1:-1:-1;124:477:128;;;;;;;;-1:-1:-1;124:477:128;;;;;-1:-1:-1;124:477:128;;;;;-1:-1:-1;124:477:128;;;;;;;;;;-1:-1:-1;124:477:128;;;-1:-1:-1;124:477:128;;-1:-1:-1;124:477:128;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:477:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:477:128;;-1:-1:-1;;;;;;;;;;;124:477:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:477:128;;;;;;;;;-1:-1:-1;124:477:128;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;;-1:-1:-1;;;;;124:477:128;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"abi_decode_address":{"entryPoint":2599,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_address_7251":{"entryPoint":2577,"id":null,"parameterSlots":0,"returnSlots":1},"abi_encode_string":{"entryPoint":2535,"id":null,"parameterSlots":2,"returnSlots":1},"array_allocation_size_bytes":{"entryPoint":2621,"id":null,"parameterSlots":1,"returnSlots":1},"checked_sub_uint256":{"entryPoint":2648,"id":null,"parameterSlots":2,"returnSlots":1},"extract_byte_array_length":{"entryPoint":2444,"id":null,"parameterSlots":1,"returnSlots":1},"finalize_allocation":{"entryPoint":2500,"id":null,"parameterSlots":2,"returnSlots":0},"fun_DOMAIN_SEPARATOR":{"entryPoint":2681,"id":21737,"parameterSlots":0,"returnSlots":1}},"generatedSources":[],"immutableReferences":{"21461":[{"length":32,"start":1926}],"21475":[{"length":32,"start":2684}],"21477":[{"length":32,"start":2722}]},"linkReferences":{},"object":"60806040526004361015610011575f80fd5b5f3560e01c806306fdde03146108fd578063095ea7b31461089757806318160ddd1461087a57806323b872dd146107aa578063313ce5671461076d5780633644e5151461074b578063472ec4431461059857806370a08231146105605780637ecebe001461052857806395d89b411461044e578063a9059cbb146103d9578063d0e30db0146102f8578063d505accf146101075763dd62ed3e146100b3575f80fd5b34610103576040366003190112610103576100cc610a11565b6100d4610a27565b6001600160a01b039182165f908152600460209081526040808320949093168252928352819020549051908152f35b5f80fd5b346101035760e036600319011261010357610120610a11565b610128610a27565b6044356064359260843560ff8116809103610103574285106102b95760805f91602093610153610a79565b9060018060a01b03169687855260058652604085209889549960018b01905560405190878201927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c984528a604084015260018060a01b03169a8b6060840152898784015260a083015260c082015260c081526101d060e0826109c4565b519020604051908682019261190160f01b845260228301526042820152604281526101fc6062826109c4565b519020906040519182528482015260a435604082015260c435606082015282805260015afa156102ae575f516001600160a01b0316801515806102a5575b1561026f575f80516020610c41833981519152916020915f526004825260405f20855f5282528060405f2055604051908152a3005b60405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606490fd5b5082811461023a565b6040513d5f823e3d90fd5b60405162461bcd60e51b815260206004820152601760248201527614115493525517d11150511312539157d1561412549151604a1b6044820152606490fd5b5f3660031901126101035760065460405160075490916001600160a01b0316905f906103238161098c565b90600181169081156103c45750600114610387575b5090825f8094819403925af13d15610382573d61035481610a3d565b9061036260405192836109c4565b81525f60203d92013e5b1561037357005b631683197360e31b5f5260045ffd5b61036c565b60075f9081529091505f80516020610c018339815191525b8282106103b0575050820182610338565b60018160209254848801520191019061039f565b60ff1916855250801515028301905082610338565b34610103576040366003190112610103576103f2610a11565b60243590335f52600360205260405f2061040d838254610a58565b905560018060a01b031690815f52600360205260405f208181540190556040519081525f80516020610c2183398151915260203392a3602060405160018152f35b34610103575f366003190112610103576040515f60015461046e8161098c565b808452906001811690811561050457506001146104a6575b6104a283610496818503826109c4565b604051918291826109e7565b0390f35b60015f9081527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6939250905b8082106104ea57509091508101602001610496610486565b9192600181602092548385880101520191019092916104d2565b60ff191660208086019190915291151560051b840190910191506104969050610486565b34610103576020366003190112610103576001600160a01b03610549610a11565b165f526005602052602060405f2054604051908152f35b34610103576020366003190112610103576001600160a01b03610581610a11565b165f526003602052602060405f2054604051908152f35b34610103576040366003190112610103576105b1610a11565b602435906001600160401b03821161010357366023830112156101035781600401356105dc81610a3d565b926105ea60405194856109c4565b818452366024838301011161010357815f926024602093018387013784010152600680546001600160a01b0319166001600160a01b039290921691909117905580516001600160401b0381116107375761064560075461098c565b601f81116106e7575b50602091601f821160011461068a579181925f9261067f575b50505f19600383901b1c191660019190911b17600755005b015190508280610667565b601f1982169260075f52805f20915f5b8581106106cf575083600195106106b7575b505050811b01600755005b01515f1960f88460031b161c191690558280806106ac565b9192602060018192868501518155019401920161069a565b60075f525f80516020610c01833981519152601f830160051c8101916020841061072d575b601f0160051c01905b818110610722575061064e565b5f8155600101610715565b909150819061070c565b634e487b7160e01b5f52604160045260245ffd5b34610103575f366003190112610103576020610765610a79565b604051908152f35b34610103575f36600319011261010357602060405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b34610103576060366003190112610103576107c3610a11565b6107cb610a27565b6001600160a01b039091165f818152600460209081526040808320338452825290912054604435935f80516020610c2183398151915292918560018201610855575b5050835f526003825260405f20610825868254610a58565b90556001600160a01b03165f818152600383526040908190208054870190555194855293a3602060405160018152f35b61085e91610a58565b5f8581526004845260408082203383528552902055858561080d565b34610103575f366003190112610103576020600254604051908152f35b34610103576040366003190112610103576108b0610a11565b335f8181526004602090815260408083206001600160a01b03909516808452948252918290206024359081905591519182525f80516020610c4183398151915291a3602060405160018152f35b34610103575f366003190112610103576040515f805461091c8161098c565b80845290600181169081156105045750600114610943576104a283610496818503826109c4565b5f8080525f80516020610be1833981519152939250905b80821061097257509091508101602001610496610486565b91926001816020925483858801015201910190929161095a565b90600182811c921680156109ba575b60208310146109a657565b634e487b7160e01b5f52602260045260245ffd5b91607f169161099b565b601f909101601f19168101906001600160401b0382119082101761073757604052565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361010357565b602435906001600160a01b038216820361010357565b6001600160401b03811161073757601f01601f191660200190565b91908203918211610a6557565b634e487b7160e01b5f52601160045260245ffd5b467f000000000000000000000000000000000000000000000000000000000000000003610ac4577f000000000000000000000000000000000000000000000000000000000000000090565b6040515f905f549181610ad68461098c565b9182825260208201946001811690815f14610bc45750600114610b7a575b610b00925003826109c4565b51902060405160208101917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f835260408201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260a08152610b7460c0826109c4565b51902090565b505f80805290915f80516020610be18339815191525b818310610ba8575050906020610b0092820101610af4565b6020919350806001915483858801015201910190918392610b90565b60ff1916865250610b0092151560051b82016020019050610af456fe290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563a66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a164736f6c634300081a000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x11 JUMPI PUSH0 DUP1 REVERT JUMPDEST PUSH0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x8FD JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x897 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x87A JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x7AA JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x76D JUMPI DUP1 PUSH4 0x3644E515 EQ PUSH2 0x74B JUMPI DUP1 PUSH4 0x472EC443 EQ PUSH2 0x598 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x560 JUMPI DUP1 PUSH4 0x7ECEBE00 EQ PUSH2 0x528 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x44E JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x3D9 JUMPI DUP1 PUSH4 0xD0E30DB0 EQ PUSH2 0x2F8 JUMPI DUP1 PUSH4 0xD505ACCF EQ PUSH2 0x107 JUMPI PUSH4 0xDD62ED3E EQ PUSH2 0xB3 JUMPI PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH2 0xCC PUSH2 0xA11 JUMP JUMPDEST PUSH2 0xD4 PUSH2 0xA27 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 SWAP1 SWAP4 AND DUP3 MSTORE SWAP3 DUP4 MSTORE DUP2 SWAP1 KECCAK256 SLOAD SWAP1 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0xE0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH2 0x120 PUSH2 0xA11 JUMP JUMPDEST PUSH2 0x128 PUSH2 0xA27 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD PUSH1 0x64 CALLDATALOAD SWAP3 PUSH1 0x84 CALLDATALOAD PUSH1 0xFF DUP2 AND DUP1 SWAP2 SUB PUSH2 0x103 JUMPI TIMESTAMP DUP6 LT PUSH2 0x2B9 JUMPI PUSH1 0x80 PUSH0 SWAP2 PUSH1 0x20 SWAP4 PUSH2 0x153 PUSH2 0xA79 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP7 DUP8 DUP6 MSTORE PUSH1 0x5 DUP7 MSTORE PUSH1 0x40 DUP6 KECCAK256 SWAP9 DUP10 SLOAD SWAP10 PUSH1 0x1 DUP12 ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP8 DUP3 ADD SWAP3 PUSH32 0x6E71EDAE12B1B97F4D1F60370FEF10105FA2FAAE0126114A169C64845D6126C9 DUP5 MSTORE DUP11 PUSH1 0x40 DUP5 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP11 DUP12 PUSH1 0x60 DUP5 ADD MSTORE DUP10 DUP8 DUP5 ADD MSTORE PUSH1 0xA0 DUP4 ADD MSTORE PUSH1 0xC0 DUP3 ADD MSTORE PUSH1 0xC0 DUP2 MSTORE PUSH2 0x1D0 PUSH1 0xE0 DUP3 PUSH2 0x9C4 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD SWAP1 DUP7 DUP3 ADD SWAP3 PUSH2 0x1901 PUSH1 0xF0 SHL DUP5 MSTORE PUSH1 0x22 DUP4 ADD MSTORE PUSH1 0x42 DUP3 ADD MSTORE PUSH1 0x42 DUP2 MSTORE PUSH2 0x1FC PUSH1 0x62 DUP3 PUSH2 0x9C4 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 SWAP1 PUSH1 0x40 MLOAD SWAP2 DUP3 MSTORE DUP5 DUP3 ADD MSTORE PUSH1 0xA4 CALLDATALOAD PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0xC4 CALLDATALOAD PUSH1 0x60 DUP3 ADD MSTORE DUP3 DUP1 MSTORE PUSH1 0x1 GAS STATICCALL ISZERO PUSH2 0x2AE JUMPI PUSH0 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO ISZERO DUP1 PUSH2 0x2A5 JUMPI JUMPDEST ISZERO PUSH2 0x26F JUMPI PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xC41 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 PUSH1 0x20 SWAP2 PUSH0 MSTORE PUSH1 0x4 DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP6 PUSH0 MSTORE DUP3 MSTORE DUP1 PUSH1 0x40 PUSH0 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG3 STOP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x24A72B20A624A22FA9A4A3A722A9 PUSH1 0x91 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP DUP3 DUP2 EQ PUSH2 0x23A JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH23 0x14115493525517D11150511312539157D1561412549151 PUSH1 0x4A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x7 SLOAD SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH0 SWAP1 PUSH2 0x323 DUP2 PUSH2 0x98C JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x3C4 JUMPI POP PUSH1 0x1 EQ PUSH2 0x387 JUMPI JUMPDEST POP SWAP1 DUP3 PUSH0 DUP1 SWAP5 DUP2 SWAP5 SUB SWAP3 GAS CALL RETURNDATASIZE ISZERO PUSH2 0x382 JUMPI RETURNDATASIZE PUSH2 0x354 DUP2 PUSH2 0xA3D JUMP JUMPDEST SWAP1 PUSH2 0x362 PUSH1 0x40 MLOAD SWAP3 DUP4 PUSH2 0x9C4 JUMP JUMPDEST DUP2 MSTORE PUSH0 PUSH1 0x20 RETURNDATASIZE SWAP3 ADD RETURNDATACOPY JUMPDEST ISZERO PUSH2 0x373 JUMPI STOP JUMPDEST PUSH4 0x16831973 PUSH1 0xE3 SHL PUSH0 MSTORE PUSH1 0x4 PUSH0 REVERT JUMPDEST PUSH2 0x36C JUMP JUMPDEST PUSH1 0x7 PUSH0 SWAP1 DUP2 MSTORE SWAP1 SWAP2 POP PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xC01 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE JUMPDEST DUP3 DUP3 LT PUSH2 0x3B0 JUMPI POP POP DUP3 ADD DUP3 PUSH2 0x338 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP5 DUP9 ADD MSTORE ADD SWAP2 ADD SWAP1 PUSH2 0x39F JUMP JUMPDEST PUSH1 0xFF NOT AND DUP6 MSTORE POP DUP1 ISZERO ISZERO MUL DUP4 ADD SWAP1 POP DUP3 PUSH2 0x338 JUMP JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH2 0x3F2 PUSH2 0xA11 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 CALLER PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x40D DUP4 DUP3 SLOAD PUSH2 0xA58 JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH0 KECCAK256 DUP2 DUP2 SLOAD ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xC21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 CALLER SWAP3 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x40 MLOAD PUSH0 PUSH1 0x1 SLOAD PUSH2 0x46E DUP2 PUSH2 0x98C JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x504 JUMPI POP PUSH1 0x1 EQ PUSH2 0x4A6 JUMPI JUMPDEST PUSH2 0x4A2 DUP4 PUSH2 0x496 DUP2 DUP6 SUB DUP3 PUSH2 0x9C4 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 PUSH2 0x9E7 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST PUSH1 0x1 PUSH0 SWAP1 DUP2 MSTORE PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x4EA JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x496 PUSH2 0x486 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x4D2 JUMP JUMPDEST PUSH1 0xFF NOT AND PUSH1 0x20 DUP1 DUP7 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP2 ISZERO ISZERO PUSH1 0x5 SHL DUP5 ADD SWAP1 SWAP2 ADD SWAP2 POP PUSH2 0x496 SWAP1 POP PUSH2 0x486 JUMP JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x549 PUSH2 0xA11 JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x581 PUSH2 0xA11 JUMP JUMPDEST AND PUSH0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH2 0x5B1 PUSH2 0xA11 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x103 JUMPI CALLDATASIZE PUSH1 0x23 DUP4 ADD SLT ISZERO PUSH2 0x103 JUMPI DUP2 PUSH1 0x4 ADD CALLDATALOAD PUSH2 0x5DC DUP2 PUSH2 0xA3D JUMP JUMPDEST SWAP3 PUSH2 0x5EA PUSH1 0x40 MLOAD SWAP5 DUP6 PUSH2 0x9C4 JUMP JUMPDEST DUP2 DUP5 MSTORE CALLDATASIZE PUSH1 0x24 DUP4 DUP4 ADD ADD GT PUSH2 0x103 JUMPI DUP2 PUSH0 SWAP3 PUSH1 0x24 PUSH1 0x20 SWAP4 ADD DUP4 DUP8 ADD CALLDATACOPY DUP5 ADD ADD MSTORE PUSH1 0x6 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x737 JUMPI PUSH2 0x645 PUSH1 0x7 SLOAD PUSH2 0x98C JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x6E7 JUMPI JUMPDEST POP PUSH1 0x20 SWAP2 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x68A JUMPI SWAP2 DUP2 SWAP3 PUSH0 SWAP3 PUSH2 0x67F JUMPI JUMPDEST POP POP PUSH0 NOT PUSH1 0x3 DUP4 SWAP1 SHL SHR NOT AND PUSH1 0x1 SWAP2 SWAP1 SWAP2 SHL OR PUSH1 0x7 SSTORE STOP JUMPDEST ADD MLOAD SWAP1 POP DUP3 DUP1 PUSH2 0x667 JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP3 PUSH1 0x7 PUSH0 MSTORE DUP1 PUSH0 KECCAK256 SWAP2 PUSH0 JUMPDEST DUP6 DUP2 LT PUSH2 0x6CF JUMPI POP DUP4 PUSH1 0x1 SWAP6 LT PUSH2 0x6B7 JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0x7 SSTORE STOP JUMPDEST ADD MLOAD PUSH0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE DUP3 DUP1 DUP1 PUSH2 0x6AC JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP7 DUP6 ADD MLOAD DUP2 SSTORE ADD SWAP5 ADD SWAP3 ADD PUSH2 0x69A JUMP JUMPDEST PUSH1 0x7 PUSH0 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xC01 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x1F DUP4 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP5 LT PUSH2 0x72D JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x722 JUMPI POP PUSH2 0x64E JUMP JUMPDEST PUSH0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x715 JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x70C JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x20 PUSH2 0x765 PUSH2 0xA79 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0xFF PUSH32 0x0 AND DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH2 0x7C3 PUSH2 0xA11 JUMP JUMPDEST PUSH2 0x7CB PUSH2 0xA27 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE DUP3 MSTORE SWAP1 SWAP2 KECCAK256 SLOAD PUSH1 0x44 CALLDATALOAD SWAP4 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xC21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP3 SWAP2 DUP6 PUSH1 0x1 DUP3 ADD PUSH2 0x855 JUMPI JUMPDEST POP POP DUP4 PUSH0 MSTORE PUSH1 0x3 DUP3 MSTORE PUSH1 0x40 PUSH0 KECCAK256 PUSH2 0x825 DUP7 DUP3 SLOAD PUSH2 0xA58 JUMP JUMPDEST SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH0 DUP2 DUP2 MSTORE PUSH1 0x3 DUP4 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD DUP8 ADD SWAP1 SSTORE MLOAD SWAP5 DUP6 MSTORE SWAP4 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST PUSH2 0x85E SWAP2 PUSH2 0xA58 JUMP JUMPDEST PUSH0 DUP6 DUP2 MSTORE PUSH1 0x4 DUP5 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 CALLER DUP4 MSTORE DUP6 MSTORE SWAP1 KECCAK256 SSTORE DUP6 DUP6 PUSH2 0x80D JUMP JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x20 PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH2 0x8B0 PUSH2 0xA11 JUMP JUMPDEST CALLER PUSH0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 PUSH1 0x24 CALLDATALOAD SWAP1 DUP2 SWAP1 SSTORE SWAP2 MLOAD SWAP2 DUP3 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xC41 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 LOG3 PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x103 JUMPI PUSH0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x103 JUMPI PUSH1 0x40 MLOAD PUSH0 DUP1 SLOAD PUSH2 0x91C DUP2 PUSH2 0x98C JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x504 JUMPI POP PUSH1 0x1 EQ PUSH2 0x943 JUMPI PUSH2 0x4A2 DUP4 PUSH2 0x496 DUP2 DUP6 SUB DUP3 PUSH2 0x9C4 JUMP JUMPDEST PUSH0 DUP1 DUP1 MSTORE PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xBE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x972 JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x496 PUSH2 0x486 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x95A JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x9BA JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x9A6 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x99B JUMP JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x737 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 SWAP3 DUP2 DUP4 MSTORE DUP1 MLOAD SWAP2 DUP3 SWAP2 DUP3 DUP3 DUP7 ADD MSTORE ADD DUP5 DUP5 ADD MCOPY PUSH0 DUP3 DUP3 ADD DUP5 ADD MSTORE PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x103 JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x103 JUMPI JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x737 JUMPI PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP3 SUB SWAP2 DUP3 GT PUSH2 0xA65 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH0 REVERT JUMPDEST CHAINID PUSH32 0x0 SUB PUSH2 0xAC4 JUMPI PUSH32 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH0 SWAP1 PUSH0 SLOAD SWAP2 DUP2 PUSH2 0xAD6 DUP5 PUSH2 0x98C JUMP JUMPDEST SWAP2 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP5 PUSH1 0x1 DUP2 AND SWAP1 DUP2 PUSH0 EQ PUSH2 0xBC4 JUMPI POP PUSH1 0x1 EQ PUSH2 0xB7A JUMPI JUMPDEST PUSH2 0xB00 SWAP3 POP SUB DUP3 PUSH2 0x9C4 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP2 PUSH32 0x8B73C3C69BB8FE3D512ECC4CF759CC79239F7B179B0FFACAA9A75D522B39400F DUP4 MSTORE PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0xC89EFDAA54C0F20C7ADF612882DF0950F5A951637E0307CDCB4C672F298B8BC6 PUSH1 0x60 DUP3 ADD MSTORE CHAINID PUSH1 0x80 DUP3 ADD MSTORE ADDRESS PUSH1 0xA0 DUP3 ADD MSTORE PUSH1 0xA0 DUP2 MSTORE PUSH2 0xB74 PUSH1 0xC0 DUP3 PUSH2 0x9C4 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST POP PUSH0 DUP1 DUP1 MSTORE SWAP1 SWAP2 PUSH0 DUP1 MLOAD PUSH1 0x20 PUSH2 0xBE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE JUMPDEST DUP2 DUP4 LT PUSH2 0xBA8 JUMPI POP POP SWAP1 PUSH1 0x20 PUSH2 0xB00 SWAP3 DUP3 ADD ADD PUSH2 0xAF4 JUMP JUMPDEST PUSH1 0x20 SWAP2 SWAP4 POP DUP1 PUSH1 0x1 SWAP2 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP2 DUP4 SWAP3 PUSH2 0xB90 JUMP JUMPDEST PUSH1 0xFF NOT AND DUP7 MSTORE POP PUSH2 0xB00 SWAP3 ISZERO ISZERO PUSH1 0x5 SHL DUP3 ADD PUSH1 0x20 ADD SWAP1 POP PUSH2 0xAF4 JUMP INVALID 0x29 0xD 0xEC 0xD9 SLOAD DUP12 PUSH3 0xA8D603 GASLIMIT 0xA9 DUP9 CODESIZE PUSH16 0xC84BA6BC95484008F6362F93160EF3E5 PUSH4 0xA66CC928 0xB5 0xED 0xB8 0x2A 0xF9 0xBD BLOBHASH SWAP3 0x29 SLOAD ISZERO GAS 0xB7 0xB0 SWAP5 0x26 SWAP5 0xBE LOG4 0xCE PREVRANDAO PUSH7 0x1D9A8736C688DD CALLCODE MSTORE 0xAD SHL 0xE2 0xC8 SWAP12 PUSH10 0xC2B068FC378DAA952BA7 CALL PUSH4 0xC4A11628 CREATE2 GAS 0x4D CREATE2 0x23 0xB3 0xEF DUP13 JUMPDEST 0xE1 0xE5 0xEB 0xEC PUSH30 0x5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925A164736F6C PUSH4 0x4300081A STOP EXP ","sourceMap":"124:477:128:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;;;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;124:477:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;4057:15:139;4045:27;;124:477:128;;;;4428:18:139;124:477:128;4428:18:139;;;:::i;:::-;124:477:128;;;;;;;;;;;4873:6:139;124:477:128;;;;;;;;;;;;;;;;4511:449:139;;;;124:477:128;4555:165:139;124:477:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4511:449:139;;;124:477:128;4511:449:139;;:::i;:::-;124:477:128;4472:514:139;;124:477:128;;4350:658:139;;;;124:477:128;;;;;;;;;;;;;;;4350:658:139;;;;;;:::i;:::-;124:477:128;4319:707:139;;124:477:128;;;;;;;;;;;;;;;;;;;;;;4292:805:139;;;124:477:128;4292:805:139;;;;;124:477:128;4292:805:139;-1:-1:-1;;;;;124:477:128;5120:30:139;;;;:59;;124:477:128;;;;-1:-1:-1;;;;;;;;;;;124:477:128;;;;;;;;;;;;-1:-1:-1;124:477:128;;;;;-1:-1:-1;124:477:128;;;;;;;5283:31:139;124:477:128;;;;-1:-1:-1;;;124:477:128;;;;;;;;;;;;-1:-1:-1;;;124:477:128;;;;;;;5120:59:139;5154:25;;;;5120:59;;4292:805;124:477:128;;;;;;;;;;;;-1:-1:-1;;;124:477:128;;;;;;;;;;;;-1:-1:-1;;;124:477:128;;;;;;;;;;-1:-1:-1;;124:477:128;;;;516:15;124:477;;;537:4;124:477;;;-1:-1:-1;;;;;124:477:128;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;516:26;;;124:477;516:26;;;;;;;;124:477;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;556:8;552:40;;124:477;552:40;573:19;;;124:477;573:19;124:477;;573:19;124:477;;;;537:4;124:477;;;;;;-1:-1:-1;;;;;;;;;;;;124:477:128;;;;;;-1:-1:-1;;124:477:128;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;-1:-1:-1;124:477:128;;;;;;;-1:-1:-1;124:477:128;;;;;;;;;-1:-1:-1;;124:477:128;;;;;;:::i;:::-;;;2774:10:139;;124:477:128;;2764:9:139;124:477:128;;;;;2764:31:139;124:477:128;;;2764:31:139;:::i;:::-;124:477:128;;;;;;;;;;;;2764:9:139;124:477:128;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;124:477:128;2774:10:139;2990:32;;124:477:128;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;;;;;1056:20:139;124:477:128;;;;:::i;:::-;;;;;1056:20:139;124:477:128;;;1056:20:139;;;;124:477:128;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;1056:20:139;124:477:128;;;;;;;-1:-1:-1;124:477:128;;;;;;;-1:-1:-1;124:477:128;;-1:-1:-1;124:477:128;;;;;;;;;;1056:20:139;124:477:128;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:477:128;;-1:-1:-1;124:477:128;;;;;;;;-1:-1:-1;;124:477:128;;;;-1:-1:-1;;;;;124:477:128;;:::i;:::-;;;;1751:41:139;124:477:128;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;;-1:-1:-1;;;;;124:477:128;;:::i;:::-;;;;1337:44:139;124:477:128;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;124:477:128;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;385:34;124:477;;-1:-1:-1;;;;;;124:477:128;-1:-1:-1;;;;;124:477:128;;;;;;;;;;;;-1:-1:-1;;;;;124:477:128;;;;;429:12;124:477;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;124:477:128;;;;;;;;;;;;;429:12;124:477;;;;;;-1:-1:-1;124:477:128;;;;;;;;;;429:12;124:477;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;124:477:128;;;429:12;124:477;;;;;3298:17:139;;124:477:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;429:12;124:477;;-1:-1:-1;;;;;;;;;;;124:477:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;124:477:128;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;;;;;;1083:31:139;124:477:128;;;;;;;;;;-1:-1:-1;;124:477:128;;;;;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;124:477:128;;;;;;;;;;;;;;;;3225:10:139;124:477:128;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3594:26:139;124:477:128;;;3287:28:139;;3283:80;;124:477:128;;;;;;3374:9:139;124:477:128;;;;;3374:25:139;124:477:128;;;3374:25:139;:::i;:::-;124:477:128;;-1:-1:-1;;;;;124:477:128;;;;;3374:9:139;124:477:128;;;;;;;;;;;;;;;;;;3594:26:139;124:477:128;;;;;;;3283:80:139;3347:16;;;:::i;:::-;124:477:128;;;;;;;;;;;3225:10:139;124:477:128;;;;;;;3283:80:139;;;;124:477:128;;;;;;-1:-1:-1;;124:477:128;;;;;1304:26:139;124:477:128;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;;;;:::i;:::-;2561:10:139;124:477:128;;;;;;;;;;;;;-1:-1:-1;;;;;124:477:128;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2606:37:139;;124:477:128;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;;;;;;124:477:128;;-1:-1:-1;124:477:128;;;;;;;-1:-1:-1;124:477:128;;-1:-1:-1;124:477:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;;-1:-1:-1;;;;;124:477:128;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;;:::o;:::-;;;;-1:-1:-1;;;;;124:477:128;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;124:477:128;;;;;;:::o;:::-;-1:-1:-1;;;;;124:477:128;;;;;;-1:-1:-1;;124:477:128;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;5327:177:139;5410:13;5427:16;5410:33;5427:16;;5446:24;5327:177;:::o;5410:87::-;124:477:128;;-1:-1:-1;124:477:128;-1:-1:-1;124:477:128;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5789:22:139;;124:477:128;;;5640:295:139;;124:477:128;5672:95:139;124:477:128;;;;;;5833:14:139;124:477:128;;;;5410:13:139;124:477:128;;;;5912:4:139;124:477:128;;;;;5640:295:139;;;;;;:::i;:::-;124:477:128;5613:336:139;;5327:177;:::o;124:477:128:-;-1:-1:-1;;124:477:128;;;;;-1:-1:-1;;;;;;;;;;;124:477:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;124:477:128;;;-1:-1:-1;124:477:128;;;;;;;;;;;-1:-1:-1;124:477:128;"},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","decimals()":"313ce567","deposit()":"d0e30db0","name()":"06fdde03","nonces(address)":"7ecebe00","permit(address,address,uint256,uint256,uint8,bytes32,bytes32)":"d505accf","setParameters(address,bytes)":"472ec443","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"NotAllowedReenter\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_universalRouter\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"setParameters\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/ReenteringWETH.sol\":\"ReenteringWETH\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/test/ReenteringWETH.sol\":{\"keccak256\":\"0x96050448663751a109ca9c5c107a4ec2e35683db11985c93bf5069461f53c970\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://96de715e3beca679bfb4036251b3e126d4a6ecd530b440a10ad80a5afba79d8b\",\"dweb:/ipfs/QmZyQzYR1GUGu73Wur3Ujtp17vzHUTAByD78aJi1c3behf\"]},\"solmate/src/tokens/ERC20.sol\":{\"keccak256\":\"0xcdfd8db76b2a3415620e4d18cc5545f3d50de792dbf2c3dd5adb40cbe6f94b10\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://57b3ab70cde374af1cf2c9888636e8de6cf660f087b1c9abd805e9271e19fa35\",\"dweb:/ipfs/QmNrLDBAHYFjpjSd12jerm1AdBkDqEYUUaXgnT854BUZ97\"]}},\"version\":1}"}},"contracts/test/TestCustomErrors.sol":{"TestCustomErrors":{"abi":[{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"UnsafeCast","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"608080604052346013576010908160188239f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x13 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x18 DUP3 CODECOPY RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"71:173:129:-:0;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"71:173:129:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnsafeCast\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/TestCustomErrors.sol\":\"TestCustomErrors\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/test/TestCustomErrors.sol\":{\"keccak256\":\"0x935c45c0c103c59927d5f328659ba2d6eedb6d2613d08985a27180269a088fa7\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://886f05bad91bc390acd18de9cfd4aa8e531a42a6c8cd789909e1762b897dbd22\",\"dweb:/ipfs/QmVuqbs5aQxkDcV4Wa1zgWGeZ4e7L6WJQgz1BHxPvobghd\"]}},\"version\":1}"}},"permit2/src/interfaces/IAllowanceTransfer.sol":{"IAllowanceTransfer":{"abi":[{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"AllowanceExpired","type":"error"},{"inputs":[],"name":"ExcessiveInvalidation","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"InsufficientAllowance","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint160","name":"amount","type":"uint160"},{"indexed":false,"internalType":"uint48","name":"expiration","type":"uint48"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"spender","type":"address"}],"name":"Lockdown","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint48","name":"newNonce","type":"uint48"},{"indexed":false,"internalType":"uint48","name":"oldNonce","type":"uint48"}],"name":"NonceInvalidation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint160","name":"amount","type":"uint160"},{"indexed":false,"internalType":"uint48","name":"expiration","type":"uint48"},{"indexed":false,"internalType":"uint48","name":"nonce","type":"uint48"}],"name":"Permit","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint48","name":"newNonce","type":"uint48"}],"name":"invalidateNonces","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"internalType":"struct IAllowanceTransfer.TokenSpenderPair[]","name":"approvals","type":"tuple[]"}],"name":"lockdown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails[]","name":"details","type":"tuple[]"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitBatch","name":"permitBatch","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails","name":"details","type":"tuple"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle","name":"permitSingle","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"address","name":"token","type":"address"}],"internalType":"struct IAllowanceTransfer.AllowanceTransferDetails[]","name":"transferDetails","type":"tuple[]"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"address","name":"token","type":"address"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","allowance(address,address,address)":"927da105","approve(address,address,uint160,uint48)":"87517c45","invalidateNonces(address,address,uint48)":"65d9723c","lockdown((address,address)[])":"cc53287f","permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)":"2b67b570","permit(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)":"2a2d80d1","transferFrom((address,address,uint160,address)[])":"0d58b1db","transferFrom(address,address,uint160,address)":"36c78516"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"AllowanceExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExcessiveInvalidation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"InsufficientAllowance\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"Lockdown\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"newNonce\",\"type\":\"uint48\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"oldNonce\",\"type\":\"uint48\"}],\"name\":\"NonceInvalidation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"name\":\"Permit\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"newNonce\",\"type\":\"uint48\"}],\"name\":\"invalidateNonces\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"internalType\":\"struct IAllowanceTransfer.TokenSpenderPair[]\",\"name\":\"approvals\",\"type\":\"tuple[]\"}],\"name\":\"lockdown\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails[]\",\"name\":\"details\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitBatch\",\"name\":\"permitBatch\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails\",\"name\":\"details\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitSingle\",\"name\":\"permitSingle\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"internalType\":\"struct IAllowanceTransfer.AllowanceTransferDetails[]\",\"name\":\"transferDetails\",\"type\":\"tuple[]\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Requires user's token approval on the Permit2 contract\",\"errors\":{\"AllowanceExpired(uint256)\":[{\"params\":{\"deadline\":\"The timestamp at which the allowed amount is no longer valid\"}}],\"InsufficientAllowance(uint256)\":[{\"params\":{\"amount\":\"The maximum amount allowed\"}}]},\"kind\":\"dev\",\"methods\":{\"allowance(address,address,address)\":{\"details\":\"The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.\"},\"approve(address,address,uint160,uint48)\":{\"details\":\"The packed allowance also holds a nonce, which will stay unchanged in approveSetting amount to type(uint160).max sets an unlimited approval\",\"params\":{\"amount\":\"The approved amount of the token\",\"expiration\":\"The timestamp at which the approval is no longer valid\",\"spender\":\"The spender address to approve\",\"token\":\"The token to approve\"}},\"invalidateNonces(address,address,uint48)\":{\"details\":\"Can't invalidate more than 2**16 nonces per transaction.\",\"params\":{\"newNonce\":\"The new nonce to set. Invalidates all nonces less than it.\",\"spender\":\"The spender to invalidate nonces for\",\"token\":\"The token to invalidate nonces for\"}},\"lockdown((address,address)[])\":{\"params\":{\"approvals\":\"Array of approvals to revoke.\"}},\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"details\":\"May fail if the owner's nonce was invalidated in-flight by invalidateNonce\",\"params\":{\"owner\":\"The owner of the tokens being approved\",\"permitSingle\":\"Data signed over by the owner specifying the terms of approval\",\"signature\":\"The owner's signature over the permit data\"}},\"permit(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"details\":\"May fail if the owner's nonce was invalidated in-flight by invalidateNonce\",\"params\":{\"owner\":\"The owner of the tokens being approved\",\"permitBatch\":\"Data signed over by the owner specifying the terms of approval\",\"signature\":\"The owner's signature over the permit data\"}},\"transferFrom((address,address,uint160,address)[])\":{\"details\":\"Requires the from addresses to have approved at least the desired amount of tokens to msg.sender.\",\"params\":{\"transferDetails\":\"Array of owners, recipients, amounts, and tokens for the transfers\"}},\"transferFrom(address,address,uint160,address)\":{\"details\":\"Requires the from address to have approved at least the desired amount of tokens to msg.sender.\",\"params\":{\"amount\":\"The amount of the token to transfer\",\"from\":\"The address to transfer from\",\"to\":\"The address of the recipient\",\"token\":\"The token address to transfer\"}}},\"title\":\"AllowanceTransfer\",\"version\":1},\"userdoc\":{\"errors\":{\"AllowanceExpired(uint256)\":[{\"notice\":\"Thrown when an allowance on a token has expired.\"}],\"ExcessiveInvalidation()\":[{\"notice\":\"Thrown when too many nonces are invalidated.\"}],\"InsufficientAllowance(uint256)\":[{\"notice\":\"Thrown when an allowance on a token has been depleted.\"}]},\"events\":{\"Approval(address,address,address,uint160,uint48)\":{\"notice\":\"Emits an event when the owner successfully sets permissions on a token for the spender.\"},\"Lockdown(address,address,address)\":{\"notice\":\"Emits an event when the owner sets the allowance back to 0 with the lockdown function.\"},\"NonceInvalidation(address,address,address,uint48,uint48)\":{\"notice\":\"Emits an event when the owner successfully invalidates an ordered nonce.\"},\"Permit(address,address,address,uint160,uint48,uint48)\":{\"notice\":\"Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.\"}},\"kind\":\"user\",\"methods\":{\"allowance(address,address,address)\":{\"notice\":\"A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\"},\"approve(address,address,uint160,uint48)\":{\"notice\":\"Approves the spender to use up to amount of the specified token up until the expiration\"},\"invalidateNonces(address,address,uint48)\":{\"notice\":\"Invalidate nonces for a given (token, spender) pair\"},\"lockdown((address,address)[])\":{\"notice\":\"Enables performing a \\\"lockdown\\\" of the sender's Permit2 identity by batch revoking approvals\"},\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"notice\":\"Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\"},\"permit(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"notice\":\"Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\"},\"transferFrom((address,address,uint160,address)[])\":{\"notice\":\"Transfer approved tokens in a batch\"},\"transferFrom(address,address,uint160,address)\":{\"notice\":\"Transfer approved tokens from one address to another\"}},\"notice\":\"Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"permit2/src/interfaces/IAllowanceTransfer.sol\":\"IAllowanceTransfer\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]}},\"version\":1}"}},"permit2/src/interfaces/IEIP712.sol":{"IEIP712":{"abi":[{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"permit2/src/interfaces/IEIP712.sol\":\"IEIP712\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]}},\"version\":1}"}},"permit2/src/interfaces/IERC1271.sol":{"IERC1271":{"abi":[{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"isValidSignature","outputs":[{"internalType":"bytes4","name":"magicValue","type":"bytes4"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"isValidSignature(bytes32,bytes)":"1626ba7e"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"isValidSignature\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"magicValue\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"isValidSignature(bytes32,bytes)\":{\"details\":\"Should return whether the signature provided is valid for the provided data\",\"params\":{\"hash\":\"Hash of the data to be signed\",\"signature\":\"Signature byte array associated with _data\"},\"returns\":{\"magicValue\":\"The bytes4 magic value 0x1626ba7e\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"permit2/src/interfaces/IERC1271.sol\":\"IERC1271\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"permit2/src/interfaces/IERC1271.sol\":{\"keccak256\":\"0x0a546b8535127fb4a49d36d5f306fd5a8bbe6125a1852f935b9bb85a04c1acef\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4b99651e2df98e283a97c46d8d1ac4eff0d6a3618e25f7f85294472a670b541c\",\"dweb:/ipfs/QmYRy5G8fXE8BfmyvGEbESEYZPPg3zJEFxHzR5GJZEMMTk\"]}},\"version\":1}"}},"permit2/src/interfaces/IPermit2.sol":{"IPermit2":{"abi":[{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"AllowanceExpired","type":"error"},{"inputs":[],"name":"ExcessiveInvalidation","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"LengthMismatch","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint160","name":"amount","type":"uint160"},{"indexed":false,"internalType":"uint48","name":"expiration","type":"uint48"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"spender","type":"address"}],"name":"Lockdown","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint48","name":"newNonce","type":"uint48"},{"indexed":false,"internalType":"uint48","name":"oldNonce","type":"uint48"}],"name":"NonceInvalidation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint160","name":"amount","type":"uint160"},{"indexed":false,"internalType":"uint48","name":"expiration","type":"uint48"},{"indexed":false,"internalType":"uint48","name":"nonce","type":"uint48"}],"name":"Permit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"word","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mask","type":"uint256"}],"name":"UnorderedNonceInvalidation","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint48","name":"newNonce","type":"uint48"}],"name":"invalidateNonces","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"wordPos","type":"uint256"},{"internalType":"uint256","name":"mask","type":"uint256"}],"name":"invalidateUnorderedNonces","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"internalType":"struct IAllowanceTransfer.TokenSpenderPair[]","name":"approvals","type":"tuple[]"}],"name":"lockdown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"nonceBitmap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails[]","name":"details","type":"tuple[]"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitBatch","name":"permitBatch","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails","name":"details","type":"tuple"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle","name":"permitSingle","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct ISignatureTransfer.TokenPermissions","name":"permitted","type":"tuple"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct ISignatureTransfer.PermitTransferFrom","name":"permit","type":"tuple"},{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"requestedAmount","type":"uint256"}],"internalType":"struct ISignatureTransfer.SignatureTransferDetails","name":"transferDetails","type":"tuple"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct ISignatureTransfer.TokenPermissions[]","name":"permitted","type":"tuple[]"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct ISignatureTransfer.PermitBatchTransferFrom","name":"permit","type":"tuple"},{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"requestedAmount","type":"uint256"}],"internalType":"struct ISignatureTransfer.SignatureTransferDetails[]","name":"transferDetails","type":"tuple[]"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct ISignatureTransfer.TokenPermissions","name":"permitted","type":"tuple"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct ISignatureTransfer.PermitTransferFrom","name":"permit","type":"tuple"},{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"requestedAmount","type":"uint256"}],"internalType":"struct ISignatureTransfer.SignatureTransferDetails","name":"transferDetails","type":"tuple"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes32","name":"witness","type":"bytes32"},{"internalType":"string","name":"witnessTypeString","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitWitnessTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct ISignatureTransfer.TokenPermissions[]","name":"permitted","type":"tuple[]"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct ISignatureTransfer.PermitBatchTransferFrom","name":"permit","type":"tuple"},{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"requestedAmount","type":"uint256"}],"internalType":"struct ISignatureTransfer.SignatureTransferDetails[]","name":"transferDetails","type":"tuple[]"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes32","name":"witness","type":"bytes32"},{"internalType":"string","name":"witnessTypeString","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitWitnessTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"address","name":"token","type":"address"}],"internalType":"struct IAllowanceTransfer.AllowanceTransferDetails[]","name":"transferDetails","type":"tuple[]"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"address","name":"token","type":"address"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","allowance(address,address,address)":"927da105","approve(address,address,uint160,uint48)":"87517c45","invalidateNonces(address,address,uint48)":"65d9723c","invalidateUnorderedNonces(uint256,uint256)":"3ff9dcb1","lockdown((address,address)[])":"cc53287f","nonceBitmap(address,uint256)":"4fe02b44","permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)":"2b67b570","permit(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)":"2a2d80d1","permitTransferFrom(((address,uint256),uint256,uint256),(address,uint256),address,bytes)":"30f28b7a","permitTransferFrom(((address,uint256)[],uint256,uint256),(address,uint256)[],address,bytes)":"edd9444b","permitWitnessTransferFrom(((address,uint256),uint256,uint256),(address,uint256),address,bytes32,string,bytes)":"137c29fe","permitWitnessTransferFrom(((address,uint256)[],uint256,uint256),(address,uint256)[],address,bytes32,string,bytes)":"fe8ec1a7","transferFrom((address,address,uint160,address)[])":"0d58b1db","transferFrom(address,address,uint160,address)":"36c78516"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"AllowanceExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExcessiveInvalidation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAmount\",\"type\":\"uint256\"}],\"name\":\"InvalidAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthMismatch\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"Lockdown\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"newNonce\",\"type\":\"uint48\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"oldNonce\",\"type\":\"uint48\"}],\"name\":\"NonceInvalidation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"name\":\"Permit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"word\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"mask\",\"type\":\"uint256\"}],\"name\":\"UnorderedNonceInvalidation\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint48\",\"name\":\"newNonce\",\"type\":\"uint48\"}],\"name\":\"invalidateNonces\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"wordPos\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mask\",\"type\":\"uint256\"}],\"name\":\"invalidateUnorderedNonces\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"internalType\":\"struct IAllowanceTransfer.TokenSpenderPair[]\",\"name\":\"approvals\",\"type\":\"tuple[]\"}],\"name\":\"lockdown\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"nonceBitmap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails[]\",\"name\":\"details\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitBatch\",\"name\":\"permitBatch\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails\",\"name\":\"details\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitSingle\",\"name\":\"permitSingle\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.TokenPermissions\",\"name\":\"permitted\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.PermitTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.SignatureTransferDetails\",\"name\":\"transferDetails\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.TokenPermissions[]\",\"name\":\"permitted\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.PermitBatchTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.SignatureTransferDetails[]\",\"name\":\"transferDetails\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.TokenPermissions\",\"name\":\"permitted\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.PermitTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.SignatureTransferDetails\",\"name\":\"transferDetails\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"witness\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"witnessTypeString\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitWitnessTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.TokenPermissions[]\",\"name\":\"permitted\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.PermitBatchTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.SignatureTransferDetails[]\",\"name\":\"transferDetails\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"witness\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"witnessTypeString\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitWitnessTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"internalType\":\"struct IAllowanceTransfer.AllowanceTransferDetails[]\",\"name\":\"transferDetails\",\"type\":\"tuple[]\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Users must approve Permit2 before calling any of the transfer functions.\",\"errors\":{\"AllowanceExpired(uint256)\":[{\"params\":{\"deadline\":\"The timestamp at which the allowed amount is no longer valid\"}}],\"InsufficientAllowance(uint256)\":[{\"params\":{\"amount\":\"The maximum amount allowed\"}}],\"InvalidAmount(uint256)\":[{\"params\":{\"maxAmount\":\"The maximum amount a spender can request to transfer\"}}],\"LengthMismatch()\":[{\"details\":\"If the spender does not need to transfer the number of tokens permitted, the spender can request amount 0 to be transferred\"}]},\"kind\":\"dev\",\"methods\":{\"allowance(address,address,address)\":{\"details\":\"The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.\"},\"approve(address,address,uint160,uint48)\":{\"details\":\"The packed allowance also holds a nonce, which will stay unchanged in approveSetting amount to type(uint160).max sets an unlimited approval\",\"params\":{\"amount\":\"The approved amount of the token\",\"expiration\":\"The timestamp at which the approval is no longer valid\",\"spender\":\"The spender address to approve\",\"token\":\"The token to approve\"}},\"invalidateNonces(address,address,uint48)\":{\"details\":\"Can't invalidate more than 2**16 nonces per transaction.\",\"params\":{\"newNonce\":\"The new nonce to set. Invalidates all nonces less than it.\",\"spender\":\"The spender to invalidate nonces for\",\"token\":\"The token to invalidate nonces for\"}},\"invalidateUnorderedNonces(uint256,uint256)\":{\"details\":\"The wordPos is maxed at type(uint248).max\",\"params\":{\"mask\":\"A bitmap masked against msg.sender's current bitmap at the word position\",\"wordPos\":\"A number to index the nonceBitmap at\"}},\"lockdown((address,address)[])\":{\"params\":{\"approvals\":\"Array of approvals to revoke.\"}},\"nonceBitmap(address,uint256)\":{\"details\":\"Uses unordered nonces so that permit messages do not need to be spent in a certain orderThe mapping is indexed first by the token owner, then by an index specified in the nonceIt returns a uint256 bitmapThe index, or wordPosition is capped at type(uint248).max\"},\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"details\":\"May fail if the owner's nonce was invalidated in-flight by invalidateNonce\",\"params\":{\"owner\":\"The owner of the tokens being approved\",\"permitSingle\":\"Data signed over by the owner specifying the terms of approval\",\"signature\":\"The owner's signature over the permit data\"}},\"permit(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"details\":\"May fail if the owner's nonce was invalidated in-flight by invalidateNonce\",\"params\":{\"owner\":\"The owner of the tokens being approved\",\"permitBatch\":\"Data signed over by the owner specifying the terms of approval\",\"signature\":\"The owner's signature over the permit data\"}},\"permitTransferFrom(((address,uint256),uint256,uint256),(address,uint256),address,bytes)\":{\"details\":\"Reverts if the requested amount is greater than the permitted signed amount\",\"params\":{\"owner\":\"The owner of the tokens to transfer\",\"permit\":\"The permit data signed over by the owner\",\"signature\":\"The signature to verify\",\"transferDetails\":\"The spender's requested transfer details for the permitted token\"}},\"permitTransferFrom(((address,uint256)[],uint256,uint256),(address,uint256)[],address,bytes)\":{\"params\":{\"owner\":\"The owner of the tokens to transfer\",\"permit\":\"The permit data signed over by the owner\",\"signature\":\"The signature to verify\",\"transferDetails\":\"Specifies the recipient and requested amount for the token transfer\"}},\"permitWitnessTransferFrom(((address,uint256),uint256,uint256),(address,uint256),address,bytes32,string,bytes)\":{\"details\":\"The witness type string must follow EIP712 ordering of nested structs and must include the TokenPermissions type definitionReverts if the requested amount is greater than the permitted signed amount\",\"params\":{\"owner\":\"The owner of the tokens to transfer\",\"permit\":\"The permit data signed over by the owner\",\"signature\":\"The signature to verify\",\"transferDetails\":\"The spender's requested transfer details for the permitted token\",\"witness\":\"Extra data to include when checking the user signature\",\"witnessTypeString\":\"The EIP-712 type definition for remaining string stub of the typehash\"}},\"permitWitnessTransferFrom(((address,uint256)[],uint256,uint256),(address,uint256)[],address,bytes32,string,bytes)\":{\"details\":\"The witness type string must follow EIP712 ordering of nested structs and must include the TokenPermissions type definition\",\"params\":{\"owner\":\"The owner of the tokens to transfer\",\"permit\":\"The permit data signed over by the owner\",\"signature\":\"The signature to verify\",\"transferDetails\":\"Specifies the recipient and requested amount for the token transfer\",\"witness\":\"Extra data to include when checking the user signature\",\"witnessTypeString\":\"The EIP-712 type definition for remaining string stub of the typehash\"}},\"transferFrom((address,address,uint160,address)[])\":{\"details\":\"Requires the from addresses to have approved at least the desired amount of tokens to msg.sender.\",\"params\":{\"transferDetails\":\"Array of owners, recipients, amounts, and tokens for the transfers\"}},\"transferFrom(address,address,uint160,address)\":{\"details\":\"Requires the from address to have approved at least the desired amount of tokens to msg.sender.\",\"params\":{\"amount\":\"The amount of the token to transfer\",\"from\":\"The address to transfer from\",\"to\":\"The address of the recipient\",\"token\":\"The token address to transfer\"}}},\"version\":1},\"userdoc\":{\"errors\":{\"AllowanceExpired(uint256)\":[{\"notice\":\"Thrown when an allowance on a token has expired.\"}],\"ExcessiveInvalidation()\":[{\"notice\":\"Thrown when too many nonces are invalidated.\"}],\"InsufficientAllowance(uint256)\":[{\"notice\":\"Thrown when an allowance on a token has been depleted.\"}],\"InvalidAmount(uint256)\":[{\"notice\":\"Thrown when the requested amount for a transfer is larger than the permissioned amount\"}],\"LengthMismatch()\":[{\"notice\":\"Thrown when the number of tokens permissioned to a spender does not match the number of tokens being transferred\"}]},\"events\":{\"Approval(address,address,address,uint160,uint48)\":{\"notice\":\"Emits an event when the owner successfully sets permissions on a token for the spender.\"},\"Lockdown(address,address,address)\":{\"notice\":\"Emits an event when the owner sets the allowance back to 0 with the lockdown function.\"},\"NonceInvalidation(address,address,address,uint48,uint48)\":{\"notice\":\"Emits an event when the owner successfully invalidates an ordered nonce.\"},\"Permit(address,address,address,uint160,uint48,uint48)\":{\"notice\":\"Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.\"},\"UnorderedNonceInvalidation(address,uint256,uint256)\":{\"notice\":\"Emits an event when the owner successfully invalidates an unordered nonce.\"}},\"kind\":\"user\",\"methods\":{\"allowance(address,address,address)\":{\"notice\":\"A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\"},\"approve(address,address,uint160,uint48)\":{\"notice\":\"Approves the spender to use up to amount of the specified token up until the expiration\"},\"invalidateNonces(address,address,uint48)\":{\"notice\":\"Invalidate nonces for a given (token, spender) pair\"},\"invalidateUnorderedNonces(uint256,uint256)\":{\"notice\":\"Invalidates the bits specified in mask for the bitmap at the word position\"},\"lockdown((address,address)[])\":{\"notice\":\"Enables performing a \\\"lockdown\\\" of the sender's Permit2 identity by batch revoking approvals\"},\"nonceBitmap(address,uint256)\":{\"notice\":\"A map from token owner address and a caller specified word index to a bitmap. Used to set bits in the bitmap to prevent against signature replay protection\"},\"permit(address,((address,uint160,uint48,uint48),address,uint256),bytes)\":{\"notice\":\"Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\"},\"permit(address,((address,uint160,uint48,uint48)[],address,uint256),bytes)\":{\"notice\":\"Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\"},\"permitTransferFrom(((address,uint256),uint256,uint256),(address,uint256),address,bytes)\":{\"notice\":\"Transfers a token using a signed permit message\"},\"permitTransferFrom(((address,uint256)[],uint256,uint256),(address,uint256)[],address,bytes)\":{\"notice\":\"Transfers multiple tokens using a signed permit message\"},\"permitWitnessTransferFrom(((address,uint256),uint256,uint256),(address,uint256),address,bytes32,string,bytes)\":{\"notice\":\"Transfers a token using a signed permit messageIncludes extra data provided by the caller to verify signature over\"},\"permitWitnessTransferFrom(((address,uint256)[],uint256,uint256),(address,uint256)[],address,bytes32,string,bytes)\":{\"notice\":\"Transfers multiple tokens using a signed permit messageIncludes extra data provided by the caller to verify signature over\"},\"transferFrom((address,address,uint160,address)[])\":{\"notice\":\"Transfer approved tokens in a batch\"},\"transferFrom(address,address,uint160,address)\":{\"notice\":\"Transfer approved tokens from one address to another\"}},\"notice\":\"Permit2 handles signature-based transfers in SignatureTransfer and allowance-based transfers in AllowanceTransfer.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"permit2/src/interfaces/IPermit2.sol\":\"IPermit2\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]},\"permit2/src/interfaces/IPermit2.sol\":{\"keccak256\":\"0xaa631cc9f53e699301d94233007110a345e6779011def484e8dd97b8fe0af771\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc0502cf19c9c18f320a3001201e89e350393b75837f6b7971de18b2de06f30d\",\"dweb:/ipfs/QmT9SfhdJ7VJNNrf94g4H5usyi7ShqWGx7Cqsz9jZTjX96\"]},\"permit2/src/interfaces/ISignatureTransfer.sol\":{\"keccak256\":\"0xe6df9966f8841dc3958ee86169c89de97e7f614c81c28b9dc947b12d732df64e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d4eafdee7f48c3be8350a94eb6edd0bfb2af2c105df65787a77174f356c0317\",\"dweb:/ipfs/QmY1j2adeeAhNpn6cUuthemxGCdLXHTfyMh9yTKsY4mZ2d\"]}},\"version\":1}"}},"permit2/src/interfaces/ISignatureTransfer.sol":{"ISignatureTransfer":{"abi":[{"inputs":[{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"LengthMismatch","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"word","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mask","type":"uint256"}],"name":"UnorderedNonceInvalidation","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"wordPos","type":"uint256"},{"internalType":"uint256","name":"mask","type":"uint256"}],"name":"invalidateUnorderedNonces","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"nonceBitmap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct ISignatureTransfer.TokenPermissions","name":"permitted","type":"tuple"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct ISignatureTransfer.PermitTransferFrom","name":"permit","type":"tuple"},{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"requestedAmount","type":"uint256"}],"internalType":"struct ISignatureTransfer.SignatureTransferDetails","name":"transferDetails","type":"tuple"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct ISignatureTransfer.TokenPermissions[]","name":"permitted","type":"tuple[]"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct ISignatureTransfer.PermitBatchTransferFrom","name":"permit","type":"tuple"},{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"requestedAmount","type":"uint256"}],"internalType":"struct ISignatureTransfer.SignatureTransferDetails[]","name":"transferDetails","type":"tuple[]"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct ISignatureTransfer.TokenPermissions","name":"permitted","type":"tuple"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct ISignatureTransfer.PermitTransferFrom","name":"permit","type":"tuple"},{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"requestedAmount","type":"uint256"}],"internalType":"struct ISignatureTransfer.SignatureTransferDetails","name":"transferDetails","type":"tuple"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes32","name":"witness","type":"bytes32"},{"internalType":"string","name":"witnessTypeString","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitWitnessTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct ISignatureTransfer.TokenPermissions[]","name":"permitted","type":"tuple[]"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"internalType":"struct ISignatureTransfer.PermitBatchTransferFrom","name":"permit","type":"tuple"},{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"requestedAmount","type":"uint256"}],"internalType":"struct ISignatureTransfer.SignatureTransferDetails[]","name":"transferDetails","type":"tuple[]"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes32","name":"witness","type":"bytes32"},{"internalType":"string","name":"witnessTypeString","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"permitWitnessTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","invalidateUnorderedNonces(uint256,uint256)":"3ff9dcb1","nonceBitmap(address,uint256)":"4fe02b44","permitTransferFrom(((address,uint256),uint256,uint256),(address,uint256),address,bytes)":"30f28b7a","permitTransferFrom(((address,uint256)[],uint256,uint256),(address,uint256)[],address,bytes)":"edd9444b","permitWitnessTransferFrom(((address,uint256),uint256,uint256),(address,uint256),address,bytes32,string,bytes)":"137c29fe","permitWitnessTransferFrom(((address,uint256)[],uint256,uint256),(address,uint256)[],address,bytes32,string,bytes)":"fe8ec1a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAmount\",\"type\":\"uint256\"}],\"name\":\"InvalidAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthMismatch\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"word\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"mask\",\"type\":\"uint256\"}],\"name\":\"UnorderedNonceInvalidation\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"wordPos\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mask\",\"type\":\"uint256\"}],\"name\":\"invalidateUnorderedNonces\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"nonceBitmap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.TokenPermissions\",\"name\":\"permitted\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.PermitTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.SignatureTransferDetails\",\"name\":\"transferDetails\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.TokenPermissions[]\",\"name\":\"permitted\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.PermitBatchTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.SignatureTransferDetails[]\",\"name\":\"transferDetails\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.TokenPermissions\",\"name\":\"permitted\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.PermitTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.SignatureTransferDetails\",\"name\":\"transferDetails\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"witness\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"witnessTypeString\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitWitnessTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.TokenPermissions[]\",\"name\":\"permitted\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.PermitBatchTransferFrom\",\"name\":\"permit\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requestedAmount\",\"type\":\"uint256\"}],\"internalType\":\"struct ISignatureTransfer.SignatureTransferDetails[]\",\"name\":\"transferDetails\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"witness\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"witnessTypeString\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"permitWitnessTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Requires user's token approval on the Permit2 contract\",\"errors\":{\"InvalidAmount(uint256)\":[{\"params\":{\"maxAmount\":\"The maximum amount a spender can request to transfer\"}}],\"LengthMismatch()\":[{\"details\":\"If the spender does not need to transfer the number of tokens permitted, the spender can request amount 0 to be transferred\"}]},\"kind\":\"dev\",\"methods\":{\"invalidateUnorderedNonces(uint256,uint256)\":{\"details\":\"The wordPos is maxed at type(uint248).max\",\"params\":{\"mask\":\"A bitmap masked against msg.sender's current bitmap at the word position\",\"wordPos\":\"A number to index the nonceBitmap at\"}},\"nonceBitmap(address,uint256)\":{\"details\":\"Uses unordered nonces so that permit messages do not need to be spent in a certain orderThe mapping is indexed first by the token owner, then by an index specified in the nonceIt returns a uint256 bitmapThe index, or wordPosition is capped at type(uint248).max\"},\"permitTransferFrom(((address,uint256),uint256,uint256),(address,uint256),address,bytes)\":{\"details\":\"Reverts if the requested amount is greater than the permitted signed amount\",\"params\":{\"owner\":\"The owner of the tokens to transfer\",\"permit\":\"The permit data signed over by the owner\",\"signature\":\"The signature to verify\",\"transferDetails\":\"The spender's requested transfer details for the permitted token\"}},\"permitTransferFrom(((address,uint256)[],uint256,uint256),(address,uint256)[],address,bytes)\":{\"params\":{\"owner\":\"The owner of the tokens to transfer\",\"permit\":\"The permit data signed over by the owner\",\"signature\":\"The signature to verify\",\"transferDetails\":\"Specifies the recipient and requested amount for the token transfer\"}},\"permitWitnessTransferFrom(((address,uint256),uint256,uint256),(address,uint256),address,bytes32,string,bytes)\":{\"details\":\"The witness type string must follow EIP712 ordering of nested structs and must include the TokenPermissions type definitionReverts if the requested amount is greater than the permitted signed amount\",\"params\":{\"owner\":\"The owner of the tokens to transfer\",\"permit\":\"The permit data signed over by the owner\",\"signature\":\"The signature to verify\",\"transferDetails\":\"The spender's requested transfer details for the permitted token\",\"witness\":\"Extra data to include when checking the user signature\",\"witnessTypeString\":\"The EIP-712 type definition for remaining string stub of the typehash\"}},\"permitWitnessTransferFrom(((address,uint256)[],uint256,uint256),(address,uint256)[],address,bytes32,string,bytes)\":{\"details\":\"The witness type string must follow EIP712 ordering of nested structs and must include the TokenPermissions type definition\",\"params\":{\"owner\":\"The owner of the tokens to transfer\",\"permit\":\"The permit data signed over by the owner\",\"signature\":\"The signature to verify\",\"transferDetails\":\"Specifies the recipient and requested amount for the token transfer\",\"witness\":\"Extra data to include when checking the user signature\",\"witnessTypeString\":\"The EIP-712 type definition for remaining string stub of the typehash\"}}},\"title\":\"SignatureTransfer\",\"version\":1},\"userdoc\":{\"errors\":{\"InvalidAmount(uint256)\":[{\"notice\":\"Thrown when the requested amount for a transfer is larger than the permissioned amount\"}],\"LengthMismatch()\":[{\"notice\":\"Thrown when the number of tokens permissioned to a spender does not match the number of tokens being transferred\"}]},\"events\":{\"UnorderedNonceInvalidation(address,uint256,uint256)\":{\"notice\":\"Emits an event when the owner successfully invalidates an unordered nonce.\"}},\"kind\":\"user\",\"methods\":{\"invalidateUnorderedNonces(uint256,uint256)\":{\"notice\":\"Invalidates the bits specified in mask for the bitmap at the word position\"},\"nonceBitmap(address,uint256)\":{\"notice\":\"A map from token owner address and a caller specified word index to a bitmap. Used to set bits in the bitmap to prevent against signature replay protection\"},\"permitTransferFrom(((address,uint256),uint256,uint256),(address,uint256),address,bytes)\":{\"notice\":\"Transfers a token using a signed permit message\"},\"permitTransferFrom(((address,uint256)[],uint256,uint256),(address,uint256)[],address,bytes)\":{\"notice\":\"Transfers multiple tokens using a signed permit message\"},\"permitWitnessTransferFrom(((address,uint256),uint256,uint256),(address,uint256),address,bytes32,string,bytes)\":{\"notice\":\"Transfers a token using a signed permit messageIncludes extra data provided by the caller to verify signature over\"},\"permitWitnessTransferFrom(((address,uint256)[],uint256,uint256),(address,uint256)[],address,bytes32,string,bytes)\":{\"notice\":\"Transfers multiple tokens using a signed permit messageIncludes extra data provided by the caller to verify signature over\"}},\"notice\":\"Handles ERC20 token transfers through signature based actions\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"permit2/src/interfaces/ISignatureTransfer.sol\":\"ISignatureTransfer\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]},\"permit2/src/interfaces/ISignatureTransfer.sol\":{\"keccak256\":\"0xe6df9966f8841dc3958ee86169c89de97e7f614c81c28b9dc947b12d732df64e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d4eafdee7f48c3be8350a94eb6edd0bfb2af2c105df65787a77174f356c0317\",\"dweb:/ipfs/QmY1j2adeeAhNpn6cUuthemxGCdLXHTfyMh9yTKsY4mZ2d\"]}},\"version\":1}"}},"permit2/src/libraries/SafeCast160.sol":{"SafeCast160":{"abi":[{"inputs":[],"name":"UnsafeCast","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"58:396:136:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"58:396:136:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"UnsafeCast\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"errors\":{\"UnsafeCast()\":[{\"notice\":\"Thrown when a valude greater than type(uint160).max is cast to uint160\"}]},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"permit2/src/libraries/SafeCast160.sol\":\"SafeCast160\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"permit2/src/libraries/SafeCast160.sol\":{\"keccak256\":\"0x8a34e2beac108d74f89510c949983212b5f09307a93ee9e17a9d50e93f6bc8e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://828697f9567ce617c5c1c8f76b6bcd250e93aea2c4f3ee188be6dff8443c19e7\",\"dweb:/ipfs/QmafxeSPhUc9gGtNDLAw26oZooC5XNLhDMxHxYhJxL5Nwi\"]}},\"version\":1}"}},"permit2/src/libraries/SignatureVerification.sol":{"SignatureVerification":{"abi":[{"inputs":[],"name":"InvalidContractSignature","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"InvalidSignatureLength","type":"error"},{"inputs":[],"name":"InvalidSigner","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"112:1699:137:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"112:1699:137:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidContractSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSigner\",\"type\":\"error\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"errors\":{\"InvalidContractSignature()\":[{\"notice\":\"Thrown when the recovered contract signature is incorrect\"}],\"InvalidSignature()\":[{\"notice\":\"Thrown when the recovered signer is equal to the zero address\"}],\"InvalidSignatureLength()\":[{\"notice\":\"Thrown when the passed in signature is not a valid length\"}],\"InvalidSigner()\":[{\"notice\":\"Thrown when the recovered signer does not equal the claimedSigner\"}]},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"permit2/src/libraries/SignatureVerification.sol\":\"SignatureVerification\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"permit2/src/interfaces/IERC1271.sol\":{\"keccak256\":\"0x0a546b8535127fb4a49d36d5f306fd5a8bbe6125a1852f935b9bb85a04c1acef\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4b99651e2df98e283a97c46d8d1ac4eff0d6a3618e25f7f85294472a670b541c\",\"dweb:/ipfs/QmYRy5G8fXE8BfmyvGEbESEYZPPg3zJEFxHzR5GJZEMMTk\"]},\"permit2/src/libraries/SignatureVerification.sol\":{\"keccak256\":\"0x99f437ffe99aa1ff7885aec8b971f48efac00c6ebc59c02eec78c9ca850a5e30\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9365414bdb67813d4ef6c89fa152dff05fc2a64992a1a4f212fa414dbdee3eab\",\"dweb:/ipfs/QmfJxSszF1rjmMoNXW5oQMo9gARMHAXYTu68fkZvdEu58i\"]}},\"version\":1}"}},"solmate/src/auth/Owned.sol":{"Owned":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"owner()":"8da5cb5b","transferOwnership(address)":"f2fde38b"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol)\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Simple single owner authorization mixin.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"solmate/src/auth/Owned.sol\":\"Owned\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"solmate/src/auth/Owned.sol\":{\"keccak256\":\"0xfedb27d14c508342c33eb067c9a02eabcdb0f9dcf93b04ded1001f580d12d0ea\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://1ff52bbee698b9cf9e4574615e6550be0887ccf355f6571e23d6f25b332e79b4\",\"dweb:/ipfs/QmVorA2apojVRStzS7h8aFccR3Uv32G6HVtBtFHZrE7YXx\"]}},\"version\":1}"}},"solmate/src/tokens/ERC20.sol":{"ERC20":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","decimals()":"313ce567","name()":"06fdde03","nonces(address)":"7ecebe00","permit(address,address,uint256,uint256,uint8,bytes32,bytes32)":"d505accf","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)\",\"details\":\"Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Modern and gas efficient ERC20 + EIP-2612 implementation.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"solmate/src/tokens/ERC20.sol\":\"ERC20\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"solmate/src/tokens/ERC20.sol\":{\"keccak256\":\"0xcdfd8db76b2a3415620e4d18cc5545f3d50de792dbf2c3dd5adb40cbe6f94b10\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://57b3ab70cde374af1cf2c9888636e8de6cf660f087b1c9abd805e9271e19fa35\",\"dweb:/ipfs/QmNrLDBAHYFjpjSd12jerm1AdBkDqEYUUaXgnT854BUZ97\"]}},\"version\":1}"}},"solmate/src/tokens/ERC721.sol":{"ERC721":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","getApproved(uint256)":"081812fc","isApprovedForAll(address,address)":"e985e9c5","name()":"06fdde03","ownerOf(uint256)":"6352211e","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","tokenURI(uint256)":"c87b56dd","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Modern, minimalist, and gas efficient ERC-721 implementation.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"solmate/src/tokens/ERC721.sol\":\"ERC721\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"solmate/src/tokens/ERC721.sol\":{\"keccak256\":\"0x04af19f16f00ba65ae168d6d10da5210dc18da6bcec6974dccf984ba388aa22d\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://098e69f22b67da6927e03203c12ebfda5b0490518f6d9cce7853001ac5ad8403\",\"dweb:/ipfs/QmYyzfurQe88PsVjRNfutV3gS7Vi68f7zgtVZVtLfd4ViK\"]}},\"version\":1}"},"ERC721TokenReceiver":{"abi":[{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","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":{"onERC721Received(address,address,uint256,bytes)":"150b7a02"}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"A generic interface for a contract which properly accepts ERC721 tokens.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"solmate/src/tokens/ERC721.sol\":\"ERC721TokenReceiver\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"solmate/src/tokens/ERC721.sol\":{\"keccak256\":\"0x04af19f16f00ba65ae168d6d10da5210dc18da6bcec6974dccf984ba388aa22d\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://098e69f22b67da6927e03203c12ebfda5b0490518f6d9cce7853001ac5ad8403\",\"dweb:/ipfs/QmYyzfurQe88PsVjRNfutV3gS7Vi68f7zgtVZVtLfd4ViK\"]}},\"version\":1}"}},"solmate/src/utils/SafeTransferLib.sol":{"SafeTransferLib":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080806040523460175760109081601c823930815050f35b5f80fdfe5f80fdfea164736f6c634300081a000a","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x10 SWAP1 DUP2 PUSH1 0x1C DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH0 DUP1 REVERT INVALID PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"586:5368:141:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"5f80fdfea164736f6c634300081a000a","opcodes":"PUSH0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP EXP ","sourceMap":"586:5368:141:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"author\":\"Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)\",\"details\":\"Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer.Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Safe ETH and ERC20 transfer library that gracefully handles missing return values.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"solmate/src/utils/SafeTransferLib.sol\":\"SafeTransferLib\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1},\"remappings\":[],\"viaIR\":true},\"sources\":{\"solmate/src/tokens/ERC20.sol\":{\"keccak256\":\"0xcdfd8db76b2a3415620e4d18cc5545f3d50de792dbf2c3dd5adb40cbe6f94b10\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://57b3ab70cde374af1cf2c9888636e8de6cf660f087b1c9abd805e9271e19fa35\",\"dweb:/ipfs/QmNrLDBAHYFjpjSd12jerm1AdBkDqEYUUaXgnT854BUZ97\"]},\"solmate/src/utils/SafeTransferLib.sol\":{\"keccak256\":\"0xbadf3d708cf532b12f75f78a1d423135954b63774a6d4ba15914a551d348db8a\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://88ac8256bd520d1b8e6f9c4ac9e8777bffdc4a6c8afb1a848f596665779a55b4\",\"dweb:/ipfs/QmXx7X1dxe6f5VM91vgQ5BA4r2eF97GWDcQDrgHytcvfjU\"]}},\"version\":1}"}}}}}